/* =========================================
   1. VARIABLES & RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #008080;
    /* Teal */
    --primary-dark: #006666;
    --primary-light: #e0f2f1;
    --secondary-color: #003366;
    /* Deep Blue */
    --accent-color: #ff7043;
    /* Soft Orange */

    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #ffffff;

    --bg-light: #eef5f5;
    --bg-white: #ffffff;

    /* Fonts - MODERN & BOLD */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --weight-bold: 700;
    --weight-extra-bold: 800;

    /* Spacing & Layout */
    --container-width: 1400px;
    --header-height: 120px;
    --border-radius: 12px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: var(--weight-bold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Specific borders for side-by-side image sections */
.about-img-wrapper img,
.tech-slide img,
.founder-image-wrapper img,
.journey-img-item img,
.svc-main-img {
    border: 4px solid rgba(0, 128, 128, 0.2);
    border-radius: var(--border-radius);
    padding: 3px;
    /* Creates a nice inner gap effect like a frame */
    background: white;
    /* For the frame padding */
    box-shadow: var(--shadow);
}

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}



.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 128, 128, 0.08);
    border-bottom: 1px solid rgba(0, 128, 128, 0.08);
}

.bg-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    color: var(--text-light) !important;
}

/* Specific text targeting for backgrounds */
.bg-dark .section-title,
.bg-dark p,
.bg-dark .about-list li,
.bg-dark .tech-features li,
.bg-dark .faq-question {
    color: var(--text-light) !important;
}

/* Ensure inner cards keep dark text */
.bg-dark .milestone-card p,
.bg-dark .branches-stats-box p,
.bg-dark .milestone-status,
.bg-dark .bg-white p,
.bg-dark .quick-call-card p,
.bg-dark .contact-cta-card-wrapper p {
    color: var(--text-gray) !important;
}

.bg-dark .milestone-card h3,
.bg-dark .branches-stats-box h3 {
    color: var(--secondary-color) !important;
}

.bg-dark .section-subtitle {
    color: var(--text-light) !important;
}

/* Make buttons visible on Teal background */
.bg-dark .btn-primary {
    background: var(--bg-white) !important;
    color: var(--primary-color) !important;
}

.bg-dark .btn-outline {
    border-color: var(--bg-white) !important;
    color: var(--bg-white) !important;
}

.bg-dark .btn-outline:hover {
    background: var(--bg-white) !important;
    color: var(--primary-color) !important;
}

/* Dynamic Image Border (Changes based on container BG) */
.img-br {
    border: 8px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.bg-dark .img-br {
    border-color: var(--bg-white);
}

a[href*="elfsight.com/google-reviews-widget"] {
    display: none !important;
}

/* Constrain third-party widgets from horizontal overflow */
iframe,
.elfsight-app-e16ab9db-ed6a-41d4-9d17-5bf22e8388a1,
.embedsocial-hashtag,
.embedsocial-hashtag-wrapper {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pulse-green 2s infinite;
    /* Global Pulse */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px) scale(1.05);
    /* Pop effect */
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.4);
}

.hero-btns .btn-primary:hover {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.btn-outline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--text-light);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--secondary-color);
    border-color: var(--text-light);
}

.btn-outline:hover::after {
    height: 100%;
}

.btn-light {
    background-color: var(--text-light);
    color: var(--primary-color);
    font-weight: 700;
    animation: pulse-white 2s infinite;
}

.btn-light:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    animation: none;
    /* Stop animation on hover to prevent conflict */
}

.btn-block {
    display: block;
    width: 100%;
}

/* Typography Helpers */
.highlight {
    color: var(--primary-color);
}

.section-header {
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--weight-extra-bold);
    color: var(--secondary-color);
}

/* =========================================
   2.5 TOP BAR
   ========================================= */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar-right a {
    font-size: 1rem;
}

/* Social Media Icons (Header & Footer) */
.social-icon-link {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    color: inherit !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tooltip styling for header social icons */
.social-icon-link[data-tooltip] {
    position: relative;
}

.social-icon-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    pointer-events: none;
}

.social-icon-link[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--secondary-color) transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    pointer-events: none;
}

