
/* ===================================
   FLUID TYPOGRAPHY SYSTEM
=================================== */
@font-face {
  font-family: 'TT Firs Neue';
  src: url('Assets/fonts/TT-Firs-Neue-Trial-Light.ttf') format('truetype');
  font-weight: 500;
}

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

/* Prevent scrollbar layout shift */
html {
  scrollbar-gutter: stable;
}

/* Consistent font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* @font-face {
  font-family: 'Boldonse';
  src: url('Assets/fonts/Boldonse-Regular.ttf') format('truetype');
  font-weight: 500;
} */

/* @font-face {
  font-family: 'Boldonse';
  src: url('Assets/fonts/Boldonse-Regular.ttf') format('truetype');
  font-weight: 500;
} */
:root {
  /* Fluid font sizes */
  --fs-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --fs-title: clamp(1.8rem, 3vw + 0.5rem, 3.2rem);
  --fs-subtitle: clamp(1.2rem, 2vw, 1.8rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
  --fs-small: clamp(0.8rem, 1vw, 0.95rem);

  /* Fluid spacing */
  --space-section: clamp(2rem, 3vw, 3.5rem);
  --space-inner: clamp(1.5rem, 4vw, 3rem);
  
  /* Colors */
  --fg: #f8f8f8;
  --muted: #aaaaaa;
  --accent: #ffdd33;
  --bg-dark: #0d0f13;
  
  /* Radius */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  
  /* Shadows */
  --shadow-soft: 0 16px 60px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* =========================================
   RESET & BASE STYLES
========================================= */

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

html {
  scroll-behavior: smooth;
}

/* Ensure a single page scrollbar: keep html/body full-height and only body scrolls vertically */
html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto; /* single vertical scrollbar */
  -webkit-overflow-scrolling: touch;
}

/* Smooth scrolling for specific sections */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: 'Abel', sans-serif;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  cursor: default;
}

/* DOT GRID LAYER */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  /* stronger dot grid for improved visibility */
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* GRAIN LAYER */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("Assets/noise.png");
  background-size: 300px;
  mix-blend-mode: overlay;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
}

html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

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


/* =========================
   GLOBAL CONTAINER
========================= */

.section-inner,
.container {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.section {
  padding: var(--space-section) 0;
}

/* =========================
   GRID FRAME
========================= */

.grid-frame {
  position: relative;
  border: none;
  box-shadow: none;
}

header.hero.grid-frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 0;
}

/* Disable frame borders/corners globally for a clean edge */
.grid-frame::before,
.grid-frame::after,
.grid-frame .corner,
.grid-frame .corner::before,
.grid-frame .corner::after {
  display: none !important;
  border: none !important;
  background: transparent !important;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 3rem 0;
}
/* ===================================
   GRID SECTION
=================================== */
.section,
.grid-frame,
.instructors-section,
.poster-hero {
  position: relative;
}

.section::before,
.grid-frame::before,
.instructors-section::before,
.poster-hero::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 0;
}

.section-courses::before,
.section-course-modules-2::before,
.section-courses-wrapper::before {
  z-index: 3;
}


.section::after,
.grid-frame::after,
.instructors-section::after,
.poster-hero::after {
  content: '';
  position: absolute;
  inset: 7px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-size:
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px;
  background-position:
    left 0 top 7px,
    left 7px top 0,
    right 0 top 7px,
    right 7px top 0,
    left 0 bottom 7px,
    left 7px bottom 0,
    right 0 bottom 7px,
    right 7px bottom 0;
}

.section-courses::after,
.section-course-modules-2::after {
  z-index: 4;
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
  display: none;
}

.corner::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: #ffffff;
  top: 6px;
  left: 0;
}

.corner::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 14px;
  background: #ffffff;
  top: 0;
  left: 6px;
}

.corner-tl { top: 8px; left: 8px; }
.corner-tr { top: 8px; right: 8px; }
.corner-bl { bottom: 8px; left: 8px; }
.corner-br { bottom: 8px; right: 8px; }



/* ===================================
   HERO POSTER SECTION
=================================== */
/* Animate existing glow images */
@media (max-width: 768px) {
  .figma-lines-svg {
    display: none;
  }
}
.glow-blue {
  width: 500px;
  height: 500px;
  top: -10%;
  right: 25%;
  animation: orbit-blue 9s linear infinite;
}

.glow-purple {
  width: 450px;
  height: 450px;
  top: 30%;
  right: 25%;
  animation: orbit-purple 12s linear infinite;
}

.glow-yellow {
  width: 400px;
  height: 400px;
  bottom: 50%;
  left: 25%;
  animation: orbit-yellow 7s linear infinite;
}

.glow-red {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: 25%;
  animation: orbit-red 15s linear infinite;
}

@keyframes orbit-blue {
  0%   { transform: translate(0px, -200px); }
  25%  { transform: translate(200px, 0px); }
  50%  { transform: translate(0px, 200px); }
  75%  { transform: translate(-200px, 0px); }
  100% { transform: translate(0px, -200px); }
}

@keyframes orbit-purple {
  0%   { transform: translate(150px, 0px); }
  25%  { transform: translate(0px, 150px); }
  50%  { transform: translate(-150px, 0px); }
  75%  { transform: translate(0px, -150px); }
  100% { transform: translate(150px, 0px); }
}

@keyframes orbit-yellow {
  0%   { transform: translate(-130px, -130px); }
  25%  { transform: translate(130px, -130px); }
  50%  { transform: translate(130px, 130px); }
  75%  { transform: translate(-130px, 130px); }
  100% { transform: translate(-130px, -130px); }
}

@keyframes orbit-red {
  0%   { transform: translate(80px, -250px); }
  25%  { transform: translate(250px, 80px); }
  50%  { transform: translate(-80px, 250px); }
  75%  { transform: translate(-250px, -80px); }
  100% { transform: translate(80px, -250px); }
}
.poster-hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  z-index: 2;
  margin-inline: auto;
  overflow: hidden;
}

@media (max-width: 600px) {
  .poster-hero {
    min-height: 100svh;
    justify-content: center;
    padding: 6vh 1rem;
  }
}

@media (max-width: 480px) {
  .poster-hero {
    align-items: center;
    justify-content: flex-end;
    padding-top: 10vh;
    padding-bottom: 6vh;
  }
}

header.hero {
  min-height: 100svh;   /* full mobile viewport */
  position: relative;
}




.hero-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

@media (max-width: 548px) {
  .hero-glow-layer {
    overflow: visible;   
    /*  */
  }
}


.glow {
  position: absolute;
  opacity: 0.35;
  filter: blur(100px);
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 600px) {
  .glow {
    width: 85vw;
    height: 85vw;
    filter: blur(160px);
    opacity: 0.85;
  }
}


/* Glow interaction on hero hover */
.poster-hero:hover .glow {
  opacity: 0.7;
}

.poster-hero:hover .glow-blue {
  transform: translate(10px, -10px);
}

.poster-hero:hover .glow-purple {
  transform: translate(-15px, 10px);
}

.poster-hero:hover .glow-yellow {
  transform: translate(5px, 5px);
}

.glow-blue {
  width: 500px;
  height: 500px;
  top: -10%;
  right: 25%;
}

.glow-purple {
  width: 450px;
  height: 450px;
  top: 30%;
  right: 25%;
}

