/* Background image (relative to css/ folder) */
/*--bg-photo: url("http://127.0.0.1:5500/assets/bg-hero.png");*/
/*--wash-top: rgba(255,255,255,0.60);  /* overlay strength */
/*--wash-bot: rgba(255,255,255,0.60);
}*/

/* =========================================================
   Aggie's Foundation — Global
   ========================================================= */

:root {
  --ink:#153f3b;
  --muted:#4e6a67;
  --green:#1b615d;
  --teal:#2a8f8a;

  --cream:#f1ede5;
  --paper:#ffffff;
  --soft:#f3eee6;

  --terracotta:#c76844;
  --terracotta-700:#b25e3e;

  --line:#e8e1d6;
  --shadow:0 14px 28px rgba(16,24,40,.08), 0 2px 6px rgba(16,24,40,.06);

  --ring:0 0 0 3px rgba(26,127,122,.22);
}

/* Local ElmsSans */
@font-face{
  font-family:"ElmsSans";
  src:url("ElmsSans-Regular.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"ElmsSans";
  src:url("ElmsSans-Bold.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* Base */
* { box-sizing:border-box; }

html, body { height:100%; }

body{
  margin:0;
  font-family:"ElmsSans", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  line-height:1.55;
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(199,104,68,.10), transparent 65%),
    var(--cream);
}

/* keep footer at bottom */
html, body{
  display:flex;
  flex-direction:column;
}
main{ flex:1; }

img{ max-width:100%; display:block; border-radius:16px; }

a{ color:var(--green); text-decoration:none; }
a:hover{ color:var(--teal); }

button,input,select,textarea{ font:inherit; }

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 20px;
}

/* small green seam */
.top-strip{ height:10px; background:#2f6f6a; }

/* =========================================================
   Header
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:linear-gradient(180deg, #2f6f6a, #2f6f6a);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  margin:10px auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  display:flex;
  align-items:center;
  gap:.65rem;
  color:var(--ink);
}
.logo img{
  width:38px;
  height:38px;
  border-radius:50%;
  background:#fff;
  object-fit:cover;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.logo .brand-accent{
  color:#ffbd59;
  font-weight:800;
   font-size:2rem;

}
.logo strong{
  color:var(--ink);
  font-weight:800;
   font-size:2rem;
}

.nav a{
  margin:0 12px;
  color:var(--ink);
  font-weight:600;
  opacity:.95;
}
.nav a:hover{ opacity:1; }

/* --- Projects dropdown (desktop) --- */

/* Make nav items hoverable groups */
.nav {
  display: flex;
  align-items: center;
}

/* Wrapper around "Projects" + its dropdown */
.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item-projects {
  position: relative;
  display: inline-block;
}

/* Dropdown panel for Projects */
.nav-item-projects .nav-dropdown {
  position: absolute;
  top: 120%;         /* or top: calc(100% + 6px); if you prefer */
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  /* REMOVE pointer-events: none; */
  z-index: 20;
}

/* Links inside dropdown */
.nav-item-projects .nav-dropdown a {
  display: block;
  padding: 8px 16px;
  white-space: nowrap;
  color: var(--ink);
}

.nav-item-projects .nav-dropdown a:hover {
  background: #f4efe7;
}

/* Keep menu open while hovering Projects OR the dropdown */
.nav-item-projects:hover .nav-dropdown,
.nav-item-projects:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pill-donate{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:var(--terracotta);
  color:#fff;
  font-weight:800;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 3px 10px rgba(199,104,68,.22);
}
.pill-donate:hover{ background:var(--terracotta-700); }

.hamburger{
  display:none;
  gap:6px;
  background:none;
  border:0;
  cursor:pointer;
}
.hamburger span{
  width:22px;
  height:2px;
  background:var(--ink);
  display:block;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}
.btn.primary{
  background:#1b615d;
  border-color:#1b615d;
  color:#fff;
}
.btn.small{
  padding:8px 14px;
  font-size:.92rem;
}
.btn.contrast{
  background:var(--terracotta);
  color:#fff;
  border-color:transparent;
}
.btn.contrast:hover{ background:var(--terracotta-700); }
.btn.light{ background:#fff; border-color:transparent; }

.btn.hero-donate{
  background:var(--terracotta);
  color:#fff;
  border:1px solid rgba(0,0,0,.05);
  padding:12px 20px;
  font-weight:800;
  box-shadow:0 6px 16px rgba(199,104,68,.22);
}
.btn.hero-donate:hover{ background:var(--terracotta-700); }

.btn.hero-impact{
  background:#e7efe9;
  color:#1b4f49;
  border:2px solid #5c8b84;
  padding:10px 18px;
  font-weight:700;
}

/* =========================================================
   Hero — headline, circles, image
   ========================================================= */

.hero-split{
  padding:10px 0 30px;
  background:linear-gradient(180deg, rgba(199,104,68,.06), transparent 55%), var(--cream);
}

.hero-frame{
  padding-top:6px;
}

.hero-split-grid{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1.5fr);
  column-gap:40px;
  align-items:center;
}

/* LEFT: text + circles */
.hero-left h1{
  font-size:3.1rem;
  line-height:1.05;
  letter-spacing:-0.01em;
  margin:0 0 10px;
  color:var(--ink);
}
.hero-left .sub{
  margin:0 0 18px;
  font-size:1.08rem;
  color:var(--muted);
}

/* Buttons + circles aligned */
/* Buttons + circles stacked (buttons row, circles row) */
.hero-actions{
  display:flex;
  flex-direction:column;   /* stack rows */
  align-items:flex-start;
  gap:20px;
  margin-top:16px;
}

/* Buttons side-by-side */
.hero-actions .cta-row{
  display:flex;
  flex-direction:row;
  gap:16px;
}

/* Circles in one row below the buttons */
.hero-actions .facts{
  display:flex;
  gap:20px;
  align-items:center;
  padding:0;
  margin:0;
}


/* Fact circles */
.fact{ list-style:none; }

.fact-circle{
  --d:120px;
  width:var(--d);
  height:var(--d);
  padding:12px;
  border-radius:50%;
  background:#fff;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:2px;

  box-shadow:0 8px 22px rgba(0,0,0,.08);
  overflow:hidden;
  box-sizing:border-box;
}
.fact-circle.ring{
  box-shadow:
    inset 0 0 0 10px #145B58,
    0 8px 22px rgba(0,0,0,.08);
}
.fact-number{
  font-weight:800;
  color:#124c49;
  line-height:1.0;
  font-size:clamp(18px, 2.6vw, 26px);
  white-space:nowrap;
}
.fact-label{
  color:#3d5d5a;
  line-height:1.1;
  font-weight:600;
  font-size:clamp(10px, 1.6vw, 13px);
  word-break:break-word;
}

/* RIGHT: hero image with left fade */
.hero-right{
  position:relative;
}
.hero-right img{
  width:100%;
  max-height:520px;
  height:100%;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(16,24,40,.08);
}
/*.hero-right::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:32%;
  pointer-events:none;
  border-radius:18px 0 0 18px;
  background:linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(241,237,229,0.85) 40%,
    rgba(241,237,229,0) 100%
  );
} */

/* small screens hero tweaks */
@media (max-width:900px){
  .hero-split-grid{
    grid-template-columns:1fr;
  }
  .hero-right{
    margin-top:28px;
  }
}

/* Circles smaller on very small screens */
@media (max-width:520px){
  .fact-circle{ --d:104px; padding:10px; }
  .hero-actions .facts{ gap:14px; }
}

/* STORY + IMPACT TILES (below hero) */

.soft-band{
  background:var(--soft);
  padding:26px 0 30px;
  border-top:1px solid var(--line);
}

.story-impact{
  display:grid;
  /* make left card narrower, right column wider */
  grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  gap:32px;
  align-items:stretch;
}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  color:var(--ink);
}

.story.card{
  padding:24px 24px 22px;
}
.story-title{
  margin:0 0 8px;
  font-size:1.15rem;
}
.story.card p{
  margin:8px 0 20px;
  color:var(--muted);
}

/* impact tiles */
.impact-tiles{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr)); /* 3 equal columns */
  gap:24px;
}

