*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
}

/* ===== HEADER ===== */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

/* ===== HEADER ===== */
.top-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:35px;
  padding:20px;
  background: linear-gradient(135deg, #F8DDE3, #F3C7D3);
  position:relative;
  flex-wrap:wrap;
  text-align:center;
}

/* SHINE EFFECT */
.top-header::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  animation:shine 6s infinite;
}

@keyframes shine{
  0%{ left:-100%; }
  100%{ left:100%; }
}

/* HEADER TEXT */
.header-center{
  text-align:center;
}

/* TITLE (similar to 5th image) */
.top-header h1{
  font-size:clamp(24px, 3vw, 52px);
  font-weight:700;
  color:#7B1E3A;
  letter-spacing:2px;
  font-family:'Cinzel', serif;
}

/* SUB TITLE */
.top-header h2{
  font-size:clamp(18px, 2.5vw, 26px);
  font-weight:600;
  color:#9A2E50;
  margin-top:5px;
font-family:'Cinzel', serif;
}

@media(max-width:768px){
  .top-header h2{
    font-size:26px !important;
  }
}


/* SUB TEXT */
.sub-text{
  font-size:clamp(14px, 2vw, 20px);
  font-weight:500;
  color:#6A2C45;
  margin-top:6px;
font-family:'Cinzel', serif;
}

/* LOGO */
.top-logo{
  width:clamp(90px, 10vw, 150px);
  height:auto;
}

/* ================= MAIN HEADER ================= */
.main-header{
  padding:14px 0;
  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  border-top:1px solid rgba(255,255,255,0.4);
}

/* NAV CONTAINER */
.container{
  width:95%;
  max-width:1300px;
  margin:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}


/* NAV LINKS */
.navbar a{
  color:#6A1B37;
  text-decoration:none;
  margin:0 12px;
  font-weight:600;
  font-size:16px;
  font-family:'Poppins', sans-serif;
  transition:0.3s;
}

.navbar a:hover{
  color:#ffffff;
}

/* RESPONSIVE */
@media(max-width:768px){
  .top-header{
    flex-direction:column;
    gap:15px;
  }

  .top-header h1{
    font-size:22px;
  }

  .top-header h2{
    font-size:18px;
  }

  .sub-text{
    font-size: 18px;
        font-weight: 500;
  }
}


/* MENU CONTAINER */
.menu{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap; /* ✅ IMPORTANT */
  gap:10px;
  overflow:hidden;


  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  padding:10px;

}

/* MENU LINKS */
.menu a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  color:#2E1B25; /* dark readable text */
  text-decoration:none;

  font-size:17px;
  font-weight:600;

  padding:12px 14px;
  border-radius:20px;

  transition:0.3s;
  white-space:nowrap;

  background:rgba(255,255,255,0.3); /* soft pill background */
  backdrop-filter:blur(4px);
}

/* ICON INSIDE MENU (if any) */
.menu a i{
  color:#6A1B37; /* violet icon */
}

/* HOVER EFFECT */
.menu a:hover{
  background:#ffffff;
  color:#6A1B37;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(111,66,193,0.25);
}

/* HOVER ICON */
.menu a:hover i{
  color:#6A1B37;
}

/* MENU TOGGLE ICON */
.menu-toggle{
  display:none;
  font-size:26px;
  color:#6A1B37; /* dark violet */
  cursor:pointer;
  transition:0.3s;
}

.menu-toggle:hover{
  color:#6A1B37;
}




/* ===== INTRO ===== */
.competition-intro{
  text-align:center;
  padding:40px 20px;
  max-width:900px;
  margin:auto;
}

.competition-intro h1{
  color:#ff7a00;
  margin-bottom:10px;
}

.competition-intro p{
  color:#555;
  line-height:1.6;
}

/* ===== CARDS ===== */
.competition-section{
  width:95%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
  padding-bottom:40px;
}

.card{
  background:#fff;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  transition:0.3s;
  text-align:center;
}

.card:hover{
  transform:translateY(-8px);
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.card h2{
  font-size:20px;
  color:#ff7a00;
  margin:15px 0 10px;
}

.card p{
  font-size:14px;
  color:#555;
  padding:0 15px 20px;
}

/* ================= MOBILE MENU ================= */

/* show toggle button */
@media(max-width:768px){

  .menu-toggle{
    display:block;
    position:absolute;
    right:20px;
    top:15px;
    z-index:1000;
  }

.menu{
  position:absolute;
  top:60px;
  left:0;
  width:100%;
  flex-direction:column;
  background: linear-gradient(135deg, #E9AFC0, #D98CA5);
  display:none;
  padding:15px 0;
  border-radius:0;
  overflow:hidden; /* ✅ add this */
}


  .menu a{
    width:90%;
    margin:5px auto;
    text-align:center;
  }

  .menu.active{
    display:flex; /* show when clicked */
  }
}

