/* ==========================================================================
   1. CSS VARIABLES & BASE SETUP
   ========================================================================== */
:root {
    --brand-teal: #67c5b7;
    --brand-green: #13c9a7;
    --brand-dark: #135d6e;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f4f9f8;
    --font-main: 'Poppins', Arial, Helvetica, sans-serif;
    --gradient-primary: linear-gradient(135deg, #135d6e 0%, #13c9a7 100%);
    --shadow-sm: 0 4px 15px rgba(19, 93, 110, 0.08);
    --shadow-md: 0 10px 30px rgba(19, 93, 110, 0.12);
    --shadow-lg: 0 20px 40px rgba(19, 93, 110, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100%; background: #ffffff; color: var(--text-dark); font-family: var(--font-main); overflow-x: hidden; scroll-behavior: smooth; }
.visually-hidden { display: none !important; }
.section-padding { padding: 90px 5%; }
.text-muted { color: #6c7a89; line-height: 1.8; font-size: 16px; }

.section-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-subtitle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(19, 201, 167, 0.1); border-radius: 50px; color: var(--brand-dark); font-weight: 600; font-size: 14px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: clamp(32px, 4vw, 42px); color: var(--text-dark); font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.section-title span { color: var(--brand-green); }

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   2. MOTION & SCROLL ANIMATIONS
   ========================================================================== */
.fade-up { opacity: 0; transform: translateY(40px) scale(0.98); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform, opacity; }
.slide-left { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform, opacity; }
.slide-right { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform, opacity; }
.reveal-active { opacity: 1 !important; transform: translate(0) scale(1) !important; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.bounce-effect { animation: floatBounce 4s ease-in-out infinite; }
@keyframes floatBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* ==========================================================================
   3. FLOATING GLASS SMART NAVBAR (FIXED OVERLAP BUG)
   ========================================================================== */
.header-container {
    position: fixed; top: 10px; left: 0; width: 100%; z-index: 9999;
    display: flex; justify-content: center; pointer-events: none; 
}

/* Notice: overflow is NOT hidden, so dropdowns can break out of the box */
.glass-header {
    pointer-events: auto; 
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 50px; padding: 1px 5px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; max-width: 1200px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-header.collapsed {
    width: auto; padding: 8px 20px; background: rgba(255, 255, 255, 0.411);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.37);
}

.brand-logo { height: 58px; transition: 0.4s ease;}
.glass-header.collapsed .brand-logo { height: 40px; transform: scale(1.05); }

.nav-links { display: flex; gap: 30px; align-items: center; pointer-events: auto; }
.nav-links a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: 0.3s; }
.nav-links a:hover { color: var(--brand-green); }
.btn-primary { background: var(--gradient-primary); color: #fff !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; box-shadow: var(--shadow-sm); transition: 0.3s; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Drodown Fixes */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 6px; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; transform: translateY(15px);
    min-width: 240px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 16px;
    padding: 15px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; pointer-events: none;
    transition: all .3s ease; z-index: 10000; display: flex; flex-direction: column; gap: 5px; border: 1px solid rgba(0,0,0,0.05);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a { padding: 10px 15px; border-radius: 8px; font-size: 14px; white-space: normal;}
.dropdown-menu a:hover { background: rgba(19, 201, 167, 0.1); color: var(--brand-green); transform: translateX(5px); }

/* Emergency Pill inside Navbar */
.header-actions { display: flex; align-items: center; gap: 15px; }
.emergency-pill {
    display: flex; align-items: center; gap: 8px;
    background: rgba(231, 76, 60, 0.1); color: #e74c3c;
    padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 14px;
    text-decoration: none; transition: 0.3s; animation: pulse-red-subtle 2s infinite; white-space: nowrap;
}
.emergency-pill:hover { background: #e74c3c; color: #fff; }
@keyframes pulse-red-subtle { 0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); } }

/* Mobile Overlay & Menu Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 10001; }
.menu-toggle span { display: block; width: 28px; height: 3px; background-color: var(--brand-dark); border-radius: 2px; transition: 0.3s; }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 9998; opacity: 0; transition: 0.3s; }
.mobile-overlay.active { display: block; opacity: 1; }


/* ==========================================================================
   4. USER'S HERO SECTION (STRICTLY UNTOUCHED HTML/CSS)
   ========================================================================== */
.hero-banner {
    width: 100%; height: min(calc(100vw * 0.43), calc(100vh - 132px)); min-height: 420px;
    background-image: url("img/hero-home.jpeg"); background-position: center bottom;
    background-repeat: no-repeat; background-size: 100% auto; position: relative; overflow: hidden; transition: background-image 0.4s ease-in-out; 
}
.hero-hotspot { position: absolute; display: block; border: 0; background: transparent; cursor: pointer; appearance: none; isolation: isolate; text-decoration: none; padding: 0; font: inherit; z-index: 4; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hero-hotspot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(19, 201, 168, 0) 0%, rgba(103, 197, 183, 0) 40%, rgba(103, 197, 183, 0) 70%, transparent 100%); opacity: 0; transition: opacity 0.35s ease; }
.hero-hotspot::after { content: ""; position: absolute; inset: -3px; border: 3px solid rgba(255, 255, 255, 0); opacity: 0; transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.hero-hotspot:hover, .hero-hotspot.active { transform: scale(1.06); z-index: 6; }
.hero-hotspot:hover::before, .hero-hotspot.active::before { opacity: 1; }
.hotspot-left { left: 31%; top: 24%; width: 19%; height: 34%; border-radius: 999px 0 0 999px; transform-origin: right center; }
.hotspot-left::before, .hotspot-left::after { border-radius: 999px 0 0 999px; }
.hotspot-right { left: 51%; top: 23%; width: 19%; height: 34%; border-radius: 0 999px 999px 0; transform-origin: left center; }
.hotspot-right::before, .hotspot-right::after { border-radius: 0 999px 999px 0; }
.hotspot-bottom { left: 43.2%; top: 44%; width: 15%; height: 38%; clip-path: polygon(50% 0, 100% 32%, 100% 72%, 85% 100%, 15% 100%, 0 72%, 0 32%); transform-origin: center top; }
.hotspot-bottom::before, .hotspot-bottom::after { clip-path: polygon(50% 0, 100% 32%, 100% 72%, 85% 100%, 15% 100%, 0 72%, 0 32%); }
.hover-card { position: absolute; color: var(--text-light); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.35s ease, transform 0.35s ease; z-index: 8; }
.hover-card h2 { font-size: clamp(16px, 1.6vw, 26px); font-weight: 700; line-height: 1.2; margin-bottom: 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hover-card p { color: rgba(255, 255, 255, 0.92); font-size: clamp(12px, 1.1vw, 18px); font-weight: 400; line-height: 1.3; letter-spacing: 1px; }
.callout-arrow { position: absolute; width: 120px; height: 92px; fill: none; stroke: #ffffff; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.card-left { left: 10%; top: 64%; text-align: right; width: 280px; }
.card-right { right: 14%; bottom: 16%; text-align: left; width: 340px; }
.card-bottom { left: 18%; bottom: 18%; text-align: left; width: 280px; }
.arrow-left { right: -130px; top: -50px; transform: rotate(-60deg); }
.arrow-right { left: 60px; top: -112px; width: 130px; height: 100px; transform: rotate(10deg); }
.arrow-bottom { right: -98px; top: 5px; width: 115px; height: 82px; transform: rotate(200deg); }
.hotspot-left:hover ~ .card-left, .hotspot-left.active ~ .card-left, .hotspot-right:hover ~ .card-right, .hotspot-right.active ~ .card-right, .hotspot-bottom:hover ~ .card-bottom, .hotspot-bottom.active ~ .card-bottom { opacity: 1; transform: translateY(0); }


/* ==========================================================================
   5. PAGE SECTIONS
   ========================================================================== */

/* Quick Actions */
.quick-actions-wrapper { background: #ffffff; padding: 40px 5%; position: relative; z-index: 10; margin-top: -15px; border-radius: 25px 25px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.05); }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.qa-card { display: flex; align-items: center; gap: 15px; padding: 20px; border-radius: 16px; text-decoration: none; color: var(--text-dark); transition: 0.3s; border: 1px solid rgba(0,0,0,0.05); }
.qa-card:hover { border-color: var(--brand-green); transform: translateY(-5px); box-shadow: var(--shadow-md); background: #ffffff; }
.qa-icon { width: 45px; height: 45px; background: rgba(19, 201, 167, 0.1); color: var(--brand-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 18px; transition: 0.3s; }
.qa-card:hover .qa-icon { background: var(--brand-green); color: #fff; transform: rotateY(180deg); }
.qa-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.qa-text p { font-size: 12px; color: #7f8c8d; }

/* About Section */
.about-section { background: url('data:image/svg+xml;utf8,<svg opacity="0.03" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%2313c9a7"/></svg>') right center/500px no-repeat, var(--bg-light); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1300px; margin: 0 auto; }
.about-content h2 { font-size: clamp(32px, 3vw, 42px); line-height: 1.3; color: var(--text-dark); margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.stat-item { padding: 25px; border-radius: 16px; border-left: 4px solid var(--brand-green); transition: transform 0.3s; }
.stat-item:hover { transform: translateY(-5px); }
.stat-number { font-size: 36px; color: var(--brand-dark); font-weight: 800; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
.accreditation-badge { position: absolute; bottom: -20px; right: -20px; background: #fff; padding: 15px 25px; border-radius: 12px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px; font-weight: 700; color: var(--brand-dark); z-index: 5;}

/* Find a Doctor Section */
.find-doctor-section { background: var(--brand-dark); color: #fff; padding: 100px 5%; position: relative; overflow: hidden; }
.find-doctor-bg { position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); border-radius: 50%; animation: floatBounce 8s infinite alternate;}
.fd-container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; text-align: center; }
.fd-container h2 { font-size: 36px; margin-bottom: 15px; }
.fd-search-box { display: flex; padding: 10px; border-radius: 50px; margin-top: 30px; }
.fd-search-box select, .fd-search-box input { border: none; padding: 15px 25px; font-size: 16px; outline: none; background: transparent; font-family: inherit; }
.fd-search-box select { width: 30%; border-right: 1px solid rgba(0,0,0,0.1); color: var(--brand-dark); cursor: pointer; font-weight: 500;}
.fd-search-box input { width: 50%; color: var(--brand-dark); font-weight: 500;}
.fd-btn { width: 20%; background: var(--brand-green); border: none; border-radius: 50px; color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(19, 201, 167, 0.4);}
.fd-btn:hover { background: #10a88b; transform: scale(1.02); }

.doctor-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; text-align: left; }
.doctor-card { background: rgba(255,255,255,0.95); color: var(--text-dark); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px; transition: transform 0.3s; cursor: pointer;}
.doctor-card:hover { transform: translateY(-5px) scale(1.02); }
.doctor-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-green); }
.doctor-info h4 { font-size: 18px; margin-bottom: 5px; color: var(--brand-dark); }
.doctor-info p { font-size: 13px; color: #7f8c8d; margin-bottom: 3px; }
.doctor-info .spec { display: inline-block; background: rgba(19, 201, 167, 0.15); color: var(--brand-dark); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-top: 5px; text-transform: capitalize; }
.no-results { grid-column: 1 / -1; text-align: center; color: #fff; font-size: 18px; padding: 20px; background: rgba(255,255,255,0.1); border-radius: 12px; }

/* Specialities */
.coe-section { background: #ffffff; }
.coe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.coe-card { border: 1px solid #ecf0f1; border-radius: 16px; padding: 30px; background: #fff; transition: 0.4s; position: relative; overflow: hidden; text-decoration: none; display: block; }
.coe-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--brand-green); transition: 0.4s; }
.coe-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.coe-card:hover::before { height: 100%; }
.coe-icon { font-size: 40px; color: var(--brand-dark); margin-bottom: 20px; transition: 0.3s; }
.coe-card:hover .coe-icon { color: var(--brand-green); transform: scale(1.1); }
.coe-card h3 { color: var(--text-dark); font-size: 20px; margin-bottom: 10px; }
.coe-card p { color: #7f8c8d; font-size: 14px; line-height: 1.6; }

/* Footer */
.main-footer { background: #1a252f; padding: 80px 5% 30px; color: #bdc3c7; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; max-width: 1300px; margin: 0 auto; margin-bottom: 50px; }
.footer-logo { width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 25px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px; background: var(--brand-green); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bdc3c7; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--brand-green); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }


/* ==========================================================================
   6. MOBILE STICKY BOTTOM NAV
   ========================================================================== */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 68px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    z-index: 10000; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; padding: 0 4px;
}
.mobile-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #555555; font-size: 10px; font-weight: 500; width: 100%; height: 100%; gap: 4px; transition: color 0.2s ease; }
.mobile-nav-item svg { width: 22px; height: 22px; fill: none; stroke: #555555; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.mobile-nav-item.center-btn { position: relative; transform: translateY(-14px); background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-dark) 100%); width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 4px 16px rgba(19, 201, 167, 0.45); border: 4px solid #ffffff; }
.mobile-nav-item.center-btn svg { stroke: #ffffff; width: 24px; height: 24px; }
.mobile-nav-item:active { color: var(--brand-dark); }
.mobile-nav-item:active svg { stroke: var(--brand-dark); }
.mobile-nav-item.whatsapp-item svg { stroke: none; fill: #25D366; }

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media(max-width: 991px) {
    /* Mobile Drawer */
    .nav-links { 
        position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: #fff;
        flex-direction: column; align-items: flex-start; padding: 80px 30px; 
        box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: right 0.4s ease; z-index: 9999;
    }
    .nav-links.active { right: 0; }
    
    /* Reset Collapsible Logic for Mobile Drawer */
    .hide-on-scroll { max-width: none !important; opacity: 1 !important; pointer-events: auto !important; }
    .hide-on-scroll .btn-primary { display: none; } 
    
    .glass-header, .glass-header.collapsed { width: 95%; max-width: 100%; justify-content: space-between; padding: 10px 20px; }
    
    .nav-dropdown > a { pointer-events: none; }
    .dropdown-menu { position: static; box-shadow: none; padding: 10px 0 0 15px; opacity: 1; visibility: visible; transform: none; display: flex; background: transparent; border: none;}
    
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .about-container { grid-template-columns: 1fr; }
    .fd-search-box { flex-direction: column; border-radius: 12px; background: transparent; box-shadow: none; gap: 10px; }
    .fd-search-box select, .fd-search-box input, .fd-btn { width: 100%; border-radius: 12px; background: #fff; padding: 15px; border: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 768px) {
    .hero-banner { height: 45vh; min-height: 350px; background-size: cover; }
    .hero-hotspot, .hover-card { display: none !important; }
    .pill-text { display: none; } /* Hide emergency number text on small screens, show only phone icon */
    .emergency-pill { padding: 10px; border-radius: 50%; }
    .mobile-bottom-nav { display: grid; }
    body { padding-bottom: 68px; } 
    .footer-grid { grid-template-columns: 1fr; }
    .accreditation-badge { position: relative; bottom: 0; right: 0; margin-top: 20px; justify-content: center; }
}
/* ==========================================================================
   8. ENHANCED ABOUT PAGE STYLES
   ========================================================================== */
.bg-light { background: var(--bg-light); }
.mt-3 { margin-top: 25px; }

/* ─── ABOUT HERO BANNER ─── */
.about-hero {
    position: relative; width: 100%; height: 60vh; min-height: 500px;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%;
}

.about-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(19, 93, 110, 0.85), rgba(19, 201, 167, 0.7)); z-index: 1; }
.about-hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; margin-top: 40px;}

.about-hero .hero-subtitle {
    display: inline-block; padding: 8px 20px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px);
    border-radius: 50px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.about-hero .hero-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.about-hero .hero-title span { color: #d1f2eb; }

/* Quick Trust Strip inside Hero */
.hero-trust-strip {
    position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px); border-top: 1px solid rgba(255,255,255,0.2);
    display: flex; justify-content: center; gap: 40px; padding: 20px 5%; z-index: 3;
}
.trust-item { color: #fff; font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.trust-item i { color: #d1f2eb; font-size: 18px; }

/* ─── STORY SECTION ENHANCEMENTS ─── */
.story-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1300px; margin: 0 auto; }
.story-image-wrap { position: relative; }
.story-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); object-fit: cover; height: 550px;}

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { padding: 25px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); }
.mv-icon { width: 45px; height: 45px; background: rgba(19, 201, 167, 0.1); color: var(--brand-green); display: flex; justify-content: center; align-items: center; border-radius: 10px; font-size: 20px; margin-bottom: 15px; }
.mv-card h4 { color: var(--brand-dark); margin-bottom: 10px; font-size: 18px; }
.mv-card p { color: #6c7a89; font-size: 13px; line-height: 1.6; }

.ceo-message-box {
    position: absolute; bottom: -40px; left: -40px; background: rgba(255,255,255,0.95);
    padding: 30px; border-radius: 20px; max-width: 350px; box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--brand-green); z-index: 5;
}
.quote-icon { font-size: 30px; color: rgba(19, 201, 167, 0.3); margin-bottom: 10px; }
.ceo-message-box p { font-style: italic; font-size: 14px; color: var(--text-dark); margin-bottom: 15px; line-height: 1.6; }
.ceo-signature strong { display: block; color: var(--brand-dark); font-size: 16px; }
.ceo-signature span { font-size: 12px; color: var(--brand-green); font-weight: 600; }

/* ─── ANIMATED MILESTONE TIMELINE ─── */
.timeline { 
    position: relative; 
    max-width: 900px; 
    margin: 0 auto; 
    padding-left: 50px; 
}

/* Faded Background Line */
.timeline::before { 
    content: ''; 
    position: absolute; left: 9px; top: 0; 
    width: 4px; height: 100%; 
    background: rgba(19, 201, 167, 0.2); 
    border-radius: 5px; 
}

/* Scroll-Animated Green Line */
.timeline-line {
    position: absolute; left: 9px; top: 0;
    width: 4px; height: 0%; /* JS will control this */
    background: var(--brand-green); 
    border-radius: 5px;
    transition: height 0.3s ease-out;
    z-index: 1;
}

/* Timeline Items Hide Initially */
.timeline-item { 
    position: relative; margin-bottom: 50px; 
    opacity: 0; transform: translateY(30px); 
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}
.timeline-item.active { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { margin-bottom: 0; }

/* Timeline Dot animations */
.timeline-dot { 
    position: absolute; left: -50px; top: 20px; 
    width: 22px; height: 22px; 
    background: #fff; border-radius: 50%; 
    border: 4px solid var(--brand-green); 
    box-shadow: 0 0 0 4px rgba(19, 201, 167, 0.2); 
    z-index: 2; 
    transition: all 0.4s ease;
    transform: scale(0); /* Hide initially */
}
/* Pop in and start pulsing when active */
.timeline-item.active .timeline-dot {
    transform: scale(1);
    animation: pulse-dot 2s infinite 1s; 
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(19, 201, 167, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(19, 201, 167, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 201, 167, 0); }
}

/* Timeline Content Box Hover Effects */
.timeline-content { 
    padding: 30px; border-radius: 16px; 
    border: 1px solid rgba(0,0,0,0.05); 
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
}
.timeline-content::before {
    content: ''; position: absolute; left: -10px; top: 25px;
    border-style: solid; border-width: 10px 10px 10px 0;
    border-color: transparent rgba(255,255,255,0.9) transparent transparent;
}

/* Magnetic Hover Interaction */
.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-green);
}
.timeline-item:hover .timeline-dot {
    background: var(--brand-green);
    border-color: #fff;
    transform: scale(1.3);
    animation: none; /* Stop pulsing on hover so scale stays fixed */
    box-shadow: 0 0 15px rgba(19, 201, 167, 0.8);
}

.timeline-year { 
    display: inline-block; background: var(--brand-dark); color: #fff; 
    padding: 6px 16px; border-radius: 20px; font-size: 14px; 
    font-weight: 700; margin-bottom: 15px; letter-spacing: 1px; box-shadow: var(--shadow-sm); 
}
.timeline-content h3 { color: var(--brand-dark); font-size: 22px; margin-bottom: 10px; }
.timeline-content p { color: #6c7a89; font-size: 15px; line-height: 1.6; }

/* Timeline Mobile Optimization */
@media(max-width: 768px) {
    .timeline { padding-left: 30px; }
    .timeline::before, .timeline-line { left: 9px; }
    .timeline-dot { left: -29px; width: 18px; height: 18px; }
    .timeline-content::before { display: none; }
}

/* ─── NEW: INFRASTRUCTURE GRID ─── */
.infra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.infra-card { position: relative; border-radius: 20px; overflow: hidden; height: 350px; cursor: pointer; }
.infra-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.infra-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(19, 93, 110, 0.9) 0%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; transition: 0.4s;
}
.infra-card:hover img { transform: scale(1.1); }
.infra-overlay h4 { color: #fff; font-size: 22px; margin-bottom: 5px; transform: translateY(20px); transition: 0.4s; }
.infra-overlay p { color: rgba(255,255,255,0.8); font-size: 14px; opacity: 0; transform: translateY(20px); transition: 0.4s; }
.infra-card:hover .infra-overlay h4, .infra-card:hover .infra-overlay p { transform: translateY(0); opacity: 1; }

/* ─── CORE VALUES GRID ─── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.value-card { padding: 40px 30px; border-radius: 20px; text-align: center; transition: transform 0.4s ease; border: 1px solid rgba(0,0,0,0.03); }
.value-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--brand-green); }
.value-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: var(--gradient-primary); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 10px 20px rgba(19, 201, 167, 0.3); transition: 0.4s; }
.value-card:hover .value-icon { transform: rotateY(180deg); }
.value-card h3 { color: var(--brand-dark); font-size: 20px; margin-bottom: 15px; }
.value-card p { color: #6c7a89; font-size: 14px; line-height: 1.6; }

/* ─── RESPONSIVE FOR ABOUT PAGE ─── */
@media(max-width: 991px) {
    .story-container { grid-template-columns: 1fr; }
    .ceo-message-box { left: 50%; transform: translateX(-50%); bottom: -80px; width: 90%; max-width: 500px; }
    .hero-trust-strip { flex-direction: column; gap: 15px; align-items: center; }
}
@media(max-width: 768px) {
    .about-hero { height: auto; padding: 120px 5% 60px; }
    .timeline { padding-left: 20px; }
    .timeline-dot { left: -29px; }
}
/* ==========================================================================
   9. SPECIALITIES PAGE SPECIFIC STYLES
   ========================================================================== */

/* ─── HERO SECTION ─── */
.spec-hero {
    position: relative; width: 100%; height: 55vh; min-height: 400px;
    background: url('https://images.unsplash.com/photo-1551076805-e18690c5e561?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%;
}

.spec-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(19, 93, 110, 0.9), rgba(19, 201, 167, 0.75)); z-index: 1; }
.spec-hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; margin-top: 40px;}

.spec-hero .hero-subtitle {
    display: inline-block; padding: 8px 20px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px);
    border-radius: 50px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.spec-hero .hero-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.spec-hero .hero-title span { color: #d1f2eb; }

/* ─── GRID SECTION WITH GLOWING ORBS ─── */
.spec-grid-section { position: relative; background: #ffffff; overflow: hidden; }

/* Background Glow Effects */
.bg-glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; opacity: 0.5; animation: floatOrb 10s infinite alternate; }
.orb-1 { width: 400px; height: 400px; background: rgba(19, 201, 167, 0.15); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(19, 93, 110, 0.1); bottom: -150px; right: -150px; animation-delay: -5s; }
@keyframes floatOrb { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(50px) scale(1.1); } }

/* Department Grid Layout */
.spec-full-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; position: relative; z-index: 2; }

/* Enhanced Detail Card */
.spec-detail-card {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-green);
    border-radius: 16px; padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex; flex-direction: column;
}

.spec-detail-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); background: #ffffff; }

.spec-icon-wrap {
    width: 65px; height: 65px; border-radius: 14px;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; margin-bottom: 25px; transition: 0.4s;
    box-shadow: 0 8px 20px rgba(19, 201, 167, 0.3);
}
.spec-detail-card:hover .spec-icon-wrap { transform: rotateY(180deg) scale(1.05); }

.spec-detail-card h3 { color: var(--brand-dark); font-size: 22px; margin-bottom: 15px; }
.spec-detail-card p { font-size: 14.5px; margin-bottom: 20px; flex-grow: 1; }

.spec-features { list-style: none; margin-bottom: 25px; padding: 0; }
.spec-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #555; margin-bottom: 10px; }
.spec-features i { color: var(--brand-green); margin-top: 3px; font-size: 12px;}

.spec-btn {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--brand-green); font-weight: 700; text-decoration: none;
    font-size: 15px; transition: 0.3s; margin-top: auto;
}
.spec-btn:hover { color: var(--brand-dark); gap: 12px; }

/* ─── FEATURED SPECIALITY SECTION ─── */
.featured-spec-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; max-width: 1200px; margin: 0 auto;
}

.fs-image { position: relative; }
.fs-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }

.fs-floating-badge {
    position: absolute; bottom: 30px; right: -30px;
    background: #ffffff; padding: 15px 25px; border-radius: 12px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
    font-weight: 700; color: var(--brand-dark); border-left: 4px solid var(--brand-green);
}
.fs-floating-badge i { color: #e74c3c; font-size: 24px; }

.fs-content h3 { font-size: 28px; color: var(--brand-dark); margin-bottom: 20px; }
.fs-metrics { display: flex; gap: 30px; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(0,0,0,0.1); }
.fs-metric-box h4 { font-size: 36px; color: var(--brand-green); display: inline-block; margin-bottom: 5px; }
.fs-metric-box span { font-size: 16px; color: var(--brand-dark); font-weight: 700; margin-left: 5px; }
.fs-metric-box p { font-size: 13px; color: #7f8c8d; text-transform: uppercase; letter-spacing: 1px; }

/* ─── CALL TO ACTION BANNER ─── */
.cta-banner {
    background: var(--gradient-primary); padding: 80px 5%;
    text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23fff"/></svg>') center/400px repeat;
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 36px; margin-bottom: 15px; }
.cta-content p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.btn-outline {
    border: 2px solid #fff; color: #fff; padding: 10px 24px;
    border-radius: 50px; font-weight: 600; text-decoration: none; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* ─── RESPONSIVE RULES ─── */
@media(max-width: 991px) {
    .featured-spec-container { grid-template-columns: 1fr; }
    .fs-floating-badge { right: 20px; bottom: -20px; }
}

@media(max-width: 768px) {
    .spec-hero { height: auto; padding: 120px 5% 60px; }
    .spec-full-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
}
/* ==========================================================================
   11. NEW SECTIONS (PACKAGES, INSURANCE, FAQ)
   ========================================================================== */

/* ─── HEALTH PACKAGES ─── */
.health-pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; align-items: center; }
.pkg-card { padding: 40px 30px; border-radius: 20px; background: #fff; border: 1px solid rgba(0,0,0,0.05); text-align: center; transition: 0.4s; position: relative; }
.pkg-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--brand-green); }

.premium-pkg { background: var(--gradient-primary); color: #fff; transform: scale(1.05); border: none; box-shadow: 0 15px 35px rgba(19, 93, 110, 0.2); }
.premium-pkg:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 20px 40px rgba(19, 93, 110, 0.3); }

.pkg-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #e74c3c; color: #fff; padding: 5px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.pkg-header h3 { font-size: 24px; margin-bottom: 10px; color: inherit; }
.pkg-card:not(.premium-pkg) .pkg-header h3 { color: var(--brand-dark); }
.pkg-price { font-size: 40px; font-weight: 800; margin-bottom: 10px; color: inherit; }
.pkg-card:not(.premium-pkg) .pkg-price { color: var(--brand-green); }
.pkg-header p { font-size: 14px; opacity: 0.8; margin-bottom: 30px; }

.pkg-features { list-style: none; padding: 0; margin-bottom: 35px; text-align: left; }
.pkg-features li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 14.5px; display: flex; align-items: flex-start; gap: 10px; }
.premium-pkg .pkg-features li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.pkg-features li i { color: var(--brand-green); margin-top: 4px; }
.premium-pkg .pkg-features li i { color: #d1f2eb; }

.btn-outline-green { display: block; border: 2px solid var(--brand-green); color: var(--brand-green); padding: 12px 24px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn-outline-green:hover { background: var(--brand-green); color: #fff; }

/* ─── INSURANCE GRID ─── */
.insurance-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1000px; margin: 0 auto; }
.ins-box { padding: 15px 25px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.05); font-weight: 600; color: #7f8c8d; font-size: 16px; display: flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: var(--shadow-sm); cursor: default; }
.ins-box i { font-size: 20px; color: var(--brand-dark); transition: 0.3s; }
.ins-box:hover { color: var(--brand-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(19, 201, 167, 0.3); }
.ins-box:hover i { color: var(--brand-green); }

/* ─── FAQ ACCORDIONS ─── */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-box { margin-bottom: 15px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); overflow: hidden; transition: 0.3s; }
.faq-box[open] { border-left: 4px solid var(--brand-green); box-shadow: var(--shadow-md); }

.faq-box summary { padding: 20px 25px; font-weight: 600; font-size: 16px; color: var(--brand-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--brand-green); transition: transform 0.3s ease; }
.faq-box[open] summary::after { transform: rotate(180deg); }

.faq-content { padding: 0 25px 25px; color: #6c7a89; font-size: 15px; line-height: 1.7; border-top: 1px solid rgba(0,0,0,0.03); margin-top: 10px; padding-top: 20px; }

/* ─── RESPONSIVE ─── */
@media(max-width: 991px) {
    .premium-pkg { transform: scale(1); }
    .premium-pkg:hover { transform: translateY(-5px) scale(1); }
}
@media(max-width: 768px) {
    .faq-box summary { font-size: 14.5px; padding: 15px 20px; }
    .ins-box { flex-basis: calc(50% - 10px); justify-content: center; font-size: 14px; }
}
/* ==========================================================================
   10. COMPACT 25+ SPECIALITIES GRID PAGE
   ========================================================================== */
.compact-spec-section {
    background: var(--bg-light);
    position: relative;
    padding-top: 50px;
}

/* Specialities Search Bar */
.spec-filter-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 5;
}
.spec-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px 25px;
    border: 1px solid rgba(0,0,0,0.05);
}
.spec-search-box i {
    color: var(--brand-green);
    font-size: 18px;
    margin-right: 15px;
}
.spec-search-box input {
    border: none;
    outline: none;
    padding: 15px 0;
    width: 100%;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--text-dark);
    background: transparent;
}

/* Compact Grid Layout */
.compact-coe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.compact-coe-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.compact-coe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(19, 201, 167, 0.3);
}

.compact-icon {
    width: 60px;
    height: 60px;
    background: rgba(19, 201, 167, 0.1);
    color: var(--brand-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.compact-coe-card:hover .compact-icon {
    background: var(--brand-green);
    color: #ffffff;
    transform: scale(1.1);
}

.compact-coe-card h3 {
    font-size: 15px;
    color: var(--brand-dark);
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s;
}

.compact-coe-card:hover h3 {
    color: var(--brand-green);
}

/* Responsive Rules for Compact Grid */
@media(max-width: 768px) {
    .compact-coe-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
        gap: 15px;
    }
    .compact-coe-card {
        padding: 20px 10px;
    }
    .compact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .compact-coe-card h3 {
        font-size: 13px;
    }
    .spec-filter-wrapper {
        margin-bottom: 30px;
    }
    .spec-search-box input {
        font-size: 14px;
    }
}
@media(max-width: 480px) {
}
/* ==========================================================================
   FUTURISTIC DOCTOR PORTAL LAYOUT
   ========================================================================== */
.doc-portal-hero {
    position: relative; width: 100%; height: 45vh; min-height: 350px;
    background: url('https://images.unsplash.com/photo-1631553127988-34858564f9bf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 5%;
}
.portal-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(19, 93, 110, 0.95), rgba(44, 62, 80, 0.8)); z-index: 1; }
.portal-hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; margin-top: 40px; }

/* Filter Panel Styling */
.filter-deck-section { background: var(--bg-light); padding: 0 5%; position: relative; z-index: 10; margin-top: -40px; }
.filter-glass-panel {
    max-width: 1200px; margin: 0 auto; padding: 30px; border-radius: 24px;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 25px;
    border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.9);
}
.filter-control { display: flex; flex-direction: column; gap: 8px; }
.filter-control label { font-size: 13px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.filter-control select, .search-field-wrapper input {
    width: 100%; padding: 14px 20px; font-size: 14.5px; border-radius: 50px;
    border: 1px solid rgba(19, 93, 110, 0.15); background: #fff; outline: none;
    font-family: inherit; color: var(--text-dark); transition: all 0.3s;
}
.filter-control select:focus, .search-field-wrapper input:focus { border-color: var(--brand-green); box-shadow: 0 0 10px rgba(19, 201, 167, 0.2); }

.search-field-wrapper { position: relative; }
.search-inline-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--brand-teal); font-size: 16px; }

