/* ==========================================================================
   KNOWLEDGE ACADEMIA — STYLE SHEET
   Premium academy + AI education platform
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* 1. TOKENS / RESET                                                       */
/* ---------------------------------------------------------------------- */
:root{
  /* Colors */
  --navy-deep:#06142B;
  --navy-dark:#091A35;
  --navy-blue:#1F5DB8;
  --gold:#D9A62E;
  --gold-warm:#F0C45C;

  --bg-off-white:#F6F8FB;
  --bg-white:#FFFFFF;
  --bg-light-blue:#EEF3F9;

  --text-navy:#0B2345;
  --text-grey:#64748B;
  --text-white:#FFFFFF;

  --border-soft: rgba(11,35,69,0.08);
  --border-soft-light: rgba(255,255,255,0.14);
  --shadow-soft: 0 10px 30px rgba(6,20,43,0.08);
  --shadow-md: 0 20px 45px rgba(6,20,43,0.12);
  --shadow-lg: 0 30px 70px rgba(6,20,43,0.18);
  --shadow-gold: 0 14px 34px rgba(217,166,46,0.30);

  /* Type */
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --nav-h: 84px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-fast: .25s;
  --dur-med: .5s;
  --dur-slow: .9s;
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text-navy);
  background: var(--bg-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

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

ul{ list-style: none; margin:0; padding:0; }

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

h1,h2,h3,h4,p{ margin:0; }

.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 28px;
}

.skip-link{
  position:absolute;
  left:12px; top:-60px;
  background: var(--navy-deep);
  color:#fff;
  padding:12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus{ top:12px; }

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

section{ position:relative; }

/* ---------------------------------------------------------------------- */
/* 2. TYPE UTILITIES                                                      */
/* ---------------------------------------------------------------------- */
.eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: var(--gold);
  margin-bottom:18px;
}
.eyebrow.center{ justify-content:center; }
.eyebrow-light{ color: var(--gold-warm); }
.eyebrow-line{
  width:34px; height:1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display:inline-block;
}
.eyebrow.center .eyebrow-line:last-child{
  background: linear-gradient(270deg, var(--gold), transparent);
}

