/* ================================================================
   AiWebix — Futuristic Design System
   Dark · Neon · Glassmorphism · 3D
================================================================ */

/* ---- TOKENS ---- */
:root {
  --p:   #089BD2;
  --pl:  #38C0EA;
  --cy:  #00BFFF;
  --pk:  #FF2D78;
  --gr:  #43E97B;

  --bg:  #030308;
  --s1:  #07071a;
  --s2:  #0c0c22;
  --s3:  #111128;

  --card:rgba(8,8,26,0.72);
  --b:   rgba(8,155,210,0.22);
  --bc:  rgba(0,191,255,0.2);

  --t:   #F0F0FF;
  --tm:  #4A8FA8;
  --ts:  #3a3a5c;

  --gp:  0 0 20px rgba(8,155,210,0.45), 0 0 60px rgba(8,155,210,0.15);
  --gc:  0 0 20px rgba(0,191,255,0.45),  0 0 60px rgba(0,191,255,0.15);
  --gpk: 0 0 20px rgba(255,45,120,0.45), 0 0 60px rgba(255,45,120,0.15);
}

/* ================================================================
   BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--t);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Override old theme body/section backgrounds */
body.theme-two { background: var(--bg) !important; }

a { color: var(--cy); text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { list-style: none; padding: 0; margin: 0; }

/* ================================================================
   PARTICLES CANVAS  (fixed behind everything)
================================================================ */
#fx-particles {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ================================================================
   SCANLINES  (subtle CRT feel)
================================================================ */
.fx-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.032) 3px,
    rgba(0,0,0,0.032) 4px
  );
}

/* All sections above canvas */
.fx-nav, .fx-section, .fx-hero, .fx-footer,
.fx-modal-wrap, #videoPopup, .whatsapp-float-button {
  position: relative;
  z-index: 10;
}

/* ================================================================
   NAV ENTRANCE ANIMATION
================================================================ */
.fx-nav {
  animation: nav-drop 0.5s ease forwards;
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   NAV
================================================================ */
.fx-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0A192F;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(8,155,210,0.15);
  transition: background 0.3s;
}

.fx-nav.scrolled { background: #0A192F; }

.fx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.fx-logo { height: 54px; width: auto; }

.fx-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fx-nav-links > li {
  position: relative;
}

.fx-nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--tm);
  padding: 7px 13px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.fx-nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--cy);
  box-shadow: 0 0 6px var(--cy);
  transition: width 0.3s;
}

.fx-nav-links > li > a:hover { color: var(--t); background: rgba(8,155,210,0.07); }
.fx-nav-links > li > a:hover::after { width: 55%; }

/* Caret icon */
.fx-caret {
  width: 10px; height: 10px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.fx-has-dd:hover .fx-caret { transform: rotate(180deg); }

/* Dropdown */
.fx-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: rgba(5,5,18,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--b);
  border-radius: 14px;
  padding: 8px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(8,155,210,0.08);
  list-style: none;
}

.fx-has-dd:hover .fx-dropdown,
.fx-has-dd:focus-within .fx-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fx-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--tm);
  border-radius: 9px;
  transition: color 0.18s, background 0.18s;
  font-weight: 500;
}
.fx-dropdown li a:hover {
  color: var(--cy);
  background: rgba(0,191,255,0.07);
}
/* Override the ::after underline for dropdown links */
.fx-dropdown li a::after { display: none !important; }

.fx-nav-cta {
  color: var(--cy) !important;
  border: 1px solid rgba(0,191,255,0.28);
  background: rgba(0,191,255,0.05) !important;
}
.fx-nav-cta:hover {
  background: rgba(0,191,255,0.12) !important;
  box-shadow: var(--gc);
  border-color: rgba(0,191,255,0.5);
}
.fx-nav-cta::after { display: none !important; }

/* Hamburger */
.fx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.fx-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--tm);
  border-radius: 2px;
  transition: transform 0.28s, opacity 0.28s, background 0.2s;
}
.fx-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--cy); }
.fx-hamburger.open span:nth-child(2) { opacity: 0; }
.fx-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--cy); }

/* Mobile menu */
.fx-mobile-menu {
  display: none;
  padding: 10px 0 14px;
  border-top: 1px solid rgba(8,155,210,0.15);
}
.fx-mobile-menu.open { display: block; }
.fx-mobile-menu > ul { display: flex; flex-direction: column; gap: 2px; }

