/* ========== Global Reset ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

/* Generic section helpers */
.section {
  padding: 2.5rem 1rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ========== Navigation ========== */
.site-header {
  background-color: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.nav-links a.active,
.nav-links a:hover {
  color: #6ccf6c;
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #0d6b3f;
  border-color: #0d6b3f;
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-outline {
  background-color: transparent;
  border-color: #0d6b3f;
  color: #0d6b3f;
}

.btn-outline:hover {
  background-color: #0d6b3f;
  color: #fff;
}

/* ========== Hero (Home page top) ========== */
.hero {
  padding: 2.75rem 1rem 2rem;
}

.hero-home {
  background: #0d6b3f;   /* solid green */
  color: #fff;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.hero-media {
  text-align: center;
}

.hero-logo {
  max-width: 100%;
  height: auto;
}

.hero-copy h1 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.hero-copy p {
  margin-bottom: 1rem;
  color: #f3f3f3;
}

.hero-home .hero-copy h1,
.hero-home .hero-copy p {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ========== Home intro (image + text) ========== */
.intro-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.intro-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.intro-text p + p {
  margin-top: 0.75rem;
}

.intro-figure {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.intro-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

/* ========== Features (3 cards) ========== */
.section-muted {
  background-color: #f7f7f7;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

/* ========== Green Call-to-Action strip ========== */
.section-cta {
  background-color: #0d6b3f;
  color: #fff;
}

.section-cta .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-buttons .btn-outline {
  border-color: #fff;
  color: #fff;
}

.cta-buttons .btn-outline:hover {
  background-color: #fff;
  color: #0d6b3f;
}

/* ========== Page banners (About / Apply / Contact) ========== */
.page-banner {
  background-color: #e0f2df;
  padding: 1.7rem 1rem;
}

.page-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-banner h1 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.page-banner p {
  color: #333;
}

.about-banner {
  border-bottom: 3px solid #0d6b3f;
}

/* ========== About layout (text + map) ========== */
.about-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.about-text p + p {
  margin-top: 0.9rem;
}

.about-map .map-card {
  background-color: #f7f7f7;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.map-card h2 {
  margin-bottom: 0.25rem;
}

.map-card p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.map-card iframe {
  width: 100%;
  height: 260px;
  border: none;
  margin-bottom: 0.5rem;
}

.map-link {
  font-size: 0.9rem;
  color: #0d6b3f;
  text-decoration: none;
}

/* ========== Apply page ========== */
.section-apply {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.apply-steps {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.apply-steps li h3 {
  margin-bottom: 0.35rem;
}

.apply-steps li p {
  color: #333;
}

.apply-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #0d6b3f;
  background-color: #f4f7f5;
}

/* ========== Contact page ========== */
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
}

.contact-main {
  width: 100%;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-form .field-full {
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #bbb;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.contact-note {
  font-size: 0.85rem;
  color: #555;
}

.contact-side .card {
  background-color: #f7f7f7;
  border-radius: 0.5rem;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.contact-side .card h2 {
  margin-bottom: 0.5rem;
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid #eee;
  padding: 1rem;
  font-size: 0.8rem;
  color: #fff;
}

.footer-bar {
  background-color: #0d6b3f;
  border-top: none;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* ========== Responsive Styles ========== */
@media (max-width: 900px) {
  .hero-inner,
  .intro-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 1.5rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    right: 1rem;
    top: 3.1rem;
    background-color: #000;
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 180px;
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
