@import url('fonts.css');

:root {
  --primary: #06b6d4;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --accent: #063793;
  --accent-light: #e0f2fe;
  --warm: #f59e0b;
  --warm-light: #fef3c7;
  --success: #10b981;
  --success-light: #d1fae5;
  --rose: #f43f5e;
  --rose-light: #ffe4e6;
  --violet: #7c3aed;
  --violet-light: #ede9fe;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-app);
  color: var(--slate-800);
  line-height: 1.7;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.en-text {
  font-family: var(--font-english);
}

/* ---- Reading Progress ---- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--primary-light),
    var(--accent),
    var(--violet)
  );
  transition: width 0.15s linear;
}

/* ---- Navigation ---- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 64px;
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.top-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  padding: 10px 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-brand .brand-logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(260px, 36vw);
  object-fit: contain;
}
.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-partner {
  display: flex;
  align-items: center;
}
.nav-unicef-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(190px, 38vw);
  object-fit: contain;
}
.nav-link {
  padding: 8px 14px;
  color: var(--slate-600);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(99, 102, 241, 0.06)
  );
}
.nav-cta {
  background: linear-gradient(135deg, #063793, #06b6d4) !important;
  color: white !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(99, 165, 241, 0.2);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 165, 241, 0.2);
}
.nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--slate-700);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--slate-100);
}

/* ---- HERO SECTION ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 132px 0 60px;
  overflow: hidden;
}
/* Ensure content is above backgrounds */
.hero .container {
  position: relative;
  z-index: 10;
}
/* Subtle dot pattern background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    var(--slate-200) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  opacity: 0.5;
  z-index: 0;
}
/* Hero shape decorations */
.hero-shape-left,
.hero-shape-right {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-shape-left {
  left: 0;
  bottom: 0;
  height: 100%;
}
.hero-shape-right {
  right: 0;
  bottom: 0;
  height: 80%;
}
.hero-shape-left img,
.hero-shape-right img {
  height: 100%;
  width: auto;
  opacity: 0.2;
}
/* Gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  animation: floatOrb 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  top: -100px;
  right: -100px;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  bottom: -50px;
  left: -100px;
  animation-delay: -7s;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}
@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
.hero-content {
  position: relative;
  z-index: 10;
}
.hero-illustration {
  position: relative;
  z-index: 10;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}
.hero-badge i {
  font-size: 0.75rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #063793, #06b6d4);
  color: white;
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 64, 175, 0.4);
  color: white;
}
.btn-hero-secondary {
  background: white;
  color: var(--slate-700);
  border: 2px solid var(--slate-200);
}
.btn-hero-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}
.hero-illustration {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-illustration img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ---- STATS BANNER ---- */
.stats-banner {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: 80px;
}
@media screen and (max-width: 991px) {
  .stats-banner {
    margin-top: 0 !important;
    padding: 50px 0;
  }
}
@media screen and (max-width: 991px) {
  .stats-banner {
    padding: 40px 0;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.stat-item {
  background: linear-gradient(135deg, #063793, #06b6d4);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  opacity: 0;
  transition: var(--transition);
}
.stat-item:hover::before {
  opacity: 1;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-200);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--slate-100);
  font-weight: 500;
}

/* ---- SECTION STYLES ---- */
.section {
  padding: 80px 0;
  position: relative;
}
.section-light {
  background: var(--slate-50);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.section-label i {
  font-size: 0.7rem;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ---- DECORATIVE BACKGROUNDS ---- */
.section-bg-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.section-bg-decoration::before,
.section-bg-decoration::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
}
/* Modules Section BG */
.section-bg-modules::before {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  top: -200px;
  right: -150px;
  animation: floatOrb 25s ease-in-out infinite;
}
.section-bg-modules::after {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--violet), var(--rose));
  bottom: -150px;
  left: -100px;
  animation: floatOrb 20s ease-in-out infinite reverse;
}
/* Why Section BG */
.section-bg-why {
  background-image: radial-gradient(
      circle at 15% 30%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(14, 165, 233, 0.04) 0%,
      transparent 40%
    );
}
.section-bg-why::before {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  top: 20%;
  right: -100px;
  animation: floatOrb 30s ease-in-out infinite;
}
/* Teacher Section BG */
.section-bg-teacher {
  background-image: radial-gradient(
      circle at 80% 20%,
      rgba(124, 58, 237, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(16, 185, 129, 0.04) 0%,
      transparent 50%
    );
}
.section-bg-teacher::before {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--violet), var(--warm));
  top: -100px;
  left: -150px;
  animation: floatOrb 28s ease-in-out infinite;
}
.section-bg-teacher::after {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--success), var(--accent));
  bottom: -100px;
  right: -100px;
  animation: floatOrb 22s ease-in-out infinite reverse;
}
/* Student Section BG */
.section-bg-student {
  background-image: radial-gradient(
      circle at 25% 50%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 75% 50%,
      rgba(59, 130, 246, 0.04) 0%,
      transparent 45%
    );
}
.section-bg-student::before {
  width: 550px;
  height: 550px;
  background: linear-gradient(135deg, var(--warm), var(--rose));
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  animation: floatOrb 32s ease-in-out infinite;
}

