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

:root {
  --bg: #E9ECF3;
  --hero-bg: #060C1C;
  --white: #FFFFFF;
  --black: #0C0C0C;
  --green: #4DF880;
  --green-light: #F4FFF6;
  --blue-dark: #3443CB;
  --blue-light: #E5E5FF;
  --blue-xlight: #F7F7FF;
  --muted: #4a5a6a;
  --font-en: 'IBM Plex Sans', sans-serif;
  --font-bn: 'Kohinoor Bangla', 'Hind Siliguri', sans-serif;
  --section-spacing: 70px;
}

html,
body {
  background: var(--bg);
  font-family: var(--font-bn);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
html { overflow-x: clip; }
body { overflow-x: clip; }

.page-frame {
  margin: 30px;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .13);
}

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

/* HERO */
#home {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--hero-bg);
  border-radius: 20px 20px 0 0;
  will-change: transform;
}

.hero-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-svg-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* NAV */
.hero-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  margin-bottom: -112px;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav.scrolled {
  padding: 10px 0;
}

.nav-pill {
  width: 100%;
  height: 72px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 28px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  will-change: background-color;
}

.hero-nav.scrolled .nav-pill {
  background: rgba(6, 12, 28, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.mobile-menu a.active { color: #fff; }

.btn-join {
  background: var(--green);
  color: var(--black);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.btn-join:hover {
  background: #2EE86D;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .45);
  transform: translateY(-2px);
  opacity: 1;
}

/* HERO BODY */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-top: 160px;
  padding-bottom: 60px;
}

.hero-body .container {
  /* position:relative; removed as hero-person is no longer child */
}

.hero-body-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  height: 28px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .8);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
}

.hero-pre {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 32px;
}

#home h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-desc {
  color: rgb(255, 255, 255);
  font-size: 20px;
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 60px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  height: 58px;
  padding: 0 32px;
  border-radius: 29px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .28);
  transition: opacity .2s, transform .15s;
}

.btn-cta:hover {
  background: #2EE86D;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .45);
  transform: translateY(-2px);
  opacity: 1;
}

/* PERSON PLACEHOLDER */
.hero-person {
  position: absolute;
  left: 50%;
  transform: translateX(145px);
  bottom: -1px;
  width: 440px;
  z-index: 1;
  pointer-events: none;
}

.hero-person img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 640px;
  /* Aligns comfortably below the navigation bar */
  object-fit: contain;
  object-position: bottom;
  animation: heroImgEntrance 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-person::before {
  position: absolute;
  top: 0;
  left: -50px;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, var(--hero-bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-person-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1.5px dashed rgba(255, 255, 255, .14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, .28);
  font-family: var(--font-en);
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}

/* ABOUT */
#about {
  background: var(--bg);
  padding: var(--section-spacing) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

.about-left h2 {
  font-size: 42px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-left p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--black);
}

.portfolio-heading {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.portfolio-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portfolio-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  transition: opacity .15s;
}

.portfolio-link:hover {
  opacity: 0.65;
}

.portfolio-link-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* DESIGN GRID */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.design-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.design-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .32s ease;
}

.design-thumb:hover img {
  transform: scale(1.04);
}

.design-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s;
}

.design-thumb:hover .design-thumb-overlay {
  background: rgba(0,0,0,.38);
}

.design-thumb-overlay span {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}

.design-thumb:hover .design-thumb-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* DESIGN LIGHTBOX */
.design-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility .22s;
  overflow-y: auto;
}

.design-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.design-lightbox-img {
  display: block;
  max-width: min(960px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  transform: scale(.95);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}

.design-lightbox.is-open .design-lightbox-img {
  transform: scale(1);
}

.design-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 1;
}

.design-lightbox-close:hover {
  background: rgba(255,255,255,.26);
}

@media (max-width: 768px) {
  .design-grid { grid-template-columns: repeat(2, 1fr); }
}

