/* ============================================
   {welovetocode} — Responsive stylesheet
   Mobile-first, desktop-enhanced
   ============================================ */
:root {
  --navy: #1a2b48;
  --navy-dark: #152841;
  --green: #39a236;
  --green-bright: #4caf3f;
  --white: #ffffff;
  --gray-light: #e2e2e2;
  --gray-bg: #ececec;
  --text-dark: #1a2b48;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Fira Code', monospace;
}

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

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { max-width: 740px; padding: 0 28px; } }
@media (min-width: 1024px) { .container { max-width: 1100px; padding: 0 40px; } }
@media (min-width: 1280px) { .container { max-width: 1240px; } }

/* ---------- Header ---------- */
.auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 41px;
  z-index: 201;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.site-header {
  background: var(--navy);
  border-bottom: 4px solid var(--green);
  position: fixed;
  top: 41px;
  left: 0;
  right: 0;
  z-index: 200;
}

main {
  padding-top: var(--header-h, 62px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(20px, 5.5vw, 26px);
  color: var(--white);
  white-space: nowrap;
}
.logo-img { height: 36px; width: auto; display: block; }
.logo .brace { color: var(--green-bright); }
.logo .accent { color: var(--green-bright); }

/* Hamburger — visible on mobile only */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn span {
  display: block;
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: var(--white);
}

/* Desktop nav — hidden on mobile */
.nav-desktop { display: none; }
.nav-cta-wrap { display: none; }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .site-header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .nav-cta-wrap {
    display: flex;
    justify-content: flex-end;
  }
  .nav-desktop .nav-cta {
    font-size: 14px;
    padding: 10px 28px;
  }
  .nav-desktop a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    transition: color .15s;
  }
  .nav-desktop a:hover,
  .nav-desktop a.active { color: var(--white); }
  .nav-desktop .nav-cta {
    font-size: 14px;
    padding: 10px 28px;
    margin-left: 8px;
    color: var(--white);
  }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--navy);
  border-left: 3px solid var(--green);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-header .logo { font-size: 18px; }
.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color .15s;
}
.mobile-nav-close:hover { color: var(--white); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 0;
}
.mobile-nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background .15s, color .15s;
}
.mobile-nav-links a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.mobile-nav-footer {
  padding: 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-footer .btn {
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 13px 20px;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 290;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.open { display: block; }

@media (min-width: 1024px) {
  .mobile-nav, .mobile-nav-backdrop { display: none !important; }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.png?v=2') center/cover no-repeat;
  opacity: 0.85;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(26,43,72,0.35), rgba(26,43,72,0.55));
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 72px;
}
@media (min-width: 768px) {
  .hero .container { padding-top: 100px; padding-bottom: 100px; }
}
@media (min-width: 1024px) {
  .hero .container { padding-top: 140px; padding-bottom: 140px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 8vw, 58px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero .sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 4.5vw, 24px);
  line-height: 1.35;
  margin-bottom: 36px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  opacity: 0.9;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.2); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
@media (min-width: 1024px) {
  .slider-arrow.prev { left: 40px; }
  .slider-arrow.next { right: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn:disabled, .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }
.btn-white { background: var(--white); color: var(--green); }
.btn-green { background: var(--green); color: var(--white); }

/* ---------- Section headings ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

/* First section on sub-pages — less top padding */
.section-page { padding-top: 32px; }
@media (min-width: 768px) { .section-page { padding-top: 40px; } }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  text-align: center;
  margin-bottom: 18px;
}
.section-title .num { color: var(--green); }
.section-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 8px;
}
@media (min-width: 768px) { .section-lead { max-width: 600px; font-size: 16px; } }
@media (min-width: 1024px) { .section-lead { max-width: 720px; } }

.section-tag {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--green);
  margin-top: 6px;
}

/* ---------- Steps timeline (How it works) ---------- */

/* Mobile: vertical */
.steps { position: relative; max-width: 340px; margin: 28px auto 0; }
.steps::before {
  content: '';
  position: absolute;
  left: 56px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--green);
}
.step {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 38px;
  position: relative;
}
.step:last-child { margin-bottom: 0; }
.step-icon {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--navy);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.step-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
}
.step-note {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Tablet/Desktop: horizontal */
@media (min-width: 768px) {
  .steps {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 48px auto 0;
  }
  /* horizontal connector line */
  .steps::before {
    top: 56px; /* center of 112px icon */
    left: 100px;
    right: 100px;
    bottom: auto;
    width: auto;
    height: 3px;
  }
  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    margin-bottom: 0;
  }
  .step-icon {
    flex: 0 0 112px;
  }
}

