/* ===== FONT SYSTEM ===== */
:root {
  --font-primary: 'Bricolage Grotesque', 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-black: #0a0a10;
  --bg-panel: #14101f;
  --purple: #7c3aed;
  --purple-light: #9d5cff;
  --orange: #f5a524;
  --text-light: #f2f0f7;
  --text-muted: #a9a3bd;
  --border-purple: rgba(124, 58, 237, 0.4);
  --border-orange: rgba(245, 165, 36, 0.5);
  --radius: 14px;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-black);
  color: var(--text-light);
  font-family: var(--font-secondary);
  line-height: 1.5;
}

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

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

.accent { color: var(--orange); }

.eyebrow {
  color: var(--orange);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

section h2 {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  max-width: 700px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: #F8B807;
  color: #000000;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.5);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ===== HEADER REGISTER BUTTON ===== */
.navbar .btn-primary {
    background: var(--orange);
    color: #1a1300;
    box-shadow: 0 4px 14px rgba(245, 165, 36, 0.25);
}

.navbar .btn-primary:hover {
    box-shadow: 0 8px 22px rgba(245, 165, 36, 0.45);
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 16, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* ===== LOGO FIX ===== */
.navbar .logo {
    display: block;
    width: 180px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.navbar .logo:hover {
    opacity: 0.9;
}

/* ===== NAVIGATION LINKS ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: var(--text-light);
    font-family: var(--font-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.25s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--orange);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* ===== REGISTER BUTTON ===== */
.desktop-only {
    display: inline-block;
}

.mobile-register {
    display: none;
    color: var(--orange) !important;
    font-weight: 700 !important;
}

/* ===== HAMBURGER MENU ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== TABLET RESPONSIVE ===== */
@media (max-width: 1024px) {
    .navbar .logo {
        width: 155px;
        height: 42px;
    }

    .nav-links {
        gap: 22px;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 767px) {
    .navbar-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .navbar .logo {
        width: 145px;
        height: auto;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 380px) {
    .navbar .logo {
        width: 125px;
        height: 36px;
    }
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  min-height: 0;
}


/* =========================================================
   HERO BACKGROUND SLIDER
========================================================= */

.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}


.hero-bg-track {
  display: flex;
  width: 200%;
  height: 100%;

  animation: heroBackgroundMove 25s linear infinite;

  will-change: transform;
}


/* Both images must have exactly the same size */

.hero-bg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;

  max-width: none;
}


/* =========================================================
   SEAMLESS BACKGROUND MOVEMENT
========================================================= */

@keyframes heroBackgroundMove {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

}


/* =========================================================
   HERO DARK OVERLAY
========================================================= */

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 16, 0.94) 0%,
      rgba(10, 10, 16, 0.70) 35%,
      rgba(10, 10, 16, 0.50) 60%,
      rgba(10, 10, 16, 0.78) 100%
    );

  pointer-events: none;
}


/* =========================================================
   HERO INNER CONTENT
========================================================= */

.hero-inner {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: 1.1fr 1fr;

  align-items: center;

  gap: 40px;

  padding-top: 90px;
  padding-bottom: 90px;

  min-height: 560px;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {
  position: relative;
  z-index: 3;
}


.hero-text h1 {
  font-family: var(--font-primary);
  font-size: 3.2rem;

  font-weight: 800;

  letter-spacing: -0.025em;

  line-height: 1.15;

  margin: 0 0 20px;

  color: #ffffff;
}


.hero-text h1 .accent {
  color: var(--orange);
}


.hero-text p {
  color: var(--text-muted);

  font-family: var(--font-secondary);

  max-width: 460px;

  margin: 0 0 28px;

  font-size: 1rem;

  line-height: 1.7;
}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-text .btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  text-decoration: none;

  cursor: pointer;
}


/* =========================================================
   HERO VIDEO BOX
========================================================= */

.hero-video-box {
  position: relative;

  z-index: 3;

  width: 100%;

  border: 2px solid var(--orange);

  border-radius: 20px;

  padding: 6px;

  background: #1c1c26;

  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.35);

  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}


.hero-video-box:hover {
  box-shadow:
    0 0 80px rgba(124, 58, 237, 0.55),
    0 0 0 3px rgba(245, 165, 36, 0.4);

  transform: translateY(-4px);
}


/* =========================================================
   HERO VIDEO
========================================================= */

.hero-video {
  display: block;

  width: 100%;

  aspect-ratio: 4 / 3;

  border-radius: 14px;

  background: #d9d9d9;

  object-fit: cover;
}


/* =========================================================
   STATS BAR
========================================================= */

.stats-bar {
  position: relative;

  z-index: 2;

  width: 100%;

  background: #060608;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.stats-inner {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 250px;

  padding: 18px 0;

  font-family: var(--font-secondary);

  font-size: 1.02rem;

  font-weight: 600;

  flex-wrap: wrap;
}


.stats-inner span {
  transition: color 0.2s ease;
}


.stats-inner span:hover {
  color: var(--orange);
}


/* =========================================================
   STATS DOT
========================================================= */

.dot {
  display: inline-block;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--purple-light);

  margin-right: 8px;
}


/* =========================================================
   STAR
========================================================= */

.star {
  color: var(--orange);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .hero-inner {
    grid-template-columns: 1fr;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 70px;

    min-height: auto;
  }


  .hero-text {
    text-align: center;
  }


  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }


  .hero-video-box {
    max-width: 650px;

    margin: 0 auto;
  }


  .stats-inner {
    gap: 70px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .hero {
    min-height: auto;
  }


  .hero-bg-track {
    animation-duration: 30s;
  }


  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(10, 10, 16, 0.88) 0%,
        rgba(10, 10, 16, 0.72) 50%,
        rgba(10, 10, 16, 0.90) 100%
      );
  }


  .hero-inner {
    grid-template-columns: 1fr;

    gap: 35px;

    padding-top: 55px;
    padding-bottom: 55px;
  }


  .hero-text h1 {
    font-size: 2.35rem;

    line-height: 1.15;

    margin-bottom: 16px;
  }


  .hero-text p {
    font-size: 0.95rem;

    line-height: 1.6;

    max-width: 100%;

    margin-bottom: 24px;
  }


  .hero-video-box {
    width: 100%;

    border-radius: 16px;

    padding: 5px;
  }


  .hero-video {
    border-radius: 11px;

    aspect-ratio: 4 / 3;
  }


  .stats-inner {
    gap: 15px 35px;

    padding: 16px 15px;

    font-size: 0.88rem;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .hero-bg-track {
    animation-duration: 35s;
  }


  .hero-inner {
    padding-top: 45px;
    padding-bottom: 45px;

    gap: 30px;
  }


  .hero-text h1 {
    font-size: 2rem;
  }


  .hero-text p {
    font-size: 0.9rem;
  }


  .hero-video-box {
    border-radius: 14px;
  }


  .hero-video {
    border-radius: 10px;
  }


  .stats-inner {
    flex-direction: column;

    gap: 10px;

    text-align: center;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero-bg-track {
    animation: none;
  }

  .hero-video-box {
    transition: none;
  }

}

/* =========================================================
   PARTNERS SECTION
   ========================================================= */

.partners {
  background: var(--bg-black);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.partners h2 {
  margin: 0 auto 40px;
}


/* =========================================================
   MARQUEE ROW
   ========================================================= */

.marquee-row {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;

  margin-bottom: 16px;

  /* Extra space for hover lift */
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  gap: 16px;

  width: max-content;

  will-change: transform;
}


/* =========================================================
   ROW ANIMATIONS
   ========================================================= */

.row-rtl .marquee-track {
  animation: scrollLeft 22s linear infinite;
}

.row-ltr .marquee-track {
  animation: scrollRight 22s linear infinite;
}


/* Pause animation on hover */

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}


/* =========================================================
   SCROLL LEFT
   ========================================================= */

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   SCROLL RIGHT
   ========================================================= */

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}


