/* Home-only modern theme (loaded after main.css) */
body.home-page {
  background: #f3f7fc;
}

body.home-page nav {
  background: linear-gradient(90deg, #0f2238, #163252) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 30px rgba(2, 8, 20, 0.28) !important;
  height: 74px !important;
}

body.home-page nav .nav__container {
  min-height: 74px !important;
  max-width: 1180px;
  padding: 0 14px !important;
  align-items: center !important;
}

body.home-page .navbar-brand img {
  max-width: 92px !important;
  height: auto;
}

body.home-page .nav__items {
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

body.home-page .nav__items a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px;
}

/* Desktop menu spacing */
@media (min-width: 1024px) {
  body.home-page nav .nav__container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.home-page .nav__items {
    gap: 1.35rem !important;
  }

  body.home-page .nav__items a {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    height: 40px;
  }
}

body.home-page .nav__items a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

body.home-page .nav__items a[href*="apply/index.php"] {
  background: linear-gradient(135deg, #d7b15b, #c89635) !important;
  color: #10233a !important;
}

body.home-page .nav__items a[href*="signin.php"] {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  height: 36px;
}

body.home-page .nav__items a[href*="signin.php"]:hover {
  border-color: rgba(255, 255, 255, 0.55) !important;
}

body.home-page .landing {
  color: #10233a !important;
}

body.home-page .landing .container {
  max-width: 1180px !important;
}

body.home-page .landing #hero-section {
  min-height: clamp(520px, 76vh, 820px) !important;
  border-bottom: 1px solid rgba(16, 35, 58, 0.08);
}

body.home-page .landing #hero-section .hero-image {
  filter: saturate(1.04) contrast(1.02) brightness(0.84) !important;
}

body.home-page .landing #hero-section .hero-overlay {
  background:
    radial-gradient(80% 80% at 20% 40%, rgba(10, 29, 49, 0.72), rgba(10, 29, 49, 0.2) 62%, rgba(10, 29, 49, 0.7)),
    linear-gradient(180deg, rgba(10, 29, 49, 0.25), rgba(10, 29, 49, 0.55)) !important;
}

body.home-page .landing #hero-section .hero-container {
  padding-top: 7.2rem !important;
  padding-bottom: 2.5rem !important;
}

/* Hero alignment: HTML has centered column/text; override cleanly */
body.home-page .landing #hero-section .row {
  justify-content: center;
}

body.home-page .landing #hero-section .col-12.col-lg-10 {
  text-align: left !important;
  max-width: 980px;
}

body.home-page .landing #hero-section .hero-content {
  text-align: left !important;
  margin: 0 auto !important;
  max-width: 820px !important;
}

body.home-page .landing #hero-section .hero-eyebrow {
  color: #d9b35f !important;
  letter-spacing: 0.14em !important;
  font-size: 0.8rem !important;
}

body.home-page .landing #hero-section .hero-title {
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-size: clamp(2.2rem, 4.1vw, 4rem) !important;
  line-height: 1.06 !important;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.32) !important;
}

body.home-page .landing #hero-section .hero-subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
  max-width: 56ch !important;
}

body.home-page .landing .btn,
body.home-page .landing .button {
  /* Real button look everywhere */
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px !important;
  font-weight: 750 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  padding: 12px 18px !important;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 10px 22px rgba(2, 8, 20, 0.18) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.home-page .landing .btn.btn-primary,
body.home-page .landing .button {
  background: linear-gradient(135deg, #d8b15c, #c99636) !important;
  border-color: #c99636 !important;
  color: #10233a !important;
}

body.home-page .landing .btn.btn-primary:focus-visible,
body.home-page .landing .btn.btn-outline-light:focus-visible,
body.home-page .landing .button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(216, 177, 92, 0.28), 0 10px 22px rgba(2, 8, 20, 0.18) !important;
}

body.home-page .landing .btn:hover,
body.home-page .landing .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.24) !important;
}

body.home-page .landing .btn:active,
body.home-page .landing .button:active {
  transform: translateY(0px);
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.18) !important;
}

body.home-page .landing .btn.btn-outline-light {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  color: #10233a !important;
  box-shadow: 0 10px 22px rgba(2, 8, 20, 0.14) !important;
}

body.home-page .landing .btn.btn-outline-light:hover {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

body.home-page .landing #hero-section .hero-buttons {
  justify-content: flex-start !important;
  gap: 10px !important;
}

/* Ensure hero CTAs never look like plain links */
body.home-page .landing #hero-section .hero-buttons .btn {
  min-height: 44px;
}

body.home-page .landing #hero-section .hero-badges {
  justify-content: flex-start !important;
  gap: 8px !important;
}

body.home-page .landing #hero-section .hero-badge {
  background: rgba(14, 32, 51, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.home-page .landing #hero-section .hero-badge i {
  color: #d8b15c !important;
}

body.home-page .landing section:not(#hero-section) {
  background: #f7faff !important;
}

