/* ==========================================================================
   INTELLIGENT DENTAL ACADEMY — PREMIUM STYLESHEET
   Electric Teal / Obsidian / Ice-Vibe System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */
:root {
  /* — Electric tech-medical palette — */
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #67e8f9;
  --primary-glow: rgba(6, 182, 212, .35);
  --secondary: #3b82f6;
  --accent-violet: #8b5cf6;

  /* — Obsidian base — */
  --dark: #0f2d5e;
  --dark-soft: #0b1120;
  --slate-800: #111827;
  --slate-700: #1e293b;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-50: #f1f5f9;

  /* — Surfaces — */
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-ice: #eef3f8;

  --text: var(--dark);
  --text-muted: var(--slate-500);
  --border-soft: rgba(3, 7, 18, .08);
  --border-strong: rgba(3, 7, 18, .14);

  /* — Gradients — */
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-text: linear-gradient(120deg, #06b6d4 0%, #3b82f6 55%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(160deg, #030712 0%, #0b1120 100%);
  --gradient-radial-glow: radial-gradient(circle, rgba(6, 182, 212, .18) 0%, transparent 70%); 

  /* — Radii — */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* — Shadows — */
  --shadow-sm: 0 2px 10px rgba(3, 7, 18, .05);
  --shadow-md: 0 12px 28px rgba(3, 7, 18, .08);
  --shadow-lg: 0 24px 60px -12px rgba(3, 7, 18, .18);
  --shadow-glow: 0 10px 32px var(--primary-glow);
  --shadow-glow-strong: 0 18px 48px rgba(6, 182, 212, .42);

  /* — Motion — */
  --ease-fluid: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* — Type — */
  --font-display: 'Outfit', 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--dark);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
}

.d-block {
  display: block;
}

.section {
  padding: 110px 0;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Thin electric scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   2. SHARED: SECTION TAG / HEADER / BUTTONS
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(6, 182, 212, .09);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}


.section-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header h2+p {
  font-size: 1.08rem;
}

/* Gradient headline spans (used inside h1 / h2) */
h1 span,
h2 span:not(.floating-card-title):not(.floating-card-subtitle) {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -0.01em;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease-fluid), box-shadow .5s var(--ease-fluid), background-color .4s var(--ease-soft), color .4s var(--ease-soft);
  will-change: transform;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: var(--shadow-glow-strong);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease-soft);
  z-index: -1;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.cta-section .btn {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
}

.cta-section .btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

/* ==========================================================================
   3. REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity .9s var(--ease-fluid), transform .9s var(--ease-fluid);
}

.reveal-left {
  transform: translateX(-46px);
}

.reveal-right {
  transform: translateX(46px);
}

.reveal-up {
  transform: translateY(36px);
}

.zoom-in {
  transform: scale(.92);
}

.reveal.active,
.reveal.is-visible,
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.delay-100 {
  transition-delay: .1s;
}

.delay-200 {
  transition-delay: .22s;
}

.delay-300 {
  transition-delay: .34s;
}

/* No-JS fallback: never trap content invisible */
@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

noscript~.reveal,
body:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   3.5. VIDEO HERO OVERLAY
   ========================================================================== */
.hero-video-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 120px;
  background: #090d16;
  overflow: hidden;
  position: relative;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(11, 17, 32, 0.8) 100%);
  z-index: 1;
}

.hero-video-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-video-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
}

.hero-video-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 12px;
}

.hero-video-content h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-video-content .hero-subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--primary-light);
  font-weight: 600;
  margin: 12px 0 20px;
}

.hero-video-content .hero-desc {
  font-size: clamp(1rem, 2vw, 1.08rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 6px auto 0;
  line-height: 1.65;
}

.hero-video-content .hero-stats {
  display: inline-flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
  max-width: none;
}

.hero-video-content .hero-stat-item {
  border-left: 3px solid var(--primary-light);
  padding-left: 14px;
  text-align: left;
  transition: transform 0.3s var(--ease-soft);
}

.hero-video-content .hero-stat-item:hover {
  transform: translateX(4px);
}

.hero-video-content .stat-num {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
}

.hero-video-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  justify-content: center;
}

.hero-video-content .hero-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

.hero-video-content .badge-text {
  color: rgba(255, 255, 255, 0.9);
}

.hero-video-content .btn-secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: transparent;
}

.hero-video-content .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-video-section .wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

@media (max-width: 768px) {
  .hero-video-section {
    padding: 140px 0 100px;
  }
}

@media (max-width: 480px) {
  .hero-video-section {
    padding: 130px 0 90px;
  }
}

/* ==========================================================================
   4. HEADER (GLASSMORPHISM)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(3, 7, 18, .06);
  transition: background-color .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform .4s var(--ease-spring);
}

.logo:hover .brand-logo-img {
  transform: scale(1.04) rotate(-1deg);
}

nav {
  margin-left: 60px; /* Gap between Logo and Home Menu */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  color: var(--slate-700);
  padding: 8px 2px;
  transition: color .3s var(--ease-soft);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width .35s var(--ease-fluid);
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  transition: color .3s var(--ease-soft), transform .3s var(--ease-soft);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--dark);
  transform: translateY(-1px);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform .3s var(--ease-soft);
}

.header-phone:hover svg {
  transform: rotate(-10deg) scale(1.1);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  margin-right: 28px;
}

.header-socials .theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--slate-500);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
  padding: 0;
}

.header-socials .theme-toggle-btn:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-social-link {
  color: var(--slate-500);
  transition: color .3s var(--ease-soft), transform .3s var(--ease-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.header-social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-social-link svg {
  display: block;
  width: 20px;
  height: 20px;
}

.header-socials .theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile socials row — hidden on desktop, shown inside drawer */
.mobile-socials-li {
  display: none;
}

.mobile-socials {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0 4px;
}

.mobile-socials .header-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  justify-content: center;
  transition: background .3s var(--ease-soft), color .3s var(--ease-soft), transform .3s var(--ease-spring);
}

.mobile-socials .header-social-link:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-3px) scale(1.08);
}

