:root {
  --green: #1c3a2c;
  --green-dark: #152d22;
  --gold: #c9a45c;
  --gold-soft: #efe3c8;
  --cream: #f6f2ea;
  --text: #1f3328;
  --muted: #5d6b62;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 1rem; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 1rem; }
.eyebrow .line { width: 60px; height: 1px; background: var(--gold); }
.muted { color: var(--muted); }

/*logo*/
.logo { width: 60px; height: 55px; object-fit: contain;}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { box-shadow: 0 10px 25px -10px var(--gold); }
.btn-outline { border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--green); color: var(--cream); padding: .55rem 1.4rem; }
.link-line { display: inline-block; margin-top: 2rem; border-bottom: 1px solid var(--gold); padding-bottom: .25rem; font-weight: 500; color: var(--green); }
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-buttons .btn {
    background-color: #193C2D;
    color: white;
    border-radius: 40px;
    padding: 10px 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246,242,234,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #e5dfd2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--green); }
.logo svg { width: 36px; height: 40px; fill: var(--gold); }
.logo b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: .05em; }
.logo small { font-size: .62rem; letter-spacing: .5em; }
.logo.light { color: var(--cream); }
.nav { display: flex; gap: 2rem; font-size: .9rem; }
.nav a { color: var(--muted); padding-bottom: .25rem; border-bottom: 2px solid transparent; transition: color .2s; }
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); font-weight: 500; border-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--green); cursor: pointer; }

/* Hero (home) */
.hero { position: relative; min-height: 580px; overflow: hidden; display: flex; align-items: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,45,34,.92), rgba(21,45,34,.5) 50%, transparent); }
.hero-content { position: relative; color: #fff; padding-top: 6rem; padding-bottom: 6rem; width: 100%; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); max-width: 600px; margin: 1.5rem 0; }
.hero-content > p:not(.eyebrow) { max-width: 440px; opacity: .9; }
.buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Page hero (inner pages) */
.page-hero { background: var(--green); color: var(--cream); padding: 6rem 0 5rem; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-top: 1.2rem; max-width: 640px; }
.page-hero p:not(.eyebrow) { margin-top: 1.2rem; max-width: 520px; opacity: .85; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border: 1px solid rgba(201,164,92,.35); border-radius: 50%; }
.page-hero::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border: 1px solid rgba(201,164,92,.25); border-radius: 50%; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 6rem; padding-bottom: 6rem; }
.about h2 { color: var(--green); }
.about .muted { margin-top: 1.5rem; max-width: 500px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; font-size: 1.4rem; color: var(--green); transition: transform .3s; }
.feature:hover .icon-circle { transform: scale(1.12); }
.feature h3 { font-size: 1.3rem; color: var(--green); margin: 1rem 0 .4rem; }
.feature p { font-size: .9rem; color: var(--muted); }