.social-icon-link[data-tooltip]:hover::after,
.social-icon-link[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.social-icon-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-icon-instagram i {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.1rem;
}

.social-icon-youtube i {
    color: #FF0000;
    font-size: 1.1rem;
}

.social-icon-google svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    :root {
        --header-height: 80px;
    }
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--secondary-color);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    text-align: center;
    overflow: visible;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-slide.active {
    transform: translateX(0);
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-slide.no-transition {
    transition: none !important;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.7) 100%, rgba(0, 128, 128, 0.5) 0%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
    /* Reduced to avoid pushing buttons too high but still clearing card */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    display: none;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: #4db6ac;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(77, 182, 172, 0.4);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 45px;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Floating Stats Buttons */
.hero-stats-container {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    justify-content: center;
}

.stat-btn {
    background: var(--bg-white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    flex: 1;
    max-width: 250px;
    animation: pulse-stat 2s infinite;
}

/* Add delays to stagger the ripples */
.stat-btn:nth-child(1) {
    animation-delay: 0s;
}

.stat-btn:nth-child(2) {
    animation-delay: 0.6s;
}

.stat-btn:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes pulse-stat {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 128, 128, 0.4);
    }

    70% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 20px rgba(0, 128, 128, 0);
    }

    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 128, 128, 0);
    }
}