.glow-yellow {
  width: 400px;
  height: 400px;
  bottom: 50%;
  left: 25%;
}

.glow-red {
  width: 400px;
  height: 400px;
  bottom:10%;
  left: 25%;
}

@media (max-width: 548px) {
  .glow-blue {
    top: -20%;
    right: -35%;
  }

  .glow-purple {
    top: 35%;
    right: -40%;
  }

  .glow-yellow {
    top: 20%;
    left: -40%;
  }

  .glow-red {
    bottom: -25%;
    left: -35%;
  }
}


.poster-logo {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  margin-bottom: 2rem;
  transition: transform var(--transition-base), filter var(--transition-base);
  cursor: pointer;
}

.poster-logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.poster-title {
  font-size: clamp(2.3rem, 5vw + 0.4rem, 4.5rem);
  letter-spacing: clamp(0.02em, 0.2vw, 0.06em);
  /* font-family: 'TT Firs Neue', sans-serif; */
  font-weight: 400;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  transition: letter-spacing var(--transition-base), transform var(--transition-base);
  cursor: default;
  font-family: 'Abel';
  max-width: min(94vw, 22ch);
  margin-inline: auto;
  white-space: nowrap;
}

.poster-title:hover {
  letter-spacing: 0.1em;
  transform: scale(1.02);
}

.poster-subtitle {
  /* font-family: 'TT Firs Neue', sans-serif; */
  margin-top: 0.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  opacity: 0.75;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
  transition: opacity var(--transition-base);
}

.poster-subtitle:hover {
  opacity: 1;
}

.poster-cta-button {
  margin-top: 1.5rem;
  padding: 0.85rem 2rem;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-family: 'Abel', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  outline: none;
}

.poster-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.poster-cta-button:active {
  transform: translateY(0px);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15), inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Enroll modal overlay */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

/* Enroll modal content box */
.modal-content {
  background: #ffffff;
  color: #111111;
  padding: 30px;
  border-radius: 12px;
width: min(520px, 100%);
max-height: 90vh;
overflow-y: auto;
text-align: left; /* forms look better left-aligned */
  position: relative;
  text-align: center;
}


/* Modal close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}



/* .poster-shape {
  position: absolute;
  width: clamp(60px, 8vw, 80px);
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  transition: transform var(--transition-base);
} */

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

.poster-caption {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: clamp(2rem, 6vh, 5rem);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  transition: opacity var(--transition-base), transform var(--transition-base);
  max-width: min(90vw, 26ch);
  margin-inline: auto;
}

.poster-caption:hover {
  opacity: 0.9;
  transform: translateY(-5px);
}

.poster-arrow {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(24px, 3vw, 32px);
  opacity: 0.85;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.poster-arrow-link {
  display: inline-block;
  line-height: 0;
}

.poster-arrow:hover {
  opacity: 1;
  animation-play-state: paused;
  transform: translateX(-50%) scale(1.2);
}

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

/* ===================================
   DESIGNPRENEURSHIP SECTION
=================================== */
.tt-font {
  font-family: 'TT Firs Neue', sans-serif;
  font-weight: 400;
}
.section-designpreneurship {
  padding: var(--space-section) var(--space-inner);
}

.section-shape {
  scale: 1.5;
  transform: translateX(58vw) translateY(15vh);
}

@media (max-width: 548px) {
  .section-shape {
  scale: 1.5;
  transform: translateX(54vw) translateY(15vh);
}
}


.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  /* font-family: 'Boldonse', sans-serif; /*added*/
  /* color: #A259FF; added */
  /* font-weight: 400; added */ 
  font-size: var(--fs-title);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
  transition: transform var(--transition-base);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  transition: transform var(--transition-slow);
}

.section-title:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
  font-size: var(--fs-body);
  opacity: 0.85;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.7;
  transition: opacity var(--transition-base);
  text-align: left;
}

.section-subtitle:hover {
  opacity: 1;
}

.icon-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0 auto;
}

.icon-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: start;
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
  padding: 1.5rem;
  border-radius: 16px;
  transition: transform var(--transition-base), background var(--transition-base);
  cursor: pointer;
}


.icon-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #f1db1c;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}


.icon-item:hover::before {
  transform: scaleY(1);
}

.icon-item h4 {
  color: #f1db1c;
}

.icon-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(10px);
}

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

.icon-item:nth-child(1) { animation-delay: 0.05s; }
.icon-item:nth-child(2) { animation-delay: 0.1s; }
.icon-item:nth-child(3) { animation-delay: 0.15s; }
.icon-item:nth-child(4) { animation-delay: 0.2s; }
.icon-item:nth-child(5) { animation-delay: 0.25s; }
.icon-item:nth-child(6) { animation-delay: 0.3s; }
.icon-item:nth-child(7) { animation-delay: 0.35s; }
.icon-item:nth-child(8) { animation-delay: 0.4s; }

.icon-item img {
  width: clamp(50px, 6vw, 56px);
  height: clamp(50px, 7vw, 56px);
  background: #f5e100;
  border-radius: 12px;
  padding: 14px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), rotate var(--transition-base);
}
.icon-item:hover img {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 0 0 1px rgba(245, 225, 0, 0.4),
              0 16px 48px rgba(245, 225, 0, 0.5);
}

.icon-item h4 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin-bottom: 0.4rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.icon-item p {
  font-size: var(--fs-body);
  opacity: 0.75;
  line-height: 1.6;
  max-width: 600px;
  transition: opacity 0.3s ease;
}

.icon-item:hover h4 {
  color: #f5e100;
}

.icon-item:hover p {
  opacity: 0.9;
}


/* ===================================
   FIGMA SUITE SECTION
=================================== */

.section-figma-suite {
  padding: var(--space-section) var(--space-inner);
  position: relative;
}

.figma-header {
  margin-bottom: 5rem;
}

.figma-title {
  font-family: 'Boldonse'; 
  font-weight: 400; 
  text-align: center;
  font-size: var(--fs-title);
  /* letter-spacing: 0.08em; */
  color: #ff6b6b;
  margin-bottom: 3rem;
  text-transform: uppercase;
  font-family: 'Boldonse', sans-serif;
}

@media (max-width: 600px) {
.figma-title {
  font-size: 5vh;
}
}

@media (max-width: 480px) {
.figma-title {
  font-size: 3vh;
}
}

.figma-subrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(1.2rem, 2vw, 1.8rem) 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.figma-subtext p {
  font-size: var(--fs-small);
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

.figma-subtext h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
}

.figma-logo {
  width: clamp(60px, 10vw, 80px);
  height: auto;
}

.figma-diagram {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: clamp(60px, 8vw, 100px) clamp(40px, 6vw, 80px);
  margin-top: 5rem;
  min-height: 700px;
}

@media (max-width:768px) {
  .figma-card {
    display: block;
    gap: 2rem;
  }
  .extra-figma-divs {
    display: none;
  }
}

