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

body{
font-family:'Poppins',sans-serif;
line-height:1.6;
color:#333;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 15px;
}



@media (max-width: 768px){

    html{
        scroll-padding-top:160px;
    }

}

header{
background:white;
padding:15px 0;
position:sticky;
top:0;
z-index:100;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}




@media (min-width:769px){
    section[id]{
        scroll-margin-top:120px;
    }
}


.desktop-nav ul {
    gap: 24px;
}

.desktop-nav a[href="#registration"]{
    background:#d32f2f;
    color:white;
    padding:8px 16px;
    border-radius:6px;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
gap:60px;
}

@media(max-width:768px){

    .nav{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

}



.logo-img{
    height:90px;
    width:auto;
}

@media(max-width:768px){

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

    .logo-img{
        height:70px;
    }

}

.club-title{
    font-size:34px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;   /* keeps it on one line */
    margin-bottom:4px;
}

.club-tagline{
    font-size:12px;
    font-weight:500;
    white-space:nowrap;
}


@media (max-width:768px){

    .club-title{
        font-size:22px;
    }

    .club-tagline{
        font-size:11px;
        white-space:nowrap;
    }
}

.brand{
    display:flex;
    align-items:center;
    gap:15px;
}
.brand-text h2{
    margin:0;
    color:black;
    font-size:1.4rem;
    font-weight:700;
}
.brand-text p{
    color:red;
    font-style:italic;
    font-weight:600;
    letter-spacing:0.5px;
    white-space:nowrap;
}


nav ul{
    display:flex;
    list-style:none;
    gap:18px;
    flex-wrap:nowrap;
}

@media(max-width:768px){
    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }
}

nav a{
    text-decoration:none;
    color:#000;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:#31572c;
}



.hero{
min-height: 80vh;
background:
 linear-gradient(
        rgba(255,215,0,0.18),
        rgba(120,80,0,0.35)
    ),
 url("https://raw.githubusercontent.com/HCChessClub1620/hcc-chess-website/main/WebsiteLogo/Background%20Logo.png");
background-size:cover;
background-position:center;
padding:100px 0;
color:gold;
   filter: contrast(1.15) saturate(1.2);
}


.hero-content h2,
.hero-content p {
    color: white;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 500px;
    gap:30px;
}

.hero h1{
    font-size:3rem;
    margin-bottom:20px;
}

@media(max-width:768px){
  .hero{
        min-height:auto;
        padding:50px 0;
    }
    .hero h1{
        font-size:2rem;
    }
}

.hero p{
font-size:1.1rem;
margin-bottom:25px;
}

.buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.learn-more-row{
    margin-top:12px;
}

@media(max-width:768px){

    .learn-more-row{
        margin-left:0;
        text-align:center;
    }

}

.btn-learn-more{
    background:transparent;
    color:white;
    font-weight:700;
    text-decoration:none;
    padding:12px 24px;
    border:2px solid white;
    border-radius:6px;
    display:inline-block;
}

.btn-learn-more:hover{
    background:rgba(255,255,255,0.1);
}

.btn{
display:inline-block;
padding:12px 25px;
background:#d92323;
color:white;
text-decoration:none;
border-radius:6px;
}


.btn:hover{
    background:#b81818;
}

.btn-payment,
.btn-register{
    background: yellow;
    color:purple;
    font-weight: 700;
}

.btn-register:hover{
    background: #ffd700; /* gold */
    color: darkred;
}

.btn-outline{
padding:12px 25px;
border:2px solid white;
color:white;
text-decoration:none;
margin-left:10px;
}

.registration-card {
    background: white;
    color: #333;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,.2);

    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

@media(max-width:768px){

    .registration-card{
        padding:25px;
    }

}


.learn-more-card{
    background:red;
    color:white;
    padding:12px 24px;
    border-radius:6px;
    font-weight:600;
}



.about-story{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:50px;
    color:#132a13;
    align-items:center;
}

@media(max-width:768px){

    .about-story{
        grid-template-columns:1fr;
        text-align:center;
    }

    .journey-logo img{
        max-width:250px;
    }

}

.journey-logo img{
    width:100%;
    max-width:320px;
}
html{
    scroll-behavior:smooth;
    scroll-padding-top:120px;
}

section[id]{
    scroll-margin-top:0;
}

@media (max-width:768px){
    html{
        scroll-padding-top:180px;
    }
}

.founders-grid{
    display:flex;
    justify-content:center;
    gap:50px;
    flex-wrap:wrap;
    margin-top:40px;
}

.founder-card{
    width:100%;
    max-width:350px;
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    text-align:center;
}

.founder-card img{
    width:240px;
    height:240px;
    object-fit:cover;
    border-radius:50%;
}

.founder-card h3{
    margin-bottom:5px;
}

.founder-title{
    font-size:0.95rem;
     color:#132a13;
    margin-bottom:15px;
}

.founder-achievements{
    list-style:none;
    padding:0;
    margin-top:15px;
}

.founder-achievements li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
    line-height:1.6;
}

