/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body {
  font-family: Arial, sans-serif;
  color: white;

  line-height: 1.5;
} */
#Hero {
  scroll-margin-top: 80px; /* Adjust based on your fixed header height */
  color: white;
}
/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 100vh; /* ✅ capped to viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
  filter: blur(1px);
}

.overlay {
  position: absolute;
  inset: 0;
  background: url("../Images/background hero.png");
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.8),
    rgba(41, 26, 0, 0.369),
    rgba(0, 0, 0, 0.4)
  );

  z-index: -1;
}

.hero-content {
  width: 90%;
  max-width: 1200px;
  align-items: center;
  max-height: 100%;
  margin-top: 80px;
  background: rgba(0, 0, 0, 0.3);
  font-family: "Antonio";
  backdrop-filter: blur(2px);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* Text content */
.text-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text-content h1 {
  font-size: clamp(4rem, 5vw, 4rem); /* scales dynamically */
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.text-content .highlight {
  color: orange;
  display: block;
}

.text-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ddd;
  margin-bottom: 1.5rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.btn.primary {
  background: orange;
  color: black;
}

.btn.primary:hover {
  background: darkorange;
}

.btn.secondary {
  border: 2px solid white;
  color: white;
}

.btn.secondary:hover {
  background: white;
  color: black;
}

/* Trust Indicators */
.trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust .num {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: bold;
}

.trust .label {
  font-size: clamp(0.7rem, 1vw, 0.875rem);
  color: #ccc;
}

/* Feature Image */
.feature-image {
  display: none;
}

@media (min-width: 1024px) {
  .feature-image {
    display: block;
  }
  .image-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    max-height: 80vh; /* ✅ shrink within viewport */
    overflow: hidden;
  }
  .image-box img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
  }
  .badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: orange;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}
.overlay-img {
  background: url(../Images/hero-overlay.jpeg);
  min-height: 50vh;
  height: 60vh;
  background-size: cover;
  border-radius: 0.75rem;
  z-index: 1;
}
@media (width < 375px) {
  .hero-content {
    padding: 1rem !important;
  }
}
/* ----------------nav-bar-------------------- */