.impact.card{
  padding:22px 18px 20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.impact-icon{
  width:80px;
  height:80px;
  border-radius:18px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#f7f3ec;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}
.impact-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* fix tiny margin typo here */
.impact h4{
  margin:0 0 8px;
  font-size:1.02rem;
}
.impact p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.45;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:var(--terracotta);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.05);
  margin-top:auto;
}
.chip:hover{ background:var(--terracotta-700); }

@media (max-width:960px){
  .story-impact{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .impact-tiles{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:520px){
  .impact-tiles{ grid-template-columns:1fr; }
}

/* =========================================================
   About page
   ========================================================= */

/* narrow hero like on the homepage story section */
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* top band with "About us" */
.page-hero {
  background: #f4efe7;
  padding: 48px 0 32px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 2.4rem;
  color: #124c49;
  letter-spacing: -0.01em;
}

.page-hero .lead {
  margin: 0;
  color: #3f5b57;
  font-size: 1.02rem;
}

/* main white card under the hero */
.about-approach {
  padding: 32px 0 64px;
  background: transparent;
}

.about-card {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px 24px 28px;
}

/* top row: text + large image */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.about-copy h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: #124c49;
}

.about-copy p {
  margin: 0 0 12px;
  color: #405e5a;
}

/* small bullet list */
.about-copy .checklist {
  margin: 8px 0 0;
  padding-left: 18px;
}

.about-copy .checklist li {
  margin: 4px 0;
}

/* big image on the right */
.about-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.about-media .caption {
  font-size: 0.92rem;
  color: #546b67;
  margin-top: 6px;
}

/* second row: three tiles, styled similarly to home impact tiles
   but scoped only to the About page */
.about-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.about-tile {
  background: #f7f3ec;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px 16px 18px;
  box-shadow: 0 6px 16px rgba(16,24,40,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-tile h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #124c49;
}

.about-tile p {
  margin: 0 0 10px;
  color: #4e6a67;
  font-size: 0.96rem;
}

/* small image/icon in tiles */
.about-tile img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* button style reused from other cards */
.about-tile .chip {
  margin-top: auto;
}

/* stack nicely on smaller screens */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .about-tiles {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   CTA band
   ========================================================= */

.cta{
  background:var(--terracotta);
  color:#fff;
  margin:34px 0 0;
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 20px;
}
.cta-quote{
  font-size:1.25rem;
  font-weight:800;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer{
  margin-top:36px;
  background:linear-gradient(180deg, #1e5c57, #1b534f);
  color:#fff;
  padding:36px 20px;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.3fr;
  gap:36px;
  align-items:start;
  max-width:1120px;
  margin:0 auto;
}
.site-footer a{
  color:#fff;
  text-decoration:underline;
}

/* footer logo */
.site-footer .logo{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-weight:800;
  font-size:1.28rem;
}
.site-footer .logo::before{
  content:"";
  width:44px;
  height:44px;
  border-radius:50%;
  flex:0 0 44px;
  background:#fff url("logo.PNG") center/90% no-repeat;
  box-shadow:0 3px 8px rgba(0,0,0,.18);
  border:1px solid rgba(0,0,0,.08);
}
.site-footer .logo .brand-accent{
  color:#f1ede5;     /* cream Aggie's */
}
.site-footer .logo span{
  color:#f1ede5;
}

.site-footer h4{
  margin:0 0 12px;
  font-weight:700;
  font-size:1.16rem;
}
.copyright{
  margin-top:12px;
  color:#fff;
  font-size:.9rem;
  opacity:.85;
}

/* Social icons */
.footer-social{
  display:flex;
  gap:16px;
  margin-top:14px;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  transition:background 0.3s ease, transform 0.2s ease;
}
.footer-social a:hover{
  background:rgba(255,255,255,0.18);
  transform:translateY(-2px);
}
.footer-social img{
  width:26px;
  height:26px;
  object-fit:contain;
  filter:brightness(100%) invert(0);
  transition:transform 0.2s ease;
}

/* Optional: hover zoom a tiny bit more for all three */
.footer-social a:hover img{
  transform:scale(1.25);
}

label{ display:grid; gap:6px; }
input,textarea{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  color:var(--ink);
}
input:focus,textarea:focus{
  outline:none;
  box-shadow:var(--ring);
}
.inline-form{
  display:flex;
  gap:8px;
}
.inline-form input{ flex:1; }

/* =========================================================
   Responsive header & misc
   ========================================================= */

@media (max-width:1024px){
  .cta-inner{
    flex-direction:column;
    text-align:center;
  }
}



@media (max-width:640px){
  .header-inner{ padding:10px 12px; }

  .nav{
    display:none;
    position:absolute;
    right:16px;
    top:60px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:12px;
    box-shadow:var(--shadow);
  }
  .nav a{
    display:block;
    padding:8px 10px;
    color:var(--ink);
  }

  /* "Menu" button instead of three bars on mobile */
  .hamburger{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid var(--line);
    background:#fff;
    font-weight:700;
    color:var(--ink);
    gap:0;
  }
  .hamburger span{
    display:none;               /* hide the bar lines */
  }
  .hamburger::after{
    content:"Menu";              /* show text instead */
  }

  /* Smaller hero title on phones */
  .hero-left h1{ font-size:2.4rem; }

  /* Simpler footer on phones */
  .site-footer{
    padding:24px 20px;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  /* Hide Quick Links + newsletter on small screens */
  .footer-grid > :nth-child(2),
  .footer-grid > :nth-child(3){
    display:none;
  }
}





/* @media (max-width:640px){
  .header-inner{ padding:10px 12px; }

  .nav{
    display:none;             
    position:absolute;
    right:16px;
    top:60px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:12px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
  }

  .nav a{
    display:block;
    padding:8px 10px;
    color:var(--ink);
    margin:0;
  }

  .nav-item{
    display:block;
    width:100%;
  }

  .nav-dropdown{
    position:static;
    min-width:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0 0 0 12px;
    display:block;
    margin-top:4px;
  }

  .nav-dropdown a{
    padding:6px 10px;
    font-size:.95rem;
  }

  .hamburger{ display:flex; }

  .hero-left h1{ font-size:2.4rem; }
} */

