/* ============================================================
   TMS INSTITUTE — Hospital Administration 2026
   Premium design matching hinall.com quality level
   ============================================================ */

:root {
  --primary:       #0A2463;
  --primary-light: #1B3A7A;
  --blue:          #0EA5E9;
  --blue-dark:     #0284C7;
  --teal:          #10B981;
  --teal-light:    #34D399;
  --purple:        #8B5CF6;
  --white:         #FFFFFF;
  --bg-light:      #F0F7FF;
  --bg-gray:       #F8FAFC;
  --bg-dark:       #060D1F;
  --text-dark:     #0D1421;
  --text-mid:      #374151;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --border-light:  #F3F4F6;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:     0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl:     0 20px 60px rgba(0,0,0,0.2);
  --shadow-blue:   0 8px 28px rgba(10,36,99,0.22);
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-full: 9999px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --font:  'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --sec-pad: 92px 0;
  --ann-h: 34px;
  --hdr-h: 68px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font); color: var(--text-dark);
  background: var(--white); line-height: 1.65; overflow-x: hidden;
  width: 100%; max-width: 100vw;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--blue));
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  z-index: 10001; transition: width 0.1s linear;
}
@keyframes progressShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.65s var(--ease), visibility 0.65s var(--ease);
}
#preloader.hide { opacity: 0; visibility: hidden; }
.pre-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pre-cross {
  position: relative; width: 62px; height: 62px;
  animation: preCrossPulse 1.1s ease-in-out infinite;
}
.pre-cross span { position: absolute; background: white; border-radius: 5px; }
.pre-cross span:nth-child(1) { width: 62px; height: 17px; top: 50%; left: 0; transform: translateY(-50%); }
.pre-cross span:nth-child(2) { width: 17px; height: 62px; left: 50%; top: 0; transform: translateX(-50%); }
@keyframes preCrossPulse {
  0%,100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(96,213,250,0.4)); }
  50%      { transform: scale(0.8); filter: drop-shadow(0 0 22px rgba(96,213,250,0.8)); }
}
.pre-ecg { width: 290px; height: 42px; overflow: visible; }
.pre-ecg-line {
  fill: none; stroke: #60D5FA; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: drawECGPre 1.6s ease-out forwards 0.2s;
}
@keyframes drawECGPre { to { stroke-dashoffset: 0; } }
.pre-label {
  color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  animation: preLabelBlink 0.9s ease-in-out infinite alternate;
}
@keyframes preLabelBlink { from { opacity: 0.3; } to { opacity: 1; } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, select, .ov-card, .career-card, .faculty-card, .module-card, .price-card, .cur-tab { cursor: none; }
}
#cur-dot {
  position: fixed; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); z-index: 99998; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.2s;
}
#cur-ring {
  position: fixed; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(14,165,233,0.55); z-index: 99997; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.2s;
}
#cur-dot.c-big  { width: 14px; height: 14px; background: var(--teal); }
#cur-ring.c-big { width: 54px; height: 54px; border-color: rgba(16,185,129,0.7); }

/* ============================================================
   ENHANCED GLOBAL ANIMATIONS
   ============================================================ */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes badgeGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
  50%      { box-shadow: 0 0 0 6px rgba(14,165,233,0.12); }
}
@keyframes chipPulse {
  0%,100% { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.22); }
  50%      { background: rgba(14,165,233,0.18); border-color: rgba(14,165,233,0.5); }
}
@keyframes scanLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes floatPill {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

/* ============================================================
   CONTAINER + SHARED
   ============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.sec-header { text-align: center; margin-bottom: 54px; }

.badge-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(14,165,233,0.1); color: var(--blue-dark);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 0.77rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 14px;
  animation: chipPulse 4s ease-in-out infinite;
}
.badge-chip.light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); animation: none; }

.sec-title {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-weight: 800;
  color: var(--primary); line-height: 1.15; margin-bottom: 14px;
}
.sec-title.white { color: white; }
.sec-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.sec-desc-center { font-size: 0.97rem; color: var(--text-muted); max-width: 570px; margin: 0 auto; line-height: 1.72; }
.sec-desc-center.light { color: rgba(255,255,255,0.65); }

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--teal), #60D5FA, var(--blue));
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientShift 5s ease infinite;
}
.gradient-text-light {
  background: linear-gradient(135deg, #60D5FA, #34D399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* spotlight span (injected by JS) */
.spotlight-card { position: relative; overflow: hidden; }
.spl {
  position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; pointer-events: none; z-index: 0;
  transition: opacity 0.3s;
}
.spotlight-card > * { position: relative; z-index: 1; }

/* ripple */
.ripple-fx {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.28); pointer-events: none;
  animation: rippleAnim 0.7s linear forwards;
}
@keyframes rippleAnim { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  height: var(--ann-h); overflow: hidden;
  background: linear-gradient(90deg, var(--primary) 0%, var(--blue-dark) 50%, #0369a1 100%);
  background-size: 200% 100%;
  animation: annGrad 7s ease infinite;
  display: flex; align-items: center;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.announcement-bar.ann-hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
@keyframes annGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.announcement-track {
  display: flex; white-space: nowrap;
  animation: marquee 28s linear infinite;
  color: white; font-size: 0.76rem; font-weight: 500;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed; top: var(--ann-h); left: 0; right: 0; z-index: 1001;
  padding: 8px 16px;
  transition: top 0.35s var(--ease), padding 0.35s var(--ease);
}
#header.scrolled { top: 0; padding: 0; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--r-xl); padding: 10px 22px;
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease); gap: 16px;
}
#header.scrolled .header-inner { border-radius: 0; box-shadow: var(--shadow-lg); border-left: none; border-right: none; border-top: none; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main { font-size: 0.96rem; font-weight: 700; color: var(--primary); }
.brand-sub  { font-size: 0.62rem; color: var(--text-muted); font-weight: 500; }

