/*-----------------------------------
  Home Page CSS
-----------------------------------*/
.event-section {
  background: var(--section-bg);
  padding: 4rem 0;
}

/* Premium card */
.event-card {
  background: linear-gradient(145deg, var(--bg-color), rgba(255,255,255,0.02));
  color: var(--text-color);
  max-width: 650px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: subtleShift 12s ease-in-out infinite alternate;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);
}

/* Gentle gradient shift animation */
@keyframes subtleShift {
  0% { background: linear-gradient(145deg, var(--bg-color), rgba(255,255,255,0.02)); }
  100% { background: linear-gradient(145deg, var(--bg-color), rgba(255,255,255,0.07)); }
}

.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-date {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.event-desc {
  color: var(--light-text);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Premium CTA button */
.event-card .btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 40px;
  background: #fff;
  color: #000;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Softer, slower halo */
.event-card .btn::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(0,0,0,0.04) 15%,
    transparent 30%,
    transparent 60%,
    rgba(0,0,0,0.04) 75%,
    transparent 100%
  );
  border-radius: 60px;
  filter: blur(3px);
  animation: rotateHalo 28s linear infinite; /* slower */
  z-index: -1;
}

@keyframes rotateHalo {
  to { transform: rotate(360deg); }
}

.event-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/*-----------------------------------
  VARIABLES & GLOBALS
-----------------------------------*/
:root {
    --primary-color: #16e758;   /* Your brand-green accent */
    --bg-color: #000000;        /* Solid black page background */
    --section-bg: #111111;      /* Very dark gray for section backs */
    --text-color: #FFFFFF;      /* Pure white text */
    --light-text: #BBBBBB;      /* Lighter gray for subheadings/text */
    --font-family: 'Poppins', sans-serif;
    --container-width: 1000px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  a:hover {
    color: white;
  }
  
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /*-----------------------------------
    HEADER & NAVIGATION
  -----------------------------------*/
  .header {
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-text);
  }
  
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  
  .nav .logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 1 !important;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  .nav-links a {
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    color: var(--text-color);
    transition: background 0.2s, color 0.2s;
  }
  
  .nav-links a.active,
  .nav-links a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
  }
  
  /* Hamburger (mobile) */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
  }
  
  .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.3s, opacity 0.3s;
  }
  
  /*-----------------------------------
    HERO
  -----------------------------------*/
  .hero {
    position: relative;
    background: var(--bg-color) no-repeat center;
    background-size: cover;
    padding: 6rem 0;
    text-align: center;
  }
  
  .hero-overlay {
    display: none; /* remove tinted overlay if you just want black */
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.3s, transform 0.3s;
  }
  
  .btn:hover {
    background: #0fb94e;
    transform: translateY(-3px);
  }
  /* ===== Mobile Nav (≤768 px) ===== */
@media (max-width: 768px) {
  /* 1. Show the hamburger */
  .hamburger { 
    display: flex;                /* was none */
  }

  /* 2. Hide the links until the hamburger is tapped */
  .nav-links {
    position: absolute;
    top: 100%;            /* just below the nav bar */
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--light-text);
    display: none;        /* hide by default on mobile */
  }

  .nav-links li {
    border-top: 1px solid var(--section-bg);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
  }

  /* 3. When .nav has .active (set by JS), show the menu */
  .nav.active .nav-links {
    display: flex;
  }

  /* 4. Add a simple “X” animation (optional) */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* === Mobile Nav (≤768 px) === */
