/* Base & variables */
:root {
  --bg: #0f1223;
  --bgsoft: #161a33;
  --text: #e7e9ff;
  --muted: #aeb3d9;
  --brand: #7c5cff;
  --brand2: #19d3da;
  --accent: #ffe07c;
  --danger: #ff6b6b;
  --success: #36d399;

  --wrap: 1100px;
  --radius-xl: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --gap: 16px;
}

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

html, body { height: 100%; }
body.body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Smooth scroll anchor offset fix for browsers */
html { scroll-behavior: smooth; }

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

img, iframe { max-width: 100%; }

/* Layout helpers */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: 32px 0; }
.section-large { padding: 64px 0; }
.hero-pad { padding: 32px 30px 48px; }
.mt-2 { margin-top: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mt { margin-top: 20px; }
.pt-2 { padding-top: 8px; }
.pt { padding-top: 20px; }

.grid2 { display: grid; grid-template-columns: 1fr; }
.grid3 { display: grid; grid-template-columns: 1fr; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.gap { gap: var(--gap); }

@media (min-width: 768px){
  .grid2 { grid-template-columns: 1.2fr 1fr; }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
}

.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.center { text-align: center; display: grid; place-items: center; gap: 12px; }

/* Headings */
.h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; font-weight: 800; margin: 16px 0 0; }
.h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 600; margin: 0; }
.h3 { font-size: clamp(20px, 3.6vw, 28px); font-weight: 600; margin: 0; }
.h4 { font-size: 18px; font-weight: 600; margin: 0; }
.h5 { font-size: 18px; font-weight: 600; margin: 0; }

/* Text */
.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 65ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Hero */
.bg-hero {
  background:
    radial-gradient(1200px 600px at 20% -20%, rgba(124,92,255,.35), transparent),
    radial-gradient(900px 500px at 120% -10%, rgba(25,211,218,.25), transparent),
    var(--bg);
}
.hero { position: relative; overflow: hidden; }
.hero-grid { align-items: center; }

/* Pills & bullets */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.pill-emoji { font-size: 18px; }
.bullets { display: grid; gap: 6px; margin-top: 10px; }
.bullet { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: clamp(16px,2.2vw,20px); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--brand2); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn-row.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; border: 1px solid transparent; cursor: pointer;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
  text-align: center; font-size: 18px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(45deg, var(--brand), #8b5cf6);
  box-shadow: var(--shadow);
}
.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }

.btn-ghost-sm {
  font-weight: 600; padding: 8px 12px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
}
.btn-ghost-sm:hover { background: rgba(255,255,255,.1); }

.btn-icon-row { display: flex; gap: 8px; }
.btn-icon {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--text); cursor: pointer;
}
.btn-icon:hover { background: rgba(255,255,255,.1); }

