/* ===========================================
   Prototype A: Corporate Professional (WBENC)
   =========================================== */

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

:root {
  --navy: #1B3A5C;
  --navy-dark: #142d48;
  --accent: #4A90D9;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --crimson: #DC3545;
  --crimson-dark: #c82333;
  --text-dark: #2c2c2c;
  --text-muted: #6c757d;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --shadow-card: 0 2px 0 0 rgba(0,0,0,0.06), 0 12px 32px -8px rgba(0,0,0,0.08);
  --radius-card: 12px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  font-size: 16px;
}

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

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ---- Utility Bar ---- */
.utility-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 0;
}

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

.utility-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.utility-item a {
  color: var(--white);
  transition: opacity var(--transition);
}

.utility-item a:hover {
  opacity: 0.8;
}

.utility-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.utility-right a {
  color: var(--white);
  font-size: 0.78rem;
  transition: opacity var(--transition);
}

.utility-right a:hover {
  opacity: 0.8;
}

/* ---- Sticky Nav ---- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  padding: 8px 4px;
}

.nav-links li a:hover {
  color: var(--accent);
}

.nav-links li a.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--transition);
}

.nav-links li a.nav-cta:hover {
  background: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero Carousel ---- */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  height: 70dvh;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 0 24px;
}

.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.slide-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  padding: 16px;
  background-clip: content-box;
}

.carousel-dot.active {
  background: var(--white);
  background-clip: content-box;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: none;
}

.progress-bar-fill.animating {
  transition: width 6s linear;
  width: 100%;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-top: 4px;
}

/* ---- Programs Grid ---- */
.programs {
  padding: 80px 0;
}

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

.program-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 0 rgba(0,0,0,0.08), 0 16px 40px -8px rgba(0,0,0,0.12);
}

.program-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.program-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.program-card-body {
  padding: 24px;
}

.program-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.program-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 65ch;
}

.program-card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.program-card-link:hover {
  color: var(--navy);
}

/* ---- Mission / About ---- */
.mission {
  padding: 80px 0;
  background: var(--light-gray);
}

