@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  --green-dark: #1a5c1a;
  --green: #2e7d32;
  --green-mid: #388e3c;
  --green-light: #e8f5e9;
  --yellow: #f9a825;
  --yellow-light: #fff8e1;
  --yellow-dark: #e65100;
  --white: #ffffff;
  --off-white: #f9fafb;
  --text: #1c2b1c;
  --text-muted: #5a6e5a;
  --border: #d4e8d4;
  --shadow: 0 4px 24px rgba(30, 80, 30, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

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

/* ── TOP BAR ── */
.topbar {
  background: var(--green-dark);
  color: #c8e6c9;
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.topbar a {
  color: #c8e6c9;
}
.topbar a:hover {
  color: var(--yellow);
}

/* ── NAVBAR ── */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Mobile: collapse floats over page instead of pushing content down */
@media (max-width: 991.98px) {
  .navbar {
    position: sticky;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 2px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    z-index: 1040;
    max-height: 80vh;
    overflow-y: auto;
  }
}
.navbar-brand img {
  height: 56px;
}
.nav-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text) !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-link:hover,
.nav-link.active {
  color: var(--green) !important;
  background: var(--green-light);
}
.btn-nav {
  background: var(--yellow);
  color: var(--green-dark) !important;
  font-weight: 800 !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.4rem !important;
}
.btn-nav:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}
.btn-nav.btn-nav-green {
  background: var(--green) !important;
  color: var(--white) !important;
}
.btn-nav.btn-nav-green:hover {
  background: var(--green-dark) !important;
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.dropdown-item:hover {
  background: var(--green-light);
  color: var(--green);
}

/* ── BUTTONS ── */
.btn-primary-qs {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-block;
}
.btn-primary-qs:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-yellow-qs {
  background: var(--yellow);
  color: var(--green-dark);
  border: none;
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 800;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-block;
}
.btn-yellow-qs:hover {
  background: #e65100;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-qs {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: 0.65rem 1.8rem;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-qs:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--green-dark) 0%,
    var(--green-mid) 60%,
    #1b5e20 100%
  );
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-img-wrap {
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 52%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero h1 span {
  color: var(--yellow);
  font-size: 1.5em !important;
}
.hero p.lead {
  color: #c8e6c9;
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* ── SECTION COMMONS ── */
.section {
  padding: 80px 0;
}
.section-sm {
  padding: 50px 0;
}
.section-alt {
  background: var(--off-white);
}
.section-green {
  background: var(--green-dark);
  color: var(--white);
}
.section-yellow {
  background: var(--yellow-light);
}

.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  padding: 0.28rem 0.9rem;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* divider */
.divider-yellow {
  width: 56px;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px;
  margin: 0.8rem 0 1.4rem;
}
.divider-green {
  width: 56px;
  height: 4px;
  background: var(--green);
  border-radius: 4px;
  margin: 0.8rem 0 1.4rem;
}

/* ── CARDS ── */
.qs-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  height: 100%;
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.qs-card:hover {
  box-shadow: 0 8px 32px rgba(30, 80, 30, 0.14);
  transform: translateY(-4px);
  border-color: var(--green);
}
.qs-card .icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}
.qs-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.qs-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* MCO badges */
.mco-badge {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  text-align: center;
}
.mco-badge:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

/* ── STATS STRIP ── */
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem;
  color: #a5d6a7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* ── TESTIMONIALS ── */
.testi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testi-card p {
  color: #e8f5e9;
  font-size: 1rem;
  font-style: italic;
}
.testi-card .author {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 1rem;
}

/* ── PROCESS STEPS ── */
.step-number {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  color: var(--green-dark);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

/* ── FAQ ACCORDION ── */
.qs-accordion .accordion-button {
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius) !important;
}
.qs-accordion .accordion-button:not(.collapsed) {
  color: var(--green);
  background: var(--green-light);
  box-shadow: none;
}
.qs-accordion .accordion-button::after {
  filter: none;
}
.qs-accordion .accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 {
  color: var(--white);
  position: relative;
}
.cta-band p {
  color: #c8e6c9;
  position: relative;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--green-dark) 0%,
    var(--green-mid) 100%
  );
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  background: rgba(249, 168, 37, 0.12);
  border-radius: 50%;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
}
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: #c8e6c9;
  font-size: 0.9rem;
}
.page-hero .breadcrumb-item.active {
  color: var(--yellow);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: #88c088;
}

