/* Hero module specific styles */
.hero {
  position: relative;
  min-height: 500px;
  height: 60vh;
  align-content: end;
  overflow: hidden;
}

/* Hero with visible form layout */
.hero-with-form {
  position: relative;
  min-height: 60vh;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 7% 0 5% 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, rgba(30,58,35,0.9), transparent);
}

/* Top Banner */
.hero-top-banner {
  background: hsl(81deg 63% 21%);
  color: #f5e6b3;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: absolute;
  z-index: 10;
  right: 0;
  border-radius: 50px;
  border: 1px solid #fff;
  top: -10%;
  right: 1%;
}

/* Bottom Banner - SuperDesign Enhanced */
.hero-bottom-banner {
  background: transparent;
  color: #D4AF37;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
  top: -35px;
}

.hero-bottom-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.banner-decorative-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
  max-width: 200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-image: linear-gradient(to right, #405814 0%, #405714a8 30%, #4058148c 46%, #4057146b 59%, #d5b245 71%, #eae5ce 86%, #405814 100%);
  border-radius: 22px;
  border: 1px solid white;
  color: #fff;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 450px;
    gap: 3rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Incentive Badge - SuperDesign Enhanced with Skew */
.incentive-badge {
  position: absolute;
  top: -20%;
  left: -20%;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: #1E3A23;
  border: 4px solid #D4AF37;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: skewX(10deg);
  transition: transform 0.5s ease;
}

.incentive-badge:hover {
  transform: skewX(10deg) scale(1.05);
}

/* Inner wrapper to un-skew content */
.badge-inner {
  transform: skewX(-20deg);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* SVG Ribbon */
.badge-ribbon {
  position: absolute;
  left: -24px;
  top: 2rem;
  width: 48px;
  height: 96px;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.badge-ribbon svg {
  width: 100%;
  height: 100%;
}

/* Glow Effects */
.badge-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
  pointer-events: none;
}

.badge-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
}

.badge-star-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 1.75rem;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

.gold-star {
  width: 16px;
  height: 16px;
  color: #D4AF37;
}

.badge-line1 {
  color: rgba(255, 255, 255, 0.9);
}

.badge-amount {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: #D4AF37;
  margin: 0.25rem 0;
}

.badge-divider {
  width: 60%;
  height: 2px;
  margin: 0.75rem auto;
  background: linear-gradient(to right, transparent, #D4AF37, transparent);
}

.badge-line2 {
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-style: italic;
  color: white;
  position: relative;
  left: 30px;
}

/* Hero Text Content */
.hero-text-content {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 640px;
}

@media (min-width: 1024px) {
  .hero-text-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
  }
}

/* Content Video Styles */
.content-video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.content-video-cover {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.content-video-cover:hover {
  transform: scale(1.02);
}

.content-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.content-video-cover:hover .content-video-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.content-video-play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.content-video-cover:hover .content-video-play-icon {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.content-video-play-icon i {
  font-size: 28px;
  color: #536f21;
  margin-left: 6px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 74, 38, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #D4AF37;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.heart-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-heading {
  font-size: 2.25rem;
  font-weight: 400;
  color: white;
  line-height: 1.25;
  margin: 17% 0 0.75rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-heading span {
  text-wrap: balance;
}

.hero-heading br {
  display: block;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-heading {
    font-size: 3.75rem;
  }
}

.hero-subheading {
  font-size: 1.75rem;
  font-weight: 500;
  color: #D4AF37;
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Benefits Buttons */
.benefits-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

.benefit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(83, 111, 33, 0.95) 0%, rgba(69, 92, 27, 0.95) 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.benefit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.benefit-btn:hover::before {
  left: 100%;
}

.benefit-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(184, 152, 48, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #1a2312;
}

.benefit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.benefit-btn i {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.benefit-btn:hover i {
  transform: scale(1.15);
}

.benefit-btn span {
  flex: 1;
  text-align: left;
}

/* Responsive button styles */
@media (max-width: 768px) {
  .benefit-btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .benefit-btn i {
    font-size: 1.25rem;
  }
}

.check-icon-wrapper {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-center;
  background: #5c8a4a;
  border-radius: 50%;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: white;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  padding: 0 30px;
  color: #000;
}

.hero-description p {
  color: #fff;
}

.hero-form-container {
  position: relative;
  z-index: 2;
}

.hero-form-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.hero-form-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.form-header {
  background: #D4AF37;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%23D4AF37"/><circle cx="50" cy="50" r="40" fill="%23C9A02E" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  color: #182107;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  position: relative;
}

.form-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.form-heading {
  margin: 0;
  padding: 1.5rem 2rem 1rem;
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  text-wrap: balance;
}

.form-heading span {
  white-space: nowrap;
}

.hs-proxy-wrapper {
  padding: 0 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .hs-proxy-wrapper {
    padding: 0 2rem 1.5rem;
  }
}

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #9CA3AF;
  margin: 1rem 0 0 0;
  padding: 0 2rem 1.5rem;
}

/* Video background styles */
.hero-video,
.hero-with-form {
  position: relative;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none; /* Prevent interaction with video */
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}


.hero-video .hero-inner,
.hero-with-form .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Form styling - SuperDesign Enhanced */
#hs-proxy-c0126f52 {
  display: grid;
  gap: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
}

#hs-proxy-c0126f52 .hs-field-group {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

#hs-proxy-c0126f52 label {
  display: grid;
  gap: 0.25rem;
  font-weight: 600;
  color: #4b5563;
  font-size: 0.75rem;
}

#hs-proxy-c0126f52 input[type="text"],
#hs-proxy-c0126f52 input[type="email"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #f9fafb;
  font-size: 0.875rem;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

#hs-proxy-c0126f52 input[type="text"]:focus,
#hs-proxy-c0126f52 input[type="email"]:focus {
  outline: none;
  border-color: #2563EB;
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#hs-proxy-c0126f52 .hs-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.75rem;
  color: #374151;
}

#hs-proxy-c0126f52 .hs-checkbox input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  accent-color: #2563EB;
}

#hs-proxy-c0126f52 .hs-submit-wrapper {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
}