.founder-achievements li::before{
    content:"♟";
    color:#31572c;
    font-weight:bold;
    flex-shrink:0;
}

/* ==========================
   COACHES SECTION
========================== */

.coaches-section{
    padding:100px 0;
    background:#f8faf8;
}


.section-header{
    max-width:900px;
    margin:0 auto 60px;
    text-align:center;
}

.section-tag{
    display:inline-block;
    background:#31572c;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:.9rem;
    font-weight:600;
    margin-bottom:18px;
     letter-spacing:.5px;
}


.section-header h2{
    font-size:3rem;
    font-weight:700;
    color:#132a13;
    margin-bottom:0;
    line-height:1.2;
}

@media(max-width:768px){

    .section-header h2{
        font-size:2rem;
    }

}
/* ==========================
   FEATURED COACH
========================== */

.featured-coach{
    background:white;
    border-radius:24px;
    padding:45px;
    display:flex;
    gap:50px;
    align-items:center;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-bottom:60px;
}

.coach-image{
    flex:0 0 320px;
}

.coach-image img{
    width:320px;
    height:320px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid #31572c;
}

.coach-content{
    flex:1;
}

.coach-badge{
    display:inline-block;
    background:#ecf6ea;
    color:#31572c;
    padding:6px 14px;
    border-radius:20px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:15px;
}

.coach-content h3{
    font-size:2.2rem;
    color:#132a13;
    margin-bottom:8px;
}

.coach-content h4{
    color:#31572c;
    font-size:1.1rem;
    margin-bottom:25px;
}

.coach-content p{
    color:#555;
    margin-bottom:16px;
    line-height:1.8;
}

/* ==========================
   STUDENT COACHES
========================== */

