/* ============================================
   Health Hustlers — Custom Styles
   Premium, minimal, professional

   NOTE: !important is used to override Bootstrap 5
   utility classes which themselves use !important.
   This is the documented Bootstrap-recommended approach.
   ============================================ */

/* -- CSS Variables -- */
:root {
  --primary: #000000;
  --primary-light: #1a1a1a;
  --text: #000000;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --gold: #C8A153;
  --bg-white: #FFFFFF;
  --bg-light: #F5F5F2;
  --border-light: #E5E7EB;
  --border-lighter: #F3F4F6;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -- Base -- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.25;
}

p {
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
}

/* -- Reveal Animations -- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navbar
   ============================================ */
/* Override Bootstrap navbar default (Bootstrap uses !important on its utilities) */
.navbar {
  background-color: var(--primary) !important;
  transition: background-color 0.3s ease;
}

.navbar-brand {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.2s ease;
  padding: 0.375rem 0.75rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: #FFFFFF !important;
}

.nav-link.active {
  color: #FFFFFF !important;
  font-weight: 500;
}

/* ============================================
   Hero
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  overflow: hidden;
  padding-top: 2px;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary {
  background-color: #FFFFFF;
  color: var(--primary) !important;
  border: 2px solid #FFFFFF;
  font-weight: 600;
  transition: all 0.25s ease;
  border-radius: 0.5rem;
}

.btn-hero-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary) !important;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: all 0.25s ease;
  border-radius: 0.5rem;
}

.btn-hero-secondary:hover {
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Rounded Pill Buttons
   ============================================ */
a.rounded-pill {
  transition: all 0.25s ease;
}

a.rounded-pill:hover {
  background-color: #B8913F !important;
  border-color: #B8913F !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 161, 83, 0.35);
}

/* ============================================
   Buttons (Gold) — solid & outline
   Applied on top of Bootstrap .btn so the
   border-width / padding of the base class is kept.
   !important is used to override the base btn colors.
   ============================================ */
.btn-gold {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #000000 !important;
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background-color: #B8913F !important;
  border-color: #B8913F !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 161, 83, 0.35);
}

.btn-gold-outline {
  background-color: transparent !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transition: all 0.25s ease;
}

.btn-gold-outline:hover {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 161, 83, 0.35);
}

/* Accent helpers */
.text-gold {
  color: var(--gold) !important;
}

.max-w-650 {
  max-width: 650px;
}

/* ============================================
   Founder Bio Toggle
   ============================================ */
.founder-bio {
  font-size: 1rem;
  color: var(--text-secondary);
}

.bio-collapsed {
  display: none;
}

.bio-collapsed.show {
  display: block;
}

#bio-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  transition: all 0.25s ease;
}

#bio-toggle:hover {
  background-color: #B8913F !important;
  border-color: #B8913F !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 161, 83, 0.35);
}

/* ============================================
   Cards (Section 3)
   ============================================ */
.hh-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hh-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.hh-card .card-body {
  padding: 1.5rem 2rem;
}

.hh-check {
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* ============================================
   Gallery Carousel
   ============================================ */
.gallery-carousel .carousel-item {
  touch-action: pan-y;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.gallery-carousel .carousel-control-prev {
  left: 12px;
}

.gallery-carousel .carousel-control-next {
  right: 12px;
}

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

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  filter: invert(44%) sepia(35%) saturate(500%) hue-rotate(8deg) brightness(95%) contrast(85%);
}

.gallery-indicators {
  padding: 0.75rem 0;
}

.gallery-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--border-light);
  opacity: 0.5;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
  margin: 0;
}

.gallery-indicators button.active,
.gallery-indicators button[aria-current="true"] {
  opacity: 1;
  background-color: var(--gold);
  transform: scale(1.3);
}

.gallery-indicators button:hover {
  opacity: 0.8;
  background-color: var(--gold);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .gallery-carousel .carousel-control-prev,
  .gallery-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .gallery-carousel .carousel-control-prev {
    left: 6px;
  }

  .gallery-carousel .carousel-control-next {
    right: 6px;
  }

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

  .gallery-indicators button {
    width: 8px;
    height: 8px;
  }
}

/* ============================================
   Testimonials Carousel
   ============================================ */
.testimonials-carousel .carousel-item {
  touch-action: pan-y;
}

.testimonials-carousel {
  padding-inline: 2.75rem;
}

.testimonial {
  background-color: var(--bg-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  min-height: 240px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--border-lighter);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.testimonial blockquote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.testimonials-carousel .carousel-control-prev {
  left: 12px;
}

.testimonials-carousel .carousel-control-next {
  right: 12px;
}

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

.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  filter: invert(44%) sepia(35%) saturate(500%) hue-rotate(8deg) brightness(95%) contrast(85%);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .testimonials-carousel {
    padding-inline: 2.25rem;
  }

  .testimonials-carousel .carousel-control-prev,
  .testimonials-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .testimonials-carousel .carousel-control-prev {
    left: 6px;
  }

  .testimonials-carousel .carousel-control-next {
    right: 6px;
  }

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

  .testimonial {
    padding: 1.25rem;
  }
}

/* ============================================
   Founder Section
   ============================================ */
.founder-photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.founder-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ============================================
   Format Section
   ============================================ */
.format-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
}

/* ============================================
   Final CTA
   ============================================ */
.bg-dark {
  background-color: var(--primary) !important;
}

/* ============================================
   Footer
   ============================================ */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-legal-link {
  display: inline-block;
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.15rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}

.footer-legal-link::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  right: 0.1rem;
  bottom: 0;
  height: 1px;
  background-color: #C8A153;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.footer-legal-link:hover {
  color: #C8A153;
}