.fx-mobile-menu a {
  display: block;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--tm);
  padding: 9px 4px;
  transition: color 0.2s;
}
.fx-mobile-menu a:hover { color: var(--cy); }

/* Mobile sub-dropdown */
.fx-mob-dd-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none;
  font-size: 0.93rem; font-weight: 500; color: var(--tm);
  padding: 9px 4px; cursor: pointer;
  transition: color 0.2s;
}
.fx-mob-dd-btn:hover { color: var(--cy); }
.fx-mob-dd-btn .fx-caret { width: 12px; height: 12px; transition: transform 0.25s; }
.fx-mob-dd-btn.open { color: var(--cy); }
.fx-mob-dd-btn.open .fx-caret { transform: rotate(180deg); }

.fx-mob-sub {
  display: none;
  padding-left: 14px;
  border-left: 2px solid rgba(8,155,210,0.25);
  margin: 2px 0 4px 4px;
}
.fx-mob-sub.open { display: block; }
.fx-mob-sub a {
  font-size: 0.86rem;
  color: var(--ts);
  padding: 7px 4px;
}
.fx-mob-sub a:hover { color: var(--cy); }

/* ================================================================
   HERO LOAD ANIMATIONS  (play immediately on page load)
================================================================ */
.fx-load-1, .fx-load-2, .fx-load-3,
.fx-load-4, .fx-load-5, .fx-load-r {
  opacity: 0;
  will-change: opacity, transform;
}

.fx-load-1 { animation: fx-up 0.65s ease forwards 0.15s; }
.fx-load-2 { animation: fx-up 0.65s ease forwards 0.3s;  }
.fx-load-3 { animation: fx-up 0.65s ease forwards 0.45s; }
.fx-load-4 { animation: fx-up 0.65s ease forwards 0.6s;  }
.fx-load-5 { animation: fx-up 0.65s ease forwards 0.75s; }
.fx-load-r { animation: fx-right 0.75s ease forwards 0.25s; }

@keyframes fx-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fx-right {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   HERO
================================================================ */
.fx-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 72px 0 60px;
  overflow: hidden;
  position: relative;
}

/* Background radial glow center */
.fx-hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(8,155,210,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Blink dot in badges/tags */
.fx-dot {
  width: 7px; height: 7px;
  background: var(--cy);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cy);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Trust tag */
.fx-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cy);
  border: 1px solid rgba(0,191,255,0.22);
  background: rgba(0,191,255,0.06);
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* Glitch headline */
.fx-h1 {
  font-family: 'Outfit', 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
  color: var(--t);
}

.fx-glitch {
  position: relative;
  display: inline;
}
.fx-glitch::before,
.fx-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.fx-glitch::before {
  color: var(--cy);
  clip-path: polygon(0 28%, 100% 28%, 100% 50%, 0 50%);
  animation: glitch-a 5s infinite;
  opacity: 0;
}
.fx-glitch::after {
  color: var(--pk);
  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%);
  animation: glitch-b 5s infinite;
  opacity: 0;
}
@keyframes glitch-a {
  0%, 78%, 100% { opacity: 0; transform: translate(0); }
  80%  { opacity: 0.9; transform: translate(-3px, 0); }
  82%  { opacity: 0; }
  86%  { opacity: 0.7; transform: translate(3px, 0); }
  88%  { opacity: 0; }
}
@keyframes glitch-b {
  0%, 78%, 100% { opacity: 0; transform: translate(0); }
  81%  { opacity: 0.8; transform: translate(3px, 0); }
  83%  { opacity: 0; }
  87%  { opacity: 0.6; transform: translate(-3px, 0); }
  89%  { opacity: 0; }
}

/* Gradient spans */
.fx-grad {
  background: linear-gradient(135deg, var(--pl) 0%, var(--cy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fx-grad-animated {
  background: linear-gradient(135deg, var(--pl), var(--cy), var(--pl));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fx-sub {
  font-size: 1.05rem;
  color: var(--tm);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* CTA buttons */
.fx-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 2.4rem;
}

.fx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--p), var(--pl));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: var(--gp);
}
.fx-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.fx-btn-primary:hover::before { left: 100%; }
.fx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(8,155,210,0.6), 0 8px 28px rgba(8,155,210,0.35);
}

.fx-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--t) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.fx-btn-ghost:hover {
  border-color: rgba(0,191,255,0.45);
  background: rgba(0,191,255,0.07);
  color: var(--t) !important;
}

