﻿:root {
  --bg-color: #f8f9fa;
  /* Off-White Background */
  --text-color: #0a192f;
  /* Deep Navy — primary text */
  --primary-brand: #5e548e;
  /* Muted Plum — 30% secondary */
  --secondary-brand: #ede9f5;
  /* Light Lavender tint — soft bg variant */
  --action-color: #ffd166;
  /* Soft Gold/Yellow — 10% accent */
  --accent-color: #e6bc5d;
  /* Darker Gold — hover states */
  --white: #ffffff;
  --navy: #0a192f;
  /* Deep Navy alias */
  --plum: #5e548e;
  /* Muted Plum alias */
  --gold: #ffd166;
  /* Soft Gold alias */
  --font-primary: "Open Sans", sans-serif;
  --font-heading: "Anton", sans-serif;
  --font-cormorant: "Cormorant Garamond", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cta-icon {
  margin-left: 6px;
  font-size: 0.82em;
  color: currentColor;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s ease;
}

.read-more-btn:hover .cta-icon,
.read-more-link:hover .cta-icon,
.read-more:hover .cta-icon {
  transform: translateX(4px);
}

/* Header */
/* Top Bar */
.top-bar {
  background-color: var(--primary-brand);
  /* Forest Green */
  color: white;
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.top-bar-text a {
  color: var(--action-color);
  /* Golden Yellow */
  text-decoration: underline;
  font-weight: 700;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

/* Header */
.site-header {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  /* Sticky instead of fixed mostly used in modern non-overlay headers */
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.hero-section {
  padding-top: 0 !important;
  margin-top: 3rem;
  /* Reset padding since header is sticky/relative flow now */
}

.inspiration-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  background: #f8f7fc;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  max-width: 420px;
}

.inspiration-block img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.inspiration-text .quote {
  font-size: 16px;
  font-weight: 600;
  color: #4b4b7c;
  margin: 0;
}

.inspiration-text .author {
  font-size: 13px;
  color: #777;
}

.spiritual-quote {
  background: #f8f7fc;
  border-left: 4px solid #f4a300;
  padding: 18px;
  margin: 30px 0;
  font-style: italic;
  font-size: 18px;
}

/* Donate Page & Slideshow */
.donate-wrapper {
  position: relative;
  padding-top: 4rem;
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  /* Spread text and form */
  align-items: center;
  padding-right: 8%;
  padding-left: 8%;
  /* Consistent padding */
  padding-bottom: 4rem;
  overflow: hidden;
}

.donate-footer-text {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 50%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.donate-footer-text h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.donate-footer-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
}

.blog-section {
  padding: 4rem 2rem;
  background-color: var(--secondary-brand) !important;
  text-align: center;
}

.blog-wrapper {
  padding-top: 4rem;
  min-height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 4rem;
}

.donate-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(-100%);
  transition:
    transform 1s ease-in-out,
    opacity 1s ease-in-out;
}

.slide-img.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.donate-card {
  position: relative;
  z-index: 10;
  /* Ensure form is above slideshow */
  background: rgba(255, 255, 255, 0.95);
  /* Make readable */
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 60px;
  /* Slightly larger */
  width: auto;
}

/* Navbar banner images (desktop / mobile variants) */
.navbar-banner {
  display: block;
  height: 78px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Desktop image: visible on ≥1025px, hidden on mobile */
.navbar-banner--desktop {
  display: block;
  margin-left: 2rem;
  /* Gap from the logo */
  margin-right: auto;
  /* Pulls it and the logo together to the left */
}

.navbar-banner--mobile {
  display: none;
}

@media (max-width: 1024px) {
  .navbar-banner--desktop {
    display: none;
  }

  .navbar-banner--mobile {
    display: block;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .inspiration-block {
    flex-direction: row;
  }
}

/* Navigation */
.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  /* Charcoal */
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  text-transform: capitalize;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--action-color);
  /* Burnt Orange */
}

/* Dropdown Styles */
.main-nav > ul > li {
  position: relative;
}

.dropdown {
  position: relative;
  padding-bottom: 15px;
  /* Buffer for hover */
  margin-bottom: -15px;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-menu {
  list-style: none;
  /* Remove bullets */
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 5px 5px;
  padding: 0.5rem 0;
  z-index: 1000;
  border-top: 3px solid var(--primary-brand);
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
  /* Reset margin */
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--text-color);
  font-size: 0.9rem;
  border-bottom: 1px solid #f5f5f5;
  white-space: nowrap;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #fcfcfc;
  color: var(--accent-color);
  padding-left: 1.8rem;
  /* Slide effect */
}

.nav-dropdown > .dropdown-menu {
  top: calc(100% - 2px);
  min-width: 220px;
  padding: 0.6rem 0;
  border-radius: 0 0 12px 12px;
}

.nav-dropdown > .dropdown-menu a {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

.nav-dropdown > .dropdown-menu a:hover,
.nav-dropdown > .dropdown-menu a:focus-visible {
  background-color: #faf8ff;
  color: var(--primary-brand);
  padding-left: 1.5rem;
}

.arrow {
  font-size: 0.7rem;
  margin-left: 5px;
  color: var(--accent-color);
  vertical-align: middle;
}

/* Hide the small yellow arrow in the desktop main navigation for a cleaner look */
.main-nav .arrow {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
}

.btn-donate-red {
  background-color: #5e548e;
  /* Muted Plum */
  color: #ffffff;
  /* White text */
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 5px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-donate-red:hover {
  background-color: #4a4270;
  /* Deeper Plum */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(94, 84, 142, 0.35);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: white;
  margin-top: 0;
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.1);
  /* Slight zoom effect start */
  animation: zoomEffect 20s infinite alternate;
  /* Subtle continued movement */
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay for readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-cormorant);
  font-size: clamp(2rem, 5vw, 5rem);
  /* Reduced size for longer text */
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  /* Limit width to prevent too wide lines */
  margin-left: auto;
  margin-right: auto;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-family: var(--font-cormorant);
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Buttons */
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-brand);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-primary:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-brand);
  color: var(--primary-brand);
  font-weight: 700;
}

