@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

/* =====================================================
   Community Action Ghana - Custom Styles
   Bootstrap 5 + Modern UI/UX
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary-green: #2f6b4f;
  --primary-green-dark: #145239;
  --primary-green-light: #2A8F65;
  --accent-green: #1F7A55;
  --bg-cream: #F8F5F0;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
  --border-light: #E8E4DE;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: "Schibsted Grotesk", sans-serif;
  --font-display: "Poppins", sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2f6b4f;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 4rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
  font-family: var(--font-display);
  font-weight: 400;
}

section#contact p.section-desc {
  width: 80%;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-donate {
  background: var(--primary-green);
  color: #fff !important;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 400;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(27, 107, 74, 0.3);
}

.btn-donate:hover {
  background: var(--primary-green-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 107, 74, 0.4);
}

.btn-primary-custom {
  background: var(--primary-green);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(27, 107, 74, 0.25);
  font-family: var(--font-display);
}

.btn-primary-custom:hover {
  background: var(--primary-green-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 107, 74, 0.35);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary-green) !important;
  border: 1.5px solid var(--primary-green);
  padding: 0.55rem 1.4rem;
  font-size: 0.875rem;
}

.btn-outline-custom:hover {
  background: var(--primary-green);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 107, 74, 0.25);
}

.btn-light-custom {
  background: #fff;
  color: var(--primary-green) !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-light-custom:hover {
  background: #f0f0f0;
  color: var(--primary-green-dark) !important;
  transform: translateY(-2px);
}

.btn-gallery {
  background: var(--primary-green);
  color: #fff !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.header-main {
  background: #eaeaea;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1030;
  transition: var(--transition);
}

.header-main.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  padding: 0.85rem 0;
}

.navbar-brand {
  font-size: 0.85rem;
  line-height: 1.2;
  color: var(--text-dark) !important;
}

.brand-text {
  font-weight: 400;
  color: var(--text-muted);
}

.brand-text strong {
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  font-size: 1.05rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark) !important;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  font-family: var(--font-display);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-green) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- HERO ---------- */
.hero-section {
  padding: 3rem 0 4rem;
  background: var(--bg-cream);
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-family: var(--font-display);
}

.hero-image-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.hero-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ghana-flag-badge {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 3px solid #fff;
}

.flag-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.banner-image {
  margin-top: 100px;
}

/* ---------- MISSION SECTION ---------- */
.mission-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.mission-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mission-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
  object-position: left;
}

.mission-img-wrapper:hover .mission-img {
  transform: scale(1.04);
}

/* Custom Accordion */
.custom-accordion {
  border: none;
}

.custom-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.custom-accordion .accordion-button {
  background: transparent;
  font-weight: 600;
  font-size: 2.3rem;
  color: var(--text-dark);
  padding: 1.1rem 0;
  box-shadow: none !important;
  font-family: var(--font-primary);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--primary-green);
}

.custom-accordion .accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 2.5rem;
  font-weight: 300;
  width: auto;
  height: auto;
  transform: none;
  transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  content: '×';
  font-size: 2.5rem;
  transform: none;
}

.custom-accordion .accordion-body {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- CREATING CHANGE SECTION ---------- */
.change-section {
  padding: 5rem 0 0;
  background: var(--bg-cream);
}

.change-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: block;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.change-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.change-card-title {
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

.change-card-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.65;
}

.change-card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
}

.change-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.change-card:hover .change-card-img img {
  transform: scale(1.06);
}

/* ---------- LASTING DIFFERENCE SECTION ---------- */
.difference-section {
  padding: 3rem 0 5rem;
  background: var(--bg-cream);
}

section#impact .container-fluid {
  max-width: 80%;
}