/* =========================================================
   PARTNER CARD
   ========================================================= */

.partner-card {
  position: relative;

  background: rgba(15, 15, 18, 0.82);

  border: 1px solid rgba(181, 180, 182, 0.55);

  border-radius: 14px;

  height: 100px;
  width: 200px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 0 0 1px rgba(181, 180, 182, 0.08),
    0 0 18px rgba(111, 62, 180, 0.22),
    inset 0 0 20px rgba(255, 255, 255, 0.025);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.partner-card:hover {
  transform: translateY(-6px);

  border-color: #B5B4B6;

  background: rgba(25, 22, 32, 0.90);

  box-shadow:
    0 0 0 1px rgba(181, 180, 182, 0.15),
    0 0 25px rgba(111, 62, 180, 0.38),
    inset 0 0 20px rgba(255, 255, 255, 0.04);
}


/* =========================================================
   PARTNER LOGO
   ========================================================= */

.partner-card img {
  display: block;

  max-height: 40px;
  max-width: 80%;

  width: auto;
  height: auto;

  object-fit: contain;

  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}


/* =========================================================
   LOGO HOVER
   ========================================================= */

.partner-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}


/* =========================================================
   OPTIONAL: SOFT LIGHT AROUND CARD
   ========================================================= */

.partner-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(181, 180, 182, 0.06),
      transparent 55%
    );

  opacity: 0.8;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  .partners {
    padding: 60px 0;
  }

  .partners h2 {
    margin-bottom: 30px;
  }

  .marquee-row {
    margin-bottom: 12px;
    padding: 8px 0;
  }

  .marquee-track {
    gap: 12px;
  }

  .partner-card {
    width: 170px;
    height: 90px;

    border-radius: 12px;

    padding: 14px;
  }

  .partner-card img {
    max-height: 35px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .partners {
    padding: 50px 0;
  }

  .partner-card {
    width: 150px;
    height: 80px;

    border-radius: 11px;
  }

  .partner-card img {
    max-height: 32px;
  }

}

/* ===== FEATURES ===== */
.features {
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(149, 76, 228, 0.22) 0%,
      rgba(113, 47, 252, 0.10) 35%,
      transparent 70%
    ),
    #130d25;
  padding: 90px 0;
  text-align: center;
}

.features h2 { margin: 0 auto 50px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}

.feature-card h3 {
  color: var(--orange);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.92rem;
}

/* ===== COURSES ===== */
.courses {
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(113, 47, 252, 0.18) 0%,
      rgba(149, 76, 228, 0.10) 30%,
      transparent 65%
    ),
    var(--bg-black);
  padding: 90px 0;
  text-align: center;
}

.courses h2 { margin: 0 auto 50px; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: left;
}

.course-card {
  background: #0f0d18;
  border: 1px solid var(--border-purple);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.course-card .img-wrap {
  overflow: hidden;
}

.course-card > img {
  transition: transform 0.4s ease;
}

.course-card:hover > img {
  transform: scale(1.08);
}

.course-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #1a1300;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.course-card > img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #1c1c26;
}

.course-body { padding: 18px; }

.course-body h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  transition: color 0.25s ease;
}

.course-card:hover .course-body h3 { color: var(--orange); }

.course-body p {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
  min-height: 55px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.level {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.8rem;
}

/* ===== FUTURE WORK / REEL VIDEO CAROUSEL ===== */

.gallery {
    background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(113, 47, 252, 0.18) 0%,
      rgba(149, 76, 228, 0.10) 30%,
      transparent 65%
    ),
    var(--bg-black);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.gallery .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.gallery .eyebrow {
  margin-bottom: 12px;
}

.gallery h2 {
  margin: 0 auto 40px;
}

/* ===== CAROUSEL WRAPPER ===== */

.video-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* ===== MOVING TRACK ===== */

.video-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 18px;
  animation: galleryVideoMove 35s linear infinite;
  will-change: transform;
}

.video-carousel:hover .video-track {
  animation-play-state: paused;
}

/* ===== REEL CARDS ===== */

.gallery-card.wide {
  position: relative;
  flex: 0 0 230px;
  width: 230px;
  min-width: 0;
  border: 2px solid var(--border-orange);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.gallery-card.wide:hover {
  border-color: var(--purple-light);
  transform: translateY(-5px);
}

/* ===== VERTICAL REEL VIDEO 9:16 ===== */

.gallery-card.wide video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #111;
  transition: transform 0.4s ease;
}

.gallery-card.wide:hover video {
  transform: scale(1.04);
}

/* ===== VIDEO LABEL ===== */

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(30, 30, 30, 0.85);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 10px 8px;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.25s ease;
}

.gallery-card:hover .gallery-label {
  background: rgba(124, 58, 237, 0.85);
}

/* ===== CONTINUOUS CAROUSEL ANIMATION ===== */

@keyframes galleryVideoMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

/* ===== TABLET RESPONSIVE ===== */

@media (max-width: 992px) {
  .gallery {
    padding: 75px 0;
  }

  .gallery-card.wide {
    flex-basis: 210px;
    width: 210px;
  }

  .video-track {
    gap: 15px;
    animation-duration: 32s;
  }
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
  .gallery {
    padding: 60px 0;
  }

  .gallery .container {
    padding: 0 15px;
  }

  .gallery h2 {
    margin-bottom: 30px;
  }

  .gallery-card.wide {
    flex-basis: 190px;
    width: 190px;
    border-radius: 9px;
  }

  .video-track {
    gap: 12px;
    animation-duration: 28s;
  }

  .gallery-label {
    font-size: 0.8rem;
    padding: 8px 6px;
  }
}

/* ===== SMALL MOBILE ===== */

@media (max-width: 480px) {
  .gallery {
    padding: 45px 0;
  }

  .gallery .container {
    padding: 0 12px;
  }

  .gallery-card.wide {
    flex-basis: 165px;
    width: 165px;
    border-radius: 8px;
  }

  .video-track {
    gap: 10px;
    animation-duration: 24s;
  }

  .gallery-label {
    font-size: 0.75rem;
    padding: 7px 5px;
  }
}

/* ===== REDUCED MOTION ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  .video-track {
    animation: none;
    transform: none;
  }

  .gallery-card.wide,
  .gallery-card.wide video {
    transition: none;
  }
}

/* ===== CAMPUS ===== */
.campus {
    background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(113, 47, 252, 0.18) 0%,
      rgba(149, 76, 228, 0.10) 30%,
      transparent 65%
    ),
    var(--bg-black);
  padding: 90px 0;
  text-align: center;
}