#nav { display: flex; align-items: center; gap: 2px; }
#nav a {
  font-size: 0.86rem; font-weight: 500; color: var(--text-mid);
  padding: 8px 13px; border-radius: var(--r-full);
  transition: all 0.22s var(--ease); white-space: nowrap;
}
#nav a:hover { color: var(--primary); background: var(--bg-light); }
#nav .nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--blue-dark));
  color: white; font-weight: 600; margin-left: 6px;
  box-shadow: 0 4px 14px rgba(10,36,99,0.28);
}
#nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,36,99,0.4); background: linear-gradient(135deg, var(--blue-dark), var(--primary)); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1002; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: white; }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: white; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh; padding: calc(var(--ann-h) + var(--hdr-h) + 48px) 0 90px;
  position: relative; overflow: hidden;
  background: linear-gradient(148deg, #080F2F 0%, #0E2060 50%, #0B4D88 100%);
  display: flex; align-items: center;
  width: 100%; max-width: 100%;
}
.hero::after {
  content: '\002B'; font-size: clamp(200px, 55vw, 400px); font-weight: 900;
  position: absolute; right: -5vw; bottom: -5%;
  color: var(--blue); opacity: 0.05; line-height: 1;
  pointer-events: none; user-select: none;
  animation: crossFloat 8s ease-in-out infinite;
}
@keyframes crossFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 { width: clamp(200px, 45vw, 480px); height: clamp(200px, 45vw, 480px); background: rgba(14,165,233,0.22); top: -80px; right: -40px; }
.orb-2 { width: clamp(160px, 36vw, 360px); height: clamp(160px, 36vw, 360px); background: rgba(16,185,129,0.18); bottom: -40px; left: -60px; animation-delay: 3.5s; }
.orb-3 { width: clamp(120px, 25vw, 260px); height: clamp(120px, 25vw, 260px); background: rgba(139,92,246,0.15); top: 38%; left: 34%; animation-delay: 7s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(18px,-18px) scale(1.07); }
  66%      { transform: translate(-14px,12px) scale(0.93); }
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; position: relative; z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px); color: rgba(255,255,255,0.9);
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 0.78rem; font-weight: 500; margin-bottom: 22px; width: fit-content;
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,165,233,0); }
  50%      { box-shadow: 0 0 0 6px rgba(14,165,233,0.12); }
}
.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.3rem); font-weight: 900;
  color: white; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.5px;
}
.typed-text { color: #60D5FA; }
.type-cursor { color: #60D5FA; animation: cursorBlink 0.85s step-end infinite; }
@keyframes cursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-subtitle {
  font-size: 1.03rem; color: rgba(255,255,255,0.75);
  max-width: 500px; line-height: 1.78; margin-bottom: 34px;
}
.hero-subtitle strong { color: #60D5FA; font-weight: 600; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-glow {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; padding: 15px 30px; border-radius: var(--r-full);
  font-weight: 700; font-size: 1rem; font-family: var(--font);
  box-shadow: 0 8px 26px rgba(14,165,233,0.42);
  transition: all 0.3s var(--ease);
  animation: glowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 8px 26px rgba(14,165,233,0.42); }
  50%      { box-shadow: 0 8px 38px rgba(14,165,233,0.65), 0 0 0 7px rgba(14,165,233,0.1); }
}
.btn-glow:hover { transform: translateY(-2px); animation: none; box-shadow: 0 14px 38px rgba(14,165,233,0.55); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.09); border: 1.5px solid rgba(255,255,255,0.28);
  color: white; padding: 14px 28px; border-radius: var(--r-full);
  font-weight: 600; font-size: 1rem; backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.hero-tags { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-tags span { display: flex; align-items: center; gap: 6px; font-size: 0.81rem; color: rgba(255,255,255,0.7); }
.hero-tags span i { color: var(--teal-light); font-size: 0.74rem; }

/* Hero Visual */
.hero-img-wrap { position: relative; }
.hero-img {
  width: 100%; border-radius: var(--r-xl);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.1);
  animation: floatImg 4.8s ease-in-out infinite;
}
@keyframes floatImg { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: var(--r-md); padding: 10px 16px;
  box-shadow: var(--shadow-lg); color: var(--primary);
}
.float-badge i { font-size: 1.35rem; color: var(--blue); }
.float-badge div { display: flex; flex-direction: column; line-height: 1.2; }
.float-badge strong { font-size: 1rem; font-weight: 800; }
.float-badge span { font-size: 0.7rem; color: var(--text-muted); }
.badge-tr { top: -16px; right: -16px; animation: floatImg 4.8s ease-in-out infinite 1.1s; }
.badge-bl { bottom: -16px; left: -16px; animation: floatImg 4.8s ease-in-out infinite 2.2s; }

.hero-ring {
  position: absolute; inset: -18px; border-radius: var(--r-xl);
  border: 2px solid rgba(14,165,233,0.28);
  animation: ringPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
.ring-2 { inset: -32px; border-color: rgba(16,185,129,0.17); animation-delay: 1.3s; }
@keyframes ringPulse {
  0%,100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.014); }
}

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.32);
  border-radius: 13px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel { width: 4px; height: 7px; background: rgba(255,255,255,0.5); border-radius: 2px; animation: wheelScroll 2s ease-in-out infinite; }