.fx-play-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.fx-btn-ghost:hover .fx-play-circle {
  background: rgba(8,155,210,0.4);
  border-color: var(--pl);
  transform: scale(1.1);
}

/* Hero stats */
.fx-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.fx-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--cy), var(--pl));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.fx-stat span {
  font-size: 0.75rem;
  color: var(--ts);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fx-stat-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.08);
}

/* ---- HERO VISUAL (right side) ---- */
.fx-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.fx-hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(8,155,210,0.38) 0%, rgba(0,191,255,0.12) 45%, transparent 70%);
  filter: blur(55px);
  border-radius: 50%;
  animation: pulse-glow 3.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.fx-orbit {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  animation: orbit-spin 20s linear infinite;
}

.fx-orbit-1 {
  width: 320px; height: 320px;
  border: 1px solid rgba(8,155,210,0.22);
  animation-duration: 22s;
}
.fx-orbit-2 {
  width: 430px; height: 430px;
  border: 1px solid rgba(0,191,255,0.12);
  animation-direction: reverse;
  animation-duration: 34s;
}

@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Main image frame */
.fx-hero-frame {
  position: relative;
  z-index: 5;
  perspective: 1100px;
}

.fx-hero-frame-inner {
  width: 220px;
  border-radius: 22px;
  background: linear-gradient(150deg, #10102c, #080820);
  border: 2px solid rgba(8,155,210,0.55);
  box-shadow:
    0 0 32px rgba(8,155,210,0.45),
    0 0 90px rgba(8,155,210,0.14),
    inset 0 1px 0 rgba(255,255,255,0.07);
  overflow: hidden;
  animation: frame-float 4.5s ease-in-out infinite;
}

@keyframes frame-float {
  0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
  50%       { transform: rotateY(-6deg)  rotateX(2deg) translateY(-18px); }
}

.fx-hero-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

/* Scan line sweep effect on the frame */
.fx-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8,155,210,0.04) 50%,
    rgba(0,191,255,0.06) 100%
  );
  pointer-events: none;
}

/* Small secondary images alongside */
.fx-hero-sec {
  position: absolute;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 4;
}

.fx-hero-sec img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid rgba(0,191,255,0.25);
  box-shadow: 0 0 15px rgba(0,191,255,0.2);
}

/* Floating badges */
.fx-float-badge {
  position: absolute;
  background: rgba(5,5,20,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--t);
  white-space: nowrap;
  z-index: 8;
}

.fx-float-badge span { font-size: 0.72rem; color: var(--tm); font-weight: 400; display: block; margin-top: 1px; }

.fx-badge-1 {
  top: 10%;
  right: -10px;
  border: 1px solid rgba(0,191,255,0.35);
  box-shadow: 0 0 16px rgba(0,191,255,0.18);
  animation: badge-float 3.2s ease-in-out infinite;
}
.fx-badge-2 {
  bottom: 32%;
  left: -16px;
  border: 1px solid rgba(8,155,210,0.4);
  box-shadow: 0 0 16px rgba(8,155,210,0.2);
  animation: badge-float 3.8s ease-in-out 1.2s infinite;
}
.fx-badge-3 {
  bottom: 8%;
  right: 10%;
  border: 1px solid rgba(67,233,123,0.35);
  box-shadow: 0 0 14px rgba(67,233,123,0.15);
  animation: badge-float 3s ease-in-out 0.6s infinite;
}

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

/* Scroll indicator */
.fx-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--ts);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fx-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--p), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.3); }
}

/* ================================================================
   SHARED SECTION STYLES
================================================================ */
.fx-section { padding: 88px 0; }

.fx-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cy);
  border: 1px solid var(--bc);
  background: rgba(0,191,255,0.06);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.fx-section-tag.purple {
  color: var(--pl);
  border-color: var(--b);
  background: rgba(8,155,210,0.06);
}

.fx-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--t);
  margin-bottom: 14px;
}

.fx-section-sub {
  font-size: 1.02rem;
  color: var(--tm);
  line-height: 1.72;
  max-width: 540px;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.fx-about { background: var(--s1); }

.fx-about-img-wrap {
  position: relative;
  display: inline-block;
  border-radius: 20px;
}

.fx-about-img {
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  border: 1.5px solid rgba(8,155,210,0.35);
  box-shadow: 0 0 30px rgba(8,155,210,0.3), 0 0 80px rgba(8,155,210,0.1);
  display: block;
}

/* Glowing corner accent */
.fx-about-img-wrap::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(0,191,255,0.35), transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
}

