:root {
  --green-deep: #1a4d1a;
  --green-mid: #2d7a2d;
  --green-light: #4a9e4a;
  --green-pale: #e8f5e8;
  --red-ribbon: #8b1a2e;
  --red-mid: #b5253e;
  --red-light: #d4364f;
  --silver: #b8c4cc;
  --silver-light: #dde6ea;
  --off-white: #f7f9f7;
  --dark: #0d1f0d;
  --text-body: #2c3e2c;
  --gold-accent: #c8a84b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-body);
  background: var(--off-white);
  overflow-x: hidden;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--green-deep);
  color: #c8ddc8;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-bottom: 2px solid var(--gold-accent);
}
.topbar a { color: var(--silver-light); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar-main {
  background: #fff;
  border-bottom: 3px solid var(--green-mid);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.navbar-main .navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.navbar-main .brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.navbar-main .brand-text {
  line-height: 1.1;
}
.navbar-main .brand-text .org-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  display: block;
}
.navbar-main .brand-text .org-sub {
  font-size: 0.7rem;
  color: var(--red-ribbon);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}
.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-deep) !important;
  padding: 28px 14px !important;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 3px;
  background: var(--red-ribbon);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover { color: var(--red-ribbon) !important; }
.nav-link:hover::after { transform: scaleX(1); }
.navbar-toggler { border-color: var(--green-mid); }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0d2e0d 40%, #1a0a10 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
  pointer-events: none;
}
.hero-green-orb {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,45,0.3) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orbPulse 6s ease-in-out infinite alternate;
}
.hero-red-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,26,46,0.25) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation: orbPulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes orbPulse {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.15); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}
.hero-title .text-accent {
  color: var(--red-light);
  display: block;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}
.btn-primary-gov {
  background: var(--red-ribbon);
  color: #fff;
  border: 2px solid var(--red-ribbon);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 14px 30px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-primary-gov:hover {
  background: var(--red-mid);
  border-color: var(--red-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,26,46,0.4);
}
.btn-outline-gov {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 14px 30px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-outline-gov:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}
.stat-item {
  text-align: left;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}
.hero-logo-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}
.hero-logo-ring {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px solid rgba(200,168,75,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotateSlow 25s linear infinite;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-logo-inner {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateSlow 25s linear infinite reverse;
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-logo-inner img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(139,26,46,0.4));
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-pacp-badge {
  margin-top: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 4px;
  padding: 12px 24px;
  text-align: center;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 1s;
}
.hero-pacp-badge .pacp-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}
.hero-pacp-badge .pacp-name {
  font-family: 'Playfair Display', serif;
  color: var(--gold-accent);
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--red-ribbon), var(--green-deep));
}

/* ===== SECTION TITLES ===== */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-ribbon);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--red-ribbon);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.05rem;
  color: #5a715a;
  font-weight: 300;
  line-height: 1.75;
  max-width: 640px;
}

/* ===== SECTION 1: ABOUT ===== */
.about-section {
  padding: 90px 0;
  background: #fff;
}
.about-card {
  background: var(--green-pale);
  border-left: 4px solid var(--green-mid);
  padding: 28px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
}
.about-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 8px;
}
.about-card p {
  font-size: 0.92rem;
  color: #4a5e4a;
  line-height: 1.65;
  margin: 0;
}
.objective-list {
  list-style: none;
  padding: 0;
}
.objective-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--silver-light);
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}
.objective-list li:last-child { border-bottom: none; }
.objective-list li .icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--red-ribbon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.objective-list li .icon i {
  color: #fff;
  font-size: 0.6rem;
}
.focus-badge {
  display: inline-block;
  background: var(--green-deep);
  color: #c8ddc8;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 2px;
  margin: 4px;
}
.reg-box {
  background: var(--green-deep);
  color: #c8ddc8;
  padding: 24px 28px;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 30px;
}
.reg-box strong { color: var(--gold-accent); }

/* ===== SECTION 2: PROJECTS ===== */
.projects-section {
  padding: 90px 0;
  background: var(--off-white);
}
.project-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.project-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--green-deep);
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.project-card:hover .project-card-img img { opacity: 1; }
.project-card-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,13,0.8) 0%, transparent 60%);
}
.project-card-img .project-year {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red-ribbon);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.06em;
}
.project-card-body {
  padding: 22px;
}
.project-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.project-card-body p {
  font-size: 0.87rem;
  color: #5a715a;
  line-height: 1.6;
  margin: 0;
}
.project-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green-pale);
  color: var(--green-deep);
  padding: 3px 10px;
  border-radius: 2px;
  margin-top: 12px;
}
.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: var(--silver-light);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 1;
}
.timeline-content h6 {
  font-weight: 700;
  color: var(--green-deep);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 0.84rem;
  color: #5a715a;
  line-height: 1.55;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 30px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  background: var(--green-deep);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.4s, filter 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,31,13,0.9), transparent);
  color: #c8ddc8;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 16px 8px 6px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: uppercase;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===== SECTION 3: CONTACT ===== */
.contact-section {
  padding: 90px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,122,45,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.contact-section .section-eyebrow { color: var(--gold-accent); }
.contact-section .section-eyebrow::before { background: var(--gold-accent); }
.contact-section .section-title { color: #fff; }
.contact-section .section-lead { color: rgba(255,255,255,0.65); }
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 28px;
  height: 100%;
  transition: background 0.25s;
}
.contact-card:hover { background: rgba(255,255,255,0.09); }
.contact-card .contact-icon {
  width: 52px; height: 52px;
  background: var(--red-ribbon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: #fff;
}
.contact-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-card p, .contact-card a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  text-decoration: none;
  display: block;
}
.contact-card a:hover { color: #fff; }
.contact-card .placeholder-text {
  color: rgba(255,255,255,0.3);
  font-style: italic;
  font-size: 0.85rem;
}
.contact-form-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 36px;
  margin-top: 50px;
}
.contact-form-box h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.form-control-gov {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color 0.2s;
}
.form-control-gov::placeholder { color: rgba(255,255,255,0.3); }
.form-control-gov:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold-accent);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(200,168,75,0.15);
  outline: none;
}
.form-label-gov {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.btn-submit-gov {
  background: var(--red-ribbon);
  color: #fff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 14px 36px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  width: 100%;
}
.btn-submit-gov:hover {
  background: var(--red-mid);
  transform: translateY(-1px);
}

/* ===== PARTNERSHIPS BAR ===== */
.partners-bar {
  background: var(--green-pale);
  padding: 30px 0;
  border-top: 3px solid var(--green-mid);
  border-bottom: 3px solid var(--green-mid);
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 24px;
  border-right: 2px solid var(--silver);
}
.partner-badge:last-child { border-right: none; }
.partner-badge i { color: var(--red-ribbon); font-size: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 0 20px;
  font-size: 0.82rem;
}
footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
footer .footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
footer .footer-logo span {
  font-family: 'Playfair Display', serif;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
footer .footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 24px 0;
}
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
footer .reg-note {
  color: rgba(200,168,75,0.7);
  font-size: 0.75rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== IMAGE CAPTION SECTION ===== */
.field-overview {
  background: linear-gradient(135deg, #0d2e0d 0%, #1a4d1a 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.field-overview::before {
  content: 'FIELD OPERATIONS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  font-weight: 900;
  pointer-events: none;
}
.field-photo {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #111;
}
.field-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.5s, filter 0.3s;
}
.field-photo:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.field-photo .photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,30,10,0.95), transparent);
  color: #b0d0b0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 24px 10px 8px;
  text-align: center;
}