.header-cta .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  border: none;
  position: relative;
  z-index: 1200;  /* above overlay (1000) and nav-menu (1050) */
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .4s var(--ease-fluid), opacity .3s var(--ease-soft);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 200px 0 0;
  background: var(--white);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: .55;
  animation: drift 14s ease-in-out infinite;
}

.shape-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -160px;
  right: -120px;
}

.shape-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -180px;
  left: -140px;
  animation-delay: -7s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -24px) scale(1.08);
  }
}

.hero-grid {
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding-bottom: 110px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin: 18px 0 20px;
}

.hero-content h1 {
  margin-top: 4px;
}

.hero-content p {
  font-size: 1.04em;
  max-width: 480px;
  margin-top: 6px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
  max-width: 520px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
  text-align: left;
  transition: transform 0.3s var(--ease-soft);
}

.hero-stat-item:hover {
  transform: translateX(4px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

html.dark-theme .hero-stat-item {
  border-left-color: var(--primary-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  aspect-ratio: 4 / 4.4;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-fluid);
}

.hero-media:hover .hero-image-wrapper img {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow:
    0 1px 2px rgba(3, 7, 18, .04),
    0 18px 38px -8px rgba(3, 7, 18, .18),
    0 0 0 1px rgba(255, 255, 255, .4) inset;
  max-width: 210px;
  animation: floatCard 5.5s var(--ease-soft) infinite;
}

.floating-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  background: rgba(6, 182, 212, .12);
  border-radius: 50%;
  padding: 6px;
  box-sizing: content-box;
}

.floating-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  color: #0f164f;
}

.floating-card-subtitle {
  font-size: .68rem;
  color: #0f164f;
  margin-top: 2px;
}

.card-training {
  top: 6%;
  right: -8%;
  left: auto;
  animation-delay: 0s;
}

.card-practice {
  bottom: 8%;
  left: -8%;
  right: auto;
  animation-delay: -2.7s;
}

.floating-card {
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2), 0 0 0 1px rgba(6, 182, 212, 0.3) inset;
  z-index: 10;
}

/* --- Hero Premium Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.08), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.badge-fics {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.badge-separator {
  width: 1px;
  height: 14px;
  background: rgba(3, 7, 18, 0.12);
}

.badge-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: #0B1120;
}

/* Green pulsing active indicator dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseActive 2s infinite;
}

@keyframes pulseActive {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  width: 100%;
  height: 90px;
  display: block;
}

.wave-fill {
  fill: var(--bg-light);
}

/* ==========================================================================
   6. INTRO / COURSE OVERVIEW
   ========================================================================== */
.intro {
  background: var(--bg-light);
  padding-top: 90px;
}

.intro-grid {
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.intro-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.intro-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 182, 212, .16), transparent 55%);
}

.intro-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/4.6;
}

.intro-content p {
  font-size: 1.04rem;
  margin-bottom: 16px;
}

.intro-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.intro-highlight-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px 18px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s var(--ease-fluid), box-shadow .45s var(--ease-fluid);
}

.intro-highlight-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  border-radius: 0 8px 8px 0;
}

.intro-highlight-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.intro-highlight-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(6, 182, 212, .1);
  color: var(--primary-dark);
  transition: transform .4s var(--ease-spring), background .3s var(--ease-soft);
}

.intro-highlight-icon svg {
  width: 22px;
  height: 22px;
}

.intro-highlight-item:hover .intro-highlight-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: rotate(-8deg) scale(1.08);
}

.intro-highlight-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .94rem;
  color: var(--dark);
}

/* ==========================================================================
   6.5. FICS PARTNER SECTION (UNIFIED BADGE CONTAINER)
   ========================================================================== */
.fics-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.fics-container {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 70px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.fics-media-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.fics-brochure-wrapper {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-soft);
  aspect-ratio: 1 / 1.4;
  background: var(--bg-light);
  cursor: pointer;
  max-width: 350px;
  width: 100%;
}

.fics-brochure-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(3, 7, 18, 0.08) 100%);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: multiply;
}

.fics-brochure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-fluid);
  filter: brightness(0.97) contrast(0.96) saturate(0.98);
}

.fics-media-container:hover .fics-brochure-img {
  transform: scale(1.04);
}

.fics-logo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 20;
  width: 76px;
  height: 76px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.9);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-soft), opacity 0.4s var(--ease-soft), visibility 0.4s;
}

.fics-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fics-brochure-wrapper:hover .fics-logo-badge {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotate(-2deg);
  box-shadow: var(--shadow-lg);
}

.fics-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  z-index: 15;
}

.fics-brochure-wrapper:hover .fics-image-overlay {
  opacity: 1;
}

.btn-overlay-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--dark);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring);
}

.btn-overlay-preview svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.btn-overlay-preview:hover {
  transform: scale(1.06);
}

.fics-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fics-content h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
}

.fics-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.fics-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.btn-fics-download {
  background: var(--gradient-primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-glow);
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-soft), background .3s;
}

.btn-fics-download:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-glow-strong);
  background: var(--primary-dark);
}

.btn-fics-preview {
  background: transparent;
  color: var(--primary-dark) !important;
  border: 2px solid var(--primary-light);
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring), border-color .3s, background-color .3s;
}

.btn-fics-preview:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  background-color: rgba(6, 182, 212, 0.05);
}

.fics-batch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.06);
  border: 1.5px dashed rgba(6, 182, 212, 0.25);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  font-size: 0.94rem;
  color: var(--dark);
}

.fics-batch-badge .batch-icon {
  width: 18px !important;
  height: 18px !important;
  color: var(--primary);
  flex-shrink: 0;
}

.fics-new-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.fics-new-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.fics-new-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.fics-new-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: var(--dark);
  margin: 0;
  line-height: 1.1;
}

.fics-new-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate-700);
  margin: 0;
  text-align: justify;
}

.fics-new-actions {
  margin-top: 10px;
}