.figma-card {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.figma-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
              rgba(255, 107, 107, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.figma-card:hover::before {
  opacity: 1;
}

.figma-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(30, 20, 20, 0.98);
}

.figma-card img {
  width: clamp(48px, 6vw, 60px);
  height: clamp(48px, 6vw, 60px);
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.figma-card:hover img {
  transform: scale(1.1) rotate(-5deg);
  filter: brightness(1.2);
}

.figma-card h4 {
  margin: 0 0 0.3rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.figma-card:hover h4 {
  color: #ff6b6b;
}

.figma-card p {
  margin: 0;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  opacity: 0.75;
  line-height: 1.4;
  transition: opacity var(--transition-fast);
}

.figma-card:hover p {
  opacity: 1;
}

.figma-shape {
  scale: 0.5;
  transform: translateX(-17vw) translateY(-31vh);
  z-index: 10;
}

.events-shape {
  right: 0;
  width: 90px;
  height: 150px;
  float: right;
  transform: translateY(120px);
}

@media (max-width:480px) {
  .events-shape {
    transform: translateY(40px);
  }
}

/* Figma Connection Lines - Exact Match to Design */
.figma-connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(255, 90, 90, 0.4),
    rgba(255, 90, 90, 0.9),
    rgba(255, 90, 90, 0.4)
  );
  z-index: 0;
  pointer-events: none;
  
}

.figma-connection.inner {
  background: linear-gradient(
    to right,
    rgba(255, 90, 90, 0.2),
    rgba(255, 90, 90, 0.7),
    rgba(255, 90, 90, 0.2)
  );
}
.connections-layer {
  position: absolute;
  inset: 0;               /* covers full .figma-diagram */
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  grid-column: 1 / -1;   /* spans all columns so grid ignores it */
}
/* Connection 1: Design → Buzz (horizontal right) */
.c-design-buzz {
  width: 8%;
  top: 1%;
  /* bottom: 10%; */
  left: 50%;
  
}
.figma-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.figma-lines-svg line {
  stroke-width: 0.006;
  stroke-linecap: round;
}
/* Connection 2: Design → Make (diagonal down-right) */
.c-design-make {
  width: 25%;
  top: 10%;
  left: 64%;
  transform: rotate(29deg);
  transform-origin: left center;
}

/* Connection 3: Design → Draw (diagonal down-left) */
.c-sites-design {
  width: 35%;
  top: 14%;
  left: 1%;
  transform: rotate(-80deg) translateY(150px) scale(0.8);
  transform-origin: left center;
}

/* Connection 4: Buzz → Sites (diagonal down-right) */
.c-sites-slides {
  width: 26%;
  top: 44%;
  left:90%;
  transform: rotate(100deg);
  transform-origin: left center;
}

/* Connection 5: Make → Jam (horizontal left) */
.c-make-jam {
  width: 20%;
  top: 54%;
  left: 37%;
}

/* Connection 6: Draw → Dev Mode (diagonal down-right) */
.c-draw-dev {
  width: 23%;
  top: 71%;
  left: 15%;
  transform: rotate(30deg);
  transform-origin: left center;
}

/* Connection 7: Jam → Slides (diagonal down-right) */
.c-dev-slides {
  width: 7%;
  top:92%;
  left: 64%;
  transform-origin: left center;
}

.design-make {
  width: 16%;
  top:22%;
  left: 25%;
  transform: rotate(45deg);
}

.buzz-make {
  width: 9%;
  top:22%;
  left: 45%;
  transform: rotate(90deg);
}

.draw-make {
  width: 26%;
  top:42%;
  left: 24%;
  transform: rotate(-45deg);
}

.jam-make {
  width: 11%;
  top: 51%;
  left: 44%;
  transform: rotate(85deg);
}

.sites-make {
  width: 10%;
  top: 37%;
  left: 62%;
}

.dev-jam {
  width: 12%;
  top: 80%;
  left: 44%;
  transform: rotate(95deg);
}

.slides-jam {
  width: 17%;
  top: 80%;
  left: 59%;
  transform: rotate(45deg);
}

.slides-sites {
  width: 43%;
  top: 61%;
  left: 46%;
  transform: rotate(60deg);
}

/* ===================================
   EVENTS & WORKSHOP SECTION
=================================== */

.section-events {
  padding: var(--space-section) var(--space-inner);
  position: relative;
  overflow: hidden;
}


.section-events .figma-shape {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  right: clamp(-3rem, -2vw, -1rem);
  scale: 0.5;
  transform: none;
  z-index: 0;
  pointer-events: none;
}


.events-header {
  margin-bottom: 4rem;
}

.events-title {
   font-family: 'Boldonse', sans-serif; 
  font-weight: 400; 
  text-align: center;
  font-size: var(--fs-title);
  font-weight: 600;
  /* letter-spacing: 0.05em; */
  color: #d7ff5a;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  /* font-family: 'Boldonse', sans-serif; */
}

@media (max-width: 600px) {
.events-title {
  font-size: 5vh;
}
}

@media (max-width: 480px) {
.events-title {
  font-size: 3vh;
}
}


.events-intro {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2rem 0;
}

.events-eyebrow {
  margin: 0 0 0.6rem;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
}

.events-desc {
  margin: 0;
  font-size: var(--fs-body);
  opacity: 0.7;
  max-width: 600px;
  line-height: 1.6;
}

/* Full-width wrapper for events grid - breaks out of section-inner */
.events-grid-wrapper {
  width: 100%;
  padding-inline: var(--space-inner);
  margin-top: 4rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  position: relative;
  width: 100%;
  align-items: stretch;
}

.events-grid > .events-yellow,
.events-grid > .events-red,
.events-grid > .events-purple {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  z-index: 1;
}

.event-card {
  position: relative;
  z-index: 2;
  min-height: 280px;
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
  cursor: pointer;
}

.event-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.event-card:hover::after {
  opacity: 1;
  animation: borderGlow 2s linear infinite;
}

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

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.event-card h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-base);
  text-transform: uppercase;
  color: #fff;
}

.event-card:hover h3 {
  transform: translateX(5px);
}

.event-card h3 span {
  color: var(--accent);
  transition: text-shadow var(--transition-base);
}

.event-card:hover h3 span {
  text-shadow: 0 0 20px currentColor;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: #ffffff;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-base);
}

.event-card:hover .event-badge {
  transform: translateX(5px);
}

.event-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #66ff9a;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 255, 154, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(102, 255, 154, 0);
  }
}

.event-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(0.7rem, 1vw, 0.75rem);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid #def767;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
  color: #fff;
  text-transform: uppercase;
}

