/* ============================================================
   Leading Tuition – Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --dark:   #3d0b1f;
  --cream:  #f7f0ea;
  --gold:   #c8a44a;
  --white:  #ffffff;
  --text:   #3d0b1f;
  --light-section: #f0e8df;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 58px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.navbar-nav a:hover,
.navbar-nav a.active { opacity: 1; font-weight: 700; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 5, 18, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 60px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
}

/* HOME HERO (full-viewport) */
.hero--home {
  height: 420px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.hero--home .hero-content {
  text-align: center;
  padding: 0 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── SECTION WRAPPERS ── */
.section { padding: 80px 60px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--light-section); }
.section--cream { background: var(--cream); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark);
  display: flex;
  justify-content: space-around;
  padding: 52px 60px;
  color: var(--white);
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 340px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #e8c97a;
  white-space: nowrap;
}

.stat-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ── TWO-COL FEATURE SECTION ── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 70px 60px;
  background: var(--cream);
  max-width: 100%;
}

.feature-row--reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; }
.feature-text h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.feature-text p { color: #4a2c3d; line-height: 1.8; }

.feature-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-img img {
  max-height: 280px;
  width: auto;
}

/* ── BOOTCAMP PROMO ── */
.bootcamp-promo {
  background: var(--light-section);
  text-align: center;
  padding: 80px 60px;
}

.bootcamp-promo h2 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.bootcamp-promo p {
  font-size: 1.05rem;
  color: #4a2c3d;
  margin-bottom: 36px;
}

.bootcamp-promo img {
  max-width: 600px;
  margin: 0 auto 36px;
  border-radius: 4px;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--dark);
  text-align: center;
  padding: 80px 60px;
  color: var(--white);
}

.testimonials h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.testimonials hr {
  border-color: rgba(255,255,255,0.2);
  margin-bottom: 48px;
}