/* Active Counter Strip */
.results-counter-strip { max-width: 1200px; margin: 30px auto 0; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--brand-dark); }
#activeCountLabel { color: var(--brand-green); font-weight: 800; font-size: 16px; }

/* Holographic Matrix Grid */
.doctor-matrix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; min-height: 200px; padding-top: 20px;}

/* Futuristic Card Item */
.cyber-doc-card {
    background: #ffffff; border-radius: 20px; border: 1px solid rgba(0,0,0,0.04);
    padding: 25px; display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-sm);
}
.cyber-doc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(19, 201, 167, 0.3); }

/* Glowing Live Status Indicator */
.card-status-pulse {
    position: absolute; top: 15px; right: 15px; background: rgba(19, 201, 167, 0.15);
    color: var(--brand-green); font-size: 10px; font-weight: 700; padding: 4px 12px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px;
}

.avatar-wrapper { position: relative; margin: 15px 0 20px; }
.cyber-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; z-index: 2;}
.avatar-glow-ring { position: absolute; inset: -4px; border: 2px dashed var(--brand-green); border-radius: 50%; animation: rotateRing 15s linear infinite; z-index: 1;}
@keyframes rotateRing { 100% { transform: rotate(360deg); } }

.profile-details h3 { font-size: 19px; color: var(--brand-dark); font-weight: 700; margin-bottom: 4px; }
.profile-details .doc-degree { font-size: 12px; color: #7f8c8d; font-weight: 500; text-transform: uppercase; }
.profile-details .doc-spec-tag { display: inline-block; background: var(--bg-light); color: var(--brand-dark); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin: 12px 0 6px; text-transform: capitalize; }
.profile-details .doc-loc { font-size: 13px; color: #7f8c8d; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Card Interactive Buttons */
.card-action-block { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.04); }
.btn-card-secondary { background: var(--bg-light); color: var(--brand-dark); text-decoration: none; padding: 10px; border-radius: 50px; font-size: 12.5px; font-weight: 600; transition: 0.3s; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center;}
.btn-card-secondary:hover { background: var(--brand-dark); color: #fff; }
.btn-card-primary { background: var(--gradient-primary); color: #fff; text-decoration: none; padding: 10px; border-radius: 50px; font-size: 12.5px; font-weight: 600; transition: 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 10px rgba(19, 201, 167, 0.2); }
.btn-card-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(19, 201, 167, 0.3); }

/* Responsive Grid Rules */
@media(max-width: 991px) {
    .filter-glass-panel { grid-template-columns: 1fr; gap: 15px; padding: 20px; }
}
@media(max-width: 768px) {
    .doctor-matrix-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .cyber-doc-card { padding: 15px; }
    .card-action-block { grid-template-columns: 1fr; }
    .card-status-pulse { display: none; }
}
/* ==========================================================================
   VIEW MORE PAGINATION BUTTON
   ========================================================================== */
.view-more-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
}
.view-more-container .btn-primary {
    padding: 14px 40px;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.view-more-container .btn-primary i {
    transition: transform 0.3s;
}
.view-more-container .btn-primary:hover i {
    transform: translateY(3px); /* Bounces the arrow down on hover */
}
/* ==========================================================================
   14. DEDICATED CLINICAL DOCTOR PROFILE ARCHITECTURE
   ========================================================================== */
.profile-layout-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

/* Sidebar Profile Block Card Layout */
.profile-sidebar-card {
    background: #ffffff; border-radius: 24px; padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative;
}
.verified-badge {
    position: absolute; top: 20px; left: 20px; font-size: 11px; font-weight: 700;
    color: var(--brand-green); background: rgba(19, 201, 167, 0.12); padding: 5px 14px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px;
}

.profile-avatar-block { position: relative; margin: 20px 0; }
.profile-master-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); position: relative; z-index: 2;}

