@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --theme-bg: linear-gradient(to bottom right, #0f0c29, #302b63, #24243e);
  --purple: #6d28d9;
  --purple-light: #a78bfa;
  --dark-blue: #1e3a8a;
  --text-light: #f1f5f9;
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --glow: 0 0 20px rgba(139,92,246,0.4);
  --glow-cyan: 0 0 20px rgba(34,211,238,0.4);
   --side-offset: clamp(60px, 20%, 120px);
      --scale-active: 1;
      --scale-side: 0.75;
      --perspective: 1000px;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--theme-bg);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  margin-top: 70px;
}

.challenge-detail {
  margin-top: 70px;
}





/* Overlay */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1049;
}
#nav-toggle:checked ~ .overlay {
  display: block;
}

/* Navbar */
.navbar {
  position: fixed;    /* was sticky */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;      /* make sure it's on top */
  display: flex;      /* remove the second duplicate */
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-light);
  text-decoration: none;
}

/* Mobile-only Login/Dashboard button beside logo */
.mobile-login-btn {
  display: inline-block;          /* visible on mobile by default */
  margin-left: auto;              /* push it to the right side */
  background: #9333ea;
  color: #fff;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  z-index: 0;                  /* above overlay/hamburger */
}

/* On desktop, hide the mobile button (since desktop has menu items) */
@media (min-width: 768px) {
  .mobile-login-btn {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--dark-blue);
  border-radius: 2px;
}

/* Menu Drawer */
.menu-items {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100vh;
  background: white;
  color: var(--dark-blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  margin-top: 0;
  transition: left 0.3s ease-in-out;
  z-index: 1050;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}
#nav-toggle:checked ~ .menu-items {
  left: 0;
}

.menu-items .mobile-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  color: var(--purple-light);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(109, 40, 217, 0.2);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-items .mobile-logo {
  white-space: nowrap;
  display: inline-block;
}


@media (max-width: 400px) {
  .menu-items .mobile-logo {
    font-size: 1.2rem;
  }


}@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;

  }
}

.menu-items li {
  list-style: none;
  margin-bottom: 1.2rem;
}
.menu-items li a {
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 600;
}
.menu-items li a:hover {
  color: var(--purple);
}
.menu-items .login-btn {
  background: #9333ea;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 1rem 0.4rem 1rem;
  border-radius: 6px;
  border: 2px solid transparent;
   box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); /* Bluish glow */
}

/* Close Button */
.menu-items .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  border: none;
  background: none;
  color: var(--dark-blue);
  cursor: pointer;
}

/* Desktop Menu */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .menu-items {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    height: auto;
    padding: 0;
    margin-top: 1rem;
    width: auto;
    align-items: center;
    gap: 1.5rem;
    box-shadow: none;
  }
  .menu-items .close-btn,
  .menu-items .mobile-logo {
    display: none;
  }
  .menu-items li a {
    color: var(--dark-blue);
  }
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  border-radius: 5px;
  font-weight: 600;
}



/* ===== BUTTONS & TEXT ===== */
.text-gradient {
  background: linear-gradient(90deg, #8B5CF6, #22D3EE);
  -webkit-background-clip: text; color: transparent;
}
.btn-primary {
  background: var(--purple); color: #fff;
  padding: .75rem 1.25rem; border-radius: 12px;
  font-weight: 600; box-shadow: var(--glow);
  text-decoration: none; display: inline-block;
  transition: transform .2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary.small {
  padding: .5rem 1rem; font-size: .9rem;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  padding: .75rem 1.25rem; border-radius: 12px;
  color: #fff; text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-link {
  color: #22D3EE; font-weight: 600; text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 1rem; text-align: center;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}



/** css for hero section */

.hero-video {
  position: relative;
  width: 100%;
  margin-top: 0;
  height: 90vh;     /* ← no space here! */
  overflow: hidden;
  display: grid;
  place-items: center;
}

@media(max-width: 768px){
  .hero-video {
  height: 60vh;     /* ← no space here! */

}
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.6), rgba(34,211,238,0.6));
}
.hero-inner {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 800px; padding: 0 1rem;
}
.hero-inner h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.hero-inner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center;
}