/* ---- MODULE CARDS ---- */
.modules-section {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(239, 246, 255, 0.3) 50%,
    rgba(237, 233, 254, 0.2) 100%
  );
  position: relative;
  overflow: hidden;
}
.modules-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.08) 0%,
    transparent 70%
  );
  top: 10%;
  right: -200px;
  pointer-events: none;
}
.modules-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.06) 0%,
    transparent 70%
  );
  bottom: 0;
  left: -150px;
  pointer-events: none;
}
.modules-section .container {
  position: relative;
  z-index: 1;
}
.modules-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mod-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.95)
  );
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mod-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: var(--transition);
}
.mod-card:nth-child(1)::before {
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}
.mod-card:nth-child(2)::before {
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
}
.mod-card:nth-child(3)::before {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
}
.mod-card:nth-child(4)::before {
  background: linear-gradient(90deg, #f59e0b, #fb923c);
}
.mod-card:nth-child(5)::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.mod-card:nth-child(6)::before {
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}
.mod-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.7)
  );
}
.mod-card:hover::before {
  opacity: 1;
}
.mod-card-top {
  padding: 28px 28px 0;
  position: relative;
}
.mod-card-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.mod-card:nth-child(1) .mod-card-number {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.mod-card:nth-child(1):hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15), var(--shadow-hover);
}
.mod-card:nth-child(2) .mod-card-number {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.mod-card:nth-child(2):hover {
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15), var(--shadow-hover);
}
.mod-card:nth-child(3) .mod-card-number {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
.mod-card:nth-child(3):hover {
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15), var(--shadow-hover);
}
.mod-card:nth-child(4) .mod-card-number {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.mod-card:nth-child(4):hover {
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15), var(--shadow-hover);
}
.mod-card:nth-child(5) .mod-card-number {
  background: linear-gradient(135deg, #10b981, #059669);
}
.mod-card:nth-child(5):hover {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15), var(--shadow-hover);
}
.mod-card:nth-child(6) .mod-card-number {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}
.mod-card:nth-child(6):hover {
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.15), var(--shadow-hover);
}