/* Custom Gradient Button matching screenshot */
.btn-view-certificate {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #103c73 0%, #0ea5e9 100%);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.3s var(--ease-soft);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.btn-view-certificate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.btn-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #ffffff;
  color: #0ea5e9;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-view-certificate:hover .btn-arrow-circle {
  transform: translateX(4px);
}

.btn-arrow-circle svg {
  width: 12px;
  height: 12px;
}

/* FICS Red Rectangle Badge Card matching screenshot */
.fics-new-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fics-new-badge-card {
  background: #d42931; /* Matched exactly to the FICS logo red background */
  border-radius: 24px;
  padding: 30px;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1.58 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(212, 41, 49, 0.22);
  transition: all 0.4s var(--ease-soft);
  overflow: hidden;
}

.fics-new-badge-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 44px rgba(212, 41, 49, 0.32);
}

.fics-new-logo-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
}

/* Dark mode overrides for text color */
html.dark-theme .fics-new-desc {
  color: var(--slate-300);
}

/* Responsive grid stacking */
@media (max-width: 900px) {
  .fics-new-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .fics-new-content {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   6.6. HEALTHCARE & HEALTH INSURANCE SECTION
   ========================================================================== */
.ihcm-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.ihcm-container {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr; /* Opposite of fics: content on left, media on right */
  gap: 70px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.ihcm-media-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.ihcm-brochure-wrapper {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-soft);
  aspect-ratio: 1 / 1.4;
  background: var(--bg-light);
  cursor: pointer;
  max-width: 350px;
  width: 100%;
}

/* Vignette overlay to soften harsh borders & edges */
.ihcm-brochure-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(3, 7, 18, 0.08) 100%);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: multiply;
}

.ihcm-brochure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-fluid);
  filter: brightness(0.97) contrast(0.96) saturate(0.98);
}

.ihcm-media-container:hover .ihcm-brochure-img {
  transform: scale(1.04);
}

/* Logo placed on the top right corner of the brochure */
.ihcm-logo-badge {
  position: absolute;
  top: 15px;
  right: 15px; /* Placed on the right corner */
  z-index: 20;
  width: 76px;
  height: 76px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.9);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-soft), opacity 0.4s var(--ease-soft), visibility 0.4s;
}

.ihcm-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ihcm-brochure-wrapper:hover .ihcm-logo-badge {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotate(2deg);
  box-shadow: var(--shadow-lg);
}

/* Hover Overlay for the brochure */
.ihcm-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  z-index: 15;
}

.ihcm-brochure-wrapper:hover .ihcm-image-overlay {
  opacity: 1;
}

/* Content Area */
.ihcm-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ihcm-content h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
}

.ihcm-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ihcm-badge-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* Batch Badge info row */
.ihcm-batch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.06);
  border: 1.5px dashed rgba(6, 182, 212, 0.25);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  font-size: 0.94rem;
  color: var(--dark);
}

.ihcm-batch-badge .batch-icon {
  width: 18px !important;
  height: 18px !important;
  color: var(--primary);
  flex-shrink: 0;
}

.ihcm-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.btn-ihcm-download {
  background: var(--gradient-primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-glow);
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-soft), background .3s;
}

.btn-ihcm-download:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-glow-strong);
  background: var(--primary-dark);
}

.btn-ihcm-preview {
  background: transparent;
  color: var(--primary-dark) !important;
  border: 2px solid var(--primary-light);
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring), border-color .3s, background-color .3s;
}

.btn-ihcm-preview:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  background-color: rgba(6, 182, 212, 0.05);
}

/* ==========================================================================
   6.7. WHY CHOOSE OUR PROGRAMS SECTION (SIDE-BY-SIDE)
   ========================================================================== */
.why-choose-courses-section {
  background-color: var(--slate-50);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.courses-choose-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* col 1, divider, col 2 */
  gap: 60px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.courses-choose-divider {
  width: 1px;
  background-color: var(--border-soft);
  align-self: stretch;
}

.course-choose-col {
  display: flex;
  flex-direction: column;
}

.course-choose-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 12px;
}

.course-choose-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.course-choose-intro {
  margin-bottom: 2rem;
}

.course-choose-intro p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-base);
}

.course-choose-intro p:not(:last-child) {
  margin-bottom: 1rem;
}

.why-choose-courses-section .benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (max-width: 992px) {
  .courses-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .courses-choose-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-soft);
  }
  
  .why-choose-courses-section {
    padding: 80px 0;
  }
}

/* ==========================================================================
   7.1. CURRICULUM CAREERS TABLE (COHESIVE SIDE-BY-SIDE)
   ========================================================================== */
.careers-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  background: var(--white);
  margin-top: 2rem;
}

.careers-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.careers-table th {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--white);
}

.careers-table th:first-child {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.careers-table th:last-child {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.careers-table td {
  padding: 16px 24px;
  font-size: 0.98rem;
  color: var(--text-base);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
  width: 50%;
}

.careers-table tr:last-child td {
  border-bottom: none;
}

.careers-table tr:nth-child(even) {
  background-color: var(--slate-50);
}

.careers-table tr:hover {
  background-color: rgba(6, 182, 212, 0.04);
}

.career-role-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.career-role-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-role-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.career-role-icon.purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.career-role-icon svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   7. FEATURES (WHY THIS COURSE)
   ========================================================================== */
.features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform .5s var(--ease-fluid), box-shadow .5s var(--ease-fluid), border-color .4s var(--ease-soft);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, .25);
}

.feature-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-glow);
  transition: transform .5s var(--ease-spring);
}

.feature-icon-circle svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.feature-card:hover .feature-icon-circle {
  transform: rotate(-6deg) scale(1.08);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: .95rem;
}

/* ==========================================================================
   8. ACHIEVEMENTS (COUNTERS)
   ========================================================================== */
.achievements {
  background: var(--gradient-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--gradient-radial-glow);
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
}

.achievements-grid {
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  z-index: 1;
}

.achievement-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.achievement-item:last-child {
  border-right: none;
}

