@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f2044;           /* Deep navy — authoritative, medical */
    --primary-light: #1e3a6e;    /* Lighter navy for gradients */
    --accent: #0ea5e9;           /* Bright clinical cyan */
    --accent-hover: #0284c7;     /* Deep hover cyan */
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
    --accent-gradient-warm: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gold: #d4a843;             /* Warm gold — awards, stars */
    --text-dark: #0f172a;        /* Near-black for headings */
    --text-body: #334155;        /* Slate-700 comfortable body text */
    --text-muted: #64748b;       /* Slate-500 muted/captions */
    --bg-light: #f8fafc;         /* Slate-50 page background */
    --bg-section-alt: #f0f7ff;   /* Soft blue tint for alternating sections */
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', 'Outfit', serif;
    --font-ui: 'Outfit', 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 4px rgba(15, 32, 68, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 32, 68, 0.10);
    --shadow-lg: 0 12px 40px rgba(15, 32, 68, 0.15);
    --radius-card: 20px;
    --radius-pill: 50px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.75;
}

.t {
    color: white;
}

.h1, h1 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

h3, h4 {
    font-family: var(--font-ui);
    color: var(--text-dark);
    font-weight: 600;
}

h5, h6 {
    font-family: var(--font-ui);
    font-weight: 600;
}

.tt {
    color: white;
}

li {
    list-style-type: none;
}

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

section {
    padding: 72px 0;
    overflow: hidden;
    background: #fff;
    position: relative;
}

/* ============================================================
   SECTION HEADER LABELS — premium accent pill + heading
   ============================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.section-label i {
    font-size: 11px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-subtext {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-24 { font-size: 24px; }
.fs-30 { font-size: 30px; }
.fs-34 { font-size: 34px; }

.bg-primary {
    background-color: var(--accent) !important;
}

.bg-grey {
    background-color: var(--bg-light) !important;
}

.bg-dark {
    background-color: #0f172a !important; /* Richer dark slate */
}

.bg-secondary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--accent) !important;
}

.text-secondary {
    color: var(--primary) !important;
}

.mt-80 {
    margin-top: 80px;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header & Navigation */
nav {
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    height: 80px;
    background-color: #152347; /* Solid deep navy — no transparency bleed */
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

nav.nav-scrolled {
    background-color: #0f1e3a; /* Slightly darker on scroll */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    height: 72px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}

nav .logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
    height: 100%;
}

nav .logo img {
    max-height: 55px;
    width: auto;
    transition: var(--transition-smooth);
}

nav.nav-scrolled .logo img {
    max-height: 48px;
}

nav .links {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .links li {
    list-style: none;
}

nav .links a {
    display: block;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    position: relative;
    border-radius: 8px;
}

nav .links a:hover,
nav .links .active a {
    color: #fff;
}

nav .links a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

nav .links a:hover::after,
nav .links .active a::after {
    transform: scaleX(1);
    transform-origin: left;
}

#nav-toggle {
     position: absolute;
     top: -100px;
     left: -100px;
}

nav .icon-burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

nav .icon-burger .line {
    width: 28px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (max-width: 991px) {
    nav {
        padding: 0 4%;
    }
    nav .links a {
        font-size: 14px;
        padding: 8px 10px;
    }
}

@media screen and (max-width: 768px) {
    nav .logo {
        justify-content: flex-start;
    }
    nav .links {
        position: fixed;
        z-index: 999;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 24px 40px;
        gap: 15px;
        background-color: #0f1e3a;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    nav .links a {
        font-size: 18px;
        padding: 12px 20px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
    }
    nav .links a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    nav .links a::after {
        left: 20px;
        right: auto;
        width: 30px;
    }
    nav :checked ~ .links {
        right: 0;
    }
    nav .icon-burger {
        display: block;
    }
    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
}

/* Footer Wrapper */
.footer-wrapper h5.text-white.fw-bold {
    color: var(--accent) !important;
    position: relative;
    padding-bottom: 10px;
}
.footer-wrapper h5.text-white.fw-bold::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

h5.e.fw-bold {
    color: var(--accent) !important;
}

.breadcrumbs-wrapper {
    margin-top: 80px;
}

.services-icon-title i {
    font-size: 50px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.butn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 30px;
    line-height: normal;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.28);
}

.butn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.40);
    color: #fff !important;
    opacity: 0.95;
}

.butn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    line-height: normal;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.butn-outline:hover {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.28);
}

