/* ================= GLOBAL OVERFLOW FIX ================= */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}




/* ================= ROOT ================= */
:root {
  --gold: #E29D42;
  --bg: #121f42;
}

/* ================= RESET ================= */
* {
  margin: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: 'Radley', serif;
  background-color: var(--bg);
  color: var(--gold);
  line-height: 1.6;
}

/* Center the button */
.hero-page-button {
  display: flex;
  justify-content: center;
  margin-top: 40px;   /* space from text */
}

/* Button styling */
.hero-page-button button {
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b1c3d; /* dark blue text */
  background-color: #f5b14c; /* yellow/gold */
  border: none;
  border-radius: 30px;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(245, 177, 76, 0.45);
  transition: all 0.3s ease;
}

/* Hover effect */
.hero-page-button button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(245, 177, 76, 0.65);
}

/* Click effect */
.hero-page-button button:active {
  transform: scale(0.96);
}


/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background: var(--bg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 40px;
  z-index: 999;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  margin-left: 3%;
  margin-top: 2%;
  height: 90px;
}

/* Nav */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 16px;
}

.nav-links a:hover,
.nav-links a.active1 {
  color: var(--gold);
}
.nav-links a.active{
  margin-bottom: -10%;
}
 
/* Button */
.header-buttons {
  display: flex;
  align-items: center;
}

.header-buttons button {
  background: var(--gold);
  border: none;
  padding: 8px 22px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Radley', serif;
  font-size: 15px;
}

.header-buttons button:hover {
  background: #f0c13d;
}

/* ================= HAMBURGER ================= */
.hamburger {
  z-index: 1001;      /* higher than nav */
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}
.mobile-register button {
  background: #E29D42;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 80px;        /* below header */
    left: 0;
    width: 100%;
    background: #0b1c3d;

    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 0;

    transform: translateY(-120%);
    transition: transform 0.4s ease;

    z-index: 998;     /* LOWER than hamburger */
  }

  .nav-links.active {
    transform: translateY(0);
  }
}


/* ================= MOBILE HEADER ================= */
@media (max-width: 768px) {

  .header {
    padding: 0 20px;
    grid-template-columns: auto auto;
  }

  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    margin-left: -150px;
    margin-top: 2%;
    height: 45px;
  }


  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: auto;
    background: #0b1c3d;

    flex-direction: column;
    align-items: center;
    gap: 25px;

    padding: 30px 0;

    /* DROP DOWN EFFECT SAY */
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 998;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 20px;
  }

  /* Hide desktop button */
  .header-buttons {
    display: none;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
  }

  .mobile-register button {
    background: #E29D42;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
  }
}


/* ================= HERO ================= */
.hero-video-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  background: var(--bg);
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 31, 66, 0.75); /* same bg with opacity */
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(24px, 4vw, 46px);
  color: var(--gold);
}

.hero-content h2 {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--gold);
}


/* edited */

/* ===== HERO SECTION ===== */

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #E29D42;
  margin-bottom: 30px;
}

/* Logo */
.hero-logo {
  width: 210px;
  max-width: 80%;
  /* margin-bottom: 25px; */
  transition: transform 0.4s ease;
  margin-top: -5%;
}

.hero-logo:hover {
  transform: scale(1.05);
}

/* Hero Button */
.hero-page-button button {
  padding: 14px 40px;
  font-size: 2rem;
  font-weight: 600;
  color: #0b1c3d;
  background-color: #E29D42;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(226, 157, 66, 0.45);
  transition: all 0.3s ease;
}

