:root {
  --btncolor: #FFC533;
  --sliderpara: #E5E7EB;
}

#slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
}

/* Active slide */
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Overlay */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(42, 64, 175, 0.35); Dark overlay */
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none; /* Clicks pass through */
  z-index: 1;
}

/* Slide content */
.carousel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.carousel-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--sliderpara);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Button */
a.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  background-color: var(--btncolor);
  color: var(--navbartext);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
}

a.theme-btn:hover {
  background: #fff;
  color: #000;
}

/* Carousel arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 3; /* Above overlay */
}

.carousel-btn {
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--btncolor);
  color: #000;
}

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3; /* Above overlay */
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: white;
}

/* Responsive */
@media (max-width: 768px) {
  #slider {
    height: 100vh;
    /*min-height: 600px;*/
  }

  .carousel-content {
    padding: 15px;
    max-width: 90%;
  }

  .carousel-content h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .carousel-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  a.theme-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .carousel-nav {
    padding: 0 10px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .carousel-dots {
    bottom: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  #slider {
    height: 100vh;
    /*min-height: 500px;*/
  }

  .carousel-content h1 {
    font-size: 1.25rem;
  }

  .carousel-content p {
    font-size: 0.85rem;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
.pan-india-text {
  color: var(--logocolor);
  font-weight: 700;
  font-size: 32px;
}