/* ==========================================================================
   QSURV CONSULT — Elevated Stylesheet v2.4
   Design system: survey drawing sheets motif, glassmorphism, teal/purple
   palette, animated mesh substrate, theodolite hero reticle.
   Fully responsive across all form factors (Foldables, Smartphones, Tablets, Desktops).
   ========================================================================== */

/* ---- Design Tokens ---- */
:root {
  --f-head: 'Inter', sans-serif;
  --f-body: 'Poppins', sans-serif;
  --teal: #255F62;
  --teal-bright: #3FA0A3;
  --teal-deep: #12383A;
  --teal-glow: rgba(63, 160, 163, 0.45);
  --purple: #4C3B72;
  --purple-bright: #8A73C4;
  --pale-blue: #AFCBDA;
  --gold-line: #C7A76B;

  --ink: #0F172A;
  --ink-soft: #334155;

  /* Default Light theme tokens */
  --bg-0: #F1F5F9;
  --bg-mesh-a: rgba(37, 95, 98, 0.18);
  --bg-mesh-b: rgba(76, 59, 114, 0.12);
  --bg-mesh-c: rgba(175, 203, 218, 0.30);
  --text-0: #0F172A;
  --text-1: #334155;
  --teal-bright: #1d686b;
}

/* Light theme overrides */
html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] {
  --bg-0: #F1F5F9;
  --bg-mesh-a: rgba(37, 95, 98, 0.18);
  --bg-mesh-b: rgba(76, 59, 114, 0.12);
  --bg-mesh-c: rgba(175, 203, 218, 0.30);
  --text-0: #0F172A;
  --text-1: #334155;
  --teal-bright: #1D686B;
  /* High-contrast deep teal for light mode */
}

/* Dark theme overrides */
html[data-theme="dark"],
body[data-theme="dark"],
[data-theme="dark"] {
  --bg-0: #0B1315;
  --bg-mesh-a: rgba(37, 95, 98, 0.55);
  --bg-mesh-b: rgba(76, 59, 114, 0.45);
  --bg-mesh-c: rgba(175, 203, 218, 0.18);
  --text-0: #F8FAFC;
  --text-1: #CBD5E1;
  --teal-bright: #3FA0A3;
  /* Glowing bright teal for dark mode */
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--f-body);
  color: var(--text-0);
  background: var(--bg-0);
  overflow-x: clip;
  width: 100%;
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-bright), var(--purple-bright), var(--teal-bright));
  background-size: 200% 100%;
  z-index: 10000;
  transition: width 0.08s linear;
  animation: progressShimmer 3s linear infinite;
}

@keyframes progressShimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.has-custom-cursor .cursor-dot {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--teal-bright);
  transition: opacity 0.2s;
  mix-blend-mode: normal;
}

.has-custom-cursor .cursor-ring {
  display: block;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--teal-bright);
  opacity: 0.55;
  transition: width 0.28s var(--ease), height 0.28s var(--ease), opacity 0.28s, border-color 0.28s;
}

.has-custom-cursor .cursor-ring.hovered {
  width: 58px;
  height: 58px;
  opacity: 0.25;
  border-color: var(--purple-bright);
}

/* ==========================================================================
   MESH SUBSTRATE — animated slow gradient
   ========================================================================== */
.mesh-substrate {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-0);
  background-image:
    radial-gradient(at 12% 18%, var(--bg-mesh-a) 0px, transparent 55%),
    radial-gradient(at 88% 12%, var(--bg-mesh-b) 0px, transparent 50%),
    radial-gradient(at 72% 82%, var(--bg-mesh-c) 0px, transparent 55%),
    radial-gradient(at 18% 88%, var(--bg-mesh-a) 0px, transparent 50%),
    radial-gradient(at 50% 50%, var(--bg-mesh-b) 0px, transparent 60%);
  transition: background-color 0.45s ease;
}

.grain {
  display: none !important;
}

