/* ============================================================
   LUMINAE ACADEMY — FULLY RESPONSIVE CSS
   Covers: Header, Footer, All Sections
   Breakpoints: 1200px | 991px | 768px | 576px | 400px
   ============================================================ */

/* ============================================================
   1. GLOBAL RESET & OVERFLOW FIX
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

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

/* ============================================================
   2. HAMBURGER BUTTON (Hidden on Desktop)
   ============================================================ */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1100;
  transition: border-color 0.3s;
}

.hamburger-btn:hover {
  border-color: rgba(201,168,76,0.7);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   3. NAVBAR RESPONSIVE
   ============================================================ */

/* Fix the huge gap that breaks mobile */
.nav-container {
  gap: 40px !important;
  flex-wrap: wrap;
  padding: 0;
}

/* ---- TABLET: 991px ---- */
@media (max-width: 991px) {
  nav {
    padding: 15px 5% !important;
  }

  .nav-container {
    gap: 0 !important;
    justify-content: space-between;
  }

  .nav-container > div:first-child {
    flex: 1;
  }

  .hamburger-btn {
    display: flex !important;
  }

  /* Pill becomes a dropdown panel */
  .nav-pill {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: none !important;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;

    background: rgba(8,8,8,0.98) !important;
    backdrop-filter: blur(16px) !important;
    border: none !important;
    border-top: 1px solid rgba(201,168,76,0.15) !important;
    border-radius: 0 0 16px 16px !important;
    padding: 0 !important;
    z-index: 999;
  }

  .nav-pill.nav-open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    padding: 18px 24px !important;
  }

  .nav-links {
    flex-direction: column !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 13px !important;
    letter-spacing: 2px !important;
    padding: 13px 18px !important;
    border-radius: 10px !important;
    width: 100%;
    display: block;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(201,168,76,0.1) !important;
  }
}

/* ---- MOBILE: 576px ---- */
@media (max-width: 576px) {
  .logo {
    font-size: 20px !important;
    letter-spacing: 2px !important;
  }
}

/* ============================================================
   4. HERO SECTION
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 100px 5% 60px !important;
    min-height: auto !important;
  }

.hero-title {
	font-size: 29px !important;
	line-height: 40px !important;
}

  .hero-sub {
    font-size: 16px !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px !important;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-ornament {
    display: none;
  }
}

/* ============================================================
   5. LUXURY BANNER (index.html — 2-col grid)
   ============================================================ */
@media (max-width: 991px) {
  .luxury-banner {
    padding: 100px 5% 70px !important;
  }

  .banner-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  .banner-subtitle {
    margin: 0 auto 2rem !important;
  }

  .banner-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .banner-title {
    font-size: clamp(34px, 9vw, 52px) !important;
  }

  .luxury-banner {
    padding: 90px 5% 60px !important;
  }
}

/* ============================================================
   6. VIDEO SECTION
   ============================================================ */
@media (max-width: 768px) {
  .hero-video {
    min-height: 240px !important;
  }

  .video-overlay {
    width: 70px !important;
    height: 70px !important;
  }

  .video-overlay span {
    font-size: 28px !important;
  }
}

/* ============================================================
   7. VIDEO GRID (Testimonials)
   ============================================================ */
@media (max-width: 991px) {
  .testimonial-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .video-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   8. FEATURES / STATS GRID
   ============================================================ */
@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(201,168,76,0.1) !important;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-num {
    font-size: 36px !important;
  }
}

/* ============================================================
   9. SKILLS / BRAIN SECTION
   ============================================================ */
@media (max-width: 991px) {
  .skills-grid-wrapper {
    padding: 60px 0 !important;
    min-height: auto !important;
  }

  .center-brain {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 40px !important;
    display: block;
    width: 180px !important;
    animation: brainFloat 4s ease-in-out infinite !important;
  }

  .center-brain::before {
    display: none;
  }
}

/* ============================================================
   10. PRICING SECTION
   ============================================================ */
@media (max-width: 768px) {
  .pricing-section {
    padding: 80px 5% !important;
  }

  .pricing-title {
    font-size: 2.5rem !important;
  }

  .price-card {
    padding: 40px 24px !important;
  }

  .new-price {
    font-size: 3.5rem !important;
  }

  .old-price {
    font-size: 2.8rem !important;
  }
}

@media (max-width: 480px) {
  .pricing-title {
    font-size: 2rem !important;
  }

  .new-price {
    font-size: 2.8rem !important;
  }
}

/* ============================================================
   11. LUXURY ROADMAP / TIMELINE SECTION
   ============================================================ */
