@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #f0f0ee;
  --bg-2: #e8e8e6;
  --bg-blue: linear-gradient(135deg, #e8e8f4 0%, #d8d8f8 30%, #c8c8f0 60%, #b8b8e8 100%);
  --black: #0a0a0a;
  --dark: #111111;
  --gray: #555555;
  --gray-light: #888888;
  --blue: #1a1aff;
  --blue-dark: #1212cc;
  --white: #ffffff;
  --border: #d0d0d0;
  --border-dark: #222222;
  --radius-sm: 4px;
  --radius: 12px;
  --radius-lg: 24px;
  --transition: all 0.25s ease;
  --brand-grad: linear-gradient(135deg, #1a1aff 0%, #7c3aed 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  padding: 0 4%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: var(--transition);
}

.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 1.05rem; font-weight: 700;
  color: var(--black); letter-spacing: -1px;
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo-text .top { font-size: 1rem; }
.nav-logo-text .bottom {
  font-size: 0.6rem; letter-spacing: 4px;
  border-top: 1.5px solid var(--black); margin-top: 3px; padding-top: 3px;
  text-align: center;
}

.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--dark); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active { font-weight: 600; }

.nav-enroll {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 700;
  color: var(--black); letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-enroll:hover { color: var(--blue); }
.nav-enroll .arrow {
  width: 36px; height: 36px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; transition: var(--transition);
}
.nav-enroll:hover .arrow { background: var(--blue-dark); transform: translateX(3px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--black); transition: var(--transition); }

/* ── HERO ── */
@keyframes modernReveal {
  0% {
    opacity: 0;
    transform: translateY(80px) skewY(2deg);
    clip-path: inset(0 0 100% 0);
  }
  30% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
    clip-path: inset(0 0 0% 0);
  }
}

@keyframes elegantFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgPulse {
  0% { transform: scale(1.06); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1.06); }
}

@keyframes floatOrbs {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gridFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 0.7; transform: scale(1); }
}

.hero {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centered vertically for a balanced premium entry */
  position: relative;
  overflow: hidden;
  /* Shifting dynamic glowing color gradient mesh on the background */
  background: 
    radial-gradient(circle at 10% 20%, rgba(26, 26, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(102, 68, 204, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(212, 208, 244, 0.45) 0%, transparent 65%),
    #f0f0ee;
  background-size: 200% 200%;
  animation: floatOrbs 18s ease-in-out infinite alternate;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, rgba(240,240,238,0.72) 0%, rgba(240,240,238,0.78) 55%, rgba(216,212,248,0.65) 80%, rgba(192,184,240,0.6) 100%), url('images/hero_bg.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  opacity: 0.85;
  animation: bgPulse 24s ease-in-out infinite;
  pointer-events: none;
}

/* High-tech aesthetic dot-grid overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(26, 26, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: center center;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: gridFadeIn 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.hero-content {
  padding: 3rem 6% 1.5rem;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 800; line-height: 1.05;
  color: var(--black); letter-spacing: -3px;
  max-width: 1200px; /* Expansive width for natural and breathtaking wrapping */
  opacity: 0;
  will-change: transform, opacity, clip-path;
  animation: modernReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-h1 {
    background: linear-gradient(135deg, var(--black) 55%, #1a1aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 1.5rem 6% 3rem;
  position: relative;
  z-index: 2;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 580px; /* Clear read length */
  opacity: 0;
  will-change: transform, opacity;
  animation: elegantFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.45s;
}

.hero-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--black); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  opacity: 0;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  animation: elegantFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.65s;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: all 0.6s ease;
  pointer-events: none;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn .arrow {
  width: 28px; height: 28px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn:hover {
  background: #111;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 26, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover .arrow {
  background: #3b3bff;
  transform: translateX(4px);
}

.hero-illus {
  position: absolute; right: 3%; bottom: 0;
  width: clamp(280px, 30vw, 420px);
  z-index: 1;
}

.hero-illus img { width: 100%; object-fit: contain; }

/* ── ABOUT SECTION ── */
.about-section {
  padding: 6rem 6%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  background: var(--bg);
}
.about-img {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 4/3; background: #ddd;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-label { font-size: 0.8rem; font-weight: 600; color: var(--gray); margin-bottom: 1rem; }
.about-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.about-text p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.btn-black {
  display: inline-block; background: var(--black); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 700; margin-top: 1.5rem;
  transition: var(--transition);
}
.btn-black:hover { background: #333; transform: translateY(-2px); }

/* ── WORKSHOPS ── */
.workshops-section {
  padding: 6rem 6%;
  background: linear-gradient(160deg, #f0f0ee 0%, #e8e4f8 50%, #d0ccf4 100%);
}
.section-label-sm {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem; color: var(--gray); margin-bottom: 0.75rem; letter-spacing: 0.5px;
}
.section-h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800; letter-spacing: -3px; line-height: 1;
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 0.95rem; color: var(--gray); max-width: 400px; line-height: 1.7;
}
.workshops-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-bottom: 4rem;
}
.workshops-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.workshop-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  position: relative;
}
.workshop-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.workshop-card:hover::after {
  opacity: 1;
}
.workshop-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 40px 0 rgba(26, 26, 255, 0.08);
}
.workshop-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  color: var(--black); margin-bottom: 0.75rem; line-height: 1.4;
}
.workshop-card p {
  font-size: 0.88rem; color: var(--gray); line-height: 1.7; flex: 1;
}
.workshop-card-illus {
  height: 140px; display: flex; align-items: center; justify-content: center;
  margin: 1rem 0;
}
.workshop-card-illus img { max-height: 130px; object-fit: contain; }
.workshop-level {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 500; color: var(--gray);
  margin-top: 1rem;
}
.workshop-level::before {
  content: ''; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%; flex-shrink: 0;
}

.explore-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--bg); color: var(--black);
  padding: 16px 32px; border-radius: 50px;
  border: 2px solid var(--black);
  font-size: 0.95rem; font-weight: 700;
  margin-top: 3rem; transition: var(--transition);
}
.explore-btn .arrow { color: var(--blue); font-size: 1.3rem; }
.explore-btn:hover { background: var(--black); color: var(--white); }

