/* ====================================== */
/* MAIN LAYOUT & COMPONENT STYLES */
/* ====================================== */

/* 1. Global Resets & Utilities */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--neutral-bg);
    overflow-x: hidden;
    padding-top: 0;
    /* Adjust if header is fixed */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.gap-3 {
    gap: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* 2. Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 100;
}

.header-top {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.social-links a:hover {
    opacity: 1;
}

.header-main {
    padding: 1rem 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-teal);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* 3. Hero Section */
.hero {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-medium);
    margin: 1.5rem 0 2rem;
}

.highlight {
    color: var(--primary-teal);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-benefits {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--primary-navy);
}

.benefit-item i {
    color: var(--primary-teal);
}

.hero-trust {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--neutral-medium);
}

/* Floating Card */
.hero-floating-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 380px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    justify-content: center;
}

.cta-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.cta-secondary {
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.cta-secondary:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.cta-form {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--primary-coral);
    color: var(--white);
}

.cta-form:hover {
    background: #FF5252;
    transform: translateY(-2px);
}

/* 4. Sections */

/* Urgent Care */
.urgent-care {
    transform: translateY(-50%);
    position: relative;
    z-index: 2;
    margin-bottom: -3rem;
}

.urgent-content {
    background: var(--primary-navy);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    gap: 2rem;
}

.urgent-icon {
    font-size: 2.5rem;
    color: var(--accent-warning);
}

.urgent-text h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.urgent-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.urgent-button {
    background: var(--accent-error);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-base);
}

.urgent-button:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Problems Grid */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.problem-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s ease;
}

.problem-card:hover .problem-image img {
    transform: scale(1.05);
}


.card-content {
    padding: 1.5rem;
}

.solution {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-bg);
    color: var(--primary-teal);
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.service-card {
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.advantage-proof {
    margin-top: 1.5rem;
    text-align: left;
    background: var(--neutral-bg);
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    font-size: 0.9rem;
}

/* Consultation Form */
.consultation-section {
    padding-top: 4rem;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.consultation-benefits {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.consultation-benefit i {
    color: var(--primary-teal);
}

.consultation-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.contact-method:hover {
    color: var(--primary-teal);
    transform: translateX(8px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.consultation-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    outline: none;
    box-shadow: 0 0 0 3px var(--secondary-light-teal);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.consent-text {
    font-size: 0.85rem;
    color: var(--neutral-medium);
    line-height: 1.4;
}

.form-security {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 6rem 0;
    background-image: url('../images/hero-background.jpg');
    /* Reuse or different */
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 58, 82, 0.8);
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
}

.final-cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.final-cta-guarantee {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* 5. Footer - Modern Redesign */
.footer-modern {
    background: #0f1419;
    color: var(--white);
    padding: 4rem 0 0;
    font-size: 0.925rem;
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand Section */
.footer-brand {
    max-width: 380px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Subscription Form */
.footer-subscribe {
    margin-top: 2rem;
}

.footer-subscribe h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.subscribe-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-teal);
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-subscribe {
    padding: 0.75rem 1.5rem;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: #126a9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 113, 184, 0.3);
}

.subscribe-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Links Groups */
.footer-links-group h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 0.75rem;
}

.footer-links-group ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-links-group ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

/* Contact Info */
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-teal);
    margin-top: 0.2rem;
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--primary-coral);
}

/* Footer Bottom */
.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-left p {
    margin: 0 0 0.75rem 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-teal);
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 113, 184, 0.3);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-right {
        align-items: flex-start;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
    }
}

/* 6. Responsive Media Queries */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-floating-card {
        width: 100%;
        max-width: 500px;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .hero-benefits {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 1rem 1.5rem;
        display: block;
        border-bottom: 1px solid var(--neutral-bg);
    }

    .main-nav a::after {
        display: none;
    }

    .urgent-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .final-cta-buttons {
        flex-direction: column;
    }
}