@media (max-width: 991px) {
  .luxury-roadmap {
    padding: 80px 5% !important;
  }

  .roadmap-header {
    margin-bottom: 60px !important;
  }

  .timeline-line {
    left: 24px !important;
  }

  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 80px !important;
    margin-bottom: 60px !important;
  }

  .timeline-number {
    left: 24px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 18px !important;
  }

  .timeline-card {
    width: 100% !important;
  }

  .timeline-card h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 576px) {
  .timeline-item {
    padding-left: 65px !important;
  }

  .timeline-card {
    padding: 28px 22px !important;
  }
}

/* ============================================================
   12. MODULES SECTION
   ============================================================ */
@media (max-width: 991px) {
  .premium-modules {
    padding: 0px 5% !important;
  }
}

/* ============================================================
   13. READ BEFORE DECIDING (ZIGZAG TIMELINE)
   ============================================================ */
@media (max-width: 991px) {
  .read-before-section {
    padding: 0px 5% !important;
  }

  .read-before-header {
    margin-bottom: 60px !important;
  }

  .zigzag-line {
    left: 24px !important;
  }

  .zigzag-item {
    justify-content: flex-start !important;
    padding-left: 70px !important;
    margin-bottom: 50px !important;
    min-height: auto !important;
  }

  .zigzag-dot {
    left: 24px !important;
  }

  .zigzag-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 22px !important;
  }

  .zigzag-card::after {
    display: none !important;
  }
}

/* ============================================================
   14. FOUNDER SECTION
   ============================================================ */
