/* Global Variables */
:root {
    --color-primary: #4B0082;    /* Indigo */
    --color-secondary: #FF6F61;  /* Coral */
    --color-accent: #C4D600;     /* Lime */
    --color-bg: #F4F4F4;         /* Light Gray */
    --color-text: #2C2C2C;       /* Dark Anthracite */
    --color-text-light: #FFFFFF;
    --color-gray: #9A9A9A;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --radius: 8px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--color-primary);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Icons */
[class^="icon-"] {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-right: 10px;
}

.icon-location {
    background-image: url('../img/icon-location.svg');
}

.icon-phone {
    background-image: url('../img/icon-phone.svg');
}

.icon-mail {
    background-image: url('../img/icon-mail.svg');
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.btn-accent:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo h1:hover {
    color: var(--color-secondary);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 0, 130, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-text-light);
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeIn 1s ease-in-out 0.6s forwards;
    opacity: 0;
}

/* About Section */
.about {
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-10px);
}

/* Features Section */
.features {
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(75, 0, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-bottom: 10px;
}

/* Process Section */
.process {
    background-color: var(--color-bg);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--color-primary);
}

.step {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.step-content {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step:hover .step-content {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--color-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 100px;
    line-height: 0;
    position: absolute;
    top: 40px;
    right: 20px;
    color: rgba(75, 0, 130, 0.1);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-info p {
    color: var(--color-gray);
    margin-bottom: 0;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background-color: var(--color-bg);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: var(--color-text-light);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--color-text-light);
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.policy-container h2 {
    margin-bottom: 30px;
}

.policy-container h3 {
    margin-top: 30px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 80px 20px;
}

.thank-you .container {
    max-width: 600px;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--color-primary);
}

.thank-you-icon {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    background-color: rgba(75, 0, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-icon img {
    width: 60px;
    height: 60px;
}

.thank-you h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq {
    background-color: #fff;
    padding-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    border-left: 4px solid var(--color-secondary);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(75, 0, 130, 0.05);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: var(--transition);
}

.faq-toggle:checked ~ .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
    border-left: 4px solid var(--color-accent);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Media Queries */
@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: relative;
    }

    .mobile-menu-toggle input {
        display: none;
    }

    .mobile-menu-toggle label {
        cursor: pointer;
        display: flex;
        flex-direction: column;
        width: 30px;
        height: 25px;
        justify-content: space-between;
    }

    .mobile-menu-toggle span {
        display: block;
        height: 4px;
        width: 100%;
        background-color: var(--color-primary);
        border-radius: 2px;
        transition: var(--transition);
    }

    .mobile-menu-toggle input:checked + label span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-menu-toggle input:checked + label span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle input:checked + label span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .mobile-menu-toggle input:checked ~ .main-nav {
        max-height: 300px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-info {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content button {
        margin-top: 15px;
    }
}