@keyframes wheelScroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }

/* ============================================================
   ECG DIVIDER
   ============================================================ */
.ecg-divider { background: #0B4D88; line-height: 0; overflow: hidden; }
.ecg-divider svg { width: 100%; height: 60px; display: block; }
.ecg-line {
  fill: none; stroke: rgba(96,213,250,0.6); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 4500; stroke-dashoffset: 4500;
  animation: ecgDraw 4s ease-out forwards 0.5s, ecgColorPulse 3.5s ease-in-out infinite 4.5s;
}
@keyframes ecgDraw { to { stroke-dashoffset: 0; } }
@keyframes ecgColorPulse {
  0%,100% { stroke: rgba(96,213,250,0.6); }
  50%      { stroke: rgba(52,211,153,0.85); filter: drop-shadow(0 0 8px rgba(52,211,153,0.5)); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { padding: 58px 0; background: var(--white); border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-item {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 20px; border-radius: var(--r-md); border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease);
}
.stat-item:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stat-item > div { display: flex; flex-direction: column; }
.stat-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--blue-dark));
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.15rem;
}
.stat-num  { font-size: 1.95rem; font-weight: 800; color: var(--primary); line-height: 1; display: inline; }
.stat-sfx  { font-size: 1.4rem; font-weight: 800; color: var(--blue); display: inline; }
.stat-lbl  { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: var(--sec-pad); background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.about-content .sec-title { text-align: left; margin-bottom: 14px; }
.about-lead { font-size: 1.04rem; color: var(--text-mid); font-weight: 500; line-height: 1.8; margin-bottom: 14px; }
.about-body { font-size: 0.93rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 26px; }
.about-body strong { color: var(--primary); font-weight: 600; }
.about-highlights { display: flex; flex-direction: column; gap: 11px; }
.ah-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 16px; background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: all 0.3s var(--ease);
}
.ah-item:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateX(5px); background: white; }
.ah-item > i { font-size: 0.95rem; color: var(--blue); margin-top: 3px; flex-shrink: 0; background: rgba(14,165,233,0.1); padding: 8px; border-radius: var(--r-sm); }
.ah-item > div { display: flex; flex-direction: column; gap: 3px; }
.ah-item strong { font-size: 0.89rem; color: var(--primary); font-weight: 700; }
.ah-item span   { font-size: 0.81rem; color: var(--text-muted); line-height: 1.5; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); border: 2px solid rgba(10,36,99,0.06); }
.about-stat-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: white; border-radius: var(--r-md); padding: 12px 17px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  animation: floatImg 4.8s ease-in-out infinite;
}
.about-stat-card i { font-size: 1.3rem; color: var(--blue); }
.about-stat-card > div { display: flex; flex-direction: column; line-height: 1.3; }
.about-stat-card strong { font-size: 0.86rem; font-weight: 700; color: var(--primary); }
.about-stat-card span   { font-size: 0.73rem; color: var(--text-muted); }
.card-1 { top: -18px; right: -16px; animation-delay: 0.6s; }
.card-2 { bottom: -18px; left: -16px; animation-delay: 1.6s; }

/* ============================================================
   HMS SPOTLIGHT
   ============================================================ */
.hms-section { padding: var(--sec-pad); background: var(--bg-light); }
.hms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.hms-content .sec-title { text-align: left; margin-bottom: 12px; }
.hms-content .sec-desc  { text-align: left; margin: 0 0 22px; color: var(--text-mid); }
.check-list { margin-bottom: 30px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 0.92rem; color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--teal); font-size: 0.84rem; flex-shrink: 0; }
.btn-primary-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; padding: 13px 26px; border-radius: var(--r-full);
  font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-blue); transition: all 0.3s var(--ease);
}
.btn-primary-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10,36,99,0.38); }
.hms-img-wrap { position: relative; }
.hms-img-wrap img { border-radius: var(--r-xl); box-shadow: var(--shadow-xl); border: 2px solid rgba(10,36,99,0.06); }
.hms-tag {
  position: absolute; background: white; border-radius: var(--r-full);
  padding: 8px 16px; font-size: 0.8rem; font-weight: 600; color: var(--primary);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 7px;
}
.hms-tag i { color: var(--blue); }
.tag-1 { top: 20px; right: -18px; }
.tag-2 { bottom: 20px; left: -18px; }

/* ============================================================
   OVERVIEW CARDS
   ============================================================ */
