/* ============================================================
   NAAMCOS – Main Stylesheet
   Color Palette (from brochure):
     Primary Green  : #1B6B3A
     Dark Green     : #124726
     Accent Gold    : #D4A017
     Light Gold     : #F5C842
     Off-White      : #F8F5EE
     Text Dark      : #1A1A2E
     Text Medium    : #4A4A6A
     Border Light   : #E2E8F0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --green-primary : #1B6B3A;
  --green-dark    : #124726;
  --green-light   : #2E8B57;
  --gold-accent   : #D4A017;
  --gold-light    : #F5C842;
  --off-white     : #F8F5EE;
  --bg-section    : #F0F4F1;
  --text-dark     : #1A1A2E;
  --text-medium   : #4A5568;
  --text-light    : #718096;
  --border-light  : #E2E8F0;
  --white         : #FFFFFF;
  --shadow-sm     : 0 2px 8px rgba(0,0,0,.08);
  --shadow-md     : 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg     : 0 16px 48px rgba(0,0,0,.16);
  --radius-sm     : 8px;
  --radius-md     : 16px;
  --radius-lg     : 24px;
  --transition    : all .35s cubic-bezier(.4,0,.2,1);
  --font-body     : 'Outfit', sans-serif;
  --font-heading  : 'Merriweather', serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--text-dark); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
p  { color: var(--text-medium); }

/* ── Utility ── */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-green { background: var(--green-primary); }
.bg-dark { background: var(--green-dark); }
.bg-off-white { background: var(--off-white); }
.bg-section { background: var(--bg-section); }

/* ── Special CTA Section ── */
.cta-section {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(18,71,38,0.92) 0%, rgba(10,45,25,0.96) 100%),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=80') center/cover no-repeat !important;
  color: var(--white);
}

/* Badge / tag */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-green { background: rgba(27,107,58,.12); color: var(--green-primary); }
.badge-gold  { background: rgba(212,160,23,.15); color: #A67A00; }

/* Section heading block */
.section-heading { margin-bottom: 56px; }
.section-heading .badge { margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p  { max-width: 620px; font-size: 1.05rem; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin: 0 auto; }

/* Divider accent */
.divider {
  display: inline-block;
  width: 60px; height: 4px;
  background: var(--gold-accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── Buttons ── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem; font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer; border: 2px solid transparent;
  z-index: 1;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease; z-index: -1;
}
.btn:hover::after { left: 100%; }

.btn-primary {
  background: var(--green-primary); color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,107,58,.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.btn-gold {
  background: var(--gold-accent); color: var(--white);
  border-color: var(--gold-accent);
}
.btn-gold:hover {
  background: #b8860b; border-color: #b8860b;
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,160,23,.45);
}

/* ── Header / Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(18,71,38,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
#navbar.solid { background: var(--green-dark); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  max-width: 1300px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); letter-spacing: .03em;
}
.nav-logo-text .tagline {
  font-size: .68rem; color: var(--gold-light);
  letter-spacing: .06em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px; border-radius: 100px;
  color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,.12);
}
.nav-cta {
  background: var(--gold-accent) !important; color: var(--white) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #b8860b !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}

/* ── Footer ── */
#footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; max-width: 280px; color: rgba(255,255,255,0.8); }
.footer-col h4 {
  color: var(--white); font-size: 1rem; font-weight: 700;
  margin-bottom: 20px; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .06em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-col .contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: .9rem;
}
.footer-col .contact-item .icon {
  font-size: 1rem; margin-top: 3px; flex-shrink: 0;
  color: var(--gold-light);
}
.footer-col ul li a i { margin-right: 6px; color: var(--gold-light); opacity: .7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: var(--gold-light); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
  transition: transform 0.1s ease, box-shadow 0.4s ease;
  overflow: hidden;
  will-change: transform;
}
.card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.15); z-index: 2; position: relative; }
.card-icon-wrap {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  background: rgba(27,107,58,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 20px;
  transition: all 0.6s ease;
  color: var(--green-primary);
}
.card-icon-wrap .fa-icon { font-size: 1.6rem; transition: all 0.6s ease; }
.card:hover .card-icon-wrap { background: var(--green-primary); transform: translateZ(10px); }
.card:hover .card-icon-wrap .fa-icon { color: var(--white) !important; transform: scale(1.05); }

/* ── Stat Box ── */
.stat-box {
  text-align: center; padding: 32px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  transition: var(--transition);
}
.stat-box:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat-box .stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-label { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border-light);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-accent);
}

/* ── Form ── */
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-weight: 600; font-size: .9rem; color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--text-dark);
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-primary);
  box-shadow: 0 8px 16px rgba(27,107,58,.1), 0 0 0 4px rgba(27,107,58,.15);
  transform: translateY(-2px);
}
.form-group textarea { height: 140px; resize: vertical; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.anim-fade-up { animation: fadeInUp .7s ease both; }
.anim-delay-1 { animation-delay: .15s; }
.anim-delay-2 { animation-delay: .3s; }
.anim-delay-3 { animation-delay: .45s; }
.anim-delay-4 { animation-delay: .6s; }

/* ── Green Grid / Partners ── */
.partner-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 32px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: var(--transition);
  font-weight: 700; font-size: 1.3rem;
  color: var(--green-primary);
}
.partner-logo-wrap:hover {
  border-color: var(--green-primary);
  background: var(--bg-section);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 40px 0; }
  .nav-links { 
    position: fixed; top: 80px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column; align-items: stretch;
    padding: 20px; gap: 4px;
    transform: translateY(-110%); opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 12px 20px; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stat-box .stat-num { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: .9rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