/* BOOTCAMP */
#bootcamp {
  background: var(--bg);
  padding: 0 0 var(--section-spacing);
}

.bootcamp-banner-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  border: 4px solid var(--white);
  border-bottom: none;
}

.bootcamp-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bootcamp-card {
  background: url(images/Bootcamp.svg) center/cover no-repeat;
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-areas: "left mentor icons";
  grid-template-columns: 1fr auto auto;
  min-height: 408px;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  border: none;
}



.bootcamp-card h3 {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.bootcamp-subtitle {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
}

.bootcamp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bootcamp-bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 17px;
  color: #fff;
  font-weight: 500;
}

.bootcamp-bullets li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
}

/* Left column */
.bootcamp-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 40px 0 40px 40px;
}

.bootcamp-left .btn-bootcamp {
  margin-top: 38px;
  align-self: flex-start;
}

/* Right column */
.mentor-img {
  grid-area: mentor;
  width: 421px;
  height: 393px;
  display: block;
  align-self: end;
  transform: translateY(2px);
}

.tech-icons-col {
  grid-area: icons;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px;
  margin: 0 24px 0 30px;
  background: rgba(0,0,0,.1);
  border-radius: 12px;
  align-self: center;
}

.tech-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.bootcamp-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.apply-pills { margin-bottom: 14px; }

.apply-pill {
  background: rgba(0,0,0,.06);
  color: #1a0a3c;
  border: none;
}

.boot-pill {
  background: rgba(77, 248, 128, .2);
  color: #4DF880;
  border: none;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-en);
  white-space: nowrap;
}

/* Right column: visual cards */
.bootcamp-visuals {
  position: relative;
  z-index: 1;
}

.bv-card {
  position: absolute;
  border-radius: 12px;
  font-family: var(--font-en);
  overflow: hidden;
}