.profile-meta-header h2 { font-size: 24px; color: var(--brand-dark); font-weight: 700; margin-bottom: 6px; }
.meta-deg { font-size: 13px; color: #7f8c8d; font-weight: 600; }
.meta-faculty-tag { display: inline-block; background: var(--bg-light); color: var(--text-dark); font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 50px; margin-top: 15px; }

/* Sidebar Numeric Stat Strip */
.meta-stats-strip {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%;
    margin: 25px 0; padding: 15px 0; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.meta-stat-box strong { font-size: 22px; color: var(--brand-green); font-weight: 800; display: block; }
.meta-stat-box p { font-size: 12px; color: #7f8c8d; font-weight: 600; text-transform: uppercase; }

.meta-list-info { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-dark); }
.info-row i { color: var(--brand-dark); margin-top: 3px; font-size: 16px; }

.appointment-cta-btn { width: 100%; padding: 14px; border-radius: 50px; font-size: 14px; text-align: center; font-weight: 700; }

/* Main Right Content Section Blocks */
.profile-main-content { display: flex; flex-direction: column; gap: 30px; }
.content-block-card { background: #ffffff; padding: 35px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.03); }
.block-title { font-size: 20px; color: var(--brand-dark); font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.block-title i { color: var(--brand-green); }

/* Expertise Faculty Tag cloud */
.expertise-tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.expertise-tag { background: rgba(19, 93, 110, 0.05); color: var(--brand-dark); border: 1px solid rgba(19, 93, 110, 0.08); font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 50px; transition: all 0.3s; }
.expertise-tag:hover { background: var(--brand-green); color: #fff; border-color: var(--brand-green); transform: scale(1.03); }

/* OPD Matrix Table Grid */
.schedule-table-wrapper { width: 100%; overflow-x: auto; border-radius: 12px; border: 1px solid rgba(0,0,0,0.06); }
.opd-schedule-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; }
.opd-schedule-table th { background: var(--bg-light); color: var(--brand-dark); font-weight: 700; padding: 14px 20px; border-bottom: 2px solid rgba(0,0,0,0.05); }
.opd-schedule-table td { padding: 14px 20px; border-bottom: 1px solid rgba(0,0,0,0.04); color: var(--text-dark); }
.opd-schedule-table tr:last-child td { border-bottom: none; }

/* Academic Progression Timeline */
.academic-timeline { list-style: none; position: relative; padding-left: 20px; }
.academic-timeline::before { content: ''; position: absolute; left: 0; top: 5px; width: 2px; height: 90%; background: rgba(19, 201, 167, 0.25); }
.academic-timeline li { position: relative; margin-bottom: 20px; }
.academic-timeline li::before { content: ''; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-green); border: 2px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,0.1); }
.academic-timeline li:last-child { margin-bottom: 0; }
.academic-timeline li strong { color: var(--brand-dark); font-size: 15px; }
.academic-timeline li p { font-size: 13.5px; color: #7f8c8d; margin-top: 2px; }

/* Responsive Adaptability Breaks */
@media(max-width: 1024px) {
    .profile-layout-container { grid-template-columns: 1fr; gap: 30px; }
    .profile-sidebar-card { width: 100%; max-width: none; }
}
@media(max-width: 576px) {
    .content-block-card { padding: 25px 20px; }
    .opd-schedule-table th, .opd-schedule-table td { padding: 12px 15px; font-size: 13px; }
}
/* ==========================================================================
   15. INDIVIDUAL DEPARTMENT PAGES (PREMIUM ALIGNED)
   ========================================================================== */

/* Department Premium Hero Layout */
.dept-premium-hero {
    position: relative; width: 100%; height: 50vh; min-height: 450px;
    background: url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%;
}

.dept-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(19, 93, 110, 0.9), rgba(19, 201, 167, 0.6)); z-index: 1; }
.dept-hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; margin-top: 30px; }