.btn-outline:hover {
  background-color: var(--primary-brand);
  color: var(--white);
}

.btn-outline-sm {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-outline-sm:hover {
  background-color: var(--white);
  color: var(--primary-brand);
}

/* ============================================
   MOBILE NAVIGATION — Global (all pages)
   ============================================ */

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

/* Animate hamburger → X when open */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav drawer — hidden by default */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1100;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  padding-top: 0;
}

.mobile-nav.open {
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-nav > ul {
  list-style: none;
  padding: 0.5rem 0 1rem;
  margin: 0;
}

.mobile-nav > ul > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-nav > ul > li > a:hover {
  color: var(--action-color);
  background: #fafafa;
}

.mobile-nav .has-submenu > a {
  cursor: pointer;
}

.mobile-nav .has-submenu.submenu-open > a {
  color: var(--primary-brand);
  background: #faf8ff;
}

/* Submenu arrow */
.mobile-arrow {
  display: inline-block;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Mobile submenu */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f8f8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.mobile-submenu.open {
  max-height: 400px;
}

.mobile-submenu li a {
  display: block;
  padding: 0.7rem 2rem;
  font-size: 0.88rem;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ebebeb;
}

.mobile-submenu li a:hover {
  color: var(--primary-brand);
  background: #f0f0f0;
}

.mobile-submenu li a.active {
  color: var(--primary-brand);
  font-weight: 700;
}

/* Mobile CTAs inside drawer */
.mobile-nav .btn {
  display: block;
  width: calc(100% - 3rem);
  margin: 0.4rem 1.5rem;
  text-align: center;
}

/* Overlay behind mobile nav */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  cursor: pointer;
}

.mobile-overlay.open {
  display: block;
}

.mobile-campaign-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(230, 57, 70, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  animation: mobileCampaignFloat 2.6s ease-in-out infinite;
}

.mobile-campaign-btn:hover,
.mobile-campaign-btn:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(230, 57, 70, 0.34);
  filter: saturate(1.05);
}