/* ==========================================================================
   TYPOGRAPHY & ACCESSIBILITY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-0);
  line-height: 1.25;
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 700;
}

p {
  color: var(--text-1);
  line-height: 1.7;
  font-size: 0.98rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.kpi {
  font-family: var(--f-head);
  font-weight: 700;
  transition: color 0.3s ease;
}

.kpi.counter-done {
  animation: counterFlash 0.65s ease;
}

@keyframes counterFlash {
  0% {
    color: var(--text-0);
  }

  40% {
    color: var(--teal-bright);
  }

  100% {
    color: var(--text-0);
  }
}

.eyebrow,
.sheet-no {
  display: none !important;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
}

/* Responsive Container & Section Padding */
@media (max-width: 900px) {
  section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }

  .section-head p {
    font-size: 0.94rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 14px;
  }

  section {
    padding: 50px 0;
  }
}

/* ==========================================================================
   GHOST SECTION NUMBERS
   ========================================================================== */
.ghost-num {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-head);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 800;
  color: var(--teal-bright);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (max-width: 768px) {
  .ghost-num {
    display: none;
  }
}

/* ==========================================================================
   GLASSMORPHISM & CARDS — border-radius: 20px for all cards
   ========================================================================== */
.glass,
.mrics-card,
.mrics-lead,
.why-card,
.program-card,
.founder-card,
.testimonial-card,
.faculty-card,
.blog-card,
.trust-item,
.hero-float-card,
.stat-item,
.stats-band,
.final-cta,
.footer-grid {
  border-radius: 20px !important;
}

.glass {
  background: rgba(15, 23, 30, 0.82);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.20);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 6px 20px 0 rgba(15, 23, 42, 0.05);
}

.glass:hover {
  border-color: rgba(63, 160, 163, 0.60);
  box-shadow: 0 12px 32px -4px rgba(37, 95, 98, 0.25);
  transform: translateY(-4px);
}

[data-theme="light"] .glass:hover {
  border-color: rgba(29, 104, 107, 0.45);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.10);
}

/* Icon & Avatar Hover Micro-Animations */
.why-card .icon-wrap,
.program-card .program-icon,
.faculty-card .faculty-avatar,
.founder-card .founder-avatar {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover .icon-wrap,
.program-card:hover .program-icon,
.faculty-card:hover .faculty-avatar,
.founder-card:hover .founder-avatar {
  transform: translateY(-4px) scale(1.08) rotate(3deg);
}

/* Technical drawing registration marks (tickframe) */
.tickframe {
  position: relative;
}

.tickframe::before,
.tickframe::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 1;
}

.tickframe::before {
  border-top: 1.5px solid rgba(63, 160, 163, 0.55);
  border-left: 1.5px solid rgba(63, 160, 163, 0.55);
  top: 12px;
  left: 12px;
}

.tickframe::after {
  border-bottom: 1.5px solid rgba(63, 160, 163, 0.55);
  border-right: 1.5px solid rgba(63, 160, 163, 0.55);
  bottom: 12px;
  right: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(37, 95, 98, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 95, 98, 0.52);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--teal-bright) !important;
  color: var(--text-0);
}

[data-theme="light"] .btn-ghost {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--teal-bright) !important;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(63, 160, 163, 0.15);
  transform: translateY(-2px);
  border-color: var(--teal-bright) !important;
}

[data-theme="light"] .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: var(--teal-bright) !important;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.83rem;
}

/* Mobile Button Layout */
@media (max-width: 600px) {
  .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   NAV & LOGO VISIBILITY
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 20px;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(11, 19, 21, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease;
}

[data-theme="light"] .nav-inner {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(203, 213, 225, 0.85);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.nav-inner.scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* LOGO BASE STYLING:
   - Light theme: Original deep teal logo (filter: none)
   - Dark theme: Inverted crisp white logo (filter: brightness(0) invert(1))
*/
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 62px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
  filter: none;
}

.footer-brand img {
  height: 68px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  transition: filter 0.3s ease;
  filter: none;
}

body[data-theme="light"] .nav-logo img,
body[data-theme="light"] .footer-brand img,
html[data-theme="light"] .nav-logo img,
html[data-theme="light"] .footer-brand img {
  filter: none !important;
}

body[data-theme="dark"] .nav-logo img,
body[data-theme="dark"] .footer-brand img,
html[data-theme="dark"] .nav-logo img,
html[data-theme="dark"] .footer-brand img {
  filter: brightness(0) invert(1) !important;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-0);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-bright);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 100px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* THEME TOGGLE BUTTON CONTAINER */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* OVERLAY ICON POSITIONING — ABSOLUTE CENTERING PREVENTS SIDE-BY-SIDE RENDER */