.event-card:hover .event-tag {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.event-bg {
  position: absolute;
  bottom: -20px;
  opacity: 0.85;
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

.event-bg.left {
  left: -40px;
  width: 240px;
}

.event-bg.center {
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
}
.event-card.green h3 span { color: #d7ff5a; }
.event-card.red h3 span { color: #ff6b6b; }
.event-card.purple h3 span { color: #b97cff; }

@media (min-width: 480px) {
  .event-card h3 {
  font-size: 3rem;
  
}
}

.events-yellow {
  position: relative;
  overflow: hidden;
  height: 100%;
  filter: blur(2px);
}

.events-yellow .circle {
   border-radius: 50%;
   background-color: #def767;
   position: absolute;
}

.circle.circle-1 {
  height: 10rem;
  width: 10rem;
  bottom: -15%;         
  left: 50%;          
  transform: translateX(-50%); 
}

.circle.circle-2 {
  height: 35rem;
  width: 35rem;
  top: 12%;         
  left: -25%;       
  opacity: 0.3;  
  filter: blur(5px);
}

.circle.circle-3 {
  height: 12rem;
  width: 12rem;
  top: 32%;         
  left: -10%;       
  opacity: 0.3;
  filter: blur(2.5px);
}

.circle.circle-4 {
  height: 30rem;
  width: 30rem;
  opacity: 0.3;
  filter: blur(5px);
  right: -20%;
}

.circle.circle-5 {
  height: 12rem;
  width: 12rem;
  top: 20%;         
  right: -20%;  
  opacity: 0.3;
  filter: blur(2.5px);
}

.events-red {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.events-red .red {
   border-radius: 50%;
   background-color: #ff7262;
   position: absolute;
}

.red.circle-1 {
  height: 10rem;
  width: 10rem;
  bottom: -15%;       
  left: 50%;          
  transform: translateX(-50%); 
}

.red.circle-2 {
  display: inline-block;
  height: 9rem;
  width: 18rem;     
  opacity: 0.5;   
  border-radius: 18rem 18rem 0 0;
  left: 27%;
  bottom: 10%;
}

.red.circle-3 {
  display: inline-block;
  height: 13rem;
  width: 26rem;     
  opacity: 0.5; 
  border-radius: 26rem 26rem 0 0;
  left: 18%;
  bottom: 18%;
}

.red.circle-4 {
  display: inline-block;
  height: 15rem;
  width: 30rem;     
  opacity: 0.5;   
  border-radius: 30rem 30rem 0 0;
  left: 13%;
  bottom: 23%;
}


.events-purple {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.events-purple .purple {
   border-radius: 50%;
   background-color: #a259ff;
   position: absolute;
}

.purple.circle-1 {
  height: 10rem;
  width: 10rem;
  bottom: -15%;        
  left: 50%;          
  transform: translateX(-50%); 
}

.purple.circle-2 {
  display: inline-block;
  height: 15rem;
  width: 15rem;     
  opacity: 0.5;   
  border-radius: 50%;
  left: 31%;
  bottom: -25%;
  filter: blur(4px);
}


.purple.circle-3 {
  display: inline-block;
  height: 25rem;
  width: 25rem;     
  opacity: 0.5;   
  border-radius: 50%;
  left: 19%;
  top: 30%;
  filter: blur(3px);
}


.red-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: -8%;
  left: 15%;
  opacity: 1;
  scale: 0.9;
}

.purple-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: -20%;
  left: 5%;
  opacity: 0.9;
  scale: 0.9;
} 

.yellow-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 10%;
  left: 5%;
  opacity: 1;
  scale: 1.4;
}
/* ===================================
   WELCOME KIT SECTION
=================================== */

.welcome-kit {
  position: relative;
  padding: var(--space-section) var(--space-inner);
}

.welcome-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  position: relative;
}

.welcome-title {
   font-family: 'Boldonse', sans-serif; 
  font-weight: 400; 
  text-align: center;
  font-size: var(--fs-title);
  /* letter-spacing: 0.06em; */
  color: #34f5a4;
  margin-bottom: 2rem;
  text-transform: uppercase;
  /* font-family: 'Boldonse', sans-serif; */
}

@media (max-width: 600px) {
.welcome-title {
  font-size: 5vh;
}
}

@media (max-width: 480px) {
.welcome-title {
  font-size: 3vh;
}
}

.welcome-intro {
  max-width: 1000px;
  margin: 2rem auto 0;
}

.welcome-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
}

.welcome-desc {
  margin-top: 0.8rem;
  opacity: 0.75;
  line-height: 1.7;
  font-size: var(--fs-body);
}

.welcome-blob,
.welcome-curve {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}

.welcome-blob {
  right: 5%;
  top: 35%;
  width: clamp(100px, 12vw, 160px);
  transform: scale(0.7);
}

@media (max-width: 480px) {
  .welcome-desc {
    padding-right: 100px;
  }

  .welcome-blob {
    transform: scale(1);
  }
}

.welcome-curve {
  right: 10%;
  top: 60%;
  width: clamp(90px, 10vw, 140px);
}

.welcome-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
  grid-template-rows: auto auto;         /* 2 rows */                             /* spacing between items */
}


.welcome-card {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 2.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
   opacity: 90;
}

.welcome-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(52, 245, 164, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.welcome-card:hover::before {
  opacity: 1;
}

.welcome-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(52, 245, 164, 0.2);
  border-color: rgba(52, 245, 164, 0.3);
}

.welcome-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  transition: transform var(--transition-base);
}

.welcome-card:hover h3 {
  transform: translateX(5px);
}

.welcome-card h3 span {
  color: #34f5a4;
  transition: text-shadow var(--transition-base);
}

.welcome-card:hover h3 span {
  text-shadow: 0 0 20px #34f5a4;
}

.pill {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  border: 1px solid #34f5a4;
  color: #34f5a4;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.welcome-card:hover .pill {
  background: #34f5a4;
  color: #000;
  transform: scale(1.05);
}

.welcome-avatars {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}


.avatar-card {
  background: #8acd1c;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;

  width: clamp(120px, 30vw, 160px);  /* responsive width */
  flex: 0 0 auto;                    /* prevents full width stretch */

  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  position: relative;
}

.avatar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.avatar-card:hover::after {
  opacity: 1;
}

.avatar-card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 20px 40px rgba(138, 205, 28, 0.4);
}

.avatar-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  transition: transform var(--transition-base);
}

.avatar-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.avatar-card:hover img {
  transform: scale(1.05);
}

.avatar-card span {
  display: block;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: #000;
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.avatar-card:hover span {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .welcome-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

   .welcome-grid > * {
    min-height: 180px;
  }

  .welcome-card {
    min-height: 180px;
    padding: 1.4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .welcome-card h3 {
    font-size: 1.3rem;
    line-height: 1.15;
  }

  .pill {
    margin-top: 0.85rem;
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }


  .welcome-avatars {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    width: 100%;
    height: 100%;
    min-width: 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0;
  }


  .welcome-avatars img,
  .welcome-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 22px;
  }

  .welcome-logo {
    min-height: 180px;
    overflow: hidden;
    border-radius: 22px;
  }


  .avatar-card {
    flex: 1 1 0;
    min-width: 48%;
    width: auto;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    padding: 0.4rem 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .avatar-card img {
    width: 100%;
    max-width: none;
    min-width: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 0.2rem;
    margin-top: 0;
  }

  .avatar-card span {
    font-size: 1rem;
    margin-top: 0;
    padding-bottom: 0;
  }

  /* .welcome-logo img {
    max-width: 60%;
  } */
}

.welcome-logo {

    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    width: 100%;
    height: 100%;
    min-width: 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0;
  
}

/* .welcome-logo::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
} */

/* @keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
} */

/* .welcome-logo:hover::before {
  opacity: 1;
} */

/* .welcome-logo:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.1);
} */

/* .welcome-logo img {
  max-width: 180px;
  margin: 0 auto;
  transition: transform var(--transition-base), filter var(--transition-base);
  position: relative;
  z-index: 1;
} */

/* .welcome-logo:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
} */

/* .welcome-logo p {
  margin-top: 1rem;
  opacity: 0.7;
  font-size: var(--fs-small);
  transition: opacity var(--transition-base);
  position: relative;
  z-index: 1;
} */

/* .welcome-logo:hover p {
  opacity: 1;
} */

.welcome-photo {
  border-radius: 22px;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  justify-self: center;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 1rem;
}


.welcome-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.welcome-photo img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: filter var(--transition-slow);
}

.welcome-photo:hover img {
  filter: grayscale(0%);
}


/* ===== Desktop Layout Control ===== */
@media (min-width: 1024px) {

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

  /* Make photo span 2 columns */
  .welcome-photo {
    grid-column: span 2;
    align-self: stretch;
  }

  .welcome-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


@media (max-width: 768px) {

  .welcome-photo {
    grid-column: span 1;
  }

}

/*  */
/*  */
/*  */
/*  */




/* ===================================
   COURSE MODULES SECTION
=================================== */

.section-courses {
  position: relative;
  padding: var(--space-section) var(--space-inner);
  overflow: hidden;
}

.section.section-courses {
  padding-bottom: 0;
}

.section.section-course-modules-2 {
  padding-top: 0;
}
.courses-inner {
  position: relative;
}

.course-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}

.shape-1 {
  top: -40px;
  left: -30px;
  width: clamp(100px, 12vw, 140px);
}

.shape-2 {
  top: 120px;
  right: -40px;
  width: clamp(120px, 14vw, 160px);
}

.shape-3 {
  bottom: 10px;
  right: -90px;
  width: clamp(100px, 12vw, 140px);
  transform: translateY(10px);
}

.shape-4 {
  top: 0px;
  right: 10px;
  width: clamp(100px, 12vw, 140px);
}


@media (max-width:480px){
  .shape-4{right:-59px;
  }
}
.section-courses-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
  position: relative;
}