/* ---------- Dark sections ---------- */
.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}
.section-dark .section-lead { color: var(--white); }

/* ---------- Course slider ---------- */
.courses-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3.5vw, 26px);
  color: var(--white);
  text-align: center;
  margin: 30px 0 20px;
}

.course-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.course-arrow {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 52px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  transition: color .15s;
  align-self: stretch;
  display: flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}
.course-arrow:hover { color: var(--white); }
.course-arrow:active { color: var(--green-bright); }
@media (min-width: 1024px) {
  .course-arrow { font-size: 64px; padding: 0 16px; }
}

.course-slider {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 8px 0 16px;
}
.course-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/* card width: 1 visible on mobile */
.course-card {
  flex: 0 0 100%;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
/* 2 visible on tablet */
@media (min-width: 640px) {
  .course-card { flex: 0 0 calc(50% - 12px); }
}
/* 3 visible on desktop */
@media (min-width: 1024px) {
  .course-card { flex: 0 0 calc(33.333% - 16px); }
  .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.32);
  }
}
.course-card-img {
  position: relative;
  aspect-ratio: 1355 / 582;
  background: url('assets/course_photo2.jpg') center/cover no-repeat;
}
.badge-11 {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
}
.badge-11 .r { font-size: 19px; }
.badge-11 .c { font-size: 12px; }
.course-card-body { padding: 18px 22px 20px; text-align: center; }
.course-card-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.course-card-body p { font-size: 13px; line-height: 1.5; }
.read-more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
}
.read-more:hover { text-decoration: underline; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.carousel-dots .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.carousel-dots .dot.active,
.carousel-dots .dot:hover { background: var(--green); }


/* ---------- Subject grid ---------- */
.subject-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.subject-card {
  flex: 0 0 calc(50% - 8px);
}
@media (min-width: 768px) {
  .subject-card { flex: 0 0 calc(33.333% - 11px); }
}
@media (min-width: 1024px) {
  .subject-grid { gap: 24px; }
  .subject-card { flex: 0 0 calc(25% - 18px); }
}
.subject-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 10px;
  padding: 14px 14px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}
.subject-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.subject-card-content p {
  flex: 1;
}
.subject-card .icon-circle {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .subject-card { padding: 16px; gap: 14px; }
  .subject-card .icon-circle { flex: 0 0 64px; width: 64px; height: 64px; font-size: 10px; }
}
.subject-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .subject-card h4 { font-size: 15px; margin-bottom: 8px; }
}
.subject-card p {
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.subject-card .view-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
}
.subject-card .view-link:hover { text-decoration: underline; }