/* Cards */
.card {
  background: color-mix(in oklab, var(--bgsoft) 100%, transparent);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card.soft { background: color-mix(in oklab, var(--bgsoft) 80%, transparent); }
.card.dashed { border-style: dashed; }
.card.brandish { border-color: color-mix(in oklab, var(--brand) 50%, transparent); }
.card.center { text-align: center; }
.card.shrink { flex: 0 0 auto; width: 100%; }

.hoverable { transition: background .2s ease, color .2s ease; }
.hoverable:hover { background: #c7d2fe; color: #1e1b4b; }
.tick { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
  background: color-mix(in oklab, var(--brand) 15%, transparent);
  border-radius: 8px; margin-right: 8px;
}
.emoji { font-size: 22px; }
.soln-pill {
  margin-top: 12px; width: 100%;
  border: 1px solid color-mix(in oklab, var(--success) 50%, transparent);
  background: color-mix(in oklab, var(--success) 15%, transparent);
  color: #dcfce7; padding: 10px 12px; border-radius: 10px;
}

/* Responsive video (fixes overlap) */
.video-card { border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-xl); background: #0a0d1d; overflow: hidden; }
.aspect-16-9 { position: relative; width: 100%; padding-top: 56.25%; }
.iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}

/* Carousel base */
.viewport { overflow: hidden; position: relative; }
.track {
  display: flex; gap: var(--gap);
  will-change: transform;
  transition: transform 0.5s ease-out;
}

/* Counter boxes */
.counter { display: flex; flex-wrap: wrap; gap: 12px; }
.counter .box {
  min-width: 86px; text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 12px; border-radius: var(--radius-sm);
}
.counter .num { font-size: 24px; font-weight: 800; color: var(--accent); }
.counter .lab { font-size: 12px; color: var(--muted); }
.counter .num.secs { color: var(--danger); }

/* Footer */
.footer { padding: 32px 0; color: var(--muted); font-size: 14px; }
.footrow { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal-positioner { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; }
.modal-panel {
  width: 100%; max-width: 760px;
  background: color-mix(in oklab, var(--bgsoft) 95%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.modal-head, .modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.modal-foot { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.1); justify-content: flex-end; }
.modal-body {
  padding: 16px; max-height: 70vh; overflow: auto;
  scrollbar-width: none;
}
.modal-body::-webkit-scrollbar { display: none; }

/* Lists */
.ul { list-style: disc; margin: 6px 0 0 20px; padding: 0; }
.ol { list-style: decimal; margin: 6px 0 0 20px; padding: 0; }


/* Define the animation for color change */
@keyframes color-change {
  0% { color: yellowgreen; } /* Starting color at 0% of the animation */
  50% { color: blue; } /* Color at 50% of the animation */
  100% { color: red; } /* Ending color at 100% of the animation (loops back to red) */
}

/* Apply the animation to a specific element */
.animated-text {
  animation: color-change 2s infinite; /* Apply 'color-change' animation, 2 seconds duration, infinite loop */
  font-size: 2em; /* Example styling */
  text-align: center; /* Example styling */
}


/* Define the animation for color change */
@keyframes color-change2 {
  0% { color: greenyellow; } /* Starting color at 0% of the animation */
  50% { color: blueviolet; } /* Color at 50% of the animation */
  100% { color: orangered; } /* Ending color at 100% of the animation (loops back to red) */
}

/* Apply the animation to a specific element */
.animated-text2 {
  animation: color-change2 2s infinite; /* Apply 'color-change' animation, 2 seconds duration, infinite loop */
  font-size: 2em; /* Example styling */
  text-align: center; /* Example styling */
}

@media screen and (max-width: 480px) {
  .col-100{
    width: 100% !important;
    display: inline-block !important;
  }
  .d-non{
    display: none !important;
  }
  .text-size-m{
    font-size: 25px !important;
  }
}

.video-container {
  display: flex;       /* Activates flexbox for the container */
  justify-content: center; /* Centers the videos within the container */
  gap: 10px;           /* Adds space between the videos */
}

.video-container video {
  flex: 1;             /* Allows videos to grow and share available space equally */
  max-width: 300px;    /* Optional: Sets a maximum width for each video for better control */
  height: auto;    
  padding-bottom: 10px;    /* Maintains aspect ratio */
}

/* Optional: Add a media query for responsiveness on smaller screens */
@media (max-width: 768px) {
  .video-container {
      flex-direction: column; /* Stacks videos vertically on small screens */
      align-items: center;    /* Centers them when stacked */
  }
}

/* ═══════════════════════════════════
   GEERVANEE LEARNING PATH — DARK PREMIUM STYLE
═══════════════════════════════════ */

.path-progress{
display:flex;
align-items:center;
justify-content:center;
gap:18px;
flex-wrap:wrap;
margin-top:18px;
}

.path-step{
padding:14px 20px;
border-radius:14px;
font-weight:700;
min-width:160px;
text-align:center;
transition:all .25s ease;
box-shadow:0 6px 18px rgba(0,0,0,0.25);
background:#161a33;
border:1px solid rgba(255,255,255,0.08);
}

.path-step.completed{
background:linear-gradient(135deg,#1e3a2f,#134e4a);
color:#36d399;
border:1px solid rgba(54,211,153,0.35);
}

.path-step.active{
background:linear-gradient(135deg,#7c5cff,#5235e8);
color:#fff;
box-shadow:0 10px 26px rgba(124,92,255,0.45);
transform:scale(1.08);
}

.path-step.upcoming{
background:#12152a;
color:#8c92c9;
border:1px dashed rgba(255,255,255,0.15);
}

.path-line{
width:60px;
height:4px;
border-radius:10px;
background:linear-gradient(to right,#5235e8,#19d3da);
}

@media(max-width:640px){
.path-progress{ gap:10px; }
.path-line{ width:30px; }
}