.mod-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.mod-card-duration {
  font-size: 0.82rem;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.mod-card-body {
  padding: 0 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mod-card-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.mod-card-objectives {
  margin-bottom: 20px;
}
.mod-card-objectives h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mod-card-objectives ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mod-card-objectives li {
  font-size: 0.88rem;
  color: var(--slate-600);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.mod-card-objectives li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mod-card:nth-child(1) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #063793, #06b6d4);
}
.mod-card:nth-child(2) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #063793, #06b6d4);
}
.mod-card:nth-child(3) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #063793, #06b6d4);
}
.mod-card:nth-child(4) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}
.mod-card:nth-child(5) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #10b981, #34d399);
}
.mod-card:nth-child(6) .mod-card-objectives li::before {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}
/* Module card progress */
.mod-progress-wrap {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}
.mod-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.mod-progress-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.6),
    rgba(203, 213, 225, 0.8)
  );
  border-radius: 100px;
  overflow: hidden;
}
.mod-progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}
.mod-card:nth-child(1) .mod-progress-fill {
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
}
.mod-card:nth-child(2) .mod-progress-fill {
  background: linear-gradient(90deg, #8b5cf6, #a855f7, #c084fc);
}
.mod-card:nth-child(3) .mod-progress-fill {
  background: linear-gradient(90deg, #06b6d4, #0ea5e9, #38bdf8);
}
.mod-card:nth-child(4) .mod-progress-fill {
  background: linear-gradient(90deg, #f59e0b, #fb923c, #fbbf24);
}
.mod-card:nth-child(5) .mod-progress-fill {
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
}
.mod-card:nth-child(6) .mod-progress-fill {
  background: linear-gradient(90deg, #f43f5e, #fb7185, #fda4af);
}
.mod-card-footer {
  padding: 0 28px 28px;
}
.btn-module-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn-start-new {
  background: linear-gradient(135deg, #063793, #06b6d4);
  color: white;
}
.btn-start-new:hover {
  background: linear-gradient(135deg, #052a6e, #0891b2);
  box-shadow: 0 4px 12px rgba(6, 55, 147, 0.28);
  color: white;
}
.btn-locked-new {
  background: var(--slate-100);
  color: var(--slate-400);
  cursor: not-allowed;
}
.btn-review-new {
  background: var(--success-light);
  color: var(--success);
}
.btn-continue-new {
  background: var(--accent-light);
  color: var(--accent);
}

/* ---- Module Card States ---- */
.mod-card-locked {
}
.mod-card-completed {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.1);
}
.mod-card-completed::before {
  opacity: 1 !important;
  background: linear-gradient(90deg, #10b981, #34d399) !important;
}
.mod-card-active::before {
  opacity: 1 !important;
}
.mod-completion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}
.mod-completion-badge i {
  font-size: 0.9rem;
}

/* ---- WHY TRAINING SECTION ---- */
.why-section {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(239, 246, 255, 0.4) 50%,
    #ffffff 100%
  );
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.08) 0%,
    transparent 70%
  );
  top: 20%;
  right: -150px;
  pointer-events: none;
}
/* Container for content above background */
.why-section .container {
  position: relative;
  z-index: 1;
}
.why-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.why-img-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
}
/* Custom Accordion - Why Section */
.why-accordion .why-acc-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.95)
  );
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.why-accordion .why-acc-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.why-accordion .why-acc-item:hover {
  border-color: var(--primary-200);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.6)
  );
}
.why-accordion .why-acc-item:hover::before {
  opacity: 0.5;
}
.why-accordion .why-acc-item.active {
  border-color: var(--primary-200);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.8)
  );
}
.why-accordion .why-acc-item.active::before {
  opacity: 1;
}
.why-acc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  transition: var(--transition);
}
.why-acc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-acc-icon img {
  width: 32px;
  height: 32px;
}
.why-acc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  flex: 1;
}
.why-acc-arrow {
  color: var(--slate-400);
  transition: var(--transition);
  font-size: 0.85rem;
}
.why-acc-item.active .why-acc-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}
.why-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-acc-item.active .why-acc-body {
  max-height: 200px;
}
.why-acc-body-inner {
  padding: 0 22px 20px 86px;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.why-acc-icon.icon-blue {
  background: var(--primary-100);
}
.why-acc-icon.icon-cyan {
  background: var(--accent-light);
}
.why-acc-icon.icon-violet {
  background: var(--violet-light);
}
.why-acc-icon.icon-amber {
  background: var(--warm-light);
}
.why-acc-icon.icon-green {
  background: var(--success-light);
}

/* ---- TEACHER BENEFITS ---- */
.teacher-section {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(237, 233, 254, 0.3) 30%,
    rgba(254, 243, 199, 0.2) 70%,
    #ffffff 100%
  );
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.teacher-section::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.06) 0%,
    transparent 70%
  );
  top: -100px;
  left: -150px;
  pointer-events: none;
}
.teacher-section::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.05) 0%,
    transparent 70%
  );
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}
.teacher-section .container {
  position: relative;
  z-index: 1;
}
/* Tab pills redesigned */
.benefit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}
.benefit-tab {
  padding: 12px 28px;
  border: 2px solid var(--slate-200);
  border-radius: 100px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.95)
  );
  color: var(--slate-600);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: inherit;
}
.benefit-tab.active,
.benefit-tab:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #063793, #06b6d4);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}
.benefit-pane {
  display: none;
}
.benefit-pane.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}
.benefit-list {
  max-width: 800px;
  margin: 0 auto;
}
.benefit-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.95)
  );
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  opacity: 0;
  transition: var(--transition);
}
.benefit-card:hover {
  border-color: var(--primary-200);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.7)
  );
}
.benefit-card:hover::after {
  opacity: 1;
}
.benefit-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-card-icon img {
  width: 34px;
  height: 34px;
}
.benefit-card-icon.b-blue {
  background: var(--primary-100);
}
.benefit-card-icon.b-violet {
  background: var(--violet-light);
}
.benefit-card-icon.b-cyan {
  background: var(--accent-light);
}
.benefit-card-icon.b-amber {
  background: var(--warm-light);
}
.benefit-card-icon.b-green {
  background: var(--success-light);
}
.benefit-card-icon.b-rose {
  background: var(--rose-light);
}
.benefit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 0.88rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}
.benefit-card .toggle-icon {
  margin-left: auto;
  color: var(--slate-300);
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 4px;
}
.benefit-card:hover .toggle-icon {
  color: var(--primary);
}
.benefit-card-body {
  display: none;
  padding-top: 10px;
}
.benefit-card.open .benefit-card-body {
  display: block;
}

