html {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 1199.98px) {
  .hero-section {
    overflow-x: hidden;
  }

  .hero-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.gradient-overlay1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(166, 0, 158, 0) 25.96%,
    rgba(166, 0, 158, 0.6) 56.73%
  );
  transform: matrix(1, 0, 0, -1, 0, 0);
  z-index: 1;
}

.gradient-overlay2 {
  position: absolute;
  top: 20%;
  left: 0;
  width: 50%;
  height: 100vh;
  background: radial-gradient(
    83.06% 48.79% at 34.71% 44.05%,
    rgba(46, 0, 71, 0.24) 39.91%,
    rgba(166, 0, 158, 0.03) 85.14%
  );
  transform: matrix(0, -1, -1, 0, 0, 0);
  z-index: 1;
}

/* .gradient-overlay3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(45, 0, 71, 0) 25.96%, rgba(45, 0, 71, 0.4) 56.73%);
  transform: matrix(1, 0, 0, -1, 0, 0);
  z-index: 1;
} */

/* .gradient-overlay4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(34, 0, 53, 0.016) 0%, rgba(166, 0, 158, 0.04) 41.83%, rgba(56, 0, 53, 0.12) 95.19%);
  z-index: 1;
} */

.gradient-overlay5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #220020;
  opacity: 0.6;
  transform: matrix(1, 0, 0, -1, 0, 0);
  z-index: 1;
}

#heroCarousel .carousel-item img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
}

.carousel-indicators [data-bs-target] {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.donate {
  align-items: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 50%;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 70%;
}

@media (max-width: 991.98px) {
  .hero-content {
    left: 20%;
    transform: translate(-15%, -50%);
    text-align: center;
    max-width: 80%;
  }

  .gradient-overlay2 {
  height: 140vh;
}

  .hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .hero-content p {
    font-size: 1.05rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .btn {
    padding-inline: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

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

@media (min-width: 2000px) {
  .navbar .container {
    max-width: 78%;
    margin: 0 auto;
  }

  .navbar-items {
    flex: 1;
    justify-content: center;
  }

  .navbar-nav {
    gap: 2.5rem;
  }

  .navbar-brand .logo {
    width: 180px;
  }
}

.hero-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 956.98px) {
  .hero-static img {
    height: 100vh;
  }
}

.hero-section .navbar,
.navbar-brand,
.navbar-nav,
.navbar-collapse,
.nav-link,
.container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  transition: background 0.25s ease, backdrop-filter 0.25s ease,
    box-shadow 0.25s ease, padding 0.25s ease, border-bottom 0.25s ease;
}

/* Ensure fixed navbar escapes hero-section overflow */
.hero-section .navbar.navbar-sticky {
  position: fixed !important;
}

.navbar.navbar-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: linear-gradient(
    170deg,
    rgba(34, 0, 32, 0.95),
    rgba(101, 0, 102, 0.85)
  ) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-items {
  display: flex;
  align-items: center; /* vertical alignment with logo */
}

.navbar-nav {
  align-items: center; /* vertical alignment with logo */
}

/* Desktop logo size */
.navbar-brand .logo {
  width: 140px;
}

.navbar .nav-link {
  color: white !important;
  margin-right: 4rem;
}

.navbar .nav-link.active {
  border-bottom: 2px solid #ffc107;
}

.navbar .dropdown-menu {
  background: linear-gradient(
    120deg,
    rgba(34, 0, 32, 0.9),
    rgba(101, 0, 102, 0.8)
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 0;
}

.navbar .dropdown-menu .dropdown-item {
  color: #fff;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.navbar .dropdown-menu .dropdown-item.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-left: 3px solid #ffc107;
  padding-left: calc(0.75rem - 3px);
}

/* Desktop navbar: place links on second row and stretch them to ~70% width */
@media (min-width: 992px) {
  .navbar .container,
  .navbar-expand-lg .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .navbar-brand {
    margin-right: 0;
    margin-bottom: 0.25rem;
    align-self: flex-start;
  }

  .navbar-items {
    width: min(70%, 960px);
    align-self: center;
    justify-content: center;
  }

  .navbar-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .navbar .nav-link {
    margin-right: 0;
  }

  .navbar-collapse {
    margin-top: 0;
  }

  /* Sticky state: switch back to single-row layout with smooth animation */
  .navbar.navbar-sticky .container,
  .navbar.navbar-sticky.navbar-expand-lg .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .navbar.navbar-sticky .navbar-brand {
    margin-bottom: 0;
  }

  .navbar.navbar-sticky .navbar-items {
    width: auto;
    flex: 1;
    justify-content: flex-end;
    align-self: stretch;
  }

  .navbar.navbar-sticky .navbar-nav {
    width: auto;
    gap: 1.75rem;
    justify-content: flex-end;
  }

  /* Centered navbar state: center logo and links both horizontally and vertically */
  .navbar.navbar-sticky.navbar-centered .container,
  .navbar.navbar-sticky.navbar-centered.navbar-expand-lg .container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .navbar.navbar-sticky.navbar-centered .navbar-brand {
    margin-bottom: 0;
    margin-right: 0;
  }

  .navbar.navbar-sticky.navbar-centered .navbar-items {
    width: auto;
    flex: 0 1 auto;
    justify-content: center;
    align-self: center;
  }

  .navbar.navbar-sticky.navbar-centered .navbar-nav {
    width: auto;
    gap: 1.75rem;
    justify-content: center;
  }
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #330055;
  font-weight: 600;
}

@media (min-width: 992px) {
  .hero-content {
    margin-top: clamp(40px, 5vw, 80px);
  }
}

.navbar-collapse {
  align-items: flex-start;
  /* margin-top: 5rem; */
}

@media (max-width: 991.98px) {
  .navbar .container {
    position: relative;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background: linear-gradient(
      170deg,
      rgba(34, 0, 32, 0.95),
      rgba(101, 0, 102, 0.85)
    );
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px 0 0 16px;
    padding: calc(3.5rem + 1.25rem) 1.25rem 1.5rem;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .navbar-collapse.show {
    display: flex !important;
    pointer-events: auto;
  }

  .navbar-collapse.collapsing {
    height: auto !important;
    transition: none;
    display: flex !important;
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .navbar-nav .nav-item {
    width: 100%;
    display: block;
  }

  .navbar-nav .mobile-close {
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
    width: 100%;
    margin-bottom: 0.25rem;
    margin-left: auto;
    padding: 0;
  }

  .navbar-nav .close-nav {
    color: #fff;
    font-size: 1.25rem;
    padding: 0.25rem;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    border: none;
    border-radius: 50%;
    margin-left: auto;
  }

  .navbar-nav .close-nav:hover,
  .navbar-nav .close-nav:focus {
    color: #330055;
    text-decoration: none;
  }

  .navbar .nav-link,
  .navbar .btn {
    width: 100%;
    display: block;
    text-align: center;
    margin: 0;
    padding: 0.5rem 0;
    color: #f6f6f6 !important;
    padding-right: 1rem;
    border-right: 3px solid transparent;
    padding-left: 0.5rem;
  }

  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0.25rem 0 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(
      120deg,
      rgba(34, 0, 32, 0.92),
      rgba(101, 0, 102, 0.8)
    );
    color: #fff;
    border: 1px solid rgba(101, 0, 102, 0.35);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    padding-left: 0;
    color: #fff;
  }
}

/* ABOUT SECTION */
.about-ekaimaf {
  position: relative;
  padding: 80px 0;
  background-color: #f8f9fa;
  min-height: 100vh;
  overflow: visible;
}

.section-text h2 {
  font-weight: 700;
  color: #4c004d;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

@media (max-width: 575.98px) {
  .section-text h2 {
    padding-left: 20px;
    font-size: 1.75rem;
  }

  .section-text h2::before {
    width: 5px;
    height: 35px;
  }

  .section-text h2::after {
    left: 6px;
    width: 5px;
    height: 35px;
  }
}

.section-text h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-60%);
  width: 7px;
  height: 45px;
  background-color: #ff9100;
}

.section-text h2::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 75%;
  transform: translateY(-60%);
  width: 7px;
  height: 45px;
  background-color: #ff9100;
}

.section-text .lead {
  font-size: 1.4rem;
  font-weight: 600;
  color: #353637;
  margin-bottom: 20px;
  padding-left: 30px;
}

@media (max-width: 767.98px) {
  .section-text .lead {
    font-size: 1.1rem;
    padding-left: 20px;
  }
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
  padding-left: 30px;
}

.about-images {
  position: relative;
  height: 100%;
  padding-left: 30px;
}

.image-collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  grid-template-rows: repeat(4, minmax(90px, 1fr));
  grid-template-areas:
    "a a a b b c"
    "a a a b b c"
    "d d e e f f"
    "d d e e f f";
  gap: 18px;
  height: 520px;
}

.collage-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(17, 1, 32, 0.25);
}