.fx-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fx-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fx-check-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--cy));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 0 12px rgba(8,155,210,0.35);
}

.fx-check-icon svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; }

.fx-check-item p { font-size: 0.95rem; font-weight: 600; color: var(--t); line-height: 1.5; margin: 0; }

/* ================================================================
   COURSES  — Glassmorphism tilt cards
================================================================ */
.fx-courses { background: var(--bg); }

.fx-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fx-course-card {
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--b);
  border-radius: 20px;
  overflow: hidden;
  display: block;
  color: var(--t);
  text-decoration: none;
  transition: border-color 0.28s, box-shadow 0.28s;
  will-change: transform;
}

.fx-course-card.c-purple:hover { border-color: rgba(8,155,210,0.55);  box-shadow: var(--gp); }
.fx-course-card.c-cyan:hover   { border-color: rgba(0,191,255,0.5);   box-shadow: var(--gc); }
.fx-course-card.c-pink:hover   { border-color: rgba(255,45,120,0.5);  box-shadow: var(--gpk);}

.fx-course-img-wrap { position: relative; overflow: hidden; }
.fx-course-img-wrap img {
  width: 100%; height: 195px; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.fx-course-card:hover .fx-course-img-wrap img { transform: scale(1.05); }

.fx-course-num {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.c-purple .fx-course-num { background: rgba(8,155,210,0.75); color: #fff; }
.c-cyan   .fx-course-num { background: rgba(0,191,255,0.7);  color: #000; }
.c-pink   .fx-course-num { background: rgba(255,45,120,0.75); color: #fff; }

.fx-course-body { padding: 20px 22px 24px; }

.fx-course-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem; font-weight: 700;
  color: var(--t); margin-bottom: 8px; line-height: 1.3;
}

.fx-course-desc {
  font-size: 0.87rem; color: var(--tm);
  line-height: 1.65; margin-bottom: 16px;
}

.fx-course-cta {
  display: inline-flex; align-items: center;
  gap: 5px; font-size: 0.85rem; font-weight: 600;
  transition: gap 0.2s;
}
.fx-course-card:hover .fx-course-cta { gap: 9px; }
.c-purple .fx-course-cta { color: var(--pl); }
.c-cyan   .fx-course-cta { color: var(--cy); }
.c-pink   .fx-course-cta { color: #FF6EB4; }

/* ================================================================
   PRODUCTS  — Overlay cards
================================================================ */
.fx-products { background: var(--s1); }

.fx-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fx-product-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--b);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  will-change: transform;
}
.fx-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gp);
  border-color: rgba(8,155,210,0.45);
}

.fx-product-card img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  transition: transform 0.45s;
}
.fx-product-card:hover img { transform: scale(1.05); }

.fx-product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,3,8,0.97) 0%, rgba(3,3,8,0.3) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 20px 20px;
}

.fx-product-badge {
  display: inline-block;
  background: rgba(0,191,255,0.12);
  border: 1px solid rgba(0,191,255,0.3);
  color: var(--cy);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px;
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 9px; text-transform: uppercase;
}

.fx-product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--t); margin-bottom: 5px; line-height: 1.3;
}

.fx-product-desc {
  font-size: 0.82rem; color: rgba(240,240,255,0.6); line-height: 1.55;
}

/* ================================================================
   BENEFITS  — Light theme
================================================================ */
.fx-benefits { background: #ffffff; position: relative; overflow: hidden; }

.fx-benefits::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(8,155,210,0.05) 0%, transparent 65%);
  top: -200px; right: -150px;
  border-radius: 50%; pointer-events: none;
}

.fx-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.fx-benefit-card {
  background: #f7f4fe;
  border: 1px solid rgba(8,155,210,0.12);
  border-radius: 18px;
  padding: 28px 14px 22px;
  text-align: center;
  transition: transform 0.28s, background 0.28s, border-color 0.28s, box-shadow 0.28s;
}
.fx-benefit-card:hover {
  transform: translateY(-6px);
  background: #ede9fe;
  border-color: rgba(8,155,210,0.35);
  box-shadow: 0 8px 30px rgba(8,155,210,0.15);
}

