body {
    background-color: #0f141a;
    color: #fff;
    text-align: center;
    margin: 0;
}
header {
    background-color: #2C3E50; /* Dark Blue-Gray */
    padding: 1.5rem 0;
}
.navbar-brand img {
    height: 100px;
    max-width: 100%;
}
.navbar-nav {
    justify-content: center;
    width: 100%;
}
.nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.nav-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
section.intro {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #e0e0e0;
}
section.intro h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Change this line inside your contact section */
.card {
  background-color: #2C3E50 !important; /* brighter blue-gray */
  color: #ffffff;
}

/* Optional: lighten the input backgrounds */
.form-control.bg-dark {
  background-color: #3a4b5c !important;
  color: #ffffff !important;
}

/* Rotating Showcase */
.hero-rotator {
  position: relative;
  background: #0f141a; /* fallback color while images load */
}

.hero-rotator .carousel,
.hero-rotator .carousel-inner,
.hero-rotator .carousel-item,
.hero-rotator .carousel-item img {
  height: 60vh;           /* nice mid-page height; adjust as needed */
  min-height: 420px;      /* ensures presence on short screens */
}

@media (min-width: 992px) {
  .hero-rotator .carousel,
  .hero-rotator .carousel-inner,
  .hero-rotator .carousel-item,
  .hero-rotator .carousel-item img {
    height: 70vh;
  }
}

.hero-rotator .carousel-item img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
  display: block;
}

/* Subtle dark gradient overlay for readability */
.hero-rotator .carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.65) 0%,
    rgba(17, 24, 39, 0.35) 40%,
    rgba(17, 24, 39, 0.15) 100%
  );
  pointer-events: none;
}

/* Caption styling to match the dark blue-gray theme */
.hero-rotator .carousel-caption {
  bottom: 12%;
  text-align: left;
  left: 8%;
  right: 8%;
  color: #fff;
}

.hero-rotator .carousel-caption h2 {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.hero-rotator .carousel-caption p {
  font-size: clamp(1rem, 1vw + 0.6rem, 1.25rem);
  color: #e6edf3;
  max-width: 720px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Indicators and controls tuned for the dark theme */
.hero-rotator .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  opacity: 1;
}

.hero-rotator .carousel-indicators .active {
  background-color: #0d6efd; /* Bootstrap primary – matches dark blue-gray nicely */
}

.hero-rotator .carousel-control-prev-icon,
.hero-rotator .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* Optional: pause animation when user hovers (UX-friendly) */
.hero-rotator .carousel:hover {
  animation-play-state: paused;
}