.testimonial-stars { font-size: 2rem; color: #e8c97a; margin-bottom: 24px; }

.testimonial-quote {
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.testimonial-author {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ── AWARDS ── */
.awards-section {
  background: var(--cream);
  padding: 70px 60px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.award-block { max-width: 500px; }
.award-block h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: var(--dark);
}
.award-block img {
  max-width: 360px;
  margin: 0 auto 16px;
  border-radius: 4px;
}
.award-block p { font-size: 0.95rem; color: #4a2c3d; font-style: italic; }
.award-block p em { font-style: italic; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 52px 60px 28px;
}

footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

footer hr {
  border-color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s;
}

.footer-social a:hover { background: rgba(255,255,255,0.25); }

.footer-social svg { width: 22px; height: 22px; fill: white; }

footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* ── ABOUT ── */
.mission-section {
  background: var(--dark);
  color: var(--white);
  display: flex;
  gap: 60px;
  padding: 80px 60px;
  align-items: flex-start;
}

.mission-label {
  flex-shrink: 0;
  text-align: center;
  min-width: 220px;
}

.mission-label h2 {
  font-size: 2.4rem;
  color: #e8c97a;
  margin-bottom: 10px;
}

.mission-label p {
  font-size: 0.95rem;
  opacity: 0.8;
  font-style: italic;
}

.mission-body p {
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Team */
.team-section { padding: 80px 60px; background: var(--cream); }

.team-member {
  display: flex;
  gap: 52px;
  align-items: flex-start;
  margin-bottom: 72px;
}

.team-member:last-child { margin-bottom: 0; }

.team-member img {
  width: 300px;
  height: 360px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  filter: grayscale(100%);
}

.team-info h3 {
  font-size: 1.7rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 1rem;
  font-weight: 700;
  color: #7a3050;
  margin-bottom: 20px;
}

.team-info p {
  color: #4a2c3d;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Why Choose Us */
.why-choose {
  background: var(--dark);
  color: var(--white);
  padding: 80px 60px;
  text-align: center;
}

.why-choose h2 {
  font-size: 2.4rem;
  color: #e8c97a;
  margin-bottom: 52px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  margin-bottom: 48px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #e8c97a;
}

.why-item p { font-size: 0.9rem; opacity: 0.88; line-height: 1.7; }

.why-tagline {
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.video-wrapper {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 340px;
  border: none;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 80px 60px;
  background: var(--cream);
}

.service-card { text-align: center; }

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.92rem;
  color: #4a2c3d;
  line-height: 1.75;
}

.services-cta {
  text-align: center;
  padding: 52px 60px 80px;
  background: var(--cream);
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ── TUTORS ── */
.tutors-intro {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 72px 60px;
}

.tutors-intro p {
  max-width: 860px;
  margin: 0 auto 20px;
  opacity: 0.9;
  line-height: 1.8;
}

.uni-logos {
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 60px;
  flex-wrap: wrap;
}

.uni-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.join-team {
  background: var(--cream);
  padding: 80px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.join-team h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.join-team hr {
  border-color: rgba(61,11,31,0.2);
  margin-bottom: 36px;
}

.join-team p {
  color: #4a2c3d;
  margin-bottom: 20px;
  line-height: 1.8;
}

.join-team .btn { margin-top: 16px; }

/* ── FAQs ── */
.faq-list {
  background: var(--cream);
  padding: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(61,11,31,0.2);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { opacity: 0.75; }

.faq-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform 0.25s;
  color: var(--dark);
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding-bottom: 28px;
  color: #4a2c3d;
  line-height: 1.8;
}

.faq-answer p { margin-bottom: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* ── CONTACT ── */
.contact-section {
  background: var(--dark);
  color: var(--white);
  padding: 80px 60px;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-section .subtitle {
  opacity: 0.85;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-section hr {
  border-color: rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  opacity: 0.92;
}

.contact-detail svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }

.social-section {
  background: var(--dark);
  padding: 0 60px 72px;
  color: var(--white);
}

.social-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.social-icons a:hover { background: rgba(255,255,255,0.28); }
.social-icons svg { width: 26px; height: 26px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 24px; }
  .navbar-nav { gap: 18px; }
  .section { padding: 52px 28px; }
  .stats-bar { padding: 40px 24px; }
  .feature-row, .feature-row--reverse { flex-direction: column; padding: 52px 28px; }
  .mission-section { flex-direction: column; padding: 52px 28px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; padding: 40px 28px; }
  .services-cta { padding: 32px 28px 52px; flex-direction: column; align-items: center; }
  .team-member { flex-direction: column; }
  .team-member img { width: 100%; height: 300px; }
  .hero-content { padding: 0 28px; }
  .awards-section { flex-direction: column; padding: 52px 28px; }
  .faq-list { padding: 40px 28px; }
  .contact-section, .social-section { padding: 52px 28px; }
  footer { padding: 40px 28px 20px; }
  .uni-logos { gap: 40px; padding: 40px 28px; }
  .join-team { padding: 52px 28px; }
  .bootcamp-promo { padding: 52px 28px; }
  .testimonials { padding: 52px 28px; }
}

@media (max-width: 600px) {
  .navbar-nav { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stat-item { flex-direction: column; text-align: center; gap: 8px; }
  .hero--home { height: 340px; }
  .hero-content h1 { font-size: 1.9rem; }
}

/* HOME TESTIMONIALS UPGRADE */
.testimonials-home {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 60px;
}

.testimonials-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-home h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.testimonials-sub {
  font-size: 1rem;
  opacity: 0.82;
  margin-bottom: 28px;
}

.tp-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 12px 18px;
  margin-bottom: 34px;
  font-size: 0.92rem;
  color: var(--white);
}

.tp-brand {
  font-weight: 700;
}

.tp-stars-inline {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.tp-star-box {
  width: 18px;
  height: 18px;
  background: #00b67a;
  color: #fff;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.tp-rating-text strong {
  color: var(--white);
}

.tp-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.tp-scroller::-webkit-scrollbar {
  height: 10px;
}

.tp-scroller::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.tp-scroller::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
}

.tp-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 18px 18px;
  text-align: left;
  scroll-snap-align: start;
  min-height: 100%;
}

.tp-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tp-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #2c1b10;
}

.tp-avatar.pink { background: #f6d8e3; }
.tp-avatar.purple { background: #7c3aed; color: #fff; }
.tp-avatar.yellow { background: #f3e7aa; }
.tp-avatar.green { background: #cfeecf; }
.tp-avatar.blue { background: #90a8b8; color: #fff; }
.tp-avatar.orange { background: #f5d3ae; }

.tp-user-meta {
  min-width: 0;
}

.tp-user-meta h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-user-meta p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.tp-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.tp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tp-verified {
  font-size: 0.82rem;
  color: #8de0b9;
  white-space: nowrap;
}

.tp-title {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.tp-body {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.tp-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  border-radius: 6px;
  padding: 5px 9px;
  line-height: 1;
}

.tp-footer-link {
  text-align: center;
  margin-top: 22px;
}

.tp-footer-link a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FIX FOOTER CONTACT ICONS */
.footer-contact svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  fill: white;
}

/* TIDY AWARDS IMAGE SPACING */
.award-block img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

/* RESPONSIVE FOR NEW TESTIMONIALS */
@media (max-width: 900px) {
  .testimonials-home {
    padding: 52px 28px;
  }

  .tp-scroller {
    grid-auto-columns: 85%;
  }
}

@media (max-width: 600px) {
  .tp-summary {
    border-radius: 18px;
    padding: 12px 14px;
  }

  .tp-scroller {
    grid-auto-columns: 92%;
  }

  .tp-card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Generated page article spacing */
.container h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 1.6rem;
}

.container p {
  margin-bottom: 18px;
  max-width: 760px;
}

.container ul {
  margin: 18px 0 22px 20px;
  max-width: 760px;
}

.container li {
  margin-bottom: 8px;
}


/* ================================================================
   DROPDOWN NAVIGATION + HAMBURGER MENU  (added by update script)
   ================================================================ */

/* ── FIX MOBILE HORIZONTAL OVERFLOW ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── NAV CARET ── */
.nav-caret {
  font-size: 0.65em;
  opacity: 0.72;
  transition: transform 0.2s;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
  line-height: 1;
}

.nav-dropdown { position: relative; }

/* ── STANDARD DROPDOWN ── */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border-top: 2px solid var(--gold);
  z-index: 1200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  min-width: 260px;
}

.nav-dropdown:hover > .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-size: 0.875rem;
  opacity: 0.88;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.09); opacity: 1; }

/* Two-column layout for locations */
.nav-dropdown-menu--cols {
  column-count: 2;
  min-width: 300px;
}

/* ── MEGA MENU (Services) ── */
.nav-mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border-top: 2px solid var(--gold);
  z-index: 1200;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  min-width: 720px;
}

.nav-dropdown:hover > .nav-mega-menu { display: block; }

.nav-mega-header {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.nav-mega-header a {
  color: var(--gold) !important;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 1 !important;
}

.nav-mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.nav-mega-col {
  padding: 18px 22px 22px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.nav-mega-col:last-child { border-right: none; }

.nav-mega-col-title {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.nav-mega-col a {
  display: block;
  padding: 5px 0;
  color: var(--white);
  font-size: 0.855rem;
  opacity: 0.82;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.nav-mega-col a:hover { opacity: 1; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  z-index: 1100;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV (≤900px) ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }

  /* Override existing navbar-nav gap rule */
  .navbar-nav { gap: 0; }

  .navbar-nav:not(.open) { display: none !important; }

  .navbar-nav.open {
    display: flex !important;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    overflow-y: auto;
    flex-direction: column;
    padding: 0 0 32px;
    z-index: 1050;
  }

  .navbar-nav > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .navbar-nav > li > a {
    display: block;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 500;
  }

  /* Rotate caret when mobile dropdown is open */
  .nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
  }

  /* Disable hover-triggered dropdowns on mobile */
  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown:hover > .nav-dropdown-menu--cols,
  .nav-dropdown:hover > .nav-mega-menu { display: none; }

  /* Reset all dropdowns to static positioning for mobile */
  .nav-dropdown-menu,
  .nav-dropdown-menu--cols,
  .nav-mega-menu {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    transform: none;
    background: rgba(0,0,0,0.2);
    min-width: 100%;
    width: 100%;
  }

  /* Show when li has .open class (toggled by JS) */
  .nav-dropdown.open > .nav-dropdown-menu { display: block; }
  .nav-dropdown.open > .nav-dropdown-menu--cols { display: block; }
  .nav-dropdown.open > .nav-mega-menu { display: block; }

  /* Mega menu: stack columns vertically on mobile */
  .nav-mega-cols { display: flex; flex-direction: column; }

  .nav-mega-header {
    padding: 12px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-mega-col {
    border-right: none;
    padding: 12px 32px 8px;
  }

  .nav-mega-col-title {
    margin-top: 4px;
  }

  .nav-dropdown-menu a {
    padding: 10px 32px;
    white-space: normal;
    font-size: 0.9rem;
  }

  .nav-mega-col a {
    padding: 8px 0;
    white-space: normal;
  }

  .nav-dropdown-menu--cols {
    column-count: 1;
  }
}

/* ── KEEP FULL NAV ABOVE 900px ── */
@media (min-width: 901px) {
  .nav-hamburger { display: none !important; }
  .navbar-nav { display: flex !important; }
}

