:root {
  --brand: #4f46e5; /* Indigo 600 */
  --brand-700: #4338ca;
  --hero-overlay: linear-gradient(180deg, rgba(10, 14, 23, 0.55), rgba(10, 14, 23, 0.55));
}

html, body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}



/* Cards icon circle */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand);
  font-size: 1.1rem;
}

/* CTA gradient */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
}

/* Navbar on scroll */
.navbar-elevated {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
}

/* Images should never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Utilities */
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.opacity-90 { opacity: .9; }

/* Focus ring for accessibility */
:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.4);
  outline-offset: 2px;
}

#directory .table {
  --bs-table-striped-bg: rgba(79, 70, 229, 0.04); /* subtle striped color using your brand */
}

.hero {
  position: relative;
  height: 100vh;                /* Full viewport height */
  min-height: 500px;            /* Reasonable min height for small screens */
  overflow: hidden;
}

.carousel img {
  object-fit: cover;
  height: 70vh; /* adjust height */
}

/* Caption styling */
.carousel-caption {
  bottom: 15%;
  text-align: center;
}

/* Ensure each image fills the frame and stays centered */
.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* Crop edges while preserving aspect ratio */
  object-position: center;      /* Always keep center visible */
  filter: brightness(0.95);     /* Slight dim for text contrast */
  transition: transform 5s ease-in-out; /* Smooth zoom effect */
}

.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Make carousel and slides occupy the full hero area */
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}

/* Optional subtle zoom-in animation for slide transitions */
.hero .carousel-item.active img {
  transform: scale(1.05);
}

/* Controls visibility styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) drop-shadow(0 0 4px rgba(0,0,0,0.6));
}

/* Indicators styling */
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-caption h5 {
    font-size: 1.5rem;
  }
}

