/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #0F766E;
    --primary-light: #CCFBF1;
    --accent: #E11D48;
    --accent-bg: #FFE4E6;
    --bg-body: #F8FAFC;
    --surface: #FFFFFF;

    --text-dark: #1E293B;
    --text-body: #64748B;
    --text-light: #94A3B8;

    --card-pink-bg: #FCE7F3;
    --card-pink-border: #FBCFE8;
    --card-icon-color: #BE185D;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08);

    --radius: 20px;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. UTILITIES & TYPOGRAPHY
   ========================================================================== */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Text Utilities */
.text-white {
    color: #ffffff !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-gradient-light {
    background: linear-gradient(90deg, #2dd4bf, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: inline-block;
}

.text-outline {
    -webkit-text-stroke: 1px var(--text-dark);
    color: transparent;
    font-style: italic;
    font-weight: 700;
}

.text-outline-light {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    color: transparent;
    font-style: italic;
}

/* Animation Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(5px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   3. COMPONENTS (Buttons, Loaders, Modals)
   ========================================================================== */
/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: pulse 1.5s infinite;
}

.loader-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.loader-content h2 span {
    color: var(--primary);
    font-weight: 400;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background: var(--primary);
    animation: loadBar 2s ease-in-out forwards;
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}

.btn-primary:hover {
    background-color: #0d635d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--surface);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-glass:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-glow {
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: 0.4s;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.modal-header p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.3s;
    background: #F8FAFC;
    font-weight: 300;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.btn-submit-modal {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.btn-submit-modal:hover {
    background: #0d635d;
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.success-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkmark-circle {
    width: 70px;
    height: 70px;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: popIn 0.5s;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   4. LAYOUT: HEADER & FOOTER
   ========================================================================== */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (min-width: 1400px) {
    .nav.container {
        max-width: 1350px;
    }
}

@media (min-width: 1600px) {
    .nav.container {
        max-width: 1500px;
    }
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
    margin-left: -10px;
}

.logo-icon-box {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

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

.footer-logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-body);
}

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

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.cta-btn {
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.2);
}

.cta-btn:hover {
    background: #be123c;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.footer {
    background: #0F172A;
    color: white;
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: 0.3s;
    color: #94A3B8;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-col ul li i {
    margin-right: 12px;
    color: var(--primary);
    width: 18px;
    text-align: center;
    margin-top: 4px;
}

.footer-col ul li a {
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 300;
}

/* ==========================================================================
   5. HOME PAGE START
   ========================================================================== */

/* --- Milestone Ticker (Animated Swapping) --- */
.milestone-bar {
    position: relative;
    margin-top: var(--header-height);
    /* Push down by header height */
    background: linear-gradient(90deg, #F0FDFA, #FFFFFF);
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    padding: 12px 0;
    z-index: 10;
    overflow: hidden;
}

.milestone-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}

.milestone-badge {
    background: #FEF3C7;
    color: #D97706;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 2;
    /* Keeps badge above text if overlapping on small screens */
}

/* Container for the sliding text */
.text-carousel {
    position: relative;
    height: 1.6rem;
    /* Fixed height to prevent layout jumps */
    width: 600px;
    /* Width for text area */
    max-width: 100%;
}

/* Common style for both messages */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    /* Center the text */
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    opacity: 0;
    /* Start hidden */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-item .counter-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Animation Application */
.msg-1 {
    animation: textSlideCycle 10s infinite;
}

.msg-2 {
    animation: textSlideCycle 10s infinite;
    animation-delay: 5s;
    /* Starts halfway through the cycle */
}

/* Animation Logic:
   0% - 5%: Slide in from right & Fade In
   5% - 45%: Stay in center (Pause)
   45% - 50%: Fade out to left
   50% - 100%: Remain hidden
*/
@keyframes textSlideCycle {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    5% {
        transform: translateX(0);
        opacity: 1;
    }

    45% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50px);
        opacity: 0;
    }
}

/* Responsive adjustments for Milestone Bar */
@media (max-width: 768px) {
    .milestone-container {
        flex-direction: column;
        gap: 5px;
    }

    .text-carousel {
        width: 100%;
        height: 1.4rem;
    }

    .carousel-item {
        font-size: 0.85rem;
        white-space: normal;
        /* Allow wrapping on very small screens */
    }
}