/* ---------- CTA section ---------- */
.cta-center { text-align: center; padding: 30px 0 60px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  border-top: 4px solid var(--green);
  color: var(--white);
  padding: 32px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--green-bright);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { opacity: .85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 768px) {
  .footer-grid { gap: 48px; }
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.footer-left .logo { margin-bottom: 16px; display: block; }
.footer-left .logo-img { height: 32px; }
.footer-left p { line-height: 1.6; margin-bottom: 10px; opacity: .9; }
.footer-left .email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--green-bright);
  margin-top: 16px;
}
.footer-left .email:hover { text-decoration: underline; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.footer-right h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--green-bright);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-right ul { list-style: none; }
.footer-right li { margin-bottom: 10px; }
.footer-right a { opacity: .85; }
.footer-right a:hover { opacity: 1; text-decoration: underline; }
/* ICO badge & security column */
.footer-security {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-security h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--green-bright);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-security .whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--white);
  opacity: 1 !important;
  text-decoration: none !important;
  transition: border-color .2s;
}
.footer-security .whatsapp:hover { border-color: var(--green); }
.footer-security .whatsapp svg { width: 20px; height: 20px; fill: var(--white); }
.ico-badge {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(99,179,237,.25);
  border-radius: 10px;
  padding: 10px 12px;
  gap: 8px;
  width: 100%;
  max-width: 210px;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: border-color .2s;
  cursor: pointer;
}
.ico-badge:hover { border-color: rgba(99,179,237,.6); }
.ico-badge-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}
.ico-shield { width: 15px; height: 15px; flex-shrink: 0; }
.ico-registered-text { flex: 1; }
.ico-view-link {
  font-size: 10px;
  font-weight: 500;
  color: var(--green-bright);
  white-space: nowrap;
}
.ico-badge-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ico-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ico-logo-text strong {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.03em;
}
@media (max-width: 480px) {
  .ico-badge { max-width: 100%; }
  .ico-logo-text strong { font-size: 26px; }
  .ico-badge-header { font-size: 14px; }
  .ico-shield { width: 18px; height: 18px; }
  .ico-ref-pill { font-size: 12px; padding: 4px 10px; }
}
.ico-logo-text span { font-size: 8px; opacity: .65; color: var(--white); line-height: 1.3; }
.footer-legal-links {
  list-style: none;
  margin-top: 4px;
}
.footer-legal-links li { margin-bottom: 6px; }
.footer-legal-links a {
  font-size: 11px;
  opacity: .6;
  text-decoration: none;
}
.footer-legal-links a:hover { opacity: 1; text-decoration: underline; }
.ico-ref-pill {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,.13);
  border-radius: 4px;
  padding: 3px 7px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.footer-bottom {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  opacity: .55;
  letter-spacing: .02em;
}
.footer-bottom--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  justify-content: center;
}
.footer-bottom--centered p { margin: 0; }
.footer-brand-name { font-family: 'Fira Code', monospace; }
@media (max-width: 540px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* ============================================
   COURSE DETAIL PAGE
   ============================================ */
.pt-page { padding-top: 32px; }
@media (min-width: 768px) { .pt-page { padding-top: 40px; } }

.back-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  margin: 0 0 18px;
}
.back-link:hover { text-decoration: underline; }

.course-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1667 / 785;
  background: url('assets/course_photo2.jpg') center/cover no-repeat;
}
.course-hero .badge-11 { width: 86px; height: 86px; top: 16px; right: 16px; }
.course-hero .badge-11 .r { font-size: 23px; }
.course-hero .badge-11 .c { font-size: 14px; }

.detail-section { padding: 28px 0 8px; }
.detail-section h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 6.5vw, 32px);
  margin-bottom: 16px;
}
.detail-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 5vw, 21px);
  margin-bottom: 14px;
}
.detail-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.band-gray { background: var(--gray-bg); padding: 34px 0; }

.learn-list { list-style: none; margin-top: 20px; }
.learn-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 22px;
}
.learn-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
}
.learn-list strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.learn-list span { font-size: 13.5px; line-height: 1.55; }

.check-list { list-style: none; margin-top: 16px; }
.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 14px;
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: -3px;
  color: var(--green);
  font-size: 21px;
  font-weight: 900;
}