.section-courses-wrapper::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.section-courses-wrapper::after {
  content: '';
  position: absolute;
  inset: 7px;
  pointer-events: none;
  background:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-size:
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px,
    14px 1.5px,
    1.5px 14px;
  background-position:
    left 0 top 7px,
    left 7px top 0,
    right 0 top 7px,
    right 7px top 0,
    left 0 bottom 7px,
    left 7px bottom 0,
    right 0 bottom 7px,
    right 7px bottom 0;
}

.section-courses-wrapper .section-courses::before,
.section-courses-wrapper .section-courses::after,
.section-courses-wrapper .section-course-modules-2::before,
.section-courses-wrapper .section-course-modules-2::after {
  display: none;
}

.section-courses-wrapper .corner {
  display: none;
}


.courses-header {
  margin-bottom: 3rem;
}

.courses-title {
   font-family: 'Boldonse', sans-serif; 
  
  font-weight: 400;  
  text-align: center;
  font-size: var(--fs-title);
  color: #2bbcff;
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  font-family: 'Boldonse', sans-serif;
}


@media (max-width: 600px) {
.courses-title {
  font-size: 5vh;
}
}

@media (max-width: 480px) {
.courses-title {
  font-size: 3vh;
}
}


@media (max-width:480px) {
  .course-shape.shape-2 {
    transform: translateY(-100px) scale(0.6);
  }
}

.courses-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.courses-meta {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 2rem;
}

.meta-big {
  display: block;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.meta-small {
  display: block;
  font-size: var(--fs-body);
  opacity: 0.75;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.courses-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  opacity: 0.85;
  line-height: 1.7;
}

.modules-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.module-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: start;
  padding: 1.5rem;
  border-radius: 16px;
  transition: background var(--transition-base), transform var(--transition-base);
  cursor: pointer;
  position: relative;
}

.module-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #2bbcff;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.module-item:hover::before {
  transform: scaleY(1);
}

.module-item:hover {
  background: rgba(43, 188, 255, 0.05);
  transform: translateX(10px);
}

.module-number {
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  background: #2bbcff;
  color: #050505;
  border-radius: 14px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.module-number::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.module-item:hover .module-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(43, 188, 255, 0.4);
}

.module-item:hover .module-number::before {
  opacity: 1;
}

.module-item h3,
.module-content h4 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: #2bbcff;
  font-weight: 500;
  line-height: 1.3;
  transition: transform var(--transition-base), text-shadow var(--transition-base);
}

.module-item:hover h3,
.module-item:hover .module-content h4 {
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(43, 188, 255, 0.3);
}

.module-item p,
.module-content p {
  margin: 0;
  font-size: var(--fs-body);
  opacity: 0.75;
  max-width: 700px;
  line-height: 1.6;
  transition: opacity var(--transition-base);
}

.module-item:hover p,
.module-item:hover .module-content p {
  opacity: 0.95;
}

/* ===================================
   COURSE MODULES 8-12 SECTION
=================================== */

.section-course-modules-2 {
  position: relative;
  padding: var(--space-section) var(--space-inner);
}

.decor-shape {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
  scale: 0.7;
  margin-bottom: 3.5rem;
  /* margin-top: 5.5 rem; */
  justify-self: center;
}

@media (max-width:480px) {
  .decor-shape {
    scale: 0.8;
  }
}

.decor-shape.s1 {
  bottom: 0;
  left: 0;
  width: clamp(120px, 15vw, 180px);
}

.decor-shape.s2 {
  bottom: 0;
  left: 20%;
  width: clamp(140px, 17vw, 200px);
}

.decor-shape.s3 {
  bottom: 0;
  right: 20%;
  width: clamp(120px, 15vw, 180px);
}

.decor-shape.s4 {
  bottom: 0;
  right: 0;
  width: clamp(140px, 17vw, 200px);
}


/* ===================================
   INSTRUCTORS SECTION
=================================== */


.instructors-section {
  margin-top: -29px;
  padding: var(--space-section) var(--space-inner);
  position: relative;
}

.instructors-section h2 {
  display: block;
  width: 100%;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 4rem;
  color: #ff7634;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Boldonse', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;

}

@media (max-width: 600px) {
.instructors-section h2 {
  font-size: 5vh;
}
}

@media (max-width: 480px) {
.instructors-section h2 {
  font-size: 3vh;
}
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  transition: background var(--transition-base);
}

.instructor-grid:hover {
  background: rgba(255, 122, 47, 0.03);
}

.instructor-grid.reverse {
  direction: rtl;
}

.instructor-grid.reverse > * {
  direction: ltr;
}

.instructor-info {
  padding: 2rem;
  transition: transform var(--transition-base);
}

/* .instructor-grid:hover .instructor-info {
  transform: translateX(-5px);
} */

.reverse .instructor-info {
  border-right: none;
}

/* .reverse:hover .instructor-info {
  transform: translateX(5px);
} */

.name {
  color: #ff7a2f;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: text-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
  text-transform: uppercase;
}

/* .name:hover {
  text-shadow: 0 0 20px rgba(255, 122, 47, 0.5);
  transform: translateX(5px);
} */

.designation {
  font-size: clamp(1rem, 1.52vw, 1.5rem);
  opacity: 0.7;
  margin-bottom: 1.8rem;
  line-height: 1.5;
  transition: opacity var(--transition-base);
  text-transform: uppercase;
}

.instructor-info:hover .designation {
  opacity: 1;
}

.experience {
  display: inline-block;
  padding: 0.5rem 1.3rem;
  border: 1px solid #ff7a2f;
  border-radius: var(--radius-pill);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: #ffffff;
  letter-spacing: 0.1em;
  transition: all var(--transition-base);
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.experience:hover {
  background: #ff7a2f;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 47, 0.4);
}

.instructor-image {
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  position: relative;
}

.instructor-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 122, 47, 0.2));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.instructor-image:hover::before {
  opacity: 1;
}