/* timeline and countdown */

  .timeline-section {
    margin-top: -40px!important;
    padding: 1.5rem 1rem 1.5rem 1rem;
  }

.timeline {
  list-style: none;
  display: flex; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.timeline li {
  background: var(--glass)!important;            /* semi-transparent “glass” background */
  border: 1px solid var(--border);     /* subtle white border */
  border-radius: 12px;                 /* rounded corners */
  padding: 1rem 1.5rem;                /* inner spacing */
  transition: transform .3s;           /* smooth hover/lift effect */
  color: #fff;                         /* white text */
}
.timeline li.active {
  border-color: #8B5CF6;
  box-shadow: var(--glow);
  transform: translateY(-4px);
}
.timeline li strong {
  display: block; font-size: 1rem;
}
.timeline li span {
  font-size: .85rem; color: #d1d5db;
}
.countdown {
  margin-top: 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
}
#countdown {
  font-family: ui-monospace; font-size: 2rem;
  background: rgba(0,0,0,0.4);
  padding: .6rem 1.2rem; border-radius: 8px;
  color: #fff;
}

/* ==== Responsive tweaks for Timeline & Countdown ==== */
@media (max-width: 768px) {
  /* Stack timeline items vertically */
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .timeline li {
    width: 100%;
    max-width: 320px;
    padding: 0.7rem 0.8rem;
  }
  .timeline li strong {
    font-size: 0.9rem;
  }
  .timeline li span {
    font-size: 0.75rem;
  }

  /* Shift countdown into a row and center */
  .countdown {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  #countdown {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }
  .btn-primary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Tighten up section padding */
  .timeline-section {
    margin-top: -60px!important;
    padding: 1rem 3rem 1rem 1rem;
  }
}

@media (max-width: 400px) {
  /* Further scale down on very small phones */
  .timeline {
    gap: 1rem;
  }
  .timeline li {
    padding: 0.6rem 0.8rem;
  }
  #countdown {
    font-size: 1.2rem;
  }
}


/* Ongoing Event Highlight */
    
    .tuition-card {
      display: flex;
      flex-direction: column;
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--glow);
      max-width: 1000px;
      margin: 10px;
      padding: 10px;
    }

    .card-image {
      width: 100%;
      height: auto;
    }

    .card-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .card-content h1 {
      font-size: 20px;
      color: #000;
      text-align: left!important;
      margin-bottom: 10px;
    }

    .card-content p {
      color: #000;
      margin-bottom: 20px;
            text-align: left!important;

      line-height: 1.4;
    }

    .info-item {
      display: flex;
      text-align: left;
      color:#000;
      align-items: center;
      margin-bottom: 10px;
      font-size: 15px;
    }

    .info-item img {
      width: 20px;
      height: 20px;
      margin-right: 10px;
    }

    .book-button {
      margin-top: 20px;
      background: var(--purple);
      color: white;
      border: none;
      padding: 12px;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
      box-shadow: var(--glow);

    
    }

    .book-button:hover {
      opacity: 0.9;
    }

    @media (min-width: 768px) {
      .tuition-card {
        flex-direction: row;
        margin: auto;
        padding: 10px;
      }

      .card-image {
        width: 50%;
        height: auto;
        object-fit: cover;
      }

      .card-content {
        width: 50%;
        padding: 30px;
      }

      .card-content h1 {
        font-size: 24px;
      }
    }

.countdown1{
  width: 100%;
  font-weight: 400;
  color: #000;
}







/* spotlight.css */

/*   .spot-card {
  background-color:var(--glass);
    border:1px solid var(--border); border-radius:18px;
  border-radius: 18px;
  overflow: hidden; 
} */

/* default (mobile): vertical spacing */
/* .spot-column {
  margin-bottom: 1rem;
}


.spot-content {
    color:#fff;
}


.spot-content ul {
  list-style: none; padding:0; margin:1rem 0;
}
.spot-content ul li {
  margin-bottom: .5rem; display: flex; align-items: center;
}
.spot-content ul li::before {
  content: "✔"; margin-right: .6rem; color:#22D3EE;
}
.spot-buttons { display:flex; gap:.8rem; }


@media (min-width: 768px) {
  .spot-column {
    margin-bottom: 0;
   
  }
} */


