/* Turn off fixed header behaviour on this page */
.navbar.disable-fixed {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}
/* HERO SLIDER BASE */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;

  /* 🔥 KEY CHANGE: show full image, no zoom, no crop */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
}

/* Active slide */
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  z-index: 5;
}

/* Dynamic height — keeps the image's aspect ratio */
.hero-slide::before {
  content: "";
  display: block;

  /* 1920x700 = 36.45% */
  padding-top: 36.46%; 
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  z-index: 6;
}

/* Content stays centered over image */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.hero-text {
  max-width: 720px;
  opacity: 1;
}

/* Buttons */
.hero-btn-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.hero-btn-wrap .btn {
  background: #d7263d;
  border-color: #d7263d;
  color: #fff;
  padding: 14px 28px;
}

/* ARROWS */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-nav-prev { left: 18px; }
.hero-nav-next { right: 18px; }

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 8;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  opacity: .6;
}

.hero-dot.is-active {
  background: #fff;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px 16px;
  }
  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .hero-nav-prev { left: 10px; }
  .hero-nav-next { right: 10px; }
}

/*MOBILE*/
/* Desktop / default hero text sizes (optional if you already have) */
.hero-slider .hero-content h1 {
  font-size: 3rem;        /* adjust to taste for desktop */
  line-height: 1.1;
}

.hero-slider .hero-text {
  font-size: 1.1rem;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-slider .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-slider .hero-text {
    font-size: 1rem;
  }

  .hero-slider .hero-btn-wrap .btn {
    font-size: 0.9rem;
    padding: 10px 22px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slider .hero-content {
    padding: 24px 16px;
  }

  .hero-slider .hero-content h1 {
    font-size: 1.8rem;    /* 🔑 main fix for huge text */
  }

  .hero-slider .hero-text {
    font-size: 0.9rem;
  }

  .hero-slider .hero-btn-wrap {
    gap: 0.75rem;
  }

  .hero-slider .hero-btn-wrap .btn {
    font-size: 0.85rem;
    padding: 9px 18px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .hero-slider .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-slider .hero-text {
    font-size: 0.85rem;
  }
}

/*mobile size*/
/* Default: desktop (keep your current ratio) */
@media (max-width: 768px) {

  /* Let the image fill the height (allow cropping) */
  .hero-slide {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Taller hero on mobile (no more shallow image) */
  .hero-slide::before {
    padding-top: 75%; /* adjust 65–85% depending on how tall you want it */
  }

  .hero-content {
    padding: 25px 16px;
  }

  .hero-slider .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-slider .hero-text {
    font-size: 0.95rem;
  }

  .hero-slider .hero-btn-wrap .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}