.scroll-to-top {
    font-size: 20px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: fixed;
    bottom: 90px; /* shift up to clear mobile bottom nav */
    right: 25px;
    display: none;
    border-radius: 50%;
    background: var(--accent);
    border: 1px solid var(--accent);
    width: 45px;
    height: 45px;
    line-height: 43px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.scroll-to-top i {
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

.scroll-to-top:hover {
    background: #fff;
    border-color: var(--accent);
}

.scroll-to-top:hover i {
    color: var(--accent);
}

.footer-shift {
    padding-left: 70px;
}

.contact-icon {
    font-size: 18px;
}

.social-icon {
    font-size: 20px;
}

.footer-list p.text-white {
    position: relative;
}

.footer-list i {
    position: absolute;
    left: -27px;
}

.contact-footer {
    padding-left: 27px;
}

/* index & Cards CSS */
.service-descr p.text-center {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.card_decor {
    border: none;
    border-radius: var(--radius-card);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    padding: 32px 24px !important;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.card_decor:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--accent);
}

.card_decor .services-icon-title i {
    font-size: 44px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: block;
}

.card_decor h2 {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card_decor .service-descr p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

section.speciality {
    background: var(--bg-section-alt);
    padding: 60px 0;
}

.speciality-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================================
   MOBILE SNAP-SCROLL CAROUSEL
   Used for .service-cards-deck and .expertise-cards-deck on mobile
   ============================================================ */
.cards-carousel-wrapper {
    position: relative;
}

.mobile-scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 8px;
}

.mobile-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mobile-scroller .snap-card {
    scroll-snap-align: start;
    flex: 0 0 88%;       /* 88% = peek next card slightly */
    max-width: 88%;
}

.scroll-indicator-container {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.scroll-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.25);
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
}

.scroll-indicator-dot.active {
    background: var(--accent);
    width: 22px;
    border-radius: 4px;
}

/* On desktop — make scroller transparent so Bootstrap row/col controls layout */
@media (min-width: 768px) {
    .mobile-scroller {
        display: contents; /* children become direct children of .row */
    }
    .mobile-scroller .snap-card {
        /* Bootstrap col classes restore correct flex sizing */
        scroll-snap-align: none;
    }
    .scroll-indicator-container {
        display: none;
    }
}


.mar-fa {
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.butn:hover .mar-fa {
    transform: translateX(5px);
}

.treatment-card h3 {
    font-family: var(--font-ui);
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.treatment-card h6 {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

.treatment-card:hover h3 {
    color: var(--accent);
}

.treatment-img {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    width: 100% !important;
    overflow: hidden;
    border-radius: 12px;
}

.treatment-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
}

.expertise .card:hover .treatment-img img {
    transform: scale(1.06);
}

.expertise .card {
    border: none;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
}

.expertise .card:hover {
    background-color: var(--bg-card);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.treatment-card {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.treatment-title {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    margin-bottom: 15px !important;
}

.btn-view {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: auto !important;
    z-index: 1;
}



.bg-light-orange {
    background: rgba(245, 158, 11, 0.05); /* Modernized warm gold-orange tint */
}

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

ul.list-circle li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
}

ul.list-circle li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.doc-cover {
    padding: 20px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: inline-block;
    max-width: 420px;
    margin: 0 auto;
}

.doc-cover img {
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

/* Fluid Auto-Resizing Banner (Uncropped) */
.banner {
    margin-top: 80px;
    height: auto !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.banner .carousel,
.banner .carousel-inner,
.banner .carousel-item {
    height: auto !important;
}
.banner .carousel-item img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important; /* ensures full flyer is visible without cropping */
    display: block;
}

/* Mobile Treatments 2-Column Grid overrides */
@media screen and (max-width: 576px) {
    .expertise .treatment-img {
        border-radius: 8px;
        height: auto !important;
        width: 100% !important;
        overflow: hidden;
    }
    .expertise .card {
        min-height: auto !important;
        padding: 10px !important;
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .treatment-card h3 {
        font-size: 15px !important;
        margin-top: 8px !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }
    .treatment-card h6 {
        display: block !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #6b7280 !important;
        margin-top: 4px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        font-weight: 400 !important;
    }
    .expertise .btn-view {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: calc(100% - 24px) !important;
        padding: 5px 0 !important;
        font-size: 11px !important;
        margin-top: 0 !important;
        border-radius: 20px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

.copyright i {
    padding: 10px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    margin-bottom: 10px;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.copyright i:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.expertise .know-card {
    min-height: auto;
}

.btn-pos {
    left: 20px;
    right: 20px;
}

/* Mobile Bottom Navigation Bar Styles */
.mobile-bottom-nav {
    display: none;
}

@media screen and (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background-color: rgba(21, 35, 71, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 10000; /* above all content */
        justify-content: space-around;
        align-items: center;
        padding: 5px 0;
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    }
    
    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 11px;
        font-weight: 600;
        transition: var(--transition-smooth);
        width: 20%;
        text-align: center;
    }
    
    .mobile-bottom-nav-item i {
        font-size: 20px;
        margin-bottom: 3px;
        transition: var(--transition-smooth);
    }
    
    .mobile-bottom-nav-item.active {
        color: var(--accent);
    }
    
    .mobile-bottom-nav-item:hover,
    .mobile-bottom-nav-item:focus {
        color: #fff;
    }
    
    .mobile-bottom-nav-item.active i {
        transform: translateY(-2px);
    }
    
    body {
        padding-bottom: 65px !important;
    }
    
    /* Reposition Floating Action Buttons to float above bottom nav */
    .feedback-form-btn {
        position: fixed;
        right: 16px;
        transform: none !important;
        border-radius: 50% !important;
        width: 52px;
        height: 52px;
        min-width: auto !important;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
        z-index: 9999;
        border: 2px solid #fff;
        transition: var(--transition-smooth);
    }
    
    .feedback-form-btn {
        bottom: 145px; /* WhatsApp stacked above Call */
    }
    
    .feedback-form-btn.btn_call {
        bottom: 80px; /* Call above Bottom Nav */
    }
    
    .feedback-form-btn .what_cover {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .feedback-form-btn .what_cover strong {
        font-size: 0;
        display: none;
    }
    
    .feedback-form-btn i {
        font-size: 24px;
        margin: 0 !important;
    }
}

/* Our Director */

.doctor-info p {
    font-size: 18px;
}

.doctor-info p {
    font-size: 14px;
    font-weight: 500;
}

/* Awards & Honours */
.awards{
    padding-right: 30px;
}

.awards li {
    list-style: disc;
}
/* .awards li p{
    font-size: 19px;
} */
.awards li p{
    font-size: 16px;
}

/* Know your Eye */

.read-more:hover {
    color: #ef8233;
}

.height{
    height:78px;
}

.know-expertise h3 {
    font-size: 22px;
}
/* Gallery */

.img-container {
    width: 100vw;
    height: 60vh;
    background-color: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    }
  .img-container img {
    width: 600px;
    height: 450px;
    background-color: #87A0E2;
    border-radius: 16px;
    position: absolute;
    user-select: none;
    transition-property: transform, opacity, zIndex, ; 
    transition-duration: 0.3s; 
    transition-timing-function: ease-out; 
    }
  .arrows {
    width: 900px;
    height: auto;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    }
  .arrows svg {
    width: 60px;
    height: 60px;
    position: relative;
    fill: white;
    opacity: 0.8;
    cursor: pointer;
    }
  
  .arrows svg:active {
    transform: scale(0.9);
    opacity: 1;
    transition-property: transform, opacity; 
    transition-duration: 0.3s; 
    transition-timing-function: ease-out; 
    }


    .happy-patient {
        padding: 40px 0;
    }
    
    /* Unified Testimonial Cards & Media Cards styling */
    .testimonial-card,
    .testimonial-media-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 40px 35px;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
        max-width: 750px;
        margin: 20px auto;
        height: 380px; /* Fixed uniform height on desktop */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        text-align: center;
        overflow: hidden;
    }
    
    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 15px;
        left: 25px;
        font-size: 100px;
        font-family: Georgia, serif;
        color: rgba(14, 165, 233, 0.08);
        line-height: 1;
    }

    .testimonial-card h5 {
        color: var(--primary);
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .testimonial-card p {
        font-style: italic;
        color: var(--text-dark);
        font-size: 15.5px;
        line-height: 1.7;
        margin-bottom: 15px !important;
        position: relative;
        z-index: 1;
    }
    
    .testimonial-stars {
        color: #f59e0b;
        display: flex;
        justify-content: center;
        gap: 4px;
        margin-top: 5px;
    }

    /* Media testimonial styling (Video / Youtube Iframe / Images) */
    .testimonial-media-card video,
    .testimonial-media-card iframe {
        border-radius: 12px;
        border: none;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        display: block;
        background-color: #000;
        box-shadow: var(--shadow-sm);
    }
    
    .testimonial-media-card img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain; /* ensures images scale without cropping or stretching */
        border-radius: 12px;
        display: block;
    }

    /* Custom Carousel controls styling */
    #carouseltestinomial .carousel-control-prev,
    #carouseltestinomial .carousel-control-next {
        width: 45px;
        height: 45px;
        background-color: var(--primary);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.7;
        transition: var(--transition-smooth);
        border: 2px solid #ffffff;
        z-index: 10;
    }
    #carouseltestinomial .carousel-control-prev:hover,
    #carouseltestinomial .carousel-control-next:hover {
        background-color: var(--accent);
        opacity: 1;
    }
    
    #carouseltestinomial .carousel-control-prev {
        left: 0;
    }
    #carouseltestinomial .carousel-control-next {
        right: 0;
    }
    
    /* Responsive overrides for testimonials */
    @media screen and (max-width: 768px) {
        #carouseltestinomial .carousel-control-prev,
        #carouseltestinomial .carousel-control-next {
            display: flex !important; /* show arrows on mobile */
            width: 36px !important;
            height: 36px !important;
            background-color: var(--primary) !important;
            opacity: 0.9 !important;
            border-width: 1px !important;
        }
        #carouseltestinomial .carousel-control-prev {
            left: 5px !important;
        }
        #carouseltestinomial .carousel-control-next {
            right: 5px !important;
        }
        .testimonial-card,
        .testimonial-media-card {
            padding: 30px 20px;
            margin: 10px;
            height: auto;
            min-height: 280px;
        }
        #carouseltestinomial .testimonial-card,
        #carouseltestinomial .testimonial-media-card {
            margin: 10px 45px !important;
        }
        .testimonial-media-card img {
            max-height: 300px;
        }
        .testimonial-media-card video,
        .testimonial-media-card iframe {
            aspect-ratio: 16/9;
            height: auto;
        }
    }

    /* Professional Banner Section Styles */
    /* Duplicate banner rules removed. Active banner properties are handled globally above. */

    .feedback-form-btn {
        position: fixed;
        right: -59px;
        color: #fff;
        transform: rotate(90deg);
        top: 40%;
        padding: 6px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: #40c351;
        min-width: 150px;
        text-align: center;
        z-index: 5;
        border: 1px solid #fff;
    }

    .feedback-form-btn.btn_call {
        top: calc(40% + 150px);
        /* background-color: #40c351; */
        background-color: #243254;
    }
  /* Blog */


 #blog {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
}/* --------------------------------------------------
   PREMIUM BLOG LIST STYLING
-------------------------------------------------- */
.blog-section {
    padding: 85px 0;
    background: #f8fafc;
}
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}
.blog-card-img-wrapper {
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}
.blog-card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--transition-smooth) ease;
}
.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-date {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.blog-card-date i {
    color: var(--accent);
}
.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.45;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-card-title {
    color: var(--accent);
}
.blog-card-excerpt {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    margin-top: auto;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}
.blog-card-link i {
    margin-left: 6px;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* Sidebar widget styling */
.blog-sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}
.blog-sidebar-widget:last-child {
    margin-bottom: 0;
}
.blog-sidebar-widget h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.blog-sidebar-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Popular Posts list */
.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popular-post-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.popular-post-item:first-child {
    padding-top: 0;
}
.popular-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.popular-post-thumb {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}
.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-post-info {
    display: flex;
    flex-direction: column;
}
.popular-post-info a {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.popular-post-info a:hover {
    color: var(--accent);
}
.popular-post-info span {
    font-size: 11px;
    color: #6b7280;
    margin-top: 5px;
}

.sidebar-about-content p {
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Blog Individual */


.blog-bg-img {
    padding: 200px 0px;
}

.popular-blog-info {
    margin-left: 8px;
}

.indi-blog-box {
    background-color: #fefefe;
    box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, .06), 0 0 1.25rem rgba(30, 34, 40, .04);
    border: 0;
    color: inherit;
}

.indi-info {
    margin-left: 25px;
    margin-right: 25px;
}

.like-card {
    background-color: #fefefe;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border: 0;
    color: inherit;
}

/* --------------------------------------------------
   OUR DIRECTOR PAGE STYLES (PREMIUM REDESIGN)
-------------------------------------------------- */

/* Page Header / Breadcrumbs Section */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    padding: 90px 0 70px 0;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.page-header h1 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 800;
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.page-header .breadcrumbs {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}
.page-header .breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.page-header .breadcrumbs a:hover {
    color: var(--accent);
}
.page-header .breadcrumbs span.sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}
.page-header .breadcrumbs span.current {
    color: #ffffff;
    font-weight: 600;
}

/* Services & Facilities Cards */
.clinical-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.clinical-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.25);
}
.clinical-card .icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}
.clinical-card:hover .icon-wrapper {
    background: var(--accent);
    color: #ffffff;
}
.clinical-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}
.clinical-card p {
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Director Page Carousel */
.director-carousel-wrapper {
    max-width: 750px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
    background-color: #ffffff;
}
.director-carousel-wrapper .carousel-item img {
    height: 460px;
    width: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .director-carousel-wrapper .carousel-item img {
        height: 280px;
    }
}/* Know Your Eyes Page Card Redesign */
.know-card {
    background: #ffffff;
    border-radius: 20px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
}
.know-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.25) !important;
}
.know-card .card-img {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
.know-card .card-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    background-color: #ffffff;
    transition: transform var(--transition-smooth) ease-in-out;
}
.know-card:hover .card-img img {
    transform: scale(1.06);
}
.know-card .card-content {
    padding: 20px 15px 15px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.know-card h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.know-card p {
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}
.know-card .btn-pos {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: auto !important;
    border-radius: 20px;
}

/* Mobile responsive know-card overrides */
@media screen and (max-width: 576px) {
    .know-card {
        min-height: auto !important;
        border-radius: 12px !important;
    }
    .know-card .card-img {
        height: 100px !important;
    }
    .know-card .card-content {
        padding: 10px 8px 8px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
    }
    .know-card h3 {
        font-size: 13.5px !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
    }
    .know-card p {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        color: #6b7280 !important;
        margin-top: 4px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
    .know-card .btn-pos {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: auto !important;
        padding: 5px 0 !important;
        font-size: 11px !important;
        border-radius: 20px !important;
        display: flex !important;
        justify-content: center !important;
    }
}

/* --------------------------------------------------
   BLOG & SPECIALTY DETAIL PAGES
-------------------------------------------------- */
.kye-indi {
    padding: 60px 0;
}
.kye-indi-info {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.kye-indi-info h1.title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 800;
    font-size: 34px;
    margin-bottom: 25px;
    line-height: 1.3;
}
.kye-indi-info h2.sub-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
    margin-top: 40px !important;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
    line-height: 1.4;
}
.kye-indi-info p {
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.kye-indi-info p:last-child {
    margin-bottom: 0;
}
.kye-indi-info .in-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    margin-top: 30px !important;
    margin-bottom: 12px;
    color: var(--accent);
}

/* Need Urgent Help Sidebar Card */
.need-help {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}
.need-help-wrapper {
    padding: 40px 30px !important;
}
.need-help-wrapper p {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0;
}
.need-help-wrapper p.fw-bold.text-white:first-child {
    font-size: 22px;
    font-weight: 800 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.need-help-wrapper p.fw-bold.text-white.mt-2 {
    font-size: 16px;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-top: 0 !important;
    margin-bottom: 10px;
}
.need-help-wrapper .phone, 
.need-help-wrapper .mail, 
.need-help-wrapper .address {
    margin-top: 15px !important;
    display: flex;
    align-items: flex-start;
}
.need-help-wrapper a {
    text-decoration: none;
    transition: var(--transition-smooth);
}
.need-help-wrapper a:hover p {
    color: var(--accent) !important;
}
.need-help-wrapper p.text-white {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9) !important;
}

@media screen and (max-width: 991px) {
    .kye-indi {
        padding: 30px 0;
    }
    .kye-indi-info {
        padding: 25px;
        margin-bottom: 30px;
    }
    .need-help {
        height: auto;
    }
}

/* --------------------------------------------------
   SPLIT LEFT-ALIGNED TIMELINE (AWARDS & HONOURS)
-------------------------------------------------- */
.journey-section {
    background: #f8fafc;
    padding: 85px 0;
    position: relative;
    overflow: hidden;
}
.journey-title {
    text-align: center;
    margin-bottom: 60px;
}
.journey-title h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 12px;
}
.journey-title p {
    color: #6b7280;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Timeline Container */
.journey-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Background static track (grey) */
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 140px; /* Aligned next to the year column */
    top: 0;
    bottom: 0;
    width: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    z-index: 1;
}

