/* =============================================
   THE WITS FOUNDATION — Refined Design System
   Inspired by Emil Kowalski / Vercel aesthetics
   ============================================= */

/* === CSS VARIABLES === */
:root {
  --black: #1a1a1a;
  --white: #FFFFFF;
  --navy: #233A85;
  --navy-dark: #1a2b66;
  --navy-light: #2d4a9e;
  --light-blue: #417DC1;
  --light-blue-light: #5a92d4;
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Roboto Serif', serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--light-blue);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Serif', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}

h4 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.mono {
  font-family: 'Roboto Serif', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Serif', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  line-height: 1;
  padding: 10px 20px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary { 
  background: var(--navy); 
  color: var(--white); 
  border-color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 58, 133, 0.3);
}

.btn-secondary { 
  background: var(--light-blue); 
  color: var(--white); 
  border-color: var(--light-blue);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-secondary:hover { 
  background: var(--light-blue-light); 
  border-color: var(--light-blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(65, 125, 193, 0.3);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

/* === LAYOUT === */
.section {
  padding: 120px 0;
}

.section:first-of-type {
  padding-top: 240px;
}

.section-inner,
.nav-inner,
.hero-inner,
.cta-inner,
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-tag {
  color: var(--light-blue);
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gray-900);
  flex-shrink: 0;
}

.logo-img {
  width: 180px !important;
  height: 180px !important;
  object-fit: contain;
  border: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Roboto Serif', serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gray-900);
}

.nav-links a.active {
  color: var(--navy);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  padding-top: 200px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  background: var(--white);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  z-index: -1;
}

.hero-inner {
  padding: 60px 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 0.05em;
  width: fit-content;
  font-weight: 600;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--light-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
  color: var(--gray-600);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Roboto Serif', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: 'Roboto Serif', serif;
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-image-block {
  position: relative;
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-img-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.about-list li {
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.about-list li:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.about-list li::before {
  content: '→';
  color: var(--light-blue);
  font-weight: 700;
  font-size: 18px;
}

.sdg-block {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.sdg-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(65,125,193,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.sdg-title {
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-blue);
  font-weight: 600;
  position: relative;
}

.sdg-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.sdg-tag {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.4;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
}

.sdg-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.sdg-tag small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0;
  opacity: 0.7;
}

/* === FOCUS AREAS === */
.focus-section {
  background: var(--gray-50);
}

.focus-section .section-header .section-tag {
  color: var(--light-blue);
}

.focus-section .section-header h2 {
  color: var(--gray-900);
}

.focus-section .section-header p {
  color: var(--gray-500);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.focus-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 40px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--navy);
  transition: height var(--transition-base);
  border-radius: 0 0 4px 0;
}

.focus-card:hover::before {
  height: 100%;
}

.focus-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.focus-num {
  font-size: 48px;
  line-height: 1;
  color: var(--light-blue);
  opacity: 0.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.focus-card h3 {
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 600;
}

.focus-card p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* === IMPACT === */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.impact-number {
  font-family: 'Roboto Serif', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.impact-number span {
  font-size: 32px;
  color: var(--light-blue);
}

.impact-card h4 {
  color: var(--gray-700);
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 500;
}

.impact-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.impact-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
}

.impact-feature-text {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.impact-feature-text .mono {
  color: var(--light-blue);
  font-weight: 600;
}

.impact-feature-text h3 {
  color: var(--gray-900);
  margin-bottom: 0;
}

.impact-feature-text p {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.8;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  padding: 32px 24px 24px;
  font-size: 14px;
  letter-spacing: 0.02em;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  font-weight: 500;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* === PROJECTS === */
.projects-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(65,125,193,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.projects-section .section-header .section-tag {
  color: var(--light-blue);
}

.projects-section .section-header h2 {
  color: var(--white);
}

.projects-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.projects-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.7;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.project-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.project-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.project-num {
  font-size: 32px;
  line-height: 1;
  color: var(--light-blue);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-content h4 {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
}

.project-content p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* === CTA STRIP === */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(65,125,193,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 24px;
  flex-wrap: wrap;
  position: relative;
}

.cta-text h2 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 12px;
  font-weight: 700;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.cta-actions .btn-primary:hover {
  background: var(--gray-50);
  border-color: var(--gray-50);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-actions .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.contact-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.contact-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 600;
}

.contact-value {
  font-family: 'Roboto Serif', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  word-break: break-all;
}

.contact-value:hover {
  color: var(--light-blue);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-actions p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
}

.contact-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-inner {
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 8px;
}

.footer-name {
  font-family: 'Roboto Serif', serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-tagline {
  color: var(--gray-400);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-family: 'Roboto Serif', serif;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  color: var(--gray-500);
  font-size: 13px;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag,
.hero-title,
.hero-sub,
.hero-actions,
.hero-stats {
  animation: fadeUp 0.6s ease both;
}

.hero-tag { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }

/* === RESPONSIVE === */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }

  .hero::before {
    display: none;
  }

  .hero-inner {
    padding: 40px 24px;
  }

  .hero-image-block {
    min-height: 360px;
    border-radius: var(--radius-xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .impact-feature {
    grid-template-columns: 1fr;
  }

  .impact-img {
    min-height: 300px;
  }

  .impact-feature-text {
    padding: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 200px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--gray-200);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
    list-style: none;
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding: 24px;
  }

  .nav-links a {
    display: block;
    padding: 20px 24px;
    font-size: 16px;
    color: var(--gray-700);
    text-decoration: none;
  }

  .nav-links .btn {
    display: inline-block;
    width: auto;
    color: var(--white) !important;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    padding: 32px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: 24px;
  }

  .impact-number {
    font-size: 42px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .project-num {
    font-size: 24px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 24px;
  }

  .cta-text h2 {
    font-size: 32px;
  }

  .sdg-tags {
    grid-template-columns: 1fr;
  }

  .sdg-block {
    padding: 24px;
  }

  .contact-btns {
    flex-direction: column;
  }

  .contact-btns .btn {
    text-align: center;
  }

  .footer-links {
    gap: 16px;
  }
}

/* Small mobile: up to 400px */
@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
  }
}
