:root {
  --green-dark: #234735;
  --green-mid: #3f694e;
  --accent: #c47a30;
  --bg-light: #f5f2ea;
  --text-main: #1f2523;
  --text-muted: #6d7770;
  --radius: 10px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.12);
  --max-width: 1100px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #ffffff;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--green-dark);
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(35, 71, 53, 0.96);
  color: #fff;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo image */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.75rem;
  opacity: 0.8;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.9rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 320px;
  background-image:
      linear-gradient(120deg, rgba(12, 32, 23, 0.7), rgba(25, 82, 57, 0.7)),
      url("banner-gis.jpg"); /* replace with your banner image if needed */
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  padding: 4rem 0;
  max-width: 650px;
}

.hero-content p {
  font-size: 1rem;
  margin-top: 0.75rem;
}

.hero-buttons {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--green-dark);
}

/* Grid & cards */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-small {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Pills */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(35, 71, 53, 0.06);
  border: 1px solid rgba(35, 71, 53, 0.12);
  font-size: 0.9rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.contact-form {
  background: #ffffff;
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #cfd3cf;
  font: inherit;
  resize: vertical;
  background: #fbfbf9;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 2px rgba(63, 105, 78, 0.15);
}

.contact-details {
  font-size: 0.95rem;
}

.small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  background: #18271d;
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Responsive tweaks */

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .hero {
    text-align: left;
  }
}

/* ---------------------------------------------------
   FORCE HERO TEXT WHITE — OVERRIDES GLOBAL HEADINGS
   --------------------------------------------------- */

.hero-content h1,
.hero-content p,
.hero-content a {
  color: #ffffff !important;
}

/* Ensure outline button stays white in hero */
.hero .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.hero .btn-outline:hover {
  background: #ffffff !important;
  color: var(--green-dark) !important;
}
