﻿:root {
  --primary: #0A2F4F;
  --secondary: #1E8F4C;
  --accent: #2FAF62;
  --bg: #F5F7F8;
  --text: #1f2933;
  --muted: #5b6770;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', serif;
  color: var(--primary);
}

section[id] {
  scroll-margin-top: 92px;
}

.bg-soft {
  background-color: var(--bg);
}

.text-muted-custom {
  color: var(--muted);
}

.text-justify-interword {
  text-align: justify;
  text-justify: inter-word;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e9eef2;
}

.navbar-brand {
  color: var(--primary) !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 1.45rem;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-text {
  line-height: 1.1;
  font-size: 1.50rem;
}

.brand-subtitle {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.nav-link {
  color: #17344d;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--secondary) !important;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(10, 47, 79, 0.93), rgba(30, 143, 76, 0.85)),
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.09), transparent 45%);
  color: #ffffff;
  padding-top: 120px;
  padding-bottom: 50px;
}

@media (max-width: 1199.98px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 50px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 50px;
  }
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 4.1vw, 3.2rem);
  line-height: 1.25;
}

.hero-title-sm {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important;
}

.hero-kicker {
  color: #ffffff;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 0;
}

.hero p {
  color: #ebf4fa;
}

.hero-copy {
  max-width: 720px;
}

.hero-visual-wrap {
  display: flex;
  justify-content: center;
}

.hero-media-card {
  width: min(100%, 440px);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 60px rgba(2, 16, 28, 0.28);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.hero-media-card::before,
.hero-media-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero-media-card::before {
  width: 180px;
  height: 180px;
  top: -70px;
  right: -50px;
}

.hero-media-card::after {
  width: 120px;
  height: 120px;
  bottom: -45px;
  left: -30px;
}

.hero-visual-card {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero-logo-ring {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, rgba(47, 175, 98, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: 0 16px 28px rgba(5, 21, 34, 0.25);
  position: relative;
  z-index: 1;
}

.hero-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 0.35rem;
}

.hero-visual-card h3,
.hero-visual-card p,
.hero-visual-card small {
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-mini-card {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-mini-card strong {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}

.hero-mini-card span {
  font-size: 0.86rem;
  color: #dbeaf4;
}

.hero-carousel {
  position: relative;
  z-index: 1;
}

.hero-carousel .carousel-inner {
  border-radius: 22px;
}

.hero-carousel .carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero-carousel-caption {
  position: absolute;
  inset: auto 1.1rem 1.1rem 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 47, 79, 0.14), rgba(10, 47, 79, 0.82));
  color: #ffffff;
  z-index: 2;
}

.hero-carousel-caption strong {
  display: block;
  font-size: 1.05rem;
}

.hero-carousel-caption span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 31, 52, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  opacity: 1;
}

.hero-carousel .carousel-control-prev {
  left: 1rem;
}

.hero-carousel .carousel-control-next {
  right: 1rem;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 0.8rem;
}

.section-subtitle {
  max-width: 700px;
  color: var(--muted);
}

.csr-intro-block {
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(30, 143, 76, 0.18);
  border-left: 5px solid var(--secondary);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, rgba(233, 246, 238, 0.75));
  box-shadow: 0 16px 34px rgba(10, 47, 79, 0.08);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(10, 47, 79, 0.08);
  border: 1px solid rgba(10, 47, 79, 0.1);
  /* color: var(--primary); */
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-badge i {
  color: var(--secondary);
}

.trust-badges.footer-badges .trust-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.trust-badges.footer-badges .trust-badge i {
  color: #8fe1ad;
}

.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background-color: #07253e;
  border-color: #07253e;
  color: #fff;
}

.btn-secondary-custom {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
  background-color: #187541;
  border-color: #187541;
  color: #fff;
}

.btn-accent-custom {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent-custom:hover,
.btn-accent-custom:focus {
  background-color: #259b56;
  border-color: #259b56;
  color: #fff;
}

.feature-card,
.stat-card,
.program-card,
.info-card,
.partnership-card,
.contact-card {
  border: 1px solid #e4eaef;
  border-radius: 14px;
  background-color: #ffffff;
  /* height: 100%; */
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.stat-card:hover,
.program-card:hover,
.info-card:hover,
.partnership-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(16, 45, 66, 0.12);
}

.program-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 45, 66, 0.06);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(10, 47, 79, 0.05);
  pointer-events: none;
}

