/* ═══════════════════════════════════════════════════════════════════
   UNIQUE TECH SOLUTION — Main Stylesheet
   AI for Healthcare Education
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. CSS Custom Properties ─────────────────────────────────────── */
:root {
  --navy:        #1e3a5f;
  --navy-dark:   #0f2340;
  --navy-light:  #2d5282;
  --blue:        #3b82f6;
  --blue-dark:   #2563eb;
  --accent:      #F7BE28;
  --accent-dark: #F9FF68;
  --success:     #10b981;
  --danger:      #ef4444;
  --light-bg:    #f1f5f9;
  --border:      #e2e8f0;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --white:       #ffffff;

  --font-main:  'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.1),  0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.1),  0 8px 10px rgba(0,0,0,.04);

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── 2. Base Reset & Typography ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }

a { color: var(--blue); transition: var(--transition); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

/* ── 3. Utility Classes ───────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent) !important; }
.bg-light-custom { background: var(--light-bg); }
.section-padded { padding: 90px 0; }

/* Section Labels & Titles */
.section-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--blue);
  background: rgba(59,130,246,.1);
  padding: .3rem .8rem;
  border-radius: 50px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: .5rem;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Buttons */
.btn-accent {
  background: var(--accent);
  color: var(--navy-dark) !important;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  transition: var(--transition);
  padding: .65rem 1.75rem;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6,182,212,.35);
}
.btn-primary-custom {
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: .65rem 1.75rem;
  transition: var(--transition);
}
.btn-primary-custom:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,58,95,.3);
}
.btn-outline-primary-custom {
  background: transparent;
  color: var(--navy) !important;
  font-weight: 600;
  border: 2px solid var(--navy);
  border-radius: 50px;
  padding: .65rem 1.75rem;
  transition: var(--transition);
}
.btn-outline-primary-custom:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-2px);
}
.btn-xl { padding: .9rem 2.5rem; font-size: 1.05rem; }
.px-6 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* Alert / Flash messages */
.alert-custom {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
}
.alert-custom.success {
  background: rgba(16,185,129,.1);
  color: #065f46;
  border: 1px solid rgba(16,185,129,.25);
}
.alert-custom.error {
  background: rgba(239,68,68,.08);
  color: #991b1b;
  border: 1px solid rgba(239,68,68,.2);
}
.alert-custom ul { margin: 0; padding-left: 1.2rem; }

/* ── 4. Navbar ────────────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  padding: 1.25rem 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(17,24,39,.97);
  backdrop-filter: blur(12px);
  padding: .75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.navbar-brand { text-decoration: none; padding: 0; }
.navbar-logo {
  height: 46px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* Parent company column */
.footer-parent-company { display: flex; flex-direction: column; gap: .6rem; }
.footer-parent-logo-link { display: inline-block; }
.footer-parent-logo {
  height: 42px;
  width: auto;
  display: block;
}
.footer-parent-name {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.4;
}
.footer-parent-reg {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin: 0;
}
.footer-ico-badge {
  width: 72px;
  height: auto;
  display: block;
  margin-top: .25rem;
  margin-left: 1.25rem;
  border-radius: 50%;
  opacity: .9;
  transition: opacity .2s;
}
.footer-ico-badge:hover { opacity: 1; }

.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .75rem !important;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.1);
}

/* ── 5. Hero Section ──────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 50%, #312e81 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Animated background orbs */
.hero-bg-animation { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .18;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: #3b82f6;
  top: -120px; right: -100px;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: #6366f1;
  bottom: -60px; left: -60px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: #22d3ee;
  top: 45%; left: 38%;
  animation-delay: -5s;
  opacity: .1;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

/* Hero content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.3);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .4rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: -.02em;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 1.5rem;
}
.hero-trust { color: rgba(255,255,255,.7); font-size: .85rem; }
.trust-item { display: flex; align-items: center; }

/* Hero visual cards — 2×2 grid */
.hero-visual { position: relative; width: 380px; height: 380px; }
.hero-card-stack { position: relative; width: 100%; height: 100%; }
.hero-card {
  position: absolute;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  width: 130px; height: 130px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  animation: cardFloat 4s ease-in-out infinite;
  transition: background .2s, transform .2s, border-color .2s;
}
.hero-card:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  transform: scale(1.07);
  animation-play-state: paused;
}
.hero-card i { font-size: 1.8rem; color: var(--accent); }
.hero-card.card-1 { top: 20px;    left: 20px;  animation-delay: 0s; }
.hero-card.card-2 { top: 20px;    right: 20px; animation-delay: -1s; }
.hero-card.card-3 { bottom: 20px; left: 20px;  animation-delay: -2s; }
.hero-card.card-4 { bottom: 20px; right: 20px; animation-delay: -3s; }
.hero-center-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(6,182,212,.5), 0 0 0 3px rgba(6,182,212,.3);
}
.hero-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex; justify-content: center;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
  box-shadow: 0 20px 0 rgba(255,255,255,.3), 0 40px 0 rgba(255,255,255,.1);
}
@keyframes scrollBounce {
  0%,100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .4; transform: translateY(8px); }
}

