/* =============================================================
   BANNER / CAROUSEL — Custom styles
   ============================================================= */

.banner-section {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

/* ----- Carousel Container ----- */
.banner-carousel {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  height: 85vh;
  max-height: 650px;
}
.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- Slide Background ----- */
.banner-slide {
  position: relative;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: rgba(23, 35, 59, 0.6); */
  /* background: rgba(0, 0, 0, 0.453); */
 background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.682) 0%,
    rgba(0, 0, 0, 0.375) 45%,
    rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background:linear-gradient(135deg, rgb(134 110 110 / 80%) 0%, rgba(23, 35, 59, 0.3) 60%, rgba(23, 35, 59, 0.1) 100%); */

}

/* ----- Container & Row Fixes ----- */
.banner-container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 0 15px;
}

.banner-row {
  height: 100%;
  min-height: 400px;
}

/* ----- Content Positioning ----- */
.banner-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  padding: 30px 0;
}

/* ----- Badge ----- */
.banner-badge {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(242, 169, 60, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(242, 169, 60, 0.2);
  margin-bottom: 16px;
}

/* ----- Title ----- */
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.banner-title em {
  color: var(--amber);
  font-style: italic;
  font-weight: 700;
}

/* ----- Text ----- */
.banner-text {
  font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.05rem);
  color: rgba(250, 246, 236, 0.85);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 22px;
    text-align: justify;

}

/* ----- Actions ----- */
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.banner-actions .btn {
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.banner-actions .btn-amber {
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--amber);
}

.banner-actions .btn-amber:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px rgba(242, 169, 60, 0.4);
}

.banner-actions .btn-outline-light-custom {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(250, 246, 236, 0.35);
}

.banner-actions .btn-outline-light-custom:hover {
  border-color: var(--paper);
  background: rgba(250, 246, 236, 0.08);
  transform: translateY(-2px);
}

/* ----- Stats ----- */
.banner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-left: 0;
  margin: 0;
}

.banner-stats li {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.banner-stats strong {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 0.9rem + 0.5vw, 1.4rem);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.banner-stats span {
  font-size: 0.75rem;
  color: rgba(250, 246, 236, 0.55);
  font-weight: 400;
  margin-top: 2px;
}

/* ----- Carousel Controls (FIXED - always visible on mobile) ----- */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250, 246, 236, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 236, 0.15);
  opacity: 0.7;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
  margin: 0 16px;
  z-index: 20;
  pointer-events: auto;
  touch-action: manipulation;
}

.banner-carousel:hover .carousel-control-prev,
.banner-carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(250, 246, 236, 0.2);
  opacity: 1;
}

.carousel-control-prev:active,
.carousel-control-next:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* ----- Carousel Indicators ----- */
.carousel-indicators {
  gap: 6px;
  bottom: 20px;
  z-index: 3;
  margin: 0;
}

.carousel-indicators button {
  width: 32px;
  height: 3px;
  border-radius: 3px;
  border: none;
  background: rgba(250, 246, 236, 0.25);
  transition: all 0.3s ease;
  margin: 0;
  cursor: pointer;
}

.carousel-indicators button.active {
  background: var(--amber);
  width: 44px;
}

/* ----- Trust Strip Wrapper ----- */
.trust-strip-wrapper {
  background: var(--ink);
  border-top: 1px solid rgba(250, 246, 236, 0.05);
  padding: 14px 0;
}

.trust-strip-wrapper .trust-strip {
  margin: 0;
  padding: 0;
}

.trust-strip-wrapper .trust-strip li {
  color: rgba(250, 246, 236, 0.65);
  font-size: 0.75rem;
}