/* CTA form */
.cta-form-section { text-align: center; }
.cta-form-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 6px;
}
.cta-form-section .tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 3vw, 22px);
  color: var(--green-bright);
  margin-bottom: 22px;
  display: block;
}
.cta-form-section .section-lead { margin-bottom: 30px; }
.cta-form { max-width: 480px; margin: 0 auto; text-align: left; }
@media (min-width: 768px) { .cta-form { max-width: 520px; } }
.cta-form input,
.cta-form textarea {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
}
.cta-form textarea { min-height: 140px; resize: vertical; }
.cta-form .btn { margin-top: 6px; width: 100%; }
@media (min-width: 480px) { .cta-form .btn { width: auto; display: block; margin-left: auto; margin-right: auto; } }
.form-feedback {
  max-width: 480px;
  margin: 0 auto 20px;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 14px;
  text-align: left;
}
.form-feedback.success { background: var(--green); color: var(--white); }
.form-feedback.error { background: #ffe3e3; color: #a12020; }
.form-feedback ul { margin: 0; padding-left: 18px; }

/* ============================================
   SUBJECT LANDING PAGE
   ============================================ */
.subject-course-count {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-top: 14px;
}
.subject-courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}
@media (min-width: 768px) {
  .subject-courses { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .subject-courses { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.sl-card {
  background: var(--white);
  border: 4px solid #3c3c3c;
  border-radius: 14px;
  overflow: hidden;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}
.sl-card-img {
  position: relative;
  aspect-ratio: 760 / 385;
  background: url('assets/course_photo2.jpg') center/cover no-repeat;
}
.sl-card-img .badge-11 { width: 58px; height: 58px; top: 8px; right: 8px; }
.sl-card-img .badge-11 .r { font-size: 15px; }
.sl-card-img .badge-11 .c { font-size: 8.5px; letter-spacing: 0; }
.sl-card-wide .sl-card-img .badge-11 { width: 74px; height: 74px; top: 12px; right: 12px; }
.sl-card-wide .sl-card-img .badge-11 .r { font-size: 19px; }
.sl-card-wide .sl-card-img .badge-11 .c { font-size: 11px; }
.sl-card-body {
  padding: 14px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sl-card-body .feat-grid { flex: 1; }
.sl-card-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.sl-card-body .feat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 10px;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  text-align: left;
  margin-bottom: 12px;
}
.feat-grid .feat {
  position: relative;
  padding-left: 22px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}
.feat-grid .feat::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}
.sl-card .read-more { margin-top: 0; font-size: 13px; }
.sl-card-wide { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
@media (min-width: 768px) { .sl-card-wide { max-width: 380px; } }
@media (min-width: 1024px) { .sl-card-wide { max-width: 340px; } }

/* ---------- CMS content pages ---------- */
.cms-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}
@media (min-width: 768px) { .cms-content { padding: 40px 28px 80px; } }
@media (min-width: 1024px) { .cms-content { padding: 48px 40px 96px; } }
.cms-content h1, .cms-content h2, .cms-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 32px 0 12px;
  line-height: 1.25;
}
.cms-content h1 { font-size: clamp(24px, 5vw, 36px); margin-top: 0; }
.cms-content h2 { font-size: clamp(18px, 3.5vw, 24px); }
.cms-content h3 { font-size: clamp(16px, 3vw, 20px); }
.cms-content p { margin-bottom: 16px; }
.cms-content ul, .cms-content ol { padding-left: 24px; margin-bottom: 16px; }
.cms-content li { margin-bottom: 6px; }
.cms-content a { color: var(--green); text-decoration: underline; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ===== Booking Modal ===== */
.bm-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.bm-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9998;
  touch-action: none;
}
.bm-box {
  background: #fff;
  color: #0f172a;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90dvh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 9999;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  overflow: hidden;
}
.bm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px;
  background: #0f172a;
  flex-shrink: 0;
}
.bm-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #3cb371;
  font-family: 'Fira Code', monospace;
}
.bm-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.bm-close:hover { color: #fff; }
.bm-box > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.bm-step { padding: 20px 24px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.bm-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
}
.bm-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}
.bm-tab {
  flex: 1;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 7px;
  transition: background .15s, color .15s, box-shadow .15s;
  text-align: center;
}
.bm-tab.active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.bm-choose-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #64748b;
  margin-bottom: 10px;
}
.bm-pkg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bm-pkg-row:hover { border-color: #3cb371; }
.bm-pkg-row.selected { border-color: #3cb371; background: #f0fdf4; }
.bm-pkg-row.featured { }
.bm-pkg-row input[type=radio] { display: none; }
.bm-pkg-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.bm-pkg-name { font-weight: 700; font-size: 14px; color: #0f172a; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bm-pkg-desc { font-size: 12px; color: #64748b; }
.bm-pkg-price { font-weight: 800; font-size: 18px; color: #0f172a; text-align: right; white-space: nowrap; }
.bm-pkg-price small { display: block; font-size: 11px; font-weight: 500; color: #3cb371; }
.bm-recommended {
  font-size: 10px; font-weight: 700; background: #3cb371; color: #fff;
  padding: 2px 7px; border-radius: 999px; letter-spacing: .04em;
}
.bm-most-booked {
  font-size: 10px; font-weight: 700; background: #3cb371; color: #fff;
  padding: 2px 7px; border-radius: 999px; letter-spacing: .04em;
}
.bm-save-badge {
  font-size: 10px; font-weight: 700; background: #dcfce7; color: #166534;
  padding: 2px 7px; border-radius: 999px;
}
.bm-footer { display: flex; justify-content: flex-end; margin-top: 20px; }
.bm-footer-split { justify-content: space-between; align-items: center; }
.bm-back {
  background: none; border: none; color: #64748b;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.bm-back:hover { color: #0f172a; }
.bm-field { margin-bottom: 16px; }
.bm-field-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; color: #64748b; margin-bottom: 6px;
}
.bm-optional { font-weight: 400; color: #94a3b8; }
.bm-input {
  width: 100%; background: #fff; border: 1.5px solid #e2e8f0;
  border-radius: 8px; color: #0f172a; padding: 10px 14px;
  font-size: 16px; font-family: inherit; box-sizing: border-box;
  transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
  min-height: 44px;
}
.bm-input:focus { outline: none; border-color: #3cb371; }
select.bm-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.bm-input[type="date"]::-webkit-datetime-edit,
.bm-input[type="time"]::-webkit-datetime-edit { color: #0f172a; padding: 0; }
.bm-input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.bm-input[type="time"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.bm-input[type="date"]::-webkit-calendar-picker-indicator,
.bm-input[type="time"]::-webkit-calendar-picker-indicator { opacity: 0.5; cursor: pointer; }
.bm-textarea { min-height: 90px; resize: vertical; }
.bm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bm-order-summary {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 14px 16px; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.bm-order-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #3cb371; }
.bm-order-summary span:not(.bm-order-label) { font-size: 13px; color: #334155; }
.bm-done { text-align: center; padding: 20px 0; }
.bm-done-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #3cb371;
  color: #fff; font-size: 28px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
@media (max-width: 480px) {
  .bm-row2 { grid-template-columns: 1fr; }
  .bm-tabs { flex-direction: column; }
  .bm-footer .btn { padding: 9px 14px; font-size: 13px; }
  .bm-overlay { align-items: flex-start; padding: 8px; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .bm-box { max-height: calc(100dvh - 16px); max-height: calc(var(--vh, 100vh) - 16px); border-radius: 12px; }
  .bm-step { padding: 16px 16px max(24px, env(safe-area-inset-bottom)) 16px; }
  .bm-header { padding: 16px; }
}

/* ===== Pricing Section ===== */
.pricing-section { background: #fff; }
.pricing-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 12px;
}
.pricing-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 16px;
}
.pricing-subhead {
  font-size: 15px; color: #475569; max-width: 680px;
  line-height: 1.7; margin-bottom: 40px;
}
.pricing-section-label {
  display: flex; align-items: baseline;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 17px; font-weight: 700; color: var(--navy);
}
.pricing-note { font-size: 13px; font-weight: 400; color: #94a3b8; }
.pricing-save-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--green); background: #f0fdf4;
  border: 1px solid var(--green); border-radius: 999px;
  padding: 2px 10px; margin-left: 8px; vertical-align: middle;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; align-items: stretch;
}
.pricing-card {
  background: #fff; border: 2px solid #cbd5e1;
  border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: visible;
}
.pricing-card-divider {
  border: none; border-top: 1px solid #cbd5e1;
  margin: 4px 0;
}
.pricing-card-featured { border-color: var(--green); }
.pricing-card-bundle-pop { border-color: #f59e0b; }
.pricing-badge-top {
  position: absolute;
  top: -13px;
  left: 24px;
  white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  background: var(--green); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(57,162,54,.25);
}
.pricing-card-bundle-pop .pricing-badge-top { background: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,.3); }
.pricing-duration {
  font-size: 17px; font-weight: 700; color: var(--navy);
}
.pricing-hrs-tag {
  font-size: 13px; color: #64748b; font-weight: 500;
  margin-top: -14px;
}
.pricing-price-wrap { display: flex; flex-direction: column; gap: 8px; }
.pricing-price {
  font-size: 44px; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.pricing-equiv {
  font-size: 13px; color: #334155;
}
.pricing-equiv strong { color: var(--navy); }
.pricing-saving-pill {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 700;
  color: #166534; background: #dcfce7;
  border-radius: 4px; padding: 2px 8px;
  margin-top: 4px;
}
.pricing-saving-best { color: #166534; background: #dcfce7; }
.pricing-desc { font-size: 14px; color: #475569; line-height: 1.6; flex: 1; }
.pricing-btn-dark {
  display: block; text-align: center;
  background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  transition: background .15s, transform .15s;
  border: none; cursor: pointer;
}
.pricing-btn-dark:hover { background: #1e3a6e; transform: translateY(-1px); }
.pricing-btn-amber {
  display: block; text-align: center;
  background: #f59e0b; color: #1a1a1a;
  padding: 12px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  transition: background .15s, transform .15s;
  border: none; cursor: pointer;
}
.pricing-btn-amber:hover { background: #d97706; transform: translateY(-1px); }
.pricing-cta {
  display: block; text-align: center;
  padding: 12px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
}
/* Good to know */
.pricing-good-to-know {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid #e2e8f0;
}
.gtk-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.gtk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
}
.gtk-item {
  font-size: 14px; color: #475569; line-height: 1.6;
  display: flex; gap: 8px; align-items: flex-start;
}
.gtk-item::before {
  content: '•';
  color: var(--green);
  font-size: 14px;
  line-height: 1.6;
  flex-shrink: 0;
  margin-top: 0;
}
.gtk-item strong { color: var(--navy); }
@media (max-width: 640px) {
  .gtk-grid { grid-template-columns: 1fr; }
}
/* CTA Banner */
.pricing-cta-banner {
  margin-top: 40px;
  background: var(--navy);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.pricing-cta-banner h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.pricing-cta-banner p { font-size: 14px; color: rgba(255,255,255,.7); }
.pricing-cta-banner .pricing-btn-amber { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .pricing-price { font-size: 36px; }
  .pricing-section-label { flex-direction: column; align-items: flex-start; }
  .pricing-cta-banner { text-align: center; justify-content: center; }
}

/* Pricing extras */
.pricing-strike {
  font-size: 20px; font-weight: 400; color: #94a3b8;
  text-decoration: line-through; margin-left: 6px;
}
.pricing-badge-recommended { background: #f59e0b !important; }
.pricing-saving-amber {
  color: #92400e !important; background: #fef3c7 !important;
}

@keyframes bm-spin { to { transform: rotate(360deg); } }

/* ===== Auth / Cart / Member pages (ported from welovetocode) ===== */
/* ============================================
   Auth Top Bar
   ============================================ */
.auth-topbar {
  background: var(--navy-dark);
  border-bottom: 1px solid #1e2d4a;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.auth-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
}
.auth-topbar-left { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.auth-topbar-left a, .auth-topbar-left .auth-label {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 13px;
}
.auth-topbar-left a:hover { color: #fff; }
.auth-topbar-left .auth-signup { color: var(--green); font-weight: 600; }
.auth-topbar-left .auth-signup:hover { color: var(--green-bright); }
.auth-divider { margin: 0 8px; color: rgba(255,255,255,.3); }
.cart-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.cart-btn:hover { background: rgba(255,255,255,.15); }

/* ============================================
   Cart Dropdown
   ============================================ */
.cart-dropdown {
  position: fixed;
  top: 41px;
  z-index: 9000;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-width: 340px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 16px;
}
.cart-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: transparent;
}
.cart-empty { color: #64748b; text-align: center; padding: 20px 0; font-size: 14px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}
.cart-item-remove {
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}
.cart-item-thumb {
  background: #1a2b48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.2;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; color: #1a2b48; font-size: 12px; }
.cart-item-sub { color: #64748b; font-size: 11px; }
.cart-item-price { font-weight: 700; color: #1a2b48; white-space: nowrap; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: #1a2b48;
  padding: 12px 0 8px;
}
.cart-actions { display: flex; gap: 10px; margin-top: 10px; }
.cart-action-btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .05em;
}
.cart-close-btn { background: #1a2b48; color: #fff; }
.cart-checkout-btn { background: var(--green); color: #fff; }
.cart-footer { display: block; }

/* ============================================
   WLTC Modals (Login + Booking)
   ============================================ */
.wltc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.wltc-modal {
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.wltc-modal-booking { max-width: 520px; }
.wltc-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #64748b;
}
.wltc-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a2b48;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.wltc-modal-subtitle {
  font-size: 12px;
  color: #64748b;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.wltc-form-group { margin-bottom: 16px; }
.wltc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #1a2b48;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.wltc-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  color: #1a2b48;
  outline: none;
  transition: border-color .2s;
}
@media (min-width: 768px) { .wltc-input { font-size: 14px; } }
.wltc-input:focus { border-color: var(--green); }
.wltc-input-error { border-color: #ef4444 !important; }
.wltc-field-error { display:block; color:#ef4444; font-size:12px; margin-top:4px; }
.wltc-input select, select.wltc-input {
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.wltc-forgot {
  display: block;
  color: #e53e3e;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 20px;
}
.wltc-modal-actions { display: flex; gap: 10px; }
.wltc-btn {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wltc-btn-dark { background: #1a2b48; color: #fff; }
.wltc-btn-outline { background: #1a2b48; color: #fff; }
.wltc-form-error {
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ============================================
   Auth Pages (Login / Register dedicated pages)
   ============================================ */
.auth-page-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px;
  background: #f8fafc;
}
.auth-page-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 44px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.auth-page-card-wide { max-width: 720px; }
.auth-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a2b48;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.auth-page-subtitle {
  font-size: 12px;
  color: #64748b;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.auth-alert {
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-alert-error { background: #fee2e2; color: #b91c1c; }
.auth-alert-success { background: #dcfce7; color: #166534; }
.auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .auth-row-2 { grid-template-columns: 1fr; }
  .auth-page-card { padding: 28px 20px; }
}
.auth-register-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.auth-register-btn { flex: 0 0 auto; padding: 12px 32px; }
.auth-login-link { font-size: 13px; color: #64748b; }
.auth-login-link a { color: var(--green); font-weight: 600; text-decoration: none; }
.auth-login-link a:hover { text-decoration: underline; }

/* ===== My Account Page ===== */
.content-area { padding: calc(var(--header-h) + 40px) 0 60px; min-height: 60vh; }
.content-area .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.content-area .row { display: flex; flex-wrap: wrap; gap: 32px; }
.content-area .col-lg-9, .content-area .col-md-9, .content-area .col-sm-8 { flex: 1 1 580px; min-width: 0; }
.content-area .col-lg-3, .content-area .col-md-3, .content-area .col-sm-4 { flex: 0 0 200px; }
.information-title { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.details-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px; }
.details-box .form-group { margin-bottom: 16px; }
.details-box label { display: block; font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.details-box input[type=text],
.details-box input[type=email],
.details-box input[type=password],
.details-box input[type=date],
.details-box input[type=tel],
.details-box select,
.details-box textarea { width: 100%; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 16px; color: var(--navy); background: #f8fafc; box-sizing: border-box; }
@media (min-width: 768px) { .details-box textarea { font-size: 14px; } }
.details-box input:disabled, .details-box input[readonly] { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.details-box .btn, .details-box button[type=submit] { background: var(--navy); color: #fff; border: none; padding: 10px 28px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.details-box .btn:hover, .details-box button[type=submit]:hover { background: var(--green); }
.details-box .row { display: flex; flex-wrap: wrap; gap: 16px; }
.details-box .col-md-6 { flex: 1 1 200px; }
.details-box .col-md-12 { width: 100%; }
.details-box hr { border: none; border-top: 1px solid #e2e8f0; margin: 8px 0; }
.details-box .has-error input, .details-box .has-error select { border-color: #ef4444; }
.details-box .help-block { font-size: 12px; color: #ef4444; margin-top: 4px; }
/* Account sidebar */
.account-sidebar .information-title { font-size: 16px; margin-bottom: 12px; }
.account-sidebar ul { list-style: none; padding: 0; margin: 0; }
.account-sidebar ul li { margin-bottom: 8px; }
.account-sidebar ul li a { color: var(--navy); font-size: 14px; text-decoration: none; display: block; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.account-sidebar ul li a:hover, .account-sidebar ul li.active a { color: var(--green); font-weight: 600; }
/* right_menu uses these classes */
.account-right { padding-left: 0; }
/* Pagination */
.pagination { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; flex-wrap: wrap; }
.pagination .page-item { display: inline-block; }
.pagination .page-link { display: flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; background: #fff; }
.pagination .page-item a.page-link:hover { background: var(--green); color: #fff; border-color: var(--green); }
.pagination .page-item.active .page-link { background: #1a2b48; color: #fff; border-color: #1a2b48; }
/* Topbar mobile */
@media (max-width: 480px) {
  .auth-topbar-left .auth-label { display: none; }
  .auth-divider { margin: 0 4px; }
  .auth-topbar-inner { padding: 6px 12px; }
}
.pagination .page-item.disabled .page-link { color: #cbd5e1; background: #f8fafc; cursor: default; }