/* ── 6. Stats Section ─────────────────────────────────────────────── */
.stats-section {
  background: var(--navy);
  color: var(--white);
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  flex: 1; min-width: 160px;
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-unit { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .4rem; }
.stat-divider {
  width: 1px; height: 60px;
  background: rgba(255,255,255,.15);
}
@media (max-width: 768px) { .stat-divider { display: none; } }

/* ── 7. Module Cards (Home) ───────────────────────────────────────── */
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  transform: scaleX(0);
  transition: var(--transition);
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue);
}
.module-card:hover::before { transform: scaleX(1); }
.module-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: transparent;
  color: var(--white);
}
.module-card.featured::before { background: linear-gradient(90deg, var(--accent), #fbbf24); transform: scaleX(1); }
.module-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: var(--navy-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 50px;
}
.module-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: .5rem;
}
.module-card.featured .module-number { color: rgba(255,255,255,.15); }
.module-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 1rem;
}
.module-card.featured .module-icon { background: rgba(255,255,255,.15); color: var(--accent); }
.module-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.module-card.featured .module-title { color: var(--white); }
.module-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 1rem; }
.module-card.featured .module-desc { color: rgba(255,255,255,.75); }
.module-highlights { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.module-highlights li {
  font-size: .82rem;
  padding: .3rem 0;
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.module-highlights li:last-child { border-bottom: none; }
.module-card.featured .module-highlights li { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.1); }
.module-highlights i { color: var(--success); flex-shrink: 0; }
.module-card.featured .module-highlights i { color: var(--accent); }
.module-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
}
.module-price span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.module-card.featured .module-price { color: var(--accent); }
.module-card.featured .module-price span { color: rgba(255,255,255,.6); }

/* ── 8. ROI Section ───────────────────────────────────────────────── */
.roi-section { background: var(--navy-dark); color: var(--white); }
.roi-section .section-label { background: rgba(6,182,212,.15); color: var(--accent); }
.roi-section .section-title { color: var(--white); }
.roi-section .section-desc { color: rgba(255,255,255,.7); }
.roi-cards { display: flex; flex-direction: column; gap: 1rem; }
.roi-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.roi-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.roi-card strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.roi-card p { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; }

.roi-chart-wrapper {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.roi-bar-item { margin-bottom: 1rem; }
.roi-bar-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.roi-bar-track {
  height: 48px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
}
.roi-bar-fill {
  height: 100%;
  border-radius: 8px;
  display: flex; align-items: center;
  padding: 0 1rem;
  font-size: .82rem; font-weight: 600;
  transition: width 1.5s ease;
}
.roi-bar-fill.before { background: rgba(239,68,68,.6); color: var(--white); }
.roi-bar-fill.after { background: var(--accent); color: var(--navy-dark); }
.roi-chart-caption { font-size: .78rem; color: rgba(255,255,255,.4); text-align: center; margin-top: 1rem; }

/* ── 9. Team Cards ────────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: transparent;
  color: var(--white);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(59,130,246,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.team-card.featured .team-avatar { background: rgba(255,255,255,.15); color: var(--accent); }
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-role {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .05em;
  /*text-transform: uppercase;*/
  display: block;
  margin-bottom: .75rem;
}
.team-card.featured .team-role { color: var(--accent); }
.team-card p { font-size: .85rem; color: var(--text-muted); }
.team-card.featured p { color: rgba(255,255,255,.75); }