/* Glowing scroll-progress line */
.journey-progress-line {
    position: absolute;
    left: 140px;
    top: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 2px;
    height: 0%; /* updated by JS */
    transition: height 0.1s linear;
    z-index: 2;
}

/* Timeline Item wrapping columns */
.journey-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}
.journey-item:last-child {
    margin-bottom: 0;
}

/* Column 1: Year Label on Left */
.journey-year-col {
    width: 110px;
    text-align: right;
    padding-right: 25px;
    flex-shrink: 0;
    margin-top: 12px;
}
.journey-year-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* Column 2: Node Circle on the Line */
.journey-node-col {
    width: 64px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}
.journey-node-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.journey-item:hover .journey-node-circle {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
    border-color: #ffffff;
}

/* Column 3: Content Card on Right */
.journey-card-col {
    flex-grow: 1;
    padding-left: 20px;
}
.journey-details-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}
.journey-details-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.journey-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.journey-details-card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 19px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.journey-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.journey-awards-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 10px;
}
.journey-awards-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 14px;
}
.journey-awards-list li:last-child {
    margin-bottom: 0;
}

/* Mobile & Tablet responsiveness */
@media screen and (max-width: 768px) {
    .journey-timeline::before {
        left: 20px;
    }
    .journey-progress-line {
        left: 20px;
    }

    .journey-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 45px;
        margin-bottom: 40px;
    }

    /* Move year above the card content on mobile */
    .journey-year-col {
        width: auto;
        text-align: left;
        padding: 0;
        margin-bottom: 8px;
        margin-top: 0;
    }
    .journey-year-badge {
        font-size: 18px;
        display: inline-block;
        padding: 4px 12px;
        background: rgba(36, 50, 84, 0.08);
        border-radius: 30px;
    }

    /* Node positioning on left vertical line */
    .journey-node-col {
        position: absolute;
        left: 20px;
        top: 0;
        transform: translateX(-50%);
        width: auto;
    }
    .journey-node-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-width: 3px;
    }
    .journey-item:hover .journey-node-circle {
        transform: translateX(0) scale(1.1) !important;
    }

    .journey-card-col {
        width: 100%;
        padding: 0;
    }
    .journey-details-card {
        padding: 22px;
        border-radius: 16px;
    }
}