.program-card:hover {
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(10, 47, 79, 0.18);
  box-shadow: 0 28px 52px rgba(8, 31, 52, 0.24);
}

.program-card:hover .icon-wrap {
  transform: translateY(-1px) scale(1.04);
}

.impact-story-card {
  background:
    radial-gradient(circle at top right, rgba(47, 175, 98, 0.12), transparent 36%),
    linear-gradient(145deg, #ffffff, rgba(245, 247, 248, 0.96));
}

.impact-story-list {
  display: grid;
  gap: 0.95rem;
}

.impact-story-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(10, 47, 79, 0.08);
  background: rgba(255, 255, 255, 0.76);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.impact-story-item:hover {
  transform: translateX(6px);
  border-color: rgba(47, 175, 98, 0.28);
  box-shadow: 0 14px 28px rgba(10, 47, 79, 0.1);
}

.impact-story-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1.05rem;
}

.impact-story-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.impact-story-item strong {
  color: var(--primary);
  font-weight: 800;
}

.impact-stats-panel {
  padding: 1.5rem;
  border: 1px solid rgba(10, 47, 79, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(47, 175, 98, 0.12), transparent 32%),
    linear-gradient(145deg, #ffffff, rgba(233, 246, 238, 0.82));
  box-shadow: 0 18px 34px rgba(16, 45, 66, 0.08);
}

.impact-stats-header {
  margin-bottom: 1rem;
  text-align: center;
}

.impact-stats-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(30, 143, 76, 0.1);
  border: 1px solid rgba(30, 143, 76, 0.18);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-stat-grid {
  align-items: stretch;
}

.impact-stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(30, 143, 76, 0.22), rgba(10, 47, 79, 0.1)) border-box;
  box-shadow: 0 14px 28px rgba(10, 47, 79, 0.08);
}

.impact-stat-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -44px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(47, 175, 98, 0.08);
  pointer-events: none;
}

.impact-stat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1.05rem;
}

.impact-stat-card .stat-value,
.impact-stat-card p,
.impact-stat-icon {
  position: relative;
  z-index: 1;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1.45rem;
  transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 47, 79, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(30, 143, 76, 0.42), rgba(10, 47, 79, 0.16)) border-box;
  box-shadow: 0 16px 34px rgba(10, 47, 79, 0.08);
  padding: 0.45rem;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.35s ease;
}

.gallery-item:hover {
  border-color: rgba(47, 175, 98, 0.45);
  box-shadow: 0 26px 52px rgba(10, 47, 79, 0.18);
  transform: translateY(-8px);
}

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

footer {
  background: #081f34;
  color: #d2e2ee;
}

footer a {
  color: #d2e2ee;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(10, 47, 79, 0.26), rgba(30, 143, 76, 0.14));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #eaf3f8;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-copyright strong {
  color: #ffffff;
}

.footer-year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(47, 175, 98, 0.16);
  color: #dff7e7;
  border: 1px solid rgba(159, 226, 180, 0.24);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.footer-copyright-note {
  margin: 0;
  color: rgba(210, 226, 238, 0.84);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 0.2rem;
}

.form-control:focus,
.form-select:focus,
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(47, 175, 98, 0.3);
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details-list p:last-child {
  margin-bottom: 0;
}

.contact-form-wrap {
  border-bottom: 1px solid #e7edf2;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.scanner-card img {
  box-shadow: 0 16px 30px rgba(10, 47, 79, 0.12);
}

.donation-details-card {
  border-left: 4px solid var(--accent);
}

.about-panel {
  border-radius: 20px;
  padding: 2rem !important;
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

.about-panel-vision {
  background: linear-gradient(160deg, #ffffff, rgba(47, 175, 98, 0.08));
  border: 1px solid rgba(30, 143, 76, 0.14);
}

.about-panel-vision::before {
  background:
    radial-gradient(circle at top right, rgba(47, 175, 98, 0.08), transparent 32%),
    linear-gradient(180deg, transparent, rgba(30, 143, 76, 0.03));
}

.about-panel-mission {
  background: linear-gradient(160deg, #ffffff, rgba(47, 175, 98, 0.08));
  border: 1px solid rgba(30, 143, 76, 0.14);
}

.about-panel-vision h3,
.about-panel-vision p {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.about-panel-mission h3,
.about-panel-mission p,
.about-panel-mission strong {
  position: relative;
  z-index: 1;
}

.about-panel-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
  position: relative;
  z-index: 1;
}

.about-panel-vision .about-panel-icon {
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
}

.about-panel-mission .about-panel-icon {
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vision-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vision-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 47, 79, 0.08);
  position: relative;
  z-index: 1;
}

.vision-point-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1rem;
}

.vision-point strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--primary);
}

