/* Main Variables */
:root {
    --dark-bg: #1A1F2B;
    --accent: #FFB703;
    --light: #EDF6F9;
    --indigo: #14213D;
    --gray: #6c757d;
    --section-padding: 5rem 0;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 120rem;
    padding: 0 1.5rem;
    margin: 0 auto;
}

section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background-color: var(--accent);
    border-radius: 0.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 0.4rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark-bg);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #f5aa00;
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--accent);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--accent);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 31, 43, 0.95);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    z-index: 1001;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
}

.main-nav .nav-links li:not(:last-child) {
    margin-right: 2.5rem;
}

.main-nav .nav-links a {
    font-size: 1.6rem;
    font-weight: 500;
    position: relative;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after, 
.main-nav .nav-links a:focus::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--accent);
    padding: 0.8rem 1.6rem;
    border-radius: 0.4rem;
    color: var(--dark-bg) !important;
    transition: all 0.3s ease;
}

.btn-contact:hover, .btn-contact:focus {
    background-color: #f5aa00;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 3rem;
    height: 2.4rem;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: var(--light);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 0.2rem;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 1rem;
}

.menu-icon span:nth-child(3) {
    top: 2rem;
}

/* Main Content Sections */
main {
    padding-top: 8rem;
}

/* Add padding to sections for anchor navigation */
section[id] {
    scroll-margin-top: 10rem; /* This ensures sections don't hide under the fixed header */
}

/* Hero Section */
.hero {
    background-color: var(--indigo);
    background-image: linear-gradient(rgba(20, 33, 61, 0.8), rgba(20, 33, 61, 0.9)), url('./img/XC5OAn.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    text-align: center; /* Center text */
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto; /* Center the content box */
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2.5rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Center buttons */
}

/* About Section */
.about {
    background-color: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 2.5rem;
}

/* Services Section */
.services {
    background-color: var(--indigo);
}

.services-image {
    max-width: 70rem;
    margin: 0 auto 4rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--dark-bg);
    border-radius: 0.8rem;
    overflow: hidden;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 6rem;
    height: 6rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-title {
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 2rem 0;
}

/* Benefits Section */
.benefits {
    background-color: var(--dark-bg);
}

.benefits-image {
    max-width: 70rem;
    margin: 0 auto 4rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.benefit-icon {
    min-width: 5rem;
    height: 5rem;
    background-color: rgba(255, 183, 3, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    color: var(--accent);
}

/* Process Section */
.process {
    background-color: var(--indigo);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    padding: 3rem;
    background-color: var(--dark-bg);
    border-radius: 0.8rem;
    counter-increment: step-counter;
}

.process-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -2rem;
    left: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: var(--accent);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--dark-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: var(--indigo);
    padding: 3rem;
    border-radius: 0.8rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 8rem;
    line-height: 1;
    color: rgba(255, 183, 3, 0.2);
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.testimonial-author-name {
    font-weight: 600;
}

.testimonial-author-title {
    color: var(--gray);
    font-size: 1.4rem;
}

/* Contact Section */
.contact {
    background-color: var(--indigo);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-form {
    background-color: var(--dark-bg);
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    background-color: #ffffff;
    border: 1px solid rgba(237, 246, 249, 0.2);
    border-radius: 0.4rem;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(237, 246, 249, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23EDF6F9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.form-check-label {
    font-size: 1.4rem;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(237, 246, 249, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-description {
    max-width: 40rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: 1rem;
}

.footer-nav ul, .footer-legal ul {
    list-style: none;
}

.footer-nav ul li, .footer-legal ul li {
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(237, 246, 249, 0.1);
    font-size: 1.4rem;
    color: var(--gray);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    padding: 2rem;
    box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 991px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .about-grid, .benefits-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 40rem;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.3s ease;
        box-shadow: -0.5rem 0 2rem rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(0.7rem, 0.7rem);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(0.7rem, -0.7rem);
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 3rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
} 