.overview-section { padding: var(--sec-pad); background: var(--white); }
.overview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ov-card {
  padding: 30px 22px; border-radius: var(--r-lg); border: 1.5px solid var(--border);
  text-align: center; transition: all 0.35s var(--ease-out);
  will-change: transform;
}
.ov-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0); transition: transform 0.35s var(--ease-out);
}
.ov-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.ov-card:hover::after { transform: scaleX(1); }
.ov-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 15px; color: white;
}
.ic-blue   { background: linear-gradient(135deg, #0A2463, #1B3A7A); }
.ic-teal   { background: linear-gradient(135deg, #0EA5E9, #06B6D4); }
.ic-green  { background: linear-gradient(135deg, #10B981, #059669); }
.ic-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.ic-orange { background: linear-gradient(135deg, #F59E0B, #D97706); }
.ic-red    { background: linear-gradient(135deg, #EF4444, #DC2626); }
.ov-card h3 { font-size: 0.96rem; font-weight: 700; color: var(--primary); margin-bottom: 7px; }
.ov-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   WHY TMS
   ============================================================ */
.why-section {
  padding: var(--sec-pad);
  background: linear-gradient(148deg, var(--primary) 0%, #0f2a70 100%);
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.why-col { display: flex; flex-direction: column; gap: 8px; }
.why-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: rgba(255,255,255,0.065); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md); color: rgba(255,255,255,0.87); font-size: 0.87rem;
  transition: all 0.25s var(--ease);
}
.why-item:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.24); transform: translateX(5px); }
.why-item i { color: var(--teal-light); font-size: 0.8rem; flex-shrink: 0; }

/* ============================================================
   FACULTY SECTION
   ============================================================ */
.faculty-section { padding: var(--sec-pad); background: var(--bg-gray); }

.faculty-exp-banner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl); padding: 32px 40px;
  margin-bottom: 52px; box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.faculty-exp-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: bannerShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bannerShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.feb-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 36px; text-align: center;
}
.feb-num {
  font-size: 2.6rem; font-weight: 900; color: white; line-height: 1;
  background: linear-gradient(135deg, #60D5FA, #34D399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.feb-num sup { font-size: 1.3rem; font-weight: 700; }
.feb-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 500; text-align: center; line-height: 1.4; }
.feb-divider { width: 1px; height: 52px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.faculty-card {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1.5px solid var(--border); transition: all 0.35s var(--ease-out);
  display: flex; flex-direction: column;
}
.faculty-card:hover { border-color: rgba(14,165,233,0.3); box-shadow: 0 16px 48px rgba(10,36,99,0.13); transform: translateY(-6px); }

.faculty-avatar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue-dark) 100%);
  padding: 30px 24px 24px; text-align: center; position: relative;
}
.fav-circle {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.3s var(--ease);
}
.fav-teal   { background: rgba(16,185,129,0.2); border-color: rgba(52,211,153,0.4); }
.fav-purple { background: rgba(139,92,246,0.2); border-color: rgba(167,139,250,0.4); }
.faculty-card:hover .fav-circle { transform: scale(1.08) rotate(-4deg); }

.fav-badge-pill {
  display: inline-block; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  color: white; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--r-full);
}
.pill-teal   { background: rgba(16,185,129,0.25); border-color: rgba(52,211,153,0.4); }
.pill-purple { background: rgba(139,92,246,0.25); border-color: rgba(167,139,250,0.4); }

.faculty-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.faculty-body h3 { font-size: 1rem; font-weight: 800; color: var(--primary); margin: 0; }
.fc-title { font-size: 0.82rem; color: var(--blue-dark); font-weight: 600; margin: 0; }
.fc-exp-bar {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 5px 13px;
  font-size: 0.78rem; font-weight: 600; color: var(--primary);
  width: fit-content;
}
.fc-exp-bar i { color: var(--blue); font-size: 0.7rem; }
.fc-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.fc-tags span {
  font-size: 0.72rem; font-weight: 600; color: var(--blue-dark);
  background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.2);
  padding: 3px 10px; border-radius: var(--r-full);
}

/* ============================================================
   CURRICULUM — TABS
   ============================================================ */
.curriculum-section { padding: var(--sec-pad); background: var(--white); }
.cur-tabs { display: flex; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.cur-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 14px 26px; border: 2px solid var(--border);
  border-radius: var(--r-lg); background: var(--bg-gray);
  font-family: var(--font); font-size: 0.91rem; font-weight: 600; color: var(--text-mid);
  cursor: pointer; transition: all 0.3s var(--ease); flex: 1 1 240px; text-align: left;
  min-height: 66px;
}
.cur-tab i { margin-right: 7px; }
.cur-tab .tab-sub { font-size: 0.73rem; font-weight: 500; color: var(--text-muted); display: block; margin-top: 2px; }
.cur-tab:hover { border-color: var(--blue); color: var(--primary); background: var(--bg-light); }
.cur-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent; color: white; box-shadow: var(--shadow-blue);
}
.cur-tab.active .tab-sub { color: rgba(255,255,255,0.6); }
.cur-panel { display: none; }
.cur-panel.active { display: block; animation: panelIn 0.38s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.curriculum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 18px; background: var(--bg-gray); border-radius: var(--r-md);
  border: 1.5px solid var(--border); transition: all 0.3s var(--ease);
}
.module-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  transform: scaleY(0); transition: transform 0.3s var(--ease); transform-origin: bottom;
  border-radius: 0 0 0 var(--r-sm);
}
.module-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateX(4px); background: white; }
.module-card:hover::before { transform: scaleY(1); }
.module-card:hover .mod-num { color: var(--blue); }
.mod-num { font-size: 1.8rem; font-weight: 900; color: var(--border); line-height: 1; flex-shrink: 0; min-width: 36px; transition: color 0.3s; }
.mod-body h3 { font-size: 0.91rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.mod-body p  { font-size: 0.79rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   CAREERS
   ============================================================ */
.careers-section {
  padding: var(--sec-pad);
  background: linear-gradient(150deg, #050C1C 0%, #091A42 60%, #0A2463 100%);
  position: relative; overflow: hidden;
}
.careers-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}
.careers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; position: relative; z-index: 1; }
.career-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg); padding: 20px 14px;
  transition: all 0.35s var(--ease-out);
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
}
.career-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(14,165,233,0.4); transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.career-icon {
  width: 50px; height: 50px; border-radius: var(--r-md); flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.3);
  transition: transform 0.3s var(--ease);
}
.career-card:hover .career-icon { transform: scale(1.1) rotate(-5deg); }
.career-path { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; }
.cp-entry { font-size: 0.77rem; font-weight: 600; color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.07); border-radius: var(--r-sm); padding: 6px 9px; width: 100%; text-align: center; line-height: 1.4; }
.cp-arrow { color: rgba(255,255,255,0.25); font-size: 0.6rem; }
.cp-mid { font-size: 0.77rem; font-weight: 600; color: #93D5FA; background: rgba(14,165,233,0.12); border-radius: var(--r-sm); padding: 6px 9px; width: 100%; text-align: center; line-height: 1.4; }
.cp-top { font-size: 0.78rem; font-weight: 700; color: #34D399; background: rgba(16,185,129,0.1); border-radius: var(--r-sm); padding: 6px 9px; width: 100%; text-align: center; line-height: 1.4; border: 1px solid rgba(16,185,129,0.22); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { padding: var(--sec-pad); background: var(--bg-light); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; max-width: 860px; margin: 0 auto; }
.price-card {
  background: white; border-radius: var(--r-xl); border: 2px solid var(--border);
  padding: 36px 30px; transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.price-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.price-featured {
  background: linear-gradient(148deg, var(--primary) 0%, #173090 100%);
  border-color: transparent; color: white; box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}
.price-featured:hover { transform: scale(1.03) translateY(-5px); }
.plan-ribbon {
  position: absolute; top: 22px; right: -30px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; font-size: 0.68rem; font-weight: 700;
  padding: 6px 42px; transform: rotate(45deg);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.price-header { margin-bottom: 22px; }
.price-icon {
  width: 52px; height: 52px; background: rgba(14,165,233,0.1);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--blue); margin-bottom: 14px;
}
.feat-icon { background: rgba(255,255,255,0.1); color: #60D5FA; }
.price-header h3 { font-size: 1.07rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.price-featured .price-header h3 { color: white; }
.price-header p  { font-size: 0.82rem; color: var(--text-muted); }
.price-featured .price-header p { color: rgba(255,255,255,0.6); }
.price-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.price-featured .price-amount { border-color: rgba(255,255,255,0.15); }
.p-cur { font-size: 1.35rem; font-weight: 700; color: var(--blue); }
.price-featured .p-cur { color: #60D5FA; }
.p-val { font-size: 2.7rem; font-weight: 900; color: var(--primary); line-height: 1; }
.price-featured .p-val { color: white; }
.p-per { font-size: 0.8rem; color: var(--text-muted); align-self: flex-end; padding-bottom: 4px; }
.price-featured .p-per { color: rgba(255,255,255,0.5); }
.price-breakdown { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.price-featured .price-breakdown { border-color: rgba(255,255,255,0.15); }
.pb-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 0.84rem; color: var(--text-mid); border-bottom: 1px dashed var(--border-light); }
.pb-row:last-child { border-bottom: none; }
.price-featured .pb-row { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.1); }
.price-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.price-features li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-mid); }
.price-featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features li i { color: var(--teal); font-size: 0.76rem; flex-shrink: 0; }
.price-featured .price-features li i { color: var(--teal-light); }
.btn-plan {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: var(--r-full);
  font-weight: 600; font-size: 0.9rem; font-family: var(--font);
  transition: all 0.3s var(--ease);
  background: var(--bg-light); color: var(--primary); border: 2px solid var(--border);
}
.btn-plan:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }
.btn-plan-feat { background: linear-gradient(135deg, var(--blue), var(--teal)); color: white; border: none; box-shadow: 0 8px 22px rgba(14,165,233,0.38); }
.btn-plan-feat:hover { box-shadow: 0 12px 32px rgba(14,165,233,0.5); color: white; }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 7px; }
.pricing-note i { color: var(--blue); }

/* ============================================================
   ENROLLMENT
   ============================================================ */
.enroll-section { padding: var(--sec-pad); background: var(--white); }
.enroll-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.enroll-info .sec-title { text-align: left; font-size: 2.05rem; }
.enroll-info p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 26px; }
.perks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--blue-dark));
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.perk div { display: flex; flex-direction: column; }
.perk strong { font-size: 0.87rem; color: var(--text-dark); font-weight: 600; }
.perk span   { font-size: 0.77rem; color: var(--text-muted); }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.c-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: var(--r-full);
  font-size: 0.84rem; font-weight: 600;
  border: 2px solid var(--border); color: var(--primary);
  transition: all 0.3s var(--ease); min-height: 48px;
}
.c-btn:hover { border-color: var(--primary); background: var(--primary); color: white; }
.c-wa { border-color: #25D366; color: #25D366; }
.c-wa:hover { background: #25D366; color: white; border-color: #25D366; }
.enroll-form-box { background: var(--bg-gray); border-radius: var(--r-xl); padding: 38px 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.79rem; font-weight: 600; color: var(--text-mid); letter-spacing: 0.2px; }
.form-group input,
.form-group select {
  padding: 13px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--font); font-size: 1rem;
  color: var(--text-dark); background: white; outline: none;
  transition: all 0.25s var(--ease); min-height: 48px;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
.form-group input::placeholder { color: var(--text-muted); font-size: 0.88rem; }
.form-message { padding: 12px 15px; border-radius: var(--r-sm); font-size: 0.85rem; font-weight: 500; margin-bottom: 12px; }
.form-message.success { background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.3); }
.form-message.error   { background: rgba(239,68,68,0.1);  color: #DC2626;  border: 1px solid rgba(239,68,68,0.3);  }
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px; border: none; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--primary), var(--blue-dark));
  color: white; font-family: var(--font); font-size: 0.97rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s var(--ease); box-shadow: var(--shadow-blue);
  margin-top: 6px; min-height: 54px;
}
.btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10,36,99,0.4); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.65); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo { display: flex; align-items: center; gap: 9px; color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.footer-logo i { color: var(--blue); font-size: 1.25rem; }
.footer-tagline { font-size: 0.77rem; color: rgba(255,255,255,0.38); font-style: italic; margin-bottom: 13px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; color: rgba(255,255,255,0.48); margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.84rem; transition: all 0.25s var(--ease);
  min-width: 36px;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 0.86rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.48); padding: 4px 0; transition: all 0.22s var(--ease); }