.dept-hero-content .hero-subtitle { 
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; 
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); 
    border-radius: 50px; font-size: 14px; font-weight: 600; text-transform: uppercase; 
    letter-spacing: 2px; margin-bottom: 20px; 
}

.dept-hero-content .hero-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.dept-hero-content .hero-title span { color: #d1f2eb; }
.dept-hero-content p { font-size: 16px; opacity: 0.9; line-height: 1.6; max-width: 700px; margin: 0 auto; }

/* Overlapping Statistics Bar */
.dept-overlap-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: 1100px; margin: -50px auto 0; position: relative; z-index: 10;
    border-radius: 20px; padding: 30px; text-align: center;
    border-top: 4px solid var(--brand-green);
}

.stat-block { border-right: 1px solid rgba(0,0,0,0.1); }
.stat-block:last-child { border-right: none; }
.stat-block h3 { font-size: 32px; color: var(--brand-green); font-weight: 800; margin-bottom: 5px; }
.stat-block p { font-size: 13px; color: var(--brand-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}

/* Reusable Outline Button */
.btn-outline-green {
    display: inline-block; border: 2px solid var(--brand-green); color: var(--brand-green);
    padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: 0.3s;
}
.btn-outline-green:hover { background: var(--brand-green); color: #fff; }

/* Responsive adjustments for Dept Pages */
@media(max-width: 991px) {
    .dept-overlap-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 20px; width: 90%; margin-top: -30px;}
    .stat-block:nth-child(2) { border-right: none; }
    .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 20px; }
}

@media(max-width: 576px) {
    .dept-premium-hero { height: auto; padding: 120px 5% 80px; }
    .dept-overlap-stats { grid-template-columns: 1fr; gap: 15px; }
    .stat-block { border-right: none !important; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 15px; }
    .stat-block:last-child { border-bottom: none; padding-bottom: 0; }
}