/* ═══════════════════════════════════════════════════════════
   MEDLAB — style.css
   Shared stylesheet for all pages
   Stack: Bootstrap 5.3 + Custom CSS + Tabler Icons
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:      #071b3e;
  --navy-mid:  #0a2454;
  --navy-lt:   #103070;
  --cyan:      #00c8e0;
  --cyan2:     #00a8c0;
  --white:     #ffffff;
  --offwhite:  #f4f7fc;
  --border:    #e2e8f0;
  --text:      #3a5070;
  --text-lt:   #6b84a0;
  --green:     #00b87a;
  --amber:     #f59e0b;
  --red:       #e53935;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(7,27,62,.07);
  --shadow-md: 0 8px 32px rgba(7,27,62,.12);
  --shadow-lg: 0 24px 64px rgba(7,27,62,.18);
  --tr: .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'DM Sans', 'Cairo', system-ui, sans-serif;
  background: var(--offwhite);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.ml-navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
  padding: 0;
  height: 70px;
}
.ml-navbar .container {
  height: 70px;
  display: flex;
  align-items: center;
}
.ml-navbar.scrolled {
  background: rgba(7,27,62,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
/* Solid nav for inner pages */
.ml-navbar.solid {
  background: rgba(7,27,62,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--cyan);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr);
}
.nav-logo-icon:hover { transform: rotate(-8deg) scale(1.05); }
.nav-logo-icon i { font-size: 20px; color: var(--navy); }
.nav-logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 19px; color: white; line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: .08em; color: rgba(255,255,255,.4); text-transform: uppercase;
}
.ml-nav-link {
  font-size: 14px !important; font-weight: 500 !important;
  color: rgba(255,255,255,.7) !important;
  padding: 6px 10px !important;
  border-radius: 6px;
  position: relative;
  transition: color .25s !important;
  text-decoration: none;
}
.ml-nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 10px; right: 10px;
  height: 1.5px; background: var(--cyan);
  border-radius: 2px; transform: scaleX(0);
  transition: transform .25s;
}
.ml-nav-link:hover,
.ml-nav-link.active { color: white !important; }
.ml-nav-link:hover::after,
.ml-nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--cyan); color: var(--navy);
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: var(--tr); display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover {
  background: #00dff5; color: var(--navy);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,224,.3);
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(7,27,62,.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    margin-top: 10px; padding: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 120px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,224,.1) 1px, transparent 1px);
  background-size: 34px 34px; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,200,224,.14) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.page-eyebrow::before {
  content: ''; width: 22px; height: 2px;
  background: var(--cyan); border-radius: 2px;
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px,4vw,46px); color: white; line-height: 1.12; margin-bottom: 12px;
}
.page-title em { font-style: italic; color: var(--cyan); }
.page-subtitle { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 500px; }
.breadcrumb { background: none; padding: 0; margin: 20px 0 0; }
.breadcrumb-item a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; }
.breadcrumb-item a:hover { color: var(--cyan); }
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════
   SHARED TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
.ml-section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.ml-section-label::before {
  content: ''; width: 22px; height: 2px;
  background: var(--cyan); border-radius: 2px; flex-shrink: 0;
}
.ml-section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px,4vw,40px); line-height: 1.15;
  color: var(--navy); margin-bottom: 14px;
}
.ml-section-title em { font-style: italic; color: var(--cyan2); }
.ml-section-sub { font-size: 16px; line-height: 1.75; color: var(--text); max-width: 560px; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn { font-family: 'DM Sans', sans-serif; font-weight: 600; border-radius: var(--radius-sm); transition: var(--tr); display: inline-flex; align-items: center; gap: 7px; }
.ml-btn-cyan   { background: var(--cyan); color: var(--navy); border: 2px solid var(--cyan); }
.ml-btn-cyan:hover { background: #00dff5; border-color: #00dff5; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,224,.35); }
.ml-btn-navy   { background: var(--navy); color: white; border: 2px solid var(--navy); }
.ml-btn-navy:hover { background: var(--navy-lt); border-color: var(--navy-lt); color: white; transform: translateY(-2px); }
.ml-btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,.35); }
.ml-btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.ml-btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy-lt); }
.ml-btn-outline-dark:hover { background: var(--navy); color: white; }

/* ═══════════════════════════════════════════════════════════
   FORM COMPONENTS (shared across all pages)
═══════════════════════════════════════════════════════════ */
.ml-form-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 40px; box-shadow: var(--shadow-md);
}
@media (max-width: 575.98px) { .ml-form-card { padding: 26px 20px; } }

