    :root {
      --blue: #2A86C7; --blue-light: #4FA3D9; --blue-dark: #1a6aaa;
      --green: #1FA463; --green-dark: #178A52;
      --white: #ffffff; --bg: #f5f8fc; --bg-card: #ffffff;
      --text: #1c2340; --text-muted: #5a6580; --border: #dde4ef;
      --shadow: 0 4px 24px rgba(42,134,199,0.10);
      --shadow-md: 0 8px 32px rgba(42,134,199,0.14);
      --navbar-bg: #ffffff; --footer-bg: #1c2340; --footer-text: #c8d4e8;
      --section-alt: #eef4fb;
    }
    [data-theme="dark"] {
      --bg: #0f1623; --bg-card: #192032; --text: #e4ecf7; --text-muted: #7a90b0;
      --border: #263049; --shadow: 0 4px 24px rgba(0,0,0,0.35);
      --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
      --navbar-bg: #131c2e; --section-alt: #141e2f; --white: #192032;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); transition: background 0.35s, color 0.35s; }
    h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; color: var(--text); }
    a { text-decoration: none; }

    /* ===== NAVBAR ===== */
    .navbar { background: var(--navbar-bg) !important; box-shadow: 0 2px 16px rgba(42,134,199,0.10); padding: 0.5rem 0; transition: background 0.35s; position: sticky; top: 0; z-index: 1050; }
    .navbar-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
    .navbar-brand img { height: 60px; width: auto; border-radius: 8px; margin-bottom: 2px; }
    .brand-text .tagline { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
    .nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text) !important; padding: 0.5rem 0.9rem !important; border-radius: 6px; transition: all 0.2s; }
    .nav-link:hover { background: rgba(42,134,199,0.08); color: var(--blue) !important; }
    .navbar-toggler { border: none; }
    .navbar-toggler:focus { box-shadow: none; }
    .btn-emergency { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff !important; border-radius: 30px; padding: 0.42rem 1.1rem !important; font-size: 0.84rem; font-weight: 600; box-shadow: 0 2px 10px rgba(42,134,199,0.3); transition: all 0.25s; }
    .btn-emergency:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,134,199,0.4); }
    .btn-book-header { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff !important; border-radius: 30px; padding: 0.42rem 1.1rem !important; font-size: 0.84rem; font-weight: 600; box-shadow: 0 2px 10px rgba(31,164,99,0.3); transition: all 0.25s; }
    .btn-book-header:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(31,164,99,0.4); }
    .theme-toggle { background: none; border: 1.5px solid var(--border); border-radius: 20px; color: var(--text); padding: 0.3rem 0.7rem; cursor: pointer; font-size: 1rem; transition: all 0.2s; display: flex; align-items: center; gap: 4px; }
    .theme-toggle:hover { border-color: var(--blue); color: var(--blue); }

    /* Dropdown */
    .nav-dropdown-custom {
      border: 1.5px solid var(--border);
      border-radius: 14px;
      box-shadow: 0 12px 32px rgba(42,134,199,0.15);
      padding: 8px;
      background: var(--bg-card);
      min-width: 200px;
      margin-top: 6px !important;
    }
    [data-theme="dark"] .nav-dropdown-custom { box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
    .nav-dropdown-custom .dropdown-item {
      border-radius: 8px;
      padding: 8px 14px;
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text);
      transition: all 0.18s;
      display: flex;
      align-items: center;
    }
    .nav-dropdown-custom .dropdown-item:hover,
    .nav-dropdown-custom .dropdown-item:focus {
      background: rgba(42,134,199,0.08);
      color: var(--blue);
    }
    .nav-dropdown-custom .dropdown-item.active {
      background: rgba(42,134,199,0.12);
      color: var(--blue);
      font-weight: 600;
    }
    .nav-link.dropdown-toggle.active { color: var(--blue) !important; font-weight: 600; }
    .nav-link.dropdown-toggle::after { margin-left: 4px; vertical-align: 0.1em; }


    /* ===== HERO ===== */
    .hero-section {
      position: relative; overflow: hidden; padding: 70px 0 60px;
      background: #e8f3fb;
    }
    [data-theme="dark"] .hero-section { background: #0d1520; }

    /* Ma Sarada Devi background image */
    .hero-section::before {
      content: '';
      position: absolute; left: -5%; top: 0; bottom: 0;
      width: 55%;
      background: url('https://masaradahospital.com/wp-content/uploads/2022/12/the-holy-mother-sri-sri-sarada-devi-removebg-preview.png') no-repeat left bottom / contain;
      opacity: 0.08;
      pointer-events: none; z-index: 0;
    }
    [data-theme="dark"] .hero-section::before { opacity: 0.05; }

    .hero-bg-glow {
      position: absolute; top: -100px; right: -100px; width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(42,134,199,0.13) 0%, transparent 65%);
      border-radius: 50%; pointer-events: none; z-index: 0;
    }
    .hero-bg-glow2 {
      position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(31,164,99,0.10) 0%, transparent 65%);
      border-radius: 50%; pointer-events: none; z-index: 0;
    }
    .hero-content { position: relative; z-index: 2; }
    .hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(31,164,99,0.12); color: var(--green); border: 1px solid rgba(31,164,99,0.25); border-radius: 30px; padding: 4px 14px; font-size: 0.8rem; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.5px; }
    .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin-bottom: 16px; }
    .hero-title span.blue { color: var(--blue); }
    .hero-title span.green { color: var(--green); }
    .hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; max-width: 520px; margin-bottom: 28px; }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
    .btn-primary-custom { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; border: none; border-radius: 30px; padding: 0.7rem 1.8rem; font-weight: 600; font-size: 0.95rem; box-shadow: 0 4px 16px rgba(42,134,199,0.35); transition: all 0.25s; }
    .btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,134,199,0.45); color: #fff; }
    .btn-outline-custom { border: 2px solid var(--blue); color: var(--blue); background: transparent; border-radius: 30px; padding: 0.65rem 1.6rem; font-weight: 600; font-size: 0.95rem; transition: all 0.25s; }
    .btn-outline-custom:hover { background: var(--blue); color: #fff; }
    .hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
    .stat-item { text-align: center; }
    .stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; }
    .stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

    /* ===== HOSPITAL ANIMATED ILLUSTRATION ===== */
    .hero-anim-wrap {
      position: relative; z-index: 2;
      display: flex; justify-content: center; align-items: flex-end;
    }
    .hospital-svg-container {
      position: relative; width: 100%; max-width: 480px;
      filter: drop-shadow(0 20px 40px rgba(42,134,199,0.18));
    }
    /* Floating cards on the illustration */
    .float-card {
      position: absolute; background: var(--bg-card); border-radius: 14px;
      box-shadow: 0 8px 24px rgba(42,134,199,0.18); padding: 10px 16px;
      display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
      animation: floatCard 3s ease-in-out infinite;
    }
    .float-card.card1 { top: -5%; left: -30px; animation-delay: 0s; }
    .float-card.card2 { top: 15%; right: -20px; animation-delay: 1.5s; }
    .float-card .fci { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
    .float-card .fci.green { background: rgba(31,164,99,0.13); color: var(--green); }
    .float-card .fci.blue { background: rgba(42,134,199,0.13); color: var(--blue); }
    .float-card .fct strong { font-size: 0.85rem; color: var(--text); display: block; font-family: 'DM Sans', sans-serif; }
    .float-card .fct span { font-size: 0.72rem; color: var(--text-muted); }
    @keyframes floatCard {
      0%,100% { transform: translateY(0px); }
      50% { transform: translateY(-8px); }
    }
    /* Pulse rings on hospital cross */
    .pulse-ring {
      position: absolute; border-radius: 50%;
      border: 2px solid rgba(42,134,199,0.3);
      animation: pulseRing 2s ease-out infinite;
    }
    .pulse-ring:nth-child(2) { animation-delay: 0.7s; }
    .pulse-ring:nth-child(3) { animation-delay: 1.4s; }
    @keyframes pulseRing {
      0% { transform: scale(0.8); opacity: 1; }
      100% { transform: scale(1.6); opacity: 0; }
    }
    /* SVG Animations */
    .svg-building { animation: buildUp 1s ease-out both; }
    @keyframes buildUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    .svg-cloud { animation: cloudFloat 6s ease-in-out infinite; }
    .svg-cloud2 { animation: cloudFloat 8s ease-in-out infinite reverse; animation-delay: -2s; }
    @keyframes cloudFloat { 0%,100%{transform:translateX(0)} 50%{transform:translateX(12px)} }
    .svg-ambulance { animation: ambMove 4s linear infinite; }
    @keyframes ambMove { 0%{transform:translateX(0)} 100%{transform:translateX(60px)} }
    .svg-heart { animation: heartbeat 1.2s ease-in-out infinite; transform-origin: center; }
    @keyframes heartbeat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.18)} }
    .svg-cross { animation: crossGlow 2s ease-in-out infinite; }
    @keyframes crossGlow { 0%,100%{opacity:1} 50%{opacity:0.7} }
    .svg-window-light { animation: windowBlink 3s ease-in-out infinite; }
    .svg-window-light:nth-child(2) { animation-delay: 0.5s; }
    .svg-window-light:nth-child(3) { animation-delay: 1s; }
    .svg-window-light:nth-child(4) { animation-delay: 1.5s; }
    @keyframes windowBlink { 0%,100%{opacity:0.6} 50%{opacity:1} }
    .svg-flag { animation: flagWave 2s ease-in-out infinite; transform-origin: left center; }
    @keyframes flagWave { 0%,100%{transform:skewX(0deg)} 25%{transform:skewX(-3deg)} 75%{transform:skewX(3deg)} }
    /* ECG line animation */
    .ecg-path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: ecgDraw 2s ease forwards 0.5s, ecgLoop 3s linear 2.5s infinite; }
    @keyframes ecgDraw { to { stroke-dashoffset: 0; } }
    @keyframes ecgLoop { 0%{stroke-dashoffset:0} 100%{stroke-dashoffset:-300} }

    /* ===== SECTION STYLES ===== */
    section { padding: 72px 0; }
    .section-alt { background: var(--section-alt); }
    .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
    .section-sub { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
    .section-divider { width: 48px; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px; margin: 12px 0 20px; }
    .section-desc { color: var(--text-muted); font-size: 1rem; max-width: 600px; line-height: 1.75; }

    /* ===== ABOUT ===== */
    .about-devi-wrap {
      position: relative; border-radius: 24px; overflow: hidden;
      box-shadow: 0 20px 60px rgba(42,134,199,0.18);
    }
    .about-devi-wrap::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(160deg, rgba(42,134,199,0.08) 0%, rgba(31,164,99,0.06) 100%);
      z-index: 1;
    }
    .about-devi-wrap img { width: 100%; display: block; }
    .about-devi-badge {
      position: absolute; bottom: 20px; right: 20px; z-index: 2;
      background: rgba(255,255,255,0.95); border-radius: 14px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 12px 16px;
      display: flex; align-items: center; gap: 10px;
      backdrop-filter: blur(6px);
    }
    [data-theme="dark"] .about-devi-badge { background: rgba(25,32,50,0.95); }
    .about-devi-badge .ab-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
    .about-devi-badge strong { font-size: 0.85rem; color: var(--text); display: block; font-family: 'DM Sans',sans-serif; }
    .about-devi-badge span { font-size: 0.72rem; color: var(--text-muted); }
    .value-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
    .value-num { min-width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .value-item h6 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: var(--text); }
    .value-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

    /* ===== SERVICES ===== */
    .service-card { background: var(--bg-card); border-radius: 18px; padding: 28px 22px; height: 100%; border: 1.5px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
    .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
    .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-light); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(42,134,199,0.12), rgba(79,163,217,0.08)); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--blue); margin-bottom: 16px; }
    .service-card h5 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
    .service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
    .badge-24 { position: absolute; top: 14px; right: 14px; background: rgba(31,164,99,0.12); color: var(--green); border: 1px solid rgba(31,164,99,0.2); font-size: 0.7rem; font-weight: 700; border-radius: 20px; padding: 2px 8px; letter-spacing: 0.5px; }

    /* ===== CERTIFICATES ===== */
    .cert-card {
      background: var(--bg-card); border-radius: 20px;
      border: 1.5px solid var(--border); overflow: hidden;
      box-shadow: var(--shadow); transition: all 0.35s;
      height: 100%;
    }
    .cert-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(42,134,199,0.18); border-color: var(--blue-light); }
    .cert-img-wrap { position: relative; overflow: hidden; background: #f0f4f8; }
    [data-theme="dark"] .cert-img-wrap { background: #1a2235; }
    .cert-img-wrap img { width: 100%; display: block; max-height: 420px; object-fit: contain; transition: transform 0.4s; padding: 12px; }
    .cert-card:hover .cert-img-wrap img { transform: scale(1.03); }
    .cert-img-wrap .cert-ribbon {
      position: absolute; top: 16px; left: 16px;
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
      padding: 4px 12px; border-radius: 20px;
      text-transform: uppercase;
    }
    .cert-body { padding: 20px 22px 24px; }
    .cert-body h5 { font-size: 1.05rem; margin-bottom: 6px; }
    .cert-body p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
    .cert-icon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .cert-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(42,134,199,0.12), rgba(79,163,217,0.08)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--blue); flex-shrink: 0; }

    /* ===== DOCTORS ===== */
    .department-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
    .dept-btn { padding: 6px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-size: 0.84rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
    .dept-btn.active, .dept-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
    .doctor-card { background: var(--bg-card); border-radius: 16px; padding: 22px 18px; border: 1.5px solid var(--border); text-align: center; transition: all 0.25s; height: 100%; }
    .doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-light); }
    .doc-img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; border: 3px solid var(--blue-light); background: var(--section-alt); }
    .doctor-card .dept-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; background: rgba(42,134,199,0.10); color: var(--blue); border-radius: 20px; padding: 2px 10px; margin-bottom: 6px; letter-spacing: 0.3px; }
    .doctor-card h6 { font-size: 0.9rem; font-weight: 600; margin: 0; color: var(--text); }
    .doctors-grid { display: none; }
    .doctors-grid.active { display: flex; flex-wrap: wrap; gap: 16px; }

    /* ===== OPD ===== */
    .opd-img-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 1.5px solid var(--border); }
    .opd-img-wrap img { width: 100%; display: block; }

    /* ===== INSURANCE ===== */
    .insurance-grid { display: flex; flex-wrap: wrap; gap: 10px; }
    .ins-badge { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 10px; padding: 8px 14px; font-size: 0.8rem; font-weight: 500; color: var(--text); transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
    .ins-badge:hover { border-color: var(--green); color: var(--green); }
    .ins-badge::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 0.85rem; }

    /* ===== CONTACT ===== */
    .contact-card { background: var(--bg-card); border-radius: 18px; padding: 28px 24px; border: 1.5px solid var(--border); height: 100%; transition: all 0.25s; }
    .contact-card:hover { box-shadow: var(--shadow); border-color: var(--blue-light); }
    .contact-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(42,134,199,0.12), rgba(79,163,217,0.08)); display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.3rem; margin-bottom: 14px; }
    .contact-card h6 { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
    .contact-card a { color: var(--text); font-size: 0.9rem; display: block; margin-bottom: 3px; transition: color 0.2s; }
    .contact-card a:hover { color: var(--blue); }
    .map-wrap { border-radius: 18px; overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--shadow); }

    /* ===== CHATBOT ===== */
    #chatbot-btn { position: fixed; bottom: 28px; right: 28px; z-index: 2000; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(42,134,199,0.45); cursor: pointer; border: none; transition: all 0.25s; animation: pulse-bot 2.5s infinite; }
    @keyframes pulse-bot { 0%,100%{box-shadow:0 6px 24px rgba(42,134,199,0.45)} 50%{box-shadow:0 6px 32px rgba(42,134,199,0.7),0 0 0 8px rgba(42,134,199,0.12)} }
    #chatbot-btn:hover { transform: scale(1.08); }
    #chatbot-window { position: fixed; bottom: 102px; right: 28px; z-index: 2000; width: 360px; max-width: calc(100vw - 40px); background: var(--bg-card); border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); border: 1.5px solid var(--border); display: none; flex-direction: column; overflow: hidden; }
    #chatbot-window.open { display: flex; }
    .chat-header { background: linear-gradient(135deg, var(--blue), var(--blue-light)); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
    .chat-header .avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
    .chat-header .info { flex: 1; }
    .chat-header .info strong { color: #fff; font-size: 0.95rem; display: block; }
    .chat-header .info span { color: rgba(255,255,255,0.8); font-size: 0.78rem; }
    .chat-header .online-dot { width: 8px; height: 8px; background: #4aef8a; border-radius: 50%; display: inline-block; margin-right: 4px; }
    .chat-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.2rem; cursor: pointer; transition: color 0.2s; padding: 0; }
    .chat-close:hover { color: #fff; }
    .chat-messages { flex: 1; overflow-y: auto; padding: 18px 16px; min-height: 260px; max-height: 340px; display: flex; flex-direction: column; gap: 12px; }
    .chat-messages::-webkit-scrollbar { width: 4px; }
    .chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
    .msg { max-width: 82%; display: flex; flex-direction: column; }
    .msg.bot { align-self: flex-start; }
    .msg.user { align-self: flex-end; }
    .msg-bubble { padding: 10px 14px; border-radius: 16px; font-size: 0.875rem; line-height: 1.55; }
    .msg.bot .msg-bubble { background: var(--section-alt); color: var(--text); border-bottom-left-radius: 4px; border: 1px solid var(--border); }
    .msg.user .msg-bubble { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; border-bottom-right-radius: 4px; }
    .typing-indicator { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
    .typing-dot { width: 7px; height: 7px; background: var(--blue-light); border-radius: 50%; animation: typing 1.2s infinite; }
    .typing-dot:nth-child(2){animation-delay:0.2s} .typing-dot:nth-child(3){animation-delay:0.4s}
    @keyframes typing { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }
    .chat-suggestions { padding: 4px 14px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
    .suggestion-chip { background: rgba(42,134,199,0.09); color: var(--blue); border: 1px solid rgba(42,134,199,0.2); border-radius: 20px; padding: 4px 12px; font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
    .suggestion-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
    .chat-input-row { padding: 12px 14px 14px; display: flex; gap: 8px; border-top: 1.5px solid var(--border); }
    .chat-input-row input { flex: 1; border: 1.5px solid var(--border); border-radius: 24px; padding: 8px 16px; font-size: 0.875rem; background: var(--bg); color: var(--text); outline: none; transition: border-color 0.2s; font-family: 'DM Sans', sans-serif; }
    .chat-input-row input:focus { border-color: var(--blue); }
    .chat-input-row input::placeholder { color: var(--text-muted); }
    .chat-send { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-light)); border: none; color: #fff; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
    .chat-send:hover { transform: scale(1.08); }
    .chat-footer-note { text-align: center; font-size: 0.68rem; color: var(--text-muted); padding: 6px 14px 10px; border-top: 1px solid var(--border); }

    /* ===== FOOTER ===== */
    footer { background: var(--footer-bg); color: var(--footer-text); padding: 56px 0 0; }
    footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
    footer p, footer a { color: var(--footer-text); font-size: 0.88rem; line-height: 1.75; }
    footer a:hover { color: var(--blue-light); }
    .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .footer-logo img { height: 50px; border-radius: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 36px; }
    .footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(200,212,232,0.6); }
    .footer-bottom a { color: var(--blue-light); }
    .social-links { display: flex; gap: 10px; margin-top: 14px; }
    .social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--footer-text); font-size: 1rem; transition: all 0.2s; }
    .social-link:hover { background: var(--blue); color: #fff; }

    /* Scroll top */
    #scrollTop { position: fixed; bottom: 100px; left: 24px; z-index: 999; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-card); border: 1.5px solid var(--border); color: var(--blue); font-size: 1.1rem; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all 0.2s; }
    #scrollTop:hover { background: var(--blue); color: #fff; }
    #scrollTop.show { display: flex; }

    .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    @media (max-width: 991px) {
      .float-card.card1 { left: 0; top: 5%; }
      .float-card.card2 { right: 0; }
    }
    @media (max-width: 768px) {
      .hero-section { padding: 50px 0 40px; }
      section { padding: 52px 0; }
      .hero-anim-wrap { margin-top: 36px; }
      .float-card { display: none; }
    }

    /* Hero outline button on dark/image background */
    .btn-outline-light-hero {
      border: 2px solid rgba(255,255,255,0.75);
      color: #fff !important;
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(6px);
    }
    .btn-outline-light-hero:hover {
      background: rgba(255,255,255,0.22);
      border-color: #fff;
      color: #fff !important;
    }
