/* ============================================================
   swarn.css — Swarn Platform UI  (Navy + Gold brand)
   "Swarn" = Gold in Sanskrit
   ============================================================ */

/* 1. CSS Custom Properties */
:root {
  --primary:       #0a1628;
  --primary-light: #162b4d;
  --gold:          #c9a227;
  --gold-dark:     #a88318;
  --gold-light:    #f0d060;
  --gold-bg:       #fef9e7;
  --blue:          #1d4ed8;
  --blue-hover:    #1e40af;
  --blue-light:    #dbeafe;
  --teal:          #0891b2;
  --teal-light:    #e0f2fe;
  --green:         #16a34a;
  --green-light:   #dcfce7;
  --bg:            #f0f4f8;
  --white:         #ffffff;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow:        0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.12);
  --shadow-gold:   0 4px 20px rgba(201,162,39,0.3);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   9999px;
  --transition:    all 0.3s ease;
  --font-heading:  'Poppins', sans-serif;
  --font-body:     'Inter', sans-serif;
}

/* 2. Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  overflow: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
a { text-decoration: none; color: var(--blue); transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* 3. Layout */
.container {
  width: min(92%, 1240px);
  margin: 0 auto;
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
}
.section { padding: clamp(2.5rem, 5vw, 5rem) 0; }

/* 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-gold     { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-gold); }
.btn-blue     { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: #fff; color: var(--primary); transform:translateY(-2px); }
.btn-outline-gold  { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover  { background: var(--gold); color:#fff; transform:translateY(-2px); }
.btn-lg   { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm   { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* 5. Badges */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
}
.badge-gold   { background: var(--gold-bg);    color: var(--gold);  }
.badge-blue   { background: var(--blue-light); color: var(--blue);  }
.badge-teal   { background: var(--teal-light); color: var(--teal);  }
.badge-green  { background: var(--green-light);color: var(--green); }

/* 6. Section Headers */
.section-header { text-align:center; margin-bottom:3.5rem; }
.section-header .badge { margin-bottom:1rem; }
.section-header h2 { font-size:2.4rem; margin-bottom:1rem; }
.section-header p  { font-size:1.1rem; color:var(--text-muted); max-width:600px; margin:0 auto; }