.section-title{
  font-family: var(--font-display);
  font-weight:400;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height:1.14;
  color: var(--text-navy);
  letter-spacing:-.01em;
}
.section-title.center{ text-align:center; margin-inline:auto; }
.section-title.light{ color:#fff; }

.text-gold{ color: var(--gold); }
.text-gold-serif{
  font-family: var(--font-display);
  color: var(--gold-warm);
  font-style:italic;
}

.section-text{
  font-size:1.05rem;
  line-height:1.75;
  color: var(--text-grey);
  max-width: 620px;
  margin-top:18px;
}
.section-text.center{ margin-inline:auto; }
.section-text.light{ color: rgba(246,248,251,0.72); }
.section-text.muted{ color: var(--text-grey); margin-top:14px; }

.section-head{ max-width:720px; margin: 0 auto 56px; text-align:center; }
.section-head .eyebrow{ margin-bottom:16px; }

/* ---------------------------------------------------------------------- */
/* 3. BUTTONS                                                             */
/* ---------------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  border-radius: var(--radius-full);
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn .arrow, .btn .arrow-down{
  display:inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .arrow{ transform: translateX(4px); }
.btn:hover .arrow-down{ transform: translateY(3px); }

.btn-gold{
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(217,166,46,0.4);
}
.btn-gold:active{ transform: translateY(-1px); }

.btn-ghost{
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
  border:1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover{
  border-color: var(--gold-warm);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.16);
  color: #FFFFFF;
}
/* Ghost button used on a light section instead of the dark hero */
.btn-ghost-dark{
  color: var(--text-navy);
  border-color: rgba(11,35,69,0.16);
  background: rgba(11,35,69,0.04);
}
.btn-ghost-dark:hover{
  border-color: var(--navy-blue);
  background: rgba(31,93,184,0.06);
  color: var(--text-navy);
}

.btn-lg{ padding:18px 36px; font-size:1rem; }
.btn-block{ width:100%; }

.btn-apply-now{ padding:12px 26px; font-size:.85rem; }

/* ---------------------------------------------------------------------- */
/* 4. NAVBAR                                                              */
/* ---------------------------------------------------------------------- */
.navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  height: var(--nav-h);
  display:flex;
  align-items:center;
  background: transparent;
  transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), backdrop-filter var(--dur-med) var(--ease), height var(--dur-med) var(--ease);
}
.navbar.scrolled{
  background: rgba(6,20,43,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(6,20,43,0.18);
  height: 74px;
}
.navbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{ width:38px; height:38px; flex-shrink:0; }
.brand-mark svg{ width:100%; height:100%; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{
  font-family: var(--font-display);
  font-size:1.18rem;
  color:#fff;
  letter-spacing:.01em;
}
.brand-sub{
  font-size:.62rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--gold-warm);
  margin-top:2px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-link{
  position:relative;
  font-size:.92rem;
  font-weight:600;
  color: rgba(255,255,255,0.82);
  padding:8px 0;
  transition: color var(--dur-fast) ease;
}
.nav-link::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0%; height:2px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease);
}
.nav-link:hover, .nav-link.active{ color:#fff; }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.navbar-actions{ display:flex; align-items:center; gap:18px; }

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px; height:40px;
  border-radius: 10px;
}
.hamburger span{
  display:block;
  width:22px; height:2px;
  background:#fff;
  border-radius:2px;
  transition: transform var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed;
  top:0; right:0;
  height:100vh;
  width:min(340px, 84vw);
  background: linear-gradient(180deg, var(--navy-dark), var(--navy-deep));
  z-index: 600;
  padding: 110px 30px 40px;
  display:flex;
  flex-direction:column;
  gap:34px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu nav{ display:flex; flex-direction:column; gap:22px; }
.mobile-menu nav a{
  color:#fff;
  font-size:1.1rem;
  font-weight:600;
  opacity:.9;
}
.mobile-menu nav a:hover{ color: var(--gold-warm); opacity:1; }

.mobile-menu-backdrop{
  position:fixed; inset:0;
  background: rgba(6,20,43,0.55);
  backdrop-filter: blur(2px);
  z-index: 550;
  opacity:0;
  pointer-events:none;
  transition: opacity var(--dur-med) ease;
}
.mobile-menu-backdrop.open{ opacity:1; pointer-events:auto; }

/* ---------------------------------------------------------------------- */
/* 5. HERO                                                                */
/* ---------------------------------------------------------------------- */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding-top: var(--nav-h);
  background: radial-gradient(120% 100% at 100% 0%, #0C2148 0%, var(--navy-deep) 55%, var(--navy-deep) 100%);
  overflow:hidden;
}

.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-glow{
  position:absolute;
  border-radius:50%;
  filter: blur(90px);
  opacity:.55;
}
.hero-glow-1{
  width:520px; height:520px;
  background: radial-gradient(circle, rgba(31,93,184,0.55), transparent 70%);
  top:-140px; right:-100px;
}
.hero-glow-2{
  width:420px; height:420px;
  background: radial-gradient(circle, rgba(217,166,46,0.28), transparent 70%);
  bottom:-140px; left:-120px;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 20%, transparent 75%);
}
.floating-shape{ position:absolute; pointer-events:none; }
.shape-ring{
  width:120px; height:120px;
  border:1.5px solid rgba(217,166,46,0.35);
  border-radius:50%;
  top:18%; left:6%;
  animation: float-slow 9s ease-in-out infinite;
}
.shape-dot{
  width:10px; height:10px;
  background: var(--gold-warm);
  border-radius:50%;
  box-shadow: 0 0 18px 4px rgba(240,196,92,0.5);
}
.shape-dot-1{ top:32%; left:16%; animation: float-slow 7s ease-in-out infinite; }
.shape-dot-2{ bottom:22%; left:9%; animation: float-slow 8s ease-in-out infinite 1s; }

@keyframes float-slow{
  0%,100%{ transform: translateY(0) translateX(0); }
  50%{ transform: translateY(-18px) translateX(6px); }
}

.hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  padding-block: 70px 110px;
}

