/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scroll and base font */
body {
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #3fc2b6, #2f6db3);
  font-family: 'Roboto', sans-serif;
  color: #000;
  transition: background 0.5s ease;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: #0d6efd;
  color: white !important;
}

/* Carousel */
.carousel-inner img {
  height: 700px;
  object-fit: cover;
  filter: brightness(85%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.carousel-item{
  object-fit: cover;
}
/* Countdown */
#countdown {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* Animations */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slide {
  animation: slideIn 1s ease forwards;
}
.animate-fade {
  animation: fadeIn 2s ease forwards;
}

/* Section Styling */
section {
  padding: 4rem 0;
  transition: background-color 0.4s ease;
}

#welcome {
  background: linear-gradient(to right, #dbeafe, #e0f2fe);
  color: #0d47a1;
}

#schedule {
  background: #fff;
}

#contact {
  background: #f0f9ff;
}

#terms {
  background: #fff;
}

/* Button */
.btn-primary {
  background-color: #0d6efd;
  border: none;
  padding: 10px 24px;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #084298;
}

/* Terms List */
.terms-list li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  transition: all 0.3s ease-in-out;
}

.terms-list li:hover {
  color: #0d6efd;
  transform: translateX(8px);
}

/* Footer */
footer {
  background-color: #1c1c1c;
  color: #ccc;
}

footer h5 {
  color: #f8f9fa;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Utility */
.container, ul, li {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 762px) {
  .carousel-item img {
    height: 300px;
    object-fit:cover;
  }

  .carousel-overlay {
    padding: 1rem;
    width: 95%;
  }

  h1 {
    font-size: 1.8rem;
  }


}


/* Events Carousel Styles */
#events h2 {
  color: #0d47a1;
  font-weight: 700;
}

#events .carousel-item {
  padding: 2rem 0;
}

#events img {
  border-radius: 12px;
  max-height: 300px;
  object-fit: cover;
  width: 100%;
}

#events .card {
  border-radius: 16px;
  transition: transform 0.3s ease;
}

#events .card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  #events .row {
    flex-direction: column;
  }

  #events img {
    margin-bottom: 1rem;
  }
}
#prizes h2 {
  font-weight: 700;
}

#prizes .card {
  border-radius: 16px;
  transition: transform 0.3s ease;
}

#prizes .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#prizes h3 {
  font-size: 1.8rem;
  font-weight: bold;
}
#entry h2 {
  font-weight: 700;
}

#entry .card {
  border-radius: 16px;
  transition: transform 0.3s ease;
}

#entry .card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#entry .btn {
  font-weight: bold;
  padding: 10px 24px;
}