/* Gallery: slower, smoother marquee */
body.home-page .landing #gallery .gallery-inner {
  animation-duration: 45s !important;
}

body.home-page .landing #gallery .gallery-scroll:hover .gallery-inner {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  body.home-page .landing #gallery .gallery-inner {
    animation-duration: 70s !important;
  }
}
/* Stats strip (keeps it tight/consistent) */
body.home-page .landing #stats .container-fluid {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 14px;
  padding-right: 14px;
}

body.home-page .landing #stats .stats-row {
  gap: 10px;
}

body.home-page .landing #stats .stat-col {
  margin: 0 !important;
}

/* Spacing between Stats and Free Guide */
body.home-page .landing #stats {
  padding-bottom: 28px !important;
}

body.home-page .landing #free-guide {
  padding-top: 48px !important;
}

body.home-page .landing .funnel-section,
body.home-page .landing .about-section,
body.home-page .landing .gallery-section,
body.home-page .landing .whyus-section,
body.home-page .landing .services-section,
body.home-page .landing .team-section,
body.home-page .landing .reviews-section,
body.home-page .landing .contact-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

body.home-page .landing .funnel-title,
body.home-page .landing .team-title,
body.home-page .landing .about-text h2,
body.home-page .landing .whyus-col h2,
body.home-page .landing .services-header h2,
body.home-page .landing .reviews-content h2 {
  color: #0f2238 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem) !important;
}

body.home-page .landing p,
body.home-page .landing li,
body.home-page .landing small,
body.home-page .landing span,
body.home-page .landing blockquote {
  color: #334a62 !important;
}

body.home-page .landing .funnel-list li,
body.home-page .landing .funnel-card,
body.home-page .landing .funnel-cta-box,
body.home-page .landing .service-box,
body.home-page .landing .member-box,
body.home-page .landing .gallery-item,
body.home-page .landing .testimonials-container,
body.home-page .landing .contact-option,
body.home-page .landing .intro-metric,
body.home-page .landing .stat-col {
  background: #fff !important;
  border: 1px solid rgba(15, 34, 56, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(15, 34, 56, 0.08) !important;
}

body.home-page .landing .services-header h3,
body.home-page .landing .intro-kicker {
  color: #d29f44 !important;
  letter-spacing: 0.12em !important;
}

/* Global section polish */
body.home-page .landing .home-section {
  scroll-margin-top: 90px;
}

body.home-page .landing .services-header,
body.home-page .landing .text-center {
  text-align: center;
}

body.home-page .landing .services-header h3,
body.home-page .landing .intro-kicker,
body.home-page .landing .reviews-content h4 {
  font-weight: 800;
  text-transform: uppercase;
}

/* Reviews: swipe/scroll carousel (mobile-friendly) */
body.home-page .landing #reviews .reviews-content {
  width: 100%;
}

body.home-page .landing #reviews .testimonials-container {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 14px !important;
}

body.home-page .landing #reviews .testimonials {
  animation: none !important;
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
body.home-page .landing #reviews .testimonials::-webkit-scrollbar {
  display: none !important;
}

body.home-page .landing #reviews .testimonial {
  flex: initial !important;
  padding: 14px !important;
  border-radius: 12px;
  border: 1px solid rgba(15, 34, 56, 0.1);
  background: #ffffff;
  scroll-snap-align: start;
  min-width: 340px;
  max-width: 420px;
}

body.home-page .landing #reviews .author-title h5 {
  margin: 0;
  color: #0f2238 !important;
  font-weight: 800;
}

body.home-page .landing #reviews blockquote {
  margin: 10px 0 0 0;
  color: #334a62 !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lead magnet section */
body.home-page .landing .lead-section .lead-title {
  margin: 0;
}

body.home-page .landing .lead-section .lead-sub {
  margin: 0;
}

body.home-page .landing .lead-card {
  background: #ffffff;
  border: 1px solid rgba(15, 34, 56, 0.12);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 34, 56, 0.1);
}

body.home-page .landing .lead-note {
  color: #5b728a;
}

body.home-page .landing .lead-section .lead-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0f2238;
}

body.home-page .landing .lead-section .lead-sub {
  color: #334a62;
  line-height: 1.55;
}

body.home-page .landing .lead-section .form-label {
  letter-spacing: -0.01em;
}

body.home-page .landing .lead-section .btn.btn-outline-light {
  border-color: rgba(15, 34, 56, 0.18) !important;
  background: #ffffff !important;
}

body.home-page .landing .lead-section .form-control {
  background: #ffffff;
}

body.home-page .landing .lead-section .btn {
  width: 100%;
}

body.home-page .landing .lead-section .form-label {
  color: #0f2238;
  font-weight: 650;
  font-size: 0.9rem;
}

body.home-page .landing .lead-section .form-control {
  border-radius: 10px;
  border: 1px solid rgba(15, 34, 56, 0.14);
  padding: 10px 12px;
}

body.home-page .landing .lead-section .form-control:focus {
  border-color: rgba(215, 177, 91, 0.8);
  box-shadow: 0 0 0 4px rgba(215, 177, 91, 0.18);
}