.form-label-ml {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--navy); margin-bottom: 7px;
}
.input-wrap { position: relative; margin-bottom: 18px; }
.input-wrap .icon-left {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%); font-size: 17px;
  color: #a0aec0; pointer-events: none; z-index: 2;
}
.input-wrap.textarea-wrap .icon-left { top: 14px; transform: none; }
.ml-input, .ml-select, .ml-textarea {
  width: 100%; padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--navy); background: var(--offwhite);
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.ml-input:focus, .ml-select:focus, .ml-textarea:focus {
  border-color: var(--cyan2); background: white;
  box-shadow: 0 0 0 3px rgba(0,200,224,.13);
}
.ml-input::placeholder, .ml-textarea::placeholder { color: #a0aec0; }
.ml-input.is-invalid, .ml-textarea.is-invalid { border-color: var(--red); }
.ml-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.ml-select { appearance: none; cursor: pointer; }
.pw-toggle-btn {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%); font-size: 17px;
  color: #a0aec0; cursor: pointer; z-index: 2; background: none; border: none; padding: 0;
}
.pw-toggle-btn:hover { color: var(--navy); }
.form-hint-text { font-size: 11px; color: var(--text-lt); margin-top: 4px; }

/* ── Alerts ── */
.ml-alert {
  display: none; align-items: flex-start; gap: 11px;
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 13px; margin-bottom: 18px;
}
.ml-alert.show { display: flex; }
.ml-alert.error   { background: #fff5f5; border: 1px solid #ffcdd2; color: #c62828; }
.ml-alert.success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.ml-alert.warning { background: #fff8e1; border: 1px solid #ffe082; color: #e65100; }
.ml-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.ml-alert-body h5 { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.ml-alert-body p  { font-size: 12px; margin: 0; opacity: .85; }

/* ── Submit button ── */
.btn-submit {
  width: 100%; background: var(--navy); color: white; border: none;
  border-radius: var(--radius-sm); padding: 13px; font-size: 15px; font-weight: 700;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--tr);
}
.btn-submit:hover:not(:disabled) {
  background: var(--cyan2); color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,168,192,.28);
}
.btn-submit:disabled { opacity: .65; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════
   RESULTS TABLE
═══════════════════════════════════════════════════════════ */
.results-table-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
}
.results-table thead th {
  background: var(--navy); color: rgba(255,255,255,.7);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 14px 20px; border: none; white-space: nowrap;
}
.results-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.results-table tbody tr:last-child { border-bottom: none; }
.results-table tbody tr:hover { background: #f8faff; }
.results-table tbody td { padding: 14px 20px; vertical-align: middle; border: none; color: var(--navy); }
.test-name-strong { font-size: 14px; font-weight: 600; display: block; }
.test-name-cat    { font-size: 11px; color: var(--text-lt); margin-top: 2px; display: block; }
.result-val  { font-size: 15px; font-weight: 700; }
.result-unit { font-size: 11px; color: var(--text-lt); margin-left: 2px; }
.ref-text    { font-size: 13px; color: var(--text-lt); }
.date-text   { font-size: 13px; color: var(--text-lt); white-space: nowrap; }

/* Status badges */
.badge-status {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 20px; padding: 3px 11px;
  font-size: 11px; font-weight: 700; margin-top: 5px;
}
.badge-normal   { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.badge-high     { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.badge-low      { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.badge-critical { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* PDF button */
.btn-pdf {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1.5px solid var(--border); color: var(--navy); background: white;
  border-radius: 7px; padding: 6px 13px; font-size: 12px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}
.btn-pdf:hover { background: var(--navy); border-color: var(--navy); color: white; }

/* Patient info pill */
.patient-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0,200,224,.1); border: 1px solid rgba(0,200,224,.25);
  border-radius: 40px; padding: 7px 18px; font-size: 13px; font-weight: 600;
}
.patient-pill i { color: var(--cyan2); font-size: 15px; }

/* ═══════════════════════════════════════════════════════════
   SECURITY / INFO TAGS
═══════════════════════════════════════════════════════════ */
.sec-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--offwhite); border: 1px solid var(--border);
  border-radius: 40px; padding: 5px 13px; font-size: 12px; color: var(--text);
}
.sec-tag i { font-size: 13px; color: var(--cyan2); }

/* ═══════════════════════════════════════════════════════════
   LOADING SPINNER
═══════════════════════════════════════════════════════════ */
.loading-state { display: none; text-align: center; padding: 56px 0; }
.loading-state.show { display: block; }
.loading-state .spinner-border { width: 40px; height: 40px; border-width: 3px; color: var(--cyan2) !important; }
.loading-state p { font-size: 14px; color: var(--text-lt); margin-top: 14px; }
.results-area { display: none; }
.results-area.show { display: block; }

/* ═══════════════════════════════════════════════════════════
   INFO CARDS (used on results + home)
═══════════════════════════════════════════════════════════ */
.info-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,200,224,.2); }
.info-card-icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: var(--offwhite); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.info-card-icon i { font-size: 23px; color: var(--cyan2); }
.info-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 13px; color: var(--text); line-height: 1.65; margin: 0; }
.info-card a { text-decoration: none; transition: color .2s; }
.info-card a:hover { color: var(--cyan2); }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.ml-footer { background: #040d1c; padding: 44px 0 0; }
.footer-logo-wrap { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-bottom: 16px; }
.footer-logo-icon { width: 36px; height: 36px; background: var(--cyan); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.footer-logo-icon i { font-size: 17px; color: var(--navy); }
.footer-logo-name { font-family: 'DM Serif Display', serif; font-size: 19px; color: white; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.7; margin-bottom: 22px; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 16px; text-decoration: none;
  transition: var(--tr);
}
.footer-social:hover { background: rgba(0,200,224,.12); border-color: rgba(0,200,224,.28); color: var(--cyan); transform: translateY(-2px); }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.48); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.55; margin-bottom: 12px; }
.footer-contact-item i { font-size: 16px; color: var(--cyan); margin-top: 1px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.48); text-decoration: none; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 40px; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,.22);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,.22); text-decoration: none; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: white; border: 2px solid rgba(0,200,224,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: var(--tr);
  opacity: 0; transform: translateY(10px); pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION (index.html only)
═══════════════════════════════════════════════════════════ */
.ml-hero {
  position: relative; min-height: 100vh; background: var(--navy);
  display: flex; align-items: center; padding-top: 70px; overflow: hidden;
}
.ml-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,224,.12) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.ml-hero-glow {
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,224,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,224,.12); border: 1px solid rgba(0,200,224,.28);
  border-radius: 40px; padding: 7px 18px; margin-bottom: 26px;
  font-size: 12px; font-weight: 500; color: var(--cyan);
}
.hero-pulse {
  width: 8px; height: 8px; background: var(--cyan);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(.75); } }
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px,5.5vw,66px); line-height: 1.07; color: white; margin-bottom: 22px;
}
.hero-accent { color: var(--cyan); position: relative; display: inline-block; }
.hero-accent::after {
  content: ''; position: absolute; bottom: 3px; left: 0; right: 0;
  height: 3px; background: var(--cyan); border-radius: 2px; opacity: .35;
}
.hero-desc { font-size: 17px; line-height: 1.78; color: rgba(255,255,255,.6); max-width: 480px; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--navy);
  margin-right: -10px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: white;
}
.hero-trust-text { font-size: 13px; color: rgba(255,255,255,.5); }
.hero-trust-text strong { color: white; }

