*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; cursor: none; }
    body {
      font-family: 'Inter', sans-serif; color: #1a2340; background: #fafcfe;
      overflow-x: hidden; position: relative;
    }

    /* ═══════════════ LIVING AMBIENT BACKDROP SYSTEM ═══════════════ */
    .ambient-backdrop {
      position: fixed; inset: 0;
      pointer-events: none; z-index: -1;
      overflow: hidden; background: #fafcfe;
    }

    /* Multi-Orb Aurora Mesh */
    .ambient-orb {
      position: absolute; border-radius: 50%;
      filter: blur(65px); pointer-events: none;
      will-change: transform, opacity;
    }
    .orb-1 {
      top: -12%; left: -10%;
      width: 58vw; height: 58vw; max-width: 780px; max-height: 780px;
      background: radial-gradient(circle, rgba(0, 180, 216, 0.16) 0%, rgba(10, 110, 180, 0.05) 55%, rgba(0, 180, 216, 0) 75%);
      animation: floatOrb1 24s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    }
    .orb-2 {
      top: 25%; right: -12%;
      width: 54vw; height: 54vw; max-width: 720px; max-height: 720px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, rgba(0, 180, 216, 0.04) 50%, rgba(10, 110, 180, 0) 75%);
      animation: floatOrb2 30s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    }
    .orb-3 {
      bottom: -15%; left: 18%;
      width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
      background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, rgba(6, 182, 212, 0.04) 50%, rgba(16, 185, 129, 0) 75%);
      animation: floatOrb3 28s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    }
    .orb-4 {
      top: 55%; left: -8%;
      width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
      background: radial-gradient(circle, rgba(255, 209, 102, 0.12) 0%, rgba(245, 158, 11, 0.03) 50%, rgba(255, 209, 102, 0) 75%);
      animation: floatOrb4 34s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    }

    @keyframes floatOrb1 {
      0% { transform: translate(0, 0) scale(1) rotate(0deg); }
      50% { transform: translate(75px, 45px) scale(1.12) rotate(45deg); }
      100% { transform: translate(-45px, 85px) scale(0.92) rotate(90deg); }
    }
    @keyframes floatOrb2 {
      0% { transform: translate(0, 0) scale(1) rotate(0deg); }
      50% { transform: translate(-85px, -55px) scale(1.14) rotate(-60deg); }
      100% { transform: translate(55px, -35px) scale(0.9) rotate(-120deg); }
    }
    @keyframes floatOrb3 {
      0% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(75px, -65px) scale(1.15); }
      100% { transform: translate(-55px, 35px) scale(0.88); }
    }
    @keyframes floatOrb4 {
      0% { transform: translate(0, 0) scale(1) rotate(0deg); }
      50% { transform: translate(55px, -75px) scale(1.1) rotate(30deg); }
      100% { transform: translate(-35px, -45px) scale(0.95) rotate(-40deg); }
    }

    /* Living Medical Micro-Texture Grid */
    .ambient-mesh-grid {
      position: absolute; inset: 0;
      background-image: 
        radial-gradient(circle at 1px 1px, rgba(10, 110, 180, 0.065) 1.2px, transparent 0),
        url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 24h2v3h3v2h-3v3h-2v-3h-3v-2h3v-3z' fill='%230a6eb4' fill-opacity='0.04'/%3E%3C/svg%3E");
      background-size: 32px 32px, 56px 56px;
      background-position: 0 0, 0 0;
      animation: gridDrift 70s linear infinite, gridBreathe 9s ease-in-out infinite alternate;
      pointer-events: none;
    }
    @keyframes gridDrift {
      0% { background-position: 0 0, 0 0; }
      100% { background-position: 96px 96px, 168px 168px; }
    }
    @keyframes gridBreathe {
      0% { opacity: 0.65; }
      100% { opacity: 0.95; }
    }

    /* Interactive HTML5 Canvas Living Layer */
    .ambient-canvas {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      pointer-events: none;
    }

    @media (prefers-reduced-motion: reduce) {
      .ambient-orb, .ambient-mesh-grid { animation: none !important; }
    }

    a, button, select { cursor: none; }
    
    /* CUSTOM CURSOR */
    .custom-cursor, .cursor-trail {
      position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999999;
    }
    .cursor-trail { transform: translate(-50%, -50%); }
    .custom-cursor { transform: translate(0, 0); }
    .custom-cursor {
      width: 24px; height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230a6eb4' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M4 3l7.07 16.97 2.51-7.39 7.39-2.51L4 3z'/%3E%3C/svg%3E");
      background-size: cover;
      transition: width 0.2s, height 0.2s;
    }
    .cursor-trail {
      width: 36px; height: 36px;
      background: rgba(10, 110, 180, 0.2);
      border-radius: 50%;
      transition: width 0.2s, height 0.2s, background 0.2s;
    }
    .custom-cursor.hover { width: 26px; height: 26px; }
    .cursor-trail.hover { width: 50px; height: 50px; background: rgba(10, 110, 180, 0.35); }
    
    @media (hover: none) and (pointer: coarse), (max-width: 768px) {
      * { cursor: auto !important; }
      html, a, button, select { cursor: auto !important; }
      .custom-cursor, .cursor-trail { display: none !important; }
    }
    img { max-width: 100%; display: block; }
    svg { display: inline-block; flex-shrink: 0; }

    :root {
      --primary: #0a6eb4;
      --primary-dark: #084f82;
      --accent: #00b4d8;
      --light-bg: #f0f7ff;
      --text: #1a2340;
      --muted: #5a6a85;
      --white: #ffffff;
      --border: #d9e8f5;
      --emergency: #e63946;
    }

    /* TOP BAR */
    .topbar { background: var(--primary-dark); color: #1a2340; font-size: 0.82rem; padding: 7px 0; }
    .topbar .inner { max-width: 1250px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
    .topbar .item { display: flex; align-items: center; gap: 7px; }
    .topbar .item svg { opacity: 0.85; }
    .topbar .emergency { color: #ffd166; font-weight: 700; font-size: 0.88rem; }
    .topbar a { color: #ffd166; }

    /* NAVBAR */
    .navbar { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217, 232, 245, 0.8); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(10,110,180,0.06); }
    .navbar .inner { max-width: 1250px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 75px; gap: 16px; }
    .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
    .logo-text .name { font-size: 1.05rem; font-weight: 800; color: var(--primary); line-height: 1.1; white-space: nowrap; }
    .logo-text .tagline { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
    .nav-links { display: flex; align-items: center; gap: 6px; list-style: none; flex-shrink: 0; }
    .nav-links a {
      padding: 9px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600;
      color: var(--text); position: relative; white-space: nowrap;
      display: inline-flex; align-items: center; justify-content: center;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .nav-links a:hover {
      background: var(--light-bg); color: var(--primary);
      transform: translateY(-1px);
    }
    .nav-links a.active {
      background: linear-gradient(135deg, rgba(10,110,180,0.12), rgba(0,180,216,0.12));
      color: var(--primary); font-weight: 700;
      box-shadow: inset 0 0 0 1px rgba(10,110,180,0.2);
    }
    .nav-cta {
      background: linear-gradient(135deg, var(--emergency) 0%, #c1121f 100%);
      color: #1a2340; padding: 10px 22px; border-radius: 9px; font-weight: 700;
      font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 4px 14px rgba(230,57,70,0.3);
      white-space: nowrap; position: relative; overflow: hidden;
    }
    .nav-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(230,57,70,0.45); color: #1a2340;
    }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }

    /* PAGE FADE & SLIDE ENTER TRANSITION */
    .page { display: none; opacity: 0; }
    .page.active {
      display: block; opacity: 1;
      animation: pageEnter 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes pageEnter {
      0% { opacity: 0; transform: translateY(18px) scale(0.995); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* HERO */
    .hero {
      color: #1a2340;
      background: linear-gradient(135deg, rgba(8,79,130,0.85) 0%, rgba(10,110,180,0.88) 50%, rgba(0,180,216,0.82) 100%), url('images/hero_bg.png') center/cover no-repeat;
      background-size: 200% 200%, cover;
      animation: heroGradient 16s ease infinite alternate;
      color: #1a2340; padding: 120px 24px 110px; text-align: center; position: relative; overflow: hidden;
    }
    @keyframes heroGradient {
      0% { background-position: 0% 50%, center; }
      100% { background-position: 100% 50%, center; }
    }
    .hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
    .hero .inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
    .hero .badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); backdrop-filter: blur(4px); }
    .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
    .hero h1 span { color: #ffd166; }
    .hero p { font-size: 1.05rem; opacity: 0.9; max-width: 580px; margin: 0 auto 32px; line-height: 1.7; }
    .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-primary {
      background: #fff; color: var(--primary); padding: 13px 28px; border-radius: 9px;
      font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 6px 20px rgba(0,0,0,0.12); position: relative; overflow: hidden;
    }
    .btn-primary:hover {
      background: #ffd166; color: var(--primary-dark);
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    }
    .btn-outline {
      border: 2px solid rgba(255,255,255,0.7); color: #1a2340; padding: 13px 28px;
      border-radius: 9px; font-weight: 600; font-size: 0.95rem;
      display: inline-flex; align-items: center; gap: 8px;
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      backdrop-filter: blur(4px);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.22); border-color: #1a2340;
      transform: translateY(-3px);
    }
    .hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.2); }
    .hero-stat { transition: transform 0.3s; }
    .hero-stat:hover { transform: translateY(-4px); }
    .hero-stat .num { font-size: 2.2rem; font-weight: 800; color: #ffd166; }
    .hero-stat .label { font-size: 0.8rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.05em; }

    /* SECTIONS */
    section { padding: 75px 24px; }
    .section-inner { max-width: 1200px; margin: 0 auto; }
    .section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
    .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 14px; }
    .section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 620px; }
    .divider { width: 52px; height: 4px; background: var(--accent); border-radius: 2px; margin: 16px 0; }

    /* ABOUT */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 50px; }
    .about-image { border-radius: 16px; overflow: hidden; position: relative; background: url('images/about_care.png') center/cover no-repeat; min-height: 480px; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px rgba(10,79,138,0.15); transition: transform 0.4s ease; }
    .about-image:hover { transform: scale(1.015); }
    .about-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,79,138,0.6), transparent 70%); }
    .about-image .img-placeholder { display: none; }
    .about-badge { position: absolute; bottom: 24px; right: 24px; background: #fff; border-radius: 12px; padding: 14px 20px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 2; transition: transform 0.3s; }
    .about-badge:hover { transform: scale(1.05); }
    .about-badge .num { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
    .about-badge .lbl { font-size: 0.72rem; color: var(--muted); }
    .about-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
    .about-features { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
    .about-features li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.93rem; transition: transform 0.2s; }
    .about-features li:hover { transform: translateX(4px); }
    .check-icon { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .btn-solid { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #1a2340; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; margin-top: 22px; transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1); box-shadow: 0 6px 18px rgba(10,110,180,0.25); }
    .btn-solid:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,110,180,0.35); }

    /* WHY CHOOSE US */
    .why-section { background: rgba(240, 247, 255, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px }
    .why-card {
      background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-radius: 16px; padding: 30px 26px;
      border: 1px solid rgba(217, 232, 245, 0.85);
      transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 4px 16px rgba(10,110,180,0.05);
    }
    .why-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(10,110,180,0.15);
      border-color: rgba(10,110,180,0.35);
      background: rgba(255, 255, 255, 0.96);
    }
    .why-icon {
      width: 52px; height: 52px; background: rgba(10, 110, 180, 0.09);
      border-radius: 14px; display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px; transition: transform 0.3s, background 0.3s;
    }
    .why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); background: var(--primary); }
    .why-card:hover .why-icon svg { stroke: #fff; }
    .why-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
    .why-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

    /* ANIMATIONS & SCROLL STAGGER */
    .fade-up {
      opacity: 0; transform: translateY(30px);
      transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    .delay-1 { transition-delay: 0.1s; }
    .delay-2 { transition-delay: 0.2s; }
    .delay-3 { transition-delay: 0.3s; }

    /* FACILITIES */
    .fac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
    .fac-card {
      background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(217, 232, 245, 0.85); border-radius: 12px; overflow: hidden; text-align: center;
      padding-bottom: 24px; transition: transform 0.3s, box-shadow 0.3s;
    }
    .fac-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(10,110,180,0.12); border-color: var(--primary-light); background: #fff; }
    .fac-img { width: 100%; height: 180px; background-size: cover; background-position: center; border-bottom: 3px solid var(--primary); }
    .fac-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--text); margin: 20px 16px 8px; text-transform: uppercase; }
    .fac-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0 16px; }
    .btn-appt-outline { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--primary); color: var(--primary); padding: 12px 24px; border-radius: 50px; font-weight: 700; margin: 40px auto 0; transition: all 0.2s; }
    .btn-appt-outline:hover { background: var(--primary); color: #1a2340; }

    /* INSURANCE */
    .ins-section { padding: 60px 24px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
    .ins-grid { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 40px; }
    .ins-logo { height: 60px; object-fit: contain; transition: transform 0.3s; }
    .ins-logo:hover { transform: scale(1.05); }

    /* MISSION VISION */
    .mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
    .mv-card { border-radius: 14px; padding: 36px 30px; color: #1a2340; position: relative; overflow: hidden; }
    .mv-card.mission { background: linear-gradient(135deg, var(--primary) 0%, #0884c7 100%); }
    .mv-card.vision { background: linear-gradient(135deg, #00a896 0%, var(--accent) 100%); }
    .mv-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
    .mv-card p { opacity: 0.9; line-height: 1.75; font-size: 0.95rem; }
    .mv-bg-icon { position: absolute; right: -16px; bottom: -16px; opacity: 0.07; }

    /* SERVICES */
    .services-hero { background: linear-gradient(135deg, #084f82 0%, var(--primary) 100%); color: #1a2340; padding: 60px 24px; text-align: center; }
    .services-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
    .services-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }
    .services-content { max-width: 1200px; margin: 0 auto; padding: 50px 24px; }
    .service-section { margin-bottom: 60px; }
    .service-section-title { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
    .service-section-title .s-icon { width: 40px; height: 40px; background: var(--light-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .service-section .sub { color: var(--muted); margin-bottom: 24px; font-size: 0.92rem; margin-left: 52px; }
    .facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
    .facility-card { background: var(--light-bg); border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center; transition: all 0.2s; cursor: default; }
    .facility-card:hover { background: var(--primary); color: #1a2340; border-color: var(--primary); }
    .facility-card:hover .fc-icon { background: rgba(255,255,255,0.15); }
    .facility-card:hover svg { stroke: #fff; }
    .fc-icon { width: 48px; height: 48px; background: rgba(10,110,180,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; transition: background 0.2s; }
    .facility-card p { font-size: 0.86rem; font-weight: 600; }

    /* DEPARTMENTS (Image Grid) */
    .dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 30px; }
    .dept-card { 
      position: relative; border-radius: 8px; overflow: hidden; height: 230px; 
      background-size: cover; background-position: center; transition: transform 0.3s;
    }
    .dept-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); z-index: 5; }
    .dept-card::before { 
      content: ''; position: absolute; inset: 0; 
      background: linear-gradient(to top, rgba(58, 64, 137, 0.95) 0%, rgba(58, 64, 137, 0.6) 30%, rgba(58, 64, 137, 0) 70%);
      transition: opacity 0.3s;
    }
    .dept-card:hover::before { opacity: 0.8; }
    .dept-card .dept-name {
      position: absolute; bottom: 18px; right: 18px; left: 18px;
      color: #ffffff; font-weight: 700; font-size: 0.95rem; line-height: 1.3;
      text-align: right; z-index: 2;
    }

    .preventive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .preventive-card { background: linear-gradient(135deg, #e8f4fd, #ddf2f8); border-radius: 12px; padding: 24px; border-left: 4px solid var(--primary); }
    .preventive-card .pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .preventive-card h4 { font-weight: 700; color: var(--primary); font-size: 0.97rem; }
    .preventive-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }
    .emergency-banner { background: linear-gradient(135deg, var(--emergency) 0%, #c1121f 100%); border-radius: 14px; padding: 32px; color: #1a2340; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .emergency-banner h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
    .emergency-banner p { opacity: 0.9; font-size: 0.9rem; }
    .btn-emergency { background: #fff; color: var(--emergency); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
    .btn-emergency:hover { background: #fff0f0; }

    /* CAREERS */
    .careers-hero { background: linear-gradient(135deg, #0a3d62 0%, var(--primary) 100%); color: #1a2340; padding: 60px 24px; text-align: center; }
    .careers-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
    .careers-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.7; }
    .careers-content { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
    .careers-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
    .openings-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; color: var(--text); }
    .job-card {
      background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(217, 232, 245, 0.85); border-radius: 12px; padding: 18px 22px;
      margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: all 0.2s;
    }
    .job-card:hover { border-color: var(--primary); background: #fff; box-shadow: 0 6px 20px rgba(10,110,180,0.12); transform: translateY(-2px); }
    .job-card-left { display: flex; align-items: center; gap: 14px; }
    .job-card-icon { width: 40px; height: 40px; background: var(--light-bg); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .job-info h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
    .job-info p { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
    .job-badge { background: var(--light-bg); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--border); }
    .why-join-card {
      background: rgba(240, 247, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(217, 232, 245, 0.9); border-radius: 14px; padding: 28px; position: sticky; top: 100px;
    }
    .why-join-card h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 18px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
    .why-join-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .why-join-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; line-height: 1.5; }
    .wj-dot { width: 20px; height: 20px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
    .apply-box { background: linear-gradient(135deg, var(--primary) 0%, #0884c7 100%); border-radius: 14px; padding: 28px; margin-top: 20px; color: #1a2340; text-align: center; }
    .apply-box h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .apply-box p { font-size: 0.82rem; opacity: 0.9; margin-bottom: 16px; line-height: 1.6; }
    .btn-apply-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; }
    .btn-apply-white:hover { background: #ffd166; }

    /* CONTACT */
    .contact-hero { background: linear-gradient(135deg, #084f82 0%, var(--accent) 100%); color: #1a2340; padding: 60px 24px; text-align: center; }
    .contact-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
    .contact-hero p { opacity: 0.9; max-width: 540px; margin: 0 auto; line-height: 1.7; }
    .contact-content { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
    .contact-info h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 28px; }
    .contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
    .contact-icon { width: 46px; height: 46px; background: var(--light-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .contact-item h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; }
    .contact-item p, .contact-item a { color: var(--text); font-size: 0.95rem; font-weight: 500; line-height: 1.6; }
    .contact-item a:hover { color: var(--primary); }
    .hours-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
    .hours-table td { padding: 11px 14px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
    .hours-table td:first-child { font-weight: 600; color: var(--text); }
    .hours-table td:last-child { color: var(--muted); text-align: right; }
    .hours-table tr:last-child td { border-bottom: none; }
    .badge-247 { display: inline-flex; align-items: center; gap: 5px; background: var(--emergency); color: #1a2340; padding: 3px 10px; border-radius: 4px; font-size: 0.74rem; font-weight: 700; }
    .contact-form-box {
      background: rgba(240, 247, 255, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      border-radius: 16px; padding: 36px; border: 1px solid rgba(217, 232, 245, 0.9);
      box-shadow: 0 8px 30px rgba(10,110,180,0.06);
    }
    .contact-form-box h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-group { margin-bottom: 16px; }
    .form-group label { font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; display: block; color: var(--text); }
    .form-group input, .form-group select, .form-group textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 14px; font-size: 0.9rem; font-family: inherit; background: #fff; color: var(--text); outline: none; transition: border 0.2s; }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .btn-submit { width: 100%; background: var(--primary); color: #1a2340; border: none; padding: 13px; border-radius: 8px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .btn-submit:hover { background: var(--primary-dark); }
    .map-box { margin-top: 50px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
    .map-box iframe { width: 100%; height: 380px; display: block; border: none; }

    /* APPOINTMENT CTA */
    .appt-section { background: var(--primary); color: #1a2340; padding: 60px 24px; }
    .appt-inner { max-width: 800px; margin: 0 auto; text-align: center; }
    .appt-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
    .appt-inner p { opacity: 0.9; margin-bottom: 28px; font-size: 1rem; }
    .appt-phone { font-size: 1.9rem; font-weight: 800; color: #ffd166; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; }
    .appt-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
    .btn-whatsapp { background: #25d366; color: #1a2340; padding: 13px 26px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: background 0.2s; display: inline-flex; align-items: center; gap: 8px; }
    .btn-whatsapp:hover { background: #1dae55; color: #1a2340; }

    /* FOOTER */
    footer { background: #0d1b2e; color: #9bb5cc; padding: 50px 24px 24px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand .name { font-size: 1.05rem; font-weight: 800; color: #1a2340; margin-bottom: 10px; }
    .footer-brand p { font-size: 0.84rem; line-height: 1.75; max-width: 280px; }
    .footer-brand .tagline-badge { display: inline-block; background: var(--primary); color: #1a2340; padding: 4px 12px; border-radius: 4px; font-size: 0.74rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.04em; }
    .footer-col h4 { color: #1a2340; font-size: 0.88rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-col ul li a { font-size: 0.84rem; color: #9bb5cc; transition: color 0.2s; }
    .footer-col ul li a:hover { color: #1a2340; }
    .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; margin-bottom: 12px; }
    .footer-contact-item .fi-icon { width: 28px; height: 28px; background: rgba(255,255,255,0.06); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .footer-bottom { border-top: 1px solid #1e3050; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

    /* DOCTORS PAGE */
    .doctors-hero { background: linear-gradient(135deg, #084f82 0%, #0a6eb4 100%); color: #1a2340; padding: 60px 24px; text-align: center; }
    .doctors-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; }
    .doctors-hero p { opacity: 0.9; max-width: 560px; margin: 0 auto; line-height: 1.7; }
    .doctors-content { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
    .doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .doctor-card {
      background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-radius: 18px; overflow: hidden;
      border: 1px solid rgba(217, 232, 245, 0.85); transition: transform 0.25s, box-shadow 0.25s;
      box-shadow: 0 4px 18px rgba(10,110,180,0.06);
    }
    .doctor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,110,180,0.14); }
    .doctor-photo-wrap {
      width: 100%; aspect-ratio: 4/4.5; overflow: hidden; position: relative;
      background: linear-gradient(135deg, #e8f4fd, #cce4f6);
    }
    .doctor-photo-wrap img {
      width: 100%; height: 100%; object-fit: cover; object-position: top center;
      transition: transform 0.4s ease;
    }
    .doctor-card:hover .doctor-photo-wrap img { transform: scale(1.04); }
    .doctor-photo-placeholder {
      width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    }
    .doctor-info { padding: 20px 22px 22px; }
    .doctor-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
    .doctor-dept {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--light-bg); color: var(--primary);
      padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
      border: 1px solid var(--border); margin-bottom: 14px;
    }
    .doctor-divider { height: 1px; background: var(--border); margin-bottom: 14px; }
    .doctor-action {
      display: flex; align-items: center; justify-content: space-between;
    }
    .doctor-avail { font-size: 0.78rem; color: #16a34a; font-weight: 600; display: flex; align-items: center; gap: 5px; }
    .doctor-avail::before { content: ''; width: 7px; height: 7px; background: #16a34a; border-radius: 50%; display: inline-block; }
    .btn-consult {
      font-size: 0.8rem; font-weight: 700; color: var(--primary);
      border: 1.5px solid var(--primary); padding: 6px 14px; border-radius: 6px;
      transition: all 0.2s; display: inline-flex; align-items: center; gap: 5px;
    }
    .btn-consult:hover { background: var(--primary); color: #1a2340; }

    /* ── FLOATING EMERGENCY BUTTON ── */
    .float-emergency {
      position: fixed; bottom: 28px; right: 28px; z-index: 9998;
      background: linear-gradient(135deg, var(--emergency) 0%, #c1121f 100%); color: #1a2340;
      height: 52px; padding: 0 22px; border-radius: 50px;
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      box-shadow: 0 8px 28px rgba(230,57,70,0.55);
      text-decoration: none; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      cursor: pointer; overflow: hidden;
    }
    .float-emergency::before {
      content: ''; position: absolute; inset: -6px;
      border-radius: 50px; border: 2px solid rgba(230,57,70,0.4);
      animation: emg-pulse 2s ease-out infinite; pointer-events: none;
    }
    .float-emergency::after {
      content: ''; position: absolute; inset: -12px;
      border-radius: 50px; border: 2px solid rgba(230,57,70,0.2);
      animation: emg-pulse 2s ease-out infinite 0.4s; pointer-events: none;
    }
    @keyframes emg-pulse {
      0% { transform: scale(1); opacity: 1; }
      100% { transform: scale(1.4); opacity: 0; }
    }
    .float-emergency .fe-label {
      font-size: 0.92rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; color: #1a2340;
    }
    @media (min-width: 769px) {
      .float-emergency:hover {
        box-shadow: 0 12px 36px rgba(230,57,70,0.75);
        transform: translateY(-3px) scale(1.03);
      }
    }
    @media (max-width: 768px) {
      .float-emergency {
        width: 52px; height: 52px; padding: 0; border-radius: 50%;
        bottom: 18px; right: 18px;
      }
      .float-emergency .fe-label { display: none !important; }
    }

    /* ── SEVASADAN ASSIST FLOATING WIDGET ── */
    .assist-trigger {
      position: fixed; bottom: 98px; right: 28px; z-index: 9997;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: #1a2340; height: 50px; padding: 0 18px; border-radius: 50px;
      display: inline-flex; align-items: center; gap: 9px;
      box-shadow: 0 8px 24px rgba(10,110,180,0.35);
      border: 1px solid rgba(255,255,255,0.3);
      cursor: pointer; transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
    }
    .assist-trigger:hover {
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 12px 32px rgba(10,110,180,0.45);
    }
    .assist-trigger .at-badge {
      width: 9px; height: 9px; background: #22c55e; border-radius: 50%;
      box-shadow: 0 0 0 2px rgba(34,197,94,0.3);
    }
    .assist-trigger .at-title { font-size: 0.86rem; font-weight: 700; white-space: nowrap; }

    /* ASSIST CHAT WINDOW */
    .assist-window {
      position: fixed; bottom: 160px; right: 28px; z-index: 9999;
      width: 360px; max-width: calc(100vw - 32px); height: 490px; max-height: calc(100vh - 180px);
      background: #fff; border-radius: 20px;
      box-shadow: 0 20px 60px rgba(10,30,60,0.25);
      border: 1px solid var(--border);
      display: flex; flex-direction: column; overflow: hidden;
      opacity: 0; transform: translateY(20px) scale(0.95); pointer-events: none;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .assist-window.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
    .assist-header {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
      color: #1a2340; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
    }
    .assist-header-info { display: flex; align-items: center; gap: 10px; }
    .assist-avatar {
      width: 36px; height: 36px; background: rgba(255,255,255,0.2);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      border: 1px solid rgba(255,255,255,0.4);
    }
    .assist-title { font-size: 0.95rem; font-weight: 800; line-height: 1.1; }
    .assist-status { font-size: 0.72rem; opacity: 0.88; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
    .assist-status-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
    .assist-close { background: none; border: none; color: #1a2340; opacity: 0.85; cursor: pointer; padding: 4px; border-radius: 6px; font-size: 1.2rem; transition: opacity 0.2s; }
    .assist-close:hover { opacity: 1; background: rgba(255,255,255,0.15); }

    .assist-body {
      flex: 1; padding: 16px; overflow-y: auto; background: #f8fafc;
      display: flex; flex-direction: column; gap: 12px;
    }
    .assist-msg { display: flex; gap: 10px; max-width: 88%; font-size: 0.86rem; line-height: 1.45; }
    .assist-msg.bot { align-self: flex-start; }
    .assist-msg.user { align-self: flex-end; flex-direction: row-reverse; }
    .assist-bubble {
      padding: 10px 14px; border-radius: 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }
    .assist-msg.bot .assist-bubble { background: #fff; color: var(--text); border: 1px solid var(--border); border-top-left-radius: 4px; }
    .assist-msg.user .assist-bubble { background: var(--primary); color: #1a2340; border-top-right-radius: 4px; }

    .assist-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
    .assist-chip {
      background: #fff; border: 1px solid rgba(10,110,180,0.3); color: var(--primary);
      padding: 6px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
      cursor: pointer; transition: all 0.2s; text-align: left;
    }
    .assist-chip:hover { background: var(--primary); color: #1a2340; border-color: var(--primary); transform: translateY(-1px); }

    .assist-footer { padding: 12px 14px; background: #fff; border-top: 1px solid var(--border); display: flex; gap: 8px; }
    .assist-input { flex: 1; border: 1.5px solid var(--border); border-radius: 20px; padding: 9px 14px; font-size: 0.85rem; outline: none; font-family: inherit; }
    .assist-input:focus { border-color: var(--primary); }
    .assist-send { background: var(--primary); color: #1a2340; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
    .assist-send:hover { background: var(--primary-dark); }

    /* ── APPOINTMENT MODAL ── */
    .appt-modal-overlay {
      position: fixed; inset: 0; background: rgba(5,15,35,0.82);
      backdrop-filter: blur(6px); z-index: 99990;
      display: flex; align-items: center; justify-content: center;
      padding: 20px; opacity: 0; pointer-events: none;
      transition: opacity 0.25s;
    }
    .appt-modal-overlay.open { opacity: 1; pointer-events: all; }
    .appt-modal {
      background: #fff; border-radius: 20px; width: 100%; max-width: 560px;
      max-height: 92vh; overflow-y: auto;
      box-shadow: 0 32px 80px rgba(0,0,0,0.35);
      transform: translateY(20px) scale(0.97);
      transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1);
    }
    .appt-modal-overlay.open .appt-modal { transform: none; }
    .appt-modal-head {
      background: linear-gradient(135deg, var(--primary-dark), var(--primary));
      color: #1a2340; padding: 28px 30px 24px; border-radius: 20px 20px 0 0;
      position: relative;
    }
    .appt-modal-head h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
    .appt-modal-head p { font-size: 0.87rem; opacity: 0.85; }
    .appt-modal-close {
      position: absolute; top: 16px; right: 18px;
      background: rgba(255,255,255,0.15); border: none; color: #1a2340;
      width: 34px; height: 34px; border-radius: 8px; font-size: 1.1rem;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .appt-modal-close:hover { background: rgba(255,255,255,0.28); }
    .appt-modal-body { padding: 28px 30px; }
    .appt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .appt-fg { margin-bottom: 14px; }
    .appt-fg label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
    .appt-fg input, .appt-fg select, .appt-fg textarea {
      width: 100%; border: 1.5px solid var(--border); border-radius: 9px;
      padding: 11px 14px; font-size: 0.9rem; font-family: inherit;
      color: var(--text); outline: none; transition: border 0.2s;
      background: #f8fbff;
    }
    .appt-fg input:focus, .appt-fg select:focus, .appt-fg textarea:focus { border-color: var(--primary); background: #fff; }
    .appt-fg textarea { resize: vertical; min-height: 80px; }
    .appt-submit-btn {
      width: 100%; background: var(--primary); color: #1a2340; border: none;
      padding: 14px; border-radius: 10px; font-size: 1rem; font-weight: 700;
      cursor: pointer; transition: background 0.2s; font-family: inherit;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      margin-top: 4px;
    }
    .appt-submit-btn:hover { background: var(--primary-dark); }
    .appt-success {
      display: none; text-align: center; padding: 24px 10px 10px;
    }
    .appt-success .success-icon {
      width: 70px; height: 70px; background: #e8fdf0; border-radius: 50%;
      display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    }
    .appt-success h3 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
    .appt-success p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; }
    .appt-or-divider { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; }
    .appt-or-divider span { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
    .appt-or-divider::before, .appt-or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .btn-gform {
      width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
      border: 2px solid var(--border); color: var(--text); background: #fff;
      padding: 12px; border-radius: 9px; font-size: 0.9rem; font-weight: 600;
      cursor: pointer; transition: all 0.2s; font-family: inherit; text-decoration: none;
    }
    .btn-gform:hover { border-color: var(--primary); color: var(--primary); background: var(--light-bg); }

    /* ── NAV BOOK BTN ── */
    .nav-book-btn {
      background: var(--primary); color: #1a2340; padding: 9px 18px; border-radius: 8px;
      font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 7px;
      transition: background 0.2s; white-space: nowrap; border: none; cursor: pointer;
      font-family: inherit;
    }
    .nav-book-btn:hover { background: var(--primary-dark); color: #1a2340; }

    /* ── SERVICES IMAGE CARDS ── */
    .svc-img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
    .svc-img-card {
      border-radius: 14px; overflow: hidden; position: relative;
      height: 200px; background-size: cover; background-position: center;
      box-shadow: 0 4px 16px rgba(10,79,138,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .svc-img-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(10,79,138,0.18); }
    .svc-img-card::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(8,42,80,0.88) 0%, rgba(8,42,80,0.3) 50%, rgba(8,42,80,0) 100%);
    }
    .svc-img-card .sic-body {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 16px 18px; color: #1a2340;
    }
    .svc-img-card .sic-icon {
      width: 36px; height: 36px; background: rgba(255,255,255,0.18);
      border-radius: 9px; display: flex; align-items: center; justify-content: center;
      margin-bottom: 8px; backdrop-filter: blur(4px);
    }
    .svc-img-card .sic-name { font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
    .svc-img-card .sic-desc { font-size: 0.74rem; opacity: 0.8; margin-top: 3px; }

    /* ── INSURANCE LOGO FALLBACK ── */
    .ins-logo-txt {
      padding: 14px 20px; background: #fff; border: 1.5px solid var(--border);
      border-radius: 12px; font-weight: 700; color: var(--primary);
      font-size: 0.92rem; display: flex; align-items: center; justify-content: center;
      text-align: center; box-shadow: 0 4px 12px rgba(10,79,138,0.06);
      transition: transform 0.2s, box-shadow 0.2s; min-height: 60px;
    }
    .ins-logo-txt:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(10,79,138,0.12); }

    @media (max-width: 900px) { .doctors-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 768px) {
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
      .about-grid, .mv-grid, .contact-grid, .careers-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .preventive-grid { grid-template-columns: 1fr; }
      .doctors-grid { grid-template-columns: 1fr; }
      .appt-form-row { grid-template-columns: 1fr; }
      .float-emergency { bottom: 18px; right: 18px; width: 54px; height: 54px; }
      .assist-trigger { bottom: 82px; right: 18px; height: 44px; padding: 0 14px; font-size: 0.8rem; }
      .assist-window { bottom: 136px; right: 16px; width: calc(100vw - 32px); height: 440px; }
      .svc-img-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) { .svc-img-grid { grid-template-columns: 1fr; } }

/* Mobile Optimization */
@media (max-width: 768px) {
  .navbar .inner { flex-direction: column; height: auto; padding: 15px; }
  .nav-links { flex-wrap: wrap; justify-content: center; margin-top: 10px; gap: 8px; }
  .hero { padding: 120px 20px 60px !important; background-position: center !important; }
  .hero h1 { font-size: 2.2rem !important; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .why-grid, .fac-grid, .ins-grid, .contact-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .topbar .inner { flex-direction: column; text-align: center; gap: 5px; height: auto; padding: 8px; }
  .custom-cursor, .cursor-trail { display: none !important; }
}