.vision-point p {
  color: var(--muted);
}

.mission-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 47, 79, 0.08);
}

.mission-point-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1rem;
}

.mission-point strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--primary);
}

.mission-point p {
  color: var(--muted);
}

.philosophy-story {
  font-size: 1.02rem;
  color: #486072;
  line-height: 1.78;
}

.philosophy-card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(30, 143, 76, 0.12);
  background:
    radial-gradient(circle at top right, rgba(47, 175, 98, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 238, 0.92));
  box-shadow: 0 22px 40px rgba(16, 45, 66, 0.1);
  overflow: hidden;
}

.philosophy-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 47, 79, 0.08), transparent 70%);
  pointer-events: none;
}

.philosophy-card-accent {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.philosophy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(10, 47, 79, 0.9);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.philosophy-chip i {
  color: #9fe2b4;
}

.philosophy-highlight {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(47, 175, 98, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.philosophy-image-wrap {
  height: 100%;
  min-height: 100%;
  padding: 0.85rem;
  border-radius: 24px;
  border: 1px solid rgba(10, 47, 79, 0.08);
  background:
    radial-gradient(circle at 20% 15%, rgba(47, 175, 98, 0.12), transparent 28%),
    linear-gradient(155deg, rgba(10, 47, 79, 0.08), rgba(30, 143, 76, 0.14));
  box-shadow: 0 20px 38px rgba(16, 45, 66, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.philosophy-image-frame {
  width: 100%;
  min-height: 480px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 47, 79, 0.08);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.philosophy-image-frame img {
  width: 100%;
  height: auto;
  /* max-height: 560px; */
  object-fit: contain;
  display: block;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(16, 45, 66, 0.16);
}

.core-value-card {
  border: 1px solid rgba(10, 47, 79, 0.08);
  border-radius: 18px;
  padding: 2rem;
  background: linear-gradient(160deg, #ffffff, rgba(47, 175, 98, 0.06));
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.core-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(16, 45, 66, 0.12);
}

.core-value-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1.45rem;
}

.core-value-card h3 {
  margin-bottom: 0.75rem;
}

.core-value-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.governing-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 238, 0.94));
  border: 1px solid rgba(10, 47, 79, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.governing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(16, 45, 66, 0.12);
}

.person-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(30, 143, 76, 0.12);
  color: var(--secondary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.partner-marquee {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(10, 47, 79, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(233, 246, 238, 0.92));
  padding: 1.2rem;
}

.partner-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: partner-scroll 24s linear infinite;
  align-items: stretch;
}

.partner-marquee-track:hover {
  animation-play-state: paused;
}

.partner-card {
  flex: 0 0 240px;
  min-width: 240px;
  border-radius: 20px;
  border: 1px solid rgba(10, 47, 79, 0.08);
  background-color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 18px 30px rgba(16, 45, 66, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(16, 45, 66, 0.1);
}

.partner-card-image {
  width: 128px;
  height: 78px;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.partner-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.partner-card-label {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

@keyframes partner-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reach-info-card {
  min-height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(10, 47, 79, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 238, 0.92));
}

.reach-info-card h3 {
  margin-bottom: 0.85rem;
}

.thematic-section {
  background:
    linear-gradient(180deg, #f5f7f8 0%, #ffffff 44%, rgba(233, 246, 238, 0.72) 100%);
}

.thematic-heading {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.thematic-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: rgba(30, 143, 76, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(30, 143, 76, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thematic-card {
  position: relative;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: 22px;
  border: 1px solid rgba(10, 47, 79, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 248, 0.92)),
    var(--theme-accent, rgba(30, 143, 76, 0.08));
  box-shadow: 0 18px 36px rgba(16, 45, 66, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.thematic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--theme-wash, rgba(47, 175, 98, 0.14)), transparent 42%),
    radial-gradient(circle at 92% 14%, var(--theme-glow, rgba(47, 175, 98, 0.18)), transparent 26%);
  z-index: -1;
}

.thematic-card::after {
  content: "";
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.thematic-card:hover {
  transform: translateY(-10px);
  border-color: rgba(10, 47, 79, 0.16);
  box-shadow: 0 28px 54px rgba(8, 31, 52, 0.18);
}

.thematic-card:hover::after {
  transform: scaleX(1);
}

.thematic-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(10, 47, 79, 0.95), rgba(30, 143, 76, 0.92));
  color: #ffffff;
  font-size: 1.9rem;
  box-shadow: 0 18px 28px rgba(10, 47, 79, 0.18);
  transition: transform 0.32s ease;
}

.thematic-card:hover .thematic-icon {
  transform: rotate(-4deg) scale(1.06);
}

.thematic-card h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.thematic-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.thematic-card li {
  position: relative;
  padding-left: 1.45rem;
  color: #4d6273;
  line-height: 1.5;
}

.thematic-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 175, 98, 0.12);
}

.thematic-card-education {
  --theme-wash: rgba(30, 143, 76, 0.12);
  --theme-glow: rgba(47, 175, 98, 0.2);
}

.thematic-card-health {
  --theme-wash: rgba(10, 47, 79, 0.08);
  --theme-glow: rgba(30, 143, 76, 0.18);
}

.thematic-card-environment {
  --theme-wash: rgba(47, 175, 98, 0.16);
  --theme-glow: rgba(47, 175, 98, 0.22);
}

.thematic-card-animal {
  --theme-wash: rgba(30, 143, 76, 0.1);
  --theme-glow: rgba(10, 47, 79, 0.12);
}

.thematic-card-training {
  --theme-wash: rgba(10, 47, 79, 0.1);
  --theme-glow: rgba(47, 175, 98, 0.16);
}

.thematic-card-volunteering {
  --theme-wash: rgba(47, 175, 98, 0.13);
  --theme-glow: rgba(30, 143, 76, 0.2);
}

.partner-inquiry-card {
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 238, 0.74));
  border-color: rgba(30, 143, 76, 0.14);
  box-shadow: 0 24px 46px rgba(16, 45, 66, 0.11);
}

.placeholder-map {
  min-height: 300px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 47, 79, 0.9), rgba(30, 143, 76, 0.8));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

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

  .hero {
    min-height: 76vh;
  }

  .hero-visual-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  #about.hero {
    min-height: auto;
    padding: 7.25rem 0 3.75rem;
    align-items: flex-start;
  }

  #about .hero-copy {
    padding-top: 0.35rem;
  }

  #about .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.72;
    margin-bottom: 1.75rem !important;
  }

  .text-justify-interword {
    text-align: left;
    text-justify: auto;
  }

  .philosophy-card {
    padding: 1.5rem;
  }

  .philosophy-image-wrap {
    padding: 0.8rem;
  }

  .philosophy-image-frame {
    min-height: 320px;
  }
}

