/* ===== Variables & Reset ===== */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #40916c;
  --accent: #d4a373;
  --accent-light: #e9c46a;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1b4332;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

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

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-header.light .section-desc {
  color: rgba(255,255,255,0.85);
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--bg-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text {
  font-weight: 700;
  color: var(--white);
}

.header.scrolled .logo-text {
  color: var(--primary);
}

.logo-full {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.header.scrolled .logo-full {
  color: var(--primary-dark);
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
 color: var(--white);
  position: relative;
    
}

.header.scrolled .nav-link {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--primary-dark);
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
 /* background: linear-gradient(135deg, rgba(27,67,50,0.85) 0%, rgba(45,106,79,0.7) 50%, rgba(0,0,0,0.5) 100%);*/
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 1.5rem;
  animation: fadeUp 0.8s ease;
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-controls button:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0.7;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

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

.about-grid {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.about-content {
  width: 100%;
}

.about-content p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Mission & Vision */

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.mv-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.mv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.mv-card p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.7;
}


/* =========================================================
   NYMI LEADERSHIP STRUCTURE
   Add this section at the bottom of your existing style.css
========================================================= */

.leadership {
  background: #f8faf8;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.leader-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7eee7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.13);
}

.leader-image {
  width: 100%;
  height: 300px;
  background: #eaf2ea;
  overflow: hidden;
}

.leader-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.leader-role {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #3f7d3a;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.leader-content h3 {
  margin: 0 0 0.75rem;
  color: #1f3d25;
  font-size: 1.3rem;
  line-height: 1.3;
}

.leader-short {
  flex: 1;
  margin: 0 0 1.3rem;
  color: #66736a;
  line-height: 1.7;
}

.read-more-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  background: #3f7d3a;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.read-more-btn:hover,
.read-more-btn:focus-visible {
  background: #2d5d2b;
  transform: translateX(3px);
  outline: none;
}

/* =========================================================
   LEADERSHIP MODAL
========================================================= */

.leader-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  overflow-y: auto;
}

.leader-modal.active {
  display: flex;
}

.leader-modal-content {
  position: relative;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.3rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: leaderModalIn 0.25s ease;
}

@keyframes leaderModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.leader-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eef3ee;
  color: #333;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.leader-modal-close:hover,
.leader-modal-close:focus-visible {
  background: #3f7d3a;
  color: #fff;
  outline: none;
}

.leader-details {
  display: none;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding-top: 0.5rem;
}

.leader-details.active {
  display: grid;
}

.leader-details img {
  display: block;
  width: 100%;
  height: 290px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center top;
}

.leader-details h2 {
  margin: 0 2.5rem 1rem 0;
  color: #1f3d25;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.leader-details p {
  margin: 0 0 1rem;
  color: #59645d;
  line-height: 1.8;
}

/* =========================================================
   LEADERSHIP TABLET RESPONSIVENESS
========================================================= */

@media (max-width: 992px) {

  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-card:last-child {
    grid-column: 1 / -1;
    width: min(480px, 100%);
    justify-self: center;
  }
}

/* =========================================================
   LEADERSHIP MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 700px) {

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .leader-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .leader-image {
    height: 310px;
  }

  .leader-modal {
    align-items: flex-start;
    padding: 0.65rem;
  }

  .leader-modal-content {
    max-height: 95vh;
    padding: 2.4rem 1.1rem 1.3rem;
    border-radius: 15px;
  }

  .leader-details.active {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .leader-details img {
    width: 180px;
    height: 210px;
    margin: 0 auto;
  }

  .leader-details h2 {
    margin-right: 2rem;
  }
}

/* =========================================================
   VERY SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 420px) {

  .leader-image {
    height: 270px;
  }

  .leader-content {
    padding: 1.25rem;
  }

  .leader-content h3 {
    font-size: 1.18rem;
  }

  .leader-short {
    font-size: 0.94rem;
  }

  .read-more-btn {
    width: 100%;
    justify-content: center;
  }

  .leader-modal-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .leader-details p {
    font-size: 0.94rem;
  }
}


/* ===== About Focus Areas ===== */

.about-focus {
  margin-top: 2.5rem;
}

.about-focus h3 {
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.focus-item {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.focus-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.focus-item span {
  font-size: 0.9rem;
  font-weight: 500;
}


/* ===== About Bottom Message ===== */

.about-bottom {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.about-bottom-icon {
  min-width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 1.25rem;
}

.about-bottom h3 {
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.about-bottom p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}


/* ===== Mobile Responsive ===== */

@media (max-width: 768px) {

  .about-grid {
    display: block;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

  .about-bottom {
    align-items: flex-start;
  }
}


@media (max-width: 480px) {

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

  .about-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-bottom-icon {
    margin: 0 auto;
  }

  .about-content p {
    font-size: 0.95rem;
  }
}

/* ===== Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--white);
  font-size: 1.4rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.value-item {
  background: var(--bg-light);
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.value-item:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

.value-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* ===== Challenge ===== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.challenge-card {
  background: rgba(255,255,255,0.08);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.challenge-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.challenge-card h3 {
  color: var(--accent-light);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.challenge-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  height: 220px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.project-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Sponsorship ===== */
.how-funds {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.how-funds h3 {
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  text-align: center;
}

.funds-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.funds-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.funds-list i {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.sponsor-options h3 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.option-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.option-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.option-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(to bottom, #f0f7f4, var(--white));
}

.option-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.option-period {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.option-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.option-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.option-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

#lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-size: 1rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-item i {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 {
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.info-item p,
.info-item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-item a:hover {
  color: var(--primary);
}

.bank-info {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.bank-info h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bank-info p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.contact-form-wrap {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
  font-style: italic;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  background: var(--primary-light);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.footer-brand .logo-full {
  color: var(--white);
  font-size: 0.85rem;
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links a {
  opacity: 0.85;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer-contact p {
  opacity: 0.85;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom .slogan {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--accent-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-link {
    color: var(--text) !important;
    font-size: 1.1rem;
  }

  .header.scrolled .nav-link {
    color: var(--text);
  }

  .about-grid,
  .contact-grid,
  .projects-grid,
  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .funds-list {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .why-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .logo-full {
    display: none;
  }
}