.hero-page-button button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(226, 157, 66, 0.65);
}
@media (max-width: 576px) {

  .hero-video-container {
    height: 100svh; /* better for mobile address bar */
  }

  .hero-content {
    padding: 15px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .hero-content h2 {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .hero-logo {
    width: 150px;
    max-width: 90%;
    margin-top: -8%;
  }

  .hero-page-button button {
    padding: 10px 28px;
    font-size: 1.3rem;
    border-radius: 25px;
  }
}



/* ================= SECTIONS ================= */
section {
  padding: 80px 20px;
  background: var(--bg);
}

.section-dark,
.section-light2,
.core {
  background: var(--bg);
}

.section-dark h2 {
  font-size: clamp(34px, 5vw, 60px);
}

.section-dark p {
  font-family: 'Roboto Flex', sans-serif;
  color: #ffffff;
  font-size: 25px;
}

/* ================= PROBLEM STATEMENTS ================= */
.section-light2 {
  text-align: center;
}

.section-light2 h1{
  font-size: 70px;
}

.section-title {
  font-size: clamp(36px, 6vw, 70px);
  margin-bottom: 50px;
}


.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
}

.value-box {
  background: var(--gold);
  color: var(--bg);
  padding: 25px;
  border-radius: 16px;
  font-size: 20px;
  transition: 0.3s ease;
}

.value-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* ================= TIMELINE ================= */
/* ================= TIMELINE ================= */
.timeline {
  max-width: 1100px;
  margin: 120px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.step {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 60px 30px 35px;
  text-align: center;
  transition: 0.4s ease;
  filter: brightness(0.95);
}

.step:hover {
  transform: translateY(-15px) scale(1.04);
  box-shadow: 0 0 35px rgba(226, 157, 66, 0.35);
  filter: brightness(1.1);
}

/* Icon Circle */
.circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);

  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
}

.step .circle i {
  font-size: 30px;
  color: inherit; /* inherits from .step (red/blue/yellow/green) */
}
.circle {
  color: inherit;
}