.hero-copy{
  max-width: 800px;
  text-align:center;
}
.hero-copy .eyebrow{ justify-content:center; }

.hero-title{
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height:1.08;
  color:#fff;
  letter-spacing:-.01em;
  margin-bottom:26px;
}

.hero-text{
  font-size:1.2rem;
  line-height:1.75;
  color: rgba(246,248,251,0.72);
  max-width:620px;
  margin-inline:auto;
  margin-bottom:42px;
}

.hero-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:18px; margin-bottom:48px; }

.hero-trust{ display:flex; align-items:center; justify-content:center; gap:14px; }
.hero-trust p{ font-size:.95rem; color: rgba(246,248,251,0.65); }
.hero-trust strong{ color:#fff; }
.hero-trust-avatars{ display:flex; }
.avatar-chip{
  width:34px; height:34px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--navy-blue), #0C2A5E);
  border:2px solid var(--navy-deep);
  color:#fff;
  font-size:.72rem;
  font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin-left:-10px;
}
.avatar-chip:first-child{ margin-left:0; }
.avatar-chip:last-child{ background: linear-gradient(135deg, var(--gold-warm), var(--gold)); color: var(--navy-deep); }

.glass-card{
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border:1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-md);
  padding:14px 18px;
  box-shadow: 0 16px 34px rgba(6,20,43,0.28);
  color:#fff;
}
.glass-card strong{ display:block; font-size:.85rem; font-weight:700; }
.glass-card span{ font-size:.72rem; color: rgba(255,255,255,0.72); }
.glass-card-icon{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background: rgba(217,166,46,0.24);
  font-size:1rem;
  flex-shrink:0;
}

@keyframes float-card{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.scroll-cue{
  position:absolute;
  bottom:28px; left:50%;
  transform: translateX(-50%);
  width:26px; height:42px;
  border:2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  z-index:3;
}
.scroll-cue span{
  position:absolute;
  top:7px; left:50%;
  transform: translateX(-50%);
  width:4px; height:8px;
  background: var(--gold-warm);
  border-radius:2px;
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move{
  0%{ opacity:1; top:7px; }
  70%{ opacity:0; top:20px; }
  100%{ opacity:0; top:7px; }
}

/* ---------------------------------------------------------------------- */
/* 6. MARQUEE                                                             */
/* ---------------------------------------------------------------------- */
.marquee{
  overflow:hidden;
  position:relative;
  width:100%;
  padding: 20px 0;
  white-space:nowrap;
}
.marquee-gold{
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  transform: rotate(-1deg) scale(1.02);
  margin-block: -18px;
  z-index:4;
  box-shadow: 0 10px 30px rgba(217,166,46,0.25);
}
.marquee-navy{
  background: var(--navy-deep);
  border-top:1px solid rgba(255,255,255,0.06);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.marquee-track{
  display:inline-flex;
  align-items:center;
  gap:0;
  animation: marquee-left 16s linear infinite;
  will-change: transform;
}
.marquee-track-reverse{ animation-name: marquee-right; animation-duration: 20s; }

.marquee-item{
  display:inline-flex;
  align-items:center;
  gap:22px;
  font-family: var(--font-display);
  font-size:1.3rem;
  padding-inline:22px;
  color: var(--navy-deep);
  font-style:italic;
}
.marquee-navy .marquee-item{ color: rgba(246,248,251,0.85); }
.marquee-item i{ font-style:normal; color: var(--navy-deep); opacity:.6; font-size:1rem; }
.marquee-navy .marquee-item i{ color: var(--gold-warm); opacity:.8; }

@keyframes marquee-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@keyframes marquee-right{
  from{ transform: translateX(-50%); }
  to{ transform: translateX(0); }
}

/* ---------------------------------------------------------------------- */
/* 7. ABOUT                                                               */
/* ---------------------------------------------------------------------- */
.about{ padding: 130px 0 100px; background: var(--bg-off-white); }

.about-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:70px;
  align-items:center;
  margin-bottom:90px;
}

.link-underline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  color: var(--navy-blue);
  margin-top:26px;
  position:relative;
  padding-bottom:3px;
}
.link-underline::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:1.5px;
  background: var(--navy-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease);
}
.link-underline:hover::after{ transform: scaleX(1); transform-origin: left; }
.link-underline:hover .arrow{ transform: translateX(4px); }
.link-underline .arrow{ transition: transform var(--dur-fast) var(--ease); }
.link-btn{ font-family: inherit; font-size:1rem; }