/* Testimonials Showcase */
.testimonial-featured {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.testimonial-video {
    flex: 1;
}

.video-placeholder {
    background: var(--primary-navy);
    height: 300px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
}

.video-placeholder i {
    font-size: 4rem;
    z-index: 1;
    margin-bottom: 1rem;
}

.video-placeholder span {
    z-index: 1;
    font-weight: 600;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content .stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content blockquote {
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    color: var(--primary-navy);
    line-height: 1.6;
}

/* Testimonials Stats */
.map-container {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    z-index: 1;
}

.testimonials-stats {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .testimonials-stats {
        flex-direction: column;
    }
}

/* ========================================= */
/* SERVICES CAROUSEL & MODERN CARDS          */
/* ========================================= */

.services-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    /* Space for buttons */
}

.services-track-container {
    overflow: hidden;
    padding: 20px 10px;
    /* Space for shadows */
}

.services-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

/* Modern Card Style */
.service-card-modern {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards visible minus gap */
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* Top colored bar on hover */
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.icon-modern {
    width: 70px;
    height: 70px;
    background: var(--secondary-light-teal);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-teal);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card-modern:hover .icon-modern {
    background: var(--primary-teal);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card-modern h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.service-card-modern p {
    color: var(--neutral-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.arrow-link {
    font-weight: 600;
    color: var(--primary-coral);
    opacity: 0.8;
    transform: translateX(0);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-top: auto;
}

.service-card-modern:hover .arrow-link {
    opacity: 1;
    transform: translateX(5px);
    color: var(--primary-coral);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-navy);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .service-card-modern {
        flex: 0 0 calc(50% - 15px);
        /* 2 cards */
    }
}

@media (max-width: 768px) {
    .services-carousel-container {
        padding: 0;
    }

    .service-card-modern {
        flex: 0 0 100%;
        /* 1 card */
    }

    .carousel-btn {
        display: none;
        /* Hide arrows on mobile, rely on swipe/dots */
    }
}

/* ====================================== */
/* CONTACT PAGE PROFESSIONAL REDESIGN */
/* ====================================== */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--white);
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0 3rem;
    line-height: 1.6;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero-stats .stat-item i {
    font-size: 2rem;
    color: var(--accent-warning);
}

.contact-hero-stats .stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

.contact-hero-stats .stat-item span {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Quick Contact Cards Section */
.quick-contact-section {
    padding: 4rem 0;
    background: var(--neutral-bg);
    transform: translateY(-3rem);
    position: relative;
    z-index: 3;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.quick-contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
}

.quick-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quick-contact-card:hover::before {
    transform: scaleX(1);
}

.qc-featured {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #126a9f 100%);
    color: var(--white);
    border: 2px solid var(--primary-teal);
}

.qc-featured h3,
.qc-featured p,
.qc-featured .qc-link,
.qc-featured .qc-availability {
    color: var(--white);
}

.qc-featured .qc-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.qc-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-warning);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.qc-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-contact-card:hover .qc-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-contact-card h3 {
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.quick-contact-card p {
    color: var(--neutral-medium);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.qc-link {
    display: block;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin: 0.5rem 0;
    transition: var(--transition-fast);
    word-break: break-all;
}

.qc-link:hover {
    text-decoration: underline;
}

.qc-featured .qc-link {
    color: var(--white);
}

.qc-featured .qc-link:hover {
    opacity: 0.9;
    text-decoration: none;
}

.qc-availability {
    display: block;
    font-size: 0.8rem;
    color: var(--neutral-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Main Contact Section */
.contact-main-section {
    padding: 6rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
}

/* Contact Info Side */
.contact-info-side {
    background: linear-gradient(135deg, rgba(30, 113, 184, 0.05) 0%, rgba(94, 200, 207, 0.05) 100%);
    padding: 3rem;
    border-radius: 24px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info-header h2 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.contact-info-header p {
    color: var(--neutral-medium);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-detail-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.cdi-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--secondary-light-teal);
    color: var(--primary-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cdi-content h4 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cdi-content p {
    color: var(--neutral-medium);
    line-height: 1.7;
    margin: 0;
}

.cdi-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.cdi-action:hover {
    text-decoration: underline;
}

/* Trust Badges */
.contact-trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.trust-badge i {
    color: var(--primary-teal);
    font-size: 1rem;
}

/* Contact Form Side */
.contact-form-side {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.modern-contact-form h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.form-subtitle {
    color: var(--neutral-medium);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

.modern-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.modern-contact-form label i {
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--neutral-bg);
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    border-color: var(--primary-teal);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 113, 184, 0.1);
}

.modern-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-consent {
    margin: 2rem 0 2.5rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--neutral-medium);
    line-height: 1.6;
}

.consent-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.consent-checkbox a {
    color: var(--primary-teal);
    text-decoration: underline;
}

.cta-form-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    gap: 0.75rem;
}

.form-security-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-security-note i {
    color: var(--primary-teal);
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: var(--neutral-bg);
}

.map-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.map-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.map-header p {
    font-size: 1.1rem;
    color: var(--neutral-medium);
    line-height: 1.7;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--white);
}

/* FAQ Quick Cards */
.contact-faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.contact-faq-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.contact-faq-header p {
    font-size: 1.1rem;
    color: var(--neutral-medium);
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-quick-card {
    background: var(--neutral-bg);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.faq-quick-card:hover {
    background: var(--white);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.faq-quick-card i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: block;
}

.faq-quick-card h4 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-quick-card p {
    color: var(--neutral-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.faq-quick-card a {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.faq-quick-card a:hover {
    gap: 0.75rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-layout {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 6rem 0 4rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero-stats {
        gap: 1.5rem;
    }

    .quick-contact-section {
        transform: translateY(-2rem);
    }

    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-side {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 5rem 0 3rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1.05rem;
    }

    .contact-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-hero-stats .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .quick-contact-section {
        padding: 3rem 0;
        transform: translateY(-1.5rem);
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-main-section {
        padding: 4rem 0;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 2rem;
    }

    .map-section {
        padding: 4rem 0;
    }

    .map-container {
        height: 350px;
        border-radius: 16px;
    }

    .contact-faq-section {
        padding: 4rem 0;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .map-header h2,
    .contact-faq-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .quick-contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 1.5rem;
    }

    .faq-quick-card {
        padding: 2rem 1.5rem;
    }
}

/* ====================================== */
/* 6. TEAM MEMBER CARDS */
/* ====================================== */

.team-member-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-member-image-container {
    height: 480px;
    overflow: hidden;
    position: relative;
    background: var(--neutral-bg);
}

.team-member-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Position higher up to avoid cutting off heads */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-member-card:hover .team-member-image-container img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 2.5rem;
    flex-grow: 1;
}

.team-member-info h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.team-member-role {
    color: var(--primary-teal);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-bio {
    color: var(--neutral-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

.team-member-bio p {
    margin-bottom: 1rem;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .team-member-image-container {
        height: 350px;
    }

    .team-member-info {
        padding: 1.5rem;
    }
}