/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #2563eb;
    /* Professional Blue */
    --primary-dark: #1e40af;
    --cta-color: #f97316;
    /* Orange for CTAs */
    --cta-hover: #ea580c;
    --secondary-color: #1f2937;
    /* Charcoal Gray */
    --secondary-light: #374151;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --background-gray: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.highlight-text {
    background: linear-gradient(120deg, var(--primary-color) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--cta-color);
    color: var(--white);
    border: 2px solid var(--cta-color);
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    border-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--cta-color);
}

.btn-secondary:hover {
    background-color: var(--cta-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--cta-color);
    border: 2px solid var(--cta-color);
}

.btn-outline:hover {
    background-color: var(--cta-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* CTA Section (Global) */
.cta {
    background-color: var(--background-gray);
    padding: 80px 0;
    text-align: center;
    color: var(--text-color);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    color: var(--white) !important;
    padding: 15px 40px;
    font-size: 1.1rem;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    display: inline-block;
}

.cta .btn.btn-outline {
    color: var(--cta-color) !important;
    background-color: transparent;
    border: 2px solid var(--cta-color);
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Navbar Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    top: 100%;
    left: 0;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-content a.nav-link {
    color: var(--text-color);
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 0;
}

.dropdown-content a.nav-link:hover {
    background-color: var(--background-gray);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Dropdown adjustment */
@media screen and (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #f9fafb;
        display: none;
        /* JS toggle would be better but simple hover works differently on mobile */
        padding-left: 20px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.btn-small {
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 4px;
}

.nav-link.btn-small:hover {
    background-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('images/hero-bg.png') no-repeat center center/cover;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(31, 41, 55, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 4px solid var(--cta-color);
    position: relative;
    z-index: 5;
}

.trust-bar p {
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .trust-bar p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* =========================================

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 1.75rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   6. PORTFOLIO SECTION
   ========================================= */
.portfolio {
    padding: 100px 0;
    background-color: var(--background-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 300px;
    /* Enhanced height handling */
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.btn-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary-color);
    color: var(--white);
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
}

/* =========================================
   7a. WHY CHOOSE US
   ========================================= */
.why-us {
    padding: 100px 0;
    background-color: var(--white);
}

.why-us-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-us-content {
    flex: 1;
}

.why-us-content h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.why-us-content>p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.features-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.features-list strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.features-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-us-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stats-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.stats-card:nth-child(2) {
    transform: translateY(40px);
}

.stats-card:nth-child(3) {
    grid-column: span 2;
    max-width: 60%;
    margin: 0 auto;
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stats-card p {
    color: var(--secondary-color);
    font-weight: 600;
}

/* =========================================
   7b. PROCESS SECTION
   ========================================= */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.1);
    /* Light primary color */
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-number {
    color: var(--primary-color);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Connector Line (Desktop) */
@media (min-width: 993px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 45px;
        /* Aligns with step number center approx */
        left: 50px;
        right: 50px;
        height: 2px;
        background: var(--border-color);
        z-index: 0;
    }

    .step-number {
        background: var(--white);
        /* Hide line behind number */
        display: inline-block;
        padding: 0 10px;
    }
}

/* =========================================
   7c. TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* New Split Grid for Service Pages */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Mobile Service Image Handling (Desktop Default) */
.mobile-service-img {
    display: none;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 20px 0;
}

/* Responsive Visibility Utilities */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hide the second column (desktop image) on mobile */
    .split-grid>div:nth-child(2) {
        display: none;
    }

    .mobile-service-img {
        display: block;
    }

    .mobile-only {
        display: block;
    }

    .btn.mobile-only {
        display: inline-block;
    }

    .desktop-only {
        display: none;
    }

    /* Center button on mobile */
    .split-grid .btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
        /* Let them fill container if needed, or keep standard size */
        margin: 0;
        /* consistent margins handled by gap */
    }
}

.testimonial-card {
    background: var(--background-gray);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stars {
    color: #f59e0b;
    /* Amber/Gold */
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote {
    font-size: 1.05rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.author {
    display: flex;
    align-items: center;
}

.author-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.author-info h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Trust Signals */
.trust-signals {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.trust-signals p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-logo {
    font-size: 1.5rem;
    color: #9ca3af;
    /* Gray-400 */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.trust-logo:hover {
    color: var(--text-color);
    transform: scale(1.05);
}

/* =========================================
   7d. PRICING SECTION
   ========================================= */
.pricing {
    padding: 100px 0;
    background-color: var(--background-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 5px 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.package-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.package-header .price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.package-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.package-features {
    padding: 30px;
    flex: 1;
}

.package-features li {
    margin-bottom: 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: start;
    font-size: 0.95rem;
}

.package-features i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    /* Align icon with text */
    min-width: 15px;
}

.pricing-card .btn {
    text-decoration: none;
    margin: 30px;
    margin-top: 0;
    width: auto;
    /* Override btn-block to prevent clipping with margins */
}

/* =========================================
   8. CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0 0;
    /* Padding bottom handled by footer overlap visually */
    background-color: var(--background-gray);
}

.contact-wrapper {
    display: flex;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: -50px;
    /* Overlap footer */
    position: relative;
    z-index: 10;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-methods .method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-methods i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.contact-form-container {
    flex: 1.5;
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    background-color: #111827;
    color: var(--white);
    padding: 100px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    color: var(--primary-color);
}

.copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* =========================================
   7e. FAQ SECTION
   ========================================= */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* =========================================
   10. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    :root {
        --container-width: 95%;
    }

    .hero-headline {
        font-size: 2.8rem;
    }

    .why-us-container {
        flex-direction: column;
    }

    .stats-card:nth-child(2) {
        transform: none;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
        /* Above mobile menu */
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #ffffff;
        /* Ensure white background */
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 100px;
        z-index: 1000;
        /* Ensure it sits on top of all other content */
        overflow-y: auto;
        /* Allow scrolling if menu is tall */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 25px 0;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .why-us-visual {
        grid-template-columns: 1fr;
    }

    .stats-card:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }
}

/* =========================================
   COMPARISON TABLE (AI Automation)
   ========================================= */
.comparison-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 40px;
    position: relative;
    border-top: 5px solid transparent;
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comparison-card.legacy {
    border-top-color: #ef4444;
    /* Red */
    background: #fff;
}

.comparison-card.ai {
    border-top-color: #10B981;
    /* Green */
    background: #fdfdfd;
    border: 2px solid #10B981;
    /* Highlight */
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.legacy .card-header i {
    color: #ef4444;
}

.ai .card-header i {
    color: #10B981;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.price-tag {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.price-tag small {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.price-tag.error {
    color: #ef4444;
}

.price-tag.success {
    color: #10B981;
}

.comparison-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.comparison-list i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.legacy .comparison-list i {
    color: #ef4444;
}

.ai .comparison-list i {
    color: #10B981;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #10B981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .comparison-grid {
        flex-direction: column;
    }

    .comparison-card.ai {
        border-width: 2px;
        /* Ensure border stays visible on mobile */
        margin-top: 20px;
    }
}

/* =========================================
   COMPREHENSIVE PRICING STYLES
   ========================================= */
.pricing-divider {
    text-align: center;
    margin: 80px 0 50px;
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.pricing-divider::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.pricing-grid.bundles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Fit mobile screens */
    max-width: 1000px;
}

@media (max-width: 600px) {

    .pricing-grid,
    .pricing-grid.bundles {
        grid-template-columns: 1fr;
        justify-items: center;
        /* Ensure items are centered if they don't stretch */
    }

    .pricing-card {
        width: 100%;
        /* Ensure full width in 1fr column */
        max-width: 350px;
        /* Prevent overly wide cards on landscape mobile if 1fr stretches too much */
    }
}

.pricing-card .badge-value {
    background: #10B981;
    /* Green for value */
    color: white;
    text-align: center;
    padding: 5px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.add-on-card .price {
    font-size: 1.5rem;
}

/* Animation Utility */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}