/* ─────────────────────────────────────────
   TOP BAR
───────────────────────────────────────── */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding: .5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color:rgba(255,255,255,.8); }
.top-bar a:hover { color:var(--gold); }
.top-bar-left span { margin-right:1.25rem; }
.top-bar-right { display:flex; align-items:center; gap:1rem; }
.lang-toggle { display:flex; align-items:center; gap:3px; background:rgba(255,255,255,.1); border-radius:7px; overflow:hidden; }
.lang-toggle .lang-btn { padding:3px 10px; font-weight:600; font-size:.78rem; color:rgba(255,255,255,.7); border-radius:5px; cursor:pointer; transition:var(--transition); }
.lang-toggle .lang-btn.active { background:var(--gold); color:#fff !important; }
.lang-toggle .lang-btn:hover:not(.active) { color:#fff; }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  background: #fff;
  padding: 0.85rem clamp(0.75rem, 3.5vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-img {
  height: clamp(40px, 6vw, 54px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.logo-img:hover {
  transform: scale(1.05);
}
.logo-text { min-width: 0; }
.logo-text .name { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 800; color: var(--primary); line-height: 1.1; }
.logo-text .name span { color: var(--gold); }
.logo-text .tagline { font-size: clamp(0.52rem, 1.1vw, 0.62rem); color: var(--text-muted); letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; }

.nav-menu { display: flex; list-style: none; gap: .25rem; align-items: center; }
.nav-menu li a {
  color: var(--text); font-weight: 500; font-size: .9rem;
  padding: .5rem .85rem; border-radius: 8px; transition: var(--transition);
}
.nav-menu li a:hover { color: var(--primary); background: var(--bg); }
.nav-menu li a.active { color: var(--blue); background: var(--blue-light); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-mobile-footer { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2.2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* Mobile nav drawer on tablet / phone */
@media (max-width: 991px) {
  .hamburger { display: flex; }
  .desktop-only { display: none !important; }
  
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: clamp(58px, 9vw, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - clamp(58px, 9vw, 72px));
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 0.65rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 9999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu li { width: 100%; }
  .nav-menu li a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    color: var(--primary);
  }
  .nav-menu li a:hover, .nav-menu li a.active {
    background: var(--blue-light);
    color: var(--blue);
    border-color: #bfdbfe;
  }
  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
  }
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .nav-mobile-auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .nav-mobile-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
  }
  .emergency-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid #fecaca;
    text-decoration: none;
  }
}
@media (max-width: 440px) {
  .logo-text .tagline { display: none; }
  .nav-actions .nav-cta-btn span { display: none; }
  .nav-actions .nav-cta-btn {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .nav-cta-btn i { margin: 0; }
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, rgba(10,36,72,0.92) 0%, rgba(20,55,95,0.88) 50%, rgba(10,30,60,0.94) 100%),
              url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&q=80') center/cover no-repeat;
  min-height: clamp(580px, 85vh, 900px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,162,39,.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(29,78,216,.08) 0%, transparent 50%);
}
.hero-grid {
  display:grid; grid-template-columns:1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem);
  align-items:center; position:relative; z-index:1; padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.hero-content { color:#fff; min-width: 0; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(201,162,39,.15); border:1px solid rgba(201,162,39,.3);
  color:var(--gold-light); padding:.4rem 1rem; border-radius:var(--radius-full);
  font-size: clamp(0.75rem, 1.8vw, 0.85rem); font-weight:500; margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hero h1 {
  font-size: clamp(1.85rem, 4.8vw, 3.2rem);
  color:#fff; font-weight:800;
  margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
  line-height: 1.2;
  word-break: break-word;
}
.hero h1 span { color:var(--gold); }
.hero-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.1rem);
  color:rgba(255,255,255,.78);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.7; max-width: 520px;
}
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
}
.hero-stat .num { font-family:var(--font-heading); font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight:800; color:var(--gold); display:block; line-height: 1.1; }
.hero-stat .lbl { font-size: clamp(0.68rem, 1.2vw, 0.78rem); color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.05em; }

/* Hero visual panel (right side) */
.hero-visual { position:relative; }
.hero-panel {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.hero-panel-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:1.25rem; padding-bottom:1rem;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.hero-panel-title { font-family:var(--font-heading); font-size:.9rem; color:rgba(255,255,255,.65); font-weight:600; letter-spacing:.5px; }
.hero-panel-dots  { display:flex; gap:6px; }
.hero-panel-dots span { width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.2); }
.hero-panel-dots span:nth-child(1){ background:#ff5f57; }
.hero-panel-dots span:nth-child(2){ background:#febc2e; }
.hero-panel-dots span:nth-child(3){ background:#28c840; }

.hero-portal-tabs { display:flex; gap:.5rem; margin-bottom:1.25rem; }
.portal-tab {
  flex:1; padding:.65rem; text-align:center; border-radius:10px;
  font-size:.8rem; font-weight:600; cursor:pointer; transition:var(--transition);
  color:rgba(255,255,255,.55);
}
.portal-tab.active   { background:var(--gold); color:#fff; }
.portal-tab:not(.active):hover { background:rgba(255,255,255,.08); color:rgba(255,255,255,.9); }

.hero-portal-content { display:grid; gap:.7rem; }
.portal-content { display:block; }
.portal-item {
  display:flex; align-items:center; gap:.875rem;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:.875rem 1rem; transition:var(--transition);
}
.portal-item:hover { background:rgba(255,255,255,.1); }
.portal-item-icon {
  width:36px; height:36px; border-radius:9px;
  background:rgba(201,162,39,.18); display:flex; align-items:center;
  justify-content:center; color:var(--gold-light); font-size:1rem; flex-shrink:0;
}
.portal-item-icon.blue-ico { background:rgba(29,78,216,.2); color:#93c5fd; }
.portal-item-icon.teal-ico { background:rgba(8,145,178,.2); color:#67e8f9; }
.portal-item-text .title { font-size:.82rem; font-weight:600; color:rgba(255,255,255,.9); display:block; }
.portal-item-text .sub   { font-size:.72rem; color:rgba(255,255,255,.45); }
.portal-item-badge {
  margin-left:auto; padding:2px 8px; border-radius:var(--radius-full);
  font-size:.7rem; font-weight:600; flex-shrink:0;
}
.portal-item-badge.badge-active { background:rgba(22,163,74,.2); color:#4ade80; }
.portal-item-badge.badge-new    { background:rgba(201,162,39,.2); color:var(--gold-light); }

/* Floating cards on hero */
.hero-float {
  position:absolute; background:#fff; border-radius:var(--radius-lg);
  padding:.875rem 1.25rem; box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:.75rem; z-index:2;
}
.hero-float.f1 { bottom:20px; left:-40px; }
.hero-float.f2 { top:50%; right:-45px; }

/* Inline stats badges above portal tabs */
.hero-visual > .hero-float {
  position: relative;
  bottom: auto;
  left: auto;
  flex: 1;
}
.hf-icon {
  width:40px; height:40px; border-radius:10px; display:flex;
  align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0;
}
.hf-icon.gold  { background:var(--gold-bg); color:var(--gold); }
.hf-icon.teal  { background:var(--teal-light); color:var(--teal); }
.hf-text .lbl  { font-size:.72rem; color:var(--text-muted); display:block; }
.hf-text .val  { font-family:var(--font-heading); font-size:.92rem; font-weight:700; color:var(--primary); }

/* ─────────────────────────────────────────
   STATS BAR
───────────────────────────────────────── */
.stats-bar { background:#fff; border-bottom:1px solid var(--border); padding:0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item {
  padding:2rem 1rem; text-align:center;
  border-right:1px solid var(--border);
  transition:var(--transition);
}
.stat-item:last-child { border-right:none; }
.stat-item:hover { background:var(--gold-bg); }
.stat-num { font-family:var(--font-heading); font-size:2.4rem; font-weight:800; color:var(--primary); display:block; }
.stat-num span { color:var(--gold); }
.stat-label { color:var(--text-muted); font-size:.9rem; }

/* ─────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────── */
.features-section { background:var(--bg); }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; }
.feature-card {
  background:#fff; border-radius:var(--radius-lg); padding:2rem;
  border:1px solid var(--border); transition:var(--transition); position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0;
  width:4px; height:100%; background:var(--gold); opacity:0; transition:var(--transition);
}
.feature-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
.feature-card:hover::before { opacity:1; }
.feature-icon {
  width:52px; height:52px; border-radius:var(--radius); display:flex;
  align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1.25rem;
}
.fi-gold   { background:var(--gold-bg);    color:var(--gold);  }
.fi-blue   { background:var(--blue-light); color:var(--blue);  }
.fi-teal   { background:var(--teal-light); color:var(--teal);  }
.fi-green  { background:var(--green-light);color:var(--green); }
.fi-purple { background:#f3e8ff; color:#9333ea; }
.fi-red    { background:#fef2f2; color:#dc2626; }
.feature-card h3 { font-size:1.05rem; margin-bottom:.75rem; }
.feature-card p  { color:var(--text-muted); font-size:.875rem; line-height:1.65; }

/* ─────────────────────────────────────────
   SERVICES SECTION (Tele-consultancy) — dark
───────────────────────────────────────── */
.services-section {
  background:var(--primary); position:relative; overflow:hidden;
}
.services-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at top right, rgba(201,162,39,.07), transparent 60%);
}
.services-section .section-header h2 { color:#fff; }
.services-section .section-header p  { color:rgba(255,255,255,.6); }
.services-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1.25rem; position:relative; z-index:1; }
.service-card {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-lg); padding:2rem 1.25rem; text-align:center; transition:var(--transition); cursor:pointer;
}
.service-card:hover { background:rgba(255,255,255,.12); border-color:var(--gold); transform:translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,.3); }
.service-icon {
  width:64px; height:64px; border-radius:50%;
  background:rgba(201,162,39,.15); display:flex; align-items:center;
  justify-content:center; margin:0 auto 1.25rem; font-size:1.6rem; color:var(--gold); transition:var(--transition);
}
.service-card:hover .service-icon { background:var(--gold); color:#fff; }
.service-card h4 { font-size:.95rem; color:#fff; margin-bottom:.5rem; }
.service-card p  { font-size:.8rem; color:rgba(255,255,255,.5); line-height:1.5; }

/* ─────────────────────────────────────────
   WHY CHOOSE US
───────────────────────────────────────── */
.why-section { background:#fff; }
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.why-list { display:grid; gap:1.5rem; }
.why-item { display:flex; gap:1.25rem; align-items:flex-start; }
.why-icon {
  width:48px; height:48px; border-radius:var(--radius);
  background:var(--gold-bg); display:flex; align-items:center;
  justify-content:center; color:var(--gold); font-size:1.2rem; flex-shrink:0;
}
.why-item h4 { font-size:1rem; margin-bottom:.4rem; }
.why-item p  { color:var(--text-muted); font-size:.875rem; }
.why-card-box {
  background:var(--primary); border-radius:var(--radius-xl); padding:2.5rem;
}
.why-card-box h3 { color:#fff; font-size:1.7rem; margin-bottom:1.5rem; line-height:1.3; }
.why-card-box h3 span { color:var(--gold); }
.why-checklist { list-style:none; display:grid; gap:.875rem; margin-bottom:2rem; }
.why-checklist li { display:flex; align-items:center; gap:.75rem; font-size:.9rem; color:rgba(255,255,255,.8); }
.why-checklist li i { color:var(--gold); }

/* ─────────────────────────────────────────
   VISION & MISSION
───────────────────────────────────────── */
.vision-section { background:var(--bg); }
.vm-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.vm-card { border-radius:var(--radius-xl); padding:3rem; position:relative; overflow:hidden; }
.vm-card.vision  { background:linear-gradient(135deg, var(--primary), var(--primary-light)); }
.vm-card.mission { background:linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.vm-icon  { font-size:3rem; margin-bottom:1.25rem; opacity:.9; }
.vm-card h3 { font-size:1.75rem; color:#fff; margin-bottom:1rem; }
.vm-card p  { font-size:.95rem; color:rgba(255,255,255,.82); line-height:1.75; }
.vm-deco {
  position:absolute; bottom:-30px; right:-30px;
  width:140px; height:140px; border-radius:50%; background:rgba(255,255,255,.05);
}

/* ─────────────────────────────────────────
   COURSES SECTION — dark themed
───────────────────────────────────────── */
.courses-section { background:#0f172a; position:relative; overflow:hidden; }
.courses-section::before {
  content:''; position:absolute; top:-100px; right:-100px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(29,78,216,.15), transparent 70%);
}
.courses-section .section-header h2 { color:#fff; }
.courses-section .section-header p  { color:rgba(255,255,255,.6); }
.categories-row {
  display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:3rem;
  position:relative; z-index:1;
}
.cat-chip {
  padding:.5rem 1.25rem; border-radius:var(--radius-full); font-size:.85rem; font-weight:500;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.65); cursor:pointer; transition:var(--transition);
}
.cat-chip:hover, .cat-chip.active { background:var(--gold); border-color:var(--gold); color:#fff; }
.courses-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; position:relative; z-index:1; }
.course-card {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg); overflow:hidden; transition:var(--transition);
}
.course-card:hover { border-color:rgba(201,162,39,.4); background:rgba(255,255,255,.08); transform:translateY(-4px); }
.course-head {
  padding:1.5rem; background:rgba(29,78,216,.15);
  display:flex; align-items:center; gap:1rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.course-num {
  width:40px; height:40px; border-radius:10px; background:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-heading); font-size:1rem; font-weight:800; color:#fff; flex-shrink:0;
}
.course-head h3 { color:#fff; font-size:1rem; line-height:1.3; }
.course-body { padding:1.5rem; }
.course-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1rem; }
.course-tag {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:var(--radius-full); font-size:.72rem; font-weight:500;
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.65);
}
.course-info { color:rgba(255,255,255,.5); font-size:.85rem; margin-bottom:1.5rem; line-height:1.6; }
.course-foot {
  display:flex; align-items:center; justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.06); padding-top:1rem;
  font-size:.8rem; color:rgba(255,255,255,.45);
}
.enroll-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:.5rem 1.2rem; border-radius:var(--radius-full);
  background:var(--gold); color:#fff; font-size:.82rem; font-weight:600;
  cursor:pointer; transition:var(--transition); border:none; text-decoration:none;
}
.enroll-btn:hover { background:var(--gold-dark); color:#fff; transform:translateY(-1px); }

/* ─────────────────────────────────────────
   PRICING SECTION
───────────────────────────────────────── */
.pricing-section { background:var(--bg); }
.pricing-tabs { display:flex; justify-content:center; gap:.5rem; margin-bottom:3rem; }
.pricing-tab {
  padding:.6rem 1.5rem; border-radius:var(--radius-full); font-size:.9rem; font-weight:500;
  cursor:pointer; transition:var(--transition); border:2px solid var(--border);
  background:#fff; color:var(--text-muted);
}
.pricing-tab.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.pricing-panel { display:none; width: 100%; }
.pricing-panel.active { display:block; width: 100%; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.pricing-card {
  background:#fff; border-radius:var(--radius-xl); padding:2.5rem;
  border:2px solid var(--border); transition:var(--transition); position:relative;
  min-width:0; width: 100%;
}
.pricing-card:hover { box-shadow:var(--shadow-lg); border-color:var(--gold); }
.pricing-card.featured { background:var(--primary); border-color:var(--primary); transform:scale(1.04); z-index:1; }
.pricing-card.featured:hover { border-color:var(--gold); }
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-price sub,
.pricing-card.featured .plan-desc,
.pricing-card.featured .plan-feature { color:#fff; }
.pricing-card.featured .plan-feature i { color:var(--gold); }
.pricing-card.featured .plan-desc { border-color:rgba(255,255,255,.1); }
.featured-tag {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:#fff; font-size:.73rem; font-weight:700;
  padding:4px 16px; border-radius:var(--radius-full); white-space:nowrap;
  text-transform:uppercase; letter-spacing:.06em;
}
.plan-name  { font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--text-muted); margin-bottom:1rem; }
.plan-price { font-family:var(--font-heading); font-size:2.8rem; font-weight:800; color:var(--primary); line-height:1; margin-bottom:.5rem; }
.plan-price sup { font-size:1.2rem; font-weight:500; vertical-align:super; }
.plan-price sub { font-size:.85rem; font-weight:500; color:var(--text-muted); }
.plan-desc  { color:var(--text-muted); font-size:.85rem; margin-bottom:1.75rem; padding-bottom:1.75rem; border-bottom:1px solid var(--border); }
.plan-features { list-style:none; display:grid; gap:.875rem; margin-bottom:2rem; }
.plan-feature { display:flex; align-items:center; gap:.75rem; font-size:.9rem; color:var(--text); }
.plan-feature i { color:var(--gold); font-size:.85rem; }

/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.about-section { background:#fff; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.about-label { font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--gold); margin-bottom:1rem; display:block; }
.about-grid .section-header { text-align:left; margin-bottom:1.5rem; }
.about-grid .section-header h2 { font-size:2.2rem; }
.about-text { color:var(--text-muted); font-size:.95rem; line-height:1.75; margin-bottom:1rem; }
.about-cards { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; margin-top:2rem; }
.about-mini {
  background:var(--bg); border-radius:var(--radius-lg); padding:1.5rem;
  border:1px solid var(--border); transition:var(--transition);
}
.about-mini:hover { box-shadow:var(--shadow); border-color:var(--gold); }
.about-mini h4 { font-size:.95rem; margin-bottom:.4rem; }
.about-mini p  { color:var(--text-muted); font-size:.82rem; }
.about-visual {
  border-radius:var(--radius-xl); overflow:hidden; position:relative;
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  padding:3rem 2.5rem; min-height:400px; display:flex; flex-direction:column; justify-content:flex-end;
}
.about-visual-overlay { position:absolute; inset:0; background:radial-gradient(ellipse at top, rgba(201,162,39,.06), transparent 60%); }
.about-visual-content { position:relative; z-index:1; }
.about-visual h3 { color:#fff; font-size:1.6rem; margin-bottom:1rem; }
.about-visual h3 span { color:var(--gold); }
.about-visual p { color:rgba(255,255,255,.65); font-size:.9rem; line-height:1.7; margin-bottom:1.5rem; }
.about-langs { display:flex; gap:.75rem; }
.lang-pill {
  padding:.4rem .875rem; border-radius:var(--radius-full); font-size:.8rem; font-weight:600;
  border:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.75);
}
.lang-pill.active { background:var(--gold); border-color:var(--gold); color:#fff; }

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
  background:linear-gradient(135deg,var(--primary) 0%,#1a3a5c 100%);
  text-align:center; position:relative; overflow:hidden;
}
.cta-section::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at center, rgba(201,162,39,.1), transparent 65%);
}
.cta-section h2 { color:#fff; font-size:2.5rem; margin-bottom:1rem; position:relative; }
.cta-section p  { color:rgba(255,255,255,.73); font-size:1.05rem; max-width:580px; margin:0 auto 2.5rem; position:relative; }
.cta-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; position:relative; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: #060e1a;
  color: rgba(255,255,255,.7);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand { margin-bottom:1.25rem; }
.footer-brand .name  { font-family:var(--font-heading); font-size:1.4rem; font-weight:800; color:#fff; }
.footer-brand .name span { color:var(--gold); }
.footer-brand .tagline { font-size:.62rem; color:rgba(255,255,255,.4); letter-spacing:1.5px; text-transform:uppercase; }
.footer-desc { font-size:.875rem; line-height:1.7; margin-bottom:1.5rem; color:rgba(255,255,255,.5); }
.social-links { display:flex; gap:.75rem; }
.social-link {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.55); text-decoration:none; font-size:.9rem; transition:var(--transition);
}
.social-link:hover { background:var(--gold); border-color:var(--gold); color:#fff; }
.footer-col h4 { color:#fff; font-size:.95rem; margin-bottom:1.5rem; font-weight:600; position:relative; padding-bottom:.75rem; }
.footer-col h4::after { content:''; position:absolute; bottom:0; left:0; width:32px; height:2px; background:var(--gold); }
.footer-col ul { list-style:none; display:grid; gap:.75rem; }
.footer-col ul li a { color:rgba(255,255,255,.5); font-size:.875rem; transition:var(--transition); }
.footer-col ul li a:hover { color:var(--gold); padding-left:4px; }
.footer-bottom { text-align:center; padding:1.5rem 0; font-size:.8rem; color:rgba(255,255,255,.3); }
.footer-bottom a { color:rgba(255,255,255,.35); }
.footer-bottom a:hover { color:var(--gold); }

/* ─────────────────────────────────────────
   AUTH PAGES
───────────────────────────────────────── */
.auth-page {
  min-height:100vh;
  background:linear-gradient(135deg,var(--primary) 0%,#1a3a5c 100%);
  display:flex; align-items:center; justify-content:center; padding:2rem;
  position:relative;
}
.auth-page::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 30% 50%, rgba(201,162,39,.06), transparent 60%);
}
.auth-box { background:#fff; border-radius:var(--radius-xl); overflow:hidden; width:100%; max-width:480px; box-shadow:var(--shadow-lg); position:relative; z-index:1; }
.auth-box-wide { max-width:600px; }
.auth-header { background:linear-gradient(135deg,var(--primary),var(--primary-light)); padding:2.5rem 2rem; text-align:center; color:#fff; }
.auth-logo { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:1.5rem; }
.auth-logo-img { height:75px; width:auto; max-width:240px; object-fit:contain; }
.auth-logo-name { font-family:var(--font-heading); font-size:1.75rem; font-weight:800; color:#fff; }
.auth-logo-name span { color:var(--gold); }
.auth-header h2 { color:#fff; font-size:1.35rem; margin-bottom:.5rem; }
.auth-header p  { color:rgba(255,255,255,.62); font-size:.9rem; }
.auth-role-tabs { display:grid; grid-template-columns:1fr 1fr; background:rgba(255,255,255,.08); border-radius:10px; padding:4px; margin-top:1.5rem; }
.auth-role-tab { padding:.6rem; text-align:center; border-radius:7px; font-size:.85rem; font-weight:600; cursor:pointer; color:rgba(255,255,255,.55); transition:var(--transition); display:flex; align-items:center; justify-content:center; gap:6px; }
.auth-role-tab.active { background:#fff; color:var(--primary); }
.auth-body { padding:2.5rem; }
.form-group  { margin-bottom:1.5rem; }
.form-label  { display:block; font-size:.875rem; font-weight:500; color:var(--text); margin-bottom:.5rem; }
.form-control, .form-select {
  width:100%; padding:.75rem 1rem; border:1.5px solid var(--border);
  border-radius:var(--radius); font-family:var(--font-body); font-size:.95rem;
  color:var(--text); background:#fff; transition:var(--transition); outline:none;
}
.form-control:focus, .form-select:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,162,39,.12); }
.form-select {
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.auth-footer-text { text-align:center; margin-top:1.5rem; font-size:.875rem; color:var(--text-muted); }
.auth-footer-text a { font-weight:600; color:var(--gold); }
.auth-remember { display:flex; align-items:center; gap:.5rem; font-size:.875rem; color:var(--text-muted); cursor:pointer; }

/* Alerts */
.alert { padding:.875rem 1rem; border-radius:var(--radius); font-size:.875rem; margin-bottom:1.25rem; display:flex; align-items:center; gap:.75rem; }
.alert-danger  { background:#fef2f2; color:#dc2626; border:1px solid #fecaca; }
.alert-success { background:#f0fdf4; color:#16a34a; border:1px solid #bbf7d0; }

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
[data-anim] { opacity:0; transform:translateY(28px); transition:opacity .6s ease,transform .6s ease; }
[data-anim].visible { opacity:1; transform:translateY(0); }
[data-delay="1"]{ transition-delay:.1s; }
[data-delay="2"]{ transition-delay:.2s; }
[data-delay="3"]{ transition-delay:.3s; }
[data-delay="4"]{ transition-delay:.4s; }
[data-delay="5"]{ transition-delay:.5s; }

/* ─────────────────────────────────────────
   RESPONSIVE DESIGN SYSTEM
───────────────────────────────────────── */

/* Large screens / Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { gap: 3rem; }
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

/* Tablets / Medium Screens (max-width: 991px) */
@media (max-width: 991px) {
  .top-bar { display: none; }
  .hero { min-height: auto; padding: 2.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero h1 br { display: none; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  .hero-visual {
    display: block;
    max-width: 520px;
    margin: 1.5rem auto 0;
    width: 100%;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .vm-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
    max-width: 900px;
  }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Small Tablets / Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .section { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: clamp(1.6rem, 4.5vw, 2rem); }
  
  .hero h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.5rem;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 1.5rem 0.75rem; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-num { font-size: clamp(1.8rem, 4.5vw, 2.2rem); }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.5rem 1.25rem; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .service-card { padding: 1.5rem 1rem; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 0.85rem; }

  .courses-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .categories-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .categories-row::-webkit-scrollbar { display: none; }
  .cat-chip { white-space: nowrap; flex-shrink: 0; padding: 0.45rem 1.1rem; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 1.5rem;
    margin: 0 auto;
    width: 100%;
  }
  .pricing-card { padding: 2rem 1.5rem; }

  .why-card-box { padding: 1.75rem 1.25rem; }
  .vm-card { padding: 2rem 1.5rem; }

  .about-cards { grid-template-columns: 1fr; gap: 1rem; }
  .about-visual { min-height: 280px; padding: 2rem 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Dual Portal Mockup on Phones */
  .hero-visual .hero-float {
    padding: 0.6rem 0.75rem;
  }
  .hero-visual .hf-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .hero-visual .hf-text .lbl { font-size: 0.65rem; }
  .hero-visual .hf-text .val { font-size: 0.8rem; }
  .portal-tab { font-size: 0.75rem; padding: 0.5rem 0.25rem; }
  
  #portal-student > div > div:first-child,
  #portal-patient > div > div:first-child {
    display: none !important;
  }
  #portal-patient > div > div:nth-child(2) {
    padding: 0.85rem !important;
  }
  #portal-patient > div > div:nth-child(2) > div:last-child {
    grid-template-columns: 1fr !important;
  }

  .auth-body { padding: 1.5rem 1.25rem; }
  .auth-header { padding: 2rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1.25rem;
  }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .pricing-tabs { gap: 0.5rem; margin-bottom: 2rem; }
  .pricing-tab { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
  .plan-price { font-size: 2.3rem; }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.5rem;
    padding: 1rem 0.75rem;
  }
  .hero-stat .num { font-size: 1.3rem; }
  .hero-stat .lbl { font-size: 0.65rem; }
  
  .services-grid { grid-template-columns: 1fr; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.88rem; }

  .pricing-tab { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
  .pricing-card { padding: 1.5rem 1rem; }
  .plan-price { font-size: 2rem; }
}

