/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-primary: #1a7a3c;
  --green-dark: #155c2d;
  --green-bright: #4caf50;
  --green-tag: #4a8c4a;
  --green-topbar: #187145;
  --white: #ffffff;
  --text-dark: #111111;
  --text-mid: #333333;
  --text-gray: #555555;
  --font-jost: "Jost", sans-serif;
  --font-rubik: "Rubik", sans-serif;
  --font-inter: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-rubik);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-bar {
  background-color: var(--green-topbar);
  width: 100%;
  padding: 5px 0;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 18px;
}

.email-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.email-icon {
  color: var(--white);
  font-size: 11px;
}

.email-text {
  color: var(--white);
  font-family: var(--font-rubik);
  font-size: 11px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-icon {
  color: var(--white);
  font-size: 11px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.social-icon:hover {
  opacity: 0.75;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  font-family: var(--font-rubik);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-item:hover {
  color: var(--green-primary);
}
.nav-item.active {
  color: var(--green-bright);
}
.dropdown-icon {
  font-size: 10px;
}

.quote-btn {
  background: transparent;
  color: #0f4229;
  border: 2px solid #707070;
  border-radius: 10px;
  font-family: var(--font-rubik);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
}
.quote-btn:hover {
  background: var(--green-primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to bottom,
    rgba(0, 30, 8, 0.62) 0%,
    rgba(0, 50, 12, 0.5) 100%
  ); */
}

.hero-content-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-subtitle {
  font-family: var(--font-rubik);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-jost);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 56px 0 48px;
  background: var(--white);
}

.about-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 52px;
}

.about-content {
  flex: 1;
  min-width: 0;
}

.section-tag {
  font-family: var(--font-rubik);
  font-size: 17px;
  font-weight: 500;
  color: var(--green-tag);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-jost);
  font-size: 32px;
  font-weight: 700;
  
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-description {
  font-family: var(--font-rubik);
  
  font-size: 16px;
  line-height: 2;
  color: var(--text-gray);

  text-align: justify;
  text-justify: inter-word;
}

.about-image-wrapper {
  flex-shrink: 0;
  width: 350px;
}

.about-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ============================================================
   SERVICES SECTION  (new card-based design)
   ============================================================ */
.services-section {
  background: linear-gradient(135deg, #1d6b3d 0%, #125128 40%, #1d6b3d 100%);
  padding: 60px 40px 70px;
  position: relative;
  overflow: hidden;
}

/* Decorative network dots top-right */
.services-section::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 320px; height: 220px;
  background-image:
    radial-gradient(circle, rgba(0,230,80,.45) 2px, transparent 2px),
    radial-gradient(circle, rgba(0,230,80,.2) 1px, transparent 1px);
  background-size: 36px 36px, 18px 18px;
  background-position: 0 0, 9px 9px;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 75%);
  pointer-events: none;
}

/* ── Services header ── */
.services-header {
  text-align: center;
  margin-bottom: 44px;
}
.services-header .eyebrow {
  display: block;
  color: rgba(255,255,255,.65);
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.services-header h2 {
  color: #fff;
  font-family: var(--font-inter);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ── Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Card ── */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.35);
}

/* Card top (text) */
.card-body {
  padding: 20px 18px 16px;
  flex: 1;
}

/* Icon + title row */
.card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg {
  width: 26px;
  height: 26px;
}
.card-title {
  font-family: var(--font-inter);
  font-size: 13.5px;
  font-weight: 800;
  color: #0d3d0d;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding-top: 2px;
}