.campus h2 { margin: 0 auto 40px; }

.campus-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 24px;
  text-align: left;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.campus-card:hover {
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  border-color: var(--purple-light);
}

.campus-map { overflow: hidden; border-radius: 10px; }

.campus-map img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  background: #e9e9e9;
  transition: transform 0.4s ease;
}

.campus-map:hover img { transform: scale(1.05); }

.campus-details { display: flex; flex-direction: column; justify-content: center; }

.campus-details h3 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.campus-details p {
  font-family: var(--font-secondary);
  margin-bottom: 14px;
  color: var(--text-light);
  font-size: 1.2rem;
}

/* ===== CAMPUS RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 991px) {
  .campus {
    padding: 70px 0;
  }

  .campus-card {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .campus-details h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .campus-details p {
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .campus-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .campus {
    padding: 50px 0;
  }

  .campus .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .campus .eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .campus h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.3;
    margin: 0 auto 25px;
    max-width: 340px;
  }

  .campus-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  .campus-map {
    width: 100%;
    height: 240px;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
  }

  .campus-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 10px;
  }

  .campus-details {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .campus-details h3 {
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 12px;
  }

  .campus-details p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .campus-details p:last-child {
    margin-bottom: 0;
  }
}

/* Small Mobile */
@media (max-width: 380px) {
  .campus {
    padding: 40px 0;
  }

  .campus .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .campus-card {
    padding: 12px;
    gap: 15px;
  }

  .campus-map {
    height: 220px;
  }

  .campus-details h3 {
    font-size: 17px;
  }

  .campus-details p {
    font-size: 13px;
    line-height: 1.65;
  }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
    background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(113, 47, 252, 0.18) 0%,
      rgba(149, 76, 228, 0.10) 30%,
      transparent 65%
    ),
    var(--bg-black);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(124,58,237,0.35) 0%, rgba(76,29,149,0.18) 35%, rgba(10,7,20,0) 70%),
              linear-gradient(to right, #0a0714 0%, transparent 20%, transparent 80%, #0a0714 100%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.3;
}

.cta-banner h2 .highlight {
  color: var(--orange);
}

.cta-banner p {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  font-family: var(--font-secondary);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.02rem;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 6px 0 #5b21b6, 0 10px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #5b21b6, 0 14px 24px rgba(0,0,0,0.45);
}

.cta-banner .btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #5b21b6, 0 6px 14px rgba(0,0,0,0.4);
}

.footer {
  position: relative;
  background: #0a0714;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

/* Purple background glow */

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 120% at 50% 30%,
    rgba(124, 58, 237, 0.35) 0%,
    rgba(88, 28, 135, 0.18) 40%,
    rgba(10, 7, 20, 0) 75%
  );
  pointer-events: none;
  z-index: -1;
}

/* Container */

.footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ===== FOUR COLUMN LAYOUT ===== */

.footer-inner {
  display: grid;
  grid-template-columns: 1.65fr 1fr 0.8fr 1.45fr;
  gap: 35px;
  align-items: start;
  padding-bottom: 50px;
}

.footer-brand,
.footer-col {
  min-width: 0;
}

/* ===== BRAND COLUMN ===== */

.footer-brand .logo {
  display: block;
  width: 185px;
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  color: var(--text-muted, #a8a0c5);
  font-family: var(--font-secondary, sans-serif);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 18px 0 20px;
  max-width: 320px;
}

/* ===== SOCIAL ICONS ===== */

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

.footer .social-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer .social-icon.fb {
  background: #1593E2;
}

.footer .social-icon.li {
  background: #25D366;
}

.footer .social-icon.ig {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.footer .social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* ===== FOOTER COLUMNS ===== */

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-primary, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 22px;
}

.footer-col a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted, #a8a0c5);
  font-family: var(--font-secondary, sans-serif);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange, #ffb000);
  transform: translateX(3px);
}

/* ===== CONTACT COLUMN ===== */

.footer-contact a {
  width: 100%;
}

.footer-contact a i {
  color: #ffb000;
  width: 17px;
  min-width: 17px;
  margin-top: 4px;
  text-align: center;
  font-size: 15px;
}

.footer-contact a:hover i {
  color: var(--orange, #ffb000);
}

/* ===== FOOTER BOTTOM ===== */

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--text-muted, #a8a0c5);
  font-family: var(--font-secondary, sans-serif);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted, #a8a0c5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--orange, #ffb000);
}

/* ===== TABLET RESPONSIVE ===== */

@media (max-width: 1024px) {
  .footer .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 420px;
  }
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 640px) {
  .footer {
    padding-top: 42px;
  }

  .footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .logo {
    width: 170px;
    height: 85px;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 0.88rem;
    margin: 12px 0 18px;
  }

  .footer .socials {
    gap: 12px;
  }

  .footer .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    margin: 0 0 16px;
  }

  .footer-col a {
    font-size: 0.82rem;
    gap: 7px;
    margin-bottom: 12px;
  }

  .footer-contact a i {
    width: 15px;
    min-width: 15px;
    font-size: 13px;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    font-size: 0.82rem;
  }

  .footer-legal {
    gap: 20px;
  }
}

/* ===== SMALL MOBILE ===== */

@media (max-width: 380px) {
  .footer .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-bottom-inner {
    gap: 12px;
  }

  .footer-legal {
    gap: 18px;
  }
}