/* Team card large (About page) */
.team-card-large {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition);
}
.team-card-large:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card-large.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-color: transparent;
}
.team-avatar-large {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(59,130,246,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid rgba(59,130,246,.2);
  flex-shrink: 0;
}
.team-card-large.featured .team-avatar-large {
  background: rgba(255,255,255,.15);
  color: var(--accent);
  border-color: rgba(255,255,255,.3);
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}
.team-photo-fallback {
  display: none;
  font-size: 2.5rem;
}
.team-card-large h3 { font-size: 1.25rem; margin-bottom: .25rem; text-align: center; }
.team-card-large.featured h3 { color: var(--white); }
.team-card-large p { font-size: .88rem; color: var(--text-muted); }
.team-card-large.featured p { color: rgba(255,255,255,.8); }
.team-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.team-tags span {
  font-size: .72rem;
  font-weight: 600;
  background: rgba(59,130,246,.1);
  color: var(--blue);
  padding: .2rem .6rem;
  border-radius: 50px;
}
.team-card-large.featured .team-tags span {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

/* ── 10. Pricing Cards ────────────────────────────────────────────── */
.pricing-section { background: var(--navy-dark); }
.pricing-section .section-label { background: rgba(6,182,212,.15); color: var(--accent); }
.pricing-section .section-title { color: var(--white); }
.pricing-section .section-desc { color: rgba(255,255,255,.6); }

.pricing-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  height: 100%;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.pricing-card.featured {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 0 0 3px var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
}
.pricing-icon { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.pricing-card.featured .pricing-icon { color: var(--blue); }
.pricing-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .75rem;
}
.pricing-amount.free { color: var(--success); }
.pricing-card.featured .pricing-amount { color: var(--navy); }
.pricing-card p { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.pricing-card.featured p { color: var(--text-muted); }
.pricing-features {
  list-style: none; padding: 0; text-align: left;
  margin-bottom: 1.5rem;
}
.pricing-features li {
  font-size: .82rem;
  padding: .4rem 0;
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-card.featured .pricing-features li { color: var(--text-muted); border-color: var(--border); }
.pricing-features i { color: var(--success); flex-shrink: 0; }

/* ── 11. CTA Section ──────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(6,182,212,.08);
}
.cta-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: var(--white); }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 560px; margin: 1rem auto 0; }
.cta-note { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ── 12. Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 60%, #312e81 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; color: var(--white); margin-top: 1rem; }
.page-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 580px; margin: 1rem auto 0; }

/* ── 13. Value Cards (About) ──────────────────────────────────────── */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.value-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.value-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* About stat grid */
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-stat-box.accent { background: var(--navy); color: var(--white); border-color: var(--navy); }
.about-stat-box i { font-size: 1.8rem; color: var(--blue); display: block; margin-bottom: .5rem; }
.about-stat-box.accent i { color: var(--accent); }
.about-stat-box strong { display: block; font-size: 1rem; font-weight: 700; }
.about-stat-box span { font-size: .8rem; color: var(--text-muted); }
.about-stat-box.accent span { color: rgba(255,255,255,.65); }

/* ── 14. Services Page ────────────────────────────────────────────── */
/* How it works */
.how-it-works-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.step-item {
  flex: 1; min-width: 180px;
  text-align: center;
  padding: 1rem;
}
.step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(59,130,246,.3);
}
.step-item h5 { font-size: .95rem; margin-bottom: .4rem; }
.step-item p { font-size: .82rem; color: var(--text-muted); }
.step-connector {
  flex-shrink: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  align-self: center;
  margin-bottom: 1rem;
  border-radius: 1px;
}
@media (max-width: 768px) { .step-connector { display: none; } }

/* Module detail header */
.module-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.module-number-large {
  font-size: 5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
}
.module-number-large.accent { color: rgba(59,130,246,.2); }
.module-meta { display: flex; gap: 1.5rem; margin-top: .5rem; }
.module-meta span {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Session cards */
.session-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.session-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--navy));
}
.session-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.session-number {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.session-icon {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: .75rem;
}
.session-icon.accent { color: var(--accent); }
.session-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.session-card p { font-size: .84rem; color: var(--text-muted); margin: 0; }

/* ── 15. Contact Page ─────────────────────────────────────────────── */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-label-custom {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
  display: block;
}
.form-control-custom {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-main);
  color: var(--text);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-control-custom:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-control-custom.with-icon { padding-left: 2.75rem; }

.contact-highlight-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.contact-highlight-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}
.contact-highlight-card h4 { color: var(--white); margin-bottom: .75rem; }
.contact-highlight-card p { color: rgba(255,255,255,.75); font-size: .88rem; }
.highlight-tag {
  display: inline-flex; align-items: center;
  background: rgba(6,182,212,.2);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 50px;
  margin-top: 1rem;
}

.contact-info-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.contact-info-icon {
  width: 36px; height: 36px;
  background: rgba(59,130,246,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-item strong { font-size: .8rem; font-weight: 700; display: block; color: var(--text); }
.contact-info-item a, .contact-info-item span { font-size: .85rem; color: var(--text-muted); }

.next-steps-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.next-steps-card h5 { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.next-steps-list {
  padding-left: 1.2rem;
  margin: 0;
}
.next-steps-list li { font-size: .84rem; color: var(--text-muted); padding: .3rem 0; }

/* ── 16. Auth Pages ───────────────────────────────────────────────── */
.auth-layout {
  display: flex;
  min-height: 100vh;
}
.auth-left {
  flex: 0 0 45%;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, #1a3a7c 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(6,182,212,.08);
  top: -100px; right: -100px;
}
.auth-left-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.auth-brand {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--white) !important;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: auto;
}
.auth-brand i {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-dark);
}
.auth-left-body { margin: auto 0; padding: 3rem 0; }
.auth-left-body h2 { font-size: 2rem; color: var(--white); margin-bottom: 1rem; }
.auth-left-body p { color: rgba(255,255,255,.7); font-size: .95rem; }
.auth-features { display: flex; flex-direction: column; gap: .6rem; }
.auth-feature {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
}
.auth-feature i { color: var(--success); font-size: 1rem; }
.auth-left-footer { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: auto; }

.auth-right {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--white);
}
.auth-form-wrapper { width: 100%; max-width: 420px; }
.auth-brand-mobile {
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy) !important;
  text-decoration: none;
}
.auth-brand-mobile i { color: var(--blue); }
.auth-form-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-bottom: .25rem; }
.auth-form-subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.75rem; }