.theme-toggle svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 19px !important;
  height: 19px !important;
  pointer-events: none;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none !important;
}

/* Explicit CSS icon toggle */
html[data-theme="light"] .theme-toggle .icon-moon,
body[data-theme="light"] .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-moon {
  display: block !important;
}

html[data-theme="dark"] .theme-toggle .icon-sun,
body[data-theme="dark"] .theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block !important;
}

/* Theme Toggle Button Background & Colors */
[data-theme="light"] .theme-toggle {
  background: #1E293B !important;
  border: 1px solid #0F172A !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .theme-toggle svg {
  stroke: #FFFFFF !important;
}

[data-theme="light"] .theme-toggle:hover {
  background: #334155 !important;
  transform: rotate(18deg) scale(1.05) !important;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .theme-toggle svg {
  stroke: #F8FAFC !important;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  transform: rotate(18deg) scale(1.05) !important;
}

/* Nav Burger */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .nav-burger {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav {
    padding: 12px 14px;
  }

  .nav-inner {
    padding: 6px 14px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(11, 19, 21, 0.95);
  }

  [data-theme="light"] .nav-inner {
    background: rgba(248, 250, 252, 0.96);
  }

  .nav-logo img {
    height: 36px;
  }
}

@media (max-width: 540px) {
  .nav-cta {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 96px 24px 40px;
  background: rgba(11, 19, 21, 0.98);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFF;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--teal-bright);
}

.mobile-menu .mobile-enroll {
  margin-top: 20px;
  text-align: center;
  border-bottom: none;
  padding: 14px 24px;
  width: 100%;
}

[data-theme="light"] .mobile-menu {
  background: rgba(248, 250, 252, 0.96);
}

[data-theme="light"] .mobile-menu a {
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   HERO SECTION — SMARTPHONE OPTIMIZED
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 135px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 1000px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .hero-visual {
    order: -1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 15px auto 15px !important;
  }

  .reticle-stage {
    width: 310px !important;
    height: 310px !important;
    min-width: 310px !important;
    min-height: 310px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .reticle-core {
    width: 110px !important;
    height: 110px !important;
    padding: 10px !important;
    z-index: 2 !important;
  }

  .reticle-core .kpi {
    font-size: 1.45rem !important;
  }

  .reticle-core .label {
    font-size: 0.50rem !important;
  }

  /* Floating Stat Cards — Mobile Positioned Cleanly Without Overlap */
  .hero-float-card {
    display: block !important;
    position: absolute !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    z-index: 5 !important;
    background: rgba(15, 23, 30, 0.90) !important;
    border: 1px solid rgba(63, 160, 163, 0.35) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  }

  [data-theme="light"] .hero-float-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(203, 213, 225, 0.9) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  }

  .fc-label {
    font-size: 0.50rem !important;
    letter-spacing: 0.04em !important;
  }

  .fc-value {
    font-size: 0.88rem !important;
    line-height: 1.1 !important;
  }

  /* Top Right Card */
  .fc-1 {
    top: -4px !important;
    right: 2px !important;
    left: auto !important;
    bottom: auto !important;
    animation: floatA 6.5s ease-in-out infinite !important;
  }

  /* Bottom Left Card */
  .fc-2 {
    bottom: -4px !important;
    left: 2px !important;
    top: auto !important;
    right: auto !important;
    animation: floatB 8s ease-in-out infinite !important;
  }

  /* Bottom Right Card */
  .fc-3 {
    bottom: -4px !important;
    right: 2px !important;
    top: auto !important;
    left: auto !important;
    animation: floatC 7s ease-in-out infinite !important;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 50px;
  }
}

.hero-content .eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--teal-bright);
}

.hero p.lead {
  margin-top: 20px;
  font-size: 1.08rem;
  max-width: 560px;
  color: var(--text-1);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }

  .hero p.lead {
    font-size: 0.95rem;
    margin-top: 14px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
    gap: 10px;
  }
}

/* Trust row — Glass Cards */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.trust-item {
  padding: 16px 14px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.trust-item .kpi {
  font-size: 1.6rem;
  color: var(--text-0);
  display: block;
}

.trust-item .label {
  font-size: 0.7rem;
  color: var(--text-1);
  letter-spacing: 0.03em;
  display: block;
  margin-top: 3px;
}

@media (max-width: 600px) {
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 32px;
  }

  .trust-item {
    padding: 12px 6px;
  }

  .trust-item .kpi {
    font-size: 1.25rem;
  }

  .trust-item .label {
    font-size: 0.65rem;
  }
}