.about-visual{ position:relative; }
.about-visual img{
  border-radius: var(--radius-lg);
  aspect-ratio: 4/4.6;
  object-fit:cover;
  box-shadow: var(--shadow-md);
}
.about-visual-frame{
  position:absolute;
  top:20px; left:20px;
  width:100%; height:100%;
  border:1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index:-1;
}

.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:24px;
}
.stat-card{
  background: var(--bg-white);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding:32px 26px;
  text-align:center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) ease;
}
.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(217,166,46,0.35);
}
.stat-num, .stat-word{
  display:block;
  font-family: var(--font-display);
  font-size:2.2rem;
  color: var(--navy-blue);
  margin-bottom:8px;
}
.stat-label{
  font-size:.82rem;
  color: var(--text-grey);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:600;
}

/* ---------------------------------------------------------------------- */
/* 8. COURSES                                                             */
/* ---------------------------------------------------------------------- */
.courses{ padding: 110px 0; background: var(--bg-light-blue); }

.course-tabs{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:56px;
  flex-wrap:wrap;
}
.course-tab{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding:22px 30px;
  background: var(--bg-white);
  border:1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  min-width:230px;
  text-align:left;
  transition: all var(--dur-fast) var(--ease);
}
.tab-index{
  font-family: var(--font-display);
  font-size:.95rem;
  color: var(--gold);
}
.tab-label{ font-weight:800; font-size:1.05rem; color: var(--text-navy); }
.tab-desc{ font-size:.8rem; color: var(--text-grey); }

.course-tab:hover{ border-color: var(--navy-blue); transform: translateY(-3px); }
.course-tab.active{
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-deep));
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}
.course-tab.active .tab-label{ color:#fff; }
.course-tab.active .tab-desc{ color: rgba(255,255,255,0.65); }
.course-tab.active .tab-index{ color: var(--gold-warm); }

.course-panel{ display:none; }
.course-panel.active{ display:block; animation: panel-fade .5s var(--ease); }
@keyframes panel-fade{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}

.course-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:30px;
}
.course-grid-4{ grid-template-columns: repeat(4, 1fr); }

.course-card{
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  display:flex;
  flex-direction:column;
}
.course-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card-img{
  position:relative;
  aspect-ratio: 4/2.9;
  overflow:hidden;
}
.course-card-img img{
  width:100%; height:100%;
  object-fit:cover;
  transition: transform .8s var(--ease);
}
.course-card:hover .course-card-img img{ transform: scale(1.08); }
.course-card-img::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,20,43,0) 55%, rgba(6,20,43,0.5) 100%);
}

.course-badge{
  position:absolute;
  top:16px; left:16px;
  z-index:2;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:7px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.badge-regular{ background: rgba(31,93,184,0.85); color:#fff; }
.badge-spec{ background: rgba(217,166,46,0.92); color: var(--navy-deep); }

.course-card-body{
  padding:26px 24px 28px;
  display:flex;
  flex-direction:column;
  flex:1;
  position:relative;
}
.course-card-body::before{
  content:'';
  position:absolute;
  top:0; left:24px;
  width:0; height:2px;
  background: var(--gold);
  transition: width var(--dur-med) var(--ease);
}
.course-card:hover .course-card-body::before{ width: 44px; }

.course-title{
  font-family: var(--font-display);
  font-size:1.35rem;
  color: var(--text-navy);
  margin-bottom:10px;
}
.course-desc{
  font-size:.92rem;
  line-height:1.65;
  color: var(--text-grey);
  margin-bottom:22px;
  flex:1;
}
.course-apply{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.9rem;
  color: var(--navy-blue);
  align-self:flex-start;
  transition: color var(--dur-fast) ease, gap var(--dur-fast) ease;
}
.course-apply .arrow{ transition: transform var(--dur-fast) var(--ease); }
.course-apply:hover{ color: var(--gold); }
.course-apply:hover .arrow{ transform: translateX(6px); }

/* ---------------------------------------------------------------------- */
/* 9. WHY US                                                              */
/* ---------------------------------------------------------------------- */
.why-us{ padding:110px 0; background: var(--bg-off-white); }

.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:28px;
}
.feature-card{
  background: var(--bg-white);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding:34px 30px;
  position:relative;
  overflow:hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) ease;
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217,166,46,0.35);
}
.feature-card::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:3px;
  background: linear-gradient(90deg, var(--gold-warm), var(--gold));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform var(--dur-med) var(--ease);
}
.feature-card:hover::after{ transform: scaleX(1); }