/* ---- STUDENT BENEFITS ---- */
.student-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.student-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.06) 0%,
    transparent 70%
  );
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}
.student-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(244, 63, 94, 0.05) 0%,
    transparent 70%
  );
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  pointer-events: none;
}
.student-section .container {
  position: relative;
  z-index: 1;
}
.student-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.student-card {
  background: #f1fff1;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.student-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--violet),
    var(--rose)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}
.student-card:hover::after {
  opacity: 1;
}
.student-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.8)
  );
  border-color: transparent;
}
.student-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.student-card-icon img {
  width: 40px;
  height: 40px;
}
.student-card-icon.sc-blue {
  background: var(--primary-100);
}
.student-card-icon.sc-rose {
  background: var(--rose-light);
}
.student-card-icon.sc-amber {
  background: var(--warm-light);
}
.student-card-icon.sc-green {
  background: var(--success-light);
}
.student-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.5;
  margin: 0;
}
.student-illo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.student-illo svg,
.student-illo img {
  max-width: 100%;
  max-height: 380px;
}

/* ---- CYBER IMPORTANCE ---- */
.cyber-section-new {
  background: #00164c;
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cyber-section-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 0
  );
  background-size: 32px 32px;
}
.cyber-section-new .section-label {
  color: var(--accent);
}
.cyber-section-new .section-title {
  color: white;
}
.cyber-section-new .section-desc {
  color: var(--slate-400);
}
.cyber-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cyber-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.cyber-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}
.cyber-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}
.cyber-card-icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}
.cyber-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  line-height: 1.5;
  margin: 0;
}

/* ---- ACHIEVEMENT / CERTIFICATE ---- */
.achieve-section {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(239, 246, 255, 0.4) 50%,
    #ffffff 100%
  );
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.achieve-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.06) 0%,
    transparent 70%
  );
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}
.achieve-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.05) 0%,
    transparent 70%
  );
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  pointer-events: none;
}
.achieve-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.achieve-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--violet),
    var(--warm),
    var(--success)
  );
  border-radius: 2px;
}
.achieve-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}
.achieve-dot {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.achieve-dot img {
  width: 36px;
  height: 36px;
}
.achieve-dot.ad-blue {
  background: var(--primary-100);
}
.achieve-dot.ad-amber {
  background: var(--warm-light);
}
.achieve-dot.ad-green {
  background: var(--success-light);
}
.achieve-content {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 26px;
  flex: 1;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.achieve-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--violet),
    var(--warm)
  );
  opacity: 0;
  transition: var(--transition);
}
.achieve-content:hover {
  border-color: var(--primary-200);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1),
    rgba(239, 246, 255, 0.7)
  );
}
.achieve-content:hover::before {
  opacity: 1;
}
.achieve-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.achieve-content p {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.6;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, #063793, #06b6d4);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 2px 2px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 0
    );
  background-size: 100% 100%, 100% 100%, 40px 40px;
}
.cta-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: pulse 8s ease-in-out infinite;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  color: var(--primary-dark);
}