/* --------------------------------------------------
   SOCIAL RESPONSIBILITY PAGE STYLING
-------------------------------------------------- */
.social-intro {
    padding: 85px 0;
    background: #ffffff;
}
.social-intro-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.social-intro h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.social-intro p {
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 20px;
}
.social-intro p:last-of-type {
    margin-bottom: 30px;
}

/* Stats counter grid */
.social-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}
.social-stat-item h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 5px;
}
.social-stat-item p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Intro Featured Frame */
.social-featured-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.social-featured-frame:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.social-featured-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.social-frame-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(36, 50, 84, 0.95);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
}

/* Activities Grid section */
.social-activities-section {
    background: #f8fafc;
    padding: 90px 0;
}
.social-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.social-section-header .badge {
    background: rgba(36, 50, 84, 0.08);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: inline-block;
}
.social-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 34px;
    margin-bottom: 12px;
}
.social-section-header p {
    color: #6b7280;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Outreach card styling */
.outreach-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}
.outreach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2) !important;
}
.outreach-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}
.outreach-card:hover .outreach-icon-wrapper {
    background: var(--accent);
    color: #ffffff;
    transform: scale(1.1);
}
.outreach-card p {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Gallery Showcase section */
.social-gallery-section {
    padding: 90px 0;
    background: #ffffff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}
.gallery-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    height: 480px;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-side-stack {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    height: 480px;
}
.gallery-side-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}
.gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-main:hover img,
.gallery-side-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(360deg, rgba(36, 50, 84, 0.9) 0%, rgba(36, 50, 84, 0) 100%);
    padding: 20px;
    color: #ffffff;
    pointer-events: none;
}
.gallery-caption p {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/* Responsiveness */
@media screen and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-main {
        height: 320px;
    }
    .gallery-side-stack {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        gap: 20px;
    }
    .gallery-side-item {
        height: 200px;
    }
}
@media screen and (max-width: 576px) {
    .social-intro {
        padding: 50px 0;
    }
    .social-intro h2 {
        font-size: 26px;
    }
    .social-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .social-featured-frame img {
        height: 250px;
    }
    .social-activities-section {
        padding: 50px 0;
    }
    .social-section-header h2 {
        font-size: 24px;
    }
    .social-gallery-section {
        padding: 50px 0;
    }
    .gallery-side-stack {
        grid-template-columns: 1fr;
    }
    /* Mobile fix: outreach cards should stack 1 column */
    .outreach-card {
        padding: 25px 18px;
    }
    .social-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .social-stat-item h4 {
        font-size: 20px;
    }
}
/* Extra-small fix for social stats & intro */
@media screen and (max-width: 420px) {
    .social-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .social-intro h2 {
        font-size: 22px;
    }
    .social-featured-frame img {
        height: 210px;
    }
    .social-frame-badge {
        font-size: 11px;
        padding: 5px 12px;
        bottom: 10px;
        left: 10px;
    }
    .social-section-header h2 {
        font-size: 20px;
    }
}