.fx-benefit-emoji { font-size: 2rem; display: block; margin-bottom: 12px; line-height: 1; }
.fx-benefit-title { color: #1e293b; font-size: 0.85rem; font-weight: 600; line-height: 1.45; margin: 0; }

/* Benefits section light text overrides */
.fx-benefits .fx-section-tag  { color: var(--p); background: rgba(8,155,210,0.07); border-color: rgba(8,155,210,0.2); }
.fx-benefits .fx-section-title { color: #0A192F; }
.fx-benefits .fx-section-sub  { color: #4a5568; }

/* ================================================================
   HOW TO GET INTERNSHIP  — Steps
================================================================ */
.fx-steps { background: var(--s1); }

.fx-steps-banner {
  background: linear-gradient(140deg, var(--p) 0%, #0A192F 100%);
  border-radius: 22px;
  padding: 36px 28px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(8,155,210,0.4);
  box-shadow: var(--gp);
}

.fx-steps-banner h2 { color: #fff; font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; font-family: 'Outfit', sans-serif; line-height: 1.35; }
.fx-steps-banner p  { color: rgba(255,255,255,0.72); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }

.fx-steps-banner img { border-radius: 14px; width: 100%; object-fit: cover; max-height: 220px; }

.fx-steps-list { display: flex; flex-direction: column; gap: 14px; }

.fx-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--b);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.fx-step:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 26px rgba(8,155,210,0.18);
  border-color: rgba(8,155,210,0.4);
}

.fx-step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--cy));
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 14px rgba(8,155,210,0.35);
}

.fx-step-body h3 { font-size: 0.97rem; font-weight: 700; color: var(--t); margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
.fx-step-body p  { font-size: 0.83rem; color: var(--tm); line-height: 1.55; margin: 0; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.fx-testimonials {
  background: var(--bg);
  position: relative; overflow: hidden;
}

.fx-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(8,155,210,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.fx-testimonial-wrap { min-height: 140px; }

.fx-testimonial-item { display: none; animation: fadeUp 0.5s ease; }
.fx-testimonial-item.active { display: block; }

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

.fx-quote-icon { opacity: 0.35; margin-bottom: 12px; }

.fx-testimonial-text {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(240,240,255,0.82);
  line-height: 1.78;
  font-style: italic;
  margin: 0 0 16px;
}

.fx-testimonial-author {
  color: var(--cy);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: normal;
}

.fx-dots {
  display: flex; gap: 8px; margin-top: 24px;
}

.fx-dot-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.22s, transform 0.22s;
}
.fx-dot-btn.active {
  background: var(--cy);
  transform: scale(1.35);
  box-shadow: 0 0 8px var(--cy);
}

/* Floating student images container */
.fx-floating-imgs {
  position: relative;
  height: 420px;
  pointer-events: none;
}

.fx-fi {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  top: 50%; left: 50%;
  opacity: 0;
  animation: fi-disperse var(--dur, 12s) ease-in-out infinite var(--d, 0s);
}

@keyframes fi-disperse {
  0%   { opacity: 0;   transform: translate(var(--tx), var(--ty)) scale(0.75); }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.7; }
  100% { opacity: 0;   transform: translate(var(--tx), calc(var(--ty) + 14px)) scale(0.75); }
}

/* ================================================================
   STATS
================================================================ */
.fx-stats {
  background: #f7f4fe;
  border-top: 1px solid rgba(8,155,210,0.12);
  border-bottom: 1px solid rgba(8,155,210,0.12);
  padding: 68px 0;
}

.fx-stat-item { text-align: center; padding: 12px 16px; }

.fx-stat-num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--p) 0%, var(--pl) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fx-stat-lbl { color: #4a5568; font-size: 0.9rem; font-weight: 500; }

/* ================================================================
   FAQ  — Glassmorphism accordion
================================================================ */
.fx-faq { background: var(--s1); }

/* Override Bootstrap accordion to match dark theme */
.fx-faq .accordion-item {
  background: var(--card) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--b) !important;
  border-radius: 14px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.fx-faq .accordion-button {
  background: transparent !important;
  color: var(--t) !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 18px 22px;
}

.fx-faq .accordion-button::after {
  filter: invert(1) brightness(0.7);
}

.fx-faq .accordion-button:not(.collapsed) {
  color: var(--cy) !important;
  border-bottom: 1px solid var(--b);
}

.fx-faq .accordion-body {
  background: transparent;
  color: var(--tm);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 16px 22px 20px;
}

/* ================================================================
   FOOTER
================================================================ */
.fx-footer {
  background: var(--s1);
  border-top: 1px solid var(--b);
  padding: 56px 0 32px;
}

.fx-footer-logo { height: 38px; margin-bottom: 16px; }

.fx-footer-tagline {
  color: var(--tm);
  font-size: 0.87rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 20px;
}

.fx-footer-social {
  display: flex; gap: 10px;
}

.fx-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--tm);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fx-social-btn:hover {
  background: rgba(0,191,255,0.1);
  border-color: rgba(0,191,255,0.35);
  color: var(--cy);
}