@media (max-width: 360px) {
  .trust-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Reticle Stage */
.reticle-stage {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reticle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(63, 160, 163, 0.32);
}

.reticle.r2 {
  inset: 11%;
  border-color: rgba(138, 115, 196, 0.28);
  animation: spin 58s linear infinite;
}

.reticle.r3 {
  inset: 22%;
  border: 1px dashed rgba(175, 203, 218, 0.32);
  animation: spin 88s linear infinite reverse;
}

.reticle-crosshair {
  position: absolute;
  inset: 0;
  animation: spin 38s linear infinite;
}

.reticle-crosshair::before,
.reticle-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(63, 160, 163, 0.45);
}

.reticle-crosshair::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.reticle-crosshair::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.reticle-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  z-index: 2;
}

.reticle-core .kpi {
  font-size: 2.4rem;
  color: var(--text-0);
}

.reticle-core .label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-1);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.reticle-tick {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--teal-bright);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-float-card {
  position: absolute;
  padding: 10px 16px;
  text-align: center;
  z-index: 3;
  border-radius: 14px;
}

.fc-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
}

.fc-value {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-0);
}

.fc-1 {
  top: 4%;
  right: 4%;
  animation: floatA 6.5s ease-in-out infinite;
}

.fc-2 {
  bottom: 16%;
  left: 2%;
  animation: floatB 8s ease-in-out infinite;
}

.fc-3 {
  top: 44%;
  right: 0%;
  animation: floatC 7.2s ease-in-out infinite;
}

@keyframes floatA {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatB {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatC {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   WHAT IS MRICS
   ========================================================================== */
.mrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 800px) {
  .mrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.mrics-card {
  padding: 30px;
}

.mrics-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.mrics-card .idx {
  font-family: var(--f-head);
  font-size: 0.74rem;
  color: var(--teal-bright);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
  font-weight: 600;
}

.mrics-lead {
  padding: 32px;
  margin-bottom: 26px;
}

.mrics-lead p {
  font-size: 1.05rem;
  color: var(--text-0);
}

.mrics-lead strong {
  color: var(--teal-bright);
}

@media (max-width: 600px) {
  .mrics-card {
    padding: 22px 18px;
  }

  .mrics-lead {
    padding: 22px 18px;
    margin-bottom: 20px;
  }

  .mrics-lead p {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.why-card {
  padding: 28px 24px;
}

.why-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(63, 160, 163, 0.25), rgba(138, 115, 196, 0.2));
  border: 1px solid rgba(63, 160, 163, 0.22);
  margin-bottom: 16px;
}

.why-card .icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal-bright);
}

.why-card h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .why-card {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   PROGRAMS
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 1000px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.program-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(63, 160, 163, 0.22), rgba(138, 115, 196, 0.18));
  border: 1px solid rgba(63, 160, 163, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.program-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal-bright);
}

.program-card .tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
  border: 1px solid rgba(63, 160, 163, 0.35);
  border-radius: 100px;
  padding: 3px 10px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
}

.program-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.program-card p {
  font-size: 0.88rem;
  flex-grow: 1;
}

.program-card .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  color: var(--text-1);
}

[data-theme="light"] .program-card .meta {
  border-color: rgba(15, 23, 42, 0.1);
}

.program-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--teal-bright);
  transition: color 0.3s ease;
}

.program-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-cta svg,
.program-cta:hover svg {
  transform: translateX(6px);
}