/* --- Hero Parallax --- */
.hero-parallax-home {
    position: relative;
    height: calc(100vh - 50px);
    /* Adjust height for the new bar */
    min-height: 600px;
    margin-top: 0;
    /* No margin here */
    background-image: url('https://images.unsplash.com/photo-1579154204601-01588f351e67?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.85), rgba(15, 23, 42, 0.92));
    z-index: 1;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin-top: 0;
}

.badge-pill.glass-pill {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.glass-pill .badge-icon {
    color: #FCD34D;
}

.hero-title-large {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -2px;
}

.hero-text-center {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.6;
}

.hero-text-center strong {
    color: white;
    font-weight: 500;
}

.hero-btns-center {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.btn-glass-white {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

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

.play-icon-white {
    width: 24px;
    height: 24px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: 0.3s;
}

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

.trust-indicators-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.trust-indicators-center p {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
    object-fit: cover;
}

.avatars img:first-child {
    margin-left: 0;
}

.avatar-count {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    background: var(--text-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: -15px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    right: 40px;
    /* Changed from left: 50% to right: 40px */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Removed transform: translateX(-50%) as it is no longer needed */
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* UPDATED: WHO WE ARE SECTION BACKGROUND DESIGN */
.about-relative {
    position: relative;
    overflow: hidden;
}

/* Sublte Pattern Overlay */
.about-relative::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Subtle geometric pattern */
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

/* Large Decorative DNA Icon */
.about-bg-design {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 30rem;
    color: var(--primary);
    opacity: 0.03;
    /* Less opacity design */
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is readable above background */
.about-wrapper {
    position: relative;
    z-index: 2;
}

.about-img-frame {
    z-index: 2;
}

/* --- Home Sections (Services, About, etc) --- */
.help-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #E2E8F0;
}

.help-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.help-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.help-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.help-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.icon-call {
    background: var(--accent-bg);
    color: var(--accent);
}

.icon-whatsapp {
    background: var(--primary-light);
    color: var(--primary);
}

.help-content {
    flex-grow: 1;
}

.help-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.help-content p {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 300;
}

.help-arrow {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: auto;
}

.features {
    padding: 7rem 0;
    background-color: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.8rem;
    background: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 30px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.3);
    animation: expandLine 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes expandLine {
    0% {
        width: 0px;
        opacity: 0;
    }

    100% {
        width: 70px;
        opacity: 1;
    }
}

.section-header p {
    color: var(--text-body);
    font-size: 1.05rem;
    font-weight: 300;
    margin-top: 1rem;
}

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

.service-box {
    position: relative;
    background-color: white;
    background-image: radial-gradient(var(--text-light) 1px, transparent 1px);
    background-size: 24px 24px;
    background-blend-mode: multiply;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    z-index: 1;
}

.service-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0.6) 100%);
    z-index: -1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
    transition: 0.5s ease;
}

.service-box:nth-child(even)::before {
    border-color: var(--card-pink-border);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.service-box:hover::before {
    transform: scale(1.2);
    opacity: 0.8;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.4s;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-box:hover .service-icon-box {
    background: var(--primary);
    color: white;
    transform: rotate(5deg);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.25);
}

.service-box:nth-child(even):hover .service-icon-box {
    background: var(--accent);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.25);
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.read-more-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.service-box:hover .read-more-btn {
    color: var(--primary);
    gap: 12px;
}

.service-box:nth-child(even):hover .read-more-btn {
    color: var(--accent);
}

.tests {
    padding: 7rem 0;
    background: var(--bg-body);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1100px) {
    .tests-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.test-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s;
    border: 1px solid rgba(15, 118, 110, 0.1);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.test-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 118, 110, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon-circle {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: 0.4s;
}

.test-card:hover .card-icon-circle {
    transform: rotate(10deg) scale(1.1);
}

.safe-badge {
    background: rgba(15, 118, 110, 0.05);
    color: var(--primary);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.test-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.home-badge {
    background: #F8FAFC;
    color: #64748B;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #F1F5F9;
}

.home-badge i {
    color: var(--primary);
}

.report-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.report-text span {
    color: var(--text-light);
    font-weight: 300;
}

.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.card-buttons button {
    flex: 1;
    padding: 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1.2;
}

.btn-view {
    background: transparent;
    border: 1px solid rgba(15, 118, 110, 0.3);
    color: var(--primary);
}

.btn-view:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.btn-add {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: white;
}

.btn-add:hover {
    background: #be123c;
    border-color: #be123c;
    transform: translateY(-2px);
}

.about {
    padding: 7rem 0;
    background: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img-frame img {
    width: 100%;
    transition: 0.5s;
}

.about-img-frame:hover img {
    transform: scale(1.05);
}

.exp-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 1.2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.exp-badge .years {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-desc {
    color: var(--text-body);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    font-weight: 300;
}

.about-points .point {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.about-points .point i {
    color: var(--primary);
    font-size: 1.1rem;
}

.mission-section {
    padding: 7rem 0;
    background: #F0FDFA;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mv-large-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: 0.4s;
    border-bottom: 4px solid transparent;
}

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

.mv-icon-large {
    width: 80px;
    height: 80px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: 0.4s;
}

.mv-large-card:hover .mv-icon-large {
    background: var(--primary);
    color: white;
}

.mv-large-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.mv-large-card p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

.why-choose-us {
    position: relative;
    padding: 7rem 0;
    background: var(--bg-body);
    overflow: hidden;
}

.creative-bg-icon {
    position: absolute;
    top: 10%;
    right: -5%;
    font-size: 25rem;
    color: var(--primary);
    opacity: 0.03;
    transform: rotate(-20deg);
    pointer-events: none;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid white;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.5rem;
}

.stat-number-box h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-number-box span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.promo-banner-section {
    padding: 2rem 0 6rem;
    background: var(--bg-body);
}

.promo-banner {
    background: linear-gradient(135deg, #F0FDFA 0%, white 50%, #FFF1F2 100%);
    border-radius: 24px;
    padding: 3rem 4rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px -10px rgba(15, 118, 110, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.banner-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: -50px;
    left: -50px;
    opacity: 0.6;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--card-pink-bg);
    bottom: -50px;
    right: 10%;
    opacity: 0.5;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.promo-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.text-accent-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-features-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    gap: 1.5rem;
}

.p-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.p-feature i {
    color: var(--accent);
    font-size: 1.1rem;
}

.p-separator {
    width: 1px;
    height: 25px;
    background: #CBD5E1;
}

.promo-image {
    position: absolute;
    right: 3rem;
    bottom: -30px;
    width: 350px;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.promo-image img {
    width: 100%;
    height: auto;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.promo-banner:hover .promo-image {
    transform: scale(1.05) translateY(-5px);
}

.process-section {
    padding: 6rem 0;
    background-color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.process-timeline {
    position: relative;
    padding: 10px 0;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 40px;
    width: 2px;
    background: #E2E8F0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
    transition: 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.timeline-content {
    padding-top: 5px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 300;
    line-height: 1.6;
}

.visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.visual-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.float-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.float-badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ==========================================================================
   UPDATED TESTS SECTION (Auto Scroll + Buttons + No Images)
   ========================================================================== */

.dark-overlay-section {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    color: white;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.95), rgba(15, 23, 42, 0.98));
}

.section-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1579154204601-01588f351e67?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}

.dark-overlay-section .container {
    position: relative;
    z-index: 2;
}

/* Typography Overrides for Dark Theme */
.text-white {
    color: white !important;
}

.text-white-subtitle {
    background: rgba(255, 255, 255, 0.1);
    color: #CCFBF1;
    backdrop-filter: blur(5px);
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Scroll Container */
.tests-scroll-container {
    position: relative;
    width: 100%;
}

.tests-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem 3rem 0.5rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    
    /* ADDED FOR MOBILE OPTIMIZATION */
    scroll-snap-type: x mandatory; /* Forces cards to snap into place */
    -webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS */
}

.tests-grid::-webkit-scrollbar {
    display: none;
}

/* MANUAL SCROLL BUTTONS */
.scroll-btn {
    position: absolute;
    top: 60%;
    /* Align with cards roughly */
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.scroll-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.scroll-btn.left {
    left: -25px;
}

.scroll-btn.right {
    right: -25px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }

    /* Hide buttons on mobile, allow touch scroll */
}

/* CARD STYLING (Reverted to Icons, No Top Image) */
.test-card {
    min-width: 280px;
    max-width: 280px;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* ADDED FOR MOBILE OPTIMIZATION */
    scroll-snap-align: center; /* Ensures the card stops in the center of the screen */
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Internal Card Elements */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon-circle {
    width: 65px;
    height: 65px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: 0.4s;
}

.test-card:hover .card-icon-circle {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary);
    color: white;
}

.safe-badge {
    background: #F0FDFA;
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.test-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.home-badge {
    background: #F8FAFC;
    color: #64748B;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E2E8F0;
}

.home-badge i {
    color: var(--primary);
}

.report-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.report-text span {
    color: #94A3B8;
    font-weight: 300;
}

.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.card-buttons button {
    flex: 1;
    padding: 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-view {
    background: transparent;
    border: 1px solid #E2E8F0 !important;
    color: var(--primary);
}

.btn-view:hover {
    background: var(--primary-light);
    border-color: var(--primary) !important;
}

.btn-add {
    background: var(--accent);
    color: white;
}

.btn-add:hover {
    background: #be123c;
    transform: translateY(-2px);
}


/* ==========================================================================
   6. HOME PAGE END
   ========================================================================== */


/* ==========================================================================
   7. CONTACT PAGE START
   ========================================================================== */

/* Contact Hero */
.contact-hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    z-index: 1;
}

.contact-hero .hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: white;
    font-weight: 700;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-top: 1rem;
    max-width: 600px;
    margin-inline: auto;
    font-weight: 300;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    border: 1px solid rgba(15, 118, 110, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-hero .badge-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Floating Contact Card */
.contact-wrapper {
    position: relative;
    margin-top: -100px;
    z-index: 10;
    padding-bottom: 5rem;
}

.creative-contact-card {
    background: white;
    border-radius: 32px;
    box-shadow: 0 30px 60px -15px rgba(15, 118, 110, 0.15), 0 10px 20px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    overflow: hidden;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Left Panel - Premium Gradient */
.contact-info-panel {
    background: linear-gradient(145deg, #0F766E 0%, #0d635d 50%, #14b8a6 100%);
    color: white;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.deco-circle-1 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.contact-info-panel h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.info-desc {
    color: var(--primary-light);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

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

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    flex-shrink: 0;
}

.info-text label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-text span {
    font-size: 1.1rem;
    font-weight: 500;
}

.social-connect {
    margin-top: auto;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.social-connect p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.s-links {
    display: flex;
    gap: 1rem;
}

.s-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

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

/* Right Panel: Premium Form */
.contact-form-panel {
    padding: 4rem;
    background: linear-gradient(135deg, #FAFBFC 0%, #FFFFFF 100%);
    position: relative;
}

.contact-form-panel::before {
    content: 'Get in Touch';
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}



.form-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-dark);
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    outline: none;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-bottom-color: var(--primary);
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #14b8a6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.input-group.focused label,
.input-group input:focus~label,
.input-group textarea:focus~label,
.input-group select:focus~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.input-group input:focus~.line,
.input-group textarea:focus~.line,
.input-group select:focus~.line,
.input-group.focused .line {
    width: 100%;
}

.select-label {
    top: -20px !important;
    font-size: 0.8rem !important;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Map Section */
.map-section {
    padding-bottom: 6rem;
}

.map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.map-overlay-card {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.loc-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.map-overlay-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.map-overlay-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.directions-link {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.directions-link:hover {
    gap: 10px;
}

/* ==========================================================================
   8. CONTACT PAGE END
   ========================================================================== */


/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 968px) {

    /* Home Hero */
    .hero-title-large {
        font-size: 3.5rem;
    }

    .hero-btns-center {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        justify-content: center;
    }

    /* Layout Grids */
    .about-wrapper,
    .mission-grid,
    .footer-grid,
    .help-grid,
    .process-grid,
    .creative-contact-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Promo */
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .promo-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-features-box {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
        text-align: left;
    }

    .p-separator {
        display: none;
    }

    .promo-image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 250px;
        margin-top: 1rem;
    }

    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-card);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-toggle {
        display: block;
    }

    /* Contact Page */
    .form-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 2.5rem;
    }

    .map-overlay-card {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }

    .contact-hero .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title-large {
        font-size: 2.8rem;
    }

    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
}

/* FLOATING APPOINTMENT BUTTON */
.floating-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(204, 251, 241, 0.85);
    /* Light Green Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 118, 110, 0.15);
    color: var(--primary);
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    width: 60px;
    /* Initial round shape */
}

.floating-fab:hover {
    width: 210px;
    /* Expanded width */
    background: rgba(204, 251, 241, 0.95);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.15);
}

.fab-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(15, 118, 110, 0.2);
}

.fab-text {
    white-space: nowrap;
    margin-left: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s;
    color: var(--primary);
}

.floating-fab:hover .fab-text {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-fab {
        bottom: 20px;
        right: 20px;
    }
}

/* --- FEATURED METRIX CARD CSS (Migrated from index.html) --- */
.featured-section {
    padding: 4rem 0 6rem;
    background: var(--bg-body);
}

.featured-wrapper {
    /* Light Gradient derived from Logo (Blue to Pink) */
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.04) 0%, #ffffff 50%, rgba(194, 24, 91, 0.06) 100%);
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 86, 179, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

/* Decorative blobs */
.featured-wrapper::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.featured-wrapper::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(194, 24, 91, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.f-info-col {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.f-tag {
    display: inline-block;
    background: linear-gradient(90deg, #0056b3, #023e8a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
    animation: pulseTag 2s infinite;
}

@keyframes pulseTag {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Metrix Logo Styling mimicking the image */
.metrix-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.m-icon {
    font-size: 2.8rem;
    color: #C2185B;
    /* Pinkish Magenta from logo */
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.m-text {
    font-family: var(--font-main);
    line-height: 1;
}

.m-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0056b3;
    /* Blue from logo */
    margin: 0;
    letter-spacing: -1px;
}

.m-text span {
    font-size: 1.1rem;
    color: #C2185B;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.f-desc {
    color: var(--text-body);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* NEW BUTTON GRADIENT based on Logo Colors */
.f-btn-gradient {
    background: linear-gradient(135deg, #0056b3 0%, #C2185B 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(194, 24, 91, 0.2) !important;
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.f-btn-gradient:hover {
    background: linear-gradient(135deg, #C2185B 0%, #0056b3 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.3) !important;
}

.f-doctors-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 1.8rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 1rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* --- PREMIUM CARD BACKGROUND ILLUSTRATIONS --- */
.doc-card::after {
    content: '\f0f0';
    /* FontAwesome Doctor Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: #0056b3;
    opacity: 0.04;
    z-index: 0;
    transform: rotate(-15deg);
    pointer-events: none;
}

.doc-card:nth-child(2)::after {
    color: #C2185B;
    /* Pink tint for second card */
}

.doc-content-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    width: 100%;
}

/* Color accents for cards */
.doc-card:nth-child(1) {
    border-left: 5px solid #0056b3;
}

.doc-card:nth-child(2) {
    border-left: 5px solid #C2185B;
}

.doc-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 86, 179, 0.12);
    background: #ffffff;
}

.doc-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.1);
}

.doc-card:nth-child(2) .doc-img {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
    color: #C2185B;
    box-shadow: 0 8px 20px rgba(194, 24, 91, 0.1);
}

.doc-details h4 {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.doc-qual {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-role {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.doc-time {
    display: inline-block;
    background: #F1F5F9;
    color: #334155;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
}

@media (max-width: 968px) {
    .featured-wrapper {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 3rem;
    }

    .m-text h2 {
        font-size: 2rem;
    }


    /* --- NEW METRIX DESIGN FOR CONTACT PAGE (PREMIUM GRADIENT) --- */
    .contact-metrix-design {
        /* Rich Dark Gradient: Deep Blue to Vibrant Magenta/Pink */
        background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #831843 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    }

    .contact-metrix-design::before {
        background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%) !important;
        animation: floatBlob 10s ease-in-out infinite alternate;
    }

    .contact-metrix-design::after {
        background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%) !important;
        animation: floatBlob 8s ease-in-out infinite alternate-reverse;
    }

    @keyframes floatBlob {
        0% {
            transform: translate(0, 0) scale(1);
        }

        100% {
            transform: translate(30px, -30px) scale(1.1);
        }
    }

    /* Text Adjustments for Dark Background */
    .contact-metrix-design .f-tag {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: none !important;
    }

    .contact-metrix-design .m-icon {
        color: #f472b6 !important;
        /* Lighter pink for visibility */
        filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.3));
    }

    .contact-metrix-design .m-text h2 {
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .contact-metrix-design .m-text span {
        color: #f472b6 !important;
    }

    .contact-metrix-design .f-desc {
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 300;
    }

    /* Doctor Cards Glassmorphism on Dark Bg */
    .contact-metrix-design .doc-card {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    }

    .contact-metrix-design .doc-card:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    }

    .contact-metrix-design .doc-details h4 {
        color: #ffffff !important;
    }

    .contact-metrix-design .doc-qual {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .contact-metrix-design .doc-role {
        color: #38bdf8 !important;
        /* Light blue accent */
    }

    .contact-metrix-design .doc-time {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    /* Button Adjustment */
    .contact-metrix-design .f-btn-gradient {
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.3) !important;
    }

    .contact-metrix-design .f-btn-gradient:hover {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.5) !important;
    }

}

/* ==========================================================================
   CLEAN DOCTORS SECTION (LIGHT THEME)
   ========================================================================== */

.doctors-clean-section {
    position: relative;
    padding: 7rem 0;
    /* Soft Gradient Background: Very light teal to white */
    background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
    overflow: hidden;
}

.relative-z2 {
    position: relative;
    z-index: 2;
}

/* --- Fixed Title & Subtitle Spacing --- */
.section-header {
    display: flex;
    flex-direction: column;
    /* Forces items to stack vertically */
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle-pill {
    display: inline-block;
    /* Ensures it behaves like a block for the flex container */
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1rem;
    /* Spacing between subtitle and title */
}

.section-title-dark {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-desc-light {
    font-size: 1.1rem;
    color: var(--text-body);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Floating Background Icons --- */
.clean-bg-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.03;
    /* Very subtle */
    z-index: 0;
    pointer-events: none;
}

.icon-1 {
    top: 50px;
    left: -20px;
    font-size: 20rem;
    transform: rotate(-20deg);
}

.icon-2 {
    bottom: 50px;
    right: -20px;
    font-size: 18rem;
    transform: rotate(15deg);
}

/* --- Grid Layout --- */
.doc-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* --- Clean Card Design --- */
.doc-clean-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft Shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.doc-clean-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.15);
    /* Teal glow on hover */
    border-color: rgba(15, 118, 110, 0.2);
}

/* Image Area */
.clean-img-box {
    position: relative;
    height: 280px;
    /* Slightly reduced height for icon look */
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
    /* Light gray background */

    /* Flexbox to center the illustration */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* New class for the placeholder illustration */
.doc-illustration {
    font-size: 7rem;
    /* Large icon size */
    color: #cbd5e1;
    /* Light gray (No color look) */
    transition: all 0.4s ease;
}

/* Hover Effect: Scale up the icon slightly */
.doc-clean-card:hover .doc-illustration {
    transform: scale(1.15);
    color: #94a3b8;
    /* Slightly darker gray on hover */
}

/* Department Tag on Image */
.dept-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Content Area */
.clean-content {
    padding: 1.8rem;
    text-align: center;
}

.clean-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.clean-qual {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.clean-role {
    font-size: 1rem;
    color: var(--primary);
    /* Teal color */
    font-weight: 500;
    margin-bottom: 1.2rem;
}



.doc-clean-card:hover .clean-time {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .doc-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .doc-clean-grid {
        grid-template-columns: 1fr;
    }

    .doc-clean-card {
        max-width: 380px;
        margin: 0 auto;
    }

    .section-title-dark {
        font-size: 2rem;
    }
}



/* --- ACCREDITATION SECTION (Compact Height) --- */
.accreditation-section {
    padding: 2.5rem 0;
    /* Reduced padding for less height */
    background-color: #f8fafc;
    /* Very light gray to separate from white */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.acc-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.acc-title-small {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
}

/* Decorative lines next to title */
.acc-title-small::before,
.acc-title-small::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #cbd5e1;
}

.acc-title-small::before {
    left: -50px;
}

.acc-title-small::after {
    right: -50px;
}

.acc-grid {
    display: flex;
    justify-content: center;
    /* Centers the 3 items */
    align-items: center;
    gap: 80px;
    /* Increased gap slightly since there are only 3 items now */
    flex-wrap: wrap;
}

.acc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.acc-logo-img {
    height: 60px;
    /* Slightly larger for better visibility */
    width: auto;
    filter: grayscale(100%);
    /* Start Black & White */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.acc-item:hover .acc-logo-img {
    filter: grayscale(0%);
    /* Color on hover */
    opacity: 1;
    transform: scale(1.05);
}

.acc-label {
    font-size: 0.75rem;
    color: #334155;
    font-weight: 600;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.acc-item:hover .acc-label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .acc-grid {
        gap: 30px;
    }

    .acc-logo-img {
        height: 45px;
    }
}

/* --- BRANCHES TICKER SECTION --- */
.branch-section {
    background-color: #f1f5f9;
    /* Slightly darker grey than accreditation for contrast */
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0;
    /* Very small height */
    overflow: hidden;
}

.branch-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.branch-label {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    background-color: #f1f5f9;
    /* Covers the scrolling text behind it */
    padding-right: 20px;
    box-shadow: 10px 0 20px #f1f5f9;
    /* Fade effect */
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    /* Space between locations */
    width: max-content;
    /* Animation definition */
    animation: scroll-left 25s linear infinite;
}

/* Hover/Touch to PAUSE the scrolling */
.marquee-wrapper:hover .marquee-track,
.marquee-wrapper:active .marquee-track {
    animation-play-state: paused;
}

.branch-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.branch-item i {
    font-size: 0.4rem;
    color: #cbd5e1;
    /* Subtle separator dot */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* We move -50% because we duplicated the content list */
}

@media (max-width: 768px) {
    .branch-container {
        flex-direction: column;
        /* Stack label on top of scroll on very small screens? No, keep inline for ticker feel */
        flex-direction: row;
        gap: 0;
    }

    .branch-label {
        font-size: 0.8rem;
        margin-right: 15px;
        padding-right: 10px;
        box-shadow: 5px 0 10px #f1f5f9;
    }

    .branch-item {
        font-size: 0.8rem;
    }

    .marquee-track {
        gap: 2rem;
        animation-duration: 20s;
        /* Faster scroll on mobile */
    }
}


/* =========================================
   MOBILE RESPONSIVE FIXES (FINAL ADJUSTMENT)
   ========================================= */

@media (max-width: 768px) {

    /* 1. Hero Section: Reduced top padding */
    .hero-parallax-home {
        height: auto !important;
        min-height: 100vh;
        padding-bottom: 80px;
        align-items: flex-start;
        /* CHANGED: Reduced from 120px to 40px to remove blank space */
        padding-top: 40px;
    }

    /* 2. Content Container: Remove extra top spacing */
    .hero-content-center {
        /* CHANGED: Removed extra padding so it sits higher */
        padding-top: 0;
        margin-top: 1rem;
    }

    /* 3. Keep "Trusted by happy clients" visible */
    .trust-indicators-center {
        margin-bottom: 10px;
    }

    /* 4. Scroll Down Animation: Small & Bottom-Right */
    .scroll-down-indicator {
        left: auto !important;
        right: 15px !important;
        bottom: 15px !important;
        transform: scale(0.6) !important;
        transform-origin: bottom right;
        z-index: 10;
        flex-direction: row;
        align-items: center;
        gap: 5px;
    }

    .scroll-down-indicator span {
        font-size: 10px;
    }
}


/* --- TESTIMONIALS SECTION CSS --- */
.testimonials-section {
    padding: 6rem 0;
    /* Using a very light medical teal/mint background from your palette hints */
    background: linear-gradient(180deg, #f0fdfa 0%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

/* Background decorative element */
.testi-bg-icon {
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 15rem;
    color: var(--primary);
    /* Matches brand color */
    opacity: 0.05;
    /* Very subtle */
    z-index: 0;
    transform: rotate(-15deg);
}

.reviews-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 320px;
    max-width: 320px;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    /* Soft shadow with a hint of teal */
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.06);
    scroll-snap-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(15, 118, 110, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

/* FIXED: Avatar Visibility */
.reviewer-avatar {
    width: 45px;
    height: 45px;
    /* Changed from undefined gradient to your Primary Brand Color */
    background: var(--primary);
    color: #ffffff;
    /* White text ensures visibility */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.review-stars {
    color: #fbbf24;
    /* Gold star color */
    font-size: 0.8rem;
    margin-top: 4px;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.google-badge-small {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.google-icon-color {
    width: 16px;
}

/* Scroll buttons */
.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.scroll-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    /* Border matches brand */
    background: white;
    color: var(--primary);
    /* Icon matches brand */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .review-card {
        min-width: 280px;
        padding: 1.5rem;
    }
}



/* ---------------------------------------------------- */
/* --- COMPACT PREMIUM SECTION CSS --- */
/* ---------------------------------------------------- */

.premium-banner-container {
    width: 100%;
    padding: 20px 0;
}

.premium-hc-card {
    /* Clean, healthy gradient (White to very soft teal) */
    background: linear-gradient(105deg, #ffffff 0%, #f0fdfa 60%, #e0f2f1 100%);
    position: relative;
    border-radius: 24px; /* Slightly tighter radius */
    overflow: hidden;
    /* Sophisticated, low-profile shadow */
    box-shadow: 0 10px 40px -10px rgba(15, 118, 110, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    border: 1px solid rgba(15, 118, 110, 0.08);
    
    /* HEIGHT CONTROL: Removed fixed min-height, using padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px; /* Reduced vertical padding */
    gap: 20px;
}

/* Background Blurs - Toned down for cleaner look */
.hc-bg-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hc-shape-1 { 
    background: var(--primary-light); 
    width: 250px; /* Smaller */
    height: 250px; 
    top: -80px; 
    right: -50px; 
    filter: blur(50px); 
    opacity: 0.5;
}

.hc-shape-2 { 
    background: #fbcfe8; /* Soft pink */
    width: 200px; 
    height: 200px; 
    bottom: -60px; 
    left: -40px; 
    filter: blur(45px); 
    opacity: 0.4;
}

/* Content Left */
.hc-content-left {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 65%;
}

/* New Minimalist Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 15px;
}
.premium-badge i { color: #F43F5E; } /* Red accent */

/* Compact Typography */
.hc-title {
    font-size: 2.2rem; /* Reduced from 3rem */
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hc-desc {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 25px; /* Tighter spacing */
    max-width: 90%;
    font-weight: 400;
    line-height: 1.5;
}

/* Modern Button */
.btn-hc-premium {
    background: linear-gradient(135deg, #E11D48 0%, #be123c 100%);
    color: white;
    padding: 12px 28px; /* Slimmer button */
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.25);
    transition: all 0.3s ease;
}

.btn-hc-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.35);
}

/* Visual Right - The Height Reducer */
.hc-visual-right {
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Don't shrink the icon */
}

/* New Circular Icon Design (Smaller & Cleaner) */
.hc-icon-circle {
    width: 130px; /* Much smaller than 220px */
    height: 130px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 50%; /* Circle looks more modern/friendly */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px -5px rgba(15, 118, 110, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    animation: floatSmall 5s ease-in-out infinite;
}

.hc-main-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Spinning Ring */
.hc-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(15, 118, 110, 0.2);
    animation: spinRealSlow 15s linear infinite;
    z-index: -1;
}

@keyframes floatSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes spinRealSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .premium-hc-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .hc-content-left {
        max-width: 100%;
        margin-right: 0;
    }
    
    .hc-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hc-title {
        font-size: 1.8rem;
    }
    
    .hc-icon-circle {
        width: 100px;
        height: 100px;
    }
    
    .hc-main-icon {
        font-size: 2.5rem;
    }
}
        /* ---------------------------------------------------- */
        /* --- HOME VISIT FORM MODAL (Responsive Sheet/Popup) --- */
        /* ---------------------------------------------------- */
        .hv-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hv-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .hv-modal-container {
            background: #ffffff;
            width: 500px;
            max-width: 95%;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
            transform: scale(0.9);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .hv-overlay.active .hv-modal-container {
            transform: scale(1);
        }

        /* Close Button */
        .hv-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.2rem;
            color: #64748b;
            background: #f1f5f9;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.2s;
            border: none;
        }
        .hv-close:hover { background: #e2e8f0; color: #ef4444; }

        .hv-header h3 {
            font-size: 1.5rem;
            color: #1e293b;
            margin-bottom: 5px;
        }
        .hv-header p {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 25px;
        }

        .hv-form-group {
            margin-bottom: 15px;
            text-align: left;
        }
        .hv-form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #475569;
            margin-bottom: 6px;
        }
        .hv-input, .hv-select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            font-size: 0.95rem;
            outline: none;
            transition: 0.3s;
            font-family: 'Outfit', sans-serif;
        }
        .hv-input:focus, .hv-select:focus {
            border-color: #38bdf8;
            box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
        }

        .error-msg {
            color: #ef4444;
            font-size: 0.75rem;
            margin-top: 4px;
            display: none; /* Hidden by default */
            font-weight: 500;
        }

        .hv-submit-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #0F766E 0%, #0d9488 100%); 
            color: white;
            border: none;
            border-radius: 50px; /* Fully rounded for modern look */
            font-size: 1.05rem;
            font-weight: 700;
            margin-top: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
        }
        .hv-submit-btn:hover {
            background: linear-gradient(135deg, #0d9488 0%, #0F766E 100%);
            transform: translateY(-2px);
            box-shadow: 0 15px 25px rgba(15, 118, 110, 0.3);
        }
        /* MOBILE BOTTOM SHEET STYLE */
        @media (max-width: 768px) {
            .hv-overlay {
                align-items: flex-end; /* Align to bottom */
            }
            .hv-modal-container {
                width: 100%;
                max-width: 100%;
                border-radius: 24px 24px 0 0; /* Only top corners rounded */
                padding: 25px;
                transform: translateY(100%); /* Start hidden below screen */
                margin: 0;
            }
            .hv-overlay.active .hv-modal-container {
                transform: translateY(0); /* Slide up */
            }
            /* Visual handle for bottom sheet */
            .hv-modal-container::before {
                content: '';
                position: absolute;
                top: 10px;
                left: 50%;
                transform: translateX(-50%);
                width: 40px;
                height: 4px;
                background: #e2e8f0;
                border-radius: 10px;
            }
        }