/* Event overlay/link inside collage */
.event-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.event-img-wrapper {
  max-width: 500px;
  max-height: 500px;
  width: 100%;
  height: auto;
  overflow: auto;
}

.event-link .event-tag {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  background: rgba(76, 0, 77, 0.95);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(12, 0, 29, 0.25);
  z-index: 4;
}

.event-link .event-cta {
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.event-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: solid 2px #fff;
  border-radius: 25px;
}

.collage-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-link .collage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

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

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

.img-1 {
  grid-area: a;
}
.img-2 {
  grid-area: b;
}
.img-3 {
  grid-area: c;
}
.img-4 {
  grid-area: d;
}
.img-5 {
  grid-area: e;
}
.img-6 {
  grid-area: f;
}

.collage-pill {
  position: absolute;
  right: 0;
  bottom: 110px;
  background: #fff;
  border-radius: 24px;
  padding: 16px 24px;
  box-shadow: 0 20px 35px rgba(12, 0, 29, 0.18);
  max-width: 320px;
}

.collage-pill span {
  display: inline-block;
  font-weight: 700;
  color: #4c004d;
  font-size: 1.15rem;
}

.collage-pill p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: #5f5267;
}

@media (max-width: 991px) {
  .about-images {
    padding-left: 0;
    margin-top: 2.5rem;
  }

  .about-ekaimaf {
    padding: 60px 0;
    min-height: auto;
  }

  .image-collage {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    grid-template-rows: repeat(3, minmax(140px, 1fr));
    grid-template-areas:
      "a b"
      "c d"
      "e f";
    height: auto;
  }

  .collage-card {
    border-radius: 14px;
    min-height: 120px;
  }

  .collage-pill {
    position: relative;
    margin-top: 3rem;
  }

  .event-link .event-tag {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .event-link .event-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -4%;
    display: inline-block;
    margin: 0;
  }
}

/* Lightbox modal for event image */
.event-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.event-lightbox-modal .lightbox-content {
  position: relative;
  width: 90%;
  height: 90vh;
  max-width: 1200px;
  animation: slideIn 0.3s ease;
  pointer-events: none;
}

@keyframes slideIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.event-lightbox-modal .lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-lightbox-modal .lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.event-lightbox-modal .lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* HIGHLIGHT SECTION */

.highlights-section {
  padding: clamp(2rem, 3vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

/* Highlight card */
.highlight-card {
  border-radius: 16px;
  overflow: hidden;
  background: #4b004c;
  box-shadow: 0 8px 22px rgba(32, 9, 51, 0.16);
}
.highlight-card img {
  width: 100%;
  height: clamp(200px, 32vw, 320px);
  object-fit: cover;
  display: block;
}
.highlight-caption {
  background: #4b004c;
  color: #ffffff;
  padding: 1rem 1.125rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Mini-carousel inside a highlight card */
.mini-carousel {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: transparent; /* avoid black flash if image not yet loaded */
}

/* Fallback: ensure the renovated house is visible as a background if the img fails to render */
.mini-carousel {
  background-image: url("../images/ekaimaf/newhouse.png");
  background-size: cover;
  background-position: center center;
}
.mini-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mini-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 500ms ease, transform 500ms ease;
  display: block;
}
.mini-slide.active {
  opacity: 1;
  transform: scale(1);
}
/* Strong visibility fallback: ensure the active mini-slide is shown even if another rule hides it */
.mini-carousel .mini-slide {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  opacity: 0 !important;
}
.mini-carousel .mini-slide.active {
  opacity: 1 !important;
  z-index: 3 !important;
}
.mini-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.mini-prev {
  left: 12px;
}
.mini-next {
  right: 12px;
}
.mini-control:focus {
  outline: 2px solid rgba(255, 193, 7, 0.9);
}
.mini-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  /* ensure dots sit above slides and are interactive */
  z-index: 10;
  pointer-events: auto;
}
.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.mini-dot.active {
  background: #ffc107;
  width: 22px;
  border-radius: 6px;
}

@media (max-width: 767.98px) {
  .mini-carousel {
    height: 220px;
  }
  .mini-control {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 575.98px) {
  .mini-carousel {
    height: 180px;
  }
}

/* Carousel controls: circular purple buttons */
.highlights-section .carousel {
  overflow: visible;
}

.highlights-section .carousel-control-prev,
.highlights-section .carousel-control-next {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 1;
  transition: background-color 0.2s ease;
  box-shadow: 0 6px 16px rgba(32, 9, 51, 0.25);
}

.highlights-section .carousel-control-prev {
  left: -1.2rem;
}
.highlights-section .carousel-control-next {
  right: -1.2rem;
}
.highlights-section .carousel-control-prev:hover,
.highlights-section .carousel-control-next:hover {
  background-color: var(--accent-600);
}

/* Make default chevrons visible on purple */
.highlights-section .carousel-control-prev-icon,
.highlights-section .carousel-control-next-icon {
  filter: invert(1) grayscale(100%);
  width: 1.25rem;
  height: 1.25rem;
}

/* On small screens, keep controls inside container */
@media (max-width: 575.98px) {
  .carousel-control-prev {
    left: 0.25rem;
  }
  .carousel-control-next {
    right: 0.25rem;
  }
}

/* Custom slider */
.custom-carousel {
  position: relative;
}
.custom-carousel .viewport {
  overflow: hidden;
  touch-action: none; /* disable swipe */
}
.custom-carousel .track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  transform: translateX(0);
  transition: transform 400ms ease;
}
.custom-carousel .item {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  /* 1.5 cards visible: each card ~66.666% */
  .custom-carousel .item {
    flex-basis: 66.666%;
  }
}
@media (min-width: 992px) {
  /* 2 cards visible */
  .custom-carousel .item {
    flex-basis: calc(50% - 0.5rem);
  }
}

/* Navigation buttons */
.highlights-section .highlight-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: #5d2b80;
  box-shadow: 0 10px 24px rgba(91, 17, 128, 0.35);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 3; /* ensure above images */
}
.highlights-section .highlight-btn::before {
  content: none;
  display: none;
}
.highlights-section .highlight-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.12),
    transparent 26%
  );
  pointer-events: none;
}
/* filled arrow using CSS (rectangle + triangle), centered */
.highlights-section .highlight-btn .icon {
  position: relative;
  width: 24px;
  height: 20px;
}
.highlights-section .highlight-btn .icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 10px;
  background: #fff;
  transform: translateY(-50%);
  border-radius: 1px;
}
.highlights-section .highlight-btn .icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #fff;
  transform: translateY(-50%);
}
.highlights-section .highlight-btn.prev .icon {
  transform: rotate(180deg);
}
.highlights-section .highlight-btn:disabled {
  background: #b991c8;
  cursor: default;
}
.highlights-section .highlight-btn:hover:not(:disabled) {
  background: #5d2b80;
  transform: translateY(-50%) scale(1.03);
}
.highlights-section .highlight-btn.prev {
  left: 0.75rem;
}
.highlights-section .highlight-btn.next {
  right: 0.75rem;
} /* 0.75rem */
@media (max-width: 575.98px) {
  .highlights-section .highlight-btn.prev {
    left: 0.5rem;
  }
  .highlights-section .highlight-btn.next {
    right: 0.5rem;
  }
}