@media (max-width: 600px) {
  .program-card {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   ABOUT & FOUNDERS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-copy p {
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.values-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.value-chip {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .value-chip {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
}

.founders {
  display: grid;
  gap: 16px;
}

.founder-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  align-items: flex-start;
}

.founder-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-bright), var(--purple-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  color: #FFF;
  font-size: 1.15rem;
}

.founder-bio h4 {
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.founder-bio .role {
  font-size: 0.78rem;
  color: var(--teal-bright);
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.founder-bio p {
  font-size: 0.86rem;
}

@media (max-width: 600px) {
  .founder-card {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-slider-wrap {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  /* Smoother, slightly slower transition for sliding */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 13.33px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  /* Smooth transition for hover */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    padding: 22px 18px;
  }

  .testimonial-track {
    gap: 0;
  }
}

.t-card-content {
  flex: 1 1 auto;
}

.t-card-bottom {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-mark {
  font-family: var(--f-head);
  font-size: 3rem;
  color: var(--teal-bright);
  opacity: 0.45;
  line-height: 1;
  display: block;
  margin-bottom: -6px;
}

p.quote {
  font-size: 0.93rem;
  color: var(--text-0);
  margin: 10px 0 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.65 * 0.93rem * 5.5);
}

.t-read-more {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--teal-bright);
  font-family: var(--f-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: all 0.25s var(--ease);
}

.t-read-more:hover {
  color: #51cfd3;
  transform: translateX(3px);
}

.t-read-more svg {
  transition: transform 0.25s var(--ease);
}

.t-read-more:hover svg {
  transform: translateX(3px);
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ta-1 {
  background: linear-gradient(135deg, #3FA0A3, #255F62);
}

.ta-2 {
  background: linear-gradient(135deg, #8A73C4, #4C3B72);
}

.ta-3 {
  background: linear-gradient(135deg, #3FA0A3, #8A73C4);
}

.ta-4 {
  background: linear-gradient(135deg, #D97706, #0D9488);
}

.ta-5 {
  background: linear-gradient(135deg, #4F46E5, #0284C7);
}

.ta-6 {
  background: linear-gradient(135deg, #059669, #0D9488);
}

.ta-7 {
  background: linear-gradient(135deg, #E11D48, #9333EA);
}

.ta-8 {
  background: linear-gradient(135deg, #0891B2, #2563EB);
}

.testimonial-who h5,
.testimonial-who .t-name {
  font-size: 0.86rem;
  margin-bottom: 2px;
  line-height: 1.3;
}

.testimonial-who span {
  font-size: 0.74rem;
  color: var(--text-1);
  display: block;
  line-height: 1.3;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.15));
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
}

.t-nav-btn:hover {
  background: var(--teal-bright);
  color: #0d1520;
  border-color: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(63, 160, 165, 0.35);
}

.t-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.t-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s var(--ease);
}

.t-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 48px;
  min-height: 48px;
  width: 100%;
  height: 100%;
}

[data-theme="light"] .t-dot {
  background: rgba(15, 23, 42, 0.2);
}

.t-dot.active {
  background: var(--teal-bright);
  width: 24px;
}

/* Modal styling for testimonial */
.testimonial-modal-box {
  max-width: 680px;
  width: 92%;
}

.modal-who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-who h3.modal-name {
  font-size: 1.1rem;
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 2px;
}

.modal-who span.modal-post {
  font-size: 0.82rem;
  color: var(--text-1);
  display: block;
}

.modal-avatar {
  width: 48px;
  height: 48px;
  font-size: 0.95rem;
}

.tmodal-body {
  padding-top: 10px;
}

.tmodal-quote-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-0);
  margin-top: 10px;
  white-space: pre-line;
}

/* ==========================================================================
   FACULTY
   ========================================================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.faculty-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  width: 100%;
}

@media (max-width: 900px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faculty-grid-2 {
    gap: 16px;
  }
}

.faculty-card {
  padding: 28px;
  width: 100%;
  box-sizing: border-box;
}

.faculty-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid rgba(63, 160, 163, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: block;
}

.faculty-card h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.faculty-card .role {
  font-size: 0.76rem;
  color: var(--teal-bright);
  margin: 4px 0 12px;
  display: block;
  font-weight: 600;
}

.faculty-card p {
  font-size: 0.86rem;
}

@media (max-width: 600px) {
  .faculty-card {
    padding: 22px 18px;
  }

  .faculty-avatar {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band {
  padding: 60px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.stat-item .kpi {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-0);
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--text-1);
  margin-top: 6px;
  display: block;
}

@media (max-width: 600px) {
  .stats-band {
    padding: 32px 18px;
  }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-thumb {
  height: 140px;
  position: relative;
}

.blog-thumb.cat-mrics {
  background: linear-gradient(135deg, rgba(37, 95, 98, 0.6), rgba(63, 160, 163, 0.45));
}

.blog-thumb.cat-fidic {
  background: linear-gradient(135deg, rgba(76, 59, 114, 0.6), rgba(138, 115, 196, 0.45));
}

.blog-thumb.cat-career {
  background: linear-gradient(135deg, rgba(63, 160, 163, 0.45), rgba(138, 115, 196, 0.45));
}

.blog-thumb .idx {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.blog-body {
  padding: 24px;
}

.blog-body .cat {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
}

.blog-body h4 {
  font-size: 1rem;
  margin: 8px 0 6px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.86rem;
}

@media (max-width: 600px) {
  .blog-body {
    padding: 18px;
  }

  .blog-thumb {
    height: 110px;
  }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  padding: 60px;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  margin-bottom: 14px;
}

.final-cta p {
  max-width: 500px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .final-cta {
    padding: 36px 18px;
  }

  .final-cta-btns {
    flex-direction: column;
    width: 100%;
  }
}

/* ==========================================================================
   FOOTER & CENTERED COPYRIGHT
   ========================================================================== */
footer {
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 44px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }
}

.footer-brand p {
  font-size: 0.86rem;
  max-width: 280px;
}

.footer-col h5,
.footer-col .footer-title {
  font-family: var(--f-head);
  font-size: 0.80rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 10px;
  color: var(--text-1);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-bright);
}

/* FOOTER FIX: Centered Copyright */
.footer-bottom {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  padding: 24px 16px 0 !important;
  margin-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 0.84rem !important;
  color: var(--text-1) !important;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.12) !important;
}

.footer-bottom span {
  display: inline-block !important;
  text-align: center !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   WHATSAPP FLOAT (RESPONSIVE)
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1DA851);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  animation: floatWA 3.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

@keyframes floatWA {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 600px) {
  .wa-float {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 18px;
  }

  .wa-float svg {
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   SCROLL REVEAL & STAGGER — Lightweight, Crisp & Fast
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}

.stagger-1 {
  transition-delay: 0.04s;
}

.stagger-2 {
  transition-delay: 0.08s;
}

.stagger-3 {
  transition-delay: 0.12s;
}

.stagger-4 {
  transition-delay: 0.16s;
}

.stagger-5 {
  transition-delay: 0.20s;
}

.stagger-6 {
  transition-delay: 0.24s;
}

/* Disable Custom Mouse Cursor on Touchscreens / Mobile Devices */
@media (pointer: coarse),
(hover: none) {

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   FAQ & SCROLL TO TOP
   ========================================================================== */


#scrollToTopBtn {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 19, 21, 0.85);
  border: 1px solid rgba(63, 160, 163, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background: rgba(63, 160, 163, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(63, 160, 163, 0.4);
}

[data-theme="light"] #scrollToTopBtn {
  background: rgba(255, 255, 255, 0.9);
  color: #0b1315;
  border-color: rgba(63, 160, 163, 0.3);
}

[data-theme="light"] #scrollToTopBtn:hover {
  background: rgba(63, 160, 163, 0.9);
  color: #fff;
}

#scrollToTopBtn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  #scrollToTopBtn {
    width: 40px;
    height: 40px;
    bottom: 76px;
    right: 22px;
  }

  #scrollToTopBtn svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   FOCUS & SELECTION
   ========================================================================== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(63, 160, 163, 0.32);
}

/* ====== MODAL SYSTEM ====== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  overflow-y: auto
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible
}

.modal-box {
  background: rgba(11, 19, 21, .96);
  border: 1px solid rgba(63, 160, 163, .35);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  max-width: 760px;
  width: 100%;
  transform: translateY(24px) scale(.97);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  max-height: 88vh;
  overflow-y: auto;
  margin: auto
}

[data-theme=light] .modal-box {
  background: rgba(255, 255, 255, .98);
  border-color: rgba(203, 213, 225, .9)
}

.modal-backdrop.open .modal-box {
  transform: translateY(0) scale(1)
}

.modal-box::-webkit-scrollbar {
  width: 6px;
}

.modal-box::-webkit-scrollbar-track {
  background: transparent;
  margin: 20px 0;
}

.modal-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
  background: rgba(63, 160, 163, 0.8);
}

[data-theme=light] .modal-box::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
}

[data-theme=light] .modal-box::-webkit-scrollbar-thumb:hover {
  background: rgba(63, 160, 163, 0.8);
}

.modal-header {
  padding: 26px 28px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  background: rgba(11, 19, 21, .96);
  border-radius: 24px 24px 0 0;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

[data-theme=light] .modal-header {
  background: rgba(255, 255, 255, .98);
  border-bottom-color: rgba(15, 23, 42, .08)
}

.modal-header-left {
  flex: 1
}

.modal-tag {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 700;
  border: 1px solid rgba(63, 160, 163, .35);
  border-radius: 100px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 10px
}

.modal-header h2 {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  line-height: 1.3;
  color: var(--text-0)
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: var(--text-0);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s ease
}

[data-theme=light] .modal-close {
  border-color: rgba(15, 23, 42, .18);
  background: rgba(15, 23, 42, .04)
}

.modal-close:hover {
  background: rgba(63, 160, 163, .2);
  border-color: var(--teal-bright);
  transform: rotate(90deg)
}

.modal-body {
  padding: 22px 28px 26px
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-0);
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-0);
  font-family: var(--f-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-bright);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: rgba(15, 23, 42, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-form button:disabled,
#contactSubmitBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed !important;
  pointer-events: none;
}

[data-theme="light"] .form-status.success {
  color: #166534;
}

[data-theme="light"] .form-status.error {
  color: #991b1b;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-1);
  margin-top: 4px;
}

.modal-desc {
  font-size: .95rem;
  color: var(--text-1);
  line-height: 1.75;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

[data-theme=light] .modal-desc {
  border-bottom-color: rgba(15, 23, 42, .08)
}

.modal-ht {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 700;
  margin-bottom: 12px
}

.modal-hi {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .05);
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .07)
}

[data-theme=light] .modal-hi {
  background: rgba(15, 23, 42, .04);
  border-color: rgba(15, 23, 42, .08)
}

.mhi-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 34px;
  text-align: center;
  margin-top: 1px
}

.mhi-content h4 {
  font-size: .9rem;
  margin-bottom: 3px;
  color: var(--text-0)
}

.mhi-content p {
  font-size: .83rem;
  color: var(--text-1);
  line-height: 1.65;
  margin: 0
}

.modal-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.modal-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  font-size: .85rem;
  color: var(--text-1);
  line-height: 1.55;
}

[data-theme=light] .modal-check-item {
  background: rgba(15, 23, 42, .03);
  border-color: rgba(15, 23, 42, .08);
}

.modal-check-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.modal-excl {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(76, 59, 114, .12);
  border: 1px solid rgba(138, 115, 196, .22);
  border-radius: 13px
}

.modal-excl-t {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-bright);
  font-weight: 700;
  margin-bottom: 8px
}

.modal-excl p {
  font-size: .83rem;
  color: var(--text-1);
  margin-bottom: 6px;
  line-height: 1.6
}

.modal-excl p:last-child {
  margin: 0
}

.modal-footer {
  padding: 16px 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

[data-theme=light] .modal-footer {
  border-top-color: rgba(15, 23, 42, .08)
}

.modal-price {
  display: flex;
  flex-direction: column
}

.mprice-lbl {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-1);
  margin-bottom: 2px
}

.mprice-val {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-bright);
  line-height: 1
}

.mprice-sub {
  font-size: .68rem;
  color: var(--text-1);
  margin-top: 3px
}

.modal-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

@media(max-width:600px) {
  .modal-header {
    padding: 18px 16px 12px
  }

  .modal-body {
    padding: 16px
  }

  .modal-footer {
    padding: 14px 16px 20px;
    flex-direction: column;
    align-items: flex-start
  }

  .modal-ctas {
    width: 100%
  }

  .modal-ctas .btn {
    flex: 1
  }
}

@media(max-width:480px) {
  .modal-backdrop {
    padding: 0;
    align-items: flex-end
  }

  .modal-box {
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
    margin: 0
  }
}

/* ====== ACHIEVEMENTS ====== */
.achiev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

@media(max-width:900px) {
  .achiev-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }
}

.achiev-card {
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.achiev-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--purple-bright));
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.achiev-num {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--teal-bright);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.8rem;
  margin-bottom: 12px;
}

.achiev-lbl {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 10px
}

.achiev-desc {
  font-size: .86rem;
  color: var(--text-1);
  line-height: 1.65
}

@media(max-width:600px) {
  .achiev-card {
    padding: 24px 18px;
  }

  .achiev-num {
    min-height: 3rem;
  }
}

/* ====== KNOWLEDGE HUB ====== */
.khub-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media(max-width:860px) {
  .khub-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.khub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width:480px) {
  .khub-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hub-card {
  padding: 22px 18px;
  border-radius: 20px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hub-icon {
  font-size: 1.9rem;
  margin-bottom: 8px;
  display: block
}

.hub-card h3,
.hub-card h4 {
  font-size: .86rem;
  margin-bottom: 5px
}

.hub-card p {
  font-size: .77rem;
  line-height: 1.55
}

/* ====== ABOUT EXTENDED ====== */
.about-ext {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px
}

@media(max-width:900px) {
  .about-ext {
    grid-template-columns: 1fr;
    gap: 14px
  }
}

.ext-card {
  padding: 26px 22px
}

.ext-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63, 160, 163, .25), rgba(138, 115, 196, .2));
  border: 1px solid rgba(63, 160, 163, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px
}

.ext-card h3 {
  font-size: .98rem;
  margin-bottom: 8px
}

.ext-card p {
  font-size: .85rem;
  line-height: 1.7
}

@media(max-width:600px) {
  .ext-card {
    padding: 18px 14px
  }
}

/* ====== CORE VALUES ====== */
.cv-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

@media(max-width:640px) {
  .cv-list {
    grid-template-columns: 1fr;
    gap: 10px
  }
}

.cv-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 14px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04)
}