/* Colors */
.red { color: #ff6b6b; }
.blue { color: #6ba4ff; }
.yellow { color: #ffd56b; }
.green { color: #6bffb0; }

.step h3 {
  font-style: italic;
  margin-bottom: 12px;
}

.step p {
  font-family: 'Roboto Flex', sans-serif;
  color: #e5e7eb;
  margin-bottom: 6px;
}

/* ================= TIMELINE BUTTON FIX (MOBILE) ================= */

.timeline .header-buttons {
  display: flex;
  justify-content: center;
  margin-left: 0 !important;
}

@media (max-width: 768px) {
  .timeline .header-buttons {
    display: flex;
  }
}
.timeline .header-buttons button {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 22px;
}



/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 15px 20px;
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .logo {
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .header-buttons {
    justify-content: center;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }
}

/* Colors */
.red { color: #ff6b6b; }
.blue { color: #6ba4ff; }
.yellow { color: #ffd56b; }
.green { color: #6bffb0; }

.step h3 {
  font-style: italic;
}

.step p {
  font-family: 'Roboto Flex', sans-serif;
  color: #e5e7eb;
}

.circle i {
  font-size: 26px;
  color: currentColor;
}


/* New color for 5th step */
.purple {
  color: #c084fc;
}

/* Responsive fix for 5 steps */
.timeline {
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  min-width: 220px;
  max-width: 260px;
}

.eligibility-title {
  color: #E29D42;
}

.name h1{
  font-size: 70px;
}

.eligibility-list {
  max-width: 900px;
  margin: 30px auto 0; /* center block */
}

.eligibility-list p {
  color: #ffffff;
  text-align: left;   /* IMPORTANT */
  margin-bottom: 30px;
  margin-left: 120px;

}
.eligibility-list p::before {
  content: "✔";
  color: #E29D42;
  margin-right: 10px;
}

/* ================= PRIZE POOL ================= */
  
  .container h2{
    font-family: 'Radley', serif;
    font-size: 50px;
  }
  .prize-box {
    background: linear-gradient(135deg, #2b468f, #102150);
    color: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
  
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .prize-box h4{
    font-size: 50px;
  }

   .prize-box1 h4{
    font-size: 50px;
  }
  
  .prize-box1 p{
    font-size: 50px;
  }

  .prize-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  }
  
  .prize-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
  }
  
  .prize-box .amount {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .prize-box .desc {
    font-size: 1rem;
    opacity: 0.9;
  }
  /* ================= PRIZE POOL FIX ================= */

.prize-pool-section {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}



  /* organizers CSS     */

.organizers-section {
        padding: 60px 20px;
        background: #121f42;
        text-align: center;
      }
      
      .section-title {
        font-size: 90px;
        color: #E29D42;
        margin-bottom: 40px;
      }
      
      .organizers-container {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
      }
      
      .organizer-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 30px 20px;
        width: 300px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .organizer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
      }
      
      .organizer-icon {
        font-size: 40px;
        margin-bottom: 15px;
      }
      
      .organizer-card h3 {
        color: #ffffff  ;
        font-size: 29px;
        margin-bottom: 8px;
      }
      .organizer-card h2 {
        font-size: 20px;
        margin-bottom: 8px;
      
        /* Gradient color */
        background: linear-gradient(90deg, #ffde59, #ff914d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text; /* For some browsers */
      }
      
      .organizer-card p {
        color: #b8c1ec;
        font-size: 22px;
      }

      /* ===== FOOTER ===== */
/* ================= FOOTER ================= */
.footer-logo {
  width: 100%;
  max-width: 420px;   /* desktop limit */
  height: auto;
  margin-bottom: 15px;
}

.footer-links {
  text-align: left;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;   /* 🔥 important */
  gap: 40px;
}


.hack-footer {
  width: 100%;
  background: #091229;
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: 'Roboto Flex', sans-serif;
}

/* Centered inner container */
/* .footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
} */

/* Footer columns */
.footer-col {
  flex: 1;
  min-width: 260px;
}

/* Logo */
.footer-logo {
  width: 400px;
  max-width: 100%;
  height: 70px;
  margin-bottom: 15px;
  display: block;
}

/* Brand text */
.footer-brand h3 {
  color: #E29D42;
  font-family: 'Radley', serif;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #dcdcdc;
}

/* Headings */
.footer-links h4,
.footer-contact h4 {
  color: #E29D42;
  margin-bottom: 15px;
  font-family: 'Radley', serif;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #E29D42;
}

/* Contact info */
.footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
}

/* Deadline highlight */
.footer-deadline {
  margin-top: 15px;
  color: #E29D42;
}

/* Bottom bar */
.footer-bottom {
  max-width: 1300px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  color: #bdbdbd;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .footer-col {
    min-width: 100%;
  }
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* ================= HEADER STYLES ================= */
  
 .custom-navbar {
    background-color: hsl(224, 57%, 16%);
    padding: 15px 0;
  
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  
    z-index: 1000;
  }
  
  /* Logo */
  .logo {
    height: 60px;
    margin-left: -50px;
  }
  
  /* Navigation Links */
  .nav-links .nav-link {
    color: #ffffff;
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.3s ease;
  }
  .navbar-nav{
    margin-right: -50px;
  }
  
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: #E29D42;
  }
  
  /* Register Button */
  .btn-register {
    margin-right: -80px;
    font-family: 'Radley', serif;
    background-color: #E29D42;
    color: #0f172a;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  
  .btn-register:hover {
    background-color: #d18a33;
    color: #ffffff;
  }
  
  /* Hamburger Icon */
  .navbar-toggler {
    border: none;
  }
  
  .navbar-toggler-icon {
    filter: invert(1);
  }

  .section-dark h2{
    font-family: 'Radley', serif;
    font-size: 50px;
  }

  .collapse{
    font-family: 'Lora', serif;
  }.contact-section {
  padding: 60px 20px;
  background: #121f42;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #E29D42;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

/* Left - Map */
.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-left iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 12px;
  border: none;
}

/* Right - Content */
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-right h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-right p {
  color: #cfd6ff;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Form */
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 14px;
}

.contact-form button {
  margin-top: 10px;
  padding: 12px;
  background: #E29D42;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #ffb657;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* Container for all icons */
.contact-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  /* Individual icon buttons */
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #E29D42;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
  }
  
  /* Hover effect */
  .social-icon:hover {
    background: #E29D42;
    color: #000;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  }
  
  /* Mail icon with text */
  .mail-icon {
    width: auto; /* Expand width for text */
    padding: 0 12px; /* Horizontal padding */
    gap: 8px; /* Space between icon and text */
  }
  
  .mail-icon .icon-text {
    display: inline-block;
    font-size: 14px;
    color: #cfd6ff;
    font-weight: 500;
  }
  
  /* Adjust hover for mail text */
  .mail-icon:hover .icon-text {
    color: #000;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .contact-icons {
      justify-content: center;
      gap: 12px;
      margin-top: 15px;
    }
  
    .social-icon {
      width: 42px;
      height: 42px;
      font-size: 18px;
    }
  
    .mail-icon {
      padding: 0 10px;
    }
  
    .mail-icon .icon-text {
      font-size: 13px;
    }
  }


  /* CHIP BOARD */
.chip{
  width:100%;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:16px;
  position:relative;
}

/* SIGNAL GRID (SUBTLE) */
.chip::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(80,160,255,.08) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(80,160,255,.08) 50%, transparent 52%);
  background-size: 180px 140px;
  pointer-events:none;
}

/* MODULE BLOCK */
.module{
  border-radius:16px;
  cursor:pointer;
  transition:.4s ease;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

/* INNER MODULE */
.module-inner{
  background:#0a2348;
  border-radius:14px;
  padding:20px;
  text-align:center;
  min-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* TEXT */
.num{
  font-size:22px;
  font-weight:700;
  background: linear-gradient(
    135deg,
    #ffffff,
    #e5e7eb,
    #cbd5e1,
    #ffffff
  );
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}


.label{
  font-size:25px;                 /* BIGGER */
  margin-top:8px;
  color:#e5e7eb;                  /* SOFT SILVER */
  font-weight:500;
}

.time{
  font-size:20px;
  font-weight:700;
  margin-top:10px;
  background: linear-gradient(
  135deg,
  #6ea8fe,
  #4c7fd9,
  #355fb3,
  #6ea8fe
  );
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}


/* HOVER EFFECT */
.chip:hover .module{
  opacity:.35;
}

.module:hover{
  opacity:1 !important;
  transform:translateY(-8px) scale(1.05);
  animation: fadePulse 1.4s infinite alternate;
}

/* ANIMATIONS */
@keyframes gradientMove{
  to{background-position:300% 0;}
}

@keyframes fadePulse{
  from{opacity:.75;}
  to{opacity:1;}
}

/* RESPONSIVE */
@media(max-width:900px){
  .chip{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:500px){
  .chip{
    grid-template-columns: 1fr;
  }
}


/* ================= MOBILE ================= */
@media (max-width: 900px) {

  .header {
    height: auto;
    padding: 15px 20px;
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .logo {
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .header-buttons {
    justify-content: center;
  }

  .timeline {
    flex-direction: column;
  }
}
  @media (max-width: 900px) {
  .timeline {
    flex-direction: column;
    align-items: center;
  }
}


  /* ================= DOOMSDAY TIMER ================= */
/* ================= HERO TIMER (FINAL SAFE VERSION) ================= */
/* ================= HERO TIMER (OLD POSITION – SAFE) ================= */
.doom-timer {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 3;
  
    font-family: 'Roboto Flex', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
  
    color: #E29D42;
    background: transparent;
    padding: 10px 18px;
    border-radius: 8px;
  
    /* box-shadow: 0 0 15px rgba(226, 157, 66, 0.6);
    animation: pulseGlow 1.5s infinite alternate; */
  }

  
  /* Glowing pulse */
  @keyframes pulseGlow {
    from {
      box-shadow: 0 0 10px rgba(226, 157, 66, 0.4);
    }
    to {
      box-shadow: 0 0 22px rgba(226, 157, 66, 0.9);
    }
  }
  
 @media (max-width: 768px) {
  .doom-timer {
    top: 12px;
    right: 12px;
    font-size: 16px;
    padding: 6px 12px;
    z-index: 9999;

    background: transparent;
    backdrop-filter: blur(6px);
    border-radius: 10px;
  }
}



  /* ================= FINAL MOBILE FIXES ================= */
@media (max-width: 768px) {

  .logo img {
    margin-left: 0 !important;
  }

  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hamburger {
    margin-right: 0;
  }
}

/* ================= FOOTER MOBILE FIX ================= */
@media (max-width: 768px) {

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-logo {
    max-width: 260px;   /* smaller on mobile */
    margin: 0 auto 15px;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-links ul li {
    list-style: none;
  }
}

  @media (max-width: 768px) {

  .prize-pool-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .prize-box h4 {
    font-size: 32px;
  }

  .prize-box .amount {
    font-size: 24px;
  }
}

/* ================= FOOTER QUICK LINKS – MOBILE CENTER FIX ================= */
@media (max-width: 768px) {

  .footer-links {
    text-align: center;
  }

  .footer-links h4 {
    text-align: center;
  }

  .footer-links ul {
    padding: 0;
    margin: 0;
  }

  .footer-links ul li {
    list-style: none;
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    display: inline-block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-links ul li a:hover {
    color: #E29D42;
    transform: scale(1.05);
  }
}


.student-card{
  background:#0f2346;
  padding:22px;
  border-radius:14px;
  color:#ffffff;
  transition:0.3s ease;
}

.student-card h5{
  font-size: 40px;
  color:#ffffff;
  margin-bottom:6px;
}

.student-card p{
  color:#cbd5e1;
  margin:0;
}

.student-card:hover{
  background:#14366f;
  transform:translateY(-6px);
}