/* IMPACT SECTION */

.impact-statistics {
  background-color: #eacceb;
  padding: 100px 0 100px 0;
  position: relative;
}

.stat-card {
  background-color: #ffa32b;
  padding: 20px 0 20px 20px;
  border-radius: 10px;
  color: #7e0080;
  text-align: left;
}

.stat-card h3 .num {
  color: #650066;
}

.stat-card h3 {
  font-weight: 900;
  font-size: 1.8rem;
}

.stat-card p {
  font-size: 1rem;
  margin: 0;
}

.impact-statistics .slogan {
  position: absolute;
  font-size: 1.5rem;
  color: #4f2683;
  font-weight: 600;
}

.img-fluid {
  max-width: 100px;
}

.impact-statistics .stat-card-wrapper {
  position: relative;
}

.impact-statistics .icon-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.first-card .stat-card {
  margin-left: -50px;
}

.middle-card {
  margin-left: 50px;
}

.slogan-row {
  margin-left: -100px;
}

.last-card {
  margin-left: 150px;
}

.last-card .col-md-2 {
  margin-right: -20px;
}

@media (max-width: 1199.98px) {
  .impact-statistics {
    padding: 80px 0;
    overflow-x: hidden;
  }

  .impact-statistics .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .first-card .stat-card {
    margin-left: -20px;
  }

  .middle-card {
    margin-left: 20px;
  }

  .last-card {
    margin-left: 50px;
  }
}

@media (max-width: 991.98px) {
  .impact-statistics {
    padding: 80px 0;
    overflow-x: hidden;
  }

  .impact-statistics .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stat-card {
    padding: 16px 18px;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .stat-card p {
    font-size: 0.95rem;
  }

  .impact-statistics .icon-col img {
    max-width: 85px;
  }

  .impact-statistics .section-text h2 {
    font-size: 2rem;
  }

  .impact-statistics .section-text h4 {
    font-size: 1.1rem;
  }

  .first-card .stat-card,
  .middle-card,
  .last-card {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .impact-statistics .row.align-items-center.my-4 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .impact-statistics .row.align-items-center.my-4 > div {
    margin: 0 !important;
    padding: 0;
    width: auto;
  }

  .impact-statistics .stat-card-wrapper {
    order: 1;
    flex: 1;
    width: 100%;
  }

  .impact-statistics .stat-card {
    margin-bottom: 0;
    width: 100%;
  }

  .impact-statistics .icon-col {
    order: 2;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
  }

  .impact-statistics .icon-col img {
    max-width: 64px;
    margin-left: 0 !important;
  }

  .impact-statistics .icon-col.icon-extra {
    display: none;
  }

  .impact-statistics .row.align-items-center.my-4 .col-md-6,
  .impact-statistics .row.align-items-center.my-4 .col-md-2 {
    width: auto;
  }

  .impact-statistics .slogan {
    position: static;
    text-align: center;
    margin: 30px 0 0;
    display: block;
  }
}

/* TESTIMONIALS/PARTNERSHIP SECTION */
.testimonials-partnership {
  background-color: #f6f8f9;
  padding: 100px 0 60px 0;
  overflow-x: hidden;
}

/* Partners section styling */
.partners-carousel {
  padding: clamp(2rem, 3vw, 3.5rem) 0;
}
.partners-carousel .section-text {
  padding-top: 1rem;
}
.partners-carousel .section-text h2 {
  color: #3f0050;
  letter-spacing: -0.5px;
}

.partner-slider {
  padding: 1rem 0;
}
.partner-logo img {
  max-height: 56px;
  object-fit: contain;
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
  filter: grayscale(0.15) contrast(0.95);
}
.partner-logo:hover img {
  transform: translateY(-6px) scale(1.04);
  filter: grayscale(0) contrast(1);
  opacity: 0.98;
}

/* Volunteer Showcase Section */
.volunteer-showcase-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f3f1f5 100%);
  position: relative;
  overflow: hidden;
}

.volunteer-showcase-section .section-text h2 {
  color: #3f0050;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.volunteer-showcase-section .section-text .lead {
  color: #6b5b75;
  font-weight: 500;
  font-size: 1.1rem;
}

/* Volunteer Collage Grid */
.volunteer-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .volunteer-collage {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 1200px) {
  .volunteer-collage {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.4rem;
  }
}

.volunteer-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  box-shadow: 0 10px 28px rgba(32, 9, 51, 0.12);
  cursor: pointer;
  transition: box-shadow 320ms ease;
  margin: 0;
}

.volunteer-card:hover {
  box-shadow: 0 16px 40px rgba(32, 9, 51, 0.25);
}

.volunteer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.volunteer-card:hover img {
  filter: brightness(0.9) saturate(1.15);
  transform: scale(1.06);
}

.volunteer-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 320ms ease;
}

.volunteer-card:hover .volunteer-overlay {
  opacity: 0;
}

.volunteer-role {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.volunteer-cta p {
  font-size: 1rem;
  color: #6b5b75;
}

.volunteer-cta .btn-warning {
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 280ms ease;
  box-shadow: 0 8px 20px rgba(255, 161, 43, 0.35);
}

.volunteer-cta .btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 161, 43, 0.5);
}