/* Winners Slide */

.winners-carousel {
  display:flex; overflow-x:auto; gap:1rem;
  scroll-snap-type: x mandatory; padding: 1rem 0;
}
.winner {
  scroll-snap-align: center;
  background: var(--glass);
  border:1px solid var(--border);
  border-radius:16px;
  min-width: 280px; padding:1rem;
  text-align:center; color:#fff;
}
.winner img {
  width:100%; height:180px; object-fit:cover; border-radius:12px;
  margin-bottom:.8rem;
}
.winner h4 { margin-bottom:.4rem; }

/* ==== Responsive tweaks for Winners Wall ==== */
@media (max-width: 768px) {
  .winners-section {
    padding: 2.5rem 1rem;
  }
  .winners-carousel {
    gap: 0.75rem;
    padding: 0.75rem 0;
  }
  .winner {
    min-width: 70%;
    padding: 0.8rem;
  }
  .winner img {
    height: 140px;
  }
  .winner h4 {
    font-size: 1rem;
  }
  .winner p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .winners-carousel {
    gap: 0.5rem;
  }
  .winner {
    min-width: 85%;
    padding: 0.6rem;
  }
  .winner img {
    height: 120px;
  }
  .winner h4 {
    font-size: 0.9rem;
  }
  .winner p {
    font-size: 0.8rem;
  }
}

/* optional: hide native scrollbar for cleaner look */
.winners-carousel {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}
.winners-carousel::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}


/* Past events Gallery  */




/**  why join   **/

.features {
  display: grid; gap:1.5rem; max-width:900px; margin:0 auto;
}
@media(min-width:900px){ .features { grid-template-columns: repeat(3,1fr); } }
.feature-card {
  background: var(--glass);
  border:1px solid var(--border); border-radius:16px;
  padding:1.5rem; text-align:center; color:#fff;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}
.feature-card span { font-size:2rem; display:block; margin-bottom:.5rem; }
.feature-card h4 { margin-bottom:.4rem; }

/* ==== Responsive tweaks for Why Join feature cards ==== */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
  .feature-card {
    padding: 1.2rem;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .feature-card {
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .feature-card span {
    font-size: 1.8rem;
  }
  .feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }
}


/* Judges and partners   */
.judges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap:1rem; max-width:900px; margin:1rem auto 0;
}
.judge-card {
  background: var(--glass); border:1px solid var(--border);
  border-radius:16px; padding:1rem; text-align:center; color:#fff;
}
.judge-card img { width:80px; height:80px; border-radius:50%; margin-bottom:.5rem; }
.partners-marquee {
  overflow:hidden; margin-top:2rem;
}
.partners-marquee .marquee-track {
  display:flex; gap:2rem; animation: scroll 15s linear infinite;
  align-items:center; white-space: nowrap;
}
/* ==== Responsive tweaks for Judges & Partners ==== */
@media (max-width: 768px) {
  .judges-grid {
    gap: 0.75rem;
    margin: 1rem;
  }
  .judge-card {
    padding: 0.8rem;
  }
  .judge-card img {
    width: 60px;
    height: 60px;
  }
  .partners-marquee {
    margin-top: 1.5rem;
  }
  .partners-marquee .marquee-track {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .judges-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin: 0.5rem;
  }
  .judge-card {
    padding: 0.6rem;
  }
  .judge-card img {
    width: 50px;
    height: 50px;
  }
  .partners-marquee .marquee-track {
    gap: 0.5rem;
  }
}



.partners-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.partners-marquee .marquee-track {
  display: inline-flex;
  animation: marquee 15s linear infinite;
}