.achievement-course {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, var(--slate-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.achievement-duration {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.achievement-duration .achievement-number,
.achievement-duration .achievement-operator,
.achievement-duration .achievement-unit {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.2rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
}

.achievement-duration .achievement-unit {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-left: 2px;
}

.achievement-duration .achievement-operator {
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.achievement-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.03em;
}

.achievement-label {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--slate-400);
  letter-spacing: .01em;
}

/* ==========================================================================
   9. SYLLABUS / ABOUT-US
   ========================================================================== */
.about-us {
  background: var(--white);
}

.about-grid {
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
}

.about-summary p {
  font-size: 1.04rem;
  margin-bottom: 30px;
}

.value-card {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.value-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.value-header svg {
  width: 26px;
  height: 26px;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.value-header h4 {
  font-size: 1.05rem;
}

.why-choose-block h3 {
  margin-bottom: 30px;
}

.reasons-timeline {
  position: relative;
  padding-left: 28px;
}

.reasons-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(6, 182, 212, .05));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .14);
  transition: transform .35s var(--ease-spring);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.25);
}

.timeline-content h4 {
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: .94rem;
}

/* ==========================================================================
   10. BROCHURES
   ========================================================================== */
.brochures-download .value-card {
  background: var(--white);
  transition: transform .45s var(--ease-fluid), box-shadow .45s var(--ease-fluid);
}

.brochures-download .value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   11. CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 0 0 110px;
}

.cta-box {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--gradient-radial-glow);
  top: -200px;
  right: -100px;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, .22), transparent 70%);
  bottom: -220px;
  left: -80px;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: var(--slate-400);
  max-width: 560px;
  margin: 0 auto 34px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   12. CONTACT
   ========================================================================== */
.contact {
  background: var(--bg-light);
}

.contact-grid {
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 14px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), background .3s var(--ease-soft), color .3s var(--ease-soft);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item:hover .contact-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.08) rotate(-6deg);
}

.contact-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

.contact-item-value a:hover {
  color: var(--primary-dark);
}

.phone-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-separator {
  color: var(--border-strong);
}

.email-link {
  word-break: break-word;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-spring), background .3s var(--ease-soft), box-shadow .3s var(--ease-soft), color .3s var(--ease-soft);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-glow);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
}

.contact-card h3 {
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-light);
  color: var(--dark);
  transition: border-color .3s var(--ease-soft), box-shadow .3s var(--ease-soft), background .3s var(--ease-soft);
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
}

textarea.form-input {
  min-height: 110px;
  resize: vertical;
}

#btn-submit-contact {
  width: 100%;
  margin-top: 6px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  background: var(--gradient-dark);
  color: var(--slate-400);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: .94rem;
  max-width: 280px;
}

.footer-heading {
  color: #ffffff;
  font-size: .98rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: .92rem;
  color: var(--slate-400);
  transition: color .3s var(--ease-soft), padding-left .3s var(--ease-soft);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: .9rem;
  color: var(--slate-400);
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 18px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: .9rem;
  padding: 10px 0;
}

.newsletter-form input::placeholder {
  color: var(--slate-400);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-soft);
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.newsletter-form button:hover {
  transform: scale(1.08) rotate(6deg);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: var(--slate-500);
}

/* ==========================================================================
   14. BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: transform .45s var(--ease-fluid), opacity .35s var(--ease-soft), box-shadow .35s var(--ease-soft), visibility .35s;
  z-index: 900;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-4px);
}

/* ==========================================================================
   15. RESPONSIVE — TABLET (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .section {
    padding: 84px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    /* Solid opaque background — NO backdrop-filter to prevent blur stacking */
    background: #f8fafc;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 60px 44px;
    border-left: 2px solid rgba(6, 182, 212, 0.2);
    box-shadow: -20px 0 60px rgba(3, 7, 18, .25);
    transform: translateX(100%);
    transition: transform .55s var(--ease-fluid);
    z-index: 1050;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-cta #btn-apply-header {
    display: none;
  }

  /* Hide desktop socials; show mobile-socials inside drawer instead */
  .header-socials {
    display: none;
  }

  .mobile-socials-li {
    display: block;
    width: 100%;
  }

  .header-cta-mobile {
    display: block !important;
    margin-top: 16px;
  }

  .header-cta-mobile .btn {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }

  .hero-content p {
    margin: 6px auto 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    margin: 32px auto 0;
    max-width: 440px;
  }

  .hero-stat-item {
    text-align: left;
  }

  .hero-image-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  .card-training {
    right: 0;
    left: auto;
  }

  .card-practice {
    left: 0;
    right: auto;
  }

  .intro-grid,
  .about-grid,
  .fics-container,
  .ihcm-container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-media {
    order: -1;
  }

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

  .achievement-item {
    border-right: none;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

/* ==========================================================================
   16. RESPONSIVE — MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  .header .container {
    height: 90px;
  }

  .brand-logo-img {
    height: 72px;
  }

  .header-phone {
    font-size: 0.9rem;
    gap: 6px;
  }

  .header-phone svg {
    width: 16px;
    height: 16px;
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.1rem);
  }

  .hero {
    padding-top: 150px;
  }

  .hero-grid {
    padding-bottom: 70px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin: 14px 0;
    animation: none;
  }

  .hero-image-wrapper {
    aspect-ratio: 4/4;
  }

  .intro-highlight-grid {
    grid-template-columns: 1fr;
  }

  .fics-logo-badge {
    width: 68px;
    height: 68px;
    top: 14px;
    left: 14px;
    padding: 8px;
  }

  .ihcm-logo-badge {
    width: 68px;
    height: 68px;
    top: 14px;
    right: 14px;
    padding: 8px;
  }

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

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .achievement-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 24px;
  }

  .achievement-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .cta-box {
    padding: 52px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 28px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   17. MODAL ADMISSION SYSTEM (GLASSMORPHISM OVERLAY & CARDS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-soft), visibility 0.4s;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s var(--ease-fluid);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-overlay.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), background 0.3s, color 0.3s;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

#modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s var(--ease-soft);
}

#modal-body h3 {
  font-size: 1.6rem;
  color: var(--dark);
}

#modal-body p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
}

.modal-icon svg {
  width: 24px;
  height: 24px;
}

.form-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
}

.form-success-message svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--gradient-primary);
  border-radius: 50%;
  padding: 16px;
  box-sizing: content-box;
  margin-bottom: 8px;
  box-shadow: var(--shadow-glow);
}

.form-success-message h4 {
  font-size: 1.5rem;
  color: var(--dark);
}

.form-success-message p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 380px;
  color: var(--text-muted);
}

/* ==========================================================================
   18. NEW SECTIONS STYLING (PROSPECTUS 2026 UPDATES)
   ========================================================================== */

/* --- Welcome Section --- */
.welcome-section {
  padding: 100px 0;
}
.welcome-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 50px;
}
.welcome-header-box {
  margin-bottom: 40px;
  text-align: center;
}
.welcome-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.welcome-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--dark);
}
.welcome-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}
.director-quote-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.director-quote-text .quote-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 15px;
}
.director-signature {
  margin-top: 35px;
}
.sig-line {
  width: 120px;
  height: 1px;
  background: var(--border-soft);
  margin-bottom: 12px;
}
.director-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}
.director-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.welcome-graphic {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.graphic-box {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.graphic-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial-glow);
  opacity: 0.15;
  pointer-events: none;
}
.graphic-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.graphic-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-300);
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}
.graphic-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.graphic-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-200);
}
.graphic-bullet-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Course Specifications (Specs Card) --- */
.specs-card {
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 25px;
}
.specs-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-soft);
}
.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.spec-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.spec-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