/* Input with icon */
.input-icon-wrapper { position: relative; }
.input-icon-wrapper > i {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .9rem;
  pointer-events: none;
}
.input-eye-toggle {
  position: absolute;
  right: .75rem; top: 50%;
  transform: translateY(-50%);
  border: none; background: transparent;
  color: var(--text-muted); cursor: pointer; padding: 0;
  font-size: .9rem;
}

/* Password strength */
.password-strength {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.strength-bar { height: 100%; width: 0; transition: width .4s ease, background .4s ease; border-radius: 2px; }
.strength-label { font-size: .75rem; color: var(--text-muted); }

.auth-switch { font-size: .85rem; color: var(--text-muted); text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 600; }

/* ── 17. Dashboard ────────────────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--light-bg);
}

/* Sidebar */
.dashboard-sidebar {
  width: 260px;
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: transform .3s ease;
}
.sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand a {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--white) !important;
  font-size: 1rem; font-weight: 700;
}
.sidebar-brand i {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--navy-dark);
}
.sidebar-nav { padding: 1.5rem .75rem; flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,.65) !important;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-link i { font-size: 1rem; flex-shrink: 0; }
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(255,255,255,.1);
  color: var(--white) !important;
}
.sidebar-link.active { background: rgba(6,182,212,.15); color: var(--accent) !important; }

.sidebar-footer { padding: 1rem .75rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem;
  margin-bottom: .5rem;
}
.sidebar-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.sidebar-user strong { font-size: .82rem; display: block; line-height: 1.2; }
.sidebar-user span { font-size: .72rem; color: rgba(255,255,255,.45); }
.sidebar-logout {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,.5) !important;
  text-decoration: none;
  font-size: .82rem;
  transition: var(--transition);
}
.sidebar-logout:hover { background: rgba(239,68,68,.15); color: #fca5a5 !important; }

/* Main area */
.dashboard-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky; top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.sidebar-toggle-btn {
  border: none; background: transparent;
  font-size: 1.3rem; color: var(--text); cursor: pointer;
  display: none;
}
.topbar-title { flex: 1; }
.topbar-title h4 { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1; }
.topbar-title span { font-size: .78rem; color: var(--text-muted); }

/* Dashboard sections */
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}
.dash-section-header h5 { font-size: 1rem; font-weight: 700; margin: 0; display: flex; align-items: center; }
.badge-count {
  background: rgba(59,130,246,.1);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 50px;
}
.today-highlight { font-size: .85rem; font-weight: 600; color: var(--accent); }