.feature-num{
  display:block;
  font-family: var(--font-display);
  font-size:1rem;
  color: rgba(11,35,69,0.28);
  margin-bottom:18px;
}
.feature-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px; height:52px;
  border-radius:50%;
  background: var(--bg-light-blue);
  color: var(--navy-blue);
  margin-bottom:20px;
}
.feature-icon svg{ width:24px; height:24px; }
.feature-card h3{
  font-family: var(--font-display);
  font-size:1.2rem;
  margin-bottom:10px;
  color: var(--text-navy);
}
.feature-card p{
  font-size:.92rem;
  line-height:1.65;
  color: var(--text-grey);
}

/* ---------------------------------------------------------------------- */
/* 10. AI SECTION                                                         */
/* ---------------------------------------------------------------------- */
.ai-section{
  background: radial-gradient(120% 120% at 10% 10%, #0C2148 0%, var(--navy-deep) 60%);
  padding:130px 0;
  overflow:hidden;
}
.ai-bg{ position:absolute; inset:0; z-index:0; }
.ai-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, black 10%, transparent 75%);
}
.ai-glow{
  position:absolute;
  width:500px; height:500px;
  right:-100px; top:10%;
  background: radial-gradient(circle, rgba(217,166,46,0.22), transparent 70%);
  filter: blur(60px);
}
#ai-particles{ position:absolute; inset:0; width:100%; height:100%; }

.ai-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}

.ai-labels{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:30px 0 38px;
}
.ai-label{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.82rem;
  font-weight:600;
  color: rgba(246,248,251,0.85);
  border:1px solid rgba(255,255,255,0.16);
  padding:10px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
}
.ai-dot{
  width:7px; height:7px;
  border-radius:50%;
  background: var(--gold-warm);
  box-shadow: 0 0 0 4px rgba(240,196,92,0.2);
}

.ai-visual{ display:flex; justify-content:center; }
.ai-orb-frame{
  position:relative;
  width:min(420px, 90vw);
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ai-orb-ring{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(217,166,46,0.28);
}
.ring-1{ width:100%; height:100%; animation: spin-slow 40s linear infinite; }
.ring-2{ width:74%; height:74%; border-color: rgba(31,93,184,0.4); animation: spin-slow 30s linear infinite reverse; }
.ring-3{ width:48%; height:48%; border-color: rgba(217,166,46,0.5); animation: spin-slow 22s linear infinite; }
@keyframes spin-slow{ from{ transform: rotate(0); } to{ transform: rotate(360deg); } }

.ai-orb-core{
  position:relative;
  width:100px; height:100px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, rgba(217,166,46,0.35), rgba(9,26,53,0.9));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 60px rgba(217,166,46,0.35), inset 0 0 30px rgba(217,166,46,0.2);
}
.ai-orb-core svg{ width:38px; height:38px; }

.ai-node{
  position:absolute;
  width:8px; height:8px;
  border-radius:50%;
  background: var(--gold-warm);
  box-shadow: 0 0 14px 3px rgba(240,196,92,0.5);
  animation: float-card 4.5s ease-in-out infinite;
}
.node-1{ top:6%; left:20%; }
.node-2{ top:22%; right:8%; animation-delay: .6s; }
.node-3{ bottom:12%; left:8%; animation-delay: 1.2s; background: var(--navy-blue); box-shadow:0 0 14px 3px rgba(31,93,184,0.5); }
.node-4{ bottom:20%; right:18%; animation-delay: 1.8s; }

