/* ============================================================
   BTN BD — Global Stylesheet
   Color palette:
     Forest Green  #1a5c3a  (primary / nav / headings)
     Mid Green     #2d8a57  (hover / accents)
     Gold          #c8963c  (highlight / badges)
     Light BG      #f4f9f6  (section backgrounds)
     White         #ffffff
     Text Dark     #1a2a1e
     Text Mid      #4a6055
   ============================================================ */

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

:root {
  --primary:   #1a5c3a;
  --mid:       #2d8a57;
  --gold:      #c8963c;
  --gold-lt:   #f0d9b0;
  --bg-light:  #f4f9f6;
  --bg-dark:   #0d1f15;
  --text:      #1a2a1e;
  --text-mid:  #4a6055;
  --white:     #ffffff;
  --border:    #c8e0d2;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(26,92,58,.10);
  --shadow-lg: 0 8px 40px rgba(26,92,58,.15);
  --transition: .25s ease;
  --max-w:     1180px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: var(--mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

/* ── CONTAINER ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}

.nav-logo {
  display: flex; flex-direction: column; line-height: 1.2;
  text-decoration: none;
}
.nav-logo .logo-main {
  font-size: 1.45rem; font-weight: 700; color: var(--white); letter-spacing: .5px;
}
.nav-logo .logo-sub {
  font-size: .6rem; color: var(--gold-lt); letter-spacing: 1px; text-transform: uppercase;
}

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.82);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,.12); color: var(--white); }

.nav-links a.btn-nav {
  background: var(--gold); color: var(--white);
  padding: 8px 18px; margin-left: 8px;
}
.nav-links a.btn-nav:hover { background: #b07e2e; }

/* mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; border-radius: 2px; transition: var(--transition);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--mid); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b07e2e; color: var(--white); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3a52 50%, #06273a 100%);
  color: var(--white); position: relative; overflow: hidden;
  padding: 100px 0 90px;
}
.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 .container { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block; background: rgba(200,150,60,.2); border: 1px solid var(--gold);
  color: var(--gold-lt); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px;
}
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px);
  transition: transform var(--transition), background var(--transition);
}
.hero-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.hero-card .card-badge {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 12px;
}
.hero-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.hero-card p { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.hero-card a { color: var(--gold-lt); font-size: .85rem; font-weight: 600; }
.hero-card a:hover { color: var(--gold); }

/* ── SECTION BASICS ──────────────────────────────────────── */
section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-dark  { background: var(--bg-dark); color: var(--white); }

.section-label {
  display: inline-block; color: var(--gold); font-size: .75rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--primary); line-height: 1.25; margin-bottom: 16px;
}
.section-dark h2.section-title { color: var(--white); }
.section-subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 680px; }
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }
.section-header { margin-bottom: 52px; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 36px; transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}

/* ── STAT STRIP ──────────────────────────────────────────── */
.stat-strip {
  background: linear-gradient(90deg, var(--primary) 0%, #0a3a52 100%);
  padding: 50px 0;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-num {
  font-size: 2.4rem; font-weight: 700; color: var(--gold); display: block;
}
.stat-item .stat-lbl { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── TWO-COL LAYOUT ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── FEATURE LIST ────────────────────────────────────────── */
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700;
}
.feature-list .ft strong { display: block; font-size: .95rem; color: var(--text); }
.feature-list .ft span { font-size: .85rem; color: var(--text-mid); }

/* ── GRID LAYOUTS ────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0a3a52 100%);
  padding: 70px 0 60px; color: var(--white);
}
.page-hero .tag {
  display: inline-block; background: rgba(200,150,60,.25); border: 1px solid var(--gold);
  color: var(--gold-lt); font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: 14px; }
.page-hero p  { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 620px; }

/* ── IMAGES ──────────────────────────────────────────────── */
.section-img {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover; border-radius: var(--radius);
  display: block; box-shadow: var(--shadow-lg);
}
.img-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
  background: var(--bg-light);
}
.img-frame::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  pointer-events: none;
}
.img-banner {
  width: 100%; height: 380px; object-fit: cover;
  display: block; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) {
  .section-img, .img-banner { min-height: 220px; height: 220px; }
}

/* ── COMPONENT: highlight box ────────────────────────────── */
.highlight-box {
  border-left: 4px solid var(--gold); background: var(--gold-lt);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.highlight-box p { color: var(--text); font-size: .95rem; }

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item::before {
  content: attr(data-n); position: absolute; left: -36px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; top: 3px;
}
.tl-item h4 { font-size: .95rem; color: var(--primary); margin-bottom: 4px; }
.tl-item p  { font-size: .88rem; color: var(--text-mid); }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.badge-primary { background: #dceef5; color: var(--primary); }
.badge-gold    { background: var(--gold-lt); color: #8a6020; }
.badge-green   { background: #d4edda; color: #1a6133; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .95rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(26,122,154,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-main { font-size: 1.4rem; font-weight: 700; color: var(--white); }
.footer-brand .logo-sub  { font-size: .6rem; color: var(--gold-lt); letter-spacing: 1px; text-transform: uppercase; }
.footer-brand p { font-size: .85rem; margin-top: 14px; line-height: 1.7; }
.footer-col h4 { font-size: .8rem; font-weight: 700; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-col ul a:hover { color: var(--gold-lt); }
.footer-contact p { font-size: .85rem; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--primary); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 60px; }
}