/* --- Seven Pillars Updates --- */
.feature-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

/* --- Course Curriculum Section --- */
.curriculum-section {
  padding: 100px 0;
}
.curriculum-container {
  max-width: 960px;
  margin: 0 auto;
}
.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.curriculum-tab-btn {
  background: var(--slate-50);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-soft);
}
.curriculum-tab-btn:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary-light);
}
.curriculum-tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.curriculum-tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.curriculum-tab-content.active {
  display: block;
}
.curriculum-tab-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.curriculum-tab-content > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 25px;
}
.curriculum-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.curriculum-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  position: relative;
}
.curriculum-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.curriculum-list li strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}
.curriculum-list li span {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Internship Callout */
.internship-callout {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.internship-callout::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--gradient-radial-glow);
  right: -200px;
  top: -200px;
  opacity: 0.15;
  pointer-events: none;
}
.internship-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.internship-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.internship-callout h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--white);
}
.internship-callout p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate-300);
  margin-bottom: 16px;
}
.internship-callout p:last-child {
  margin-bottom: 0;
}

/* --- Faculty & Facilities --- */
.faculty-facilities {
  padding: 100px 0;
}
.facilities-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.facility-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.facility-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.facility-card-icon svg {
  width: 24px;
  height: 24px;
}
.facility-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.facility-card > p {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.bullet-list-custom {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullet-list-custom li {
  font-size: 0.94rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}
.bullet-list-custom li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* --- Career Pathways --- */
.pathways-section {
  padding: 100px 0;
}
.pathways-hero {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pathways-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-radial-glow);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  pointer-events: none;
}
.fics-logo-box {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.fics-accredited-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pathways-hero h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.pathways-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate-300);
}
.pathways-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pathway-card {
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid), border-color 0.4s;
}
.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.25);
}
.pathway-icon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  background: rgba(6, 182, 212, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.pathway-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.pathway-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Admissions Process --- */
.admissions-process-section {
  padding: 100px 0;
  background-color: var(--bg-light);
  color: var(--text);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-bottom: 60px;
}

/* Outer Card Container (handles border gradient glow & padding) */
.step-card {
  background: var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
}
/* Mouse Tracking Spotlight Border */
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(6, 182, 212, 0.6) 0%,
    rgba(59, 130, 246, 0.4) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.step-card:hover::before {
  opacity: 1;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Inner Card Wrapper (masks border padding & handles inner radial content light) */
.step-card-inner {
  background: var(--white);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 32px 28px;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
/* Mouse Tracking Content Glow */
.step-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(6, 182, 212, 0.04) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}
.step-card:hover .step-card-inner::after {
  opacity: 1;
}

/* Step Circle Badge (Gradient Border style) */
.step-icon-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.1);
}
.step-icon-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.step-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.step-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Docs Callout */
.docs-callout {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.docs-callout h4 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.docs-callout > p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 24px;
}
.docs-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}
.doc-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--dark);
}
.doc-list-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Responsive Adaptations for Admissions --- */
@media (max-width: 900px) {
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .docs-list-grid {
    grid-template-columns: 1fr;
  }
  .docs-callout {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   7.7.5. COURSE CURRICULUM SECTION
   ========================================================================== */
.curriculum-section {
  padding: 100px 0;
  background-color: var(--bg-light);
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 50px;
}

.curriculum-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
}

.curriculum-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Phase 1 Card styles */
.phase-1-card {
  padding: 0;
}

.phase-content {
  padding: 40px;
}

.phase-header {
  margin-bottom: 30px;
}

.phase-number {
  display: inline-block;
  background: rgba(6, 182, 212, 0.08);
  color: var(--primary-dark);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.phase-title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.25;
}

.phase-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.category-block {
  transition: transform 0.3s ease;
}

.category-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 14px;
}

.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.curriculum-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.curriculum-bullet-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.curriculum-bullet-list li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
}

.curriculum-bullet-list li:hover {
  color: var(--dark);
  transform: translateX(4px);
}

/* Phase 2 Card styles */
.phase-2-card {
  border: 1.5px solid var(--border-soft);
}

.phase-image-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: var(--slate-800);
}

.phase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-fluid);
}

.phase-2-card:hover .phase-image {
  transform: scale(1.06);
}

.phase-image-wrapper .absolute-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phase-dark-content {
  padding: 40px;
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.phase-dark-content .phase-title {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.internship-p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.internship-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.highlight-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}

/* --- Dark Mode Overrides for Course Curriculum --- */
html.dark-theme .curriculum-section {
  background-color: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.05);
}