.trust-strip-wrapper .trust-strip li::before {
  background: var(--amber);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .banner-carousel {
    min-height: 450px;
    max-height: 550px;
  }

  .banner-title {
    font-size: clamp(1.6rem, 1.3rem + 2.5vw, 2.4rem);
  }

  .banner-content {
    padding: 20px 0;
  }

  .banner-actions .btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .banner-stats {
    gap: 22px;
  }

  .banner-stats strong {
    font-size: 0.95rem;
  }

  .banner-row {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .banner-carousel {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    overflow: hidden;
    text-align: justify;
  }

  .banner-carousel .carousel-inner {
    height: 100%;
  }

  .banner-carousel .carousel-item {
    height: 100%;
  }

  .banner-carousel .banner-slide {
    height: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .banner-slide::before { 
  background: rgba(0, 0, 0, 0.35); 
}
  .banner-overlay { 
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );

  }

  .banner-title {
    font-size: clamp(1.4rem, 1.1rem + 2.2vw, 1.9rem);
    margin-bottom: 12px;
  }

  .banner-text {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .banner-badge {
    font-size: 0.55rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .banner-stats {
    gap: 16px;
  }

  .banner-stats strong {
    font-size: 0.85rem;
  }

  .banner-stats span {
    font-size: 0.6rem;
  }

  .banner-actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center !important;
    width: 100%;
    gap: 10px;
    margin-bottom: 18px;
  }

  .banner-actions .btn {
    width: auto;
    text-align: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .banner-container {
    padding: 0 24px;
  }
  .banner-row {
    min-height: 0;
    padding: 36px 0;
  }

  .banner-content {
    padding: 0;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9 !important;
    margin: 0 12px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 20;
  }

  .carousel-control-prev:active,
  .carousel-control-next:active {
    transform: translateY(-50%) scale(0.95);
  }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5);
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 14px;
    height: 14px;
  }

  .carousel-indicators {
    display: none;
  }

  .trust-strip-wrapper {
    padding: 10px 0;
  }

  .trust-strip-wrapper .trust-strip {
    gap: 10px !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    padding: 4px 0;
  }

  .trust-strip-wrapper .trust-strip li {
    flex: none;
    font-size: 0.6rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) { 
  .banner-carousel { 
    height: 430px; 
    min-height: 430px; 
    max-height: 430px; 
  }

  .banner-carousel .carousel-inner {
    height: 100%;
  }

  .banner-carousel .carousel-item {
    height: 100%;
  }

  .banner-carousel .banner-slide {
    height: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .banner-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .banner-text {
    font-size: 0.78rem;
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .banner-badge {
    font-size: 0.5rem;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .banner-stats {
    gap: 12px;
  }

  .banner-stats strong {
    font-size: 0.8rem;
  }

  .banner-stats span {
    font-size: 0.55rem;
  }
  .banner-actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center !important;
    width: 100%;
    gap: 8px;
  }

  .banner-actions .btn {
    padding: 7px 14px;
    font-size: 0.7rem;
  }
  .banner-container {
    padding: 0 20px;
  }

  .banner-row {
    min-height: 0;
    padding: 28px 0;
  }
  .banner-content {
    padding: 0;
    width: 90%;
    flex: 0 0 100%;
    max-width: 90%;
    margin-left: 20px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 30px;
    height: 30px;
    margin: 0 4px;
    opacity: 0.7 !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 12px;
    height: 12px;
  }

  .trust-strip-wrapper .trust-strip li {
    font-size: 0.5rem;
  }
}
@media (max-width: 360px) { 
  .banner-carousel { 
    height: 400px; 
    min-height: 400px; 
    max-height: 400px; 
  }

  .banner-carousel .carousel-inner {
    height: 100%;
  }

  .banner-carousel .carousel-item {
    height: 100%;
  }

  .banner-carousel .banner-slide {
    height: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .banner-container {
    padding: 0 16px;
  }

  .banner-actions .btn {
    padding: 6px 12px;
    font-size: 0.65rem;
  }

  .banner-title {
    font-size: 1rem;
  }

  .banner-text {
    font-size: 0.7rem;
  }

  .banner-row {
    min-height: 0;
    padding: 24px 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 26px;
    height: 26px;
    margin: 0 2px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 10px;
    height: 10px;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.carousel-item.active .banner-badge {
  animation: fadeInUp 0.5s ease 0.15s both;
}

.carousel-item.active .banner-title {
  animation: fadeInUp 0.6s ease 0.25s both;
}

.carousel-item.active .banner-text {
  animation: fadeInUp 0.6s ease 0.35s both;
}

.carousel-item.active .banner-actions {
  animation: fadeInUp 0.6s ease 0.45s both;
}

.carousel-item.active .banner-stats {
  animation: fadeInUp 0.6s ease 0.55s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}