@media (max-width: 767.98px) {
  .volunteer-collage {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .volunteer-card {
    border-radius: 12px;
  }

  .volunteer-role {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .volunteer-collage {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .volunteer-showcase-section {
    padding: 2rem 0;
  }

  .volunteer-showcase-section .section-text h2 {
    font-size: 1.75rem;
  }

  .volunteer-showcase-section .section-text .lead {
    font-size: 0.95rem;
  }
}

.testimonials-partnership .section-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.testimonials-partnership .section-text h2 {
  word-break: break-word;
  hyphens: auto;
}

/* Infinite Carousel Container */
.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  overflow-x: hidden;
  padding: 0 1rem;
  flex-wrap: nowrap;
}

/* Allow horizontal drag gestures while preserving vertical scroll */
.testimonials-carousel,
.testimonials-carousel-wrapper {
  touch-action: pan-y;
}

.testimonials-carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  width: 100%;
  box-sizing: border-box;
}

.testimonials-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  min-height: 320px;
  box-sizing: border-box;
}

.testimonial-image-wrapper {
  flex: 0 0 35%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.testimonial-image-wrapper:hover .testimonial-image {
  transform: scale(1.05);
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(76, 0, 77, 0.1),
    rgba(255, 145, 0, 0.1)
  );
  pointer-events: none;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.testimonial-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4c004d;
  margin: 0 0 0.25rem 0;
}

