.heroimage {
  background-image: url(/NewSimuPath/images/logo.jpg);
  background-position: left;
  background-repeat: no-repeat;
  background-size: 100%;
  height: 250px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Responsive Hero Image */
.hero-wrapper {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: scale-down;
  display: block;
}

.hero-text {
  right: 20%;
  bottom: 10%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-image {
    aspect-ratio: 16 / 9;
  }

  .hero-text {
    right: 10% !important;
    bottom: 5% !important;
    padding: 10px !important;
  }

  .hero-text h3 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-image {
    aspect-ratio: 1 / 1;
  }

  .hero-text {
    right: 5% !important;
    bottom: 5% !important;
    padding: 15px !important;
  }

  .hero-text h3 {
    font-size: 0.9rem;
  }
}

.lttdkblue {
  color: #16406f;
}

.lttbrblue {
  color: #007fff;
}

.lttliblue {
  color: #8ec6de;
}

.lttgreen {
  color: rgb(29, 202, 110);
}

.banner {
  --banner-height: 240px;
  background-image: image-set(url("/NewSimuPath/images/") 1x, url("/NewSimuPath/images/") 2x);
  background-repeat: repeat-x;
  background-size: auto var(--banner-height);
  background-position: center top;
  height: var(--banner-height);
}

.bg-primary {
  background-color: #007fff !important;
}

/* Glossy sheen on solid colour blocks (nav, footer, sidebar header) so they
   read as a lit, finished surface rather than flat fill. */
.navbar.bg-primary,
.footer-simupath,
.card-header {
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.12) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.28) 100%);
}

.btn-dark-blue {
  background-color: #003a5d !important;
  color: white !important;
}

.btn-dark-blue:hover {
  background-color: rgb(29, 202, 110) !important;
  color: #003a5d !important;
}

.btn-light-blue {
  background-color: #8ec6de !important;
  color: #003a5d !important;
}

.btn-light-blue:hover {
  background-color: rgb(29, 202, 110) !important;
  color: #003a5d !important;
}

.h2 {
  color: #003a5d;
}

/* .lead is used site-wide for body copy, not just single intro lines,
   so tone down Bootstrap's default 1.25rem/300-weight to something
   readable at paragraph length. */
.lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Move captions slightly lower (closer to the bottom edge) */
.carousel-caption {
  bottom: 0rem; /* default is ~1.25rem; lower value = lower position */
}

.carousel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

/* Coverflow Carousel */
.coverflow-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.coverflow-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  max-width: 80vw;
  height: 360px;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition:
    transform 500ms ease,
    opacity 500ms ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.coverflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-slide.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.coverflow-slide.is-prev,
.coverflow-slide.is-next {
  opacity: 0.45;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.coverflow-slide.is-prev {
  transform: translate(calc(-50% - 300px), -50%) scale(0.75);
}

.coverflow-slide.is-next {
  transform: translate(calc(-50% + 300px), -50%) scale(0.75);
}

.coverflow-slide.is-prev:hover,
.coverflow-slide.is-next:hover {
  opacity: 0.7;
}

.coverflow-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 58, 93, 0.85), rgba(0, 58, 93, 0));
  color: white;
  opacity: 0;
  transition: opacity 300ms ease;
}

.coverflow-slide.is-active .coverflow-caption {
  opacity: 1;
}

.coverflow-caption h4 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.coverflow-caption p {
  margin: 0;
  font-size: 0.9rem;
}

.coverflow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 58, 93, 0.85);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 150ms ease;
}

.coverflow-btn:hover {
  background: rgb(29, 202, 110);
}

.coverflow-btn-prev {
  left: 8px;
}

.coverflow-btn-next {
  right: 8px;
}

@media (max-width: 768px) {
  .coverflow-carousel {
    height: 300px;
  }

  .coverflow-slide {
    width: 320px;
    height: 220px;
  }

  .coverflow-slide.is-prev {
    transform: translate(calc(-50% - 140px), -50%) scale(0.7);
  }

  .coverflow-slide.is-next {
    transform: translate(calc(-50% + 140px), -50%) scale(0.7);
  }
}

.card-header {
  background-color: rgb(0, 127, 255);
  color: white;
}

.quick-links a,
.quick-links button.quick-links-toggle {
  color: #003a5d;
  text-decoration: none;
  font-weight: 600;
}

.quick-links a:hover,
.quick-links button.quick-links-toggle:hover {
  text-decoration: underline;
}

.quick-links .is-active,
.btn-link .is-active {
  background: rgb(29, 202, 110);
  color: white;
}

.list-group-item.is-active a {
  color: white;
}

.quick-links-submenu {
  padding-left: 1rem;
}

.quick-links-submenu a {
  display: block;
  padding: 0.2rem 0;
  font-weight: 500;
}

/* Card polish */
.card-muted .card-body {
  background: rgb(242, 240, 240);
}

.card-hover {
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.btn-primary-contact {
  padding-top: 15px;
  padding-bottom: 10px;
}

.container-policies {
  background-color: rgb(245, 244, 244);
  padding: 15px;
}

/* Footer */

.footer-simupath {
  background-color: #003a5d;
}

.footer-simupath h6 {
  color: #8ec6de;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.footer-links {
  margin: 0;
}

.footer-links li {
  line-height: 2;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: rgb(29, 202, 110);
  text-decoration: underline;
}

.footer-disclaimer {
  background-color: #002c47;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  line-height: 1.6;
}

.socials {
  color: white;
  font-size: 1.15rem;
  transition: color 120ms ease;
}

.socials:hover {
  color: rgb(29, 202, 110);
}