/* Training section icon circles */
body.home-page .landing .training-section .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(215, 177, 91, 0.18);
  border: 1px solid rgba(215, 177, 91, 0.22);
}

body.home-page .landing .training-section .icon-box i {
  font-size: 1.4rem;
  color: #0f2238;
}

body.home-page .landing .member-bio {
  margin: 10px 0 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #47607a !important;
}

body.home-page .site-footer {
  background: #0e2238 !important;
}

@media (max-width: 768px) {
  body.home-page nav {
    height: 56px !important;
  }

  body.home-page nav .nav__container {
    min-height: 56px !important;
  }

  body.home-page .navbar-brand img {
    max-width: 74px !important;
  }

  body.home-page nav .nav__items {
    position: fixed !important;
    left: auto !important;
    right: 0 !important;
    top: 56px !important;
    width: 55% !important;
    max-width: 280px !important;
    border-radius: 0 0 0 14px !important;
    overflow: auto !important;
    max-height: calc(100vh - 56px) !important;
    padding: 8px !important;
    gap: 0 !important;
    box-shadow: -4px 12px 32px rgba(2, 8, 20, 0.4) !important;
    background: rgba(15, 39, 68, 0.97) !important;
    backdrop-filter: blur(10px);
    z-index: 9999 !important;
    flex-direction: column !important;
  }

  /* Override legacy dropdown item sizing/animation */
  body.home-page nav .nav__items li {
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
    border-top: 0 !important;
    background: transparent !important;
    width: 100% !important;
  }

  body.home-page nav .nav__items * {
    opacity: 1 !important;
  }

  body.home-page nav .nav__items li a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100% !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 650 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }

  body.home-page nav .nav__items li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
  }

  body.home-page nav .nav__items a[href*="signin.php"] {
    border-color: rgba(255, 255, 255, 0.28) !important;
  }

  body.home-page nav .nav__items a[href*="apply/index.php"] {
    background: linear-gradient(135deg, #d7b15b, #c89635) !important;
    border: 0 !important;
    color: #10233a !important;
    justify-content: center;
  }

  body.home-page nav .nav__items a[href*="signin.php"] {
    justify-content: center;
  }

  body.home-page .landing #hero-section .hero-container {
    padding-top: 5.4rem !important;
    padding-bottom: 1.4rem !important;
  }

  body.home-page .landing #hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 29, 49, 0.65), rgba(10, 29, 49, 0.7)) !important;
  }

  body.home-page .landing #hero-section .hero-content {
    text-align: left !important;
  }

  body.home-page .landing #hero-section .col-12.col-lg-10 {
    text-align: left !important;
  }

  body.home-page .landing #hero-section .hero-title {
    font-size: clamp(1.5rem, 8vw, 2.1rem) !important;
    line-height: 1.13 !important;
  }

  body.home-page .landing #hero-section .hero-subtitle {
    font-size: 0.94rem !important;
    line-height: 1.5 !important;
  }

  body.home-page .landing #hero-section .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.home-page .landing #hero-section .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.home-page .landing .btn,
  body.home-page .landing .button {
    width: 100%;
  }

  body.home-page .landing #hero-section .hero-badges {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.home-page .landing #hero-section .hero-badge {
    justify-content: flex-start !important;
    font-size: 0.82rem !important;
  }

  body.home-page .landing .funnel-highlights,
  body.home-page .landing .services-content,
  body.home-page .landing .team-members,
  body.home-page .landing .contact-options,
  body.home-page .landing .feature-boxes {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.home-page .landing .funnel-section,
  body.home-page .landing .about-section,
  body.home-page .landing .gallery-section,
  body.home-page .landing .whyus-section,
  body.home-page .landing .services-section,
  body.home-page .landing .team-section,
  body.home-page .landing .reviews-section,
  body.home-page .landing .contact-section {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  body.home-page .landing .gallery-item {
    height: 190px !important;
  }

  /* Team section: clean grid on mobile */
  body.home-page .landing #team .team-members {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-content: initial !important;
  }

  body.home-page .landing #team .member-box {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  body.home-page .landing #team .member-img {
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 10px auto !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  body.home-page .landing #team .member-box h4 {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
  }

  body.home-page .landing #team .member-title {
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
  }

  body.home-page .landing #team .social-icon {
    font-size: 1.05rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(15, 39, 68, 0.06);
  }

  body.home-page .landing #team .social-icon i {
    line-height: 1 !important;
    display: block;
  }

  body.home-page .landing .lead-card {
    padding: 12px;
  }

  body.home-page .landing #reviews .reviews-content h2 {
    text-align: left !important;
    margin-bottom: 14px !important;
  }

  body.home-page .landing #reviews .testimonial {
    padding: 12px !important;
    min-width: 86%;
    max-width: 86%;
  }

  body.home-page .landing #reviews .testimonials {
    padding-bottom: 10px;
  }

  body.home-page .landing .member-bio {
    font-size: 0.82rem;
  }
}