.stat-btn:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.2);
    border-color: rgba(0, 128, 128, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-click-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: 600;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-btn:hover .stat-click-hint {
    opacity: 1;
    transform: translateX(3px);
}

/* Hero Carousel Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-nav:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.prev-hero {
    left: 30px;
}

.next-hero {
    right: 30px;
}

@media (max-width: 768px) {
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-hero {
        left: 15px;
    }
    .next-hero {
        right: 15px;
    }
}

/* =========================================
   20. OUR JOURNEY SECTION
   ========================================= */
.our-journey {
    background-color: var(--bg-white);
}

.journey-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.journey-desc-col p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.journey-main-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.milestone-badge-row {
    margin-bottom: 20px;
}

.year-badge {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.year-badge i {
    color: var(--primary-color);
}

.milestone-status {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.milestone-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a2e35;
}

.milestone-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Branches Stats Box */
.branches-stats-box {
    background-color: #1a2e35;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    display: inline-block;
    max-width: 320px;
}

.branches-label-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.branches-stats-content {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.branches-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
}

.branches-info {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Journey Images */
.journey-images-grid {
    display: flex;
    gap: 20px;
}

.journey-img-item {
    flex: 1;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
}

.journey-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline Accordion */
.journey-timeline-accordion {
    max-width: 800px;
    margin-right: auto;
}

.accordion-item {
    border-top: 1px solid #eee;
    padding: 25px 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.accordion-header i {
    color: #1a2e35;
    font-size: 1.2rem;
}

.accordion-body {
    padding-top: 20px;
    display: none;
    /* Hide by default */
}

.accordion-item.active .accordion-body {
    display: block;
    /* Show when active */
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-header i {
    color: #1a2e35;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

@media (max-width: 992px) {
    .journey-header {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .journey-main-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .journey-img-col {
        order: -1;
    }

    .journey-images-grid {
        flex-direction: column;
    }

    .journey-img-item {
        height: 300px;
    }

    .branches-stats-box {
        max-width: 100%;
        display: block;
    }
}

/* =========================================
   5. FEATURES SECTION
   ========================================= */
.features {
    padding-top: 150px;
    /* Increased to account for overlapping hero stats card */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: #008080;
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-content p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 12px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Service Banner Card */
.service-banner-card {
    position: relative;
    background-image: url('assets/images/WhatsApp Image 2026-02-02 at 5.58.20 PM.jpeg');
    /* Placeholder hero-style image */
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    height: 100%;
    min-height: 350px;
    /* To roughly match regular cards */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 128, 128, 0.8) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.banner-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-light);
}

.banner-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

@media (min-width: 1200px) {
    .service-banner-card {
        grid-column: span 2;
    }
}

/* =========================================
   7. ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    border-radius: 20px;
    z-index: -1;
}

/* Keyword Bubbles for About Section */
.keyword-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.keyword-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    /* Light white tint */
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.keyword-bubble i {
    font-size: 1rem;
}

.keyword-bubble:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: white;
}

/* Tech Carousel Styles */
.tech-carousel-wrapper {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tech-carousel-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.tech-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.tech-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.tech-slide.active {
    opacity: 1;
    z-index: 1;
}

.tech-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Navigation */
.tech-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: var(--transition);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tech-nav:hover {
    background: var(--primary-color);
    color: white;
}

.prev-tech {
    left: 15px;
}

.next-tech {
    right: 15px;
}

/* Carousel Dots */
.tech-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.tech-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.about-list li i {
    color: white;
}

/* =========================================
   8. CTA SECTION (Original) - Kept for reference
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* =========================================
   9. CONTACT SECTION
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.info-item a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =========================================
   18. FAQ ACCORDION AND GRID 
   ========================================= */
.faq-section {
    position: relative;
    /* Spacing handled by section-padding */
}

.faq-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 35px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-item {
    margin-bottom: 0;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    background: white;
    padding: 22px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.25rem;
    /* Increased */
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    background: #fdfdfd;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
    /* Increased */
}

.faq-answer p {
    margin: 20px 0;
}

/* =========================================
   19. FOOTER
   ========================================= */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   11. MULTI-PAGE STYLES
   ========================================= */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 120px 0 60px;
    color: var(--text-light);
    text-align: center;
    margin-top: 0;
}

.page-title {
    color: var(--text-light);
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    display: none;
}

.page-description {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.breadcrumb a {
    color: var(--text-light);
}

.map-container {
    height: 400px;
    background-color: #eee;
    width: 100%;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.doctor-img {
    height: 300px;
    background-color: #f0f0f0;
    width: 100%;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.doctor-info {
    padding: 25px;
}

.doctor-name {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: block;
}

.booking-btn {
    margin-top: 10px;
}

.appointment-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.appointment-form-container {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.quick-call-sidebar {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .page-header-modern .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-breadcrumb-side {
        order: -1;
        padding-bottom: 10px;
    }

    .specialists-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .appointment-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .appointment-form-container {
        padding: 30px;
    }

    .quick-call-sidebar {
        padding: 0;
        text-align: center;
    }

    .quick-call-card-container {
        justify-content: center !important;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-header {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .journey-main-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .journey-img-col {
        order: -1;
    }

    .journey-images-grid {
        flex-direction: column;
    }

    .journey-img-item {
        height: 300px;
    }

    .branches-stats-box {
        max-width: 100%;
        display: block;
    }
}

@media (max-width: 600px) {
    .header-title-side h1 {
        font-size: 2.5rem;
    }

    .cert-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   12. RESPONSIVE DESIGN
   ========================================= */
/* =========================================
   12. RESPONSIVE DESIGN - IMPROVED
   ========================================= */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 80px;
    }

    .hero {
        min-height: 520px;
        height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats-container {
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 95%;
        max-width: 700px;
        gap: 15px;
    }

    .stat-btn {
        padding: 12px 10px;
        border-radius: 100px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .features {
        padding-top: 80px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-img-wrapper {
        height: 350px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 40px 0;
        gap: 20px;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 520px;
        height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-slide {
        align-items: center;
        padding-top: var(--header-height);
        padding-bottom: 120px;
    }

    .hero-stats-container {
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 96%;
        max-width: 580px;
        gap: 8px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .stat-btn {
        flex: 1;
        padding: 12px 8px;
        border-radius: 100px;
        position: relative;
        min-width: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .hero-nav {
        display: none !important;
    }

    .features {
        padding-top: 80px;
    }

    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .why {
        padding-top: 80px !important;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-modern-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-text-side h2 {
        font-size: 2rem !important;
    }

    .cta-feature {
        justify-content: center;
    }

    .cta-image-side {
        order: -1;
        margin-bottom: 30px;
    }

    .cta-img-main {
        max-height: 300px;
        margin-right: 0;
    }

    .insta-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logo {
        justify-content: center;
    }

    .cen {
        justify-content: center;
    }

    .tech-nav {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }

    .hero-slide {
        padding-bottom: 120px;
    }

    .hero-stats-container {
        flex-direction: row;
        width: 98%;
        max-width: 420px;
        bottom: -35px;
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .stat-btn {
        flex: 1;
        padding: 12px 6px;
        border-radius: 100px;
        min-width: 0;
        animation: none;
        position: relative;
    }

    .stat-number {
        font-size: 1.15rem;
        margin-bottom: 3px;
        color: var(--primary-color);
    }

    .stat-label {
        font-size: 0.58rem;
        font-weight: 800;
        color: var(--secondary-color);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        line-height: 1.2;
        margin-bottom: 3px;
        word-wrap: break-word;
        display: block;
        width: 100%;
    }

    .stat-click-hint {
        display: flex;
        font-size: 0.5rem;
        color: var(--primary-color);
        font-weight: 600;
        opacity: 0.85;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-img {
        width: 100%;
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }
    
    .about-img-wrapper {
        height: 240px;
    }

    .features {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 480px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats-container {
        bottom: -35px;
        gap: 3px;
        width: 98%;
        max-width: 380px;
    }

    .stat-btn {
        padding: 10px 4px;
        border-radius: 100px;
    }

    .stat-number {
        font-size: 1.05rem;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.52rem;
        letter-spacing: 0.1px;
        margin-bottom: 2px;
    }

    .stat-click-hint {
        font-size: 0.45rem;
        gap: 1px;
    }

    .whatsapp-chat-box {
        width: calc(100vw - 40px);
        right: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .features {
        padding-top: 80px;
    }
}

/* =========================================
   13. WHATSAPP WIDGET
   ========================================= */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20BA56;
}

.floating-contact-widgets {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.call-btn-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-btn-float:hover {
    transform: scale(1.1) rotate(15deg);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.map-btn-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff5722 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.map-btn-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-chat-box {
    width: 350px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
    border: 1px solid #eee;
}

.whatsapp-chat-box.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-header {
    background-color: #075E54;
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-header-info img {
    height: 30px;
}

.whatsapp-header h4 {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.whatsapp-header .status {
    font-size: 0.75rem;
    opacity: 0.8;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.whatsapp-body {
    padding: 20px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-color: #e5ddd5;
    height: 250px;
    overflow-y: auto;
}

.message {
    max-width: 80%;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.received {
    background-color: white;
    border-top-left-radius: 0;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-time {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 5px;
}

.whatsapp-footer {
    padding: 10px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-footer input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
}

#whatsapp-send {
    background: none;
    border: none;
    color: #075E54;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

#whatsapp-send:hover {
    transform: scale(1.2);
}

/* =========================================
   14. POPUP MODAL
   ========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .popup-overlay {
        display: none !important;
    }
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.5s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
}

.popup-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* =========================================
   15. SOCIAL MEDIA (GMB)
   ========================================= */
.gmb-section {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.gmb-header {
    margin-bottom: 50px;
}

.gmb-logo {
    font-size: 3rem;
    color: #4285F4;
    margin-bottom: 10px;
}

.gmb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gmb-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: left;
    transition: var(--transition);
}

.gmb-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #4285F4;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-stars {
    color: #FFD700;
    font-size: 0.9rem;
}

/* =========================================
   16. SOCIAL MEDIA (INSTAGRAM)
   ========================================= */
.insta-section {
    background-color: #fafafa;
    padding: 80px 0;
}

.insta-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.insta-handle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #E1306C;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insta-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.insta-item {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-icon {
    color: white;
    font-size: 1.5rem;
}

/* =========================================
   16.5 INSURANCE PARTNERS MARQUEE
   ========================================= */
.insurance-section {
    padding: 180px 0;
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 128, 128, 0.08);
}

.insurance-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.insurance-marquee-wrapper::before,
.insurance-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.insurance-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.insurance-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}

.insurance-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.insurance-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-marquee 25s linear infinite;
    padding-right: 60px;
    /* Same as gap */
}

.insurance-track:hover {
    animation-play-state: paused;
}

.insurance-logo {
    min-width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fbfd;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.7);
}

.insurance-logo:hover {
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.1);
    transform: translateY(-5px);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Scroll exactly half to reset seamlessly */
    }
}

/* Government Health Schemes Fixed Styles */
.government-schemes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.scheme-logo-box {
    width: 250px;
    height: 125px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.scheme-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.15);
    border-color: var(--primary-color);
}

.scheme-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.8;
    transition: var(--transition);
}

.scheme-logo-box:hover .scheme-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .government-schemes-container {
        gap: 20px;
    }
    .scheme-logo-box {
        width: 150px;
        height: 80px;
        padding: 10px;
    }
}

/* =========================================
   17. NEW MODERN CTA (Exact Reference Match)
   ========================================= */
.cta-modern {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2f1 100%);
    /* Light Teal Gradient */
    /* padding: 80px 0; */
    position: relative;
    overflow: hidden;
    margin: 80px auto;
    width: 85%;
    max-width: var(--container-width);
    border-radius: 40px;
    /* Rounded container */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.cta-modern-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Slightly more space for text */
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 30px;
}

/* Left Content */
.cta-text-side h2 {
    font-size: 3.2rem;
    font-weight: 800;
    /* Extra Bold */
    color: #1a2e35;
    /* Dark greenish-black */
    line-height: 1.1;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.cta-feature-icon {
    min-width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    /* Teal */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 5px;
}

.cta-feature-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2e35;
    line-height: 1.4;
}

.cta-action-box {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 25px 0;
}

.cta-desc {
    color: #57606a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

.cta-btn-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    /* Unified Theme Gradient */
    color: var(--text-light);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.3);
    display: inline-block;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    animation: pulse-green 2s infinite;
}

.cta-btn-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 2.5s infinite;
}

.cta-btn-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.4);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 128, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 128, 128, 0);
    }
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Right Side - Image & Floats */
.cta-image-side {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cta-img-main {
    max-height: 550px;
    /* Taller image */
    width: 250px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    margin-right: 90px;
    position: relative;
    margin-bottom: -30px;
    /* Shift slightly left to make room for support text */
}

/* Floating Elements from Reference */
.cta-floating-badge {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-dark-badge {
    position: absolute;
    top: -50px;
    right: -30px;
    background: var(--secondary-color);
    /* Dark Blue */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    /* Teal icon */
}

.cta-support-box {
    position: absolute;
    bottom: 50px;
    right: -20px;
    text-align: right;
}

.cta-support-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 5px;
}

.cta-support-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    /* Teal */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 992px) {
    .cta-modern {
        width: 100%;
        margin: 40px 0;
        border-radius: 0;
        padding: 60px 20px;
    }

    .cta-modern-container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .cta-text-side {
        order: 1;
        margin-bottom: 40px;
    }

    .cta-action-box {
        align-items: center;
        width: 100%;
    }

    .cta-btn-modern {
        width: 100%;
        text-align: center;
    }

    .cta-image-side {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-img-main {
        margin-right: 0;
        max-height: 450px;
        order: 1;
        margin-bottom: 10px;
    }

    .cta-support-box {
        position: static;
        text-align: center;
        margin-top: 25px;
        order: 2;
    }

    .cta-support-number {
        justify-content: center;
    }

    .cta-desc {
        max-width: 100%;
    }

    .cta-floating-badge,
    .cta-dark-badge {
        display: none;
        /* Hide on mobile to simplify */
    }
}

/* =========================================
   20. OUR JOURNEY SECTION
   ========================================= */
.our-journey {
    background-color: var(--bg-white);
}

.journey-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.journey-desc-col p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* =========================================
   21. QUICK CALL SECTION (Appointment Page)
   ========================================= */
.quick-call-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.quick-call-card-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.quick-call-card {
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 128, 128, 0.05);
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.quick-call-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 128, 128, 0.15);
    border-color: var(--primary-color);
}

.call-icon-pulse {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
}

.pulse-ring:nth-child(2) {
    animation: quick-pulse 2s infinite;
}

.pulse-ring:nth-child(3) {
    animation: quick-pulse 2s infinite 0.5s;
}

@keyframes quick-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.call-info {
    flex-grow: 1;
}

.call-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.call-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.call-action-btn {
    background: #f0f7f7;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.quick-call-card:hover .call-action-btn {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 600px) {
    .quick-call-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .call-number {
        font-size: 1.5rem;
    }

    .call-info {
        margin-bottom: 10px;
    }
}

.journey-main-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.milestone-badge-row {
    margin-bottom: 20px;
}

.year-badge {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.year-badge i {
    color: var(--primary-color);
}

.milestone-status {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.milestone-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a2e35;
}

.milestone-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Branches Stats Box */
.branches-stats-box {
    background-color: #1a2e35;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    display: inline-block;
    max-width: 320px;
}

.branches-label-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.branches-stats-content {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.branches-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
}

.branches-info {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Journey Images */
.journey-images-grid {
    display: flex;
    gap: 20px;
}

.journey-img-item {
    flex: 1;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
}

.journey-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline Accordion */
.journey-timeline-accordion {
    max-width: 800px;
    margin-left: auto;
}

.accordion-item {
    border-top: 1px solid #eee;
    padding: 25px 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.accordion-header i {
    color: #1a2e35;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.accordion-body {
    padding-top: 20px;
    display: none;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* =========================================
   21. DOCTORS PAGE REDESIGN
   ========================================= */
.page-header-modern {
    background-color: #f0f7f7;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header-modern .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.header-title-side h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a2e35;
    margin-bottom: 20px;
}

.header-title-side p {
    max-width: 600px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.header-breadcrumb-side {
    padding-bottom: 25px;
}

.header-breadcrumb-side .breadcrumb {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-breadcrumb-side .breadcrumb a {
    color: var(--text-gray);
}

.header-breadcrumb-side .breadcrumb span {
    color: var(--primary-color);
}

/* Specialists Section Grid */
.specialists-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.specialists-title-col {
    max-width: 600px;
}

.specialists-desc-col {
    max-width: 400px;
    padding-bottom: 5px;
}

.specialists-desc-col p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.modern-doctor-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-doctor-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.doctor-img-wrapper {
    position: relative;
    height: 350px;
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-role-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    text-transform: uppercase;
}

.doctor-role-badge i {
    font-size: 0.9rem;
}

.modern-doctor-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doc-qualification-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modern-doctor-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2e35;
    margin-bottom: 5px;
}

.doc-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    margin-bottom: auto !important; /* Pushes the social icons to the bottom for perfect alignment */
}

.doc-info-list li {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.doc-info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.doctor-social-links {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background-color: #1a2e35;
    color: white;
    transform: translateY(-3px);
}

/* Certifications Section */
.certifications-section {
    background-color: #fcfdfd;
    text-align: center;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cert-card {
    background: #f8fbfb;
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cert-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cert-icon-wrapper {
    margin-bottom: 25px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon-wrapper i {
    font-size: 3rem;
    color: #b0bec5;
    opacity: 0.5;
}

.cert-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a2e35;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* =========================================
   22. FOUNDER SECTION (About Us)
   ========================================= */
.founder-section {
    position: relative;
    overflow: hidden;
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.founder-image-wrapper:hover {
    transform: scale(1.02);
}

.founder-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    padding: 20px 30px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.3);
    text-align: center;
}

.founder-experience-badge .exp-num {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.founder-experience-badge .exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.founder-legacy-text {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 40px;
    position: relative;
    padding-left: 40px;
}

.founder-legacy-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.identity-bridge-card {
    background: #f0f7f7;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    border: 1px dashed var(--primary-color);
}

.identity-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.identity-step i {
    font-size: 2rem;
    color: var(--primary-color);
}

.identity-step h4 {
    margin-bottom: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-gray);
}

.identity-step p {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.identity-arrow {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: identity-pulse 2s infinite;
}

@keyframes identity-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.founder-bio-snippet {
    margin-bottom: 30px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .founder-img-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .founder-legacy-text {
        padding-left: 0;
        font-size: 1.15rem;
    }

    .founder-legacy-text::before {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }

    .identity-bridge-card {
        flex-direction: column;
        gap: 20px;
    }

    .identity-arrow {
        transform: rotate(90deg);
    }
}

/* =========================================
   19. PROFESSIONAL ROLES SECTION (PREMIUM FOCUS CARDS)
   ========================================= */
.roles-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.role-focus-card {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: #000;
}

.focus-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
}

.role-focus-card:hover .focus-card-img {
    transform: scale(1.08);
    opacity: 1;
}

/* Dark Gradient Overlay */
.role-focus-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 2;
    transition: height 0.4s ease, background 0.4s ease;
}

.role-focus-card:hover::before {
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}

.focus-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: white;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.role-focus-card:hover .focus-card-content {
    transform: translateY(0);
}

.focus-card-content .feature-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.role-focus-card:hover .feature-icon i {
    transform: scale(1.1);
}

.focus-card-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.focus-card-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.role-focus-card:hover p {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .roles-focus-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .role-focus-card {
        height: 400px;
    }

    .focus-card-content {
        transform: translateY(0);
        /* Always show normally on mobile */
    }
}

/* =========================================
   20. UGC TESTIMONIALS (VIDEOS)
   ========================================= */

.ugc-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ugc-video-card {
    position: relative;
    width: 100%;
    /* Portrait aspect ratio (like Instagram/Shorts 9:16) */
    aspect-ratio: 9 / 16;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
    cursor: pointer;
    transition: var(--transition);
}

.ugc-video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.ugc-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.ugc-video-card:hover .ugc-video-element {
    opacity: 1;
}

/* Play Button Overlay */
.ugc-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    /* Let clicks pass through to video */
}

.ugc-video-card:hover .ugc-play-overlay {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video info overlay */
.ugc-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
    z-index: 3;
    pointer-events: none;
}

.ugc-video-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.ugc-video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Hide play overlay when video is actually playing (if we use JS controls) */
.ugc-video-card.playing .ugc-play-overlay {
    opacity: 0;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .ugc-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   24. CLINIC JOURNEY TIMELINE
   ========================================= */
.clinic-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.clinic-timeline-line {
    position: absolute;
    left: 40px;
    /* Default left alignment for mobile/tablet */
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.clinic-timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px;
}

.clinic-year-badge {
    position: absolute;
    left: 15px;
    /* Centers roughly over the line */
    top: 0;
    background: var(--bg-white);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--primary-color);
    z-index: 2;
    transition: var(--transition);
}

.clinic-timeline-item:hover .clinic-year-badge {
    transform: scale(1.1);
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.clinic-timeline-content {
    background: rgba(255, 255, 255, 0.05);
    /* Slight glass effect on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
}

.clinic-timeline-item:hover .clinic-timeline-content {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.clinic-timeline-content h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.clinic-timeline-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Force readable text */
    margin-bottom: 0;
    line-height: 1.6;
}

/* Desktop Centered Timeline */
@media (min-width: 768px) {
    .clinic-timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .clinic-timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 50px;
        margin-left: 0;
    }

    .clinic-timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 50px;
    }

    .clinic-year-badge {
        left: 100%;
        transform: translateX(-50%);
    }

    .clinic-timeline-item:nth-child(even) .clinic-year-badge {
        left: 0;
        transform: translateX(-50%);
    }

    .clinic-timeline-item:hover .clinic-timeline-content {
        transform: translateX(-10px);
        /* Move left for odd items */
    }

    .clinic-timeline-item:nth-child(even):hover .clinic-timeline-content {
        transform: translateX(10px);
        /* Move right for even items */
    }
}

@media (max-width: 991px) {
    .ugc-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ugc-video-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   23. MASSIVE LEADER CAROUSEL
   ========================================= */
.leader-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.leader-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.leader-slide {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.leader-slide.active {
    opacity: 1;
}

/* Left Image Side */
.leader-slide-img {
    width: 50%;
    height: 500px;
    padding: 20px;
}

.leader-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Right Content Side */
.leader-slide-content {
    width: 50%;
    padding: 40px 50px;
}

.leader-icon-box {
    width: 70px;
    height: 70px;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leader-slide-content h3 {
    font-size: 2.5rem;
    color: var(--text-light) !important;
    margin-bottom: 20px;
}

.leader-slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
}

/* Controls */
.leader-carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.leader-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.leader-dots {
    display: flex;
    gap: 10px;
}

.leader-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.leader-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Large Carousel */
@media (max-width: 991px) {

    .leader-slide-img,
    .leader-slide-content {
        width: 100%;
    }

    .leader-slide-img {
        height: 350px;
        padding: 20px 20px 0 20px;
    }

    .leader-slide-content {
        padding: 30px;
    }

    .leader-slide-content h3 {
        font-size: 2rem;
    }

    .leader-carousel-controls {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 15px;
    }
}

/* =========================================
   25. VISIONARY BEHIND SOCH SECTION
   ========================================= */
.visionary-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.visionary-text-col {
    flex: 1.2;
    min-width: 300px;
}

.visionary-img-col {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.visionary-quote-box {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    align-items: flex-start;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-top: -5px;
    line-height: 1;
}

.quote-text {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.7;
}

.visionary-badges-row {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 15px 30px;
    border: 1px dashed rgba(0, 128, 128, 0.4);
    border-radius: 50px;
    background: rgba(0, 128, 128, 0.02);
}

.visionary-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-icon-primary {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.badge-text-box {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.badge-value {
    font-size: 1.05rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.badge-link-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.4;
}

.visionary-desc-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.visionary-img-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.visionary-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.years-expertise-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 25px 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 128, 128, 0.3);
    z-index: 2;
}

.years-num {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.years-text {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .visionary-img-col {
        padding: 0;
        margin-top: 30px;
    }

    .years-expertise-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px 20px;
    }

    .visionary-badges-row {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
        display: flex;
    }

    .badge-link-icon {
        display: none;
    }
}

/* =========================================
   26. INSURANCE PARTNERS
   ========================================= */
.insurance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.insurance-logo-box {
    width: 220px;
    height: 110px;
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 128, 128, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.insurance-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.2);
    border-color: rgba(0, 128, 128, 0.4);
}

.insurance-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.insurance-logo-box:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .insurance-logo-box {
        width: 140px;
        height: 70px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .insurance-logo-box {
        width: 120px;
        height: 60px;
    }

    .insurance-grid {
        gap: 15px;
    }
}

.local-ins-pill {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.insurance-logo-box:hover .local-ins-pill {
    color: var(--secondary-color);
    opacity: 1;
    transform: scale(1.05);
}

/* Segregated Roles Layout (About Us - Beyond the Clinic) */
.roles-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px 0;
}

.role-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.role-row:nth-child(even) {
    flex-direction: row-reverse;
}

.role-content {
    flex: 1;
}

.role-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.bg-dark .role-title {
    color: white;
}

.role-desc {
    font-size: 1.1rem;
    line-height: 1.8;
}

.bg-dark .role-desc {
    color: rgba(255, 255, 255, 0.85);
}

.bg-light .role-desc,
.bg-white .role-desc {
    color: #555;
}

.role-images {
    flex: 1.2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
}

.role-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.role-images img:hover {
    transform: scale(1.03);
}

.role-images img:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.role-images img:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.role-images img:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Responsive Roles */
@media (max-width: 991px) {

    .role-row,
    .role-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

    .role-images {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        width: 100%;
    }

    .role-images img:first-child {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        height: 350px;
    }

    .role-images img:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 150px;
    }

    .role-images img:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .role-images img:first-child {
        height: 250px;
    }

    .role-images img:nth-child(2),
    .role-images img:nth-child(3) {
        height: 150px;
    }
}

/* =========================================
   22. QUICK CALL CTA (SITE-WIDE)
   ========================================= */
.contact-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-cta-content {
    flex: 1;
    min-width: 300px;
}

.contact-cta-content .cta-heading {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-cta-content .cta-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0;
}

.contact-cta-card-wrapper {
    flex: 0 0 auto;
}

.quick-call-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 35px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    border: 1px solid rgba(0, 128, 128, 0.1);
    transition: var(--transition);
}

.quick-call-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 128, 128, 0.3);
}

.call-icon-pulse {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    position: relative;
}

.call-info .call-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.call-info .call-number {
    display: block;
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 800;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .contact-cta-wrapper {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .contact-cta-content {
        min-width: 100%;
    }

    .contact-cta-content .cta-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-cta-card-wrapper {
        width: 100%;
    }

    .quick-call-card {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
        padding: 30px 20px;
    }

    /* Mobile Services Grid Override */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-img {
        height: 200px;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .service-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    /* CTA Banner Card Mobile Fix */
    .service-banner-card {
        grid-column: 1 / -1;
        padding: 30px;
        min-height: 250px;
    }

    .service-banner-card .banner-content h3 {
        font-size: 1.5rem;
    }

    .service-banner-card .banner-content p {
        font-size: 1rem;
    }
}

/* Collapse Services Grid to 1 Column on Mobile */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card {
        flex-direction: column;
    }

    .service-img {
        height: 220px;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

    .service-content p {
        font-size: 0.9rem;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }
}

/* Small Mobile Override */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .service-img {
        height: 180px;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .service-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        display: block;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }

    .read-more {
        font-size: 0.85rem;
        margin-top: 10px;
    }

    /* CTA Banner Card Small Mobile Fix */
    .service-banner-card {
        grid-column: 1 / -1;
        padding: 20px;
        min-height: 200px;
    }

    .service-banner-card .banner-content h3 {
        font-size: 1.3rem;
    }

    .service-banner-card .banner-content p {
        font-size: 0.9rem;
    }
}

/* Instagram Section Hover Overlay */
.instagram-section-wrapper {
    position: relative;
    overflow: hidden;
}

.instagram-hover-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.instagram-overlay-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
}

.instagram-overlay-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
}

.instagram-hover-link:hover .instagram-overlay-box {
    opacity: 1;
    visibility: visible;
}

.instagram-hover-link:hover .instagram-overlay-box .instagram-overlay-btn {
    transform: translateY(0);
}

/* Fixed Phone Widget (Left Side) */
.fixed-phone-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    transition: var(--transition);
}

.phone-widget-link {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 10px 25px 10px 12px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 128, 128, 0.08);
    text-decoration: none;
    transition: var(--transition);
}

.phone-widget-link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 128, 128, 0.2);
    border-color: var(--primary-color);
}

.phone-widget-icon-container {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    margin-right: 12px;
    transition: var(--transition);
    animation: phone-wiggle 2.5s ease-in-out infinite;
}

.phone-widget-link:hover .phone-widget-icon-container {
    background-color: var(--secondary-color);
}

.phone-widget-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-widget-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: #666666;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.phone-widget-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 800;
    white-space: nowrap;
}

@keyframes phone-wiggle {
    0%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(-10deg); }
    10%, 20% { transform: rotate(10deg); }
    30% { transform: rotate(0); }
}

/* Responsive styles for phone widget */
@media (max-width: 992px) {
    .fixed-phone-widget {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .fixed-phone-widget {
        display: none; /* Hide on small mobile to avoid layout clutter */
    }
}