.ai-float-card{ padding:12px 16px; }
.ai-float-card strong{ font-size:.82rem; }
.card-node-1{ top:0; left:-14%; animation: float-card 5s ease-in-out infinite; }
.card-node-2{ bottom:2%; right:-16%; animation: float-card 5.6s ease-in-out infinite .8s; }

/* ---------------------------------------------------------------------- */
/* 11. CEO                                                                */
/* ---------------------------------------------------------------------- */
.ceo{ padding:120px 0; background: var(--bg-white); }
.ceo-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:70px;
  align-items:center;
}
.ceo-visual{ position:relative; display:flex; justify-content:center; }
.ceo-portrait{
  width:min(300px, 70vw);
  aspect-ratio:1/1;
  border-radius:50%;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  position:relative;
  z-index:2;
}
.ceo-portrait svg{ width:100%; height:100%; }
.ceo-portrait-ring{
  position:absolute;
  inset:-16px;
  border:1.5px dashed rgba(217,166,46,0.5);
  border-radius:50%;
  animation: spin-slow 60s linear infinite;
}

.ceo-quote{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height:1.5;
  color: var(--text-navy);
  margin:0 0 30px;
  font-style:italic;
  position:relative;
  padding-left:26px;
  border-left:3px solid var(--gold);
}
.ceo-attribution{ display:flex; flex-direction:column; gap:4px; margin-bottom:20px; }
.ceo-attribution strong{ font-size:1.05rem; color: var(--text-navy); }
.ceo-attribution span{ font-size:.76rem; letter-spacing:.08em; color: var(--text-grey); text-transform:uppercase; }

/* Modal */
.modal-overlay{
  position:fixed; inset:0;
  background: rgba(6,20,43,0.72);
  backdrop-filter: blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:900;
  opacity:0;
  pointer-events:none;
  transition: opacity var(--dur-med) ease;
}
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal{
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width:660px;
  width:100%;
  max-height:85vh;
  overflow-y:auto;
  padding:48px 44px;
  position:relative;
  transform: translateY(30px) scale(.97);
  transition: transform var(--dur-med) var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal{ transform: translateY(0) scale(1); }
.modal-close{
  position:absolute;
  top:18px; right:18px;
  width:38px; height:38px;
  border-radius:50%;
  background: var(--bg-light-blue);
  font-size:1.4rem;
  line-height:1;
  display:flex; align-items:center; justify-content:center;
  color: var(--text-navy);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.modal-close:hover{ background: var(--gold-warm); transform: rotate(90deg); }
.modal-title{
  font-family: var(--font-display);
  font-size:1.7rem;
  margin-bottom:22px;
  color: var(--text-navy);
}
.modal-body p{
  font-size:.98rem;
  line-height:1.8;
  color: var(--text-grey);
  margin-bottom:16px;
}
.modal-sign{ color: var(--text-navy) !important; font-weight:700; }
.modal-sign span{ font-weight:500; color: var(--text-grey); font-size:.85rem; }

/* ---------------------------------------------------------------------- */
/* 12. TESTIMONIALS                                                       */
/* ---------------------------------------------------------------------- */
.testimonials{
  padding:110px 0 100px;
  background: var(--bg-off-white);
  position:relative;
  overflow:hidden;
}
.testimonials-decor{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.decor-num{
  position:absolute;
  top:20px; right:5%;
  font-family: var(--font-display);
  font-size:9rem;
  color: rgba(11,35,69,0.035);
  line-height:1;
}
.decor-dot{ position:absolute; width:9px; height:9px; border-radius:50%; background: var(--gold); opacity:.5; }
.dot-1{ top:14%; left:6%; }
.dot-2{ bottom:18%; right:10%; background: var(--navy-blue); }
.decor-line{
  position:absolute;
  top:40%; left:2%;
  width:1px; height:120px;
  background: linear-gradient(180deg, transparent, rgba(217,166,46,0.4), transparent);
}
.decor-glow{
  position:absolute;
  width:400px; height:400px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(31,93,184,0.08), transparent 70%);
  bottom:-100px; left:30%;
}

.testimonial-marquee{
  overflow:hidden;
  width:100%;
  padding-block:12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.testimonial-track{
  display:inline-flex;
  gap:24px;
  animation: marquee-left 26s linear infinite;
  will-change: transform;
  padding-inline:12px;
}
.testimonial-track-reverse{ animation-name: marquee-right; animation-duration: 32s; }
.testimonial-marquee:hover .testimonial-track{ animation-play-state: paused; }

.testimonial-card{
  flex: 0 0 auto;
  width:360px;
  background: var(--bg-white);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding:28px 26px;
  position:relative;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space:normal;
}
.testimonial-card::before{
  content:'';
  position:absolute;
  top:0; left:28px;
  width:38px; height:3px;
  background: linear-gradient(90deg, var(--gold-warm), var(--gold));
  border-radius:0 0 4px 4px;
}
.testimonial-card:hover{
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-md);
}
.testimonial-stars{ color: var(--gold); font-size:.95rem; letter-spacing:2px; margin-bottom:14px; }
.testimonial-quote{
  font-size:.94rem;
  line-height:1.7;
  color: var(--text-navy);
  margin-bottom:20px;
  min-height:96px;
}
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.testimonial-avatar{
  width:42px; height:42px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--navy-blue), var(--navy-deep));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  font-size:.85rem;
  flex-shrink:0;
}
.testimonial-meta{ display:flex; flex-direction:column; }
.testimonial-name{ font-weight:700; font-size:.88rem; color: var(--text-navy); }
.testimonial-course{
  font-size:.72rem;
  color: var(--navy-blue);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:600;
}