/* Hero visual frame */
.hero-frame {
  position: relative; border-radius: var(--radius-lg);
  overflow: visible; aspect-ratio: 4/5;
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-lt));
  border-radius: var(--radius-lg); border: 1px solid rgba(0,200,224,.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.hero-img-placeholder i { font-size: 80px; color: rgba(0,200,224,.22); }
.hero-img-placeholder p { font-size: 13px; color: rgba(255,255,255,.25); font-style: italic; }
.frame-accent {
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-bottom: 3px solid var(--cyan); border-right: 3px solid var(--cyan);
  border-radius: 0 0 var(--radius-lg) 0; pointer-events: none;
}
.float-card {
  position: absolute; background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px); border-radius: var(--radius-md);
  padding: 13px 17px; box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
.float-result  { bottom: 28px; left: -36px; min-width: 210px; }
.float-online  { top: 28px; right: -28px; animation-delay: 1.5s; }
.float-label   { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--text-lt); font-weight: 600; margin-bottom: 3px; }
.float-value   { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.float-status  { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--green); }
.float-online  { font-size: 12px; color: var(--navy); }
.float-online strong { font-size: 13px; }
.float-online p { font-size: 11px; color: var(--text-lt); margin: 4px 0 0; }
.dot-live {
  width: 9px; height: 9px; background: var(--green);
  border-radius: 50%; display: inline-block; animation: pulse 2s infinite;
}