.footer-col a:hover { color: var(--blue); transform: translateX(4px); }
.footer-col p { font-size: 0.83rem; color: rgba(255,255,255,0.48); margin-bottom: 9px; display: flex; gap: 8px; align-items: flex-start; }
.footer-col p i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.footer-col p a { display: inline; color: rgba(255,255,255,0.65); padding: 0; }
.footer-col p a:hover { color: var(--blue); transform: none; }
.footer-trust {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25);
  color: var(--blue); padding: 5px 12px; border-radius: var(--r-full);
  font-size: 0.74rem; font-weight: 600; margin-top: 12px;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.79rem; color: rgba(255,255,255,0.28); }

/* ============================================================
   WA FLOAT + BTT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  box-shadow: 0 6px 22px rgba(37,211,102,0.5); z-index: 900;
  animation: waPulse 3.2s ease-in-out infinite; transition: all 0.3s var(--ease);
}
@keyframes waPulse { 0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,0.5); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); } }
.wa-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.wa-tip { position: absolute; right: 66px; background: rgba(0,0,0,0.75); color: white; padding: 5px 11px; border-radius: var(--r-sm); font-size: 0.77rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); }
.wa-float:hover .wa-tip { opacity: 1; }
.btt {
  position: fixed; bottom: 24px; left: 24px;
  width: 44px; height: 44px; background: var(--primary); border: none; border-radius: 50%;
  color: white; font-size: 0.86rem; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.3s var(--ease); z-index: 900; box-shadow: var(--shadow-md);
}
.btt.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.btt:hover { background: var(--blue); transform: translateY(-3px); }

/* ============================================================
   GAME SECTION
   ============================================================ */