.fx-footer-heading {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--t); margin-bottom: 16px;
}

.fx-footer-links { display: flex; flex-direction: column; gap: 10px; }
.fx-footer-links a {
  font-size: 0.88rem; color: var(--tm);
  transition: color 0.2s;
}
.fx-footer-links a:hover { color: var(--cy); }

.fx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.fx-footer-copy { font-size: 0.82rem; color: var(--ts); }

/* ================================================================
   REVEAL ANIMATIONS (IntersectionObserver)
================================================================ */
.fx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}
.fx-reveal-left  { transform: translateX(-28px); }
.fx-reveal-right { transform: translateX(28px); }
.fx-reveal-fade  { transform: none; }

.fx-reveal.visible,
.fx-reveal-left.visible,
.fx-reveal-right.visible,
.fx-reveal-fade.visible {
  opacity: 1;
  transform: translate(0,0);
}

/* ================================================================
   NEON CURSOR TRAIL
================================================================ */
.fx-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.85), transparent 70%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ================================================================
   MODAL OVERRIDE  (keep offer modal visible)
================================================================ */
#offerModal  { z-index: 10100 !important; }
#videoPopup  { z-index: 10050 !important; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1199px) {
  .fx-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .fx-nav-links { display: none; }
  .fx-hamburger { display: flex; }

  .fx-hero { padding: 60px 0 50px; min-height: auto; }

  .fx-hero-visual { min-height: 360px; padding: 30px 0; }
  .fx-orbit-1 { width: 250px; height: 250px; }
  .fx-orbit-2 { width: 340px; height: 340px; }
  .fx-hero-frame-inner { width: 180px; }
  .fx-hero-img { height: 260px; }
  .fx-hero-sec { display: none; }

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

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

  .fx-hero { padding: 56px 0 44px; }
  .fx-sub  { font-size: 0.97rem; }

  .fx-stats-row { gap: 14px; }
  .fx-stat-div  { display: none; }

  .fx-hero-visual { min-height: 300px; }
  .fx-orbit-1 { width: 210px; height: 210px; }
  .fx-orbit-2 { display: none; }
  .fx-hero-frame-inner { width: 155px; }
  .fx-hero-img { height: 220px; }

  .fx-badge-1, .fx-badge-2, .fx-badge-3 { display: none; }

  .fx-courses-grid,
  .fx-products-grid { grid-template-columns: 1fr; gap: 16px; }

  .fx-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .fx-floating-imgs { display: none; }

  .fx-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 479px) {
  .fx-cta-row { flex-direction: column; align-items: flex-start; }
  .fx-btn-primary { width: 100%; justify-content: center; }

  .fx-benefits-grid { grid-template-columns: 1fr 1fr; }

  .fx-h1 { font-size: 1.95rem; }
}

/* ================================================================
   WHATSAPP SUPPORT SECTION — Light theme
================================================================ */
.fx-wa-support {
  background: #ffffff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.fx-wa-support::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,211,102,0.07) 0%, transparent 65%);
  top: -100px; left: -100px;
  border-radius: 50%; pointer-events: none;
}
.fx-wa-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: #0A192F; margin-bottom: 14px; line-height: 1.2; }
.fx-wa-sub { font-size: 1rem; color: #4a5568; line-height: 1.7; max-width: 500px; }
.fx-wa-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dcfce7; color: #166534;
  font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 18px; border: 1px solid #bbf7d0;
}
.fx-wa-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: #f7f4fe;
  border: 1px solid rgba(8,155,210,0.12);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.fx-wa-feature:hover { border-color: rgba(8,155,210,0.3); box-shadow: 0 4px 16px rgba(8,155,210,0.1); }