/* Class cards grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.class-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.class-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.class-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.class-module-tag {
  font-size: .72rem; font-weight: 700;
  background: rgba(59,130,246,.1); color: var(--blue);
  padding: .2rem .6rem; border-radius: 50px;
}
.class-status {
  font-size: .72rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: 50px;
  display: flex; align-items: center;
}
.status-upcoming { background: rgba(6,182,212,.12); color: #0e7490; }
.status-completed { background: rgba(16,185,129,.1); color: #065f46; }
.status-cancelled { background: rgba(239,68,68,.08); color: #991b1b; }
.class-card-title { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }
.class-card-meta { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.class-meta-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text-muted);
}
.class-meta-item i { font-size: .75rem; color: var(--blue); }
.class-join-link {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: .5rem;
}
.class-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-detail, .btn-download, .btn-cancel {
  font-size: .78rem; font-weight: 600;
  padding: .35rem .8rem;
  border-radius: 6px;
  border: 1.5px solid;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  display: inline-flex; align-items: center;
}
.btn-detail { color: var(--blue); border-color: var(--blue); }
.btn-detail:hover { background: var(--blue); color: var(--white); }
.btn-download { color: var(--success); border-color: var(--success); text-decoration: none; }
.btn-download:hover { background: var(--success); color: var(--white); }
.btn-cancel { color: var(--danger); border-color: var(--danger); }
.btn-cancel:hover { background: var(--danger); color: var(--white); }

/* Schedule table */
.schedule-table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); }
.schedule-table {
  width: 100%; min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.schedule-table th {
  padding: .75rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.08);
}
.schedule-table td {
  padding: .75rem;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  vertical-align: top;
  min-width: 120px;
}
.today-col { background: rgba(6,182,212,.06) !important; }
.schedule-table th.today-col { background: var(--accent) !important; color: var(--navy-dark) !important; }
.today-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy-dark);
  margin-left: .4rem;
  vertical-align: middle;
}
.schedule-empty { text-align: center; color: var(--border); font-size: 1.2rem; padding: .5rem; }
.schedule-class-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .75rem;
  margin-bottom: .4rem;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid var(--blue);
}
.schedule-class-card:hover { box-shadow: var(--shadow-sm); transform: translateX(2px); }
.schedule-class-card.status-completed { border-left-color: var(--success); }
.schedule-class-card strong { display: block; font-size: .78rem; font-weight: 700; line-height: 1.2; }
.schedule-class-card span { display: block; font-size: .72rem; color: var(--blue); margin-top: .15rem; }
.schedule-class-card small { display: block; font-size: .68rem; color: var(--text-muted); }
.schedule-legend { display: flex; gap: 1.5rem; }
.legend-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--text-muted);
}
.legend-item.status-upcoming i { color: var(--blue); }
.legend-item.status-completed i { color: var(--success); }

/* Upcoming list */
.upcoming-list { display: flex; flex-direction: column; gap: 1rem; }
.upcoming-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}
.upcoming-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); border-color: var(--accent); }
.upcoming-rank {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.upcoming-info { flex: 1; }
.upcoming-info h5 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.upcoming-meta { display: flex; flex-wrap: wrap; gap: .75rem; }
.upcoming-meta span { font-size: .8rem; color: var(--text-muted); }
.upcoming-join-link {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: .5rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; color: var(--border); display: block; margin-bottom: 1rem; }
.empty-state h6 { font-size: 1rem; margin-bottom: .5rem; }
.empty-state p { font-size: .88rem; }

/* Class detail modal */
.class-modal { border: none; border-radius: var(--radius-xl); overflow: hidden; }
.class-modal-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-bottom: none;
  padding: 1.5rem 2rem;
}
.class-modal-header .modal-title { font-weight: 700; }
.class-modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; gap: .5rem; }
.modal-class-detail { padding: .5rem; }
.modal-module-tag {
  font-size: .78rem; font-weight: 700;
  color: var(--blue);
  background: rgba(59,130,246,.1);
  padding: .25rem .75rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.modal-meta-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem;
  background: var(--light-bg);
  border-radius: var(--radius);
}
.modal-meta-item i { font-size: 1rem; color: var(--blue); flex-shrink: 0; margin-top: .1rem; }
.modal-meta-item strong { font-size: .75rem; font-weight: 700; display: block; color: var(--text-muted); margin-bottom: .1rem; }
.modal-meta-item span { font-size: .88rem; color: var(--text); }
.status-badge {
  font-size: .75rem; font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 50px;
}
.modal-section { margin-bottom: 1rem; }
.modal-section h6 {
  font-size: .82rem; font-weight: 700;
  color: var(--navy); margin-bottom: .5rem;
  display: flex; align-items: center;
}
.modal-section p { font-size: .88rem; color: var(--text-muted); }

/* Mobile responsive for dashboard */
@media (max-width: 991.98px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .sidebar-toggle-btn { display: block; }
  .modal-meta-grid { grid-template-columns: 1fr; }
}