/* --------------------------------------------------
   TESTIMONIALS PAGE
-------------------------------------------------- */
.testi-section {
    padding: 85px 0;
    background: #f8fafc;
}
.testi-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 28px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}
/* Decorative top accent bar */
.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.testi-card:hover::before { opacity: 1; }
.testi-quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    color: rgba(14, 165, 233, 0.1);
    line-height: 1;
}
.testi-stars {
    color: #fdb813;
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    gap: 2px;
}
/* Uniform text height via line clamp */
.testi-text {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.testi-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    margin: 0;
}
.testi-source {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0;
}

/* Testimonials Video/Image section */
.testi-media-section {
    background: var(--primary);
    padding: 80px 0;
}
.testi-media-section .social-section-header .badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.testi-media-section .social-section-header h2 {
    color: #fff;
}
.testi-media-section .social-section-header p {
    color: rgba(255,255,255,0.75);
}
.testi-media-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative;
    aspect-ratio: 4/3;
    background: #000;
}
.testi-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.testi-media-card:hover img {
    opacity: 0.95;
}
.testi-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    aspect-ratio: 16/9;
    background: #000;
}
.testi-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Google badge strip */
.testi-google-strip {
    background: #fff;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
}
.testi-google-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.testi-google-icon {
    font-size: 28px;
    color: #ea4335;
}
.testi-google-text strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}
.testi-google-text span {
    display: block;
    font-size: 13px;
    color: #6b7280;
}
.testi-google-stars {
    color: #fdb813;
    font-size: 20px;
    display: flex;
    gap: 2px;
}

@media (max-width: 768px) {
    .testi-section { padding: 60px 0; }
    .testi-card { padding: 26px 22px; }
    .testi-media-section { padding: 55px 0; }
}

/* --------------------------------------------------
   GALLERY PAGE
-------------------------------------------------- */
.gallery-page-section {
    padding: 70px 0 90px;
    background: #f8fafc;
}
.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.gallery-filter-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.gallery-masonry-grid {
    columns: 3;
    column-gap: 18px;
}
.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background: #e5e7eb;
}
.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
    object-fit: cover;
}
.gallery-masonry-item:hover img {
    transform: scale(1.04);
}
.gallery-masonry-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 50, 84, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-masonry-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: #fff;
    font-size: 30px;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gallery-lightbox.active {
    display: flex;
}
.lightbox-inner {
    position: relative;
    max-width: 860px;
    width: 100%;
}
.lightbox-inner img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}
.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    background: var(--accent);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition-smooth);
}
.lightbox-close:hover { background: var(--primary); }
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(6px);
}
.lightbox-nav-btn:hover { background: var(--accent); }
.lightbox-prev-btn { left: -55px; }
.lightbox-next-btn { right: -55px; }

