/* ============================================================
   Million Light Organization — Global Design System
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --green:       #0B5D4D;
  --green-mid:   #1A7A66;
  --green-dark:  #073D33;
  --green-light: #E6F2EF;
  --accent:      #8BC34A;
  --accent-dark: #6EA03A;
  --beige:       #F5F2E9;
  --beige-dark:  #EBE8DE;
  --dark:        #1B1B1B;
  --dark-2:      #2D2D2D;
  --gray:        #6B7280;
  --gray-light:  #F3F4F6;
  --border:      rgba(0,0,0,0.08);
  --white:       #FFFFFF;

  --font-head:   'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl:   0 24px 60px rgba(0,0,0,0.16);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   36px;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:  all 0.35s var(--ease);
  --max-w:       1280px;
}

/* ── Reset ── */
*, *::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(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--dark);
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: var(--transition);
  letter-spacing: 0.3px; white-space: nowrap;
}
.btn-primary   { background: var(--green);  color: var(--white); }
.btn-primary:hover  { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,93,77,0.3); }
.btn-accent    { background: var(--accent);  color: var(--dark); }
.btn-accent:hover   { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,195,74,0.35); }
.btn-outline-w { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-w:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-outline-g { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline-g:hover { background: var(--green); color: var(--white); }
.btn-sm  { padding: 10px 22px; font-size: 13px; }
.btn-lg  { padding: 18px 42px; font-size: 17px; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ── Section Labels ── */
.label {
  display: inline-block;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.label-white { color: rgba(255,255,255,0.7); }

/* ── Section Headings ── */
.heading-xl { font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.08; }
.heading-lg { font-size: clamp(30px, 3.8vw, 52px); font-weight: 800; line-height: 1.1; }
.heading-md { font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; line-height: 1.2; }
.heading-sm { font-size: 20px; font-weight: 700; }

.lead {
  font-size: 18px; color: var(--gray);
  line-height: 1.75; max-width: 640px;
}
.lead-white { color: rgba(255,255,255,0.8); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── Divider ── */
.divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 24px 0; }
.divider-center { margin: 24px auto; }

/* ── Image Overlay ── */
.img-overlay {
  position: relative; overflow: hidden;
}
.img-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,93,77,0.3) 0%, rgba(7,61,51,0.75) 100%);
}
.img-overlay img { width: 100%; height: 100%; object-fit: cover; }

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.75s var(--ease);
}
.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* ── Badge / Chip ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green);
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 600; font-family: var(--font-head);
  letter-spacing: 0.5px;
}

/* ── Stat Number ── */
.stat-num {
  font-family: var(--font-head); font-size: clamp(40px, 5vw, 64px);
  font-weight: 800; line-height: 1; color: var(--green);
}
.stat-num.white { color: var(--white); }

/* ── Tag list ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  background: var(--beige); color: var(--green);
  padding: 5px 13px; border-radius: 50px;
  font-size: 12px; font-weight: 600; font-family: var(--font-head);
}

/* ── Misc ── */
.text-green  { color: var(--green); }
.text-accent { color: var(--accent); }
.text-gray   { color: var(--gray); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.bg-green    { background: var(--green); }
.bg-beige    { background: var(--beige); }
.bg-dark     { background: var(--dark); }
.bg-white    { background: var(--white); }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.mb-32  { margin-bottom: 32px; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 24px; }
}
@media (max-width: 768px) {
  .section    { padding: 72px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 20px; }
  .container { padding: 0 20px; }
  .btn-lg  { padding: 15px 32px; font-size: 15px; }
}