.footer-legal-link:hover::after {
  transform: scaleX(1);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.96);
  color: #FFFFFF;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Footer brand block (shared across pages) */
.footer-brand {
  font-size: 2rem;
}

.footer-location {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.footer-divider {
  border-top: 1px solid rgba(200, 161, 83, 0.3);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================
   Legal Pages (Privacy Policy / Terms of Service)
   ============================================ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 4rem;
  background-color: var(--bg-light);
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 2.5rem 2rem;
}

@media (min-width: 992px) {
  .legal-card {
    padding: 3.5rem 4rem;
  }
}

.legal-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .legal-title {
    font-size: 2rem;
  }
}

.legal-title .legal-accent {
  color: var(--gold);
}

.legal-effective {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.legal-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
}

.legal-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-card ul {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-card li {
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.legal-card li::marker {
  color: var(--gold);
}

.legal-card strong {
  color: var(--text);
}

/* ============================================
   Info Icon (question mark) — form label
   ============================================ */
.hh-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--gold);
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hh-info-icon:hover,
.hh-info-icon:focus {
  background-color: #b8923f;
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(200, 161, 83, 0.45);
}

/* ============================================
   Info Modal — themed
   ============================================ */
.hh-modal {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
}

.hh-modal .modal-header {
  background-color: var(--primary);
  border-bottom: 2px solid var(--gold);
  padding: 1rem 1.5rem;
}

.hh-modal .modal-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
}

.hh-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.hh-modal .btn-close:hover,
.hh-modal .btn-close:focus {
  filter: invert(1) grayscale(100%) brightness(300%) sepia(1) saturate(3) hue-rotate(10deg);
}

.hh-modal .modal-body {
  padding: 1.5rem;
  background-color: var(--bg-white);
}

.hh-modal .modal-body p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hh-modal .modal-body p:last-child {
  margin-bottom: 0;
}

.hh-modal .modal-body .demoTitle {
  color: var(--text);
  font-weight: 600;
  font-size: 1.0625rem;
}

.hh-modal .hh-redeem-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.hh-modal .hh-redeem-list li {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.hh-modal .hh-redeem-list li:last-child {
  margin-bottom: 0;
}

.hh-modal .hh-redeem-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.25rem;
  color: var(--gold);
  font-weight: 700;
}

.hh-modal .modal-footer {
  border-top: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
  background-color: var(--bg-light);
}

.hh-modal-btn {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #000000;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1.4rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hh-modal-btn:hover,
.hh-modal-btn:focus {
  background-color: #b8923f;
  border-color: #b8923f;
  color: #FFFFFF;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--gold);
}

/* ============================================
   Carousel Customization
   ============================================ */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  background-color: rgba(17, 24, 39, 0.6);
  border-radius: 50%;
  padding: 1rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 768px) {
   .hero-buttons {
     flex-direction: row;
     gap: 1.25rem;
   }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding-top: 2rem;
  }

  /* .founder-photo uses aspect-ratio 3/4 — no override needed */

  .hh-card .card-body {
    padding: 1.25rem;
  }
}

/* ============================================
   Utility
   ============================================ */
.bg-white {
  background-color: var(--bg-white) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ============================================
   Application Form
   ============================================ */
#application-form-wrapper {
  animation: fadeInUp 0.4s ease-out;
}

/* Section heading inside the form (Personal / Professional / Profile) */
.form-section-header {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

/* Card that holds the form */
#form-container {
  max-width: 800px;
  background: var(--bg-white);
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#form-container > .form-title {
  color: var(--primary);
}

#form-container > .form-intro {
  font-size: 0.9375rem;
}

/* Success / error alert boxes (rendered over the dark final-CTA section) */
.alert-box-success {
  background: rgba(200, 161, 83, 0.15);
  border: 1px solid var(--gold);
  border-radius: 0.75rem;
}

.alert-box-success .alert-title,
.alert-box-success .alert-message {
  color: #FFFFFF;
}

.alert-box-success .alert-message {
  font-size: 1rem;
}

.alert-box-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #DC3545;
  border-radius: 0.5rem;
}

.alert-box-error .alert-message {
  color: var(--text-muted);
  font-size: 1rem;
}

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

#form-container .form-control,
#form-container .form-select {
  border: 1px solid var(--border-light);
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#form-container .form-control:focus,
#form-container .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(200, 161, 83, 0.25) !important;
}

#form-container .form-control::placeholder {
  color: #9CA3AF;
  font-size: 0.875rem;
}

#form-container .form-label {
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}

#form-container .form-check-label {
  font-size: 0.9375rem;
  line-height: 1.5;
}

#form-container .form-check-input {
  margin-top: 0.3rem;
  border: 2px solid var(--border-light);
}

#form-container .form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

#form-container .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(200, 161, 83, 0.25) !important;
}

#form-submit-btn {
  transition: all 0.25s ease;
  min-width: 200px;
  font-size: 1.0625rem;
  border-radius: 0.5rem;
}

#form-submit-btn:hover {
  background-color: #B8913F !important;
  border-color: #B8913F !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 161, 83, 0.35);
}

#form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#form-error {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Mobile adjustments for form */
@media (max-width: 767.98px) {
  #form-container {
    padding: 1.5rem !important;
  }

  #form-container .h4 {
    font-size: 1.25rem;
  }

  #form-container .form-control,
  #form-container .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Video card: opens a Bootstrap modal that loads the YouTube player on demand */
.video-card {
  border: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.25);
}
.video-card-image {
  background: none;
  overflow: hidden;
}
.video-card-play {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.video-card-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1.3rem;
  border-color: transparent transparent transparent #000;
}