/* ── COURSES LIST ── */
.courses-section { padding: 6rem 6%; background: var(--bg); }
.courses-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-bottom: 4rem; align-items: end;
}
.courses-list { display: flex; flex-direction: column; }
.course-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; align-items: flex-start;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.course-row:hover { padding-left: 12px; }
.course-num {
  font-family: 'Space Grotesk', sans-serif;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--black);
  flex-shrink: 0;
}
.course-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 0.4rem;
}
.course-info p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ── GO FIGURES ── */
.figures-section {
  padding: 7rem 6%;
  background: linear-gradient(160deg, #e8e8f8 0%, #d4d0f4 40%, #c8c0f0 70%, #bcb4ec 100%);
  text-align: center; position: relative;
}
.figures-title {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900; letter-spacing: -4px; line-height: 1;
  color: var(--black); margin-bottom: 4rem;
}

/* ── BENTO GRID ── */
.figures-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: left;
}
.bento-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.bento-card:hover::after {
  opacity: 1;
}
.bento-card-large {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
}
.bento-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 40px 0 rgba(26, 26, 255, 0.08);
}
.bento-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(26, 26, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-card-large .bento-icon {
  width: 90px;
  height: 90px;
  font-size: 3rem;
}
.bento-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bento-card .figure-num {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--black) 30%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bento-card .figure-lbl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}
.bento-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 0.25rem;
}
@media (max-width: 900px) {
  .figures-bento {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bento-card-large {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .bento-card-large .bento-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }
}
.figures-deco {
  position: absolute; pointer-events: none;
  font-size: 1.5rem; color: var(--black); opacity: 0.3;
}

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 6rem 6%; background: var(--bg); }
.testimonials-header { margin-bottom: 3rem; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
  position: relative;
}
.testi-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.testi-card:hover::after {
  opacity: 1;
}
.testi-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 40px 0 rgba(26, 26, 255, 0.06);
}
.testi-quote {
  font-size: 0.95rem; color: var(--dark); line-height: 1.8;
  margin-bottom: 1.5rem; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6644cc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: white; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: var(--gray-light); }

/* ── AWARDS ── */
.awards-section {
  padding: 6rem 6%;
  background: linear-gradient(160deg, #f0f0ee 0%, #e8e4f8 60%, #d8d0f0 100%);
}
.awards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.award-card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius);
  padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start;
  transition: var(--transition);
}
.award-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.award-icon-box {
  width: 56px; height: 56px; border-radius: 10px;
  background: transparent; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.award-card h3 { font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 0.5rem; }
.award-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }
.award-card a {
  display: inline-block; margin-top: 0.75rem; font-size: 0.82rem;
  font-weight: 700; color: var(--blue); text-decoration: underline;
}