html.dark-theme .phase-1-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

html.dark-theme .phase-1-card .phase-title,
html.dark-theme .phase-1-card .category-title {
  color: var(--text);
}

html.dark-theme .phase-1-card .phase-subtitle,
html.dark-theme .phase-1-card .curriculum-bullet-list li {
  color: var(--text-muted);
}

html.dark-theme .phase-1-card .curriculum-bullet-list li:hover {
  color: var(--primary-light);
}

html.dark-theme .phase-1-card .phase-number {
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary-light);
  border-color: rgba(6, 182, 212, 0.25);
}

html.dark-theme .phase-2-card {
  border-color: rgba(255, 255, 255, 0.05);
}

/* --- Responsive Adaptations for Course Curriculum --- */
@media (max-width: 992px) {
  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phase-image-wrapper {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .curriculum-section {
    padding: 60px 0;
  }
  .phase-1-card {
    padding: 0;
  }
  .phase-content {
    padding: 30px 20px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .phase-dark-content {
    padding: 30px 20px;
  }
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 100px 0;
  margin-bottom: 30px;
}
.faq-accordion-wrapper {
  max-width: 840px;
  margin: 0 auto;
}
.faq-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.faq-cat-btn {
  background: var(--slate-50);
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-soft);
}
.faq-cat-btn:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary-light);
}
.faq-cat-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.faq-group {
  display: none;
  flex-direction: column;
  gap: 16px;
}
.faq-group.active {
  display: flex;
}
.faq-item {
  background: var(--slate-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.25);
  background-color: var(--white);
}
.faq-item.active {
  border-color: rgba(6, 182, 212, 0.3);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.4s var(--ease-spring), color 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-fluid);
}
.faq-answer-inner {
  padding: 0 28px 22px 28px;
}
.faq-answer p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   19. RESPONSIVE MEDIA QUERIES FOR NEW SECTIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .welcome-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .welcome-graphic {
    max-width: 450px;
    margin: 0 auto;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .welcome-card {
    padding: 30px 20px;
  }
  .welcome-header-box {
    margin-bottom: 25px;
  }
  .welcome-card h2 {
    font-size: 1.6rem;
  }
  .curriculum-tab-content {
    padding: 24px;
  }
  .curriculum-list li span {
    font-size: 0.9rem;
  }
  .internship-callout {
    padding: 30px 20px;
  }
  .internship-callout h3 {
    font-size: 1.5rem;
  }
  .pathways-hero {
    padding: 40px 20px;
  }
  .pathways-grid {
    grid-template-columns: 1fr;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
  }
  .docs-callout {
    padding: 24px 20px;
  }
  .docs-list-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 18px 20px;
    font-size: 0.98rem;
  }
  .faq-answer-inner {
    padding: 0 20px 18px 20px;
  }
}

/* --- 20. WHY CHOOSE US FLIP CARDS SYSTEM --- */
.why-choose-section {
  padding: 110px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

/* 4-3 pyramid styling for second row on desktop (4 columns) */
@media (min-width: 901px) {
  .why-choose-grid .flip-card:nth-child(5) {
    grid-column: 2;
  }
  .why-choose-grid .flip-card:nth-child(6) {
    grid-column: 3;
  }
  .why-choose-grid .flip-card:nth-child(7) {
    grid-column: 4;
  }
}

/* Card basic wrapper */
.flip-card {
  perspective: 1200px;
  aspect-ratio: 1 / 1.05;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  cursor: pointer;
  background: transparent;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.3s ease;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

/* Tilt variables applied dynamically */
.flip-rot-1 { --tilt: -4deg; }
.flip-rot-2 { --tilt: 3deg; }
.flip-rot-3 { --tilt: -2.5deg; }

.flip-card .flip-inner {
  transform: rotate(var(--tilt, 0deg));
}

/* Faces */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1.5px solid var(--border-soft);
  overflow: hidden;
}

/* Front Face */
.flip-front {
  justify-content: space-between;
  background: var(--white);
  z-index: 2;
}

.flip-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.55;
  align-self: flex-start;
}

.flip-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  line-height: 1.25;
  margin-top: auto;
  z-index: 10;
}

/* Back Face */
.flip-back {
  transform: rotateY(180deg);
  justify-content: center;
  z-index: 1;
}

.flip-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* Hover and Flip logic */
.flip-card:hover .flip-inner,
.flip-card.is-flipped .flip-inner {
  transform: rotate(0deg) rotateY(180deg);
  box-shadow: var(--shadow-lg);
}

/* Color variations (tones) */