.mobile-campaign-btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes mobileCampaignFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .site-header {
    position: sticky;
    z-index: auto;
    /* Remove stacking context — mobile-nav now participates in root z-index */
  }

  .main-nav {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  /* Hide desktop CTAs on mobile */
  .header-actions .btn-donate-red {
    display: none;
  }

  /* Top bar wraps on mobile */
  .top-bar-container {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  /* Hero text scales down */
  .page-hero h1,
  .mission-hero h1 {
    font-size: 2.5rem;
  }

  /* Footer column stacks */
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-campaign-btn {
    display: inline-flex;
  }

  /* Header padding */
  .header-container {
    padding: 0.5rem 1rem;
  }

  /* Page hero height */
  .page-hero,
  .mission-hero {
    height: 45vh;
    min-height: 220px;
  }

  .page-hero h1,
  .mission-hero h1 {
    font-size: 2rem;
  }

  /* Content sections */
  .home-section {
    padding: 2rem 1rem;
  }

  /* Footer grid */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* General content padding */
  .content-section {
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .site-logo {
    height: 45px;
  }

  .page-hero h1,
  .mission-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero,
  .mission-hero {
    height: 40vh;
    min-height: 180px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Top bar text size */
  .top-bar {
    font-size: 0.72rem;
  }

  .top-bar-contact {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* Donation Page Styles - Refactored to top of file */

.donate-card h2 {
  font-family: var(--font-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.donate-toggle {
  background: #f0f0f0;
  border-radius: 50px;
  padding: 0.25rem;
  display: flex;
  margin-bottom: 1.5rem;
}

.toggle-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 0.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: white;
  color: black;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.amount-btn {
  background: white;
  border: 1px solid #eee;
  padding: 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.amount-btn:hover {
  background: #f9f9f9;
}

.amount-btn.active {
  border-color: black;
  background: white;
}

.custom-amount {
  background: #f0f0f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.custom-amount .currency {
  font-weight: 600;
  color: #999;
}

.custom-amount input {
  border: none;
  background: transparent;
  flex: 1;
  margin: 0 0.5rem;
  font-weight: 600;
  outline: none;
}

.custom-amount .currency-code {
  font-size: 0.8rem;
  color: #999;
  font-weight: 600;
}

.fee-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: #666;
}

.fee-check input {
  margin-top: 0.2rem;
}

.donate-submit-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  background: #ffded6;
  /* Peach color from image */
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.donate-submit-btn:hover {
  background: #ffcdc0;
}

.donate-footer-text {
  text-align: center;
  color: white;
  max-width: 600px;
}

.donate-footer-text h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.donate-footer-text p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Partners Section */
.partners-section {
  padding: 4rem 2rem;
  background-color: var(--white);
  text-align: center;
}

.partners-heading {
  font-family: var(--font-heading);
  color: var(--primary-brand);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-item {
  width: 200px;
  height: 200px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.partner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Payment Methods Styles */
.payment-methods {
  margin-bottom: 1.5rem;
  text-align: left;
}

.payment-methods h3 {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.payment-option input {
  display: none;
}

.payment-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border: 1px solid #eee;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  background: #f9f9f9;
}

.payment-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.payment-option input:checked + .payment-box {
  border-color: var(--primary-brand);
  background: white;
  box-shadow: 0 0 0 1px var(--primary-brand);
  color: var(--primary-brand);
}

.payment-box:hover {
  background: white;
  border-color: #ccc;
}

.founder-cards {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 1rem;
}

.founder-profile {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.founder-top {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.founder-image {
  flex: 0 0 auto;
}

.founder-image img {
  width: 260px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.founder-details {
  flex: 1 1 auto;
}

.founder-details h3 {
  color: #4b4b7c;
  font-size: 22px;
  margin-bottom: 5px;
}

.designation {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

.founder-details p,
.founder-bio p {
  line-height: 1.7;
  color: #444;
}

.founder-bio {
  margin-top: 20px;
  line-height: 1.7;
  color: #444;
}

.founder-bio p + p {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .founder-profile {
    padding: 24px;
  }

  .founder-top {
    flex-direction: column;
  }

  .founder-image img {
    width: 100%;
    max-width: 300px;
  }
}

/* Alternating founder-row layout */
.founder-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
}

.founder-row.reverse {
  flex-direction: row-reverse;
}

.founder-image img {
  width: 260px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.founder-text {
  flex: 1;
}

.founder-text h3 {
  font-size: 22px;
  color: #4b4b7c;
  margin-bottom: 5px;
}

.designation {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Ensure paragraphs in founder-text have normal flow and modest spacing */
.founder-text p {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .founder-row,
  .founder-row.reverse {
    flex-direction: column;
  }
}

/* Personal Info & Payment Details */
.personal-info {
  text-align: left;
  margin-bottom: 1.5rem;
}

.personal-info h3,
.payment-methods h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 600;
}

.input-field {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: #f9f9f9;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-brand);
  background: white;
}

.payment-details {
  margin-top: 1rem;
  text-align: left;
}

.card-grid {
  display: flex;
  gap: 1rem;
}

.hidden {
  display: none;
}

/* Blog Section - Expanding Cards */
.blog-section {
  padding: 4rem 2rem;
  background-color: #f4f4f4;
}

.section-heading {
  font-family: var(--font-heading);
  color: var(--primary-brand);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.blog-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 450px;
  /* Fixed height for the accordion */
}

.blog-card {
  position: relative;
  flex: 1;
  border-radius: 50px;
  /* Vertical pill shape */
  overflow: hidden;
  background: white;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 80px;
  /* Prevent total collapse on mobile if squeezed */
}

.blog-card:hover {
  flex: 5;
  /* Expand significantly */
}

.blog-image {
  width: 100%;
  height: 100%;
  background-color: #ddd;
  background-image:
    linear-gradient(
      45deg,
      #eee 25%,
      transparent 25%,
      transparent 75%,
      #eee 75%,
      #eee
    ),
    linear-gradient(
      45deg,
      #eee 25%,
      transparent 25%,
      transparent 75%,
      #eee 75%,
      #eee
    );
  background-size: 20px 20px;
  background-position:
    0 0,
    10px 10px;
  object-fit: cover;
  transition: transform 0.5s;
}

/* Optional: Slight zoom of image on hover */
.blog-card:hover .blog-image {
  transform: scale(1.02);
}

.blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
  /* Delay slightly to wait for expansion */
}

.blog-card:hover .blog-content {
  opacity: 1;
  transform: translateY(0);
}

.blog-date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--action-color);
  color: #264653;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.blog-content h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: white;
}

.blog-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.5;
  /* Limit text lines if needed, or rely on expansion height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  text-decoration: none;
  color: var(--accent-warm);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.read-more:hover {
  color: white;
  text-decoration: underline;
}

/* Blog Actions */
.blog-actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--primary-brand);
  /* Keeping the existing color as requested */
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  /* Bold as requested */
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition:
    transform 0.2s,
    opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text-link:hover {
  transform: translateX(5px);
  /* Subtle slide right */
  opacity: 0.8;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .blog-grid {
    flex-direction: column;
    height: auto;
  }

  .blog-card {
    height: 250px;
    width: 100%;
    border-radius: 20px;
    min-width: unset;
    min-height: unset;
  }

  .blog-card:hover {
    flex: 1;
    /* Disable flex expansion logic on mobile */
    transform: scale(1.02);
  }

  .blog-content {
    opacity: 1;
    /* Always show content on mobile */
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-brand);
  /* Forest Green */
  color: white;
  /* White text */
  padding: 4rem 2rem 0;
  font-size: 0.9rem;
  border-top: none;
}

/* Blur pseudo-element removed */

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--action-color);
  /* Golden Yellow */
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0;
  display: block;
}

.footer-heading::after {
  content: "";
  display: block;
  height: 3px;
  background-color: var(--accent-color);
  /* Burnt Orange */
  width: 60px;
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #f1f1f1;
  /* Off-white text */
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--action-color);
  /* Golden Yellow hover */
  padding-left: 5px;
}

/* Latest Post */
.footer-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.post-item:hover {
  opacity: 0.85;
}

.post-item:hover .post-title-link {
  color: var(--action-color);
}

.post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.post-info {
  display: flex;
  flex-direction: column;
}

.post-info a,
.post-title-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.post-info a:hover {
  color: var(--action-color) !important;
  /* Golden Yellow hover */
}

.post-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  /* Semi-transparent white */
  text-transform: uppercase;
  font-weight: 700;
}

/* Contact Info */
.contact-info {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  color: white;
}

.contact-info .icon {
  color: var(--action-color);
  /* Golden Yellow icons */
  min-width: 20px;
  font-size: 1.2rem;
}

.contact-info a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--action-color);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn i {
  font-size: 18px;
  line-height: 1;
}

.social-btn:hover {
  background-color: var(--action-color);
  color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  /* Darker overlay */
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.copyright {
  color: #999;
  font-size: 0.85rem;
  max-width: 500px;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  background: var(--action-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-top:hover {
  transform: scale(1.1);
}

.scroll-top .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -50%);
    
    font-size: 18px;
    line-height: 1;
    color: #000;
}

.progress-ring {
  position: absolute;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 3;
}

.progress-ring-fill {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.2s linear;
}

@media (max-width: 768px) {
  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }

  .scroll-top .arrow {
    font-size: 16px;
  }
}

.card-action-link {
  margin-top: auto;
  font-size: 0.9rem;
}

/* Blog Page - New Layout */
.blog-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  font-family: var(--font-primary);
}

/* Recent Post (Featured) */
.recent-post-section {
  margin-bottom: 2rem;
  /* Reduced from 5rem - as per image seems more compact */
}

.featured-post {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.featured-image-container {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-post:hover .featured-image {
  transform: scale(1.02);
}

.featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #fef0e6;
  /* Soft Peach/Orange tint */
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.date {
  color: #888;
  font-size: 0.85rem;
  margin-left: 1rem;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  /* Large title as per image */
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-transform: capitalize;
}

.featured-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.read-article-link {
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color 0.2s;
}

.read-article-link:hover {
  border-color: var(--primary-brand);
}

/* Blog Grid */
.blog-grid-section {
  padding-top: 2rem;
}

.blog-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.standard-blog-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.standard-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.card-image-container {
  overflow: hidden;
  height: 240px;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem 2rem;
}

.card-title {
  font-family: var(--font-primary);
  /* Using primary font for these headings as per design image usually */
  font-weight: 700;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
  /* Push footer down */
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #333;
}

.post-meta {
  font-size: 0.75rem;
  color: #888;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .featured-post {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .featured-image-container {
    width: 100%;
    height: 300px;
  }

  .featured-title {
    font-size: 2.25rem;
  }
}

/* Blog Navigation */
.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin: 4rem auto;
  max-width: 800px;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 1rem;
  max-width: 45%;
  transition: transform 0.2s;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link.next {
  flex-direction: row-reverse;
  text-align: right;
}

.nav-thumb {
  width: 5rem;
  height: 5rem;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-text {
  display: flex;
  flex-direction: column;
}

.nav-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.nav-title {
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Blog Post Image Layouts */
.blog-image-full {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-image-float-left {
  float: left;
  width: 40%;
  margin: 0.5rem 2rem 1rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-image-float-right {
  float: right;
  width: 40%;
  margin: 0.5rem 0 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.blog-image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-image-grid img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .blog-image-float-left,
  .blog-image-float-right {
    float: none;
    width: 100%;
    margin: 1.5rem 0;
  }

  .blog-image-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Who We Are Page Styles (Consolidated)
   ========================================= */

/* History Hero */
.history-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/whoweare/4.webp");
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 0;
}

.history-hero h1 {
  font-family: var(--font-cormorant);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Timeline Section */
.timeline-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  align-items: center;
  gap: 2rem;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-brand);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-cormorant);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.timeline-text {
  line-height: 1.6;
  color: #555;
}

.timeline-image {
  flex: 1;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
  }

  .timeline-image {
    width: 100%;
    height: 250px;
  }
}

/* Mission Hero */
.mission-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("assets/herosection/1.webp");
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.mission-hero h1 {
  font-family: var(--font-cormorant);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.mission-content-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement {
  margin-bottom: 4rem;
}

.mission-statement h2 {
  font-family: var(--font-cormorant);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-brand);
}

.mission-statement p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.4s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(5deg);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

.cta-section {
  background-color: var(--secondary-brand);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.cta-section h2 {
  font-family: var(--font-cormorant);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-brand);
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #444;
}

.cta-section .btn {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cta-section .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(231, 29, 54, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Redesign Who We Are Page Styles
   ========================================= */

/* Story Section */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.story-content h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-color);
  border-bottom: 3px solid var(--primary-brand);
  padding-bottom: 0.5rem;
}

.story-content h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--action-color);
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.story-collage {
  display: flex;
  gap: 1rem;
  height: 500px;
  justify-content: center;
  align-items: center;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.collage-img {
  border-radius: 100px;
  /* Pill shape */
  object-fit: cover;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.collage-img:hover {
  transform: translateY(-5px);
}

.collage-img.tall {
  height: 100%;
}

.collage-img.short {
  height: 80%;
}

.collage-img.mid {
  height: 90%;
}

/* Identity Section */
.identity-section {
  background-color: var(--secondary-brand);
  /* Light blue bg */
  padding: 7rem 2rem 5rem 2rem;
  position: relative;
  margin-bottom: 0;
  /* No margin bottom, flows into next section */
  text-align: center;
}

.identity-header {
  margin-bottom: 120px;
  /* Space for the graphics */
  text-align: center;
}

.identity-header h2 {
  font-family: var(--font-cormorant);
  font-size: 3.5rem;
  color: var(--primary-brand);
  margin-bottom: 0.5rem;
}

.identity-header p {
  font-size: 1.2rem;
  color: #555;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Floating Values Bar */
.values-bar-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.values-bar {
  background-color: var(--primary-brand);
  /* Green in image, Blue here */
  color: white;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 20px 20px 0 0;
  /* Rounded top */
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-bottom: -2px;
  /* Connect to card below */
}

.value-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.value-item:hover {
  opacity: 1;
}

.value-icon-box {
  font-size: 2rem;
}

.value-item h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* Mission Vision Card */
.mission-vision-card {
  background: white;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 0 0 30px 30px;
  /* Rounded bottom */
  padding: 5rem 4rem 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  z-index: 5;
}

/* Vertical separation line */
.mission-vision-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background-color: #eee;
}

.mv-content {
  padding: 1rem;
}

.mv-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  font-family: var(--font-heading);
}

.mv-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .story-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }

  .story-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .story-collage {
    height: 350px;
    order: -1;
    /* Image on top on mobile */
    margin-bottom: 2rem;
  }

  .identity-header {
    margin-bottom: 60px;
  }

  .values-bar {
    padding: 2rem 1rem;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .mission-vision-card {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    text-align: center;
  }

  .mission-vision-card::after {
    display: none;
  }
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger-btn span {
  width: 30px;
  height: 3px;
  background: var(--text-color);
  border-radius: 10px;
  transition: all 0.3s linear;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 80px 20px 20px;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

/* Submenu Styles for Mobile */
.mobile-submenu {
  display: none;
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-submenu.open {
  display: block;
}

.mobile-arrow {
  display: inline-block;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Overlay for Mobile Nav */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.mobile-overlay.open {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.breadcrumbs a {
  color: white;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 0.5rem;
}

/* Standard Page Heros */
.page-hero,
.mission-hero {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-hero h1,
.mission-hero h1 {
  font-family: var(--font-cormorant);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  z-index: 2;
}

.page-hero .breadcrumbs,
.mission-hero .breadcrumbs {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

/* Reports page */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.report-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: white;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.report-info {
  padding: 16px;
  text-align: center;
}

.report-info h3 {
  color: var(--text-color);
  margin-bottom: 0.35rem;
}

.report-info p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.financial-year {
  font-weight: 500;
  color: #6b6b8c;
}

.report-thumbnail {
  display: inline-block;
  margin-top: 12px;
}

.report-thumbnail img {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: block;
}

.report-thumbnail img:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-hero h1,
  .mission-hero h1 {
    font-size: 2.5rem;
  }
}

/* ============================================
   INNER PAGE RESPONSIVE — All breakpoints
   ============================================ */

/* --- Blog page (blog.html) --- */
@media (max-width: 900px) {
  .featured-post {
    flex-direction: column;
    gap: 1.5rem;
  }

  .featured-image-container {
    height: 260px;
    width: 100%;
  }

  .featured-title {
    font-size: 2rem;
  }

  .blog-post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-main-container {
    padding: 2rem 1rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    margin-top: 2rem;
  }
}

/* --- Who We Are (whoweare.html) --- */
@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Program pages (womenemp, social, healthcare, livelihood, education) --- */
@media (max-width: 900px) {
  .content-section .row,
  .program-row {
    flex-direction: column;
  }

  .content-section img,
  .program-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }

  .gallery-grid {
    columns: 2 200px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }

  .content-section {
    padding: 1.5rem 1rem;
  }
}

/* --- Volunteer page (volunteer.html) --- */
@media (max-width: 900px) {
  .volunteer-grid,
  .programs-volunteer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .volunteer-hero-content {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .volunteer-grid,
  .programs-volunteer-grid {
    grid-template-columns: 1fr;
  }

  .volunteer-card {
    padding: 1.25rem;
  }
}

/* --- Donate page (donate.html) --- */
@media (max-width: 900px) {
  .donate-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .donate-sidebar,
  .donate-form-col {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .donate-layout {
    padding: 1rem;
  }

  .qr-and-field {
    flex-direction: column;
    align-items: center;
  }

  .qr-card {
    width: 100%;
    max-width: 260px;
  }
}

/* --- General footer bottom bar --- */
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .footer-container {
    padding: 2rem 1rem;
  }
}

/* --- Section headings scale on small screens --- */
@media (max-width: 600px) {
  .section-heading,
  .partners-heading {
    font-size: 1.75rem;
  }

  .home-section-title {
    font-size: 1.4rem !important;
  }
}

/* --- Social / share buttons wrapping --- */
@media (max-width: 480px) {
  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

/* Blog Image Utilities */
.blog-image-full {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image-float-right {
  float: right;
  width: 45%;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.blog-image-float-left {
  float: left;
  width: 45%;
  margin-right: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}

.blog-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.blog-image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.blog-image-grid img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .blog-image-float-right,
  .blog-image-float-left {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Impact Gallery Styles */
.gallery-section {
  background-color: #f9f9f9;
  padding: 6rem 2rem;
  margin-top: 4rem;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-family: var(--font-cormorant);
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--text-color);
  position: relative;
  width: 100%;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-brand);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.gallery-grid {
  columns: 3 300px;
  column-gap: 2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
}

.gallery-img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    columns: 1;
  }

  .gallery-section {
    padding: 4rem 1.5rem;
  }

  .section-heading {
    font-size: 2.2rem;
  }
}