.instructor-image:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(255, 122, 47, 0.3);
}

.instructor-image img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.instructor-image:hover img {
  transform: scale(1.05);
}

.grayscale img {
  filter: grayscale(100%);
  transition: filter var(--transition-slow);
}

.grayscale:hover img {
  filter: grayscale(0%);
}

.instructor-grid.reverse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse; /* 👈 This flips them */
}


.guest-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.guest-text h3 {
  color: #ff7a2f;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.guest-text p {
  font-size: var(--fs-small);
  opacity: 0.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guest-shapes {
  position: absolute;
  bottom: 80px;
  right: 80px;

  width: 300px;     /* ADD */
  height: 300px; 

  pointer-events: none;
  display: none;
}

.guest-shapes img {
   position: absolute;
  width: 240px;
}

.guest-shapes img:first-child {
 bottom: 0;
  right: 0;
}

.guest-shapes img:last-child {
  bottom: 40px;
  right: 120px;
}

@media (max-width:480px) {
  .guest-shapes {
    transform: scale(0.7);
  }
}

/* Replace blue raster shapes with inline orange SVG overlays for consistent colouring */
.guest-shapes img {
  display: none !important;
}
.guest-shapes::before,
.guest-shapes::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  
}
.guest-shapes::before {
  right: 0;
  bottom: 0;
  width: 240px;
  height: 240px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M20 60 C40 20 160 20 180 60 C200 100 160 160 120 140 C80 120 60 140 20 120' stroke='%23ff7a2f' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.guest-shapes::after {
  right: 120px;
  bottom: 40px;
  width: 160px;
  height: 160px;
  transform: translateZ(0) rotate(10deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M30 40 C60 10 140 10 170 40 C200 70 170 140 120 120 C80 100 50 120 30 100' stroke='%23ff7a2f' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

@media (max-width:480px) {
  .guest-shapes::before,
  .guest-shapes::after { transform: scale(0.9); }
}

/* ===================================
   STATS & INVITE SECTION
=================================== */

.ux-stats-section {
  padding: var(--space-section) var(--space-inner);
  text-align: center;
}

.stats-heading {
  color: #DEF767;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 1050px;
  margin: 0 auto 5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
  padding: clamp(2rem, 4vw, 3.5rem) 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.02);
}

.stat-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.stat-box p {
  margin: 0.5rem 0 0;
  font-size: clamp(1.2rem, 1.5vw, 1.3rem);
  color: #aaa;
}

.purple { color: #9b5cff; }
.orange { color: #ff7a33; }
.green { color: #2cff9b; }
.blue { color: #3ec7ff; }

.invite-block {
  background: #DEF767;
  color: #111;
  padding: clamp(2rem, 1vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin:auto;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 480px) {

  .invite-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-height: 350px;
  }

  .blob-email {
    width: 100%;            
    max-width: 160px;       
    aspect-ratio: 1 / 1;    
    justify-self: center;   
    transform: translateY(-20px); 
  }

}

.invite-left h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0 0 0.05rem;
  font-weight: 500;
  text-align: left;
}

.invite-left p {
  margin: 0 0 1.5rem;
  line-height: 1.1;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  text-align: left;
}

.price-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.old-price {
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 600;
  text-decoration: line-through red;
}

.price-note {
  font-size: var(--fs-body);
}

.blob-email {
  position: relative;
  width: 220px;
  height: 220px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Blob image */
.blob-shape {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

/* Text centered on blob */
.blob-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #DEF767;   /* neon default */
  font-size: 1rem;
  line-height: 1.4;

  transition: color 0.3s ease;
  pointer-events: none;
}

/* Hover state */
.blob-email:hover .blob-shape {
  content: url("Assets/curious-section/Rectangle106.png");
}


/* Default state */
.blob-shape {
  transition: opacity 0.3s ease;
}

.blob-text {
  transition: color 0.3s ease;
}

/* Hover ONLY on desktop devices */
@media (hover: hover) and (pointer: fine) {

  .blob-email:hover .blob-shape {
    content: url("Assets/curious-section/Rectangle106.png");
  }

  .blob-email:hover .blob-text {
    color: #111;
  }

  .blob-email:hover {
    transform: scale(1.05);
  }

}

.blob-email:hover .blob-text {
  color: #111;
}

.blob-email:hover {
  transform: scale(1.05);
}



.curious-section {
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.curious-title {
  color: #DEF767;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  margin-bottom: 0.5rem;
}

.curious-section p {
  margin: 0.5rem 0;
  font-size: var(--fs-body);
}

.whatsapp-number {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin-top: 0.5rem;
}

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

/* --- MOBILE SMALL (320px - 480px) --- */
@media (max-width: 480px) {
  .section-inner,
  .container {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding-inline: 0.75rem;
  }

  .section-events {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .section-events .section-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .events-grid-wrapper {
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
    margin-top: 3.5rem;
  }

  .section-events .figma-shape {
    top: 0.5rem;
    right: -4.5rem;
    scale: 0.38;
    z-index: 0;
  }

  .events-header,
  .section-events .section-inner {
    position: relative;
    z-index: 1;
  }

  .poster-hero {
    min-height: 100svh;
    padding: 6vh 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.7rem;
  }

  .poster-title {
    max-width: 94vw;
    font-size: clamp(1.8rem, 8vw, 3.2rem);
    line-height: 1.05;
  }

  .poster-subtitle {
    margin-top: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .poster-cta-button {
    margin-top: 0;
  }



  .poster-caption {
    width: 100%;
    max-width: 520px;
    padding-inline: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    z-index: 3;
  }

  .poster-arrow {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    /* width: 26px; */
    opacity: 0.9;
    margin-top: 0.95rem;
    margin-inline: auto;
    left: 6px;
  }



  .figma-diagram {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .figma-connection {
    display: none;
  }

  .section-designpreneurship {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6.2vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: 0.06em;
  }

  .events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin-top: 0;
  }

  .events-grid > * {
    min-height: 0;
    width: 100%;
  }

  .event-card {
    position: relative;
    z-index: 2;
    min-height: 200px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .events-grid > .events-yellow,
  .events-grid > .events-red,
  .events-grid > .events-purple {
    min-height: 200px;
    border-radius: 16px;
  }

  .event-card h3 {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
  }

  .event-badge {
    font-size: 0.6rem;
    margin-bottom: 6px;
  }

  .event-tag {
    font-size: 0.55rem;
    padding: 0.35rem 0.65rem;
    margin-top: 0.5rem;
  }

  .event-bg {
    width: 120%;
    height: 120%;
    left: -10%;
    bottom: -10%;
    object-fit: cover;
  }

  .event-bg.left {
    left: -20px;
  }

  .event-bg.center {
    width: 160px;
  }

  .instructor-grid,
  .instructor-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .instructor-info,
  .reverse .instructor-info {
    border: none;
    padding: 1.5rem 0;
    text-align: center;
  }

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

  .invite-block {
    flex-direction: column;
    text-align: center;
  }

  .curious-section {
    text-align: center;
  }

  .events-yellow,
  .events-red,
  .events-purple {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .events-yellow .circle,
  .events-red .red,
  .events-purple .purple {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .circle.circle-1 {
    height: 4rem;
    width: 4rem;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .circle.circle-2 {
    height: 13rem;
    width: 13rem;
    top: 50%;
    left: 20%;
    opacity: 0.3;
    filter: blur(5px);
  }

  .circle.circle-3 {
    height: 4rem;
    width: 4rem;
    top: 60%;
    left: 10%;
    opacity: 0.3;
    filter: blur(2.5px);
  }

  .circle.circle-4 {
    height: 18rem;
    width: 18rem;
    opacity: 0.3;
    top: 20%;
    left: 125%;
    filter: blur(5px);
  }

  .circle.circle-5 {
    height: 5rem;
    width: 5rem;
    top: 30%;
    left: 98%;
    opacity: 0.3;
    filter: blur(2.5px);
  }

  .events-red .red {
    left: 50%;
    transform: translateX(-50%);
  }

  .red.circle-1 {
    width: 4rem;
    height: 4rem;
    bottom: -1rem;
  }

  .red.circle-2 {
    width: 8rem;
    height: 4rem;
    bottom: 1.5rem;
  }

  .red.circle-3 {
    width: 10rem;
    height: 6rem;
    bottom: 2.5rem;
  }

  .red.circle-4 {
    width: 12rem;
    height: 8rem;
    bottom: 3.5rem;
  }

  .events-purple .purple {
    left: 50%;
    transform: translateX(-50%);
  }

  .purple.circle-1 {
    width: 4rem;
    height: 4rem;
    bottom: -1rem;
  }

  .purple.circle-2 {
    width: 8rem;
    height: 8rem;
    bottom: -2.8rem;
    opacity: 0.5;
    filter: blur(2px);
  }

  .purple.circle-3 {
    width: 12rem;
    height: 12rem;
    bottom: -10rem;
    opacity: 0.4;
  }

  

  .red-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 40%;
  left: 2%;
  opacity: 1;
  scale: 0.9;
}

.purple-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 40%;
  left: 1%;
  opacity: 0.9;
  scale: 1.2;
} 

.yellow-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 60%;
  left: 5%;
  opacity: 1;
  scale: 1.4;
}

  :root {
    --fs-hero: 4.8rem;
    --fs-title: 3.4rem;
    --fs-body: 1.15rem;
  }
}



/* --- MOBILE LARGE (481px - 767px) --- */
@media (min-width: 481px) and (max-width: 767px) {
  /* Full-width layout: utilise full viewport */
  .section-inner,
  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.5rem;
  }
  /* Header stays in section-inner with normal padding */
  .section-events .section-inner {
    padding-inline: 0;
  }
  .section-events {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  /* Events grid wrapper - full width with equal padding */
  .events-grid-wrapper {
    width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }

    .section-events .figma-shape {
    top: 0.75rem;
    right: -4rem;
    scale: 0.42;
    z-index: 0;
  }

  .events-header,
  .section-events .section-inner {
    position: relative;
    z-index: 1;
  }

  .figma-diagram {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .figma-connection {
    display: none;
  }

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}



  .event-card {
    padding: 1.5rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
     min-height: 240px;
  
  }

  .events-grid > .events-yellow,
  .events-grid > .events-red,
  .events-grid > .events-purple {
    min-height: 240px;
    border-radius: 14px;
  }

  .event-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.2;
    margin: 1rem 0;
  }

  .event-tag {
    font-size: 0.55rem;
    padding: 0.3rem 0.6rem;
  }

  .event-bg {
    width: 140px;
    opacity: 0.85;
    filter: blur(1px);
    transform: scale(0.75);
    transform-origin: center;
  }

  .event-bg.left {
    left: -20px;
  }

  .event-bg.center {
    width: 160px;
  }

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

  .welcome-blob,
  .welcome-curve {
    opacity: 0.5;
  }
  .events-yellow,
  .events-red,
  .events-purple {
   
    position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  }



.event-card,
.events-yellow,
.events-red,
.events-purple {
  position: relative;
  overflow: hidden;
}

.events-yellow .circle {
  left: 50%;
  transform: translateX(-50%);
}

.circle.circle-1 {
  width: 6rem;
  height: 6rem;
  bottom: -1rem;
}

.circle.circle-2 {
  width: 18rem;
  height: 18rem;
  top: 20%;
  left: -10%;
  opacity: 0.3;
  filter: blur(4px);
}

.circle.circle-3 {
  width: 6rem;
  height: 6rem;
  top: 55%;
  left: 5%;
}

.events-red .red {
  left: 50%;
  transform: translateX(-50%);
}

.red.circle-1 {
  width: 6rem;
  height: 6rem;
  bottom: -1rem;
}

.red.circle-2 {
  width: 12rem;
  height: 6rem;
  bottom: 2rem;
}

.red.circle-3 {
  width: 16rem;
  height: 8rem;
  bottom: 3rem;
}

.red.circle-4 {
  width: 20rem;
  height: 10rem;
  bottom: 4rem;
}
.events-purple .purple {
  left: 50%;
  transform: translateX(-50%);
}

.purple.circle-1 {
  width: 6rem;
  height: 6rem;
  bottom: -1rem;
}

.purple.circle-2 {
  width: 10rem;
  height: 10rem;
  bottom: -3rem;
  opacity: 0.5;
}

.purple.circle-3 {
  width: 16rem;
  height: 16rem;
  bottom: -8rem;
  opacity: 0.4;
}

.red-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 40%;
  left: 2%;
  opacity: 1;
  scale: 0.9;
}

.purple-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 40%;
  left: 1%;
  opacity: 0.9;
  scale: 1.2;
} 

.yellow-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 60%;
  left: 5%;
  opacity: 1;
  scale: 1.4;
}

}

/* --- TABLET (768px - 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .figma-diagram {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .figma-connection {
    display: none;
  }

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

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

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

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .events-yellow,
  .events-red,
  .events-purple {
    position: relative;
    inset: auto;
    pointer-events: none;
    z-index: 0;
  }

  .red-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 45%;
  left: 2%;
  opacity: 1;
  scale: 0.9;
}

.purple-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 45%;
  left: 1%;
  opacity: 0.9;
  scale: 1.2;
} 

.yellow-shape {
  position: absolute;
  /* width: clamp(60px, 8vw, 80px); */
  top: 60%;
  left: 5%;
  opacity: 1;
  scale: 1.4;
}

}

/* --- LAPTOP (1024px - 1439px) --- */
@media (min-width: 1024px) and (max-width: 1439px) {
  .section-inner,
  .container {
    width: min(1200px, 96%);
  }

  .figma-diagram {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Fine-tune connection lines for laptop screens */
  .c-design-buzz {
    width: 23%;
    top: 10%;
    left: 31%;
  }
  
  .c-design-make {
    width: 30%;
    top: 15%;
    left: 31%;
  }
  
  .c-sites-design {
    width: 30%;
    top: 15%;
    left: 4%;
  }
  
  .c-make-draw {
    width: 25%;
    top: 36%;
    left: 59%;
  }
  
  .c-make-jam {
    width: 19%;
    top: 53%;
    left: 38%;
  }
  
  .c-draw-dev {
    width: 27%;
    top: 60%;
    left: 8%;
  }
  
  .c-jam-slides {
    width: 30%;
    top: 63%;
    left: 48%;
  }
}

/* --- DESKTOP (1440px - 1919px) --- */
@media (min-width: 1440px) and (max-width: 1919px) {
  .section-inner,
  .container {
    width: min(1400px, 94%);
  }

  :root {
    --fs-hero: 4.8rem;
    --fs-title: 3.4rem;
    --fs-body: 1.15rem;
  }

}

/* --- LARGE DESKTOP & 4K TV (1920px+) --- */
@media (min-width: 1920px) {
  .section-inner,
  .container,
  .welcome-header,
  .welcome-grid,
  .welcome-photo {
    max-width: 1600px;
  }

  :root {
    --fs-hero: 5.5rem;
    --fs-title: 4rem;
    --fs-body: 1.3rem;
  }

  body {
    font-size: 1.25rem;
  }

  .figma-diagram {
    gap: 120px 100px;
  }
  
  /* Larger connection lines for 4K */
  .c-design-buzz {
    width: 24%;
    top: 11%;
    left: 30%;
  }
  
  .c-design-make {
    width: 33%;
    top: 16%;
    left: 30%;
  }
  
  .c-sites-design {
    width: 33%;
    top: 16%;
    left: 2.5%;
  }
  
  .c-make-draw {
    width: 27%;
    top: 37%;
    left: 58%;
  }
  
  .c-make-jam {
    width: 21%;
    top: 54%;
    left: 36.5%;
  }
  
  .c-draw-dev {
    width: 29%;
    top: 61%;
    left: 6.5%;
  }
  
  .c-jam-slides {
    width: 33%;
    top: 64%;
    left: 46.5%;
  }

  .glow {
    filter: blur(140px);
  }

  .glow-blue {
    width: 800px;
    height: 800px;
  }

  .glow-purple {
    width: 750px;
    height: 750px;
  }

  .glow-yellow {
    width: 700px;
    height: 700px;
  }
}

/* --- ULTRA WIDE & 8K (2560px+) --- */
@media (min-width: 2560px) {
  .section-inner,
  .container {
    max-width: 2000px;
  }

  :root {
    --fs-hero: 6.5rem;
    --fs-title: 5rem;
    --fs-body: 1.5rem;
  }
}

/* ===================================================
   UTILITY FIXES
=================================================== */

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

/* Print styles */
@media print {
  .poster-arrow,
  .glow,
  .event-bg,
  .welcome-blob,
  .welcome-curve,
  .course-shape,
  .guest-shapes {
    display: none;
  }
}

/* ===================================
   ADDITIONAL INTERACTIVE ENHANCEMENTS
=================================== */

/* Enhanced stat boxes with animated underlines */

.stat-box {
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) { 
  .stat-box {
    aspect-ratio: 1.3/1;
  }
}

.stat-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.stat-box:hover::before {
  transform: scaleX(1);
}

.stat-box:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-box:hover .stat-number {
  transform: scale(1.1);
  text-shadow: 0 0 30px currentColor;
}

.stat-box:hover p {
  color: #fff;
}

@media (min-width:750px){
  .stat-box p{
  font-size: 40px;
}
}



@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}



@media (max-width: 480px){
  .price-note {
    transform: translatey(-30px);
  }
}



/* Enhanced WhatsApp number */
.whatsapp-number {
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 0rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #ffffff;
}

.whatsapp-number:hover {
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

/* Enhanced curious section */
.curious-section {
  padding: 1rem;
  border-radius: 12px;
  transition: background 0.3s ease;
  text-align: left;
}

.curious-section:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* .curious-section:hover .curious-title {
  transform: translateX(5px);
} */

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invite-block,
.curious-section {
  width: 100%;
  max-width: 1050px;
}

.enroll-button {
  background: #000000;
  color: #DEF767;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 10px;
  display: block;
  margin-left: 0;
}

.enroll-button:hover {
  background: #DEF767;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(222, 247, 103, 0.4);
} 

/* --- CLEAN MOBILE INSTRUCTOR FIX --- */
@media (max-width: 480px) {

  .instructor-grid,
  .instructor-grid.reverse {
    grid-template-columns: 50% 50%; 
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;         
    justify-items: center;
  }

  .instructor-info {
    padding: 0.5rem 0;
  }

  .name {
    font-size: 1rem;
    line-height: 1;
  }

  .designation {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
  }

  .experience {
    font-size: 0.5rem;
    padding: 0.35rem 0.7rem;
  }

  .instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
  }
  .instructor-grid.reverse {
    flex-direction: row;   
    direction: ltr;       
  }
  .name,
  .experience {
    white-space: nowrap;     
    overflow: hidden;         
    text-overflow: ellipsis; 
  }

  .enroll-button {
  background: #000000;
  color: #DEF767;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: -10px;
  display: block;
  margin-left: 0;
}

}

/* Disable hover only while scrolling on mobile */
@media (max-width: 768px) {
/* =================================== 
   DISABLE HOVER STATES DURING SCROLL
=================================== */
html.is-scrolling *:hover,
html.is-scrolling *:hover::before,
html.is-scrolling *:hover::after {
  transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border-color: revert !important;
  background: revert !important;
  color: revert !important;
  opacity: revert !important;
  animation: none !important;
  letter-spacing: revert !important;
  filter: revert !important;

  *:hover,
  *:hover::before,
  *:hover::after {
    transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-color: revert !important;
    background: revert !important;
    color: revert !important;
    opacity: revert !important;
    animation: none !important;
    letter-spacing: revert !important;
    filter: revert !important;
  }
  .poster-hero:hover .glow {
    opacity: 0.6 !important;
    transform: none !important;
  }
}


}

/* ================================
   HUBSPOT FORM — DARK MODE
================================ */

/* Form container */
.modal-content .hbspt-form,
.modal-content .hs-form {
  background: #111317 !important;
  color: #ffffff !important;
  border-radius: 12px;
}

/* Center the main heading */
.modal-content .hbspt-form h1,
.modal-content .hs-form h1,
.modal-content .hs-form-title {
  text-align: center !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
}

/* Subtext under heading */
.modal-content .hs-form p {
  color: #b0b6c2 !important;
  text-align: center;
}

/* Labels */
.modal-content .hs-form label {
  color: #e6eaf2 !important;
  font-weight: 500;
}

/* Inputs */
.modal-content .hs-input {
  background: #1a1d23 !important;
  color: #ffffff !important;
  border: 1px solid #2c313a !important;
  border-radius: 8px !important;
  padding: 12px !important;
}

/* Input focus */
.modal-content .hs-input:focus {
  border-color: #4c8dff !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(76, 141, 255, 0.25);
}

/* Radio + checkbox text */
.modal-content .hs-form .hs-form-field ul {
  color: #e6eaf2;
}

/* Submit button */
.modal-content .hs-button {
  background: #ff6a4a !important;
  border: none !important;
  color: white !important;
  padding: 12px 26px !important;
  border-radius: 8px !important;
  font-weight: 600;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.modal-content .hs-button:hover {
  background: #ff825f !important;
}

/* Remove HubSpot branding line */
.modal-content .hs-richtext {
  color: #8b93a3 !important;
}


/* - */

/* Modal Header (logo + title container) */
.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* space between logo and text */
  margin-bottom: 1.5rem;
   border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 1rem;
    flex-direction: row;
  justify-content: center;
  gap: 0.8rem;
}

/* Logo */
.modal-logo {
  width: 40px;
  height: auto;
}

/* Title */
.modal-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.6rem;
  font-weight: 100;
  letter-spacing: 0.05em;
  margin: 0;
}
