/* ============================================
   AYLF — GLOBAL STYLES + INDEX PAGE
   Theme: Forest green + lime + gold (default)
   ============================================ */

:root {
  --ink: #0b0b0b;
  --green: #164b38;
  --green-deep: #0c3025;
  --lime: #d5f36a;
  --gold: #d4af37;
  --gold-light: #e8c968;
  --gold-dark: #a8871f;
  --cream: #f5f4ee;
  --white: #ffffff;
  --white-soft: #faf9f6;
  --muted: #5a6472;
  --muted-light: #8a94a3;
  --line: rgba(11, 11, 11, .08);
  --line-gold: rgba(212, 175, 55, .28);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- HERO ---------- */
.hero {
  min-height: 650px;
  height: min(760px, 78vw);
  position: relative;
  display: flex;
  align-items: center;
  background: #243b30;
  color: #fff;
  overflow: hidden;
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.02);
}
body[data-theme="index"] .hero-image {
  background-image: url("../images/selfies/3.jpg");
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(7, 27, 19, .88) 0%, rgba(8, 30, 21, .69) 42%, rgba(8, 30, 21, .12) 100%), linear-gradient(0deg, rgba(8, 30, 21, .28), transparent 40%);
}
.hero-content { position: relative; z-index: 1; padding-top: 28px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.eyebrow > span { width: 24px; height: 2px; background: #91b743; display: inline-block; }
.eyebrow.light { color: #e1e8df; }

.hero h1, .section-heading h2, .impact-head h2, .values h2, .cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 88px);
  letter-spacing: -.075em;
  line-height: .99;
  font-weight: 600;
  margin: 0;
}
.hero h1 em, .section-heading h2 em, .impact-head h2 em, .values h2 em, .cta-inner h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.065em;
  color: var(--lime);
}
.hero-copy {
  font-size: 16.5px;
  max-width: 500px;
  color: rgba(255, 255, 255, .88);
  margin: 28px 0 27px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 27px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 3px;
  transition: transform .2s, background .2s;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.btn:hover { transform: translateY(-3px); }
.btn-lime { background: var(--lime); color: var(--green-deep); }
.btn-lime span { font-size: 16px; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark span { color: var(--lime); }

.text-link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(23, 35, 29, .45);
  padding-bottom: 5px;
}
.text-link span { margin-left: 12px; }
.light-link { color: #fff; border-color: rgba(255, 255, 255, .65); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 76px;
  color: rgba(255, 255, 255, .8);
  font-size: 11.5px;
  letter-spacing: .07em;
}
.note-line { width: 34px; height: 1px; background: var(--lime); }
.hero-index {
  position: absolute;
  right: 24px;
  bottom: 27px;
  font-size: 11px;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .8);
}
.hero-index span { color: var(--lime); font-size: 13px; margin-right: 8px; }

/* ---------- SECTIONS ---------- */
.section-pad { padding: 115px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.06em;
  font-weight: 600;
  color: var(--green);
  margin: 0;
  line-height: 1.1;
}
.section-title p {
  font-size: 13.5px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 0;
}
.section-title p::before,
.section-title p::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 14px;
  opacity: .8;
}
.section-title.light h2 { color: #fff; }
.section-title.light p { color: var(--lime); }
.section-title h5 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
  max-width: 780px;
  margin: 24px auto 0;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 48px;
}
.section-heading h2, .values h2 { font-size: clamp(40px, 5vw, 62px); }
.section-heading h2 em, .values h2 em { color: #779b3d; }
.section-heading > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 4px;
}

/* ---------- CONTENT BLOCKS ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

.content-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 20px 40px rgba(12, 48, 37, .12);
}
.content-media video,
.content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-text p {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.75;
}
.content-text p:last-child { margin-bottom: 0; }
.content-text b { color: var(--green); }

.experience-badge {
  position: absolute;
  bottom: -14px;
  left: 20px;
  background: var(--lime);
  color: var(--green-deep);
  padding: 12px 20px;
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(12, 48, 37, .2);
  z-index: 2;
}
.experience-badge .years {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.experience-badge span:last-child {
  font-size: 10px;
  letter-spacing: .06em;
  font-weight: 600;
  opacity: .8;
}

/* ---------- DARK SECTIONS ---------- */
.dark-section { background: var(--green-deep); color: #fff; }
.dark-section .content-text p { color: rgba(255, 255, 255, .82); }
.dark-section .content-text b { color: var(--lime); }
.dark-section .section-title h2 { color: #fff; }
.dark-section .section-title p { color: var(--lime); }
.dark-section .section-title p::before,
.dark-section .section-title p::after { background: var(--lime); }

/* ---------- VALUES / PRINCIPLES GRID ---------- */
.values-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 48, 37, .1);
  border-color: rgba(22, 75, 56, .3);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--lime);
  transition: height .3s;
}
.value-card:hover::before { height: 100%; }
.value-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -.04em;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.dark-section .value-card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}
.dark-section .value-card h4 { color: var(--lime); }
.dark-section .value-card p { color: rgba(255, 255, 255, .7); }
.dark-section .value-card:hover {
  border-color: rgba(213, 243, 106, .4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

/* ---------- STATS ---------- */
.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.stat-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  padding: 34px 28px;
  text-align: left;
  transition: transform .25s, border-color .25s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 243, 106, .4);
}
.stat-card .stat-icon { font-size: 26px; color: var(--lime); margin-bottom: 16px; }
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.06em;
  color: var(--lime);
  line-height: 1.1;
}
.stat-card .stat-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 10px;
}
.stat-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
  margin: 0;
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--green);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 { font-size: clamp(44px, 5.5vw, 70px); }
.cta-right { max-width: 340px; position: relative; z-index: 1; }
.cta-right p {
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  margin: 0 0 22px;
}
.cta-decoration {
  position: absolute;
  right: 30%;
  bottom: -130px;
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 800;
  letter-spacing: -.1em;
  color: rgba(255, 255, 255, .035);
  pointer-events: none;
}
.cta-decoration span { color: rgba(213, 243, 106, .12); }

/* ---------- PARTNERS ---------- */
.partners-section { background: var(--cream); padding: 90px 0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  align-items: center;
}
/* Fix: no greyscale, enlarge on hover */
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: none !important;
  opacity: 1 !important;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.partner-item img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
}
.partner-item:hover,
.partner-item:focus-within,
.partner-item:active {
  transform: scale(1.18) !important;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .content-block { gap: 35px; }
}
@media (max-width: 820px) {
  .content-block { grid-template-columns: 1fr; gap: 30px; }
  .content-block.reverse { direction: ltr; }
  .content-media { min-height: 260px; }
  .section-pad { padding: 76px 0; }
  .cta-inner { display: block; }
  .cta-inner h2 { font-size: 46px; }
  .cta-right { margin-top: 28px; }
  .cta-decoration { right: 0; bottom: -90px; font-size: 110px; }
  .hero { height: 690px; min-height: 0; }
  .hero-image { background-position: 57% center; }
  .hero h1 { font-size: clamp(44px, 11vw, 64px); }
  .hero-copy { font-size: 15.5px; max-width: 440px; }
  .hero-note { margin-top: 55px; font-size: 12px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading h2, .values h2 { font-size: 42px; }
  .section-heading > p { margin-top: 20px; font-size: 15px; }
  .experience-badge { bottom: -10px; left: 14px; padding: 10px 16px; }
}
@media (max-width: 480px) {
  .stats-grid-modern,
  .values-grid-modern { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .cta-inner h2 { font-size: 40px; }
  .section-title h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}


.whitetex p{
  color: #fff;
}