/* Tone Red */
.tone-red .flip-front {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border-color: transparent;
}
.tone-red .flip-front .flip-title,
.tone-red .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-red .flip-back {
  background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-red .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Orange */
.tone-orange .flip-front {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  border-color: transparent;
}
.tone-orange .flip-front .flip-title,
.tone-orange .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-orange .flip-back {
  background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-orange .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Yellow */
.tone-yellow .flip-front {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: transparent;
}
.tone-yellow .flip-front .flip-title,
.tone-yellow .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-yellow .flip-back {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-yellow .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Green */
.tone-green .flip-front {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-color: transparent;
}
.tone-green .flip-front .flip-title,
.tone-green .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-green .flip-back {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-green .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Blue */
.tone-blue .flip-front {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: transparent;
}
.tone-blue .flip-front .flip-title,
.tone-blue .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-blue .flip-back {
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-blue .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Indigo */
.tone-indigo .flip-front {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  border-color: transparent;
}
.tone-indigo .flip-front .flip-title,
.tone-indigo .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-indigo .flip-back {
  background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-indigo .flip-back .flip-desc {
  color: #ffffff;
}

/* Tone Violet */
.tone-violet .flip-front {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border-color: transparent;
}
.tone-violet .flip-front .flip-title,
.tone-violet .flip-front .flip-num {
  color: #ffffff !important;
}
.tone-violet .flip-back {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  border-color: transparent;
  color: #ffffff;
}
.tone-violet .flip-back .flip-desc {
  color: #ffffff;
}

/* --- Repel effect on desktop (min-width: 901px) --- */
@media (min-width: 901px) {
  /* Horizontal Repel */
  .why-choose-grid:has(.flip-card:nth-child(1):hover) .flip-card:nth-child(2) { transform: translateX(14px); }
  .why-choose-grid:has(.flip-card:nth-child(2):hover) .flip-card:nth-child(1) { transform: translateX(-14px); }
  .why-choose-grid:has(.flip-card:nth-child(2):hover) .flip-card:nth-child(3) { transform: translateX(14px); }
  .why-choose-grid:has(.flip-card:nth-child(3):hover) .flip-card:nth-child(2) { transform: translateX(-14px); }
  .why-choose-grid:has(.flip-card:nth-child(3):hover) .flip-card:nth-child(4) { transform: translateX(14px); }
  .why-choose-grid:has(.flip-card:nth-child(4):hover) .flip-card:nth-child(3) { transform: translateX(-14px); }

  .why-choose-grid:has(.flip-card:nth-child(5):hover) .flip-card:nth-child(6) { transform: translateX(14px); }
  .why-choose-grid:has(.flip-card:nth-child(6):hover) .flip-card:nth-child(5) { transform: translateX(-14px); }
  .why-choose-grid:has(.flip-card:nth-child(6):hover) .flip-card:nth-child(7) { transform: translateX(14px); }
  .why-choose-grid:has(.flip-card:nth-child(7):hover) .flip-card:nth-child(6) { transform: translateX(-14px); }

  /* Vertical Repel */
  .why-choose-grid:has(.flip-card:nth-child(2):hover) .flip-card:nth-child(5) { transform: translateY(14px); }
  .why-choose-grid:has(.flip-card:nth-child(5):hover) .flip-card:nth-child(2) { transform: translateY(-14px); }
  .why-choose-grid:has(.flip-card:nth-child(3):hover) .flip-card:nth-child(6) { transform: translateY(14px); }
  .why-choose-grid:has(.flip-card:nth-child(6):hover) .flip-card:nth-child(3) { transform: translateY(-14px); }
  .why-choose-grid:has(.flip-card:nth-child(4):hover) .flip-card:nth-child(7) { transform: translateY(14px); }
  .why-choose-grid:has(.flip-card:nth-child(7):hover) .flip-card:nth-child(4) { transform: translateY(-14px); }
}

/* Responsive constraints */
@media (max-width: 900px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 36px;
  }
}

@media (max-width: 540px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Disable tilt entirely on single column */
  .flip-card {
    --tilt: 0deg !important;
  }
}

@media (hover: none) {
  /* Disable repel transforms completely on touch/no-hover devices */
  .flip-card {
    transform: none !important;
  }
  .why-choose-grid:has(.flip-card:hover) .flip-card {
    transform: none !important;
  }
}

/* --- Why Choose Tabs --- */
.why-choose-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.why-choose-tab-btn {
  background: var(--bg-ice);
  border: 1px solid var(--border-soft);
  color: var(--slate-700);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-soft);
}

.why-choose-tab-btn.active,
.why-choose-tab-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Tab Content Visibility */
.why-choose-tab-content {
  display: none;
}

.why-choose-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Dark mode adjustments for Why Choose tabs */
html.dark-theme .why-choose-tab-btn {
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--slate-400);
}

html.dark-theme .why-choose-tab-btn.active,
html.dark-theme .why-choose-tab-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
}

/* ==========================================================================
   21. FULL DARK THEME SYSTEM & TOGGLE BUTTON
   ========================================================================== */

/* Dark Theme Variables Override */
html.dark-theme {
  --white: #0b1120;
  --bg-light: #030712;
  --bg-ice: #111827;
  
  --dark: #ffffff;
  --text: #ffffff;
  --text-muted: #cbd5e1;
  
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  
  --slate-700: #e2e8f0;
  --slate-50: #030712;
}

/* Force body dark background in dark theme */
html.dark-theme body {
  background-color: #030712;
  color: #ffffff;
}

/* Theme Toggle Button Layout & Hover */
.theme-toggle-li {
  display: none;
  align-items: center;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--slate-700);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--border-soft);
  color: var(--primary);
  transform: scale(1.05);
}

/* Toggle Icon Visibility */
.sun-icon {
  display: none;
}
.moon-icon {
  display: block;
}

html.dark-theme .sun-icon {
  display: block;
  color: #f59e0b; /* warm sun color */
}
html.dark-theme .moon-icon {
  display: none;
}
html.dark-theme .theme-toggle-btn {
  color: var(--slate-200);
}
html.dark-theme .theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Sticky Header dark adjustments */
html.dark-theme .header {
  background: rgba(3, 7, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html.dark-theme .header-social-link,
html.dark-theme .header-socials .theme-toggle-btn {
  color: #cbd5e1;
}

html.dark-theme .header-social-link:hover,
html.dark-theme .header-socials .theme-toggle-btn:hover {
  color: var(--primary);
  background: transparent;
}

/* Mobile Nav Drawer dark adjustments */
@media (max-width: 1024px) {
  html.dark-theme .nav-menu {
    /* Fully opaque dark surface — no blur */
    background: #0b1120;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 2px solid rgba(6, 182, 212, 0.2);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }
  
  /* Ensure nav links are readable in both light and dark drawers */
  .nav-menu .nav-link {
    color: #1e293b;
  }
  html.dark-theme .nav-menu .nav-link {
    color: #e2e8f0;
  }
  html.dark-theme .nav-menu .nav-link:hover,
  html.dark-theme .nav-menu .nav-link.active {
    color: var(--primary-light);
  }
  
  .theme-toggle-li {
    display: flex;
    margin-top: 10px;
    width: 100%;
  }
  
  .theme-toggle-btn {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.04);
    justify-content: flex-start;
    padding-left: 20px;
    gap: 12px;
    color: #1e293b;
  }
  
  /* Add label beside icon for mobile drawer clarity */
  .theme-toggle-btn::after {
    content: "Switch Theme";
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.94rem;
  }
  
  html.dark-theme .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
  }

  /* Mobile socials dark mode */
  html.dark-theme .mobile-socials .header-social-link {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
  }

  /* Mobile hamburger button dark mode (White background with dark blue bars) */
  html.dark-theme .nav-toggle {
    background: #ffffff;
  }
  html.dark-theme .nav-toggle span {
    background: #0f2d5e;
  }
}


/* About & Welcome section details in dark theme */
html.dark-theme .welcome-card,
html.dark-theme .contact-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.06);
}

