:root {
  --green-dark: #14532d;
  --green-main: #166534;
  --green-light: #E8F5E9;
  --text-main: #111827;
  --text-muted: #6B7280;
  --bg-light: #F8FAF9;
  --border-subtle: #E5E7EB;
}

/* Reset & base */

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Header & navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--green-dark);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background-color: rgba(22, 101, 52, 0.08);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #111827;
}

.menu-toggle span + span {
  margin-top: 4px;
}

/* Mobile nav */

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(260px, 80%);
  background-color: #ffffff;
  box-shadow: -2px 0 15px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
  z-index: 1100;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open {
  transform: translateX(0);
}

.close-mobile-nav {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.mobile-nav a {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  z-index: 1000;
}

.backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* Hero (home) */

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(
      135deg,
      rgba(22, 101, 52, 0.06),
      rgba(255, 255, 255, 0)
    ),
    var(--bg-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.7fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  color: #052e16;
}

.hero p {
  margin: 0 0 1rem;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.hero-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.hero-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stat {
  flex: 1 1 120px;
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-subtle);
}

.hero-stat-number {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 3rem 0 2.75rem;
}

.section-alt {
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

/* Feature / info cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--border-subtle);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

.info-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

/* Tags */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: var(--green-light);
  color: var(--green-dark);
  font-size: 0.85rem;
}

/* Layout helpers */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Check list */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: #16a34a;
}

/* Page hero (inner pages) */

.page-hero {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.18s ease-out,
    color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    transform 0.08s ease-out;
}

.btn-primary {
  background-color: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.35);
}

.btn-primary:hover {
  background-color: var(--green-main);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(22, 101, 52, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-dark);
  border-color: rgba(20, 83, 45, 0.6);
}

.btn-outline:hover {
  background-color: var(--green-light);
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

/* Courses */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.course-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.pill {
  background-color: #f3f4f6;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  color: #4b5563;
}

.course-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Testimonials */

.testimonial-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  min-height: 140px;
  border-radius: 0.9rem;
  background-color: #e5f3e8;
  border: 1px dashed var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green-dark);
  text-align: center;
  padding: 1rem;
}

/* Blog */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
}

.blog-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.blog-meta {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

/* Modal (Apply Now) */

.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  z-index: 1200;
  padding: 1rem;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 400px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.28);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.modal p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Footer */

.site-footer {
  background-color: #04130a;
  color: #e5e7eb;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #ecfdf3;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

.site-footer a {
  color: inherit;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-facebook {
  color: #dbeafe;
}

.social-instagram {
  color: #f9a8d4;
}

.social-tiktok {
  color: #f97373;
}

.social-review {
  color: #facc15;
}

.star-icon {
  font-size: 1.1rem;
}

.footer-map {
  margin-top: 1.75rem;
}

.footer-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 0.75rem;
}

.footer-copy {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 3rem 0 2.25rem;
  }

  .brand-tagline {
    display: none;
  }

  .section {
    padding: 2.25rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }
}