/* ── TEAM CARD ── */
.team-card {
  text-align: center;
}
.team-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-light);
  margin-bottom: 1rem;
}
.team-card h5 {
  margin-bottom: 0.25rem;
}
.team-card .role {
  color: var(--yellow-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── CONTACT FORM ── */
.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* ── FOOTER ── */
footer {
  background: #0f2e0f;
  color: #a5d6a7;
  padding: 60px 0 0;
}
footer .footer-brand img {
  height: 52px;
}
footer .footer-brand p {
  color: #7caa7c;
  font-size: 0.92rem;
  margin-top: 0.8rem;
}
footer h6 {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 0.5rem;
}
footer ul li a {
  color: #7caa7c;
  font-size: 0.9rem;
  transition: color 0.2s;
}
footer ul li a:hover {
  color: var(--yellow);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #7caa7c;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.footer-contact li i {
  color: var(--yellow);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.footer-bottom {
  background: #0a1f0a;
  margin-top: 40px;
  padding: 1rem 0;
  text-align: center;
  color: #4e7a4e;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: #4e7a4e;
}
.footer-bottom a:hover {
  color: var(--yellow);
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  color: #a5d6a7;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    color 0.2s;
  margin-right: 0.35rem;
}
.social-links a:hover {
  background: var(--yellow);
  color: var(--green-dark);
}

/* ── HOTLINE STRIP ── */
.hotline-strip {
  background: var(--yellow);
  padding: 0.55rem 0;
  text-align: center;
  font-weight: 800;
  color: var(--green-dark);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.hotline-strip a {
  color: var(--green-dark);
  font-weight: 900;
}

/* ── SERVICE PAGE ── */
.service-tab-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.service-tab-card.featured {
  border-color: var(--yellow);
  background: var(--yellow-light);
}
.service-tab-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.service-tab-card .tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── CAREER CARD ── */
.career-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.career-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.career-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--green-light);
  color: var(--green);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

/* ── ELIGIBILITY CALLOUT ── */
.eligibility-box {
  background: linear-gradient(135deg, var(--green-dark), #1b5e20);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.eligibility-box ul li {
  margin-bottom: 0.5rem;
  color: #c8e6c9;
}
.eligibility-box ul li::marker {
  color: var(--yellow);
}

/* ── UTILITIES ── */
.text-green {
  color: var(--green) !important;
}
.text-yellow {
  color: var(--yellow) !important;
}
.text-green-dark {
  color: var(--green-dark) !important;
}
.bg-green-light {
  background: var(--green-light);
}
.bg-yellow-light {
  background: var(--yellow-light);
}
.rounded-qs {
  border-radius: var(--radius-lg);
}
.shadow-qs {
  box-shadow: var(--shadow);
}
img.rounded-qs {
  overflow: hidden;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-img-wrap {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* ── BLOG ── */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  height: 100%;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(30, 80, 30, 0.14);
  transform: translateY(-4px);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card .card-body {
  padding: 1.4rem;
}
.blog-card .cat-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--yellow);
  color: var(--green-dark);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}
.blog-card h5 {
  font-size: 1.05rem;
  margin: 0.6rem 0 0.5rem;
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── SERVICE DETAIL ── */
.service-icon-lg {
  width: 80px;
  height: 80px;
  background: var(--green-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--yellow-light);
  border-left: 5px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
}

/* ── READ MORE LINK ── */
.read-more {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.read-more:hover {
  color: var(--yellow-dark);
}