.testimonial-location {
  font-size: 0.95rem;
  color: #ff9100;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #5f5267;
  margin: 0;
  font-style: italic;
  padding-left: 1rem;
  border-left: 4px solid #ff9100;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #5d2b80;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(93, 43, 128, 0.3);
  padding: 0;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn:hover {
  background: #4c1f70;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(93, 43, 128, 0.4);
}

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

/* Carousel Indicators */
.testimonials-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator.active {
  background: #5d2b80;
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(93, 43, 128, 0.3);
}

.indicator:hover:not(.active) {
  background: #b991c8;
}

.testimonials-card {
  margin: 0 100px 0 100px;
}

.testimonials-partnership .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.testimonials-partnership .card .gradient-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.testimonials-partnership .card-img-top {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.testimonials-partnership .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonials-partnership .card-title {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonial-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    min-height: auto;
  }

  .testimonial-image-wrapper {
    flex: 0 0 40%;
    height: 220px;
  }

  .testimonial-name {
    font-size: 1.2rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .testimonials-carousel-wrapper {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
  }

  .testimonials-carousel {
    flex: 1 1 100%;
    order: 0;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    order: 3;
    margin-top: 1rem;
  }

  .carousel-btn.carousel-btn-prev {
    order: 1;
    margin-top: 1rem;
  }

  .carousel-btn.carousel-btn-next {
    order: 2;
    margin-top: 1rem;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .testimonial-card {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
    min-height: auto;
  }

  .testimonial-image-wrapper {
    flex: 0 0 50%;
    min-height: 220px;
  }

  .testimonial-name {
    font-size: 1.1rem;
  }

  .testimonial-location {
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .testimonials-carousel-wrapper {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .testimonials-carousel {
    flex: 0 1 100%;
    order: 0;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    order: 4;
    margin-top: 1rem;
  }

  .carousel-btn.carousel-btn-prev {
    order: 1;
    margin-top: 1rem;
  }

  .carousel-btn.carousel-btn-next {
    order: 2;
    margin-top: 1rem;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .testimonial-card {
    padding: 1rem;
    gap: 0.75rem;
    min-height: auto;
  }

  .testimonial-image-wrapper {
    flex: 0 0 45%;
    min-height: 160px;
  }

  .testimonial-content {
    flex: 1;
    overflow: hidden;
  }

  .testimonial-name {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
  }

  .testimonial-location {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .testimonial-text {
    font-size: 0.8rem;
    line-height: 1.4;
    padding-left: 0.6rem;
    border-left-width: 3px;
    margin: 0;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .indicator.active {
    width: 24px;
  }
}

.testimonials-partnership .partner-logo {
  display: inline-block;
  max-width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* filter: grayscale(100%); */
  transition: filter 0.3s ease;
}

/* .testimonials-partnership .partner-logo:hover {
    filter: grayscale(0%);
} */

.testimonials-partnership .partner-logo img {
  width: 100%;
  height: auto;
}

.testimonials-partnership .partner-logo .cakebox {
  width: 50%;
  height: auto;
}

.partners-carousel {
  margin: 0 100px 0 100px;
  padding-bottom: 30px;
  padding-top: 0;
}

/* Partner logos infinite slider */
.partner-slider {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0.5rem 0;
}
.partner-slider .partner-track {
  /* duplicated content will allow seamless loop; translate amount is provided via --partner-translate */
  display: flex;
  align-items: center;
  gap: 1rem; /* default gap between logos */
  /* Partner carousel speed */
  animation: partner-scroll var(--partner-duration, 9s) linear infinite;
  will-change: transform;
}
.partner-slider .partner-track .partner-logo {
  flex: 0 0 auto;
  max-width: 160px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0; /* remove extra margin; gaps are controlled by the track gap */
}
.partner-slider .partner-track img {
  max-height: 70px;
  width: auto;
  display: block;
}
.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* use computed pixel translate so the animation moves exactly one set width */
    transform: translateX(var(--partner-translate, -50%));
  }
}

@media (max-width: 575.98px) {
  .partner-slider .partner-track {
    gap: 0.6rem; /* moderate gap for better spacing when logos are larger */
  }

  /* Double non-cakebox logo sizes on mobile while preserving loop calculations */
  .partner-slider .partner-track .partner-logo {
    max-width: 136px; /* approx x2 */
    height: 88px;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }

  /* Make most logos larger, but keep Cake Box image at its original mobile size */
  .partner-slider .partner-track img {
    max-height: 88px;
  }
  .partner-slider .partner-track img.cakebox {
    max-height: 48px; /* preserve cakebox size */
    width: auto;
  }
}

/* Strong mobile override to ensure visible spacing between logos
   Some browsers/devtools renderers may collapse flex gap; add padding fallback. */
@media (max-width: 575.98px) {
  .partner-slider .partner-track {
    gap: 0.6rem !important; /* ensure consistent gap */
  }

  .partner-slider .partner-track .partner-logo {
    margin: 0 !important;
    padding: 0 0.25rem !important; /* breathing room fallback */
    box-sizing: border-box;
  }

  .partner-slider .partner-track img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .partner-slider .partner-track img.cakebox {
    max-height: 48px !important;
  }
}

/* Make the Cake Box logo larger (approx x2) while keeping other logos unchanged */
.partner-slider .partner-track .partner-logo .cakebox {
  max-height: 62px; /* reduced slightly more */
  width: auto;
  display: block;
}

@media (max-width: 575.98px) {
  .partner-slider .partner-track .partner-logo .cakebox {
    max-height: 48px;
  }
}

/* Mobile tweak: reduce side margins so partner logos reach screen edges more */
@media (max-width: 575.98px) {
  .partners-carousel {
    margin: 0 0.5rem; /* bring carousel closer to edges on small screens */
    padding-bottom: 18px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .partner-slider {
    padding: 0; /* remove extra vertical padding on mobile */
  }

  /* Tighter spacing on small screens so more logos fit across viewport.
     Reduce gap and max-width so 5 logos can be fully visible on narrow devices. */
  .partner-slider .partner-track {
    gap: 0.4rem; /* significantly reduced gap for mobile */
  }

  .partner-slider .partner-track .partner-logo {
    max-width: 68px; /* smaller logo width to allow 5 across */
    height: 44px;
    margin: 0 0.2rem;
  }

  .partner-slider .partner-track img {
    max-height: 44px;
  }
}

.testimonials-partnership .logo-placeholder {
  width: 150px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #ccc;
  color: #6c757d;
  font-style: italic;
  padding: 10px;
}

/* IMPACT PAGE */
.impact-page {
  background-color: #f6f8f9;
  margin-top: 50px;
  padding: 3rem 0 3rem 0;
  min-height: 100vh;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #f6f8f9;
}

.accordion-header {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  cursor: pointer;
  background-color: #f6f8f9;
}

.accordion-button {
  font-size: 20px;
  font-weight: bold;
  color: #3d0066;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #f6f8f9;
}

.accordion-button:not(.collapsed) {
  /* box containing year*/
  color: #3d0066;
  background-color: #f6f8f9;
}

.accordion-button:focus {
  box-shadow: none;
  background-color: #f6f8f9;
}

.accordion-body {
  padding: 20px;
}

.report-summary {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 20px;
  font-weight: 600;
}

.report-item {
  margin: 0 20px 0 20px;
  padding: 15px;
  background-color: #ffffff;
}
.report-item h5 {
  font-size: 16px;
  font-weight: bold;
  color: #3d0066;
}

.report-item p {
  font-size: 14px;
  color: #4a4a4a;
}

.report-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.report-images img {
  width: 100%;
  border-radius: 5px;
}

/* ABOUT US SECTION */
.about-us-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-us-header {
  margin-bottom: 60px;
}

.about-us-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.orange-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: 15px;
}

.orange-bar {
  width: 7px;
  height: 45px;
  background-color: #ff9100;
}

.about-us-title {
  font-size: 3rem;
  font-weight: 700;
  color: #353637;
  margin: 0;
}

.about-us-intro {
  padding-left: 30px;
}

.about-us-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #353637;
  margin-bottom: 20px;
}

.vision-mission-row {
  margin-bottom: 40px;
}

.vision-label-box,
.mission-label-box {
  padding: 0;
}

/* Vision Statement row with flexbox layout */
.vision-row-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Vision Statement label box - square shape */
.vision-row-flex .vision-label-box {
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  padding: 0;
}

/* Vision Statement text box - takes remaining space */
.vision-row-flex .vision-statement-box {
  flex: 1;
  padding: 0;
}

/* Mission Statement row with flexbox layout */
.mission-row-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mission Statement label box - square shape */
.mission-row-flex .mission-label-box {
  flex: 0 0 auto;
  width: 250px;
  height: 250px;
  padding: 0;
}

/* Mission Statement text box - takes remaining space */
.mission-row-flex .mission-statement-box {
  flex: 1;
  padding: 0;
}

.statement-label-box {
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Vision label box fills the square */
.vision-row-flex .vision-label-box .statement-label-box {
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Mission label box fills the square */
.mission-row-flex .mission-label-box .statement-label-box {
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Vision Statement - Darker purple for label */
.vision-label {
  background-color: #4c004d;
}

/* Vision Statement - Lighter purple for text */
.vision-text {
  background-color: #6b2b7a;
}

/* Mission Statement - Bright orange for label */
.mission-label {
  background-color: #ff9100;
}

/* Mission Statement - Darker orange for text */
.mission-text {
  background-color: #e67e00;
}

.statement-label-box h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.label-line {
  display: block;
  line-height: 1.2;
}

.statement-icon {
  font-size: 3rem;
  color: #ffffff;
}

.vision-statement-box,
.mission-statement-box {
  padding: 0;
}

.statement-text-box {
  padding: 40px 30px;
  height: 100%;
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* Vision text box fills its container */
.vision-row-flex .vision-statement-box .statement-text-box {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

/* Mission text box fills its container */
.mission-row-flex .mission-statement-box .statement-text-box {
  width: 100%;
  height: 100%;
  min-height: 250px;
}

.statement-text-box p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

@media (max-width: 991.98px) {
  .about-us-title {
    font-size: 2.5rem;
  }

  /* Vision row flex adjustments for tablet - keep horizontal, scale down */
  .vision-row-flex {
    gap: 15px;
  }

  .vision-row-flex .vision-label-box {
    width: 200px;
    height: 200px;
  }

  .vision-row-flex .vision-label-box .statement-label-box {
    padding: 30px 20px;
  }

  .vision-row-flex .vision-label-box .statement-label-box h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .vision-row-flex .vision-label-box .statement-icon {
    font-size: 2.5rem;
  }

  .vision-row-flex .vision-statement-box .statement-text-box {
    min-height: 200px;
    padding: 30px 20px;
  }

  .vision-row-flex .vision-statement-box .statement-text-box p {
    font-size: 0.95rem;
  }

  /* Mission row flex adjustments for tablet - keep horizontal, scale down */
  .mission-row-flex {
    gap: 15px;
  }

  .mission-row-flex .mission-label-box {
    width: 200px;
    height: 200px;
  }

  .mission-row-flex .mission-label-box .statement-label-box {
    padding: 30px 20px;
  }

  .mission-row-flex .mission-label-box .statement-label-box h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .mission-row-flex .mission-label-box .statement-icon {
    font-size: 2.5rem;
  }

  .mission-row-flex .mission-statement-box .statement-text-box {
    min-height: 200px;
    padding: 30px 20px;
  }

  .mission-row-flex .mission-statement-box .statement-text-box p {
    font-size: 0.95rem;
  }

  .vision-label-box,
  .mission-label-box,
  .vision-statement-box,
  .mission-statement-box {
    margin-bottom: 20px;
  }

  .statement-label-box,
  .statement-text-box {
    min-height: 180px;
    padding: 30px 20px;
  }

  .statement-label-box h3 {
    font-size: 1rem;
  }

  .statement-icon {
    font-size: 2.5rem;
  }

  .statement-text-box p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .about-us-section {
    padding: 60px 0;
  }

  .about-us-title {
    font-size: 2rem;
  }

  .orange-bar {
    width: 5px;
    height: 35px;
  }

  .about-us-intro {
    padding-left: 20px;
  }

  .about-us-intro p {
    font-size: 1rem;
  }

  /* Vision row flex adjustments for mobile - keep horizontal, scale down more */
  .vision-row-flex {
    gap: 12px;
  }

  .vision-row-flex .vision-label-box {
    width: 150px;
    height: 150px;
  }

  .vision-row-flex .vision-label-box .statement-label-box {
    padding: 20px 15px;
  }

  .vision-row-flex .vision-label-box .statement-label-box h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .vision-row-flex .vision-label-box .statement-icon {
    font-size: 1.5rem;
  }

  .vision-row-flex .vision-statement-box .statement-text-box {
    min-height: 150px;
    padding: 25px 15px;
  }

  .vision-row-flex .vision-statement-box .statement-text-box p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Mission row flex adjustments for mobile - keep horizontal, scale down more */
  .mission-row-flex {
    gap: 12px;
  }

  .mission-row-flex .mission-label-box {
    width: 150px;
    height: 150px;
  }

  .mission-row-flex .mission-label-box .statement-label-box {
    padding: 20px 15px;
  }

  .mission-row-flex .mission-label-box .statement-label-box h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .mission-row-flex .mission-label-box .statement-icon {
    font-size: 1.5rem;
  }

  .mission-row-flex .mission-statement-box .statement-text-box {
    min-height: 150px;
    padding: 25px 15px;
  }

  .mission-row-flex .mission-statement-box .statement-text-box p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .statement-label-box,
  .statement-text-box {
    min-height: 160px;
    padding: 25px 15px;
  }

  .statement-label-box h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .statement-icon {
    font-size: 2rem;
  }

  .statement-text-box p {
    font-size: 0.95rem;
  }
}

/* CORE VALUES SECTION */
.core-values-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #4c004d;
  margin: 0;
}

.core-value-card {
  background-color: #f5f5f5;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.core-value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.core-value-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4c004d;
  margin-bottom: 15px;
}

.core-value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #353637;
  margin: 0;
}

/* LEADERSHIP TEAM SECTION */
.leadership-team-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.leadership-card {
  text-align: center;
}

.leadership-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.leadership-image2 {
  width: 100%;
  max-width: 300px;
  height: 450px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.leadership-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #353637;
  margin: 0;
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 2.5rem;
  }

  .core-value-card {
    padding: 25px 20px;
  }

  .core-value-card h3 {
    font-size: 1.2rem;
  }

  .core-value-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .core-values-section,
  .leadership-team-section {
    padding: 60px 0;
  }

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

  .core-value-card {
    padding: 20px 15px;
  }

  .core-value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .core-value-card p {
    font-size: 0.9rem;
  }

  .leadership-image {
    max-width: 250px;
  }

  .leadership-name {
    font-size: 1rem;
  }
}

/* OUR STORY SECTION */
.our-story-section {
  padding: 80px 0 80px 0;
  background-color: #eacceb;
  margin: 0 0 3rem 0;
}

.story-subtitle {
  font-size: 1.2rem;
  color: #353637;
  margin-top: 15px;
  padding-left: 30px;
  font-weight: 500;
}

.story-content {
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 30px;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #353637;
  margin-bottom: 20px;
}

.story-content p strong {
  font-weight: 700;
  color: #4c004d;
}

.story-list {
  list-style-type: disc;
  padding-left: 30px;
  margin-bottom: 20px;
}

.story-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #353637;
  margin-bottom: 10px;
}

/* HEALTH AND WELLNESS OUTREACH SECTION */
.outreach {
  max-width: 1200px;
  width: 100%;
  margin: 3rem auto 8rem auto;
}

/* HEALTH PROJECTS CARDS */
.health-projects-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}
.health-projects-section .section-text {
  margin-bottom: 1.25rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.project-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(12, 6, 30, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(72, 0, 88, 0.04);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 6, 30, 0.12);
}

.outreach-description {
  max-width: 90%;
  text-align: justify;
}

.read-more {
  font-weight: 600;
  color: #4c004d;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.read-more:hover {
  color: #4c004d;
  background-color: yellow;
  border-radius: 45%;
  padding: 3px;
  /* margin-left: 6px; */
}

.project-media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-year-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(76, 0, 77, 0.92);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.project-content {
  padding: 16px 18px;
}
.project-content h5 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  color: #3d0066;
}
.project-content p {
  margin: 0;
  color: #5f5267;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outreach-description {
    max-width: 100%;
    text-align: justify;
    padding: 0 0.6rem;
  }
}

@media (max-width: 575.98px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-media {
    height: 180px;
  }
}

.outreach-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.outreach-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.outreach-gallery-item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.outreach-gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.outreach-gallery-caption {
  padding: 1rem;
  background-color: #4a148c;
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive styles for outreach section */
@media (max-width: 1199.98px) {
  .outreach {
    margin: 3rem auto 8rem auto;
    max-width: calc(100% - 6rem);
  }
}

@media (max-width: 991.98px) {
  .outreach {
    margin: 3rem auto 8rem auto;
    max-width: calc(100% - 4rem);
  }

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

@media (max-width: 575.98px) {
  .outreach {
    margin: 3rem auto 8rem auto;
    max-width: calc(100% - 2rem);
  }

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

  .outreach-description {
    font-size: 0.95rem;
  }

  .outreach-gallery-caption {
    font-size: 0.85rem;
    padding: 0.875rem;
  }
}

/* GET INVOLVED SECTION */
.get-involved-section {
  background-color: #f5f1eb;
  padding: 80px 0;
  min-height: 100vh;
}

.get-involved-header {
  margin-bottom: 50px;
}

.get-involved-title {
  font-size: 3rem;
  font-weight: 700;
  color: #290044;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.get-involved-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-60%);
  width: 7px;
  height: 45px;
  background-color: #ff9100;
}

.get-involved-title::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 75%;
  transform: translateY(-60%);
  width: 7px;
  height: 45px;
  background-color: #ff9100;
}

.get-involved-subtitle {
  font-size: 1.2rem;
  color: #353637;
  font-weight: 500;
  padding-left: 30px;
  margin: 0;
}

.involvement-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.involvement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-banner {
  background-color: #ff9100;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.card-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.involvement-card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #353637;
  margin-bottom: 20px;
}

.card-button {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #ff9100;
  border-radius: 8px;
  background-color: #fff8f0;
  color: #353637;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.card-button:hover {
  background-color: #ff9100;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 145, 0, 0.3);
}

@media (max-width: 991.98px) {
  .get-involved-section {
    padding: 60px 0;
  }

  .get-involved-title {
    font-size: 2.5rem;
  }

  .get-involved-subtitle {
    font-size: 1.1rem;
  }

  .card-image-wrapper {
    height: 250px;
  }
}

@media (max-width: 575.98px) {
  .get-involved-section {
    padding: 50px 0;
  }

  .get-involved-title {
    font-size: 2rem;
    padding-left: 25px;
  }

  .get-involved-title::before,
  .get-involved-title::after {
    width: 5px;
    height: 35px;
  }

  .get-involved-title::after {
    left: 7px;
  }

  .get-involved-subtitle {
    font-size: 1rem;
    padding-left: 25px;
  }

  .card-image-wrapper {
    height: 220px;
  }

  .card-content {
    padding: 20px 15px;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .card-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

/* SITE FOOTER */
.site-footer {
  background: radial-gradient(
      circle at top,
      rgba(255, 145, 0, 0.12),
      transparent 45%
    ),
    #13001b;
  color: #f5eafc;
  padding: clamp(60px, 8vw, 100px) 0 40px;
  position: relative;
  /* margin-top: 60px; */
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 145, 0, 0.18),
    transparent 50%
  );
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-logo img {
  width: 58px;
  height: auto;
}

.footer-logo span {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

/* Remove underline from footer brand link */
.footer-logo {
  text-decoration: none;
}
.footer-logo:hover,
.footer-logo:focus {
  text-decoration: none;
}

.footer-copy {
  max-width: 320px;
  color: #d3c7e5;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  background: #ff9100;
  color: #330055;
  transform: translateY(-3px);
}

.footer-section-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffa32b;
  margin-bottom: 1rem;
}

.footer-nav {
  columns: 2;
  gap: 0.5rem;
}

.footer-nav a {
  color: #f5eafc;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
}

.footer-nav a::before {
  content: "•";
  color: #ff9100;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: #ff9100;
}

.footer-gallery .gallery-viewport {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 0.9rem;
  overflow: hidden;
  max-width: 360px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Center gallery column on tablet screens and give a bit more room */
  .footer-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-gallery .gallery-viewport {
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.gallery-row {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  width: max-content;
}

.gallery-row:last-child {
  margin-bottom: 0;
}

.gallery-row img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  flex: 0 0 auto;
  filter: saturate(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.gallery-row.slide-left {
  animation: footerSlideLeft 18s linear infinite;
}

.gallery-row.slide-right {
  animation: footerSlideRight 20s linear infinite;
}

@keyframes footerSlideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-35%);
  }
}

@keyframes footerSlideRight {
  0% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(0);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #cdbfe0;
}

.footer-bottom p {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* TEAM FORM PAGE LAYOUT */
body.team-form-page {
  background-color: #f9f6fb;
}

.team-form-header {
  position: relative;
  z-index: 20;
}

.team-form-page .navbar {
  position: static;
  width: 100%;
  background: linear-gradient(
    170deg,
    rgba(34, 0, 32, 0.95),
    rgba(101, 0, 102, 0.9)
  );
  box-shadow: 0 12px 28px rgba(33, 0, 45, 0.35);
}

.team-form-page .navbar .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.team-form-page .navbar-items {
  width: auto;
  flex: 1;
  justify-content: flex-end;
}

.team-form-page .navbar-nav {
  width: auto;
  justify-content: flex-end;
  gap: 1.75rem;
}

/* VOLUNTEER & PARTNER FORM */
.volunteer-partner-section {
  background: linear-gradient(180deg, #fff 0%, #f5f1eb 100%);
  padding: clamp(60px, 8vw, 110px) 0;
}

.vpf-card {
  background: #ffffff;
  border-radius: 22px;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(76, 0, 77, 0.08);
  height: 100%;
}

.vpf-header h2 {
  font-weight: 700;
  color: #4c004d;
  margin: 0 0 0.35rem;
}

.vpf-header p {
  color: #5f5267;
  margin-bottom: 1.75rem;
}

.vpf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffa32b;
}

.vpf-eyebrow::before,
.vpf-eyebrow::after {
  content: "";
  height: 2px;
  width: 24px;
  background: currentColor;
  display: inline-block;
}

.vpf-form .form-label {
  font-weight: 600;
  color: #4c004d;
  font-size: 0.95rem;
}

.vpf-form .form-control,
.vpf-form .form-select {
  border-radius: 12px;
  border: 1px solid rgba(76, 0, 77, 0.18);
  padding: 0.85rem 1rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vpf-form .form-control:focus,
.vpf-form .form-select:focus {
  border-color: #ff9100;
  box-shadow: 0 0 0 0.15rem rgba(255, 145, 0, 0.25);
}

.vpf-radio-wrapper {
  margin-top: 2rem;
}

.vpf-radio-wrapper .radio-title {
  font-weight: 600;
  color: #4c004d;
  margin-bottom: 0.75rem;
}

.vpf-radio-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
}

.vpf-radio-group input[type="radio"] {
  display: none;
}

.vpf-radio-group label {
  border: 1px solid rgba(76, 0, 77, 0.15);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 110px;
  flex: 1 1 50%;
}

.vpf-radio-group .label-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4c004d;
}

.vpf-radio-group .label-copy {
  font-size: 0.9rem;
  color: #5f5267;
}

.vpf-radio-group input[type="radio"]:checked + label {
  border-color: transparent;
  background: linear-gradient(135deg, #4c004d, #650066);
  color: #fff;
  box-shadow: 0 12px 25px rgba(76, 0, 77, 0.25);
}

.vpf-radio-group input[type="radio"]:checked + label .label-title,
.vpf-radio-group input[type="radio"]:checked + label .label-copy {
  color: #fff;
}

.vpf-submit-btn {
  margin-top: 2rem;
  background: linear-gradient(120deg, #ff9100, #ffa94d);
  color: #4c004d;
  font-weight: 700;
  padding: 0.95rem 2.5rem;
  border-radius: 999px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.vpf-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 145, 0, 0.3);
}

.vpf-highlight-card {
  background: linear-gradient(160deg, #4c004d 0%, #220020 100%);
  color: #fff;
  border-radius: 22px;
  padding: clamp(30px, 3vw, 40px);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vpf-highlight-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  pointer-events: none;
}

.vpf-highlight-card h3 {
  font-weight: 700;
  margin: 1rem 0;
}

.vpf-highlight-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.vpf-highlight-card li {
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@media (max-width: 991.98px) {
  .vpf-card,
  .vpf-highlight-card {
    border-radius: 18px;
  }
}

@media (max-width: 575.98px) {
  .vpf-card {
    padding: 24px;
  }

  .vpf-submit-btn {
    width: auto;
    min-width: 220px;
  }
}

/* DONATION MODAL */
.donation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.donation-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.donation-modal {
  position: relative;
  background: linear-gradient(135deg, #e5c9f0 0%, #d9b8e8 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.donation-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4c004d;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 10;
}

.donation-modal-close:hover {
  transform: scale(1.1);
  color: #650066;
}

.donation-modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #4c004d;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.donation-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.donation-account-label {
  text-align: center;
  font-size: 1.1rem;
  color: #4c004d;
  margin: 0;
  font-weight: 600;
}

.donation-banks {
  max-width: 50%;
  height: auto;
}

.bank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bank-logo {
  width: 50%;
  height: 50%;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 0.5rem;
}

.bank-account {
  font-size: 1.95rem;
  color: #4c004d;
  font-weight: 600;
  margin: 0;
  text-align: center;
  justify-content: center;
}

/* .donation-payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
} */

/* .payment-icon {
  height: 40px;
  object-fit: contain;
} */

.donation-note {
  text-align: center;
  font-size: 1rem;
  color: #4c004d;
  margin: 0;
  font-weight: 500;
}

.donation-international {
  text-align: center;
  font-size: 0.95rem;
  color: #4c004d;
  margin: 0;
  line-height: 1.6;
}

.donation-whatsapp {
  text-align: center;
  font-size: 0.95rem;
  color: #4c004d;
  margin: 0;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donation-international strong a {
  font-weight: 700;
  text-decoration: none;
}

.donation-social-links {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 145, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9100;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.donation-social-links:hover {
  background: #ff9100;
  color: #fff;
}

@media (max-width: 600px) {
  .donation-modal {
    padding: 2.5rem 1.5rem;
  }

  .donation-modal-close {
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }

  .donation-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .donation-info-box {
    gap: 1rem;
  }

  .donation-account-label {
    font-size: 1rem;
  }

  .donation-banks {
    gap: 0.75rem;
  }

  .bank-logo {
    width: 100%;
    height: 100%;
  }

  .bank-account {
    font-size: 0.85rem;
  }

  .donation-payment-methods {
    gap: 1rem;
  }

  .payment-icon {
    height: 35px;
  }

  .donation-note {
    font-size: 0.9rem;
  }

  .donation-international {
    font-size: 0.85rem;
  }
}

/* CONTACT SECTION */
.contact-us-section {
  padding: 80px 0;
  background-color: #eacceb;
  margin: 0 0 0 0;
}

.contact-panel-row {
  margin-top: 2rem;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(19, 18, 66, 0.08);
}

.contact-info-card {
  border-left: 6px solid #ff9100;
}

.contact-info-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #6b6c6f;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(53, 54, 55, 0.08);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(76, 0, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #4c004d;
}

.info-label {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  color: #10111a;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.info-content {
  margin-bottom: 0;
  color: #3a3b46;
  font-size: 1.05rem;
  line-height: 1.5;
}

.info-content a {
  color: inherit;
  text-decoration: none;
}

.info-content a:hover {
  color: #ff9100;
}

.contact-socials .social-links {
  display: flex;
  gap: 1rem;
}

.contact-socials .social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 145, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9100;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-socials .social-links a:hover {
  background: #ff9100;
  color: #fff;
}

.contact-form-card {
  border-right: 6px solid #ff9100;
}

.contact-form {
  margin-top: 0;
  padding: 0;
}

.contact-form .social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 145, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9100;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-form .social-links a:hover {
  background: #ff9100;
  color: #fff;
}

.form-field-horizontal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-field-horizontal .form-label {
  font-weight: 600;
  color: #353637;
  margin-bottom: 0;
  min-width: 80px;
  flex-shrink: 0;
}

.form-field-horizontal .form-control {
  flex: 1;
}

.contact-form .form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 1rem;
  color: #353637;
  background-color: #ffffff;
}

.contact-form .form-control:focus {
  border-color: #ff9100;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 145, 0, 0.1);
}

.contact-form textarea.form-control {
  resize: vertical;
}

.submit-btn {
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

.direct-email-text {
  margin-top: 20px;
  font-size: 1rem;
  color: #353637;
  text-align: center;
}

.direct-email-text a {
  color: #4c004d;
  text-decoration: none;
  font-weight: 600;
}

.direct-email-text a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .our-story-section {
    padding: 60px 0;
    margin: 0 0 3rem 0;
  }

  .contact-us-section {
    padding: 60px 0;
    margin: 0 0 0 0;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 2rem;
  }

  .contact-info-item {
    flex-direction: row;
  }

  .story-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .story-content p,
  .story-list li {
    font-size: 1rem;
  }

  .contact-form {
    padding: 0 20px;
  }

  .form-field-horizontal .form-label {
    min-width: 70px;
  }
}

@media (max-width: 575.98px) {
  .our-story-section {
    padding: 60px 0;
    margin: 0 0 3rem 0;
  }

  .contact-us-section {
    padding: 50px 0;
    margin: 0 0 0 0;
  }

  .contact-panel-row {
    margin-top: 1.5rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }

  .icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .story-subtitle {
    font-size: 1rem;
    padding-left: 20px;
  }

  .story-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 20px;
  }

  .story-content p,
  .story-list li {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .story-list {
    padding-left: 20px;
  }

  .contact-form {
    padding: 0 15px;
  }

  .form-field-horizontal {
    gap: 10px;
  }

  .form-field-horizontal .form-label {
    min-width: 60px;
    font-size: 0.9rem;
  }

  .contact-form .form-control {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 10px 30px;
    font-size: 1rem;
    width: 100%;
  }

  .direct-email-text {
    font-size: 0.9rem;
  }
}

/* ========================
   PROGRAM SECTIONS STYLING
   ======================== */

.program-section {
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid rgba(166, 0, 158, 0.1);
}

.program-section:last-child {
  border-bottom: none;
}

.section-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid rgba(166, 0, 158, 0.3);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #a6009e;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title i {
  font-size: 2.2rem;
  color: #ff9b00;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* PROGRAM CARD STYLING */
.program-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  border: 2px solid rgba(166, 0, 158, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(166, 0, 158, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card:hover {
  border-color: rgba(166, 0, 158, 0.3);
  box-shadow: 0 8px 24px rgba(166, 0, 158, 0.15);
  transform: translateY(-4px);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #a6009e;
}

.program-description {
  text-align: justify;
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-results {
  background: linear-gradient(
    135deg,
    rgba(166, 0, 158, 0.08) 0%,
    rgba(255, 155, 0, 0.08) 100%
  );
  border-left: 4px solid #ff9b00;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.6;
}

.program-results strong {
  color: #a6009e;
  display: block;
  margin-bottom: 0.5rem;
}

/* IMAGE GALLERY STYLING */
/* .image-gallery {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, calc(100% / 6)), 1fr)
  );
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  align-items: center; 
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(166, 0, 158, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} */

.image-gallery {
  column-count: 4;
  column-gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.gallery-image {
  width: 100%;
  display: block;
  margin-bottom: 0.8rem;
  break-inside: avoid;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image:hover {
  border-color: #ff9b00;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(166, 0, 158, 0.2);
}

/* VIDEO CONTAINER STYLING */
.video-container {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.btn-play {
  background: linear-gradient(135deg, #a6009e 0%, #ff9b00 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  justify-content: center;
  text-decoration: none;
}

.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(166, 0, 158, 0.3);
  color: white;
  text-decoration: none;
}

.btn-play:active {
  transform: scale(0.98);
}

.btn-play i {
  font-size: 1.3rem;
}

/* MEDIA MODAL STYLING - fixed centered 50% viewport */
#mediaModal .modal-dialog {
  width: 50vw;
  max-width: 50vw;
  height: 50vh;
  max-height: 50vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mediaModal .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#mediaModal .modal-header {
  background: rgba(166, 0, 158, 0.06);
  padding: 0.75rem 1rem;
  flex-shrink: 0;
}

#mediaModal .modal-title {
  font-weight: 700;
  color: #a6009e;
  font-size: 1rem;
}

#mediaModal .modal-body {
  padding: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mediaContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#mediaModal iframe {
  border-radius: 4px;
  background: #000;
  width: 100%;
  height: 100%;
}

#mediaContainer img {
  border-radius: 4px;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#mediaContainer video {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .section-title i {
    font-size: 1.8rem;
  }

  .program-title {
    font-size: 1.1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .image-gallery {
    column-count: 2;
  }

  #mediaModal .modal-dialog {
    /* On small screens use most of the viewport but keep a comfortable height */
    width: 90vw;
    max-width: 90vw;
    height: 60vh;
    max-height: 60vh;
    margin: 0.5rem;
  }
}