/* Dark sections */
.dark { background: var(--green); color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-text { padding: 5rem 4rem 5rem max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem)); }
.split-text p:not(.eyebrow) { margin: 1.5rem 0 2rem; opacity: .85; max-width: 520px; }
.split > img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* Focus */
.focus { padding-top: 6rem; padding-bottom: 6rem; }
.focus-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; }
.focus-head h2 { color: var(--green); }
.focus-note { max-width: 360px; border-left: 1px solid var(--gold); padding-left: 1.5rem; font-size: .9rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; }
.card { position: relative; height: 300px; border-radius: 10px; overflow: hidden; cursor: pointer; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--green-dark), rgba(21,45,34,.3) 55%, transparent); }
.card:hover img { transform: scale(1.1); }
.card-body { position: absolute; bottom: 0; z-index: 1; padding: 1.25rem; color: #fff; }
.card-icon { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin-bottom: .7rem; }
.card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.card p { font-size: .8rem; max-height: 0; opacity: 0; overflow: hidden; transition: all .5s; }
.card:hover p { max-height: 80px; opacity: .9; margin-top: .3rem; }

/* Focus detail blocks (focus page) */
.focus-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 4rem 0; }
.focus-detail + .focus-detail { border-top: 1px solid #e5dfd2; }
.focus-detail img { border-radius: 10px; height: 320px; width: 100%; object-fit: cover; }
.focus-detail h3 { font-size: 1.8rem; color: var(--green); margin: .8rem 0; }
.focus-detail p { color: var(--muted); max-width: 480px; }
.focus-detail.flip img { order: 2; }

/* Get involved */
.involved { display: grid; grid-template-columns: 1fr 2fr; }
.involved > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.involved-body { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; padding: 4rem; align-items: center; }
.involved-body p:not(.eyebrow) { margin: 1rem 0 1.5rem; font-size: .9rem; opacity: .85; max-width: 440px; }
.ways { border-left: 1px solid rgba(201,164,92,.4); padding-left: 2rem; display: grid; gap: 1.2rem; font-size: .9rem; }
.ways span { color: var(--gold); margin-right: .6rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 6rem 0; }
.contact-grid h2 { color: var(--green); }
.contact-list { margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon-circle { flex-shrink: 0; width: 46px; height: 46px; font-size: 1.1rem; }
.contact-list b { display: block; color: var(--green); font-weight: 500; }
.contact-list span { font-size: .9rem; color: var(--muted); }
.contact-form { background: var(--green); color: var(--cream); border-radius: 12px; padding: 2.5rem; }
.contact-form h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.contact-form p { font-size: .9rem; opacity: .85; margin-bottom: 1.5rem; }
.contact-form label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 1.1rem 0 .4rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: .8rem 1rem; color: #fff; font-family: inherit; font-size: .95rem; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); }
.contact-form select option { color: var(--text); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 1.5rem; border: 0; cursor: pointer; font-family: inherit; }
.form-thanks { display: none; margin-top: 1rem; color: var(--gold); }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
.footer h4 { font-weight: 500; margin-bottom: .8rem; }
.soft { opacity: .8; font-size: .9rem; }
.soft li { margin-bottom: .3rem; }
.soft a:hover { color: var(--gold); }
.logo + .soft { margin-top: 1rem; }
.subscribe { display: flex; margin-top: 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; overflow: hidden; }
.subscribe input { flex: 1; background: transparent; border: 0; padding: .8rem 1rem; color: #fff; font-family: inherit; outline: none; }
.subscribe input::placeholder { color: rgba(255,255,255,.5); }
.subscribe button { background: var(--gold-soft); color: var(--green); border: 0; padding: 0 1rem; cursor: pointer; font-size: 1.1rem; }
.thanks { display: none; color: var(--gold); margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .8rem; opacity: .7; }
.footer-bottom a { margin-left: 1.5rem; }

/* Animations */
.fade-up { animation: fadeUp .9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--cream); border-bottom: 1px solid #e5dfd2; }
  .nav.open { display: flex; }
  .join { display: none; }
  .menu-btn { display: block; }
  .about, .split, .involved, .involved-body, .footer-grid, .focus-detail, .contact-grid { grid-template-columns: 1fr; }
  .focus-detail.flip img { order: 0; }
  .split-text { padding: 4rem 1.5rem; }
  .involved-body { padding: 3rem 1.5rem; }
  .ways { border: 0; padding: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features, .cards { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}
/* ===== TABLET / IPAD ===== */
@media screen and (max-width: 1024px) {
  .container {
    width: 90%;
    margin: auto;
  }

  .split {
    gap: 30px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }
}

/* ===== MOBILE ===== */
@media screen and (max-width: 768px) {
  .container {
    width: 92%;
    margin: auto;
  }

  .split {
    flex-direction: column;
  }

  .split img {
    max-width: 100%;
    height: auto;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .btn {
    max-width: 100%;
  }
}

/* ===== SMALL PHONES ===== */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 23px;
  }

  p {
    font-size: 15px;
  }
}

/* ===== FIX MOBILE NAVBAR BUTTONS ===== */
@media screen and (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .nav-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .nav-buttons .btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    width: auto;
    min-width: 0;
    border-radius: 30px;
  }

  .logo {
    flex-shrink: 0;
  }

  .menu-btn {
    flex-shrink: 0;
  }
}

/* ===== MOBILE HEADER FINAL FIX ===== */
@media screen and (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 12px;
  }

  /* Logo */
  .header-inner .logo {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    overflow: hidden;
  }

  .header-inner .logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
  }

  /* Hide logo text on mobile */
  .header-inner .logo b,
  .header-inner .logo small {
    display: none;
  }

  /* Buttons */
  .nav-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-buttons .btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Menu */
  .menu-btn {
    display: block;
    flex-shrink: 0;
    margin-left: 4px;
  }
}
