/* ================================================================
   NACOSU — National Council for Student Unions
   Complete stylesheet v3
   ================================================================ */

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

:root {
  --green: #1B5E20;
  --green-light: #2E7D32;
  --orange: #E65100;
  --orange-light: #FF6D00;
  --dark: #121212;
  --ink: #1A1A1A;
  --grey: #555;
  --grey-light: #8A8A8A;
  --bg: #F5F5F0;
  --white: #FFFFFF;
  --border: #E4E4DC;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.12);
  --max: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--grey);
  max-width: 640px;
  margin-top: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 81, 0, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
}
.btn-white { background: white; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 245, 240, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(245, 245, 240, 0.95);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  height: 48px;
  width: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  height: 48px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
.logo-text { display: none; }
.logo-text small { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  padding: 10px 22px !important;
  background: var(--ink);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--orange) !important; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  place-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO (WITH BACKGROUND IMAGE) ---------- */
.hero {
  padding: 200px 0 140px;
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg,
      rgba(15,15,15,0.94) 0%,
      rgba(15,15,15,0.82) 35%,
      rgba(15,15,15,0.55) 65%,
      rgba(15,15,15,0.35) 100%),
    linear-gradient(180deg,
      rgba(27,94,32,0.30) 0%,
      rgba(230,81,0,0.15) 100%),
    url('../images/hero.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center right;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--green) 0%, var(--green) 33%,
    var(--orange) 33%, var(--orange) 66%,
    var(--ink) 66%, var(--ink) 100%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-inner::before {
  content: 'OFFICIAL WEBSITE';
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--orange-light);
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 109, 0, 0.5);
  border-radius: 4px;
  background: rgba(230, 81, 0, 0.08);
}

.hero h1 {
  color: white;
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--orange-light); }

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-ghost:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}

/* ---------- PAGE HEADER (INNER PAGES — WITH BACKGROUND IMAGE) ---------- */
.page-header {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg,
      rgba(15,15,15,0.92) 0%,
      rgba(15,15,15,0.78) 40%,
      rgba(15,15,15,0.55) 75%,
      rgba(15,15,15,0.45) 100%),
    linear-gradient(180deg,
      rgba(27,94,32,0.35) 0%,
      rgba(230,81,0,0.15) 100%),
    url('../images/page-header.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center right;
  background-repeat: no-repeat;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--green) 0%, var(--green) 33%,
    var(--orange) 33%, var(--orange) 66%,
    var(--ink) 66%, var(--ink) 100%);
  z-index: 2;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-header h1 {
  color: white;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-header .section-lead {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.page-header .eyebrow {
  color: var(--orange-light);
}

/* ---------- CREDIBILITY STRIP ---------- */
.credibility {
  background: var(--ink);
  color: white;
  padding: 32px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.cred-item {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 32px;
}
.cred-item:last-child { border-right: none; padding-right: 0; }
.cred-item strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.cred-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- SECTIONS ---------- */
section { padding: 100px 0; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-alt { background: var(--white); }

/* ---------- PILLARS (PLAIN) ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.section-alt .pillar { background: var(--bg); }
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.pillar:nth-child(2)::before { background: var(--orange); }
.pillar:nth-child(3)::before { background: var(--ink); }
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.pillar:nth-child(2) .pillar-icon { background: rgba(230, 81, 0, 0.1); color: var(--orange); }
.pillar:nth-child(3) .pillar-icon { background: rgba(18, 18, 18, 0.08); color: var(--ink); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--grey); font-size: 0.95rem; }

/* ---------- PILLARS WITH BACKGROUND IMAGES (ACHIEVEMENTS) ---------- */
.pillar.has-image {
  position: relative;
  min-height: 340px;
  padding: 32px 28px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ink);
}

.pillar.has-image::before {
  display: none;
}

.pillar.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.15) 0%,
    rgba(15, 15, 15, 0.45) 45%,
    rgba(15, 15, 15, 0.88) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
  pointer-events: none;
}

.pillar.has-image:hover::after {
  background: linear-gradient(
    180deg,
    rgba(27, 94, 32, 0.35) 0%,
    rgba(27, 94, 32, 0.75) 45%,
    rgba(15, 15, 15, 0.95) 100%
  );
}

.pillar.has-image:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar.has-image .pillar-icon,
.pillar.has-image h3,
.pillar.has-image p {
  position: relative;
  z-index: 2;
}

.pillar.has-image .pillar-icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: auto;
}