.difference-card {
  background: linear-gradient(135deg, #2f6b4f 0%, #145239 100%);
  border-radius: var(--radius-xl);
  padding: 70px 100px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.difference-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.difference-title {
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.difference-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 420px;
}

.difference-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.difference-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
  height: 440px;
}

.difference-img-wrapper:hover .difference-img {
  transform: scale(1.04);
}

.feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.feature-box {
  background: #2f6b4f;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: default;
}

.feature-box:hover .feature-icon {
  font-size: 2.3rem;
  transition: 0.3s ease-in-out;
}

.feature-icon {
  transition: 0.3s ease-in-out;
  width: 42px;
  height: 42px;
  background: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  flex-shrink: 0;
}

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.gallery-slider .gallery-grid .slick-slide {
  margin: 0 30px
}

.gallery-slider .gallery-grid .slick-slide img {
  height: 600px;
  transition: 0.3s ease-in-out;
}

.gallery-slider .gallery-grid .slick-slide.slick-active img {
  height: 450px;
  transition: 0.3s ease-in-out;
}

.gallery-slider .gallery-grid .slick-slide.slick-active.slick-current img {
  height: 600px;
  transition: 0.3s ease-in-out;
}

.gallery-slider .gallery-grid .slick-track {
  display: flex;
  align-items: flex-end;
}

/*.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  align-items: stretch;
}*/

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1.1;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-tall img {
  aspect-ratio: 1 / 1.4;
}

.gallery-item-center {
  grid-column: span 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition);
  font-family: var(--font-display);
  opacity: 0;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(27, 107, 74, 0.55);
  opacity: 1;
}

/* ---------- STORIES SECTION ---------- */
.stories-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.story-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: block;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.story-meta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-light);
  justify-content: space-between;
  font-family: var(--font-display);
}

.story-meta i {
  color: var(--primary-green);
}

.story-title {
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

.story-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.6;
  flex-grow: 1;
  font-family: var(--font-display);
}

.story-link {
  font-weight: 500;
  position: relative;
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 1.25rem;
  display: inline-block;
  font-family: var(--font-display);
  width: auto;
}

.story-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #000;
  bottom: 0;
  right: 0;
  transition: 0.3s ease-in-out;
}

.story-link:hover::before {
  width: 0;
  transition: 0.3s ease-in-out;
}


.story-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
}

.story-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-img img {
  transform: scale(1.06);
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-cream);
}

.contact-info {
  margin: 1.75rem 0 0;
  display: flex;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  width: 40%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0;
  font-family: var(--font-display);
  line-height: 0.4;
}

.contact-item a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--primary-green);
}

.contact-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
  height: 360px;
}

.contact-img:hover img {
  transform: scale(1.04);
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-title {
  font-weight: 500;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: var(--font-primary);
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
}

.contact-form .form-control {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background: transparent;
  transition: var(--transition);
  color: var(--text-dark);
}

.contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.12);
  background: #fff;
}