/* ── 18. Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 70px 0 0;
}
.footer-brand { text-decoration: none; }
.footer-desc { font-size: .85rem; line-height: 1.7; max-width: 300px; }
.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65) !important;
  font-size: .95rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-socials a:hover {
  background: var(--accent);
  color: var(--navy-dark) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .35rem 0; }
.footer-links a {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none;
  font-size: .85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent) !important; }
.footer-links li i { font-size: .75rem; color: var(--text-muted); }

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .78rem; margin: 0; }
.footer-legal a {
  color: rgba(255,255,255,.45) !important;
  text-decoration: none;
  font-size: .78rem;
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--accent) !important; }

/* ── 19. Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(30,58,95,.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ── 20. Animations & AOS overrides ──────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* Smooth focus ring */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ── Cookie Consent Banner ────────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0f172a;
  border-top: 2px solid var(--accent);
  padding: 1.1rem 1.5rem;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s;
  opacity: 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,.3);
}
.cookie-consent--visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent--hidden {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  flex: 1;
  min-width: 260px;
}
.cookie-consent-text strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: .2rem;
}
.cookie-consent-text p {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-consent-link {
  color: var(--accent);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-consent-link:hover { color: #fff; }
.cookie-consent-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--accent);
  color: #0f172a;
  border: none;
  border-radius: 50px;
  padding: .55rem 1.4rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--accent-dark); color: #fff; }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .55rem 1.4rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,.6); color: #fff; }

@media (max-width: 600px) {
  .cookie-consent-inner { flex-direction: column; gap: 1rem; }
  .cookie-consent-actions { width: 100%; }
  .btn-cookie-accept, .btn-cookie-decline { flex: 1; text-align: center; }
}

/* ── 21. Mobile Global ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-padded { padding: 60px 0; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: .95rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .auth-right { padding: 2rem 1rem; }
  .contact-form-card { padding: 1.5rem; }
  .classes-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .how-it-works-steps { flex-direction: column; align-items: center; }
  .module-detail-header { flex-direction: column; gap: .5rem; }
  .module-number-large { font-size: 3rem; }
  .upcoming-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  .stat-item { min-width: 130px; }
  .section-title { font-size: 1.6rem; }
  .hero-trust { flex-direction: column; gap: .5rem; }
}

/* ── Data Protection Page ────────────────────────────────────────── */
.ico-cert-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: inline-block;
}
.ico-cert-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.ico-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.ico-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.ico-card-sub { color: var(--text-muted); font-size: .88rem; }
.ico-badge-lg { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.ico-body-text { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }

.ico-reg-details {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.ico-reg-heading { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.ico-reg-list { list-style: none; padding: 0; margin: 0; }
.ico-reg-list li {
  display: flex;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.ico-reg-list li:last-child { border-bottom: none; }
.ico-reg-label {
  min-width: 180px;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}
.ico-reg-value { color: var(--text-muted); }

@media (max-width: 768px) {
  .ico-reg-list li { flex-direction: column; gap: .2rem; }
  .ico-reg-label { min-width: unset; }
}

/* ── Terms & Conditions ───────────────────────────────────────────── */
.terms-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.terms-section:last-child { border-bottom: none; }

.terms-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.terms-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 900;
  flex-shrink: 0;
}
.terms-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.terms-body a { color: var(--accent); }

.terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.terms-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .6rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.terms-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .6rem;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

address.terms-address {
  font-style: normal;
  background: var(--light-bg);
  border-left: 3px solid var(--accent);
  padding: .85rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: .92rem;
}

/* Pricing table inside terms */
.terms-table-wrap { overflow-x: auto; }
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.terms-table th {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.terms-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.terms-table tr:last-child td { border-bottom: none; }
.terms-table tr:nth-child(even) td { background: var(--light-bg); }

/* Cancellation policy grid */
.terms-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.terms-policy-item {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-left: 4px solid;
}
.terms-policy-item strong { font-weight: 700; color: var(--navy); }
.terms-policy-item span { color: var(--text-muted); }
.terms-policy-green { background: rgba(16,185,129,.07); border-color: #10b981; }
.terms-policy-amber { background: rgba(6,182,212,.07); border-color: var(--accent); }
.terms-policy-red   { background: rgba(239,68,68,.07);  border-color: #ef4444; }

@media (max-width: 600px) {
  .terms-policy-grid { grid-template-columns: 1fr; }
  .terms-heading { font-size: 1.05rem; }
}