.pillar.has-image h3 {
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.pillar.has-image p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- INSTITUTIONAL PHOTO SECTION ---------- */
.institutional-photo {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.institutional-photo-frame {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  position: relative;
}
.institutional-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.institutional-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(18,18,18,0.4) 100%);
  pointer-events: none;
}
.institutional-photo-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  line-height: 1.3;
}
.institutional-photo-caption p {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- LEADERS ---------- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader { text-align: center; }
.leader-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.leader:nth-child(2) .leader-photo { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); }
.leader:nth-child(3) .leader-photo { background: linear-gradient(135deg, var(--ink) 0%, #333 100%); }
.leader:nth-child(4) .leader-photo { background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); }
.leader-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.leader:hover .leader-photo { transform: scale(1.02); }
.leader-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.leader-role { font-size: 0.85rem; color: var(--grey); font-weight: 500; }
.leader-quote {
  font-size: 0.85rem;
  color: var(--grey-light);
  font-style: italic;
  margin-top: 12px;
  line-height: 1.5;
}

/* ---------- LEADER DETAIL (leadership page) ---------- */
.leader-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.leader-detail:last-child { border-bottom: none; }
.leader-detail-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-size: 5rem;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.leader-detail:nth-child(even) .leader-detail-photo {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
}
.leader-detail-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.leader-detail-info h3 { font-size: 2rem; margin-bottom: 8px; }
.leader-detail-role {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 24px;
}
.leader-detail-bio {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.leader-detail-quote {
  border-left: 4px solid var(--green);
  padding: 12px 0 12px 24px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 24px;
}

/* ---------- NEWS ---------- */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}
.news-card:nth-child(2n) .news-card-image { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); }
.news-card:nth-child(3n) .news-card-image { background: linear-gradient(135deg, var(--ink) 0%, #333 100%); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 12px;
}
.news-card h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.35; }
.news-card p { color: var(--grey); font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; }
.news-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.news-card:hover .news-link { gap: 12px; }

/* Featured news */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}
.news-featured-image {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  overflow: hidden;
  position: relative;
}
.news-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.news-featured h3 { font-size: 1.75rem; margin-bottom: 16px; line-height: 1.25; }
.news-featured p { color: var(--grey); margin-bottom: 24px; }

/* ---------- PROVINCES / INSTITUTIONS ---------- */
.province-block { margin-bottom: 56px; }
.province-block:last-child { margin-bottom: 0; }
.province-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 24px;
  display: inline-block;
}
.institutions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.institution {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.section-alt .institution { background: var(--bg); }
.institution:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
}
.institution-logo {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--green);
  font-size: 0.9rem;
  overflow: hidden;
}
.institution-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
}
.institution-info { flex-grow: 1; }
.institution-info strong { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.institution-info span { font-size: 0.8rem; color: var(--grey-light); }
.institution:hover .institution-info span { color: rgba(255,255,255,0.7); }

/* ---------- INVOLVE ---------- */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.involve-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.involve-card:nth-child(1) { background: var(--green); }
.involve-card:nth-child(2) { background: var(--orange); }
.involve-card:nth-child(3) { background: var(--ink); }
.involve-card:hover { transform: translateY(-6px); }
.involve-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: white; }
.involve-card p { font-size: 0.95rem; opacity: 0.85; margin-bottom: 24px; }
.involve-card .btn-white { font-size: 0.85rem; padding: 12px 24px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--ink); color: white; }
.contact .eyebrow { color: var(--orange); }
.contact h2 { color: white; }
.contact .section-lead { color: rgba(255,255,255,0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 4px;
}
.contact-info-item p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-info-item a { color: rgba(255,255,255,0.85); }
.contact-info-item a:hover { color: var(--orange); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select option { background: var(--ink); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--green);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(230, 81, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0A0A0A;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; max-width: 320px; line-height: 1.6; }

footer .logo { color: white; }
footer .logo-mark {
  background: white;
  padding: 8px 12px;
  border-radius: 10px;
  height: auto;
}
footer .logo-mark img {
  height: 40px;
  mix-blend-mode: normal;
}

.footer-col h5 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a { transition: color 0.2s ease; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE — TABLET ---------- */
@media (max-width: 1024px) {
  .credibility-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cred-item { border-right: none; padding-right: 0; }
  .pillars-grid,
  .news-grid,
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .leader-detail { grid-template-columns: 240px 1fr; gap: 32px; }
  .news-featured { grid-template-columns: 1fr; }
  .institutional-photo { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- RESPONSIVE — MOBILE ---------- */
@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
  .menu-toggle { display: flex; }

  /* Hero — swap to mobile image, darker overlay */
  .hero {
    padding: 140px 0 90px;
    background-image:
      linear-gradient(180deg,
        rgba(15,15,15,0.88) 0%,
        rgba(15,15,15,0.75) 50%,
        rgba(15,15,15,0.9) 100%),
      url('../images/hero-mobile.webp');
    background-position: center;
    background-size: cover;
  }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }

  /* Page header — mobile image */
  .page-header {
    padding: 130px 0 60px;
    background-image:
      linear-gradient(180deg,
        rgba(15,15,15,0.88) 0%,
        rgba(15,15,15,0.75) 50%,
        rgba(15,15,15,0.9) 100%),
      url('../images/page-header-mobile.webp');
    background-position: center;
    background-size: cover;
  }
  .page-header h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }

  .logo-mark,
  .logo-mark img { height: 38px; }

  .pillars-grid,
  .news-grid,
  .involve-grid,
  .leaders-grid { grid-template-columns: 1fr; }
  .credibility-grid { grid-template-columns: 1fr; text-align: left; }
  .cred-item strong { font-size: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-header { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .leader-detail { grid-template-columns: 1fr; gap: 24px; }
  .leader-detail-photo { max-width: 240px; margin: 0 auto; }
  .news-featured { padding: 24px; }
  .institutional-photo-frame { aspect-ratio: 4/3; }

  /* Shorter achievement cards on mobile */
  .pillar.has-image { min-height: 280px; }
}