.student-coaches{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.student-card{
    background:white;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.student-card:hover{
    transform:translateY(-8px);
}

.student-avatar{
    width:90px;
    height:90px;
    margin:0 auto 20px;
    border-radius:50%;
    background:#31572c;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
}

.student-card h3{
    color:#132a13;
    margin-bottom:8px;
}

.student-role{
    display:block;
    color:#31572c;
    font-weight:600;
    margin-bottom:18px;
}

.student-card p{
    color:#555;
    line-height:1.7;
}

/* ==========================
   MOBILE
========================== */

@media(max-width:900px){

    .featured-coach{
        flex-direction:column;
        text-align:center;
    }

    .coach-image{
        flex:auto;
    }

    .student-coaches{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:2.3rem;
    }
}

@media(max-width:600px){

    .featured-coach{
        padding:30px;
    }

    .coach-image img{
        width:240px;
        height:240px;
    }

    .coach-content h3{
        font-size:1.8rem;
    }
}

/* ==========================
   WHAT WE OFFER
========================== */

.offer-section{
    padding:100px 0;
    background:#f8faf8;
}

.offer-image{
    text-align:center;
    margin:40px 0 60px;
}

.offer-image img{
    max-width:750px;
    width:100%;
    height:auto;
}

/* Programs */

.program-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-bottom:70px;
}

.program-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.program-card:hover{
    transform:translateY(-8px);
}

.program-icon{
    font-size:3rem;
    margin-bottom:15px;
}

.program-card h3{
    color:#132a13;
    margin-bottom:15px;
}

.program-card p{
    color:#555;
    line-height:1.8;
}

.featured-program{
    border-top:5px solid #31572c;
}

/* Highlights */

.program-highlights{
    background:white;
    padding:45px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.program-highlights h3{
    text-align:center;
    color:#132a13;
    font-size:2rem;
    margin-bottom:35px;
}

.highlights-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.highlight-item{
    background:#f5f8f4;
    padding:18px 22px;
    border-radius:12px;
    color:#333;
    font-weight:500;
}

/* Responsive */

@media(max-width:900px){

    .program-grid{
        grid-template-columns:1fr;
    }

    .highlights-grid{
        grid-template-columns:1fr;
    }
}

.why-choose{
    background:#f8faf8;
}

.feature-row{
    display:flex;
    align-items:center;
    gap:50px;
    margin-bottom:80px;
}

.feature-row.reverse{
    flex-direction:row-reverse;
}

.feature-image{
    flex:1;
}

.feature-image img{
    width:100%;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.feature-content{
    flex:1;
}

.feature-content h3{
    color:#132a13;
    font-size:2rem;
    margin-bottom:20px;
}

.feature-content p{
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
}

.feature-content ul{
    padding-left:20px;
}

.feature-content li{
    margin-bottom:10px;
}

  .image-pair{
        grid-template-columns:1fr;
    }


.curriculum-images{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.academy-highlights{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:40px;
}

.highlight-box{
    background:white;
    padding:22px;
    border-radius:15px;
    text-align:center;
    font-weight:600;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
}

@media(max-width:900px){

    .feature-row,
    .feature-row.reverse{
        flex-direction:column;
    }

    .academy-highlights{
        grid-template-columns:1fr;
    }

 .image-pair{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

 .image-pair img{
        height:auto;
    }
}



.image-pair{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

/* ======================
   FEES SECTION
====================== */

.fees-section{
    padding:100px 0;
    background:#fff;
}

.fees-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:50px;
}

.fee-card{
    background:#f8faf8;
    text-align:center;
    padding:40px;
    border-radius:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
.fee-card img{
    width:180px;
    height:180px;
    object-fit:contain;
    margin-bottom:15px;
    transition:.3s;
}

.fee-card:hover img{
    transform:scale(1.08);
}
.featured{
    border:4px solid #31572c;
    position:relative;
}

.featured::before{
    content:"BEST VALUE";
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:#31572c;
    color:white;
    padding:8px 18px;
    border-radius:20px;
    font-size:.8rem;
    font-weight:600;
}

.price{
    font-size:3rem;
    font-weight:700;
    color:#132a13;
    margin:15px 0;
}

.deadline{
    display:inline-block;
    margin-top:15px;
    padding:8px 16px;
    background:#ecf6ea;
    color:#31572c;
    border-radius:20px;
    font-weight:600;
}

/* Discounts */

.discount-section{
    margin-top:80px;
}

.discount-section h3{
    text-align:center;
    font-size:2rem;
    color:#132a13;
    margin-bottom:40px;
}

.discount-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.discount-card{
    background:#f8faf8;
    text-align:center;
    padding:35px;
    border-radius:20px;
}

.discount-card img{
    width:90px;
    height:90px;
    object-fit:contain;
    margin-bottom:15px;
}

.discount-price{
    font-size:1.5rem;
    font-weight:700;
    color:#31572c;
    margin:15px 0;
}

/* Included */

.value-box{
    margin-top:80px;
    background:#132a13;
    color:white;
    border-radius:24px;
    padding:50px;
}

.value-box h3{
    text-align:center;
    margin-bottom:35px;
    font-size:2rem;
}

.value-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.value-grid div{
    background:rgba(255,255,255,.08);
    padding:15px;
    border-radius:10px;
}

@media(max-width:900px){

    .fees-grid,
    .discount-grid,
    .value-grid{
        grid-template-columns:1fr;
    }
}



/* =========================
   ENROLLMENT CTA
========================= */

.enrollment-cta{
    margin-top:70px;
    padding:60px;
    border-radius:28px;
    text-align:center;

    background:linear-gradient(
        135deg,
        #132a13,
        #31572c
    );

    color:white;

    box-shadow:0 15px 40px rgba(0,0,0,.18);
}

.cta-badge{
    display:inline-block;

    background:#ffd60a;
    color:#132a13;

    padding:10px 20px;

    border-radius:30px;

    font-weight:700;
    letter-spacing:.5px;

    animation:pulse 2s infinite;
}

.enrollment-cta h2{
    margin-top:25px;
    font-size:3rem;
    color:white;
}

.enrollment-cta p{
    max-width:800px;
    margin:20px auto;
    line-height:1.8;
    font-size:1.05rem;
}

.countdown-message{

    background:rgba(255,255,255,.12);

    padding:18px;
    border-radius:15px;

    margin:30px auto;

    max-width:600px;

    font-size:1.2rem;
    font-weight:600;
}

.cta-highlights{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;

    margin:40px auto;

    max-width:800px;
}

.cta-highlights div{

    background:rgba(255,255,255,.08);

    padding:15px;

    border-radius:12px;
}

.btn-register-now{

    display:inline-block;

    background:#ffd60a;
    color:#132a13;

    padding:18px 40px;

    border-radius:40px;

    font-size:1.2rem;
    font-weight:700;

    text-decoration:none;

    margin-top:20px;

    transition:.3s;
}

.btn-register-now:hover{
    transform:translateY(-3px) scale(1.05);
}

/* PAYMENT */

.payment-section{
    margin-top:60px;
}

.payment-section h3{
    color:white;
    margin-bottom:10px;
}

.payment-grid{

    display:flex;
    justify-content:center;
    gap:40px;

    flex-wrap:wrap;

    margin-top:30px;
}

.payment-card{

    background:white;

    color:#132a13;

    padding:25px;

    border-radius:20px;

    width:240px;
}

.payment-card h4{
    margin-bottom:15px;
}

.payment-card img{

    width:180px;
    height:180px;

    object-fit:contain;

    border-radius:10px;
}

/* PULSE */

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.05);
    }

    100%{
        transform:scale(1);
    }
}

/* MOBILE */

@media(max-width:768px){

    .enrollment-cta{
        padding:35px 20px;
    }

    .enrollment-cta h2{
        font-size:2rem;
    }

    .cta-highlights{
        grid-template-columns:1fr;
    }

    .payment-grid{
        flex-direction:column;
        align-items:center;
    }
}

.gallery-section{
    padding:80px 20px;
    background:#f8faf8;
}

.event-gallery{
    margin-bottom:60px;
}

.event-gallery h3{
    margin-bottom:20px;
    color:#234f23;
}


.gallery-title {
  margin: 20px 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonials-section{
    padding:100px 0;
    background:#f8faf8;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:50px;
}

.testimonial-card{
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-5px);
}

.stars{
    color:#f5b301;
    font-size:1.3rem;
    margin-bottom:15px;
}

.testimonial-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

.testimonial-card h4{
    color:#132a13;
    margin-bottom:5px;
}

.testimonial-card span{
    color:#777;
    font-size:.9rem;
}

.testimonial-actions{
    text-align:center;
    margin-top:50px;
}

.btn-testimonial{
    display:inline-block;
    background:#31572c;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.btn-testimonial:hover{
    background:#132a13;
}

.review-policy{
    margin-top:40px;
    padding:25px;
    border-left:5px solid #31572c;
    background:#ecf6ea;
    border-radius:10px;
}

.review-policy h4{
    color:#132a13;
    margin-bottom:10px;
}

.review-policy p{
    color:#555;
    line-height:1.7;
}

@media(max-width:768px){

    .testimonial-grid{
        grid-template-columns:1fr;
    }

}

.sponsors-section{
    padding:100px 0;
    background:#f8faf8;
}

.sponsor-banner{
    margin:50px 0;
    text-align:center;
}

.sponsor-banner img{
    width:100%;
    max-width:1000px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

/* Sponsorship Levels */

.sponsor-levels{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:10px;
    margin:25px 0;
}

.sponsor-card{
    background:white;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.sponsor-card:hover{
    transform:translateY(-8px);
}

.sponsor-card h3{
    color:#132a13;
    margin-bottom:15px;
}

.amount{
    font-size:2rem;
    font-weight:700;
    color:#31572c;
    margin-bottom:15px;
}

.checkmate{
    border:3px solid #31572c;
}

/* Recognition */

.recognition-box{
    background:white;
    padding:45px;
    border-radius:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.recognition-box h3{
    text-align:center;
    color:#132a13;
    margin-bottom:30px;
}

.recognition-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.recognition-item{
    background:#ecf6ea;
    padding:18px;
    border-radius:12px;
}

/* CTA */

.sponsor-cta{
    margin-top:50px;
    text-align:center;
    background:linear-gradient(
        135deg,
        #132a13,
        #31572c
    );
    color:white;
    padding:50px;
    border-radius:24px;
}

.sponsor-cta h3{
    font-size:2rem;
    margin-bottom:15px;
}

.btn-sponsor{
    display:inline-block;
    margin-top:20px;
    background:#ffd60a;
    color:#132a13;
    text-decoration:none;
    font-weight:700;
    padding:15px 30px;
    border-radius:30px;
}

@media(max-width:768px){

    .recognition-grid{
        grid-template-columns:1fr;
    }

}

.sponsor-visibility{
    margin:70px 0;
}

.shirt-showcase{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin-top:40px;
}

.shirt-card{
    background:white;
    padding:25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.shirt-card img{
    width:100%;
    max-height:500px;
    object-fit:contain;
    border-radius:12px;
}

.shirt-card h4{
    margin-top:20px;
    color:#132a13;
}

@media(max-width:768px){

    .shirt-showcase{
        grid-template-columns:1fr;
    }

}


.btn-sponsor{
    display:inline-block;
    margin-top:20px;
    background:#ffd60a;
    color:#132a13;
    text-decoration:none;
    font-weight:700;
    padding:16px 34px;
    border-radius:35px;
    transition:.3s;
    box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.btn-sponsor:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.20);
}
.section{
padding:80px 0;
}

.light{
background:#f7f7f7;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:40px;
}

.card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,.08);
}

table{
width:100%;
border-collapse:collapse;
margin-top:30px;
}

table th,
table td{
padding:15px;
border:1px solid #ddd;
text-align:left;
}

.contact-header{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-bottom:30px;
    flex-wrap:wrap;
}

.btn-contact{
    display:inline-block;

    background:#ffd60a;
    color:#132a13 !important;

    text-decoration:none !important;

    font-weight:700;
    font-size:1rem;

    padding:14px 28px;

    border-radius:35px;

    transition:.3s;

    box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.btn-contact:hover{
    background:#ffdf3a;
    color:#132a13 !important;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.20);
}

  .contact-card{
    text-align:center;
}

footer{
background:#17153b;
color:white;
text-align:center;
padding:50px 20px;
}




@media(max-width:768px){

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero{
        padding:60px 0;
    }

    .hero-content{
        text-align:center;
    }

    .buttons{
        justify-content:center;
    }


    .hero h2{
        font-size:1.2rem;
    }

}
 
 
nav ul li a{
    color:#000;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

nav ul li a:hover{
    color:#31572c;
  
}
  
  @media (max-width:768px){

    .container{
        padding:0 15px;
    }

    .nav{
        flex-direction:column;
        gap:15px;
    }

     .logo-img{
        height:70px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .hero{
        padding:60px 0;
    }

    
    
    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-content{
        text-align:center;
    }

    .buttons{
        justify-content:center;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero h2{
        font-size:1.2rem;
    }

    .learn-more-row{
        margin-left:0;
        text-align:center;
    }

    .registration-card{
        padding:25px;
    }

    .about-story{
        grid-template-columns:1fr;
        text-align:center;
    }

    .founder-card{
        width:100%;
    }

    .section-header h2{
        font-size:2rem;
    }
}
/* =========================
   REGISTRATION SECTION
========================= */

@media(max-width:768px){

    .desktop-nav ul{
        justify-content:center;
    }

    .desktop-nav a[href="#registration"]{
        display:inline-block;
    }

}
.registration-section{
    padding:100px 0;
    background:#f8faf8;
}

.registration-form{
    max-width:800px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.registration-form input,
.registration-form select,
.registration-form textarea{

    width:100%;
    padding:15px;
    margin-bottom:18px;

    border:1px solid #ddd;
    border-radius:10px;

    font-size:16px;
}




.register-submit{

    width:100%;

    background:#31572c;
    color:white;

    border:none;

    padding:18px;

    border-radius:10px;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.register-submit:hover{
    background:#132a13;
}

.payment-display{

    margin-top:25px;

    padding:25px;

    background:#f5f8f4;

    border-radius:15px;

    text-align:center;
}

.payment-display img{
    max-width:250px;
    width:100%;
    margin-bottom:15px;
}

.consent-note{
    background:#f8f9fa;
    border-left:4px solid #4CAF50;
    padding:15px;
    margin-bottom:15px;
    border-radius:5px;
    font-size:14px;
    color:#555;
}

.consent-note p{
    margin:0;
}

.payment-note{
    background:#f8f9fa;
    border-left:4px solid #f4b400;
    padding:15px;
    margin-bottom:15px;
    border-radius:5px;
    font-size:14px;
    color:#555;
}

.payment-note p{
    margin:0;
}

.success-message{
    display:none;
    background:#f8f9fa;
    border-left:4px solid #4CAF50;
    padding:20px;
    margin-top:20px;
    border-radius:5px;
    color:#555;
}

.success-message h3{
    color:#4CAF50;
    margin-bottom:15px;
}


.success-message p{
    margin-bottom:10px;
    color:#555;
}


.success-popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    z-index:99999;

    justify-content:center;
    align-items:center;
}

@media(max-width:768px){

    .popup-box{
        width:95%;
        padding:20px;
        max-height:90vh;
        overflow-y:auto;
    }

    .popup-box h2{
        font-size:26px;
    }

    .popup-box p{
        font-size:16px;
    }

    .success-icon{
        font-size:60px;
    }
}


.popup-box{
    background:#28a745;
    color:white;
    width:90%;
    max-width:700px;
    padding:50px;
    border-radius:20px;
    text-align:center;

    box-shadow:0 0 40px rgba(0,0,0,0.4);

    animation:popupScale 0.4s ease;
}

.success-icon{
    font-size:90px;
    margin-bottom:15px;
}

.popup-box h2{
    font-size:42px;
    margin-bottom:15px;
}

.popup-box p{
    font-size:20px;
    margin-bottom:15px;
}

.popup-box button{
    margin-top:20px;
    padding:15px 40px;
    border:none;
    border-radius:10px;
    background:white;
    color:#28a745;
    font-weight:bold;
    cursor:pointer;
    font-size:18px;
}

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

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img{
    max-width:90%;
    max-height:85%;
    border-radius:10px;
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:45px;
    cursor:pointer;
}


/* DESKTOP */
.menu-toggle{
    display:none;
}

/* MOBILE ONLY */
@media (max-width:768px){

    .menu-toggle{
        display:block;
        background:none;
        border:none;
        font-size:32px;
        cursor:pointer;
        color:#000;
    }

    .nav{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .brand{
        flex-direction:row;
        text-align:left;
    }

    #mainNav{
        display:none;

        position:absolute;
        top:100%;
        left:0;

        width:100%;

        background:white;

        box-shadow:0 5px 15px rgba(0,0,0,.15);

        padding:15px 0;
    }

    #mainNav.active{
        display:block;
    }

    #mainNav ul{
        flex-direction:column;
        gap:15px;
        align-items:center;
    }

    header{
        position:sticky;
    }
}

#mainNav{
    z-index:1000;
}

#mainNav ul li{
    width:100%;
    text-align:center;
}

#mainNav ul li a{
    display:block;
    padding:12px 0;
}

.review-submit{
    width:100%;
    max-width:350px;
    padding:15px;
    border:none;
    border-radius:8px;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;

    background:linear-gradient(135deg,#d4af37,#f4d03f);
    color:#111;

    transition:0.3s;
}

.review-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(212,175,55,0.3);
}
.registration-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:1rem;
    font-family:'Poppins',sans-serif;
    resize:vertical;
    min-height:120px;
    box-sizing:border-box;
}


.spotlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.spotlight-card h4 {
    margin: 8px 0 4px;
    color: #132a13;
}

.spotlight-title {
    font-size: 13px;
    color: #4f772d;
}

.spotlight-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative; /* FIXED TYPO */
    gap:20px;
    width:100%;
}

/* pages */
.spotlight-page{
    display:none;
    width:100%;
}

.spotlight-page.active{
    display:block;
}

/* grid */
.spotlight-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

/* cards */
.spotlight-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* arrows */
.spotlight-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:1000;

    background:#4f772d;
    color:#fff;
    border:none;

    font-size:28px;
    width:50px;
    height:50px;
    border-radius:50%;

    cursor:pointer;
}

.spotlight-btn{
    display:flex;
    align-items:center;
    justify-content:center;
}

/* LEFT */
.spotlight-btn.prev{
    left:-25px; /* pulls outside nicely */
}

/* RIGHT */
.spotlight-btn.next{
    right:-25px;
}

.spotlight-btn:hover{
    transform:translateY(-50%) scale(1.1);
}
@media(max-width:768px){

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

    .spotlight-grid img{
        height:180px;
    }

}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.tournament-card {
  cursor: pointer;
  text-align: center;
}

.tournament-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.2s;
}

.tournament-card img:hover {
  transform: scale(1.03);
}


.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  display:none;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }


.gallery-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:30px;
}
.gallery-pagination button{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#31572c;
    color:white;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;
    margin:0;
    line-height:1;
    font-size:22px;
}
}

.gallery-pagination button:hover{
    background:#4f772d;
}

#galleryPageInfo{
    font-weight:600;
    min-width:70px;
    text-align:center;
}