.testimonial-grid-static{
  display:none;
  grid-template-columns: repeat(3, 1fr);
  gap:26px;
  margin-top:20px;
}
.testimonial-grid-static .testimonial-card{ width:100%; }

/* ---------------------------------------------------------------------- */
/* 13. GLOBAL                                                             */
/* ---------------------------------------------------------------------- */
.global{ padding:110px 0; background: var(--bg-light-blue); }
.global-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:22px;
}
.global-card{
  background: var(--bg-white);
  border:1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding:32px 20px;
  text-align:center;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) ease;
}
.global-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(31,93,184,0.3);
}
.global-flag{ font-size:2.1rem; display:block; margin-bottom:14px; }
.global-card h3{
  font-family: var(--font-display);
  font-size:1.08rem;
  color: var(--text-navy);
  margin-bottom:8px;
}
.global-card p{ font-size:.82rem; color: var(--text-grey); line-height:1.5; }

/* ---------------------------------------------------------------------- */
/* 14. CTA                                                                */
/* ---------------------------------------------------------------------- */
.cta{
  padding:120px 0;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy-deep));
  overflow:hidden;
  text-align:center;
}
.cta-bg{ position:absolute; inset:0; }
.cta-glow{
  position:absolute;
  width:700px; height:700px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(217,166,46,0.18), transparent 70%);
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  filter: blur(40px);
}
.cta-inner{ position:relative; z-index:2; }
.cta-title{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  color:#fff;
  margin-bottom:20px;
  line-height:1.15;
}
.cta-text{
  font-size:1.08rem;
  color: rgba(246,248,251,0.72);
  margin-bottom:38px;
}

