
.professional-blue {
  background-color: #0b3d91 !important;
  color: white;
}

.professional-blue .nav-link,
.professional-blue .navbar-brand {
  color: white !important;
}

.professional-blue .nav-link:hover {
  color: #cce0ff !important;
}

#countdown {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow-x: auto;
}

.countdown-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.count-box {
  background-color: white;
  color: #0d6efd;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

body {
    scroll-behavior: smooth;
    background-color: #f0f4ff;
    transition: background-color 0.3s, color 0.3s;
}

.section-blue {
    background-color: #e6f2ff;
    padding: 2rem;
    border-radius: 15px;
}

.card-hover {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-hover:hover {
    transform: translateY(-10px);
    background-color: #d6eaff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #000;
}

.gallery-img {
  width: 100%;
  height: 250px; /* Let the image keep its natural height */
  background-color: transparent; /* remove padding effect */
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: block;
}

.gallery-img:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.sponsor-img {
  width: 100%;
  height: 250px;
  object-fit: contain;    /* ensures the entire image fits */
  background-color: white; /* optional, adds padding effect if image is smaller */ 
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.sponsor-img:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

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

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(255,255,255,0.3);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem !important;
  }

  #countdown {
    flex-direction: column;
    align-items: start;
    font-size: 0.85rem;
  }

  .navbar-brand img {
    height: 30px !important;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  #countdown {
    gap: 0.5rem;
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .count-box {
    padding: 2px 4px;
    min-width: 24px;
    font-size: 0.75rem;
  }

  .countdown-item {
    gap: 2px;
  }
}