@media (max-width: 991px) {
    .gallery-masonry-grid { columns: 2; }
    .lightbox-prev-btn { left: 0; }
    .lightbox-next-btn { right: 0; }
}
@media (max-width: 576px) {
    .gallery-masonry-grid { columns: 2; column-gap: 10px; }
    .gallery-masonry-item { margin-bottom: 10px; }
    .gallery-page-section { padding: 50px 0 70px; }
}


/* --------------------------------------------------
   CONTACT PAGE — COMPLETE REDESIGN
-------------------------------------------------- */

/* ---- Full-bleed split banner ---- */
.contact-banner {
    background: linear-gradient(135deg, #0f2044 0%, #1a3a6e 50%, #0f2044 100%);
    padding: 152px 0 80px; /* 80px fixed nav + 72px section padding */
    position: relative;
    overflow: hidden;
}
.contact-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.contact-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253,184,19,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.contact-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.3);
    border-radius: 50px;
    color: #7dd3fc;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.contact-banner-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 46px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.contact-banner-title span {
    background: linear-gradient(90deg, #38bdf8, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-banner-desc {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}
.contact-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.contact-cta-btn.whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37,211,102,0.3);
}
.contact-cta-btn.whatsapp:hover {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.contact-cta-btn.call {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
}
.contact-cta-btn.call:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Contact image panel */
.contact-banner-img-wrap {
    position: relative;
}
.contact-banner-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    height: 400px;
}
.contact-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Rating badge over image */
.contact-rating-badge {
    position: absolute;
    bottom: -20px;
    left: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}
.contact-rating-badge .rating-stars {
    color: #fdb813;
    font-size: 14px;
    display: flex;
    gap: 2px;
}
.contact-rating-badge .rating-text strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.contact-rating-badge .rating-text span {
    font-size: 11px;
    color: #6b7280;
}

/* ---- Info strip (quick contact bar) ---- */
.contact-strip {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}
.contact-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-y: none;
}
.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-right: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.2s ease;
}
.contact-strip-item:last-child { border-right: none; }
.contact-strip-item:hover { background: #f0f9ff; }
.contact-strip-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-strip-icon.blue { background: rgba(14,165,233,0.1); color: var(--accent); }
.contact-strip-icon.green { background: rgba(37,211,102,0.1); color: #25d366; }
.contact-strip-icon.purple { background: rgba(99,102,241,0.1); color: #6366f1; }
.contact-strip-icon.navy { background: rgba(36,50,84,0.08); color: var(--primary); }
.contact-strip-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 2px;
}
.contact-strip-text span {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.4;
    display: block;
}

/* ---- Hours + Map section ---- */
.contact-main-section {
    padding: 80px 0;
    background: #f8fafc;
}
.contact-hours-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.contact-hours-card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 8px;
}
.contact-hours-card .sub {
    color: #6b7280;
    font-size: 13.5px;
    margin-bottom: 28px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
}
.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hours-row:first-child { padding-top: 0; }
.hours-day {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}
.hours-time {
    font-size: 13.5px;
    color: #4b5563;
}
.hours-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
.hours-badge.closed {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}
.contact-alert-box {
    margin-top: 24px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 14px;
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    font-size: 13px;
    color: #0369a1;
    line-height: 1.65;
}

/* Map card */
.contact-map-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 440px;
}
.contact-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: none;
    display: block;
}

/* ---- Social strip ---- */
.contact-social-strip {
    background: var(--primary);
    padding: 50px 0;
    text-align: center;
}
.contact-social-strip h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}
.contact-social-strip p {
    color: rgba(255,255,255,0.6);
    font-size: 13.5px;
    margin-bottom: 28px;
}
.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.contact-social-link {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.12);
}
.contact-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.35);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .contact-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .contact-strip-item { border-bottom: 1px solid var(--border-color); }
    .contact-strip-item:nth-child(even) { border-right: none; }
}
@media (max-width: 991px) {
    .contact-banner-title { font-size: 34px; }
    .contact-banner-img { height: 300px; margin-top: 40px; }
    .contact-banner { padding: 140px 0 70px; } /* 80px nav + 60px */
    .contact-rating-badge { bottom: -16px; left: 20px; }
    .contact-main-section { padding: 60px 0; }
    .contact-hours-card { margin-bottom: 24px; }
    .contact-map-card { min-height: 360px; }
    .contact-map-card iframe { min-height: 360px; }
}
@media (max-width: 768px) {
    .contact-strip-inner { grid-template-columns: 1fr 1fr; }
    .contact-strip-item {
        padding: 18px 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .contact-strip-item:nth-child(odd) { border-right: 1px solid var(--border-color); }
    .contact-strip-item:nth-child(even) { border-right: none; }
    .contact-strip-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 576px) {
    .contact-banner-title { font-size: 26px; }
    .contact-banner { padding: 130px 0 55px; } /* 80px nav + 50px */
    .contact-banner-desc { font-size: 14px; }
    .contact-cta-group { flex-direction: column; }
    .contact-cta-btn { justify-content: center; width: 100%; }
    .contact-rating-badge { left: 12px; min-width: 170px; padding: 10px 14px; }
    .contact-strip-inner { grid-template-columns: 1fr; }
    .contact-strip-item { border-right: none !important; border-bottom: 1px solid var(--border-color); }
    .contact-strip-item:last-child { border-bottom: none; }
    .contact-main-section { padding: 50px 0; }
    .contact-hours-card { padding: 24px 20px; }
}


/* --------------------------------------------------
   BLOG PAGE: FEATURED HERO POST
-------------------------------------------------- */
.blog-featured-post {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.blog-featured-post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.blog-featured-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-featured-img-wrapper {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}
.blog-featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.blog-featured-post:hover .blog-featured-img-wrapper img {
    transform: scale(1.04);
}
.blog-featured-overlay {
    position: absolute;
    top: 18px;
    left: 18px;
}
.blog-featured-badge {
    background: var(--accent);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}
.blog-featured-body {
    padding: 35px 40px;
}
.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.blog-featured-date {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
}
.blog-featured-date i {
    color: var(--accent);
}
.blog-featured-tag {
    background: #f0f9ff;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid #bae6fd;
}
.blog-featured-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.4;
    color: var(--primary);
    margin-bottom: 14px;
    transition: color var(--transition-smooth);
}
.blog-featured-post:hover .blog-featured-title {
    color: var(--accent);
}
.blog-featured-excerpt {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog grid section header */
.blog-grid-header {
    display: flex;
    align-items: center;
    gap: 16px;
}
.blog-grid-header h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    white-space: nowrap;
    margin: 0;
}
.blog-grid-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), transparent);
    border-radius: 2px;
}

