:root {
  --green: #03823a;
  --green-dark: #04642f;
  --light-green: #e4f4e7;
  --lighter-green: #edf8f0;
  --text-main: #001018;
  --text-muted: #555b60;
  --bg-body: #f5f7f8;
  --white: #ffffff;
  --border-soft: #d7e2da;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --radius-card: 12px;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.logo-icon {
  background: var(--green);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
}

.logo-text {
  color: var(--green-dark);
}

.nav-center {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-center a {
  position: relative;
  padding-block: 0.25rem;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav-center a:hover::after {
  width: 100%;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(3, 130, 58, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(3, 130, 58, 0.32);
}

.btn-outline {
  border: 1.5px solid var(--green);
  color: var(--green);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(3, 130, 58, 0.06);
}

/* Nav Toggle (mobile) */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #222;
}

/* HERO */

.hero {
  position: relative;
  min-height: 420px;
  background-image: url("https://images.pexels.com/photos/1181555/pexels-photo-1181555.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.3)
  );
}

.hero-content {
  position: relative;
  padding-block: 4.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  line-height: 1.3;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 520px;
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.hero-btn {
  font-size: 0.95rem;
}

/* STATS BAR */

.stats-bar {
  background: var(--green);
  color: var(--white);
  padding: 1.4rem 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.stat-item h4 {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.stat-number {
  margin: 0.35rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ABOUT */

.about {
  background: var(--white);
  padding: 3.5rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.profile-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #8a56ff;
  color: #fff;
  font-weight: 700;
}

.about-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.6;
}

.about-text p + p {
  margin-top: 0.5rem;
}

.about-text .btn {
  margin-top: 1.3rem;
}

/* SECTION GENERIC */

section h2 {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
}

.section-subtitle {
  margin: 0 0 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* HOW TO APPLY */

.how-to-apply {
  background: var(--lighter-green);
  padding: 3.5rem 0;
}

.how-to-apply-alt {
  background: var(--light-green);
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.steps-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.3rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.step-card h3 {
  margin: 0;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.centered-cta {
  text-align: center;
  margin-top: 2.4rem;
}

/* WHY CHOOSE US */

.why-choose-us {
  background: var(--white);
  padding: 3.5rem 0;
}

.why-card {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.why-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.why-text h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.why-text p {
  color: var(--text-muted);
  line-height: 1.6;
}

.why-next-btn {
  margin-top: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 1.1rem;
  cursor: pointer;
}

/* FAQ */

.faqs {
  background: var(--light-green);
  padding: 3.5rem 0 4rem;
}

.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dbe5dc;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: none;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-arrow {
  font-size: 0.9rem;
  transition: transform 0.15s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  background: #f7faf7;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0.7rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* enough for our copy */
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* FOOTER */

.footer {
  background: var(--green);
  color: var(--white);
  margin-top: 0;
}

.footer-inner {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-column h3,
.footer-column h4 {
  margin-top: 0;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.footer-column li + li {
  margin-top: 0.35rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: #e8f6eb;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
  padding: 0.9rem 1rem 1.2rem;
  font-size: 0.8rem;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .nav-center,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu-open .nav-center,
  .nav-menu-open .nav-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  .nav-menu-open .nav-center {
    width: 190px;
  }

  .nav-menu-open .nav-right {
    width: 190px;
    margin-top: 0.5rem;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .about-inner,
  .why-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .steps-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 380px;
  }

  .steps-grid--4 {
    grid-template-columns: 1fr;
  }

  .about,
  .how-to-apply,
  .why-choose-us,
  .faqs {
    padding-inline: 0;
  }

  .about-inner,
  .why-card {
    gap: 1.6rem;
  }
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal-content {
  width: min(420px, 90%);
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-select {
  width: 100%;
  padding: .75rem;
  margin-top: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
}