#hs-proxy-c0126f52 button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #81b60c;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
  font-family: 'agenda';
  font-size: 1.5rem;
}

#hs-proxy-c0126f52 button:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

#hs-proxy-c0126f52 button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

#hs-proxy-c0126f52 button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#hs-proxy-c0126f52 .hs-proxy-status[data-state="error"] {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.875rem;
}

#hs-proxy-c0126f52 .hs-proxy-status[data-state="success"] {
  color: #047857;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Mobile responsiveness */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-top-banner {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .hero-bottom-banner {
    font-size: 0.85rem;
  }

  .banner-decorative-line {
    max-width: 100px;
  }

  .incentive-badge {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    transform: skewX(0deg);
    margin-bottom: 2rem;
  }

  .incentive-badge:hover {
    transform: skewX(0deg) scale(1.05);
  }

  .badge-inner {
    transform: skewX(0deg);
  }

  .badge-amount {
    font-size: 3rem;
  }

  .badge-line2 {
    left: 0;
    font-size: 1.1rem;
  }

  .hero-heading {
    font-size: 2rem;
    margin-top: 0;
  }

  .hero-subheading {
    font-size: 1.25rem;
  }

  .hero-text-content {
    max-width: 100%;
  }

  .hs-proxy-wrapper {
    padding: 0 1.5rem 1.5rem;
  }

  .form-heading {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.5rem;
  }

  .form-disclaimer {
    padding: 0 1.5rem 1.5rem;
  }

  #hs-proxy-c0126f52 .hs-field-group {
    grid-template-columns: 1fr;
  }

  /* Adjust video sizing for mobile */
  .video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
  }

  .video-background video {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    object-fit: cover;
  }
}


@media (max-width: 768px) {
  .hero {
    height: auto;
  }

  .incentive-badge {
    padding: 1.25rem 1.5rem;
  }

  .badge-amount {
    font-size: 2.5rem;
  }

  .badge-line2 {
    font-size: 1rem;
  }

  .hero-heading {
    font-size: 1.75rem;
  }

  .hero-subheading {
    font-size: 1.75rem;
    text-align: center;
    color: #fff;
  }

  .benefits-list li {
    font-size: 0.95rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .form-heading {
    font-size: 1.25rem;
  }

  /* Ensure video covers properly on small screens */
  .video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
  }

  .video-background video {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    object-fit: cover;
  }

  /* Content Video Responsive */
  .content-video-container {
    max-width: 100%;
    margin: 1rem 0;
  }

  .content-video-play-icon {
    width: 60px;
    height: 60px;
  }

  .content-video-play-icon i {
    font-size: 20px;
  }

  .hero-top-banner {
position: relative;
}

.form-header {
      font-size: 1.25rem;
}

.incentive-badge {
    margin-bottom: 0;
}

.hero-top-banner {
    font-size: 1.4rem;
}


.hero-video .hero-inner,
.hero-with-form .hero-inner {
  display: block;
}

.benefit-btn span {
    text-align: center;
    font-size: 1.4rem;
}

}

/* Fallback for when no video/image is provided */
.hero-video:not(:has(.video-background)) {
  background-color: #333;
}

.hero-with-form:not([style*="background-image"]):not(:has(.video-background)) {
  background: linear-gradient(135deg, #2d3e1f 0%, #1a2312 100%);
}

/* Ensure video doesn't interfere with content interaction */
.video-background {
  pointer-events: none;
}

.hero-inner {
  pointer-events: auto;
}

/* Additional polish */
.hero-with-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ========== VIDEO LIGHTBOX MODAL STYLES ========== */
.video-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  max-width: 1200px;
  max-height: 675px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.video-lightbox-close {
  position: absolute;
  top: -50px;
  right: -10px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.video-lightbox-close:hover {
  color: #536f21;
  background: rgba(0, 0, 0, 0.8);
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive adjustments for video lightbox */
@media (max-width: 768px) {
  .video-lightbox-content {
    width: 95vw;
    height: 80vh;
    max-height: none;
  }
  
  .video-lightbox-close {
    top: -45px;
    right: -5px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .video-lightbox-content {
    width: 98vw;
    height: 70vh;
  }
  
  .video-lightbox-close {
    top: -40px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}