/* ---- FOOTER ---- */
.footer-new {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 28px 0 16px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.footer-copy {
  width: 100%;
  max-width: 720px;
  text-align: center;
}
.footer-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 12px;
}
.footer-partner-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.footer-partner-unicef {
  height: 46px;
  max-width: 150px;
}
.footer-new p {
  margin: 4px 0;
  font-size: 0.88rem;
}
.footer-itlms {
  font-size: 0.8rem !important;
  opacity: 0.6;
}
.footer-disclaimer {
  font-size: 0.78rem !important;
  opacity: 0.8;
  max-width: 520px;
  margin: 10px auto 0 !important;
  line-height: 1.5;
}
.footer-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  margin: 20px auto;
}
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 20px;
  padding: 8px 16px 4px;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.footer-kaz-logo {
  display: block;
  height: 10px !important;
  width: auto;
  object-fit: contain;
}

/* ---- Scroll To Top ---- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #063793, #06b6d4);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(99, 120, 241, 0.3);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(99, 120, 241, 0.3);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
/* Large Desktop - Increase font sizes */
@media (min-width: 1400px) {
  body {
    font-size: 17px;
  }
  .footer-partners {
    gap: 28px;
  }
  .footer-partner-logo {
    height: 70px;
    max-width: 180px;
  }
  .footer-partner-unicef {
    height: 64px;
    max-width: 200px;
  }
  .nav-link {
    font-size: 0.95rem;
    padding: 9px 16px;
  }
  .nav-cta {
    font-size: 1rem !important;
    padding: 11px 24px !important;
  }
  .hero-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
  }
  .hero-desc {
    font-size: 1.2rem;
  }
  .hero-badge {
    font-size: 0.92rem;
  }
  .btn-hero {
    font-size: 1.05rem;
    padding: 17px 36px;
  }
  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
  }
  .section-desc {
    font-size: 1.15rem;
  }
  .section-label {
    font-size: 0.88rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.95rem;
  }
  .mod-card-title {
    font-size: 1.25rem;
  }
  .mod-card-desc {
    font-size: 1rem;
  }
  .mod-card-objectives li {
    font-size: 0.95rem;
  }
  .benefit-card h4 {
    font-size: 1.1rem;
  }
  .benefit-card p {
    font-size: 0.95rem;
  }
  .why-acc-title {
    font-size: 1.08rem;
  }
  .why-acc-body-inner {
    font-size: 0.98rem;
  }
  .student-card h5,
  .cyber-card h5 {
    font-size: 1.02rem;
  }
  .achieve-content h5 {
    font-size: 1.08rem;
  }
  .achieve-content p {
    font-size: 0.96rem;
  }
}

@media (max-width: 1199px) {
  .top-nav {
    padding: 10px 20px;
  }
  .top-nav.scrolled {
    padding: 8px 20px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-center {
    position: fixed;
    top: 0;
    right: -300px;
    width: min(280px, 86vw);
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    gap: 4px;
    z-index: 1001;
    margin-left: 0;
  }
  .nav-center.open {
    right: 0;
  }
  .nav-right {
    margin-left: auto;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .nav-brand .brand-logo-img {
    height: 40px;
    max-width: calc(100vw - 96px);
  }
}

@media (max-width: 991px) {
  .modules-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 100px 0 40px;
    min-height: auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 90px 0 30px;
  }
  .hero-title {
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-hero {
    justify-content: center;
  }
  .hero-illustration {
    margin-top: 40px;
  }
  .modules-grid-new {
    grid-template-columns: 1fr;
  }
  .student-grid,
  .cyber-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .why-section,
  .teacher-section,
  .student-section,
  .cyber-section-new,
  .achieve-section {
    padding: 60px 0;
  }
  .benefit-tabs {
    flex-wrap: wrap;
  }
  .footer-partner-logo {
    height: 42px;
    max-width: 100px;
  }
  .footer-partner-unicef {
    height: 38px;
    max-width: 120px;
  }
  .footer-disclaimer {
    max-width: 100%;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 575px) {
  .top-nav {
    padding: 10px 12px;
    min-height: 72px;
    gap: 8px;
  }
  .nav-right {
    gap: 8px;
  }
  .nav-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  .nav-brand .brand-logo-img {
    height: 40px;
    width: auto;
    max-width: calc(100vw - 72px);
  }
  .footer-partners {
    gap: 12px;
  }
  .footer-partner-logo {
    height: 40px;
    max-width: 96px;
  }
  .footer-partner-unicef {
    height: 36px;
    max-width: 110px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item {
    padding: 20px 14px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Overlay for mobile nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.nav-overlay.show {
  display: block;
}