@media (max-width: 991px) {
  .founder-section {
    padding: 80px 5% 60px !important;
  }

  .founder-container {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }

  .founder-image-wrap img {
    min-height: 380px !important;
    max-height: 450px;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .founder-image-wrap img {
    min-height: 300px !important;
  }

  .founder-title {
    font-size: clamp(28px, 7vw, 40px) !important;
  }
}

/* ============================================================
   15. ACHIEVEMENT BANNER & LOGOS
   ============================================================ */
@media (max-width: 991px) {
  .achievement-banner {
    padding: 45px 24px !important;
    margin: 40px 5% 0 !important;
  }

  .featured-logos {
    grid-template-columns: repeat(3, 1fr) !important;
    margin: 30px 5% 0 !important;
    gap: 12px !important;
  }

  .logo-card {
    min-height: 80px !important;
    padding: 20px 12px !important;
  }
}

@media (max-width: 576px) {
  .featured-logos {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .logo-text {
    font-size: 14px !important;
  }
}

/* ============================================================
   16. ACADEMY FEATURES GRID
   ============================================================ */
@media (max-width: 991px) {
  .academy-features {
    padding: 80px 5% !important;
  }

  .academy-heading-wrap {
    text-align: center !important;
  }

  .academy-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }

  .academy-card {
    padding: 36px 22px !important;
    min-height: 220px !important;
  }
}

@media (max-width: 576px) {
  .academy-grid {
    grid-template-columns: 1fr !important;
  }

  .academy-card {
    min-height: auto !important;
  }
}

/* ============================================================
   17. TESTIMONIALS SECTION
   ============================================================ */
@media (max-width: 991px) {
  .testimonials {
    padding: 80px 5% !important;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 50px !important;
  }
}

@media (max-width: 576px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .testimonial-card {
    padding: 30px 25px !important;
  }
}

/* ============================================================
   18. FAQ SECTION
   ============================================================ */
@media (max-width: 768px) {
  .faq-section {
    padding: 80px 5% 60px !important;
    margin-bottom: 40px !important;
  }

  .faq-title {
    font-size: clamp(36px, 9vw, 56px) !important;
  }

  .faq-question-row {
    padding: 18px 18px !important;
    gap: 12px !important;
  }

  .faq-question {
    font-size: 15px !important;
  }

  .faq-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 19px !important;
  }

  .faq-answer {
    padding: 0 18px 20px 18px !important;
    font-size: 14px !important;
  }

  .faq-cta {
    padding: 50px 20px !important;
    margin-top: 40px !important;
  }

  .faq-form {
    flex-direction: column !important;
    border-radius: 18px !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .faq-form button {
    width: 100% !important;
    text-align: center;
  }

  .faq-header {
    margin-bottom: 50px !important;
  }
}

/* ============================================================
   19. FOOTER
   ============================================================ */
@media (max-width: 991px) {
  .luxury-footer {
    padding: 60px 5% 30px !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
    padding-bottom: 40px !important;
  }

  .footer-brand {
    text-align: center !important;
    direction: ltr !important;
  }

  .brand-header {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .brand-description {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .footer-links {
    text-align: center !important;
    align-items: center !important;
    direction: ltr !important;
  }

  .footer-link,
  .footer-sub-link {
    margin: 0 auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .footer-link::before,
  .footer-sub-link::before {
    display: none !important;
  }

  .footer-bottom {
    flex-direction: column-reverse !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .footer-social {
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .luxury-footer {
    padding: 50px 5% 25px !important;
  }

  .footer-gold-line {
    margin-bottom: 35px !important;
  }

  .brand-name {
    font-size: 20px !important;
  }

  .footer-link {
    font-size: 15px !important;
  }

  .footer-copyright {
    font-size: 11px !important;
  }
}

/* ============================================================
   20. ABOUT PAGE — SPECIFIC OVERRIDES
   ============================================================ */
@media (max-width: 991px) {
  /* Hero */
  section.hero[class] {
    padding: 110px 5% 70px !important;
    min-height: auto !important;
  }

  /* Mission 2-col */
  .mission-section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Stat counters row */
  .mission-section [style*="display: flex"][style*="gap: 30px"] {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 30px !important;
  }

  /* Values 3-col */
  .values-section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }

  /* Founder 2-col */
  [style*="grid-template-columns: 400px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }

  /* Stats bar 4-col */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
  }

  [style*="border-right: 1px solid rgba(201,168,76,0.1)"] {
    border-right: none !important;
  }
}

@media (max-width: 576px) {
  /* Values single col */
  .values-section [style*="grid-template-columns: repeat(3, 1fr)"],
  .values-section [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Value card padding */
  .values-section [style*="padding: 45px 35px"] {
    padding: 30px 22px !important;
  }

  /* Quote card padding */
  [style*="padding: 60px 40px"] {
    padding: 32px 24px !important;
  }

  /* Founder image height */
  [style*="grid-template-columns: 400px 1fr"] img {
    height: 300px !important;
  }

  /* CTA buttons stack */
  [style*="display: flex"][style*="justify-content: center"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: center;
  }

  [style*="padding: 20px 55px"] {
    width: 100% !important;
    max-width: 300px;
    text-align: center !important;
  }

  [style*="padding: 20px 45px"] {
    width: 100% !important;
    max-width: 300px;
    text-align: center !important;
  }
}

/* ============================================================
   21. LOGIN PAGE — SPECIFIC
   ============================================================ */
@media (max-width: 768px) {
  .login-main {
    padding: 100px 4% 60px !important;
  }

  .login-card {
    padding: 28px 22px !important;
  }

  .login-container {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .login-title {
    font-size: clamp(24px, 7vw, 32px) !important;
  }

  .login-icon {
    width: 58px !important;
    height: 58px !important;
    font-size: 26px !important;
  }

  .input-group input {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  .login-btn {
    padding: 13px 20px !important;
    font-size: 11px !important;
  }
}

/* ============================================================
   22. SECTION GENERAL PADDING REDUCTION ON MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 70px 5% !important;
  }

  .section-title {
    font-size: clamp(30px, 7vw, 46px) !important;
  }

  .section-desc {
    font-size: 16px !important;
  }
}

/* ============================================================
   23. CURSOR — HIDE ON TOUCH DEVICES
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .cursor-shade {
    display: none !important;
  }
}

/* ============================================================
   24. CTA SECTION
   ============================================================ */
@media (max-width: 768px) {
  .cta-section {
    padding: 80px 5% !important;
  }
}

/* ============================================================
   25. OVERFLOW FIX FOR INLINE-STYLED ABSOLUTE ELEMENTS
   ============================================================ */
@media (max-width: 768px) {
  [style*="width: 900px"],
  [style*="width: 700px"],
  [style*="width: 800px"],
  [style*="width: 1000px"] {
    max-width: 100vw !important;
    overflow: hidden;
  }
}

/* ============================================================
   26. LONG-BTN RESPONSIVE
   ============================================================ */
@media (max-width: 576px) {
  .long-btn {
    padding: 18px 40px !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    width: 100%;
    max-width: 300px;
    text-align: center;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* ============================================================
   27. ENROLL BTN
   ============================================================ */
@media (max-width: 576px) {
  .enroll-btn {
    display: block !important;
    width: fit-content;
    margin: 20px auto 0 !important;
    padding: 12px 36px !important;
  }
}

/* ============================================================
   28. HERO SECTION PADDING (index.html — all sizes)
   ============================================================ */
@media (max-width: 991px) {
  section[style*="min-height: 100vh"][style*="padding: 120px 5%"] {
    padding: 110px 5% 70px !important;
    min-height: auto !important;
  }
}

@media (max-width: 576px) {
  section[style*="min-height: 100vh"] {
    padding: 100px 5% 60px !important;
    min-height: auto !important;
  }
}

/* ============================================================
   29. PREVENT CONTENT OVERFLOW ON SMALL SCREENS
   ============================================================ */
@media (max-width: 480px) {
  .banner-content,
  .founder-container,
  .academy-features-inner,
  .faq-container,
  .footer-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ============================================================
   30. NAV POSITION FIX FOR DROPDOWN
   ============================================================ */
nav {
  position: fixed !important;
  position: -webkit-sticky !important;
}

@media (max-width: 991px) {
  nav {
    position: fixed !important;
  }

  /* Make nav a positioning context for the dropdown */
  .nav-container {
    position: relative !important;
  }
}