.footer-meta-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-meta-links a {
  color: #edf7fb;
  font-weight: 600;
  text-decoration: none;
}

.footer-meta-links a:hover,
.footer-meta-links a:focus {
  color: #9fe2b4;
  text-decoration: underline;
}

.footer-link-separator {
  color: rgba(210, 226, 238, 0.6);
}

@media (max-width: 767.98px) {
  .footer-bottom {
    padding: 1rem;
  }

  .footer-copyright {
    flex-wrap: wrap;
  }
}

@media (max-width: 991.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar .container {
    padding-inline: 1rem;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.85rem 0 0.35rem;
    border-top: 1px solid #e9eef2;
  }

  .navbar-nav {
    align-items: center;
    gap: 0.2rem;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.58rem 1rem;
    border-radius: 999px;
  }

  .hero {
    min-height: auto !important;
    padding: 7.5rem 0 4.5rem;
    text-align: center;
  }

  .hero .row {
    justify-content: center;
  }

  .hero-copy,
  .thematic-heading {
    margin-inline: auto;
  }

  .hero-visual-wrap {
    justify-content: center;
    margin-top: 1.75rem;
  }

  .hero-copy .d-flex {
    justify-content: center;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-title,
  .section-subtitle,
  .thematic-heading,
  .reach-info-card,
  .core-value-card,
  .governing-card {
    text-align: center;
  }

  .section-subtitle {
    margin-inline: auto;
  }

  .trust-badges {
    justify-content: center;
  }

  .feature-card,
  .program-card,
  .stat-card,
  .contact-card,
  .info-card,
  .partnership-card,
  .thematic-card,
  .about-panel {
    text-align: center;
  }

  .icon-wrap,
  .about-panel-icon,
  .core-value-icon,
  .person-icon,
  .thematic-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .vision-point,
  .mission-point {
    text-align: left;
  }

  .info-card ul,
  .partnership-card ul,
  .thematic-card ul,
  .contact-card form,
  .contact-form-wrap {
    text-align: left;
  }

  .partner-inquiry-card .section-title,
  .partner-inquiry-card .text-muted-custom {
    text-align: center;
  }

  .partner-inquiry-card .thematic-kicker {
    margin-inline: auto;
  }

  footer .row > [class*="col-"] {
    text-align: center;
  }

  .footer-brand,
  .footer-badges,
  .footer-bottom,
  .footer-copyright,
  .footer-meta-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-inline: 1.1rem;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .navbar-brand {
    gap: 0.65rem;
    max-width: calc(100% - 58px);
  }

  .brand-text {
    font-size: 1.16rem;
  }

  .navbar-toggler {
    padding: 0.35rem 0.55rem;
  }

  .hero,
  #about.hero {
    padding: 7rem 0 3.75rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  #about .hero-copy .lead,
  .text-justify-interword,
  .philosophy-story {
    text-align: left;
    text-justify: auto;
  }

  .hero-media-card {
    width: min(100%, 360px);
    margin-inline: auto;
    border-radius: 22px;
  }

  .hero-carousel .carousel-inner {
    border-radius: 18px;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
  }

  .hero-carousel .carousel-control-prev {
    left: 0.65rem;
  }

  .hero-carousel .carousel-control-next {
    right: 0.65rem;
  }

  .section-padding {
    padding: 3.35rem 0;
  }

  .section-title {
    margin-bottom: 0.65rem;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .btn-lg,
  .hero .btn,
  .contact-card form .btn,
  .partner-inquiry-card form .btn {
    width: 100%;
  }

  .feature-card.p-4,
  .program-card.p-4,
  .stat-card.p-4,
  .contact-card.p-4,
  .info-card.p-4,
  .partnership-card.p-4,
  .partner-inquiry-card.p-4,
  .about-panel {
    padding: 1.35rem !important;
  }

  .stat-value {
    font-size: 1.65rem;
  }

  .gallery-item {
    padding: 0.34rem;
    border-radius: 18px;
  }

  .gallery-item img {
    border-radius: 13px;
  }

  .partner-card {
    flex-basis: 210px;
    min-width: 210px;
    padding: 1.2rem;
  }

  .partner-card-image {
    width: 112px;
    height: 70px;
  }

  .partner-marquee {
    padding: 0.9rem;
  }

  .vision-point,
  .mission-point {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .thematic-card h3,
  .thematic-card .thematic-icon {
    text-align: center;
  }

  .thematic-card ul,
  .partnership-card ul,
  .info-card ul {
    text-align: left;
  }

  .impact-story-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .scanner-card img {
    max-width: min(100%, 240px) !important;
  }

  .contact-details-list,
  .donation-details-card,
  footer {
    overflow-wrap: anywhere;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0.55rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 0.9rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero,
  #about.hero {
    padding-top: 6.6rem;
  }

  .trust-badge {
    font-size: 0.82rem;
    padding: 0.48rem 0.68rem;
  }

  .hero-media-card {
    width: 100%;
  }
}

/* Social buttons for contact page */
.social-links {
  align-items: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8,31,52,0.04), rgba(47,175,98,0.03));
  border: 1px solid rgba(10,47,79,0.06);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.social-btn i {
  font-size: 1.15rem;
  color: var(--secondary);
}

.social-btn:hover,
.social-btn:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(10,47,79,0.08);
}

.social-btn.linkedin {
  background: linear-gradient(90deg, rgba(10,102,194,0.08), rgba(10,102,194,0.06));
  border-color: rgba(10,102,194,0.12);
}

.social-btn.linkedin i { color: #0A66C2; }

.social-btn.instagram {
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: #fff;
  border: none;
}

.social-btn.instagram i { color: #fff; }

@media (max-width: 575.98px) {
  .social-links { width: 100%; }
  .social-btn { flex: 1 1 auto; justify-content: center; }
  .social-btn span { display: none; }
}