.partners-marquee .marquee-track > * {
  flex: 0 0 auto;
  margin-right: 2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* FAQ */
.faq-list details {
  background: var(--glass); 
  border:1px solid var(--border);
  border-radius:16px; 
  margin-bottom:1rem; 
  padding:1rem; color:#fff;
  text-align: left;
}
.faq-list summary {
  font-size: 1.1rem;
  font-weight:600; 
  cursor:pointer;
}
.faq-list p { 

  margin-top:.5rem; 
  color:#d1d5db; }

/* ==== Responsive tweaks for FAQ ==== */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem;
  }
  .faq-list details {
    padding: 1rem;
    margin-bottom: 0.8rem;
  }
  .faq-list summary {
    font-size: 1rem;
  }
  .faq-list p {
    font-size: 0.9rem;
    margin-top: 0.4rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 2rem 1rem;
  }
  .faq-list details {
    padding: 0.8rem;
    margin-bottom: 0.6rem;
  }
  .faq-list summary {
    font-size: 0.95rem;
  }
  .faq-list p {
    font-size: 0.85rem;
    margin-top: 0.3rem;
  }
}




/* Footer  */
.site-footer {
  background: #0b0f14; color:#94a3b8;
  padding:2rem 1rem; text-align:center;
}
.footer-grid {
  display: grid; gap:1rem; max-width:900px; margin:0 auto 1rem;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}
.newsletter { display:flex; gap:.5rem; }
.newsletter input {
  flex:1; padding:.6rem; border-radius:12px;
  border:1px solid var(--border); background:#0b1220; color:#fff;
}
.socials a {
  margin:0 .3rem; display:inline-block; padding:.5rem;
  border-radius:8px; border:1px solid var(--border); color:#fff;
}
.copy { font-size:.85rem; }


/* ==== Responsive tweaks for Site Footer ==== */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer-grid {
    /* stack into a single column */
    grid-template-columns: 1fr;
    row-gap: 1rem;
    margin-bottom: 1rem;
  }
  .newsletter {
    /* stack input & button */
    flex-direction: column;
    gap: 0.5rem;
  }
  .newsletter input,
  .newsletter .btn-primary.small {
    width: 100%;
  }
  .socials {
    /* center social links */
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.5rem 0.75rem;
  }
  .footer-grid {
    gap: 0.5rem;
  }
  .newsletter input {
    padding: 0.5rem;
  }
  .newsletter .btn-primary.small {
    padding: 0.4rem 0;
    font-size: 0.85rem;
  }
  .socials a {
    margin: 0 0.2rem;
    padding: 0.4rem;
    font-size: 0.9rem;
  }
  .copy {
    font-size: 0.8rem;
  }
}






/* past event new */
    .pastevent-section {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f8f9fa;
    }

    .carousel-container {
      position: relative;
      padding: 20px 0;
      overflow: hidden;
    }

    .carousel-inner-custom {
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      gap: 24px;
      padding: 10px 40px;
      /* hide native scrollbar */
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .carousel-inner-custom::-webkit-scrollbar {
      display: none;
    }

    .card-slide {
      flex: 0 0 280px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      padding: 20px;
      transition: transform 0.3s ease, border 0.3s;
      text-align: center;
      scroll-snap-align: start;
    }

    .card-slide.active {
      transform: scale(1.05);
      border: 2px solid #ddd;
    }

    .card-icon {
      height: 150px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      color: #fff;
      margin-bottom: 20px;
    }


    .card-icon img{
      width: 130px;
      height: 70%;
      padding: 2px;
      border: 2px solid var(--purple-light);
      border-radius: 50%;
      box-shadow: var(--glow);

    }

    .btn-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      width: 40px;
      height: 40px;
      z-index: 2;
      cursor: pointer;
    }

    .btn-prev { left: 10px; }
    .btn-next { right: 10px; }

    .btn-nav:focus { outline: none; }

    .card-slide .btn-link {
      text-decoration: none;
      font-weight: 500;
      margin: 0 10px;
      color: #007bff;
    }

    .top-bar {
      display: flex;
      justify-content: space-between;
      padding: 16px 40px;
      align-items: center;
    }

    .top-bar a {
      margin-left: 20px;
      text-decoration: none;
      color: #333;
      font-weight: 500;
    }

    .top-bar .btn-outline-primary {
      border-radius: 20px;
    }

    /* Pagination bullets */
    .carousel-pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 20px;
    }
    .pagination-bullet {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ccc;
      cursor: pointer;
      transition: background 0.3s;
    }
    .pagination-bullet.active {
      background: #007bff;
    }



