/* ---------- Root Variables ---------- */

:root {
  --primary: #384fac;
  --primary-dark: #2f3f95;
  --primary-light: #5a6bc5;
  --secondary: #28a745;
  --muted: #6b7280;
  --bg-light: #f8f9fb;
  --card-radius: 12px;
  --shadow: 0 10px 30px rgba(56, 64, 125, 0.08);
  --shadow-hover: 0 15px 35px rgba(56, 64, 125, 0.15);
  --max-width: 1100px;
}

/* ---------- Base Styles ---------- */
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  margin: 0;
  background: #fff;
  color: #1f2937;
  line-height: 1.6;
  font-weight: 400;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.05"><polygon points="1000,100 1000,0 0,100"></polygon></svg>');
  background-size: cover;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
  position: relative;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  position: relative;
  font-weight: 400;
}

.hero-cta {
  position: relative;
  margin-top: 2rem;
}

.btn-cta {
  background: #fff;
  color: var(--primary);
  border-radius: 30px;
  padding: 12px 30px;
  border: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* HERO INFO TEXT (date, time, contact) */
.hero-info {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  line-height: 1.6;
  position: relative;
}

.hero-info p {
  margin: 0;
  color: #ffffffcc;
}

.hero-info strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- BANNER SECTION ---------- */
.banner-section {
  background: var(--bg-light);
  padding: 2.25rem 0;
}

.banner-img {
  max-width: 100%;
  width: 850px;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

.banner-img-sm {
  max-width: 100%;
  width: 720px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

/* ---------- MAIN CONTENT ---------- */
.content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-title,
h2,
h3,
h4,
h5 {
  color: var(--primary);
  font-weight: 700;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* ---------- PRICING HIGHLIGHT ---------- */
.pricing-highlight {
  background: linear-gradient(135deg, #f8f9fb 0%, #e9ecef 100%);
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 500px;
  border: 2px solid var(--primary-light);
}

.pricing-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.price-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

/* ---------- INFO CARDS ---------- */
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.info-card h5 {
  margin: 1rem 0 0.5rem 0;
  color: #222222;
  font-weight: 600;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ---------- BENEFIT CARDS ---------- */
.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ---------- ADDON CARDS ---------- */
.addon-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  border-left: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
}

.addon-card h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ---------- ABOUT SECTION ---------- */
.about-icon {
  background: #f1f7ff;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.emoji-large {
  font-size: 3rem;
}

/* ---------- BENEFITS LIST ---------- */
.benefits-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ---------- CUSTOM LIST ---------- */
.custom-list {
  margin-left: 1rem;
}

.custom-list li {
  margin-bottom: 0.5rem;
}

.highlight-offer {
  background: #f1f7ff;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  text-align: center;
}

/* ---------- HIGHLIGHTS (Emoji Cards) ---------- */
.bg-light {
  background: #fbfdff !important;
}

.highlight {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: all 0.3s ease;
}

.highlight:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.highlight .emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight h5 {
  font-weight: 600;
  color: var(--primary);
}

/* ---------- FORM SECTION ---------- */
.card {
  border-radius: var(--card-radius);
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(56, 79, 172, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.btn-submit {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 12px 30px;
  border-radius: 28px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(56, 79, 172, 0.3);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 79, 172, 0.4);
}

/* ---------- MODAL ---------- */
.modal-content {
  border-radius: 12px;
}

.success-icon {
  font-size: 3rem;
}

/* ---------- WHY EARLY DETECTION CARD STYLING ---------- */
.detection-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 10px 30px rgba(56, 64, 125, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  transition: all 0.3s ease;
}

.detection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(56, 64, 125, 0.15);
}

.detection-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.detection-card h6 {
  font-weight: 600;
  color: #384fac;
  margin-bottom: 0.5rem;
  text-align: center;
}

.detection-card .desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
  background: #1f2937 !important;
}

/* SHRINKABLE TOP HEADER */
.top-header {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.kmh-top-logo {
  height: 55px;
  width: auto;
  transition: all 0.3s ease;
}

.top-header.shrink {
  padding: 5px 0;
}

.top-header.shrink .kmh-top-logo {
  height: 40px;
}

/* CONTACT INFO */
.contact-info {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.top-header.shrink .contact-info {
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .banner-img {
    width: 720px;
  }

  .banner-img-sm {
    width: 520px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem 0;
    min-height: 40vh;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .container {
    padding: 0.9rem;
  }

  .banner-img {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .top-header .container {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  .kmh-top-logo {
    height: 45px;
  }

  .top-header.shrink .kmh-top-logo {
    height: 38px;
  }

  .detection-card {
    min-height: 140px;
    padding: 1rem 0.5rem;
  }

  .detection-card h6 {
    font-size: 0.95rem;
  }

  .detection-card .desc {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .current-price {
    font-size: 2rem;
  }
}

/* Hide contact info on mobile */
@media (max-width: 768px) {
  .contact-info {
    display: none;
  }

  .top-header .container {
    justify-content: center !important;
  }
}
/* ---------- FULL VIEWPORT BANNER SECTION ---------- */
.banner-section {
  padding: 55px 55px 0 55px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

/* Wrapper: keeps banner centered */
.banner-overlay-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

/* ---------- FIXED BANNER — NO CROPPING, NO ZOOM ---------- */
.promo-banner-img {
  width: 100%;
  height: auto;   
  max-height: 100vh; 
  object-fit: contain !important; 
  object-position: center center; 
  border-radius: 16px;  
  box-shadow:
      0 18px 40px rgba(0,0,0,0.12),
      0 0 22px rgba(56,79,172,0.18);
  
  transition: all 0.35s ease;
}

/* Hover lift effect */
.promo-banner-img:hover {
  transform: scale(1.01);
  box-shadow:
      0 28px 55px rgba(0,0,0,0.16),
      0 0 35px rgba(56,79,172,0.30);
}

/* ---------- CTA BUTTON BELOW IMAGE ---------- */
.banner-btn-wrapper {
  text-align: center;
  padding: 20px 0;
}

.banner-bottom-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(56, 79, 172, 0.25);
  transition: 0.3s ease;
}

.banner-bottom-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  .promo-banner-img {
    width: 100%;
    height: auto;
    max-height: 60vh; /* ✔ avoid too big on mobile */
    object-fit: contain !important;
    box-shadow: none;
    border-radius: 0;
    
  }

  .banner-bottom-btn {
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 15px;
  }

.banner-section {
  padding: 0;
  border-radius: 0;
  
}
}