/* ── WHY FEATURES ── */
.features-section { padding: 6rem 6%; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
  position: relative;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.feature-card:hover::after {
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 40px 0 rgba(26, 26, 255, 0.06);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.83rem; color: var(--gray); }

/* ── STUDENTS TICKER ── */
.students-section { padding: 5rem 0; background: var(--bg); overflow: hidden; }
.students-header { padding: 0 6%; margin-bottom: 2.5rem; }
.ticker-wrap { overflow: hidden; }
.ticker-track {
  display: flex; gap: 1rem;
  animation: ticker 35s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.student-chip {
  flex-shrink: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.75rem 1.2rem; display: flex; align-items: center; gap: 0.75rem;
}
.chip-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.chip-name { font-size: 0.82rem; font-weight: 700; }
.chip-cert { font-family: 'Space Mono', monospace; font-size: 0.68rem; color: var(--gray); }
.chip-score { font-size: 0.75rem; color: var(--blue); font-weight: 700; }

/* ── MARATHON / CTA ── */
.marathon-section {
  padding: 6rem 6%;
  background: linear-gradient(160deg, #e8e8f4 0%, #d4d0f4 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.marathon-h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800; letter-spacing: -2px; margin-bottom: 0.5rem;
}
.marathon-sub { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }
.marathon-right { display: flex; align-items: center; justify-content: flex-end; }

/* ── NEWSLETTER ── */
.newsletter-section {
  padding: 5rem 6%; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; border-top: 1px solid var(--border);
}
.newsletter-section h3 { font-size: 1.2rem; font-weight: 800; }
.newsletter-form { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.newsletter-form input {
  padding: 12px 18px; border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm); background: var(--white);
  font-size: 0.9rem; font-family: inherit; outline: none;
  min-width: 260px; transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form button {
  padding: 12px 24px; background: var(--black); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: var(--blue); }

/* ── FOOTER ── */
footer {
  background: var(--black); color: var(--white);
  padding: 5rem 6% 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo {
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-contact { margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; color: rgba(255,255,255,0.3); text-align: center;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  min-height: 45vh;
  background: linear-gradient(160deg, #f0f0ee 0%, #e8e4f8 60%, #d4d0f4 100%);
  padding: calc(72px + 4rem) 6% 4rem;
}
.page-hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem; color: var(--gray); margin-bottom: 1rem;
}
.page-hero-h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800; letter-spacing: -3px; line-height: 1.05; color: var(--black);
}
.page-hero-sub { font-size: 1rem; color: var(--gray); margin-top: 1rem; max-width: 600px; line-height: 1.7; }

/* ── MOBILE ── */
@media(max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-illus { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .workshops-header { grid-template-columns: 1fr; }
  .workshops-grid { grid-template-columns: 1fr; }
  .courses-header { grid-template-columns: 1fr; }
  .course-row { grid-template-columns: 60px 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .marathon-section { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--bg); padding: 2rem 6%; border-bottom: 1px solid var(--border);
    z-index: 999;
  }
}

/* ── TILTED CARD STYLES (VANILLA INTEGRATION) ── */
.workshop-card-illus {
  height: 220px !important; /* Increase height to accommodate square realistic images nicely */
  margin: 1.5rem 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tilted-card-container {
  position: relative;
  width: 180px;
  height: 180px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tilted-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 16px !important;
  overflow: hidden !important;
}

.tilted-card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Floating custom tooltip following cursor */
.tilted-card-tooltip {
  pointer-events: none;
  position: fixed; /* Using fixed viewport coordinates for flawless boundary tracking */
  border-radius: 6px;
  background-color: var(--white);
  padding: 6px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translate(-50%, -130%) scale(0.9);
  transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1), transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10000;
  white-space: nowrap;
}

.tilted-card-tooltip.active {
  opacity: 1;
  transform: translate(-50%, -130%) scale(1);
}

/* Custom Overlay Text when card is hovered */
.tilted-card-overlay-content {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 8px;
  color: white;
  font-size: 11px;
  font-weight: 500;
  transform: translateZ(30px); /* 3D popout effect! */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tilted-card-container:hover .tilted-card-overlay-content {
  opacity: 1;
}

/* Mobile responsive handling */
@media (max-width: 640px) {
  .tilted-card-tooltip {
    display: none !important;
  }
}

