/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #4caf50;
  --gold: #f9a825;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --dark: #1a1a1a;
  --gray: #555;
  --light-gray: #e0e0e0;
  --nav-height: 70px;
  --font-main: 'Segoe UI', Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--green-dark);
}

/* ===== POPUP ===== */
#student-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
#student-popup h2 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
#student-popup p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.85rem, 2vw, 1rem);
}
#student-popup p a {
  color: var(--gold);
  text-decoration: underline;
}
#popup-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s;
}
#popup-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-dark);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.nav-brand img {
  /* width: 180px; */
  height: 60px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a,
.nav-links > li > button {
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  font-family: var(--font-main);
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green-dark);
  min-width: 220px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 6px 6px;
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  transition: background 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.3rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== CAROUSEL CONTROL ===== */
.carousel-control {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
}
.carousel-control:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* background: linear-gradient(135deg, var(--green-dark) 0%, #1a3a1a 100%); */
}
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-slide.active {
  opacity: 1;
}
.sponsor-carousel .carousel-slide.active {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  color: #fff;
}
.hero-content .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-content .quote {
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.hero-content .quote-ref {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-main);
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #f57f17;
  border-color: #f57f17;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}
.section-bg {
  background: var(--off-white);
}
.section-green {
  background: var(--green-dark);
  color: #fff;
}
.section-green .section-title {
  color: #fff;
}

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.4rem;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.card-icon {
  background: var(--green);
  color: #fff;
  font-size: 2.5rem;
  padding: 2rem;
  text-align: center;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.card-body p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col img {
  border-radius: 8px;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), #2a5a2a);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== TABS ===== */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.65rem 1.4rem;
  border: none;
  background: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-main);
}
.tab-btn:hover {
  color: var(--green);
}
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* ===== SUB-NAV ===== */
.sub-nav {
  background: var(--green);
  padding: 0 2rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.sub-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.sub-nav a:hover,
.sub-nav a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* ===== CALENDAR TABLE ===== */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.calendar-table th {
  background: var(--green);
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calendar-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
}
.calendar-table tr:nth-child(even) td {
  background: var(--off-white);
}
.calendar-table tr:hover td {
  background: #e8f5e9;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green {
  background: #e8f5e9;
  color: var(--green-dark);
}
.badge-gold {
  background: #fff8e1;
  color: #e65100;
}

/* ===== FORM ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full {
  grid-column: 1/-1;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== AMBASSADOR CARDS ===== */
.ambassador-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}
.ambassador-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s;
}
.ambassador-card:hover {
  transform: translateY(-4px);
}
.ambassador-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.ambassador-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.ambassador-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== STEPS ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--gold);
}

/* ===== MISC ===== */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem 0 2rem;
}
.notice {
  background: #fff8e1;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #5d4037;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: 1;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > li > a,
  .nav-links > li > button {
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: left;
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    margin-left: 1.5rem;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.2);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-brand span {
    display: inline;
  }
  section {
    padding: 3rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: 70vh;
  }
}
@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .ambassador-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-table {
    font-size: 0.82rem;
  }
  .calendar-table th,
  .calendar-table td {
    padding: 0.6rem 0.4rem;
  }
}