/*** Winners wall New  */


    /* ==== VARIABLES ==== */
  

    /* ==== RESET & LAYOUT ==== */
 
    .winners-section {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 50vh;
      background: linear-gradient(135deg, #a8edea, #fed6e3);
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* ==== SLIDER CONTAINER ==== */
    .slider {
      width: 80vw;
      max-width: 360px;
      aspect-ratio: 3 / 4;
      position: relative;
      perspective: var(--perspective);
      overflow: visible;
    }

    /* ==== CARD STYLING ==== */
    .winslide {
      position: absolute;
      top: 50%; left: 50%;
      width: 100%; height: 100%;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      transform-style: preserve-3d;
      transition: transform .6s ease, opacity .6s ease;
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.7);
    }
    .winslide.active {
      transform: translate(-50%, -50%) scale(var(--scale-active));
      opacity: 1; z-index: 3;
    }
    .winslide.prev {
      transform:
        translate(calc(-50% - var(--side-offset)), -50%)
        scale(var(--scale-side));
      opacity: .6; z-index: 2;
    }
    .winslide.next {
      transform:
        translate(calc(-50% + var(--side-offset)), -50%)
        scale(var(--scale-side));
      opacity: .6; z-index: 2;
    }

    /* ==== CONTENT ==== */
    .main-image {
      width: 100%; height: 55%;
      background-size: cover;
      background-position: center;
      position: relative;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }
    .main-image::after {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }
    .caption {
      position: absolute; bottom: 12px; right: 12px;
      color: #fff; font-size: 14px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    }
    .thumbs {
      display: flex;
      justify-content: space-between;
      padding: 10px;
    }
    .thumb {
      width: 22%; height: 48px;
      background-size: cover;
      background-position: center;
      border-radius: 6px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .title {
      color: var(--purple);
      text-align: center;
      font-size: 1.5rem;
      margin: 8px 0 4px;
      letter-spacing: 1px;
    }
    .description {
      text-align: center;
      font-size: 1rem;
      color: #555;
      padding: 0 12px 12px;
    }

    /* ==== WINNAV BUTTONS ==== */
    .winnav {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      width: 40px; height: 40px;
      background: rgba(255,255,255,0.8);
      border: none; border-radius: 50%;
      font-size: 24px; cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: background .3s; z-index: 5;
    }
    .winnav:hover { background: #fff }
    .winnav.prev { left: -50px }
    .winnav.next { right: -50px }

    /* ==== MOBILE (≤480px) ==== */
    @media (max-width: 768px) {
      :root { --side-offset: clamp(80px, 15%, 60px); }
      .thumbs { display: none; }

   .slider {
      width: 75vw;
     
      }

      .winnav {
        width: 32px; height: 32px;
        font-size: 20px;
      }

      .main-image{
        height: 65%;
      }
      .winnav.prev { left: -30px }
      .winnav.next { right: -30px }
      .title { font-size: 1.25rem }
      .description { font-size: .9rem }
    }

    /* ==== DESKTOP (≥768px) ==== */
    @media (min-width: 920px) {
      :root {
        --side-offset: clamp(220px, 25%, 300px);
        --scale-side: 0.9;
      }
      .slider {
        width: auto;
        height: 60vh;
        max-width: 90vw;
        aspect-ratio: 3 / 4;
      }
      .winnav.prev { left: -130px }
      .winnav.next { right: -130px }
    } 




       @media (min-width: 1120px) {
      :root {
        --side-offset: clamp(300px, 25%, 300px);
        --scale-side: 0.9;
      }
      .slider {
        width: auto;
        height: 70vh;
        max-width: 100vw;
        aspect-ratio: 3 / 4;
      }
      .winnav.prev { left: -280px }
      .winnav.next { right: -280px }
    }




