/* Lotus Training Center — Dark Green, White, Red */
:root {
  --green-dark: #0d2818;
  --green: #1a4d2e;
  --green-mid: #2d6a4f;
  --green-light: #40916c;
  --white: #ffffff;
  --off-white: #f4f7f5;
  --red: #c41e3a;
  --red-hover: #a01830;
  --overlay: rgba(13, 40, 24, 0.82);
  --overlay-light: rgba(13, 40, 24, 0.65);
  --font-display: "Oswald", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --nav-h: 72px;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--green-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Background slideshow (all sections) ---- */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-bg__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.section-bg__slide.active {
  opacity: 1;
}

.section-bg__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* ---- Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 40, 24, 0.95);
  border-bottom: 2px solid var(--green-mid);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.brand__text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--green-mid);
  color: var(--white);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.4);
}

.btn--red:hover {
  background: var(--red-hover);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---- Sections ---- */
.section {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem;
  display: flex;
  align-items: center;
}

.section--short {
  min-height: auto;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3rem;
}

.section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.section__subtitle {
  text-align: center;
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Hero / Home ---- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__youtube,
.hero__local-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.hero__local-video {
  object-fit: cover;
}

.hidden {
  display: none !important;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 40, 24, 0.55) 0%,
    rgba(13, 40, 24, 0.78) 50%,
    rgba(13, 40, 24, 0.88) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  padding: 2rem 1.25rem 3rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 2rem;
}

.hero__mode {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero__mode .btn {
  font-size: 0.7rem;
  padding: 0.45rem 0.85rem;
}

.hero__mode .btn.active {
  background: var(--white);
  color: var(--green-dark);
}

/* ---- Cards / panels ---- */
.panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.panel--light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-dark);
  border-color: rgba(26, 77, 46, 0.2);
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: inherit;
}

.panel--light h3 {
  color: var(--green);
}

/* ---- Eligibility ---- */
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .eligibility-grid {
    grid-template-columns: 1fr;
  }
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--green-mid);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}

.panel--light .form-row input,
.panel--light .form-row select {
  background: var(--off-white);
  color: var(--green-dark);
}

.result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  display: none;
}

.result-box.visible {
  display: block;
}

.result-box--eligible {
  background: #d4edda;
  color: #155724;
  border: 2px solid #28a745;
}

.result-box--ineligible {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid var(--red);
}

.steps-list,
.check-list {
  list-style: none;
}

.steps-list li,
.check-list li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.steps-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.panel--light .check-list li::before {
  color: var(--green);
}

.eligibility-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.eligibility-details.open {
  max-height: 2000px;
}

/* ---- Table ---- */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.panel--light .data-table th,
.panel--light .data-table td {
  border-color: rgba(26, 77, 46, 0.2);
}

.data-table thead {
  background: var(--green);
  color: var(--white);
}

.data-table thead th {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

.panel--light .data-table tbody tr:nth-child(even) {
  background: rgba(26, 77, 46, 0.06);
}

/* ---- Two-column content ---- */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .content-columns {
    grid-template-columns: 1fr;
  }
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }
}

.contact-card p {
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--green-light);
  text-decoration: underline;
}

.panel--light .contact-card a {
  color: var(--green);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--green-dark);
  border-top: 2px solid var(--green-mid);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ---- Responsive nav ---- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(13, 40, 24, 0.98);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    text-align: center;
    padding: 0.85rem;
  }
}
