body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2, h4 {
  color: #333;
}

/* Banner responsive height */
.banner-container {
  width: 100%;
  height: 33vh; /* default: 1/3 screen */
  overflow: hidden;
  margin: 0;
}

.banner-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* On small screens (mobiles), make it 1/2 screen height */
@media (max-width: 768px) {
  .banner-container {
    height: 50vh;
  }
}

/* About section overlapping the banner */
.about-overlap {
  position: relative;
  margin-top: -80px; /* overlap effect */
  z-index: 2;
}

.about-card {
  background: #fff;
  max-width: 800px;
  margin: auto;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out forwards;
}

/* Fade + Slide-up Animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Leader animations */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  animation: slideRight 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Leader Section background glow */
.leader-section {
  position: relative;
  padding: 3rem 1rem;
  border-radius: 12px;
  overflow: hidden;
}

/* Base glow */
.leader-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,123,255,0.15), transparent 70%);
  transition: all 0.3s ease;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}

/* Glow follows mouse */
.leader-section:hover::before {
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0,123,255,0.25), transparent 70%);
}

/* Ensure images cover the carousel area - yatra page */
.object-fit-cover {
  object-fit: cover;
}

/* Adjust carousel control icons - yatra page */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px;
  height: 40px;
}

.carousel-control-prev-icon {
  background-size: 100%, 100%;
}

.carousel-control-next-icon {
  background-size: 100%, 100%;
}

/* Hover effect to highlight circular images - yatra page*/
.hover-shadow:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* top bar icon for Login & Register */
.navbar-nav .dropdown-toggle {
  color: white;
}

.navbar-nav .dropdown-toggle:hover {
  color: #ddd;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

/*glowing red clickable link of Yatra Page */
.glow-red {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.glow-red:hover {
    text-shadow: 0 0 5px #ff4d4d, 0 0 10px #ff1a1a, 0 0 20px #e60000;
    transform: scale(1.05);
}

.justify-text {
  text-align: justify;
}