/* Topics / Tag Pills */
.blog-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.blog-topic-tag {
    background: #f1f5f9;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.blog-topic-tag:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Sidebar Consult CTA */
.blog-consult-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a6b 100%);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    color: #fff;
}
.blog-cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 24px;
    color: #fdb813;
}
.blog-consult-cta h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}
.blog-consult-cta h4::after {
    display: none;
}
.blog-consult-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 22px;
    line-height: 1.6;
}
.blog-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.blog-cta-btn:hover {
    background: #fdb813;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive tweaks for blog page */
@media (max-width: 768px) {
    .blog-featured-body {
        padding: 24px 22px;
    }
    .blog-featured-title {
        font-size: 17px;
    }
    .blog-section {
        padding: 60px 0;
    }
    .blog-card-body {
        padding: 22px;
    }
}

/* ==== Blog Detail Page – Modern Glassmorphism ==== */
.hero {
  position: relative;
  height: 60vh;
  margin-top: 80px;
  background: url('images/blog-balancing.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(15, 30, 58, 0.65); /* Dark navy/slate overlay */
}
.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem,5vw,3.5rem);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
/* Breadcrumb styling */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  font-size: .875rem;
  color: #fff;
  padding: 0;
  margin: 1rem 0 0 0;
  background: transparent !important;
}
.breadcrumb li::after {
  content: "·";
  margin-left: .5rem;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .breadcrumb-item.active {
  color: #ffffff;
  font-weight: 600;
}

/* Glassmorphism article container */
.card-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.45);
  margin-bottom: 2rem;
}

#blog-individual {
  margin-top: -8rem;
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}
.card-glass h2,
.card-glass h3,
.card-glass h4 {
  font-family: var(--font-heading);
  margin-top: 1.5rem;
}
.card-glass p,
.card-glass li {
  line-height: 1.8;
  font-size: 1.125rem;
}

/* Related posts – reuse existing like-card styles */
.related-posts {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related-posts .like-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: .75rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-posts .like-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.15);
}

/* Fade‑in animation for hero and article */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:none; }
}

/* Utility glassmorphism class */
.glassmorphism {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
}

/* Mobile adjustments for hero */
@media (max-width: 576px) {
  .hero {
    height: 40vh;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  #blog-individual {
    margin-top: -4rem;
  }
  .card-glass {
    padding: 1.5rem 1.25rem;
  }
}

/* ============================================================
   PREMIUM PRELOADER
   ============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #152347 0%, #0a1128 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent);
    border-right-color: #0d9488;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.spinner-glow {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

.preloader-eye {
    position: absolute;
    font-size: 28px;
    color: var(--accent);
    animation: pulseEye 1.5s ease-in-out infinite alternate;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    animation: fadeText 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes pulseEye {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeText {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================================
   HOMEPAGE: KNOW YOUR EYES PORTAL SECTION
   ============================================================ */
.bg-light-blue {
  background-color: #f1f5f9;
  border-top: 1px solid rgba(14, 165, 233, 0.05);
  border-bottom: 1px solid rgba(14, 165, 233, 0.05);
}

.home-know-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.home-know-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-know-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.home-know-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-know-card:hover .home-know-img img {
  transform: scale(1.06);
}

.home-know-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.home-know-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.home-know-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-know-body .read-more {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: color 0.25s ease;
}

.home-know-body .read-more:hover {
  color: #0d9488;
}

.home-know-body .read-more i {
  transition: transform 0.25s ease;
}

.home-know-body .read-more:hover i {
  transform: translateX(4px);
}

/* ============================================================
   HOMEPAGE: BLOG SECTION
   ============================================================ */
.home-blog-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.home-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-blog-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.home-blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-blog-card:hover .home-blog-img-wrapper img {
  transform: scale(1.06);
}

.home-blog-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.home-blog-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.home-blog-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.home-blog-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.home-blog-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: color 0.25s ease;
}

.home-blog-link:hover {
  color: var(--accent);
}

.home-blog-link i {
  transition: transform 0.25s ease;
}

.home-blog-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE SCROLLER / TOUCH DECK FOR MOBILE
   ============================================================ */
@media (max-width: 767px) {
  /* Scroll Snap Container */
  .mobile-scroller {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-bottom: 1.5rem !important;
    margin-left: -4% !important; 
    margin-right: -4% !important;
    padding-left: 6% !important;
    padding-right: 6% !important;
    scrollbar-width: none; 
  }
  
  .mobile-scroller::-webkit-scrollbar {
    display: none; 
  }
  
  .mobile-scroller > [class*="col-"] {
    flex: 0 0 85% !important; 
    max-width: 85% !important;
    scroll-snap-align: center !important;
    margin-right: 1.25rem !important;
  }
  
  .mobile-scroller > [class*="col-"]:last-child {
    margin-right: 0 !important;
  }
  
  /* Scroll Indicator Dots */
  .scroll-indicator-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .scroll-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 35, 71, 0.15);
    transition: background 0.3s ease, width 0.3s ease;
  }
  
  .scroll-indicator-dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--accent);
  }
}