/* ===== REDUCED MOTION ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  .footer *,
  .footer *::before,
  .footer *::after {
    transition: none !important;
  }
}

/* Tablets */
@media (max-width: 860px) {
  .container { padding: 0 20px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 16, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open { max-height: 260px; }

  .nav-links a {
    padding: 16px 24px;
    width: 100%;
  }

  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
  .desktop-only { display: none; }
  .mobile-register { display: block; margin: 8px 24px 0; }

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

/* Phones */
@media (max-width: 640px) {
  section { padding: 60px 0 !important; }

  section h2 { font-size: 1.55rem; margin-bottom: 28px; }
  .eyebrow { font-size: 0.85rem; }

  .logo { height: 32px; width: 110px; }

  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 0.92rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }

  .stats-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 24px;
    font-size: 0.85rem;
  }

  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-card { height: 80px; padding: 10px; }

  .courses-grid { grid-template-columns: 1fr; }

  .gallery-row { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 10px; }
  .gallery-row:last-child { grid-template-columns: repeat(2, 1fr); }

  .campus-card { padding: 16px; gap: 20px; }
  .campus-details h3 { font-size: 1.25rem; }

  .cta-banner h2 { font-size: 1.4rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-text h1 { font-size: 1.7rem; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .gallery-row, .gallery-row:last-child { grid-template-columns: 1fr; }
}


/* ===== MOBILE FOOTER CENTER ALIGN ===== */


/* ===== CENTER ALIGN FOOTER ON MOBILE ===== */

@media (max-width: 640px) {

  .footer-inner {
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo {
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer .socials {
    justify-content: center;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col a {
    justify-content: center;
    text-align: center;
  }

  /* Contact details center */
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-contact a {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .footer-contact a i {
    margin-top: 0;
    flex-shrink: 0;
  }

  .footer-bottom-inner {
    align-items: center;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}



/* ===== GRAPHIC DESIGN HERO (unique scope: gd-) ===== */
.gd-hero {
  position: relative;
  background: #0a0714;
  padding: 70px 0;
  overflow: hidden;
}

.gd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 40%, rgba(124,58,237,0.25) 0%, rgba(88,28,135,0.12) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.gd-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-left: 60px;
  padding-right: 60px;
}

/* ---- Left content ---- */
.gd-hero-content {
  max-width: 520px;
  transition: transform 0.3s ease;
}

.gd-hero-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gd-title-white {
  background: linear-gradient(180deg, #ffffff 0%, #9a94a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gd-title-yellow {
  color: #FE9F00;
  transition: text-shadow 0.3s ease;
}

.gd-hero-title .gd-title-yellow:hover {
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.6);
}

.gd-hero-desc {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  max-width: 440px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.gd-hero-desc strong {
  color: #fff;
}

.gd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.gd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 165, 0, 0.5);
  border-radius: 20px;
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  border-radius: 8px;
  color: #e5e2ee;
  background: rgba(255,255,255,0.02);
}

.gd-badge:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: #f5a623;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.3);
}

.gd-badge-icon {
  font-size: 13px;
}

.gd-btn-curriculum {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 0 #4c1d95, 0 10px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gd-btn-curriculum:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #4c1d95, 0 14px 24px rgba(0,0,0,0.45);
}

.gd-btn-curriculum:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #4c1d95, 0 6px 14px rgba(0,0,0,0.4);
}

/* ---- Right visual ---- */
.gd-visual-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 60%, rgba(124,58,237,0.35) 0%, rgba(30,15,55,0.9) 55%, #140b24 100%);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 24px;
  box-shadow: 0 0 60px rgba(124,58,237,0.35);
  overflow: hidden;
  padding: 0;
}

.gd-glow-ring {
  position: absolute;
  bottom: 10%;
  width: 70%;
  height: 18px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.9) 0%, rgba(168,85,247,0.2) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(4px);
  z-index: 1;
}

.gd-character {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.gd-stats-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gd-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  color: #eee;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.gd-stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #f5a623;
  color: #fff;
  transform: translateY(-3px);
}

.gd-stat-pill i {
  color: #f5a623;
  font-size: 13px;
}

.gd-star {
  color: #f5a623;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .gd-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
  }

  .gd-hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .gd-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .gd-badges {
    justify-content: center;
  }

  .gd-hero-visual {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .gd-visual-box {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .gd-hero-title {
    font-size: 2.2rem;
  }

  .gd-hero-desc {
    font-size: 1rem;
  }

  .gd-visual-box {
    max-width: 320px;
  }
}


/* ===== WHAT YOU WILL MASTER (unique scope: cwm-) ===== */
.cwm-section {
  position: relative;
  background: var(--bg-panel);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.cwm-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 20%, rgba(124,58,237,0.3) 0%, rgba(88,28,135,0.15) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.cwm-section .container {
  position: relative;
  z-index: 1;
}

.cwm-section h2 { margin: 0 auto 40px; }

.cwm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}

.cwm-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 18px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.cwm-item i {
  color: #a89fc0;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.cwm-item span {
  color: #e5e2ee;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.cwm-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.cwm-item:hover i {
  color: var(--orange);
  transform: scale(1.2) rotate(-8deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cwm-grid {
    grid-template-columns: 1fr;
  }

  .cwm-item {
    padding: 16px 18px;
  }

  .cwm-item span {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cwm-item {
    gap: 10px;
    padding: 14px 16px;
  }

  .cwm-item i {
    font-size: 1rem;
  }

  .cwm-item span {
    font-size: 0.9rem;
  }
}


/* ===== MAIN SECTION ===== */

.tyl-section {
  background: #0a0714;
  padding: 90px 0;
  overflow: hidden;
}

.tyl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.tyl-content {
  min-width: 0;
}

.tyl-title {
  color: #fff;
  font-family: var(--font-primary, sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
  line-height: 1.2;
}

/* ===== ANIMATED TOOL NAME ===== */

.tyl-name-window {
  overflow: hidden;
  position: relative;
  margin: 0 0 18px;
  min-height: 1.2em;
}

.tyl-tool-name {
  color: #FE9F00;
  font-family: var(--font-primary, sans-serif);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.tyl-name-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: tylSlideNameUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

@keyframes tylSlideNameUp {
  0% {
    transform: translateY(110%);
    opacity: 0;
  }

  65% {
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== DESCRIPTION ===== */

.tyl-desc {
  color: var(--text-muted, #a8a0c5);
  font-family: var(--font-secondary, sans-serif);
  font-size: 1rem;
  max-width: 380px;
  line-height: 1.6;
  margin: 0;
}

/* ===== ICON CAROUSEL ===== */

.tyl-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  width: 100%;
  min-width: 0;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.tyl-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.tyl-icon {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.tyl-icon img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  z-index: 2;
}

.tyl-icon::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: var(--glow-color, #31a8ff);
  filter: blur(30px);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.tyl-icon.tyl-active {
  transform: scale(1.5);
  z-index: 3;
}

.tyl-icon.tyl-active::before {
  opacity: 0.55;
  transform: scale(1);
}

/* ===== TABLET RESPONSIVE ===== */

@media (max-width: 900px) {
  .tyl-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .tyl-desc {
    margin: 0 auto;
  }

  .tyl-track-wrap {
    padding: 100px 0;
  }
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 480px) {
  .tyl-section {
    padding: 60px 0;
  }

  .tyl-title,
  .tyl-tool-name {
    font-size: 1.8rem;
  }

  .tyl-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .tyl-icon img {
    border-radius: 12px;
  }

  .tyl-track {
    gap: 20px;
  }

  .tyl-track-wrap {
    padding: 80px 0;
  }

  .tyl-desc {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
  .tyl-name-text,
  .tyl-icon,
  .tyl-icon::before {
    animation: none !important;
    transition: none !important;
  }

  .tyl-name-text {
    opacity: 1;
    transform: none;
  }
}


/* ===== WHAT YOU WALK AWAY WITH (unique scope: wyw-) ===== */
.wyw-section {
  position: relative;
  background: var(--bg-panel);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.wyw-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 20%, rgba(124,58,237,0.3) 0%, rgba(88,28,135,0.15) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.wyw-section .container {
  position: relative;
  z-index: 1;
}

.wyw-section h2 { margin: 0 auto 40px; }

.wyw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.wyw-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 32px 22px;
  background-clip: padding-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wyw-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 0.5px;
  background: linear-gradient(180deg, #8b7fff 0%, #6d5fd8 40%, #FE9F00 75%, #FE9F00 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.wyw-item i,
.wyw-item span {
  position: relative;
  z-index: 1;
}

.wyw-item i {
  color: #a89fc0;
  font-size: 1.3rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.wyw-item span {
  color: #e5e2ee;
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  line-height: 1.5;
}

.wyw-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.wyw-item:hover i {
  color: var(--orange);
  transform: scale(1.2) rotate(-8deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .wyw-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wyw-item {
    padding: 26px 18px;
  }

  .wyw-item span {
    font-size: 0.95rem;
  }
}


/* ===== ROLES YOU'LL BE READY FOR (unique scope: ryr-) ===== */
.ryr-section {
  position: relative;
  background: var(--bg-panel);
  padding: 90px 0 60px;
  text-align: center;
  overflow: hidden;
}

.ryr-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 20%, rgba(124,58,237,0.3) 0%, rgba(88,28,135,0.15) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.ryr-section .container {
  position: relative;
  z-index: 1;
}

.ryr-section h2 { margin: 0 auto 40px; }

.ryr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.ryr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 16px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ryr-item i {
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ryr-item span {
  color: #e5e2ee;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
}

.ryr-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.ryr-item:hover i {
  transform: scale(1.2) rotate(-10deg);
}

/* ===== FROM LEARNING TO CREATION (unique scope: flc-) ===== */
.flc-section {
  position: relative;
  background: var(--bg-panel);
  padding: 60px 0 90px;
  text-align: center;
  overflow: hidden;
}

.flc-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 20%, rgba(124,58,237,0.3) 0%, rgba(88,28,135,0.15) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.flc-section .container {
  position: relative;
  z-index: 1;
}

.flc-section h2 { margin: 0 auto 40px; }

.flc-track-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 24px 30px;
  cursor: grab;

  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.flc-track-wrap::-webkit-scrollbar {
  display: none;
}

.flc-track-wrap:active {
  cursor: grabbing;
}

.flc-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.flc-card {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  height: 340px;
  background: #ffffff;
  border: 1.5px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background-image: linear-gradient(#fff, #fff), linear-gradient(180deg, #8b7fff 0%, #FE9F00 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.flc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .ryr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ryr-grid {
    grid-template-columns: 1fr;
  }

  .flc-card {
    width: 220px;
    height: 280px;
  }
}


/* ===== CERTIFICATIONS (unique scope: cert-) ===== */
.cert-section {
  position: relative;
  background: var(--bg-panel);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.cert-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 20%, rgba(124,58,237,0.3) 0%, rgba(88,28,135,0.15) 40%, rgba(10,7,20,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.cert-section .container {
  position: relative;
  z-index: 1;
}

.cert-section h2 { margin: 0 auto 40px; }

.cert-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(124,58,237,0.25);
}

.cert-img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  background: linear-gradient(0deg, rgba(10,7,20,0.95) 0%, rgba(10,7,20,0.7) 70%, transparent 100%);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cert-badge i {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cert-badge span {
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.cert-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .cert-overlay {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .cert-divider {
    display: none;
  }

  .cert-badge span {
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cert-card {
    border-radius: 12px;
  }

  .cert-badge i {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}


/* ===== APPLY NOW / START YOUR CAREER (unique scope: apn-) ===== */
.apn-section {
  background: #0a0714;
  padding: 90px 0;
}

.apn-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 50px;
}

/* ---- Left content ---- */
.apn-content {
  display: flex;
  flex-direction: column;
}

.apn-title {
  color: #fff;
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 10px 0 18px;
}

.apn-desc {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 30px;
}

.apn-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.apn-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 16px 20px;
  max-width: 420px;
  background: rgba(255,255,255,0.02);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.apn-item i {
  color: var(--orange);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.apn-item span {
  color: #e5e2ee;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
}

.apn-item:hover {
  transform: translateY(-3px) translateX(2px);
  border-color: var(--orange);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

.apn-item:hover i {
  transform: scale(1.2) rotate(-8deg);
}

/* ---- Right form card ---- */
.apn-form-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1c1330, #130c22);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 0 50px rgba(124,58,237,0.2);
}

.apn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.apn-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.apn-form-title {
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.apn-form-sub {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 340px;
}

.apn-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.apn-form input,
.apn-select-wrap select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.apn-form input::placeholder {
  color: #8b859c;
}

.apn-form input:focus,
.apn-select-wrap select:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.05);
}

.apn-select-wrap {
  position: relative;
}

.apn-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  color: #8b859c;
  cursor: pointer;
}

.apn-select-wrap select:valid {
  color: #fff;
}

.apn-select-wrap i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.apn-submit {
  width: 100%;
  background: linear-gradient(135deg, #FE9F00, #e88a00);
  color: #1a1200;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(254,159,0,0.35);
}

.apn-submit:active {
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .apn-inner {
    grid-template-columns: 1fr;
  }

  .apn-desc,
  .apn-item {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .apn-title {
    font-size: 1.9rem;
  }

  .apn-form-card {
    padding: 26px 20px;
  }

  .apn-form-title {
    font-size: 1.4rem;
  }
}


/* ===== APPLY NOW POPUP MODAL (unique scope: apn-) ===== */
.apn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 12, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apn-modal-overlay.apn-open {
  opacity: 1;
  visibility: visible;
}

.apn-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #1c1330, #130c22);
  border: 1px solid var(--border-purple);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 0 60px rgba(124,58,237,0.3);

  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.apn-modal-overlay.apn-open .apn-modal-card {
  transform: scale(1) translateY(0);
}

/* .apn-close already defined above */

body.apn-no-scroll {
  overflow: hidden;
}


/* ===== AREAS OF EXPERTISE SECTION ===== */
.gd-expertise {
  position: relative;
  padding: 120px 0 130px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(120, 60, 200, 0.25), transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 100%, rgba(80, 40, 160, 0.15), transparent 70%),
    #0c0713;
  overflow: hidden;
}

.gd-expertise-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.gd-fade-left {
  left: 0;
  background: linear-gradient(to right, #0c0713 0%, transparent 100%);
}

.gd-fade-right {
  right: 0;
  background: linear-gradient(to left, #0c0713 0%, transparent 100%);
}

.gd-expertise-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gd-expertise-title {
  color: #fff;
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 56px;
  text-align: center;
  width: 100%;
}

.gd-expertise-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gd-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #eee;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.gd-tag:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: #f5a623;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.25);
  color: #fff;
}

.gd-tag-accent-blue {
  border-left: 3px solid #6c5ce7;
}

.gd-tag-accent-orange {
  border-left: 3px solid #f5a623;
}

/* ===== COLOR DOTS ===== */
.gd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.gd-dot-purple {
  background: #8b5cf6;
  box-shadow: 0 0 6px rgba(139, 92, 246, 0.8);
}

.gd-dot-orange {
  background: #f5a623;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.8);
}

.gd-dot-blue {
  background: #4facfe;
  box-shadow: 0 0 6px rgba(79, 172, 254, 0.8);
}

.gd-dot-green {
  background: #2ecc71;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .gd-expertise {
    padding: 90px 0 100px;
  }

  .gd-expertise-title {
    font-size: 32px;
    margin-bottom: 44px;
  }

  .gd-expertise-fade {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .gd-expertise {
    padding: 70px 0 80px;
  }

  .gd-expertise-title {
    font-size: 26px;
    margin-bottom: 36px;
  }

  .gd-expertise-grid {
    gap: 14px;
  }

  .gd-tag {
    font-size: 13px;
    padding: 10px 16px;
    white-space: normal;
    text-align: center;
  }

  .gd-expertise-fade {
    width: 30px;
  }
}

@media (max-width: 480px) {
  .gd-expertise {
    padding: 56px 0 64px;
  }

  .gd-expertise-title {
    font-size: 22px;
  }

  .gd-tag {
    font-size: 12px;
    padding: 9px 14px;
  }
}

/* Scroll reveal animation */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-section.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== NAV DROPDOWN ===== */
.nav-item { position: relative; }

.nav-caret {
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 200px;
  padding: 8px;
  margin-top: 14px;
  background: rgba(16, 16, 24, 0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-links .nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-links .nav-dropdown a::after { display: none; }

.nav-links .nav-dropdown a:hover {
  background: rgba(245, 165, 36, 0.12);
  color: var(--orange);
}

@media (max-width: 860px) {
  .nav-links.open { max-height: 700px; }
  .nav-item { width: 100%; }
  .nav-caret { display: none; }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown::before { display: none; }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown { transform: none; }

  .nav-links .nav-dropdown a {
    padding: 10px 24px 10px 44px;
    font-size: 0.88rem;
    opacity: 0.85;
  }
}


/* ===== NEXTORIA ADVERTISEMENT SECTION ===== */

.nextoria-ad {
    position: relative;
    width: 100%;
    padding: 85px 20px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 78% 50%,
            rgba(106, 36, 190, 0.20),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #09080f 0%,
            #12091f 55%,
            #0a0811 100%
        );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

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

.nextoria-ad-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 45px;
}

/* ===== LEFT CONTENT ===== */

.ad-content {
    position: relative;
    z-index: 2;
}

.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    margin-bottom: 25px;
    color: #ffb323;
    background: rgba(255, 174, 28, 0.08);
    border: 1px solid rgba(255, 174, 28, 0.30);
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.ad-badge-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: #ffb323;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 179, 35, 0.8);
    animation: adPulse 1.8s infinite;
}

.ad-eyebrow {
    margin: 0 0 12px;
    color: #a879ff;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ad-content h2 {
    margin: 0 0 22px;
    color: #f8f6ff;
    font-family: var(--font-primary);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.ad-content h2 span {
    color: #ffad21;
}

.ad-description {
    max-width: 540px;
    margin: 0 0 25px;
    color: #b7b0c8;
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.85;
}

/* ===== FEATURES ===== */

.ad-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 32px;
}

.ad-features span {
    color: #e5dff2;
    font-family: var(--font-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */

.ad-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.ad-btn-primary,
.ad-btn-secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 25px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.ad-btn-primary {
    color: #09070d;
    background: linear-gradient(135deg, #ffc13b, #ff9e12);
    box-shadow: 0 8px 25px rgba(255, 169, 27, 0.17);
}

.ad-btn-primary span {
    font-size: 19px;
    transition: transform 0.25s ease;
}

.ad-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 169, 27, 0.30);
}

.ad-btn-primary:hover span {
    transform: translate(3px, -3px);
}

.ad-btn-secondary {
    color: #f7f3ff;
    background: rgba(125, 65, 225, 0.12);
    border: 1px solid rgba(160, 112, 255, 0.45);
}

.ad-btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(125, 65, 225, 0.25);
    box-shadow: 0 8px 25px rgba(110, 48, 205, 0.15);
}

.ad-note {
    margin: 25px 0 0;
    color: #847b99;
    font-family: var(--font-secondary);
    font-size: 12px;
    letter-spacing: 1px;
}

/* ===== RIGHT VISUAL ===== */

.ad-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.ad-glow {
    position: absolute;
    z-index: -2;
    width: 340px;
    height: 340px;
    background: rgba(116, 44, 220, 0.30);
    filter: blur(95px);
    border-radius: 50%;
}

.ad-orbit {
    position: absolute;
    z-index: -1;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(157, 91, 255, 0.32);
    border-radius: 50%;
}

.ad-orbit-one {
    transform: rotate(-25deg) scaleY(0.65);
    animation: adOrbit 12s linear infinite;
}

.ad-orbit-two {
    width: 410px;
    height: 280px;
    border-color: rgba(255, 177, 36, 0.22);
    transform: rotate(35deg);
}

/* ===== CENTER CARD ===== */

.ad-center-card {
    position: relative;
    z-index: 1;
    width: 290px;
    min-height: 335px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(
        145deg,
        rgba(37, 20, 61, 0.97),
        rgba(13, 10, 23, 0.98)
    );
    border: 1px solid rgba(158, 101, 255, 0.65);
    border-radius: 22px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 45px rgba(118, 55, 219, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: rotate(-3deg);
    animation: adCardFloat 5s ease-in-out infinite;
}

.ad-center-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #fff;
    background: linear-gradient(135deg, #a24bff, #5d1bd3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(125, 49, 236, 0.35);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -2px;
}

.ad-card-label {
    margin-bottom: 12px;
    color: #c5a7ff;
    font-family: var(--font-secondary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ad-center-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.13;
}

.ad-center-card h3 span {
    color: #ffb323;
}

.ad-card-line {
    width: 65px;
    height: 4px;
    margin: 22px 0 15px;
    background: linear-gradient(90deg, #ffb323, #9149ff);
    border-radius: 5px;
}

.ad-center-card > p {
    margin: 0;
    color: #b9b0ca;
    font-family: var(--font-secondary);
    font-size: 12px;
}

/* ===== FLOATING INFO CARDS ===== */

.ad-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    background: rgba(18, 13, 30, 0.95);
    border: 1px solid rgba(155, 103, 255, 0.4);
    border-radius: 13px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(12px);
    animation: adFloat 4s ease-in-out infinite;
}

.ad-float-top {
    top: 45px;
    right: -5px;
}

.ad-float-bottom {
    bottom: 45px;
    left: -15px;
    animation-delay: -2s;
}

.ad-float-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb323;
    background: rgba(255, 179, 35, 0.10);
    border: 1px solid rgba(255, 179, 35, 0.20);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
}

.ad-float-card strong,
.ad-float-card small {
    display: block;
    font-family: var(--font-secondary);
}

.ad-float-card strong {
    margin-bottom: 5px;
    color: #f8f5ff;
    font-size: 12px;
    white-space: nowrap;
}

.ad-float-card small {
    color: #a99fba;
    font-size: 10px;
}

/* ===== ANIMATIONS ===== */

@keyframes adPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(255, 179, 35, 0.8);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 3px rgba(255, 179, 35, 0.3);
    }
}

@keyframes adFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes adCardFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes adOrbit {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

/* ===== TABLET ===== */

@media (max-width: 900px) {
    .nextoria-ad {
        padding: 70px 25px;
    }

    .nextoria-ad-container {
        grid-template-columns: 1fr 0.85fr;
        gap: 25px;
    }

    .ad-content h2 {
        font-size: 39px;
    }

    .ad-visual {
        min-height: 400px;
    }

    .ad-center-card {
        width: 250px;
        min-height: 310px;
        padding: 25px;
    }

    .ad-center-card h3 {
        font-size: 32px;
    }

    .ad-float-top {
        right: -5px;
    }

    .ad-float-bottom {
        left: -5px;
    }
}

/* ===== MOBILE ===== */

@media (max-width: 650px) {
    .nextoria-ad {
        padding: 55px 20px;
    }

    .nextoria-ad-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ad-content {
        text-align: center;
    }

    .ad-badge {
        margin-bottom: 20px;
    }

    .ad-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .ad-content h2 {
        font-size: clamp(32px, 8vw, 43px);
        line-height: 1.18;
        letter-spacing: -1px;
    }

    .ad-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
        line-height: 1.8;
    }

    .ad-features {
        justify-content: center;
        gap: 10px 15px;
    }

    .ad-features span {
        font-size: 12px;
    }

    .ad-actions {
        justify-content: center;
        gap: 12px;
    }

    .ad-btn-primary,
    .ad-btn-secondary {
        min-height: 48px;
        padding: 0 18px;
        font-size: 13px;
    }

    .ad-note {
        margin-top: 20px;
    }

    .ad-visual {
        min-height: 390px;
        margin-top: 0;
    }

    .ad-center-card {
        width: 250px;
        min-height: 305px;
        padding: 25px;
    }

    .ad-center-card h3 {
        font-size: 33px;
    }

    .ad-orbit-one {
        width: 300px;
        height: 300px;
    }

    .ad-orbit-two {
        width: 330px;
        height: 240px;
    }

    .ad-float-top {
        top: 20px;
        right: 0;
    }

    .ad-float-bottom {
        bottom: 20px;
        left: 0;
    }

    .ad-float-card {
        padding: 11px 12px;
        gap: 8px;
    }

    .ad-float-icon {
        width: 32px;
        height: 32px;
    }

    .ad-float-card strong {
        font-size: 10px;
    }

    .ad-float-card small {
        font-size: 9px;
    }
}

/* ===== SMALL MOBILE ===== */

@media (max-width: 380px) {
    .nextoria-ad {
        padding: 45px 15px;
    }

    .ad-content h2 {
        font-size: 31px;
    }

    .ad-visual {
        min-height: 350px;
    }

    .ad-center-card {
        width: 220px;
        min-height: 285px;
        padding: 22px;
    }

    .ad-center-card h3 {
        font-size: 30px;
    }

    .ad-float-card {
        padding: 9px;
    }

    .ad-float-top {
        right: -3px;
    }

    .ad-float-bottom {
        left: -3px;
    }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    .nextoria-ad *,
    .nextoria-ad *::before,
    .nextoria-ad *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* ==========================================
   NEXTORIA AI ACADEMY - OFFER SECTION
========================================== */

.nx-marquee-offer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0b0813;
    color: #ffffff;
    border-top: 1px solid rgba(167, 139, 250, 0.18);
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    font-family: var(--font-secondary);
    box-sizing: border-box;
}

.nx-marquee-offer *,
.nx-marquee-offer *::before,
.nx-marquee-offer *::after {
    box-sizing: border-box;
}

/* ---------- TOP STRIP ---------- */

.nx-offer-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 5%;
    background: #120b1d;
    border-bottom: 1px solid rgba(167, 139, 250, 0.13);
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 1.4;
}

.nx-offer-topline span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffb323;
}

.nx-offer-topline span:first-child i {
    font-size: 12px;
}

.nx-offer-topline span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4b5d9;
    text-align: right;
}

/* ---------- MOVING TEXT AREA ---------- */

.nx-offer-marquee {
    position: relative;
    width: 100%;
    padding: 22px 0;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at center,
            rgba(112, 47, 180, 0.2) 0%,
            rgba(37, 15, 58, 0.12) 42%,
            transparent 75%
        ),
        #0b0813;
}

.nx-offer-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: nxOfferScroll 24s linear infinite;
    will-change: transform;
}

.nx-offer-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
    padding-right: 26px;
    white-space: nowrap;
}

.nx-marquee-outline,
.nx-marquee-solid {
    display: inline-block;
    flex-shrink: 0;
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.nx-marquee-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #a78bfa;
    text-stroke: 1.5px #a78bfa;
}

.nx-marquee-solid {
    color: #ffb323;
    text-shadow: 0 0 35px rgba(255, 179, 35, 0.1);
}

.nx-marquee-star {
    display: inline-block;
    flex-shrink: 0;
    color: #ffb323;
    font-size: 42px;
    line-height: 1;
    animation: nxOfferStarRotate 8s linear infinite;
}

.nx-purple-star {
    color: #a78bfa;
    font-size: 48px;
}

@keyframes nxOfferScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes nxOfferStarRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nx-offer-marquee:hover .nx-offer-marquee-track {
    animation-play-state: paused;
}

/* ---------- BOTTOM CONTENT STRIP ---------- */

.nx-offer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 5%;
    background: linear-gradient(
        100deg,
        #160d22 0%,
        #100a19 100%
    );
    border-top: 1px solid rgba(167, 139, 250, 0.17);
}

.nx-offer-bottom-copy {
    flex: 1;
    min-width: 0;
}

.nx-offer-bottom-label {
    display: block;
    margin: 0;
    color: #b69aff;
    font-family: var(--font-secondary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.7px;
    line-height: 1.5;
}

.nx-offer-bottom-copy p {
    margin: 7px 0 0;
    color: #cfc6dc;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.nx-offer-bottom-copy p strong {
    color: #ffffff;
    font-weight: 800;
}

/* ---------- CTA BUTTON ---------- */

.nx-offer-claim {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    min-height: 48px;
    background: #ffb323;
    color: #100a15;
    border: 1px solid #ffb323;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    line-height: 1.4;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nx-offer-claim i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nx-offer-claim:hover {
    background: #ffc653;
    color: #100a15;
    border-color: #ffc653;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 179, 35, 0.18);
}

.nx-offer-claim:hover i {
    transform: translate(2px, -2px);
}

/* ---------- TABLET ---------- */

@media (max-width: 992px) {
    .nx-offer-topline {
        padding: 11px 4%;
        font-size: 10px;
    }

    .nx-offer-marquee {
        padding: 20px 0;
    }

    .nx-offer-marquee-group {
        gap: 20px;
        padding-right: 20px;
    }

    .nx-marquee-outline,
    .nx-marquee-solid {
        font-size: clamp(38px, 6vw, 60px);
        letter-spacing: -1.5px;
    }

    .nx-marquee-star {
        font-size: 34px;
    }

    .nx-purple-star {
        font-size: 38px;
    }

    .nx-offer-bottom {
        padding: 17px 4%;
        gap: 18px;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
    .nx-offer-topline {
        padding: 10px 18px;
        gap: 12px;
        font-size: 9px;
        letter-spacing: 0.9px;
    }

    .nx-offer-topline span {
        max-width: 50%;
    }

    .nx-offer-topline span:last-child {
        justify-content: flex-end;
    }

    .nx-offer-marquee {
        padding: 18px 0;
    }

    .nx-offer-marquee-group {
        gap: 16px;
        padding-right: 16px;
    }

    .nx-marquee-outline,
    .nx-marquee-solid {
        font-size: clamp(32px, 7vw, 48px);
        letter-spacing: -1px;
    }

    .nx-marquee-outline {
        -webkit-text-stroke-width: 1px;
        text-stroke-width: 1px;
    }

    .nx-marquee-star {
        font-size: 28px;
    }

    .nx-purple-star {
        font-size: 32px;
    }

    .nx-offer-bottom {
        padding: 16px 20px;
        gap: 14px;
        flex-wrap: wrap;
    }

    .nx-offer-bottom-copy {
        flex-basis: 100%;
    }

    .nx-offer-bottom-label {
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .nx-offer-bottom-copy p {
        margin-top: 5px;
        font-size: 12px;
    }

    .nx-offer-claim {
        padding: 12px 18px;
        min-height: 42px;
        font-size: 10px;
    }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {
    .nx-offer-topline {
        padding: 10px 14px;
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .nx-offer-topline span:first-child {
        gap: 6px;
    }

    .nx-offer-topline span:last-child {
        gap: 5px;
    }

    .nx-offer-marquee {
        padding: 15px 0;
    }

    .nx-offer-marquee-group {
        gap: 13px;
        padding-right: 13px;
    }

    .nx-marquee-outline,
    .nx-marquee-solid {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .nx-marquee-star {
        font-size: 24px;
    }

    .nx-purple-star {
        font-size: 28px;
    }

    .nx-offer-bottom {
        padding: 15px 16px;
        gap: 12px;
    }

    .nx-offer-bottom-copy p {
        font-size: 11px;
        line-height: 1.7;
    }

    .nx-offer-claim {
        padding: 11px 15px;
        min-height: 40px;
        gap: 8px;
        font-size: 9px;
    }
}

/* ---------- EXTRA SMALL MOBILE ---------- */

@media (max-width: 360px) {
    .nx-offer-topline {
        padding: 9px 10px;
        font-size: 7px;
    }

    .nx-marquee-outline,
    .nx-marquee-solid {
        font-size: 28px;
    }

    .nx-offer-bottom {
        padding: 14px 12px;
    }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    .nx-offer-marquee-track {
        animation-duration: 60s;
    }

    .nx-marquee-star {
        animation: none;
    }

    .nx-offer-claim,
    .nx-offer-claim i {
        transition: none;
    }
}


/* ===== SIMPLE FLOATING ICONS ===== */

.floating-icons {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 23px;
  text-decoration: none;

  border-radius: 50%;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-icon {
  background: #1593e2;
}

.whatsapp-icon {
  background: #25d366;
}

.instagram-icon {
  background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
}

.float-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
  color: #fff;
}

.float-icon:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .floating-icons {
    right: 14px;
    bottom: 20px;
    gap: 12px;
  }

  .float-icon {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .floating-icons {
    right: 10px;
    bottom: 15px;
    gap: 10px;
  }

  .float-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-icon {
    transition: none;
  }
}


/* ==========================================
   NEXTORIA AI ACADEMY INSTAGRAM SECTION
========================================== */

.dp-insta-section {
    position: relative;
    width: 100%;
    padding: 55px 0;
    overflow: hidden;
    box-sizing: border-box;
}

.dp-insta-section {
    background:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(112, 55, 180, 0.20) 0%,
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(72, 35, 130, 0.18) 0%,
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #0b0813 0%,
            #120b1d 50%,
            #0b0813 100%
        );
}

.dp-insta-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.dp-insta-section *,
.dp-insta-section *::before,
.dp-insta-section *::after {
    box-sizing: border-box;
}

.dp-insta-section .dp-insta-container {
    text-align: center;
}

.dp-insta-section .eyebrow,
.dp-insta-section h2 {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.dp-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    width: 100%;
    margin: 0 auto;
}

.dp-insta-card {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.dp-insta-card:hover {
    border-color: rgba(255, 179, 35, 0.45);
}

.dp-insta-card .instagram-media {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.dp-insta-card iframe {
    max-width: 100% !important;
}

@media (min-width: 1400px) {
    .dp-insta-container {
        max-width: 1180px;
    }

    .dp-insta-grid {
        gap: 22px;
    }
}

@media (max-width: 1199px) {
    .dp-insta-section {
        padding: 48px 0;
    }

    .dp-insta-container {
        max-width: 1000px;
        padding: 0 20px;
    }

    .dp-insta-grid {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .dp-insta-section {
        padding: 45px 0;
    }

    .dp-insta-container {
        padding: 0 20px;
    }

    .dp-insta-section .row {
        margin-bottom: 25px;
    }

    .dp-insta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .dp-insta-section {
        padding: 35px 0;
    }

    .dp-insta-container {
        padding: 0 15px;
    }

    .dp-insta-section .row {
        margin-bottom: 22px;
    }

    .dp-insta-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        max-width: 360px;
        margin: 0 auto;
    }

    .dp-insta-card {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .dp-insta-section {
        padding: 30px 0;
    }

    .dp-insta-container {
        padding: 0 12px;
    }

    .dp-insta-grid {
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-insta-card {
        transition: none;
    }
}

/* ==========================================================
   CURRICULUM DOWNLOAD MODAL  (shared by every course page)
   Markup : includes/curriculum-modal.php (loaded from footer.php)
   Script : assets/js/curriculum.js
   ========================================================== */
.curriculum-modal,
.curriculum-modal * { box-sizing: border-box; }

.curriculum-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: inherit;
}
.curriculum-modal.is-open { display: flex; }

.curriculum-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 25, .78);
  backdrop-filter: blur(6px);
}

.curriculum-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  padding: 32px;
  background: linear-gradient(145deg, #11152f, #1b1740);
  color: #fff;
  border: 1px solid rgba(157, 111, 255, .35);
  border-radius: 20px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .45);
  animation: curriculumModalIn .24s ease-out both;
}
@keyframes curriculumModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.curriculum-modal-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: rgba(113, 47, 252, .18);
  border: 1px solid rgba(149, 76, 228, .45);
  color: #b99aff;
  font-size: 25px;
}

.curriculum-modal-card h2 {
  margin: 0 36px 9px 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
}
.curriculum-modal-card p.curriculum-modal-sub {
  margin: 0 0 22px;
  color: #c1c4d8;
  font-size: 14px;
  line-height: 1.6;
}

.curriculum-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.curriculum-modal-close:hover { background: rgba(255, 255, 255, .12); }

.curriculum-form { display: flex; flex-direction: column; gap: 8px; }
.curriculum-form label {
  margin-top: 5px;
  color: #e5e4f1;
  font-size: 13px;
  font-weight: 600;
}
.curriculum-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(194, 190, 226, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.curriculum-form input::placeholder { color: #9296b0; }
.curriculum-form input:focus {
  border-color: #9b70ff;
  box-shadow: 0 0 0 3px rgba(113, 47, 252, .18);
}

.curriculum-download-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  background: linear-gradient(100deg, #712ffc, #954ce4);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.curriculum-download-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.curriculum-download-submit:disabled { opacity: .7; cursor: default; transform: none; }

.curriculum-form-msg {
  margin: 4px 0 0;
  min-height: 18px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: #9389a8;
}
.curriculum-form-msg.is-error { color: #ff9292; }
.curriculum-form-msg.is-ok { color: #7ee2a0; }

body.curriculum-modal-open { overflow: hidden; }

@media (max-width: 480px) {
  .curriculum-modal { padding: 12px; }
  .curriculum-modal-card { padding: 25px 20px; border-radius: 16px; }
  .curriculum-modal-card h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .curriculum-modal-card { animation: none; }
  .curriculum-download-submit { transition: none; }
}