.fx-wa-feature-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg,#25D366,#128C7E); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fx-wa-feature h4 { font-size: .92rem; font-weight: 700; color: #0A192F; margin: 0 0 3px; }
.fx-wa-feature p { font-size: .82rem; color: #4a5568; margin: 0; }
.fx-wa-img-wrap { position: relative; }
.fx-wa-img-wrap img { width: 100%; max-width: 460px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 20px rgba(37,211,102,0.15); border: 2px solid rgba(37,211,102,0.2); display: block; margin: 0 auto; }
.fx-wa-join-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff !important;
  font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  margin-top: 20px;
}
.fx-wa-join-btn:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

/* ================================================================
   GHOST BUTTON IMPROVEMENT
================================================================ */
.fx-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  background: rgba(255,255,255,0.06) !important;
}
.fx-btn-ghost:hover {
  border-color: rgba(0,191,255,0.55) !important;
  background: rgba(0,191,255,0.1) !important;
}

/* ================================================================
   LIGHT MODE — all sections below the hero
================================================================ */

/* White body so particles only show through the dark hero */
body { background: #ffffff; }

/* Hero keeps its own explicit dark background */
.fx-hero { background: #030308; }

/* Scanlines only look natural on dark — hide on light sections by stopping them rendering over white sections */
/* (sections are opaque, so scanlines are covered — no extra work needed) */

/* ---- ABOUT ---- */
.fx-about { background: #f8fafc; }

.fx-about-img {
  border: 1.5px solid rgba(8,155,210,0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}
.fx-about-img-wrap::before { display: none; }

.fx-about .fx-section-title { color: #0A192F; }
.fx-about .fx-section-sub   { color: #4a5568; }
.fx-check-item p            { color: #1e293b; }

/* ---- COURSES ---- */
.fx-courses { background: #ffffff; }

.fx-courses .fx-section-title { color: #0A192F; }
.fx-courses .fx-section-sub   { color: #4a5568; }

.fx-course-card {
  background: #ffffff;
  border: 1px solid rgba(8,155,210,0.13);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.fx-course-card.c-purple:hover,
.fx-course-card.c-cyan:hover,
.fx-course-card.c-pink:hover {
  box-shadow: 0 8px 36px rgba(8,155,210,0.16);
  border-color: rgba(8,155,210,0.32);
}
.fx-course-title { color: #0A192F; }
.fx-course-desc  { color: #4a5568; }

/* ---- PRODUCTS ---- */
.fx-products { background: #f8fafc; }

.fx-products .fx-section-title { color: #0A192F; }
.fx-products .fx-section-sub   { color: #4a5568; }

.fx-product-card {
  border: 1px solid rgba(8,155,210,0.1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.fx-product-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-color: rgba(8,155,210,0.3);
}

/* ---- STEPS / INTERNSHIP ---- */
.fx-steps { background: #ffffff; }

.fx-steps .fx-section-tag   { color: var(--p); }

.fx-step {
  background: #ffffff;
  border: 1px solid rgba(8,155,210,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.fx-step:hover {
  box-shadow: 0 6px 26px rgba(8,155,210,0.14);
  border-color: rgba(8,155,210,0.28);
}
.fx-step-body h3 { color: #0A192F; }
.fx-step-body p  { color: #4a5568; }

/* ---- TESTIMONIALS ---- */
.fx-testimonials { background: #f8fafc; }
.fx-testimonials::before { display: none; }

.fx-testimonials .fx-section-title { color: #0A192F; }

.fx-testimonial-text   { color: #374151; }
.fx-testimonial-author { color: var(--p); }

.fx-dot-btn { background: rgba(8,155,210,0.18); }

.fx-fi {
  border: 2px solid rgba(8,155,210,0.2);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ---- FAQ ---- */
.fx-faq { background: #ffffff; }

.fx-faq .fx-section-title { color: #0A192F; }

.fx-faq .accordion-item {
  background: #ffffff !important;
  border: 1px solid rgba(8,155,210,0.12) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.fx-faq .accordion-button {
  background: #ffffff !important;
  color: #0A192F !important;
}
.fx-faq .accordion-button::after { filter: none !important; }
.fx-faq .accordion-button:not(.collapsed) {
  color: var(--p) !important;
  background: rgba(8,155,210,0.03) !important;
  border-bottom: 1px solid rgba(8,155,210,0.1) !important;
}
.fx-faq .accordion-body { color: #4a5568; }