/* Dashboard card */
.bv-dash {
  background: #fff;
  border: 1px solid #e8eaf6;
  box-shadow: 0 12px 32px rgba(80,60,180,.12);
  padding: 14px;
  width: 220px;
  top: 0;
  right: 0;
  transform: rotate(-2deg);
  z-index: 2;
}
.bvc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bvc-title { font-size: 11px; font-weight: 700; color: #1a0a3c; }
.bvc-dots { display: flex; gap: 4px; }
.bvc-dots span { width: 7px; height: 7px; border-radius: 50%; }
.bvc-dots span:nth-child(1) { background: #ff5f57; }
.bvc-dots span:nth-child(2) { background: #febc2e; }
.bvc-dots span:nth-child(3) { background: #28c840; }

.bvc-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.bvc-stat { text-align: center; flex: 1; }
.bvc-num { font-size: 14px; font-weight: 800; color: #4338ca; }
.bvc-lbl { font-size: 9px; color: #888; margin-top: 1px; }

.bvc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}
.bvc-bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.bvc-bar {
  width: 100%;
  background: linear-gradient(180deg, #818cf8, #4338ca);
  border-radius: 3px 3px 0 0;
}

/* Code editor card */
.bv-code {
  background: #0D1117;
  padding: 12px;
  width: 200px;
  top: 55px;
  left: 0;
  transform: rotate(1.5deg);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  z-index: 3;
}
.bmc-dots { display: flex; gap: 5px; margin-bottom: 8px; }
.bmc-dots span { width: 8px; height: 8px; border-radius: 50%; }
.bmc-code {
  font-size: 10px;
  line-height: 1.75;
  font-family: 'Courier New', monospace;
  color: #8b949e;
}
.bmc-kw  { color: #ff7b72; }
.bmc-fn  { color: #79c0ff; }
.bmc-str { color: #a5d6ff; }
.bmc-key { color: #7ee787; }

/* AI chat card */
.bv-chat {
  background: #fff;
  border: 1px solid #e8eaf6;
  box-shadow: 0 12px 32px rgba(80,60,180,.12);
  padding: 12px 14px;
  width: 210px;
  bottom: 0;
  right: 10px;
  transform: rotate(1deg);
  z-index: 4;
}
.bvc-ai-label {
  font-size: 10px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 8px;
}
.bvc-msg-user {
  background: #eef2ff;
  color: #3730a3;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px 10px 2px 10px;
  margin-bottom: 8px;
  display: inline-block;
}
.bvc-msg-ai {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 6px;
}
.bvc-shimmer {
  height: 7px;
  width: 100%;
  background: linear-gradient(90deg, #e8e8f8, #c8c8f0, #e8e8f8);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.8s ease-in-out infinite;
}
.bvc-shimmer:nth-child(2) { animation-delay: .3s; }
.bvc-shimmer:nth-child(3) { animation-delay: .6s; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.bvc-typing { font-size: 9px; color: #a5b4fc; font-weight: 600; }

.bvc-msg-ai-reply {
  font-size: 10px;
  line-height: 1.6;
  color: #374151;
  background: #f5f3ff;
  border-radius: 2px 10px 10px 10px;
  padding: 6px 10px;
  margin-bottom: 6px;
}

.bvc-done {
  font-size: 9px;
  font-weight: 700;
  color: #22c55e;
}

[data-theme="dark"] .bvc-msg-ai-reply {
  background: #1e1b4b;
  color: #c7d2fe;
}

/* Indigo CTA for this section */
.btn-bootcamp-indigo {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 24px rgba(99,102,241,.35);
}
.btn-bootcamp-indigo:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9);
  box-shadow: 0 8px 24px rgba(99,102,241,.5);
  transform: translateY(-2px);
  opacity: 1;
}

/* Dark mode */
[data-theme="dark"] .bv-dash,
[data-theme="dark"] .bv-chat { background: #1a1a2e; border-color: #2a2a4a; }
[data-theme="dark"] .bvc-title { color: #e0e0ff; }
[data-theme="dark"] .bvc-msg-user { background: #2a2a4a; color: #a5b4fc; }
[data-theme="dark"] .bvc-shimmer { background: linear-gradient(90deg, #2a2a4a, #3a3a6a, #2a2a4a); background-size: 200% 100%; }

.boot-badge-text {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: #0c0c0c;
  padding: 0;
}

.boot-price {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 800;
  color: #1a0a3c;
  line-height: 1;
  margin: 60px 0 8px;
}

.btn-bootcamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  height: 48px;
  width: 220px;
  padding: 0 24px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(77, 248, 128, 0.2);
  transition: all .3s ease;
  white-space: nowrap;
}

.btn-bootcamp:hover {
  background: #2EE86D;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .45);
  transform: translateY(-2px);
  opacity: 1;
}

/* COURSES */
#courses {
  background: var(--bg);
  padding: 0 0 var(--section-spacing);
}

.courses-wrapper {
  background: #060C1C url(images/hero-bg.svg) center/cover no-repeat;
  border-radius: 20px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px;
  overflow: hidden;
}

.section-title {
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-subtitle {
  font-family: var(--font-bn);
  font-size: 18px;
  color: #fff;
  text-align: center;
  margin-bottom: 36px;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.course-card {
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-green {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}

.card-blue {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.09);
}

.card-green {
  border-color: var(--green);
}

.card-blue {
  border-color: #6B7FFF;
}

.card-green .card-tag,
.card-blue .card-tag { color: rgba(255,255,255,.45); }

.card-green .card-level { color: var(--green); }
.card-blue .card-level { color: #6B7FFF; }

.card-green h3,
.card-blue h3 { color: #fff; }

.card-green .card-subtitle,
.card-blue .card-subtitle { color: rgba(255,255,255,.8); }

.card-green .card-desc,
.card-blue .card-desc { color: #fff; }

.card-green .card-meta,
.card-blue .card-meta { border-top-color: rgba(255,255,255,.1); }

.card-green .card-meta .meta-label,
.card-green .card-meta .meta-val,
.card-blue .card-meta .meta-label,
.card-blue .card-meta .meta-val { border-bottom-color: rgba(255,255,255,.1); }

.card-green .meta-label,
.card-blue .meta-label { color: #fff; }

.card-green .meta-val,
.card-blue .meta-val { color: #fff; }

.card-green .card-price,
.card-blue .card-price { color: #fff; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  color: #778899;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card-level {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
}

.course-card h3 {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.card-subtitle {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.card-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0,0,0,.07);
  padding-top: 0;
  margin-top: 4px;
  row-gap: 0;
}

.meta-val-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-support {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}

.card-meta .meta-label,
.card-meta .meta-val {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.card-meta .meta-label:nth-last-child(2),
.card-meta .meta-val:last-child {
  border-bottom: none;
}

.meta-label {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--black);
}

.meta-val {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  text-align: right;
}

.card-price {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  margin-top: 8px;
}

.btn-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  text-decoration: none;
  margin-top: 4px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  transition: opacity .2s, transform .15s;
}

.btn-card:hover {
  transform: translateY(-1px);
}

.btn-card-green:hover {
  background: #2EE86D;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .45);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-card-green {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(77, 248, 128, .22);
}

.btn-card-blue {
  background: #6B7FFF;
  color: #000;
  border: none;
}

.btn-card-blue:hover {
  background: #5568ee;
  box-shadow: 0 8px 24px rgba(107, 127, 255, .45);
  transform: translateY(-2px);
  color: #000;
  opacity: 1;
}

/* WHY */
#why {
  background: var(--bg);
  padding: 0 0 var(--section-spacing);
}

.why-header {
  text-align: center;
  margin: 0 auto 48px;
}

.why-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.why-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 16px;
}

.why-intro {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-item {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: transform .22s, box-shadow .22s;
}

.why-item--blue  { border-top-color: #3443CB; }
.why-item--green { border-top-color: #1A9E5C; }
.why-item--purple{ border-top-color: #7C5CED; }

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,.09);
}

.why-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.why-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
}

.why-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item--blue  .why-icon-wrap { background: #ECEEFF; }
.why-item--green .why-icon-wrap { background: #E5F9EE; }
.why-item--purple .why-icon-wrap { background: #F0EBFF; }

.why-item-title {
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* TESTIMONIALS / ALUMNI */
#testimonials {
  background: var(--bg);
  padding: 0 0 var(--section-spacing);
}

.testi-inner-box {
  background: #FFFDED;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sec-header {
  text-align: center;
  margin-bottom: 44px;
}

.sec-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.15;
}

.sec-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

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

.alumni-extra { display: contents; }

.alumni-see-more { display: none; }

.alumni-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 10px;
  border: 1.5px solid rgba(180, 140, 0, 0.10);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.alumni-card:hover {
  transform: translateY(-3px);
}

.alumni-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}


.alumni-name {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
  margin: 0;
}

.alumni-role {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--muted);
  margin: 2px 0 0;
}

/* CTA */
#cta {
  background: var(--bg);
  padding: 0 0 var(--section-spacing);
}

.cta-card {
  background-color: var(--hero-bg);
  border-radius: 20px;
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-left {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.cta-badge {
  display: inline-block;
  background: rgba(77, 248, 128, 0.1);
  color: var(--green);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: auto;
  margin-right: auto;
}

.cta-left h2 {
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cta-left p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  height: 58px;
  padding: 0 36px;
  border-radius: 29px;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(77, 248, 128, 0.25);
  transition: all 0.3s ease;
}

.btn-cta-main:hover {
  background: #2EE86D;
  box-shadow: 0 8px 24px rgba(77, 248, 128, .45);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-cta-sec {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  height: 58px;
  padding: 0 30px;
  border-radius: 29px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-cta-sec:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-stat-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-stat-num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.cta-stat-item p {
  font-family: var(--font-en);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* FOOTER */
#footer {
  background: var(--hero-bg);
  padding: 60px 0 40px;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
}
#footer > .container {
  position: relative;
  z-index: 1;
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo-link {
  display: inline-flex;
  opacity: .9;
  transition: opacity .2s;
}
.footer-logo-link:hover { opacity: 1; }

.footer-quote {
  font-family: var(--font-en);
  font-size: 24px;
  font-style: italic;
  color: #fff;
  max-width: 560px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.footer-social-link:hover {
  background: var(--green);
  color: #0C0C0C;
  transform: translateY(-3px);
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 14px;
  color: rgba(255,255,255,.25);
}

/* ANIMATIONS */
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImgEntrance {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Global Hover Improvements */
a, button, .course-card, .testi-card, .portfolio-link {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .85);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  list-style: none;
  position: fixed;
  top: 88px;
  left: 30px;
  right: 30px;
  background: rgba(6, 12, 28, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 4px 0;
  z-index: 9999;
}
.mobile-menu li a {
  display: block;
  padding: 14px 20px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .2s;
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu li a:hover { color: #fff; }

/* RESPONSIVE FIXES */
@media (max-width: 1024px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  .bootcamp-card { min-height: 530px; }

  .nav-pill {
    height: auto;
    padding: 16px 20px;
    border-radius: 20px;
  }

  html.nav-open {
    overflow-y: hidden;
  }

  html.nav-open .mobile-menu {
    display: flex;
    flex-direction: column;
  }

  #home { min-height: 680px; }
  .hero-content { max-width: 520px; }
  .hero-person {
    width: 320px;
    height: auto;
    bottom: -2px;
    left: 50%;
    transform: translateX(80px);
  }
  #home h1 { font-size: 48px; }
  .about-grid { gap: 40px; }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .page-frame { margin: 20px; }

  /* Hero: fit person image within narrower tablet frame */
  #home { min-height: 680px; }
  .hero-person { width: 280px; transform: translateX(50px); bottom: -2px; }
  .hero-content { max-width: 400px; }
  #home h1 { font-size: 38px; }

  /* Homepage bootcamp card: drop icons column, shrink mentor */
  .tech-icons-col { display: none; }
  .bootcamp-card {
    grid-template-areas: "left mentor";
    grid-template-columns: 1fr auto;
  }
  .mentor-img { width: 260px; height: auto; }

  /* Courses wrapper: less padding at tablet */
  .courses-wrapper { padding: 40px 32px; }

  /* Why: 2 columns */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-item { padding: 22px 20px 26px; }

  /* Testimonials */
  .testi-inner-box { padding: 36px 24px; }
  .sec-header { margin-bottom: 32px; }
}

@media (max-width: 768px) {
  .page-frame { margin: 10px; border-radius: 12px; }
  .container { padding: 0 12px; }
  
  /* Nav */
  .hero-nav { padding: 20px 0 0; margin-bottom: -100px; }

  /* Hero */
  #home { min-height: auto; border-radius: 12px 12px 0 0; }
  .hero-body { padding-top: 140px; padding-bottom: 40px; }
  .hero-body-inner { flex-direction: column; align-items: center; text-align: center; }
  .hero-content { max-width: 100%; }
  .badge-row { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; font-size: 18px; }
  #home h1 { font-size: 36px; line-height: 1.2; }
  
  .hero-person {
    position: relative;
    left: auto;
    bottom: 0;
    height: auto;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    transform: translateY(2px);
  }
  .hero-desc { margin-bottom: 48px; }
  .hero-person::before { display: none; }

  /* About */
  #about { padding: 50px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-left h2 { font-size: 32px; }

  /* Testimonials / Alumni */
  .testi-inner-box { padding: 24px 12px; }
  .alumni-grid { grid-template-columns: 1fr; gap: 8px; }
  .alumni-extra { display: none; }
  .alumni-extra.open { display: contents; }
  .alumni-see-more {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: rgba(0,0,0,.5);
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
  }

  /* Bootcamp */
  .bootcamp-banner-wrapper { height: 150px; }
  .bootcamp-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 24px 20px 0;
  }
  .tech-icons-col {
    order: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-self: flex-start;
    margin: 0 0 24px 0;
    gap: 4px;
    padding: 12px;
  }
  .tech-icon {
    width: 32px;
    height: 32px;
  }
  .bootcamp-left {
    order: 2;
    padding: 0 0 32px 0;
  }
  .mentor-img {
    order: 3;
    width: 100%;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
    transform: translateY(2px);
    align-self: auto;
  }
  .bootcamp-visuals { display: none; }
  .btn-bootcamp { width: 100%; justify-content: center; }
  .boot-price { margin: 16px 0 8px; }

  /* Courses */
  .courses-wrapper { padding: 32px 12px 12px; }
  .courses-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  .course-card { padding: 16px; }
  .course-card h3 { font-size: 24px; }

  /* Why */
  .why-header h2 { font-size: 32px; }
  .why-grid { grid-template-columns: 1fr; }

  /* Testimonials / Alumni */
  .sec-header h2 { font-size: 32px; }

  /* CTA */
  .cta-card { padding: 40px 12px; }
  .cta-left h2 { font-size: 32px; line-height: 1.5; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-cta-main, .btn-cta-sec { width: 100%; justify-content: center; }

  /* Footer */
  .footer-simple { gap: 16px; }
}


@media (max-width: 480px) {
  #home h1 { font-size: 32px; }
  .hero-pre { font-size: 14px; }
  .hero-desc { font-size: 16px; }
  .btn-cta { width: 100%; justify-content: center; font-size: 16px; }
  .nav-pill .btn-join { display: none; }
}

/* ── THEME TOGGLE BUTTON ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.15);
  transform: scale(1.08);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg: #111318;
  --white: #1C1F2A;
  --black: #EDEDED;
  --muted: #8899AA;
  --green-light: #0D2015;
  --blue-dark: #6B7FFF;
  --blue-light: #1A1F3A;
  --blue-xlight: #141829;
}

[data-theme="dark"] body { background: #111318; }

[data-theme="dark"] .page-frame {
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
}

/* Toggle icon swap */
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
}

/* Nav */
[data-theme="dark"] .hero-nav.scrolled .nav-pill {
  background: rgba(17,19,24,.85);
}

/* Hero — untouched */
[data-theme="dark"] #home { background: var(--hero-bg); }
[data-theme="dark"] .hero-pre { color: #EDEDED; }
[data-theme="dark"] #home h1 { color: #EDEDED; }
[data-theme="dark"] .btn-join { color: #0C0C0C; }
[data-theme="dark"] .btn-cta { color: #0C0C0C; }

/* About */
[data-theme="dark"] #about { background: #111318; }
[data-theme="dark"] .portfolio-link { color: #EDEDED; }
[data-theme="dark"] .portfolio-link-icon img:not([src$="dekhval.svg"]) { filter: brightness(0) invert(1); }

/* Bootcamp */
[data-theme="dark"] #bootcamp { background: #111318; }
[data-theme="dark"] .bootcamp-card { background: url(images/Bootcamp.svg) center/cover no-repeat; }
[data-theme="dark"] .bootcamp-banner-wrapper { border-color: #2A2D3A; }
[data-theme="dark"] .bootcamp-card h3 { color: #EDEDED; }
[data-theme="dark"] .bootcamp-subtitle { color: rgba(255,255,255,.7); opacity: 1; }
[data-theme="dark"] .bootcamp-bullets li { color: #EDEDED; }
[data-theme="dark"] .bootcamp-bullets li::before { background: var(--green); color: #0C0C0C; }
[data-theme="dark"] .boot-badge-text { color: rgba(255,255,255,.7); }
[data-theme="dark"] .boot-price { color: #EDEDED; }
[data-theme="dark"] .btn-bootcamp { color: #0C0C0C; }

/* Courses */
[data-theme="dark"] #courses { background: #111318; }
[data-theme="dark"] .card-meta { border-top-color: rgba(255,255,255,.07); }
[data-theme="dark"] .card-meta .meta-label,
[data-theme="dark"] .card-meta .meta-val { border-bottom-color: rgba(255,255,255,.07); }
[data-theme="dark"] .card-tag { color: #667788; }
[data-theme="dark"] .card-green .card-tag,
[data-theme="dark"] .card-blue .card-tag { color: rgba(255,255,255,.45); }
[data-theme="dark"] .card-subtitle { color: #556677; }
[data-theme="dark"] .card-green .card-subtitle,
[data-theme="dark"] .card-blue .card-subtitle { color: rgba(255,255,255,.8); }
[data-theme="dark"] .card-green .meta-label,
[data-theme="dark"] .card-blue .meta-label { color: #fff; }
[data-theme="dark"] .card-green .meta-val,
[data-theme="dark"] .card-blue .meta-val { color: #fff; }
[data-theme="dark"] .card-green .card-desc,
[data-theme="dark"] .card-blue .card-desc { color: #fff; }
[data-theme="dark"] .card-green .card-price,
[data-theme="dark"] .card-blue .card-price { color: #fff; }
[data-theme="dark"] .btn-card-green { color: #0C0C0C; }
[data-theme="dark"] .btn-card-blue { color: #000; }
[data-theme="dark"] .btn-card-blue:hover { color: #000; }

/* Why */
[data-theme="dark"] #why { background: #111318; }
[data-theme="dark"] .why-label { color: rgba(255,255,255,.35); }
[data-theme="dark"] .why-header h2 { color: #EDEDED; }
[data-theme="dark"] .why-intro { color: #8899AA; }
[data-theme="dark"] .why-item { background: #1C1F2A; }
[data-theme="dark"] .why-item-title { color: #EDEDED; }
[data-theme="dark"] .why-item p { color: #8899AA; }
[data-theme="dark"] .why-item--blue  .why-icon-wrap { background: rgba(52,67,203,.2); }
[data-theme="dark"] .why-item--green .why-icon-wrap { background: rgba(26,158,92,.15); }
[data-theme="dark"] .why-item--purple .why-icon-wrap { background: rgba(124,92,237,.2); }

/* Testimonials / Alumni */
[data-theme="dark"] #testimonials { background: #111318; }
[data-theme="dark"] .testi-inner-box { background: #1D1A06; }
[data-theme="dark"] .alumni-card { background: #1C1F2A; }
[data-theme="dark"] .sec-sub { color: #8899AA; }
[data-theme="dark"] .alumni-see-more { color: #fff; }

/* CTA */
[data-theme="dark"] #cta { background: #111318; }
[data-theme="dark"] .cta-card { background: linear-gradient(135deg, #1a1f3a 0%, #0d1420 100%); }
[data-theme="dark"] .cta-badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
[data-theme="dark"] .cta-left h2 { color: #EDEDED; }
[data-theme="dark"] .btn-cta-main { color: #0C0C0C; }
[data-theme="dark"] .btn-cta-sec { color: #EDEDED; }

/* Footer */
[data-theme="dark"] footer { background: #0D0F14; }
[data-theme="dark"] .footer-quote { color: #fff; }
[data-theme="dark"] .footer-copy { color: rgba(255,255,255,.2); }

/* Curriculum cards (bootcamp.html) */
[data-theme="dark"] .class-card {
  background: #1C1F2A;
  border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .class-card.hackathon {
  background: #1C1F2A;
  border-color: var(--blue-dark);
}
[data-theme="dark"] .class-card:not(.hackathon) .class-week-badge {
  background: rgba(255,255,255,.08);
  color: #EDEDED;
}

/* FAQ items (bootcamp.html) */
[data-theme="dark"] details.faq-item {
  background: #1C1F2A;
  border-color: rgba(255,255,255,.08);
}