.game-section { padding: var(--sec-pad); background: var(--bg-gray); }
.game-wrapper { max-width: 680px; margin: 0 auto; background: white; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); overflow: hidden; border: 1.5px solid var(--border); min-height: 420px; display: flex; align-items: stretch; }
.game-screen { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px 36px; width: 100%; }
.game-screen.active { display: flex; }
.gs-icon { font-size: 3.8rem; margin-bottom: 14px; animation: floatImg 3s ease-in-out infinite; }
#gs-start h3 { font-size: 1.45rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
#gs-start p  { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 22px; }
.gs-meta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.gs-meta span { display: flex; align-items: center; gap: 7px; background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--r-full); padding: 7px 15px; font-size: 0.82rem; font-weight: 600; color: var(--primary); }
.gs-meta span i { color: var(--blue); }
.btn-game-start { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--primary), var(--blue-dark)); color: white; border: none; padding: 14px 34px; border-radius: var(--r-full); font-family: var(--font); font-size: 1.03rem; font-weight: 700; cursor: pointer; transition: all 0.3s var(--ease); box-shadow: var(--shadow-blue); min-height: 52px; }
.btn-game-start:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,36,99,0.38); }
#gs-quiz { padding: 26px 32px 32px; justify-content: flex-start; align-items: stretch; text-align: left; }
.game-hud { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.hud-score,.hud-qnum,.hud-timer { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--primary); background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--r-full); padding: 6px 13px; }
.hud-score i { color: #F59E0B; }
.hud-timer { transition: all 0.3s; }
.timer-urgent { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.4); color: #DC2626; animation: timerShake 0.5s ease infinite; }
@keyframes timerShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.game-timer-bar { height: 5px; background: var(--border); border-radius: var(--r-full); margin-bottom: 20px; overflow: hidden; }
.g-bar-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: var(--r-full); transition: width 0.9s linear, background 0.5s; }
.game-question-card { background: var(--bg-light); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 16px; }
#g-question { font-size: 1.02rem; font-weight: 600; color: var(--primary); line-height: 1.5; }
.game-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.g-opt { padding: 12px 13px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: white; font-family: var(--font); font-size: 0.86rem; font-weight: 500; color: var(--text-mid); cursor: pointer; text-align: left; line-height: 1.4; transition: all 0.2s; min-height: 48px; }
.g-opt:hover:not(:disabled) { border-color: var(--blue); color: var(--primary); background: var(--bg-light); }
.opt-correct { background: rgba(16,185,129,0.1) !important; border-color: var(--teal) !important; color: #059669 !important; font-weight: 700 !important; }
.opt-wrong   { background: rgba(239,68,68,0.1) !important; border-color: #EF4444 !important; color: #DC2626 !important; animation: wrongShake 0.35s ease; }
@keyframes wrongShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 60% { transform: translateX(5px); } }
.g-feedback { font-size: 0.87rem; font-weight: 600; min-height: 22px; padding: 6px 11px; border-radius: var(--r-sm); transition: all 0.25s; }
.fb-correct { background: rgba(16,185,129,0.1); color: #059669; }
.fb-wrong   { background: rgba(239,68,68,0.1); color: #DC2626; }
.g-res-emoji { font-size: 3.8rem; margin-bottom: 12px; animation: floatImg 3s ease-in-out infinite; }
#gs-result h3 { font-size: 1.55rem; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.g-res-score { display: flex; align-items: baseline; gap: 4px; justify-content: center; margin-bottom: 12px; }
#g-final-score { font-size: 3.4rem; font-weight: 900; color: var(--primary); line-height: 1; }
.g-of { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.g-res-msg { color: var(--text-muted); font-size: 0.93rem; max-width: 400px; line-height: 1.65; margin-bottom: 26px; }
.g-res-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-play-again { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-light); border: 2px solid var(--border); color: var(--primary); padding: 12px 20px; border-radius: var(--r-full); font-family: var(--font); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.3s; min-height: 48px; }
.btn-play-again:hover { background: var(--primary); color: white; border-color: var(--primary); }
.btn-glow-sm { padding: 12px 20px; font-size: 0.88rem; animation: none; box-shadow: 0 6px 16px rgba(14,165,233,0.32); }

/* ============================================================
   RESPONSIVE — TABLET ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sec-pad: 70px 0; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin: 0 auto 30px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content .sec-title { text-align: center; }
  .about-visual { max-width: 500px; margin: 0 auto; }

  .hms-grid { grid-template-columns: 1fr; gap: 38px; }
  .hms-content .sec-title, .hms-content .sec-desc { text-align: center; }
  .check-list { max-width: 460px; margin: 0 auto 28px; }
  .hms-content a { display: block; width: fit-content; margin: 0 auto; }

  .overview-grid { grid-template-columns: repeat(2,1fr); }

  .why-grid { grid-template-columns: 1fr; }

  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .faculty-exp-banner { padding: 24px 20px; }
  .feb-item { padding: 0 20px; }

  .careers-grid { grid-template-columns: repeat(2,1fr); }

  .curriculum-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .price-featured { transform: none; }
  .price-featured:hover { transform: translateY(-5px); }

  .enroll-wrap { grid-template-columns: 1fr; gap: 38px; }
  .enroll-info .sec-title { text-align: center; }
  .enroll-info { text-align: center; }
  .perks { align-items: center; }
  .contact-btns { justify-content: center; }

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

/* ============================================================
   RESPONSIVE — MOBILE ≤768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sec-pad: 54px 0;
    --ann-h: 30px;
    --hdr-h: 60px;
  }
  .container { padding: 0 18px; }

  /* Announcement bar smaller on mobile */
  .announcement-track { font-size: 0.7rem; }

  /* Header */
  #header { padding: 6px 12px; }
  .header-inner { padding: 9px 14px; border-radius: var(--r-lg); }
  .brand-sub { display: none; }

  /* Full-screen mobile nav */
  #nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6,13,31,0.98); backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; z-index: 1001;
    transform: translateX(100%); transition: transform 0.38s var(--ease-out);
    padding: 24px;
  }
  #nav.open { transform: translateX(0); }
  #nav a { font-size: 1.1rem; color: rgba(255,255,255,0.82); padding: 14px 32px; width: 220px; text-align: center; border-radius: var(--r-md); min-height: 52px; display: flex; align-items: center; justify-content: center; }
  #nav a:hover { background: rgba(255,255,255,0.1); color: white; }
  #nav .nav-cta { background: linear-gradient(135deg, var(--blue), var(--teal)); color: white; margin-top: 10px; }
  .hamburger { display: flex; }

  /* Hide cursor on mobile */
  #cur-dot, #cur-ring { display: none !important; }

  /* Hero — force single column, prevent overflow */
  .hero { padding: calc(var(--ann-h) + var(--hdr-h) + 28px) 0 64px; width: 100%; }
  .hero::after { font-size: clamp(180px, 60vw, 300px); right: -8vw; opacity: 0.08; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    width: 100%;
  }
  .hero-visual { display: none; }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 4px;
  }
  .hero-badge { margin: 0 auto 20px; font-size: 0.73rem; }
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.4rem); line-height: 1.12; margin-bottom: 18px; }
  .hero-subtitle { margin: 0 auto 26px; max-width: 100%; font-size: 0.95rem; line-height: 1.7; }
  .hero-actions { justify-content: center; gap: 12px; margin-bottom: 24px; }
  .hero-tags { justify-content: center; gap: 14px; }
  .btn-glow, .btn-ghost { padding: 14px 26px; font-size: 0.94rem; min-height: 52px; }
  .badge-tr, .badge-bl { display: none; }
  .hero-ring, .ring-2 { display: none; }
  .scroll-cue { display: none; }

  /* Section headers — reduce giant bottom gap on mobile */
  .sec-header { margin-bottom: 30px; }
  .sec-desc-center { font-size: 0.9rem; }

  /* ECG — reduce height */
  .ecg-divider svg { height: 40px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 16px 14px; gap: 12px; }
  .stat-icon { width: 44px; height: 44px; font-size: 1rem; }
  .stat-num { font-size: 1.7rem; }

  /* About — hide image on mobile */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-content .sec-title { text-align: center; }
  .about-lead { font-size: 0.95rem; }
  .card-1, .card-2 { display: none; }
  .about-visual { display: none; }

  /* HMS — hide image on mobile */
  .hms-grid { grid-template-columns: 1fr; gap: 24px; }
  .hms-content .sec-title { text-align: center; }
  .hms-content .sec-desc { text-align: center; }
  .check-list { max-width: 100%; margin: 0 0 24px; }
  .hms-content a { margin: 0 auto; display: block; width: fit-content; }
  .tag-1, .tag-2 { display: none; }
  .hms-visual { display: none; }

  /* Overview */
  .overview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ov-card { padding: 20px 14px; }
  .ov-icon { width: 48px; height: 48px; font-size: 1.15rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 8px; }
  .why-item { padding: 10px 13px; font-size: 0.84rem; }
  .why-item i { font-size: 0.75rem; }

  /* Faculty */
  .faculty-grid { grid-template-columns: 1fr; }
  .faculty-exp-banner { flex-direction: row; padding: 18px 16px; gap: 0; justify-content: space-around; }
  .feb-item { padding: 0 8px; }
  .feb-num { font-size: 1.8rem; }
  .feb-divider { height: 36px; }
  .feb-lbl { font-size: 0.68rem; }

  /* Curriculum tabs */
  .cur-tabs { flex-direction: column; }
  .cur-tab { flex: none; width: 100%; min-height: auto; padding: 13px 18px; }
  .curriculum-grid { grid-template-columns: 1fr; }

  /* Careers */
  .careers-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .career-card { padding: 16px 12px; gap: 12px; }
  .cp-entry, .cp-mid, .cp-top { font-size: 0.72rem; padding: 5px 7px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .price-card { padding: 24px 20px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .enroll-form-box { padding: 24px 16px; }
  .form-group input, .form-group select { font-size: 1rem; /* prevents iOS zoom */ }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Game */
  .game-wrapper { min-height: 360px; }
  .game-screen { padding: 28px 18px; }
  #gs-quiz { padding: 20px 16px 26px; }
  .game-options { grid-template-columns: 1fr; }
  .game-hud { gap: 6px; }
  .gs-meta { gap: 8px; }
  #g-question { font-size: 0.96rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE ≤480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --ann-h: 28px; }

  .hero-title { font-size: clamp(1.65rem, 9vw, 2rem); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .btn-glow, .btn-ghost { justify-content: center; width: 100%; min-height: 52px; }
  .hero-tags { flex-direction: column; align-items: center; gap: 8px; }
  .hero-tags span { font-size: 0.84rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .overview-grid { grid-template-columns: 1fr; }

  .faculty-exp-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-radius: var(--r-lg); }
  .feb-divider { display: none; }
  .feb-item { padding: 8px; border-radius: var(--r-md); background: rgba(255,255,255,0.08); }

  .careers-grid { grid-template-columns: 1fr; }

  .sec-title { font-size: 1.5rem; }

  .contact-btns { flex-direction: column; }
  .c-btn { justify-content: center; width: 100%; }

  .footer-social a { width: 42px; height: 42px; }

  .g-res-actions { flex-direction: column; align-items: center; }
  .btn-play-again, .btn-glow-sm { width: 100%; justify-content: center; }

  .pricing-note { flex-direction: column; text-align: center; gap: 4px; }
}

/* ============================================================
   TOUCH FEEDBACK — active states for mobile
   ============================================================ */
@media (hover: none) {
  .faculty-card:active,
  .ov-card:active,
  .career-card:active,
  .price-card:active,
  .stat-item:active,
  .module-card:active {
    transform: scale(0.97);
    border-color: rgba(14,165,233,0.4);
    box-shadow: 0 4px 20px rgba(14,165,233,0.18);
    transition: transform 0.12s ease, border-color 0.12s ease;
  }
  .btn-glow:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: 0 4px 16px rgba(14,165,233,0.38);
  }
  .btn-ghost:active,
  .btn-primary-solid:active {
    transform: scale(0.96) translateY(1px);
    opacity: 0.85;
  }
  .nav-cta:active { transform: scale(0.95); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.3s !important; }
  #hero-canvas { display: none; }
}