.contact-form .form-control::placeholder {
  color: #A0A0A0;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ---------- FOOTER ---------- */
.footer-main {
  background: #1A1A1A;
  color: #ccc;
  padding: 4rem 0 0;
}

.footer-brand {
  font-weight: 500;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Schibsted Grotesk';
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
  margin-bottom: 1.5rem;
  max-width: 280px;
  font-family: var(--font-display);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-green);
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-weight: 500;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.25rem;
  font-family: var(--font-primary);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 1rem;
  color: #999;
  font-family: var(--font-display);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom p {
  font-size: 0.9rem;
  font-family: var(--font-display);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  /*.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }*/

  .gallery-item-tall {
    grid-row: span 1;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-cream);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .btn-donate {
    margin-top: 0.75rem;
    display: inline-block;
  }

  .hero-section {
    padding: 2rem 0 3rem;
  }

  .mission-section,
  .change-section,
  .gallery-section,
  .stories-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .difference-card {
    padding: 1.75rem;
  }

  .feature-boxes {
    margin-top: 1.5rem;
  }

  /*.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }*/
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .ghana-flag-badge {
    width: 52px;
    height: 52px;
  }

  .flag-img {
    width: 32px;
  }

  .difference-card {
    padding: 1.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  /*.gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }*/

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  /*.gallery-grid {
    grid-template-columns: 1fr;
  }*/

  .hero-image-wrapper {
    border-radius: var(--radius-lg);
  }

  .story-meta {
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* ---------- Utility ---------- */
.text-primary-green {
  color: var(--primary-green) !important;
}

.bg-primary-green {
  background-color: var(--primary-green) !important;
}

.feature-box span {
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 100;
}


/* inner pages */

/* About Us Specific Page Styles */
.about-banner {
  background-color: #eaeaea;
  padding: 130px 0;
  text-align: center;
}

.about-banner h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  margin: 0;
  color: var(--text-dark);
}

.values-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 2rem;
}

.values-list li {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  position: relative;
}

.trustee-block {
  margin-bottom: 3.5rem;
}

.trustee-title {
  font-family: var(--font-primary);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.trustee-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.trustee-text {
  font-family: var(--font-display);
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.trustee-img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Custom Heights for Specific Trustees */
.trustee-block img[src*="heather-trustee"] {
  height: 400px;
  object-position: 0% 0%;
}

.trustee-block img[src*="emily-trustee"] {
  height: 280px;
  object-position: 0% 90%;
}

/* Impact Cards Custom Styles */
.impact-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.impact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.impact-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 400;
  color: #D2CDC4;
  line-height: 1;
}

.impact-icon-bg {
  width: 48px;
  height: 48px;
  background-color: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.impact-title {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.impact-desc {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Gallery Page Grid - Exact Design Match */
.gallery-page-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gallery-row {
  display: flex;
  gap: 1.25rem;
  width: 100%;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  background-color: #e2ded7;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gallery-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* Row 1, 2, 3 & 4 Sizes */
.row-1 .card-left {
  flex: 2.2;
  height: 260px;
}

.row-1 .card-mid {
  flex: 1;
  height: 260px;
}

.row-1 .card-right {
  flex: 1;
  height: 260px;
}

.row-2 .card-left {
  flex: 1;
  height: 260px;
}

.row-2 .card-mid {
  flex: 1;
  height: 260px;
}

.row-2 .card-right {
  flex: 2.2;
  height: 260px;
}

.row-3 .card-left {
  flex: 2.2;
  height: 260px;
}

.row-3 .card-mid {
  flex: 1;
  height: 260px;
}

.row-3 .card-right {
  flex: 1;
  height: 260px;
}

.row-4 .card-left {
  flex: 1;
  height: 260px;
}

.row-4 .card-mid {
  flex: 1;
  height: 260px;
}

.row-4 .card-right {
  flex: 2.2;
  height: 260px;
}

/* Responsive adjustments for mobile/tablet */
@media (max-width: 768px) {
  .gallery-row {
    flex-direction: column;
    gap: 1rem;
  }

  .row-1 .card-left,
  .row-1 .card-mid,
  .row-1 .card-right,
  .row-2 .card-left,
  .row-2 .card-mid,
  .row-2 .card-right,
  .row-3 .card-left,
  .row-3 .card-mid,
  .row-3 .card-right,
  .row-4 .card-left,
  .row-4 .card-mid,
  .row-4 .card-right {
    flex: 1 1 100%;
    height: 230px;
  }
}

/* Blog Detail Custom Layout */
.blog-detail-img-grid {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.blog-detail-img-left {
  flex: 1;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.blog-detail-img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-img-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 480px;
}

.blog-detail-img-right .stacked-img {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.blog-detail-img-right .stacked-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.blog-detail-meta i {
  color: var(--primary-green);
}

.blog-detail-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-detail-content {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Sidebar Custom Styling */
.blog-sidebar {
  border-left: 1px solid #ccc;
  /* padding-left: 25px; */
}

.search-box {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 25px;
}

.search-box .form-control {
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 0.75rem 3.5rem 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.search-box .btn-search {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-widget-title {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1.4rem;
  padding-left: 25px;
}

/* Recent Posts List */
.recent-post-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 25px;
}

.recent-post-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-title {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0;
}

.recent-post-item:hover .recent-post-title {
  color: var(--primary-green);
}

/* Tags Cloud */
.tags-cloud {
  padding-left: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  background-color: #EBEAE6;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  transition: var(--transition);
}

.tag-item:hover,
.tag-item.active {
  background-color: var(--primary-green);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    padding-left: 0;
    margin-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .blog-detail-img-grid {
    flex-direction: column;
  }

  .blog-detail-img-left,
  .blog-detail-img-right {
    height: auto;
  }

  .blog-detail-img-left img,
  .blog-detail-img-right .stacked-img img {
    height: 240px;
  }
}


/* Work Detail Custom Styles */
.work-detail-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.work-detail-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.work-detail-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Support Us Custom Layout Styles */
.support-block-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.support-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.support-subtitle {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.support-text {
  font-family: var(--font-display);
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Custom Green Bullet List */
.support-bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.support-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.support-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
}

/* Green Link Styling */
.support-link {
  color: var(--primary-green);
  text-decoration: underline;
  font-weight: 500;
}

.support-link:hover {
  color: var(--primary-green-dark);
}

/* Pro Bono 2-Column Bullet List */
.pro-bono-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}

@media (max-width: 575.98px) {
  .pro-bono-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Layout Styles */
.contact-main-card {
  background-color: #ffffff;
  border-radius: 28px;
  padding: 1rem 0rem 1rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.contact-form label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form .form-control {
  background-color: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 0.85rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-form textarea.form-control {
  border-radius: 20px;
  resize: vertical;
  min-height: 130px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.12);
  background-color: #fff;
}

.contact-form .form-control::placeholder {
  color: #A0A0A0;
}

/* Right Green Info Box */
.contact-info-box {
  background-color: var(--primary-green);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-box-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #fff;
}

.info-box-desc {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.info-item-pill {
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #fff;
  backdrop-filter: blur(4px);
}

.info-item-pill i {
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .contact-main-card {
    padding: 1.75rem;
  }
}

/* Donation Form Specific Styles */

.form-group-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.form-group-row::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-light);
}

.form-group-row:last-of-type::after {
  display: none;
}

.form-label-col {
  width: 220px;
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding-top: 0.25rem;
}

.form-fields-col {
  flex-grow: 1;
}

/* Amount Radio Options */
.amount-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.25rem;
}

.form-check-input {
  border-color: #b0b0b0;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.form-check-label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Form Inputs and Selects */
.donation-form .form-control,
.donation-form .form-select {
  background-color: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.donation-form textarea.form-control {
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
}

.donation-form .form-control:focus,
.donation-form .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.12);
  background-color: #fff;
}

.donation-form .form-control::placeholder {
  color: #A0A0A0;
}

.field-helper-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

/* Card Detail Section Header */
.card-detail-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.card-detail-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
}

@media (max-width: 991.98px) {
  .form-group-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-label-col {
    width: 100%;
  }

  .donation-container {
    padding: 2rem;
  }
}

/* inner pages */

/* ---------- Gallery: photographer tabs ---------- */
.photographers-section {
  background-color: var(--bg-white);
}

.photographer-tabs {
  gap: 0.75rem;
}

.photographer-tabs .nav-link {
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  color: var(--primary-green);
  background: transparent;
  border: 1.5px solid var(--primary-green);
  transition: var(--transition);
}

.photographer-tabs .nav-link:hover {
  background: rgba(47, 107, 79, 0.08);
}

.photographer-tabs .nav-link.active {
  background: var(--primary-green);
  color: #fff;
}

.photographer-bio {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.photographer-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.photographer-role {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.photographer-bio p:last-child {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.photo-tile {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  object-position: top;
}

.photo-tile:hover img {
  transform: scale(1.05);
}

/* =====================================================
   Round 3 client changes
   ===================================================== */

/* Brand heading colours: H1 orange, H2 green.
   NOTE: --brand-orange is a placeholder - set it to the exact hex from the brand guidelines. */
:root {
  --brand-orange: #E8751A;
  --brand-green: #2f6b4f;
}

h1,
.hero-title,
.about-banner h1 {
  color: var(--brand-orange) !important;
}

h2:not(.accordion-header),
.section-title,
.work-detail-title,
.support-title,
.blog-detail-title,
.contact-form-title {
  color: var(--brand-green);
}

/* Header: logo | donate | menu */
.site-logo {
  height: 100px;
  width: auto;
  max-width: none;
}

.navbar-brand {
  margin-right: 0;
}

.header-donate {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.55rem !important;
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem !important;
  }
}

@media (max-width: 575.98px) {
  .site-logo {
    height: 48px;
  }
}

/* Contact: keep long email address inside its box */
.info-item-pill {
  align-items: flex-start;
}

.info-item-pill span,
.info-item-pill a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.95rem;
}

.info-item-pill a.info-email {
  color: inherit;
}

.g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

/* Home gallery: Education / Water / Toilets tabs */
.home-gallery-tabs .nav-link {
  font-family: var(--font-display);
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  color: var(--primary-green);
  background: transparent;
  border: 1px solid var(--primary-green);
  margin: 0 0.35rem;
}

.home-gallery-tabs .nav-link.active {
  background: var(--primary-green);
  color: #fff;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
}

.home-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-gallery-item:hover img {
  transform: scale(1.06);
}

.home-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 82, 57, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.home-gallery-item:hover .home-gallery-overlay {
  opacity: 1;
}

/* Donate: editable stats list */
.donation-stats-list {
  list-style: disc;
  padding-left: 1.25rem;
  font-family: var(--font-display);
  color: var(--text-muted);
}

.donation-stats-list li {
  margin-bottom: 0.4rem;
}

@media (max-width: 991.98px) {
  .header-donate {
    margin-top: 0 !important;
  }
}