/* Marquee */
.marquee-band { background: var(--cyan); padding: 11px 0; overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 40px;
  width: max-content; animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.marquee-sep  { width: 4px; height: 4px; background: var(--navy); border-radius: 50%; opacity: .3; flex-shrink: 0; }

/* Service cards */
.service-card {
  background: white; border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--border); transition: var(--tr); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--cyan); transform: scaleY(0); transform-origin: bottom; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,200,224,.2); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 56px; height: 56px; background: var(--offwhite); border: 1px solid var(--border);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--tr);
}
.service-card:hover .service-icon { background: rgba(0,200,224,.1); border-color: rgba(0,200,224,.3); }
.service-icon i { font-size: 26px; color: var(--navy-lt); transition: color .3s; }
.service-card:hover .service-icon i { color: var(--cyan2); }
.service-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy-lt); text-decoration: none; transition: var(--tr); }
.service-link i { transition: transform .2s; }
.service-card:hover .service-link { color: var(--cyan2); gap: 10px; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* Why section */
.ml-why { background: var(--navy); position: relative; overflow: hidden; }
.why-glow { position: absolute; bottom: -160px; left: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,200,224,.1) 0%, transparent 70%); pointer-events: none; }
.why-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 30px 24px; transition: var(--tr);
  display: flex; flex-direction: column;
}
.why-card:hover { background: rgba(0,200,224,.06); border-color: rgba(0,200,224,.22); transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; background: rgba(0,200,224,.1); border: 1px solid rgba(0,200,224,.2); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-icon i { font-size: 24px; color: var(--cyan); }
.why-card h3 { font-size: 16px; font-weight: 600; color: white; margin-bottom: 10px; }
.why-card p  { font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.65; margin: 0; }

/* Stats */
.ml-stats { background: var(--offwhite); padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'DM Serif Display', serif; font-size: clamp(40px,5vw,60px); color: var(--navy); line-height: 1; margin-bottom: 8px; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-suffix { font-size: .52em; color: var(--cyan2); }
.stat-label  { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.stat-sub    { font-size: 12px; color: var(--text-lt); margin: 0; }
@media (max-width: 767.98px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 0; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* Results form section */
.results-split { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.results-info-panel {
  background: var(--navy-mid); padding: 52px 44px;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.results-info-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,200,224,.1) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.sec-badge {
  display: flex; align-items: flex-start; gap: 13px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); padding: 13px 15px; margin-bottom: 12px;
  transition: var(--tr);
}
.sec-badge:hover { background: rgba(0,200,224,.08); border-color: rgba(0,200,224,.18); }
.sec-badge > i { font-size: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
.sec-badge strong { display: block; font-size: 13px; color: white; font-weight: 600; margin-bottom: 2px; }
.sec-badge span   { font-size: 11px; color: rgba(255,255,255,.43); }
.results-form-panel { padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 991.98px) { .results-info-panel, .results-form-panel { padding: 36px 28px; } }
@media (max-width: 575.98px) { .results-info-panel, .results-form-panel { padding: 28px 20px; } }

/* Testimonials */
.testi-card {
  background: white; border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--border); transition: var(--tr);
  position: relative; display: flex; flex-direction: column; margin: 0;
}
.testi-card::before {
  content: '"'; position: absolute; top: 14px; right: 20px;
  font-family: 'DM Serif Display', serif; font-size: 68px;
  color: var(--cyan); opacity: .12; line-height: 1; pointer-events: none;
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0,200,224,.18); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars i { font-size: 14px; color: var(--amber); }
.testi-text  { font-size: 15px; line-height: 1.72; color: var(--text); font-style: italic; flex: 1; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--navy); display: block; font-style: normal; }
.testi-role { font-size: 12px; color: var(--text-lt); margin: 0; }

/* CTA */
.ml-cta { background: var(--navy); position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: -180px; right: -180px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,200,224,.12) 0%, transparent 65%); pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════════ */
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 70px); }
@media (max-width: 991.98px) { .login-layout { grid-template-columns: 1fr; } }
.login-left { background: var(--navy-mid); padding: 60px 52px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.login-left::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,200,224,.09) 1px, transparent 1px); background-size: 30px 30px; }
.login-left::after { content: ''; position: absolute; bottom: -120px; left: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(0,200,224,.12) 0%, transparent 68%); }
.login-left-inner { position: relative; z-index: 1; }
@media (max-width: 991.98px) { .login-left { padding: 48px 28px; } }
.login-feature { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.login-feature-dot { width: 32px; height: 32px; background: rgba(0,200,224,.12); border: 1px solid rgba(0,200,224,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.login-feature-dot i { font-size: 16px; color: var(--cyan); }
.login-feature h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
.login-feature p  { font-size: 12px; color: rgba(255,255,255,.43); line-height: 1.55; margin: 0; }
.login-right { background: var(--offwhite); display: flex; align-items: center; justify-content: center; padding: 48px 36px; }
.auth-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 38px 38px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; }
@media (max-width: 575.98px) { .auth-card { padding: 26px 20px; } }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 26px; }
.auth-tab { padding: 11px 14px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; background: var(--offwhite); border: none; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 6px; transition: var(--tr); }
.auth-tab:first-child { border-right: 1px solid var(--border); }
.auth-tab.active { background: var(--navy); color: white; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.pw-strength { margin-top: 6px; margin-bottom: 4px; }
.pw-strength-bar { height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.pw-strength-fill { height: 100%; border-radius: 2px; width: 0; transition: width .3s, background .3s; }
.pw-strength-label { font-size: 11px; color: var(--text-lt); margin-top: 4px; }
.form-check-link { color: var(--navy-lt); font-weight: 600; text-decoration: none; }
.form-check-link:hover { color: var(--cyan2); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-lt); }
.auth-switch a { color: var(--navy-lt); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { color: var(--cyan2); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.or-divider span { font-size: 12px; color: var(--text-lt); }
.btn-secondary-auth { width: 100%; background: transparent; color: var(--navy); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px; font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; transition: var(--tr); }
.btn-secondary-auth:hover { background: var(--navy); color: white; border-color: var(--navy); }
.remember-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.forgot-link { font-size: 13px; font-weight: 600; color: var(--navy-lt); text-decoration: none; }
.forgot-link:hover { color: var(--cyan2); }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-hours-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.contact-hours-table td { padding: 5px 0; color: var(--text-lt); }
.contact-hours-table td:last-child { text-align: right; color: var(--navy); font-weight: 600; }
.hours-today td { color: var(--cyan2) !important; }
.sidebar-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sidebar-panel-header { background: var(--navy); padding: 20px 22px; }
.sidebar-panel-header h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 3px; }
.sidebar-panel-header p { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }
.sidebar-link-item { display: flex; align-items: flex-start; gap: 13px; padding: 16px 22px; border-bottom: 1px solid var(--border); transition: background var(--tr); }
.sidebar-link-item:last-child { border-bottom: none; }
.sidebar-link-item:hover { background: var(--offwhite); }
.sidebar-link-icon { width: 36px; height: 36px; background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-link-icon i { font-size: 17px; color: var(--cyan2); }
.sidebar-link-item h5 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.sidebar-link-item p, .sidebar-link-item a { font-size: 12px; color: var(--text-lt); margin: 0; text-decoration: none; }
.sidebar-link-item a { color: var(--cyan2); font-weight: 600; }
.sidebar-link-item a:hover { color: var(--navy-lt); }
.map-card { background: linear-gradient(145deg, #e8edf6, #d0daea); border-radius: var(--radius-lg); height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--border); }
.map-card i { font-size: 46px; color: rgba(7,27,62,.16); }
.map-card p { font-size: 13px; color: var(--text-lt); font-style: italic; margin: 0; }
.map-card a { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: white; padding: 9px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; text-decoration: none; transition: var(--tr); }
.map-card a:hover { background: var(--cyan2); color: var(--navy); }
.char-counter { font-size: 11px; color: var(--text-lt); text-align: right; margin-top: 4px; }
.select-chevron { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #a0aec0; pointer-events: none; }
/* FAQ */
.faq-section { background: var(--navy); }
.accordion-item { background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: var(--radius-md) !important; margin-bottom: 10px !important; overflow: hidden; }
.accordion-button { background: transparent !important; color: white !important; font-size: 15px; font-weight: 600; padding: 18px 22px; box-shadow: none !important; font-family: 'DM Sans', sans-serif; }
.accordion-button:not(.collapsed) { color: var(--cyan) !important; }
.accordion-button::after { filter: invert(1) brightness(1.5); }
.accordion-button:not(.collapsed)::after { filter: invert(.5) sepia(1) saturate(5) hue-rotate(150deg); }
.accordion-body { padding: 0 22px 18px; font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.72; }

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