/* ---------------------------------------------------------------------- */
/* 15. FOOTER                                                             */
/* ---------------------------------------------------------------------- */
.footer{
  background: var(--navy-deep);
  padding:90px 0 30px;
  color: rgba(246,248,251,0.72);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:50px;
  padding-bottom:60px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name{ color:#fff; }
.footer-tagline{
  font-family: var(--font-display);
  font-style:italic;
  color: var(--gold-warm);
  font-size:1.05rem;
  margin-top:20px;
}
.footer-alt{ font-size:.86rem; margin-top:10px; max-width:280px; line-height:1.6; }

.footer-col h4{
  color:#fff;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:22px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:13px; }
.footer-col a{
  font-size:.9rem;
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
}
.footer-col a:hover{ color: var(--gold-warm); padding-left:4px; }
.footer-social{ display:flex; gap:14px; margin-top:4px; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:26px;
  font-size:.82rem;
}
.back-to-top{
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.16);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.back-to-top:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

/* ---------------------------------------------------------------------- */
/* 16. SCROLL REVEAL                                                      */
/* ---------------------------------------------------------------------- */
.reveal-up{
  opacity:0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-up.in-view{ opacity:1; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* 17. RESPONSIVE                                                        */
/* ---------------------------------------------------------------------- */

/* Shorter viewports (small laptop windows, landscape tablets): tighten
   hero vertical rhythm. */
@media (max-height: 780px) and (min-width:1024px){
  .hero-title{ margin-bottom:16px; }
  .hero-text{ margin-bottom:26px; }
  .hero-cta{ margin-bottom:26px; }
}
@media (max-width:1439px){
  :root{ --container-w: 1120px; }
}

@media (max-width:1023px){
  :root{ --container-w: 100%; }
  .nav-links{ display:none; }
  .hamburger{ display:flex; }

  .hero-inner{ padding-block:56px 80px; }

  .about-grid{ grid-template-columns:1fr; gap:50px; }
  .about-copy{ text-align:center; }
  .about-copy .section-text{ margin-inline:auto; }
  .about-visual{ max-width:420px; margin-inline:auto; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }

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

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

  .ai-inner{ grid-template-columns:1fr; text-align:center; }
  .ai-copy{ display:flex; flex-direction:column; align-items:center; }
  .ai-labels{ justify-content:center; }
  .ai-visual{ margin-top:40px; }

  .ceo-grid{ grid-template-columns:1fr; text-align:center; gap:40px; }
  .ceo-quote{ text-align:left; margin-inline:auto; max-width:560px; }

  .global-grid{ grid-template-columns:repeat(3,1fr); }

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

@media (max-width:767px){
  .container{ padding-inline:20px; }
  :root{ --nav-h:72px; }

  .hero-title{ font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-cta{ flex-direction:column; width:100%; }
  .hero-cta .btn{ width:100%; }

  .about{ padding:90px 0 70px; }
  .stats-grid{ grid-template-columns:1fr 1fr; gap:16px; }
  .stat-card{ padding:24px 16px; }
  .stat-num, .stat-word{ font-size:1.6rem; }

  .courses{ padding:80px 0; }
  .course-tabs{ flex-direction:column; align-items:stretch; }
  .course-tab{ min-width:unset; }
  .course-grid{ grid-template-columns:1fr; }
  .course-grid-4{ grid-template-columns:1fr; }

  .why-us{ padding:80px 0; }
  .features-grid{ grid-template-columns:1fr; }

  .ai-section{ padding:80px 0; }

  .ceo{ padding:80px 0; }

  .testimonials{ padding:80px 0 70px; }
  .testimonial-card{ width:280px; }
  .decor-num{ font-size:5.5rem; }

  .global{ padding:80px 0; }
  .global-grid{ grid-template-columns:repeat(2,1fr); }

  .cta{ padding:90px 0; }

  .footer{ padding:70px 0 24px; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
  .footer-bottom{ flex-direction:column; gap:16px; text-align:center; }
}

@media (max-width:479px){
  .hero-title{ font-size:2.1rem; }
  .section-title{ font-size:1.8rem; }
  .global-grid{ grid-template-columns:1fr 1fr; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .marquee-item{ font-size:1.05rem; padding-inline:14px; }
  .testimonial-card{ width:250px; padding:22px 18px; }
  .modal{ padding:34px 22px; }
}

/* ---------------------------------------------------------------------- */
/* 18. REDUCED MOTION                                                     */
/* ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html{ scroll-behavior:auto; }

  .reveal-up{ opacity:1; transform:none; }

  .testimonial-marquee{ display:none; }
  .testimonial-grid-static{ display:grid !important; }

  [data-float], .shape-ring, .shape-dot, .ai-orb-ring, .ai-node, .ceo-portrait-ring{
    animation:none !important;
  }
}