@media (max-width: 768px) {

    /* show the three bars */
    .hamburger {
      display: flex;
    }
  
    /* hide links by default on mobile */
    .nav-links {
      position: absolute;
      top: 100%;              /* right under the bar */
      left: 0;
      width: 100%;
      flex-direction: column;
      gap: 0;
      background: var(--bg-color);
      border-bottom: 1px solid var(--light-text);
      display: none;
    }
    .nav-links li { border-top: 1px solid var(--section-bg); }
    .nav-links a { padding: 0.85rem 1rem; display: block; }
  
    /* when nav gets .active from JS ↓ show the menu */
    .nav.active .nav-links { display: flex; }
  
    /* bar-to-X animation (optional) */
    .hamburger.active .bar:nth-child(1){transform:translateY(8px) rotate(45deg);}
    .hamburger.active .bar:nth-child(2){opacity:0;}
    .hamburger.active .bar:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
  }
  

  
  /*-----------------------------------
    SECTION NUMBERING
  -----------------------------------*/
  .section {
    counter-reset: section;
    background: var(--section-bg);
  }
  .section-heading {
    position: relative;
    padding-left: 1rem;
    margin: 0 0 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
  }
  
  /*-----------------------------------
    CONTENT SECTIONS
  -----------------------------------*/
  .content-section,
  .intro-section,
  .highlights-section,
  .about-stats-section,
  .contact-section {
    padding: 4rem 0;
    background: var(--section-bg);
  }
  
  .content-section p,
  .content-section ul,
  .intro-section p,
  .contact-section p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
  }
  
  .content-section ul {
    list-style: none;
    padding: 0;
  }
  .content-section ul li {
    margin-bottom: 0.75rem;
  }
  
  /*-----------------------------------
  HIGHLIGHTS & STATS GRID
-----------------------------------*/
.highlights-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.highlight-card,
.stat-card {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.highlight-card h3,
.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.highlight-card p,
.stat-card p {
  color: var(--text-color);
}

/* override for exactly 3 columns on desktop */
.about-stats-section .stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

/*-----------------------------------
  CREATIVE CODE WINDOW
-----------------------------------*/
.leadership-code-section .code-window {
    margin: 4rem 0;
    padding: 1.5rem 1.25rem;
    background: #111;
    border-radius: 8px;
    position: relative;
    font-family: 'Source Code Pro', monospace;
    color: #eee;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  }
  .leadership-code-section .window-controls {
    position: absolute;
    top: 8px;
    left: 12px;
    display: flex;
    gap: 6px;
  }
  .leadership-code-section .dot {
    width: 12px; height: 12px; border-radius: 50%;
    display: block;
  }
  .leadership-code-section .dot.red    { background: #f96256; }
  .leadership-code-section .dot.yellow { background: #fdbc3d; }
  .leadership-code-section .dot.green  { background: #34c84a; }
  .leadership-code-section pre {
    margin-top: 2rem;
    white-space: pre-wrap;
    overflow-x: auto;
    line-height: 1.4;
  }
  .leadership-code-section pre::after {
    content: '';
    display: inline-block;
    width: 2px; height: 1em;
    background: var(--text-color);
    margin-left: 2px;
    animation: blink 0.8s steps(1) infinite;
  }
  @keyframes blink {
    0%, 50%   { opacity: 1; }
    51%,100% { opacity: 0; }
  }
  
  /*-----------------------------------
    EXECUTE BUTTON (initially hidden)
  -----------------------------------*/
  .execute-container {
    margin-top: 1.25rem;
    text-align: right;
    display: none;
  }
  .execute-container button {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-family);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
  }
  .execute-container button:hover {
    background: var(--primary-color);
    color: var(--bg-color);
  }
  
  /*-----------------------------------
    SUMMARY TEXT UNDER HEADING
  -----------------------------------*/
  .awards-summary {
    color: var(--light-text);
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    margin: 1rem 0 2rem;
  }
  
  /*-----------------------------------
    SLEEK FEATURES-BAR MARQUEE
  -----------------------------------*/
  .slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%
    );
    margin: 2rem 0;
  }
  
  .award-slider {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 25s linear infinite;
    cursor: default;
  }
  .award-slider:hover {
    animation-play-state: paused;
  }
  .award-slider span {
    flex: 0 0 auto;
    margin: 0 2rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    position: relative;
  }
  .award-slider span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -1.2rem;
    color: var(--light-text);
  }
  
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  
/* 
Logo Click Effect 
*/
.nav .logo:hover {
  color: var(--primary-color) !important;
  transition: color 0.2s;
}

/* Modern Projects Section Styles */
.modern-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.modern-card {
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid #232323;
}
.modern-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px rgba(22,231,88,0.10), 0 2px 8px rgba(0,0,0,0.18);
  border-color: var(--primary-color);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  color: var(--primary-color);
  filter: drop-shadow(0 2px 6px #16e75833);
}
.modern-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--primary-color);
  text-align: center;
}
.modern-card p {
  color: var(--light-text);
  font-size: 1rem;
  text-align: center;
  margin: 0;
}
@media (max-width: 600px) {
  .modern-projects {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .modern-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}

/* Ultra Modern Projects Section Styles */
.ultra-modern-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2.5rem;
  margin-top: 2.5rem;
}
.ultra-card {
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  min-width: 260px;
  flex: 1 1 300px;
  border: 1px solid #232323;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.ultra-card:hover {
  box-shadow: 0 8px 32px rgba(22,231,88,0.10), 0 2px 8px rgba(0,0,0,0.18);
  border-color: var(--primary-color);
  transform: translateY(-4px) scale(1.018);
}
.ultra-icon {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ultra-icon svg {
  display: block;
  width: 36px;
  height: 36px;
  stroke: var(--primary-color);
}
.ultra-title {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.01em;
}
.ultra-desc {
  color: #bbbbbb;
  font-size: 0.93rem;
  font-weight: 400;
  text-align: center;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.ultra-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 900px) {
  .ultra-modern-projects {
    gap: 1.2rem 0.7rem;
  }
  .ultra-card {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
}
@media (max-width: 600px) {
  .ultra-modern-projects {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .ultra-card {
    padding: 1.2rem 0.7rem 1.2rem 0.7rem;
  }
}
.projects-glass-section {
  position: relative;
  padding: 0 0 3rem;
  z-index: 1;
}
.projects-glass-grid {
  display: grid;
  gap: 2.2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
  grid-template-columns: 1fr;
  perspective: 1000px;
  overflow: visible;
}
/* Make sure grid itself supplies perspective */
.projects-glass-grid {
  perspective: 800px;     /* ← bigger depth = more obvious tilt  */
  perspective-origin: 50% 50%;
  overflow: visible;
}

/* speed-up transition so the tilt tracks the mouse tightly */
.glass-card {
  /* initial hidden state */
  opacity: 0;
  transform: translateY(50px) scale(0.98);   /* JS will overwrite this */

  /* fade-in (opacity only) */
  animation: glass-fadein 0.9s ease forwards;
  animation-delay: calc(var(--i,1) * 0.18s);
}


@media (min-width: 600px) {
  .projects-glass-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1000px) {
  .projects-glass-grid { grid-template-columns: repeat(3,1fr); }
}

.glass-card {
  position: relative;
  background: rgba(20,20,20,0.55);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0,255,136,0.08), 0 1.5px 8px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0,255,136,0.13);
  padding: 2.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  overflow: hidden;

  /* TILT PREP */
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition:
    transform 0.32s cubic-bezier(.4,1.4,.6,1),
    box-shadow 0.32s cubic-bezier(.4,1.4,.6,1),
    border-color 0.32s cubic-bezier(.4,1.4,.6,1),
    opacity 0.7s cubic-bezier(.4,1.4,.6,1);

  /* SCROLL-IN */
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  animation: glass-fadein 1.1s cubic-bezier(.4,1.4,.6,1) forwards;
  animation-delay: calc(var(--i,1) * 0.18s);
}
@media (hover: hover) and (pointer: fine) {
  .glass-card:hover {
    /* only adjust box-shadow & border on hover—no scale! */
    box-shadow: 0 0 0 3px #00ff88, 0 8px 32px rgba(0,255,136,0.6), 0 2px 8px rgba(0,0,0,0.18);
    border-color: #00ff88;
    z-index: 2;
  }
}
@keyframes glass-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* make sure this is at the very top of your particle CSS */
.projects-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* common particle styling & animation */
.particle {
  position: absolute;
  opacity: 0.25;
  filter: blur(3px);
  animation: drift 25s ease-in-out infinite;
}

/* stagger each by its data-i attribute */
.particle[data-i="0"] { top: 10vh;  left:  8vw;  animation-delay: 0s;  }
.particle[data-i="1"] { top: 30vh;  left: 85vw;  animation-delay: 3s;  }
.particle[data-i="2"] { top: 75vh;  left: 20vw;  animation-delay: 6s;  }
.particle[data-i="3"] { top:  5vh;  left: 55vw;  animation-delay: 9s;  }

.particle[data-i="4"] { top: 45vh;  left: 15vw;  animation-delay:12s; }
.particle[data-i="5"] { top: 20vh;  left: 70vw;  animation-delay:15s; }
.particle[data-i="6"] { top: 80vh;  left: 40vw;  animation-delay:18s; }
.particle[data-i="7"] { top: 60vh;  left: 90vw;  animation-delay:21s; }

/* the drift keyframe: slow, smooth floating + subtle scale changes */
@keyframes drift {
  0%   { transform: translate(  0px,   0px) scale(1); }
  25%  { transform: translate( 15px, -20px) scale(1.05); }
  50%  { transform: translate(-25px,  15px) scale(0.95); }
  75%  { transform: translate( 20px,  25px) scale(1.02); }
  100% { transform: translate(  0px,   0px) scale(1); }
}

/* ==========  Mobile clean-up for ABOUT page  ========== */

/* 1) Collapse stats grid in two steps */
@media (max-width: 600px) {
    .about-stats-section .stats-grid {
      grid-template-columns: repeat(2, 1fr);   /* two cards */
    }
  }
  @media (max-width: 400px) {
    .about-stats-section .stats-grid {
      grid-template-columns: 1fr;              /* single column */
    }
  }
  
  /* 2) Make sure every card shrinks with the grid */
  .about-stats-section .stat-card {
    min-width: 0;              /* let it get narrower than 180 px */
    word-wrap: break-word;     /* long labels wrap instead of overflow */
  }
  
  /* 3) Safety: never allow any .container wider than the viewport */
  @media (max-width: 480px) {
    .container {
      max-width: 100%;
      padding-left: .75rem;
      padding-right: .75rem;
    }
  }
  
  /* 4) Ensure code window scrolls inside itself, not the page */
  .code-window pre { overflow-x: auto; }
  

  /*Rule for mobile so stats do not take two lines*/ 
  /* keep big green numbers on ONE line and let them scale down */
@media (max-width: 480px) {
    .about-stats-section .stat-card h3 {
      /* prevent line-wrap */
      white-space: nowrap;
  
      /* flex keeps the digits and “+” side-by-side, baseline-aligned */
      display: inline-flex;
      align-items: baseline;
      gap: 0.15em;
  
      /* responsive size: never larger than 8 vw, never smaller than 1.8 rem */
      font-size: clamp(1.8rem, 8vw, 2.5rem);
      line-height: 1;            /* remove extra vertical space */
    }
  
    /* optional: shrink the plus a bit so it doesn’t dominate */
    .about-stats-section .stat-card .plus {
      font-size: 0.7em;          /* 70 % of the digits’ height */
    }
  }
  /* ===== Elegant Leadership Awards Marquee ===== */
.leadership-awards {
    background: var(--section-bg);
    padding: 4rem 0;
  }
  
  /* wrapper with edge-fade */
  .awards-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right,
                  transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
                  transparent 0%, black 10%, black 90%, transparent 100%);
  }
  
  /* scrolling row */
  .awards-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: awards-scroll 24s linear infinite;
    font-family: "Playfair Display", "Times New Roman", serif; /* graceful serif */
  }
  
  .awards-track span {
    flex: 0 0 auto;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--light-text);          /* soft grey */
    letter-spacing: 0.03em;
    white-space: nowrap;
    position: relative;
    text-shadow: 0 0 6px rgba(255,255,255,0.05); /* subtle glow */
  }
  
  .awards-track span:not(:last-child)::after {
    content: '◆';
    margin-left: 3rem;
    color: var(--section-bg);
    opacity: 0.4;                      /* muted separator */
    font-size: 0.8em;
  }
  
  @keyframes awards-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  
  /* pause on hover */
  .awards-marquee:hover .awards-track {
    animation-play-state: paused;
  }
  
  /* mobile tuning */
  @media (max-width: 480px) {
    .awards-track span { font-size: 0.95rem; }
    .awards-track { gap: 2rem; }
  }
  
  /*Register CSS */
  .hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
  }
  
  .partner-name {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c2fbd7;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
  }
  /* Fade-up animation for subtitle */
@keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Subtitle animation */
.animate-subtitle {
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards;
    animation-delay: 0.6s;
  }
  
  /* Step-by-step word animation (starts *after* subtitle) */
  .step-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: stepFadeUp 0.6s ease-out forwards;
  }
  
  /* Correctly delay each word based on subtitle ending at 1.8s */
  .step-text span:nth-child(1) { animation-delay: 2.0s; }
  .step-text span:nth-child(2) { animation-delay: 2.2s; }
  .step-text span:nth-child(3) { animation-delay: 2.4s; }
  .step-text span:nth-child(4) { animation-delay: 2.6s; }
  .step-text span:nth-child(5) { animation-delay: 2.8s; }
  
  @keyframes stepFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .tier-card {
    display: flex;
    flex-direction: column;
  }
  
  .tier-features {
    flex-grow: 1;    /* lets the features list expand to fill available space */
  }
  
  .btn-tier {
    margin-top: auto; /* pushes the button to the bottom */
  }
  
  /*Alignment for Leadership caption on About US Page*/
  .section-subtext {
    font-size: 0.8rem;
    color: var(--text-muted, #bbb);
    margin-bottom: 4rem;
    padding-left: 1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
  }

  /* — Referral Deal Section — */
.referral-deal {
    background: var(--section-bg);
    padding: 3rem 0;
  }
  
  .referral-deal .section-heading {
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .referral-deal .lead {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .referral-deal .highlight-points {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .referral-deal .highlight-points li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .referral-deal .highlight-points li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
  }
  
  .referral-deal .btn-tier {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .referral-deal .btn-tier:hover {
    background: #0fb94e;
    transform: translateY(-3px);
  }
  
  /* small screens tweak */
  @media (max-width: 480px) {
    .referral-deal .section-heading {
      font-size: 1.8rem;
    }
    .referral-deal .lead,
    .referral-deal .highlight-points li {
      font-size: 0.95rem;
    }
    .referral-deal .btn-tier {
      width: 100%;
      text-align: center;
    }
  }
  
/* ----------  HERO STATUS PILL  ---------- */
.status-pill{
    display:inline-block;
    margin:0.6rem auto 1.6rem;
    padding:0.35rem 1.1rem;
    max-width:90vw;        /* guarantees it can’t overflow on phones  */
    font:600 0.9rem/1.3 "Courier New", monospace;
    color:#0e0e0e;
    background:#16e758;
    border-radius:999px;
    box-shadow:0 3px 10px rgb(0 0 0 / .35);
    text-align:center;
    white-space:normal;     /* allow wrapping when needed          */
    word-break:break-word;  /* graceful wrap on very small screens */
    position:relative;
  }
  
  /* blinking “cursor” ▌ */
  .status-pill .cursor{
    display:inline-block;
    width:2px; height:1.05em;
    background:#0e0e0e;
    margin-left:4px;
    animation:blink 0.8s step-end infinite;
  }
  
  @keyframes blink{50%{opacity:0;}}
  
/* ▸ Mobile fix – let the badge wrap and stay inside the screen */
@media (max-width: 480px) {

    .hero-badge{
      /* override the desktop settings */
      white-space: normal;        /* ✅ allow wrapping            */
      overflow: hidden;           /* keep the typewriter mask     */
      word-break: break-word;     /* break mid-word if required   */
  
      font-size: 0.78rem;         /* slightly smaller             */
      line-height: 1.35;
      max-width: 90vw;            /* never wider than the phone   */
      margin: 0.75rem auto 1.25rem;
      
      /* restart the animation for mobile */
      width: 0;
      animation: typingMobile 5s steps(53) 1s forwards,
                 blink-caret 0.75s step-end infinite;
    }
  
    /* mobile type-out stops at the edge of the screen */
    @keyframes typingMobile{
      from { width: 0; }
      to   { width: 90vw; }       /* full usable width            */
    }
  }
  
  /* ========== Tape‑Style Gallery (final clean version) ========== */
/* ========== Gallery (sleek version, no tape perforations) ========== */

/* Section heading */
.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Dark band around the strip */
.gallery-scroll-section {
  padding: 5.5rem 0.8rem;          /* extra space above & below */
  background: #111;            /* overall page background */
  color: #fff;
  overflow: hidden;
}

/* Horizontal strip */
.gallery-scroll-container {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;             /* height of the strip */
  overflow-x: auto;            /* still scrollable by wheel/drag */
  overflow-y: hidden;
  cursor: grab;
  background: #1a1a1a;         /* subtle dark interior */
  scroll-snap-type: none;      /* free‑glide */
}

/* hide scrollbar but leave wheel scrolling */
.gallery-scroll-container::-webkit-scrollbar { display: none; }
.gallery-scroll-container { scrollbar-width: none; -ms-overflow-style: none; }

.gallery-scroll-container:active { cursor: grabbing; }

/* Card frames */
.gallery-card {
  flex: 0 0 500px;
  height: 325px;
  position: relative;
  border: 4px solid #333;
  background: #000;
  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.8),
    0 5px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.gallery-card:hover { transform: scale(1.05); }

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

/* 30 % overlay: title always top; caption below (if any) */
.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
  display: grid;
  grid-template-rows: auto auto;   /* row 1 = title, row 2 = caption (optional) */
  gap: 0.25rem;
  padding: 0.5rem;
  align-content: start;            /* keep rows pinned to top of overlay */
}

.gallery-card:hover .overlay { transform: translateY(0); }

.overlay h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}