/* Feature list */
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-features li {
  font-family: var(--font-inter);
  font-size: 12.5px;
  color: #2d5a2d;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}
.card-features li .bullet {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
}
.bullet-check  { background: #d4edda; color: #1a6b2a; }
.bullet-shield { background: #d4edda; color: #1a6b2a; }
.bullet-cross  { background: #fdecea; color: #c0392b; }
.bullet-star   { background: #fff8e1; color: #e67e22; }
.bullet-gear   { background: #e3f2fd; color: #1565c0; }

/* Card image */
.card-image {
  height: 110px;
  overflow: hidden;
  background: #0a2e0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-image svg {
  width: 100%;
  height: 100%;
}

/* ── Services responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-section { padding: 40px 20px 50px; }
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
  position: relative;
  overflow: hidden;
  padding: 0;

  /* Background image */
  background: url("./images/project-bg.png") no-repeat center top;
  background-size: cover;

  padding-bottom: 50px;
  background-color: #f4fcf4;
}

/* Remove separate image layer */
.projects-section-bg {
  display: none;
}

/* ── Gradient overlay ── */
.projects-section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  /* background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 22%,
    rgba(244, 252, 244, 0.55) 34%,
    rgba(244, 252, 244, 0.88) 46%,
    rgba(244, 252, 244, 1) 56%,
    rgba(244, 252, 244, 1) 100%
  ); */

  pointer-events: none;
}

/* ── Heading strip ── */
.projects-heading-strip {
  position: relative;
  z-index: 2;
  padding: 38px 0 30px;
  text-align: center;
}

.projects-heading {
  font-family: var(--font-jost);
  font-size: 36px;
  font-weight: 700;
  color: #1b4d1b;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* ── Cards area ── */
.projects-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 52px;
}

/* ── 4-column grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Card flip / reveal on click ── */
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 195px;
  background: #fff;
}

/* Text overlay — hidden by default */
.project-card-overlay {
  position: absolute;
  inset: 0; /* covers the whole card */
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;

  /* Hidden state */
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

/* Visible state — toggled by JS */
.project-card.active .project-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dim the image when card is active */
.project-card.active .project-card-bg {
  filter: blur(2px) brightness(0.85);
  transition: filter 0.35s ease;
}

.project-card-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: filter 0.35s ease;
}

/* Overlay text styling */
.project-card-overlay p {
  font-size: 12px;
  line-height: 1.6;
  color: #000000; /* dark green to match your brand */
  font-weight: 400;
  letter-spacing: 0.25px;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 3px 8px 22px rgba(0, 80, 0, 0.2);
}

/* Project logo */
.project-card-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.project-card-logo img {
  max-width: 70%;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

/* Project name label below logo */
.project-card-name {
  font-family: var(--font-jost);
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.project-card-sub {
  font-family: var(--font-rubik);
  font-size: 8.5px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}


/* ============================================================
   WHY CHOOSE US  (HTML/CSS card section)
   ============================================================ */
.wcu-section {
  background: #f3f6f3;
  padding: 60px 40px 70px;
}

/* Header */
.wcu-header { text-align: center; margin-bottom: 46px; }
.wcu-header h2 {
  font-family: var(--font-inter);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: #333;
  letter-spacing: .5px;
}
.wcu-header h2 b {
  font-weight: 800;
  color: #1d6b3d;
}
.wcu-underline {
  width: 110px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #c9c9c9 30%, #c9c9c9 70%, transparent);
  position: relative;
}
.wcu-underline::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 4px;
  background: #1d6b3d;
  border-radius: 2px;
}

/* Grid */
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Card */
.wcu-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  padding-top: 6px;
  position: relative;
  padding-bottom: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wcu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

/* Top accent bar */
.wcu-card-bar {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #7fbf8f, #4f9e63);
  border-radius: 10px 10px 0 0;
}

/* Icon hexagon */
.wcu-icon-wrap {
  display: flex;
  justify-content: center;
  margin-top: -34px;
  margin-bottom: 14px;
}
.wcu-icon-hex {
  width: 80px;
  height: 80px;
  position: relative;
}
.wcu-icon-hex svg { width: 100%; height: 100%; }

.wcu-card h3 {
  font-family: var(--font-inter);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1d6b3d;
  margin-bottom: 16px;
}

.wcu-list {
  list-style: none;
  padding: 0 26px;
  display: flex;
  flex-direction: column;
}
.wcu-list li {
  font-family: var(--font-inter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #3a3a3a;
  padding: 10px 0;
  border-bottom: 1px solid #eef1ee;
}
.wcu-list li:last-child { border-bottom: none; }

.wcu-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #1f9e4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wcu-check svg { width: 11px; height: 11px; }

/* Why Choose Us responsive */
@media (max-width: 900px) {
  .wcu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wcu-grid { grid-template-columns: 1fr; }
  .wcu-section { padding: 40px 18px 50px; }
}

/* ============================================================
   CONTACT HEADER
   ============================================================ */
.contact-header {
  padding: 58px 20px 52px;
  background: #eef7ee;
  text-align: center;
}

.contact-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-subtitle {
  font-family: var(--font-rubik);
  font-size: 10.5px;
  font-weight: 500;
  color: #5a9a3a;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.contact-title {
  font-family: var(--font-jost);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  position: relative;
  background: #060f07;
  overflow: hidden;
  padding: 0;
}

/* Green radial glow + subtle bg image */
.footer-overlay {
  position: absolute;
  inset: 0;
  background-image: url("./images/contact.png");
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  pointer-events: none;
}

.footer-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 100%,
    rgba(0, 130, 40, 0.25) 0%,
    transparent 70%
  );
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 28px 0;
}

/* Description card */
.footer-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px 28px 20px;
  margin-bottom: 0;
}

.footer-card-content p {
  font-family: var(--font-rubik);
  font-size: 12px;
  color: rgba(195, 239, 193, 0.996);
  line-height: 1.75;
  text-align: center;
  padding-bottom: 20px;
}

/* Contact bar — light green strip inside the dark card */
.contact-bar {
  background: #bce8bc;
  border-radius: 6px;
  padding: 20px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}
.contact-item:last-child {
  border-right: none;
}

.contact-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-text {
  font-family: var(--font-rubik);
  font-size: 11.5px;
  color: #111;
  line-height: 1.5;
  font-weight: 500;
}

/* Copyright strip */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  position: relative;
}

.copyright {
  font-family: var(--font-rubik);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.778);
  letter-spacing: 0.3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-section {
    height: 280px;
  }
  .about-container {
    flex-direction: column;
    gap: 28px;
  }
  .about-image-wrapper {
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .project-card {
    height: 190px;
  }
  .projects-inner {
    padding: 0 16px 40px;
  }
  .contact-bar {
    flex-direction: column;
    gap: 18px;
  }
  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 14px;
  }
  .contact-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 540px) {
  .nav-links {
    display: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   PURE CSS DROPDOWN (SERVICES)
   ============================================================ */
.nav-item.dropdown {
  position: relative;
}

/* Hide the checkbox */
.dropdown-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* The label (clickable) */
.nav-item.dropdown .nav-link {
  cursor: pointer;
  font-family: var(--font-rubik);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-item.dropdown .nav-link:hover {
  color: var(--green-primary);
}

/* Dropdown menu – hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 8px 0;
  list-style: none;
  z-index: 1000;
  margin-top: 4px;
}

/* Show menu when checkbox is checked */
.dropdown-checkbox:checked ~ .dropdown-menu {
  display: block;
}

/* Styling for menu items */
.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--text-dark);
  font-family: var(--font-rubik);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}
.dropdown-menu li a:hover {
  background: #f0f8f0;
  color: var(--green-primary);
}

/* Adjust caret icon */
.dropdown-icon {
  margin-left: 4px;
  font-size: 12px;
}


.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}