/* ===== SHS AFRICA — Homepage Styles ===== */

/* --- Reset & Variables --- */
:root {
  --navy: #0A2647;
  --navy-light: #0E3460;
  --teal: #2C74B3;
  --teal-light: #3D8FD1;
  --accent: #E8A838;
  --accent-hover: #D4952E;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --gray-100: #EEF1F6;
  --gray-200: #D5DBE5;
  --gray-400: #8896AB;
  --gray-600: #5A6A80;
  --text-primary: #0A2647;
  --text-secondary: #5A6A80;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(10, 38, 71, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 38, 71, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 38, 71, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  height: 72px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo span {
  color: var(--teal);
}

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

.nav-links li a {
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--navy);
  background: var(--gray-100);
}

.btn-nav {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


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

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.75) 0%, rgba(10, 38, 71, 0.35) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 6%;
  color: var(--white);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 6%;
  z-index: 10;
  display: flex;
  gap: 10px;
}

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

.slider-dot.active {
  background: var(--accent);
  width: 36px;
  border-radius: 6px;
}


/* --- Stats Bar --- */
.stats-bar {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  padding: 0 6%;
}

.stats-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 36px 32px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--off-white);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}


/* --- Section Shared --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}


/* --- Mission / About Section --- */
.mission-section {
  padding: 120px 6% 100px;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-content .section-tag {
  text-align: left;
}

.mission-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 20px;
  text-wrap: balance;
}

.mission-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mission-content p strong {
  color: var(--navy);
}

.mission-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.mission-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}


/* --- Pillars Section --- */
.pillars-section {
  padding: 100px 6%;
  background: var(--off-white);
}

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

.pillar-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--teal);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon svg {
  stroke: var(--white);
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}


/* --- Regional Focus --- */
.regions-section {
  padding: 100px 6%;
  background: var(--white);
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.region-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.region-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.region-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 38, 71, 0) 30%, rgba(10, 38, 71, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--white);
}

.region-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.region-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 400px;
}


/* --- Success Stories --- */
.stories-section {
  padding: 100px 6%;
  background: var(--off-white);
}

.stories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.story-card.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.story-image {
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(44, 116, 179, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.story-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.story-body p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--teal);
  transition: var(--transition);
}

.story-link:hover {
  gap: 10px;
  color: var(--navy);
}

.story-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.story-card.small .story-body {
  padding: 28px;
}

.story-card.small h3 {
  font-size: 1.2rem;
}


/* --- CTA Section --- */
.cta-section {
  padding: 100px 6%;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(44, 116, 179, 0.15);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(232, 168, 56, 0.1);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
  text-wrap: balance;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.3);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}


/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 6% 48px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray-200);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 6%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--teal);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--gray-200);
}


/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .mission-grid {
    gap: 40px;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    width: 100%;
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .hero-slider {
    height: 85vh;
    min-height: 500px;
    margin-top: 72px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 28px 20px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-100);
  }

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

  .mission-image img {
    height: 320px;
  }

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

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

  .region-card {
    height: 300px;
  }

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

  .story-card.featured {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

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


/* =============================================
   INNER PAGES — Shared Styles
   ============================================= */

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: 72px;
  overflow: hidden;
}

.page-hero-short {
  height: 400px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.82) 0%, rgba(10, 38, 71, 0.55) 100%);
}

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

.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 16px;
  text-wrap: balance;
}

.page-hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto;
}


/* =============================================
   ABOUT PAGE
   ============================================= */

/* --- About Intro --- */
.about-intro {
  padding: 100px 6%;
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-content .section-tag {
  text-align: left;
}

.about-intro-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 20px;
  text-wrap: balance;
}

.about-intro-content p {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-intro-content p strong {
  color: var(--navy);
}

.about-intro-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-intro-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}


/* --- Vision & Mission --- */
.vision-mission-section {
  padding: 100px 6%;
  background: var(--off-white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.vm-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
}

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

.vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(44, 116, 179, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.vm-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--teal);
}

.vm-icon.accent {
  background: rgba(232, 168, 56, 0.1);
}

.vm-icon.accent svg {
  stroke: var(--accent);
}

.vm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.vm-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
}


/* --- Four Pillars --- */
.four-pillars-section {
  padding: 100px 6%;
  background: var(--white);
}

.four-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.fp-card {
  display: flex;
  gap: 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.fp-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.fp-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.3;
  flex-shrink: 0;
}

.fp-card:hover .fp-number {
  opacity: 0.6;
}

.fp-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.fp-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-content ul li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.fp-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
}


/* --- Values Section --- */
.values-section {
  padding: 100px 6%;
  background: var(--off-white);
}

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

.value-item {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(44, 116, 179, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
}

.value-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}


/* =============================================
   PROJECTS PAGE
   ============================================= */

.projects-overview {
  padding: 100px 6% 60px;
  background: var(--white);
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.project-row.reverse {
  direction: rtl;
}

.project-row.reverse > * {
  direction: ltr;
}

.project-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.03);
}

.project-content {
  padding: 12px 0;
}

.project-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.project-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.project-content p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.highlight-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--teal);
  margin-top: 1px;
}

.highlight-item span {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}


/* --- Projects Impact Section --- */
.project-impact {
  padding: 100px 6%;
  background: var(--navy);
}

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

.impact-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.impact-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.impact-desc {
  font-size: 0.82rem;
  color: var(--gray-400);
}


/* =============================================
   GALLERY PAGE
   ============================================= */

.gallery-section {
  padding: 80px 6% 100px;
  background: var(--white);
}

/* --- Gallery Filter --- */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 38, 71, 0) 40%, rgba(10, 38, 71, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-cat {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.82rem;
  opacity: 0.85;
  line-height: 1.5;
}

.gallery-item.hidden {
  display: none;
}


/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 38, 71, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: var(--gray-200);
  font-size: 0.9rem;
  margin-top: 16px;
}


/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-section {
  padding: 100px 6%;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info .section-tag {
  text-align: left;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
  text-wrap: balance;
}

.contact-info > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(44, 116, 179, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
}

.contact-detail-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-detail-item a {
  color: var(--teal);
  transition: var(--transition);
}

.contact-detail-item a:hover {
  color: var(--navy);
}

.contact-social h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.contact-social-links {
  display: flex;
  gap: 10px;
}

.contact-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-social-links a:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.contact-social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-600);
  transition: var(--transition);
}

.contact-social-links a:hover svg {
  fill: var(--white);
}


/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 48px 40px;
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6A80' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(44, 116, 179, 0.06);
  border: 1px solid rgba(44, 116, 179, 0.15);
  border-radius: 8px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  flex-shrink: 0;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
}


/* --- Map Section --- */
.map-section {
  background: var(--off-white);
}

.map-container {
  width: 100%;
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  display: block;
}


/* =============================================
   INNER PAGES — Responsive
   ============================================= */

@media (max-width: 1024px) {
  .about-intro-grid {
    gap: 40px;
  }

  .four-pillars-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .page-hero {
    height: 380px;
  }

  .page-hero-short {
    height: 320px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-image img {
    height: 320px;
  }

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

  .four-pillars-grid {
    grid-template-columns: 1fr;
  }

  .fp-card {
    flex-direction: column;
    gap: 16px;
  }

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

  .project-row,
  .project-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .project-image img {
    height: 280px;
  }

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

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

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

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 320px;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

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

  .gallery-filter {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

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

  .project-row {
    gap: 32px;
    margin-bottom: 56px;
  }
}