/* ============================================================
   HOMEPAGE: DOCTOR BIOGRAPHY (HIGH CONTRAST CALLOUT BANNER)
   ============================================================ */
.home-doctor-section {
  background: linear-gradient(135deg, #152347 0%, #0c152b 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-doctor-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.home-doctor-section .doctor-info {
  color: #ffffff;
}

.home-doctor-section .doctor-info p {
  color: rgba(255, 255, 255, 0.85);
}

.home-doctor-section .doctor-info li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.home-doctor-section .doctor-info .text-accent {
  color: var(--accent) !important;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-doctor-section .doctor-info h2 {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
}

.home-doctor-section .doctor-img img {
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.badge-accent {
  background: rgba(14, 165, 233, 0.1) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(14, 165, 233, 0.25) !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 30px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: inline-block !important;
}

.home-doctor-section .butn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.home-doctor-section .butn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
}

/* ============================================================
   HOMEPAGE: KNOW YOUR EYES PORTAL (CAPSULES LAYOUT)
   ============================================================ */
.know-summary-block h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
}

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

.bg-accent-light {
  background-color: rgba(14, 165, 233, 0.1);
}

.know-capsule-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.know-capsule-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.3);
}

.capsule-icon {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bg-blue-tint {
  background-color: rgba(21, 35, 71, 0.05);
}

.bg-teal-tint {
  background-color: rgba(14, 165, 233, 0.08);
}

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

.capsule-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: color 0.25s ease;
}

.know-capsule-card:hover .capsule-content h4 {
  color: var(--accent);
}

.capsule-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.capsule-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.know-capsule-card:hover .capsule-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* Mobile responsive for Know Your Eyes section */
@media (max-width: 767px) {
  /* Summary block: centered, compact */
  .home-know-eyes {
    padding-top: 48px !important;
    padding-bottom: 0 !important;
  }
  .know-summary-block {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .know-summary-block h2 {
    font-size: 1.8rem;
  }
  .know-summary-block .summary-bullets {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .know-summary-block .butn {
    margin-top: 0.75rem;
  }
  /* Capsules: horizontal swipe carousel on mobile */
  .know-capsules-grid {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
  }
  .know-capsules-grid::-webkit-scrollbar {
    display: none;
  }
  .know-capsules-grid .know-cap-item {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }
  /* Vertical capsule card layout on mobile */
  .know-capsule-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    gap: 0.75rem;
  }
  .capsule-arrow {
    display: none; /* cleaner on small cards */
  }
  /* Dots for capsule carousel */
  .know-dots {
    display: flex !important;
    justify-content: center;
    gap: 7px;
    padding: 12px 0 20px;
  }
}

/* Desktop: normal 2-col grid for capsules */
@media (min-width: 768px) {
  .know-capsules-grid {
    display: contents; /* children flow into Bootstrap .row */
  }
  .know-cap-item {
    /* Bootstrap col-md-6 controls width */
  }
  .know-dots {
    display: none !important;
  }
}

/* Tablet (between md and lg): stack vertically */
@media (max-width: 991px) and (min-width: 768px) {
  .know-summary-block {
    text-align: center;
    margin-bottom: 2rem;
  }
  .know-summary-block .summary-bullets {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
}

/* Unify heading colors and soften Bootstrap's text-dark utility */
h1.text-dark, h2.text-dark, h3.text-dark, h4.text-dark, h5.text-dark, h6.text-dark {
  color: var(--primary) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* ============================================================
   KNOW YOUR EYE: DETAIL PAGES (UNIFIED PREMIUM LAYOUT)
   ============================================================ */
#kye-individual {
  background: var(--bg-light);
}

#kye-individual .card-glass {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

#kye-individual .card-glass:hover {
  box-shadow: var(--shadow-lg);
}

/* Typography styles */
#kye-individual h2, #kye-individual h3, #kye-individual h4, #kye-individual h5 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

#kye-individual p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.25rem;
}

#kye-individual .alert-accent {
  background: rgba(14, 165, 233, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

#kye-individual .alert-accent h5 {
  color: var(--accent) !important;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#kye-individual .alert-accent p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Sidebar styling */
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.need-help-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0 !important;
}

.help-link {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.help-link:hover {
  background: rgba(14, 165, 233, 0.05);
  border-color: rgba(14, 165, 233, 0.2);
}

.help-link strong {
  font-size: 0.95rem;
  word-break: break-all;
}

/* KYE Catalog Page Card Upgrades */
.know-card {
  background: #ffffff !important;
  border-radius: 1.25rem !important;
  overflow: hidden;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.know-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
}

.know-card .card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

.know-card:hover .card-img img {
  transform: scale(1.06);
}

.know-card .card-content {
  padding: 1.5rem !important;
}

.know-card .card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 0.75rem;
}

.know-card .card-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.btn-view.btn-pos {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 30px;
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.know-card:hover .btn-view.btn-pos {
  background: var(--accent);
  color: #ffffff !important;
}

/* Nav pills custom style for Know Your Eyes tabs */
.nav-pills-kye {
  background: rgba(15, 35, 71, 0.04);
  padding: 6px;
  border-radius: 40px;
  display: inline-flex !important;
  border: 1px solid rgba(15, 35, 71, 0.08);
  margin-bottom: 2.5rem;
}

.nav-pills-kye .nav-link {
  border-radius: 30px !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px !important;
  transition: var(--transition-smooth) !important;
  background: transparent;
  border: none;
}

.nav-pills-kye .nav-link.active {
  background: var(--accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

@media (max-width: 767px) {
  .nav-pills-kye {
    display: flex !important;
    flex-direction: column;
    border-radius: 1.5rem;
    width: 100%;
    gap: 0.25rem;
  }
  .nav-pills-kye .nav-link {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   HOMEPAGE: HAPPY PATIENTS TESTIMONIALS SECTION (SLATE GRADIENT)
   ============================================================ */
.home-testimonials-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.home-testimonials-section .happy-title h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
}