.mission-layout {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 48px;
  align-items: center;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.mission-text h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.mission-text .tagline {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.mission-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- Testimonial ---- */
.testimonial {
  padding: 80px 0;
  background: var(--light-gray);
}

.testimonial-content {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
}

.testimonial-quote {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -24px;
  left: -12px;
  line-height: 1;
  opacity: 0.4;
}

.testimonial-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.testimonial-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ---- News Cards ---- */
.news {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.news-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Donation CTA ---- */
.donation-cta {
  padding: 80px 0;
  background: var(--crimson);
  color: var(--white);
  text-align: center;
}

.donation-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.donation-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.donation-tiers {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tier-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  color: var(--crimson);
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.tier-btn:hover {
  background: var(--crimson-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.tier-btn:active {
  transform: scale(0.95);
}

.tier-btn .tier-desc {
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.8;
  max-width: 180px;
}

.donation-custom-btn {
  display: inline-block;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100px;
  padding: 10px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.donation-custom-btn:hover {
  background: var(--white);
  color: var(--crimson);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-col ul li {
  margin-bottom: 4px;
}

.newsletter-form {
  display: flex;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
  color: #333;
  min-height: 44px;
}

.newsletter-input:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.newsletter-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: background var(--transition-fast);
}

.newsletter-btn:hover {
  background: #3a7bc8;
}

.newsletter-btn:active {
  transform: scale(0.95);
}

.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 1199px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

/* ---- Responsive: Mobile ---- */
@media (max-width: 767px) {
  .utility-bar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .utility-left {
    flex-direction: column;
    gap: 4px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--light-gray);
  }

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

  .main-nav .container {
    position: relative;
  }

  .hero {
    height: 55vh;
  }

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

  .slide-content p {
    font-size: 1rem;
  }

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

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

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

  .mission-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .section-title {
    font-size: 1.6rem;
  }

  .donation-title {
    font-size: 1.6rem;
  }

  .donation-tiers {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================================
   Inner Pages — Shared Styles
   =========================================== */

/* ---- Nav Dropdown ---- */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.6em;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem !important;
  text-transform: none !important;
  color: var(--text-dark) !important;
  transition: background var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--light-gray);
  color: var(--accent) !important;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .has-dropdown:hover .dropdown-menu {
    display: none;
  }
  .has-dropdown.dropdown-open .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    margin: 8px 0;
  }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  height: 45vh;
  height: 45dvh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.page-hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* ---- Content Section ---- */
.content-section {
  padding: 60px 0;
}

.content-section.alt-bg {
  background: var(--light-gray);
}

.content-section.navy-bg {
  background: var(--navy);
  color: var(--white);
}

.content-section.crimson-bg {
  background: var(--crimson);
  color: var(--white);
}

.content-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---- Quote Block ---- */
.quote-block {
  background: var(--light-gray);
  border-left: 4px solid var(--accent);
  padding: 28px 32px;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.quote-block blockquote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.quote-block cite {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* ---- Stats Grid (inner pages) ---- */
.inner-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}

.inner-stat-item .inner-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.inner-stat-item .inner-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-top: 4px;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.82rem;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- School Cards ---- */
.school-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 300px 1fr;
  margin-bottom: 28px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 0 rgba(0,0,0,0.08), 0 16px 40px -8px rgba(0,0,0,0.12);
}

.school-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.school-card-body {
  padding: 28px;
}

.school-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.school-card-meta {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.school-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.school-card-named {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-style: italic;
}

/* ---- Empowerment Program Cards ---- */
.emp-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.emp-card:nth-child(even) {
  direction: rtl;
}

.emp-card:nth-child(even) > * {
  direction: ltr;
}

.emp-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 350px;
}

.emp-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.emp-card-body .emp-year {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.emp-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Courses List ---- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.course-item::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Profile Card ---- */
.profile-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 2rem auto;
}

.profile-card img {
  width: 100px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.profile-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.profile-card .profile-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Pillars Grid ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.pillar-item {
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.pillar-item:hover {
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.pillar-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pillar-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Donate Page: Impact Grid ---- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.impact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.impact-card .impact-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.impact-card .impact-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.impact-card .impact-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Ways to Help ---- */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.way-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.way-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.way-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- News Page: Article Grid ---- */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-page-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-page-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-page-card-body {
  padding: 20px;
}

.news-page-card .news-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(74,144,217,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.news-page-card .news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-page-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-page-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- News Timeline ---- */
.news-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.news-timeline-month {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.news-timeline-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.news-timeline-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.news-timeline-item p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ---- Graduates Grid ---- */
.graduates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.graduate-item {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  text-align: center;
}

.graduate-item .grad-name {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.graduate-item .grad-field {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.graduate-item .grad-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* ---- Fade-up Animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CTA Band ---- */
.cta-band {
  text-align: center;
  padding: 48px 24px;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

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

.cta-btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

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

.cta-btn-navy:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ---- Founder Section ---- */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.founder-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.founder-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.founder-section .founder-book {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

/* ---- Inner Page Responsive ---- */
@media (max-width: 1199px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inner-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .school-card {
    grid-template-columns: 1fr;
  }
  .emp-card {
    grid-template-columns: 1fr;
  }
  .emp-card:nth-child(even) {
    direction: ltr;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .ways-grid {
    grid-template-columns: 1fr;
  }
  .news-page-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .graduates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inner-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inner-stat-item .inner-stat-number {
    font-size: 1.8rem;
  }
  .page-hero {
    height: 35vh;
    min-height: 250px;
  }
  .founder-section {
    grid-template-columns: 1fr;
  }
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .news-timeline-item {
    flex-direction: column;
  }
  .news-timeline-item img {
    width: 100%;
    height: 180px;
  }
}
