@import url('../components/variables.php');

.hero-section {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.705); /* Dark overlay for better text visibility */
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

.hero-section p {
  font-size: 1.25rem;
}

.hero-section .bg-image {
  /* Optional: Apply blur effect on the image */
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.9rem;
  }
}

.img-box {
  height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.img-box img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-box:hover img {
  transform: scale(1.1);
}

.caption {
  font-size: 1rem;
  font-weight: 500;
  backdrop-filter: blur(2px);
  transition: background 0.3s ease;
}

.gallery-item {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.caption {
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(2px);
}

.video-caption {
  font-size: 1rem;
  color: var(--main-blue);
  transition: background 0.3s;
}

.video-box:hover .video-caption {
  background-color: #e0ecff;
}

.event-card {
  height: 220px;
}

.event-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-img {
  transform: scale(1.05);
}

h2, h3, h4 {
  font-weight: 600;
  color: var(--main-blue);
}

.text-primary {
  color: var(--main-blue) !important;
}

.text-secondary {
  color: var(--hover-blue) !important;
}

/* New changes for featured section */
.img-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .img-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .img-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .img-card:hover .img-overlay {
    opacity: 1;
  }
  .gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
  }

.cta-section{
  background-color: var(--light-blue-bg);
}

.active{
    background-color: var(--main-blue) !important;
    color: #fff !important;
}