[data-theme=light] .cv-item {
  background: rgba(15, 23, 42, .03);
  border-color: rgba(15, 23, 42, .08)
}

.cv-num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--teal-bright);
  opacity: 0.95;
  flex-shrink: 0;
  line-height: 1.3
}

[data-theme=light] .cv-num {
  color: #0f766e !important;
  opacity: 1 !important;
}

.cv-text h4 {
  font-size: .9rem;
  margin-bottom: 3px
}

.cv-text p {
  font-size: .81rem;
  line-height: 1.6
}

/* ====== PRICE BADGE ====== */
.price-badge {
  display: inline-block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-bright);
  margin-top: 10px
}

.price-badge span {
  font-size: .64rem;
  font-weight: 500;
  color: var(--text-1);
  margin-left: 2px
}

/* ====== ACCENT LINE ====== */
.accent-line {
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--purple-bright));
  border-radius: 100px;
  margin-bottom: 18px
}

/* ====== FACULTY GRID 2 ====== */
.faculty-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media(max-width:700px) {
  .faculty-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px
  }
}

.fc-full {
  padding: 30px 26px
}

.fc-full .faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid rgba(63, 160, 163, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: block;
}

.fc-full h3,
.fc-full h4 {
  font-size: 1.04rem;
  margin-bottom: 2px
}