/* Form input adjustments on hover/focus in dark mode */
html.dark-theme .form-input:focus {
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
}

/* General Link contrast improvements in dark theme */
html.dark-theme a:hover {
  color: var(--primary-light);
}

/* Fix doc list ticks for dark mode docs callout */
html.dark-theme .docs-callout {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Mobile Nav Menu Overlay Backdrop — plain dark, NO blur (avoids compound blur) */
.nav-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;   /* NEVER blocks clicks when hidden */
  z-index: 1000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;   /* Captures clicks to close menu */
}


/* ==========================================================================
   22. THEME-AWARE LOGO SWITCHING
   ========================================================================== */

/* Light mode: show transparent PNG, hide JPEG */
.logo-light { display: block; }
.logo-dark  { display: none;  }

/* Dark mode: hide transparent PNG, show JPEG */
html.dark-theme .logo-light { display: none;  }
html.dark-theme .logo-dark  {
  display: block;
  border-radius: 8px;         /* soften JPEG edges */
  object-fit: cover;
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 260px;
  }
}

@media (max-width: 360px) {
  .header .container {
    padding: 0 12px;
  }
  .header-phone {
    font-size: 0.8rem;
  }
}

/* --- Curriculum Tabbed Content Reset --- */
.curriculum-section .curriculum-tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.curriculum-section .curriculum-tab-content.active {
  display: block;
}

/* --- Inactive Tab Button Pulse & Shine Animations --- */
@keyframes mild-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.25);
    border-color: var(--border-soft);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
    border-color: var(--primary-light);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    border-color: var(--border-soft);
    transform: scale(1);
  }
}

@keyframes shine-sweep {
  0% {
    left: -150%;
  }
  40% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.curriculum-tab-btn:not(.active) {
  position: relative;
  overflow: hidden;
  animation: mild-pulse 2.2s infinite ease-in-out;
}

.curriculum-tab-btn:not(.active)::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(6, 182, 212, 0) 0%,
    rgba(6, 182, 212, 0.35) 50%,
    rgba(6, 182, 212, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-sweep 3.5s infinite ease-in-out;
}

/* Dark Mode Shimmer Override */
html.dark-theme .curriculum-tab-btn:not(.active)::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ==========================================================================
   FICS COURSES GRID SECTION
   ========================================================================== */
.fics-courses-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-soft);
  position: relative;
}

html.dark-theme .fics-courses-section {
  background: #030712;
}

/* Banner mentioning the two courses */
.courses-banner {
  background: linear-gradient(135deg, #103c73 0%, #0ea5e9 100%);
  border-radius: 20px;
  padding: 35px 40px;
  color: #ffffff;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.courses-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.courses-banner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.2;
}

.courses-banner p {
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 12px;
}

.courses-banner-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
  list-style: none;
  padding: 0;
}

.courses-banner-list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.courses-banner-list li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 900;
  font-size: 1.2rem;
}

/* Header inside courses section */
.fics-courses-header {
  text-align: center;
  margin-bottom: 40px;
}

.fics-courses-header h2 {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--dark);
  margin: 0;
}

/* Grid layout for FICS Courses matching screenshot card aspect-ratio */
.fics-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Card layout matching screenshot style */
.fics-course-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 0.76 / 1; /* Match the vertical image card shape in the screenshot */
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
  cursor: pointer;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
}

.fics-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.fics-course-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.fics-course-card:hover .fics-course-card-bg {
  transform: scale(1.05);
}

/* FICS Tag on top left */
.fics-course-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 10;
}

/* Bottom title overlay box matching screenshot styling */
.fics-course-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  z-index: 10;
}

.fics-course-overlay h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.fics-courses-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* View More Button (cyan gradient) matching screenshot */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #103c73 0%, #0ea5e9 100%);
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.3s var(--ease-soft);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.btn-view-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.btn-view-more .btn-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #ffffff;
  color: #0ea5e9;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-view-more:hover .btn-arrow-circle {
  transform: translateX(3px);
}

/* Responsive grid rules */
@media (max-width: 1024px) {
  .fics-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .fics-courses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .courses-banner {
    padding: 24px;
  }
}

/* ==========================================
   GOOGLE MAPS LOCATION SECTION
   ========================================== */
.map-section {
  width: 100%;
  background: var(--bg-light);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  line-height: 0; /* Prevents tiny browser gaps at bottom of iframe */
  overflow: hidden;
}

.map-container iframe {
  filter: grayscale(0.15) contrast(1.05) opacity(0.95);
  transition: filter 0.3s ease, opacity 0.3s ease;
  border: 0;
  display: block;
}

.map-container iframe:hover {
  filter: none;
  opacity: 1;
}

/* Responsive iframe adjustments */
@media (max-width: 768px) {
  .map-container iframe {
    height: 320px;
  }
}

/* ==========================================
   FLOATING QUICK CONTACT BUTTONS
   ========================================== */
.floating-contact-panel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* WhatsApp Brand Green */
.float-whatsapp {
  background: #25d366;
}
.float-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Call Button (Teal-Cyan Gradient matching theme buttons) */
.float-call {
  background: linear-gradient(135deg, #103c73 0%, #0ea5e9 100%);
}
.float-call:hover {
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
}

/* Ensure buttons stand out on mobile viewports */
@media (max-width: 480px) {
  .floating-contact-panel {
    bottom: 20px;
    left: 20px;
    gap: 12px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
}