/* =======================
   Header / Navbar
======================= */
.header-bar {
  background: #00baf2;
}

.header-bar .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 15px;
}

/* Better spacing on small screens */
@media (max-width: 768px) {
  .header-bar .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

/* =======================
   Hero / Sections
======================= */
.hero {
  background: linear-gradient(135deg, #00baf2, #0090c5);
  color: white;
  padding: 80px 0;
}

.section-title {
  color: #002970;
  margin-bottom: 20px;
}

/* =======================
   Footer Base
======================= */
.footer-bar {
  background: #002970;
  color: white;
  padding: 40px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =======================
   Animations (reveal on scroll)
======================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { transform: translateX(-18px); }
.reveal-right { transform: translateX(18px); }
.reveal-left.show, .reveal-right.show { transform: translateX(0); }

/* Navbar underline animation */
.navbar .nav-link {
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.9);
  transition: width .25s ease;
}
.navbar .nav-link:hover::after {
  width: 100%;
}

/* Card hover */
.card.hover-lift {
  transition: transform .25s ease, box-shadow .25s ease;
}
.card.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* =======================
   Footer Flex (Desktop 30/70)
======================= */
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left {
  flex: 0 0 30%;
  width: 30%;
}

.footer-right {
  flex: 0 0 70%;
  width: 70%;
  display: flex;
  justify-content: flex-end;
}

/* Images layout (Desktop: one row) */
.footer-images {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: 100%;
}

.footer-images img {
  width: 30%;
  max-width: 220px;
  min-width: 140px;
  height: auto;
  opacity: 0.9;
  transition: transform .25s ease, opacity .25s ease;
}

.footer-images img:hover {
  transform: scale(1.06);
  opacity: 1;
}

/* =======================
   Footer Mobile – 1 image per row
======================= */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    flex: 0 0 100%;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-images {
    justify-content: center;
    flex-direction: column;   /* 🔴 KEY LINE */
    align-items: center;
    gap: 16px;
  }

  .footer-images img {
    width: 80%;               /* one image per row */
    max-width: 260px;
    min-width: unset;
  }
}

/* Carousel fixed height */
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 320px;
  background: #0b2b44;
}

/* Fill entire area (may crop) */
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ✅ fills full area */
  object-position: center;
  display: block;

  /* fade + zoom */
  transform: scale(1);
  transition: transform 5s ease;
}

.hero-carousel .carousel-item.active img {
  transform: scale(1.05);
}

/* Mobile height */
@media (max-width: 768px) {
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 200px;
  }
}
 



/* Make inner relative so progress can be absolute at bottom */
.hero-carousel .carousel-inner {
  position: relative;
}

/* Progress bar pinned to bottom */
.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255,255,255,.25);
  z-index: 5;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: #00baf2;
}