.fc-full .fc-role {
  font-size: .75rem;
  color: var(--teal-bright);
  margin: 4px 0 6px;
  display: block;
  font-weight: 600
}

.fc-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0077b5;
  background: rgba(0, 119, 181, 0.1);
  border: 1px solid rgba(0, 119, 181, 0.28);
  padding: 3px 10px;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

[data-theme=light] .fc-linkedin {
  color: #004d73 !important;
  background: rgba(0, 119, 181, 0.12);
  border-color: rgba(0, 119, 181, 0.4);
}

.fc-linkedin:hover {
  background: #0077b5;
  color: #ffffff !important;
  border-color: #0077b5;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
  transform: translateY(-1px);
}

.fc-linkedin svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.verified-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  width: 19px;
  height: 19px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faculty-card:hover .verified-badge {
  transform: scale(1.15) rotate(4deg);
}

.fc-full p {
  font-size: .84rem;
  line-height: 1.7
}

.qual-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px
}

.qual-list li {
  font-size: .67rem;
  font-weight: 600;
  color: var(--teal-bright);
  border: 1px solid rgba(63, 160, 163, .35);
  border-radius: 100px;
  padding: 3px 10px;
  background: rgba(63, 160, 163, .08)
}

@media(max-width:600px) {
  .fc-full {
    padding: 20px 16px
  }
}

button.program-cta {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-head);
  padding: 0
}