/*
========================
MISSION AND VISION START
========================
*/
.mission-and-vision {
  padding-block: 40px;
}

/* Title */
.mv-title {
  position: relative;
}

.mv-title1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
}

/* Decorative images */
.mv-title-right-img {
  position: absolute;
  left: 92%;
  top: 50%;
  transform: translateY(-50%);
}
.mv-title-left-img {
  position: absolute;
  right: 87%;
  top: 50%;
  transform: translateY(-50%);
}

.col-lg-6:nth-child(2) .mv-content-1 {
  background-color: var(--color-viking);
}

/* Individual card */
.mv-content-1 {
  background-color: var(--color-shamrock);
  border-radius: 48px;
  transition: transform 0.3s ease;
  margin-top: 48px;
  height: calc(100% - 48px);
}

/* Second card color */
.mv-content-1:nth-child(2) {
  background-color: var(--color-viking);
}

/* Card image */
.mv-content-1-top {
  overflow: hidden;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
}

.mv-content-1-top-img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.mv-content-1:hover .mv-content-1-top-img {
  transform: scale(1.08);
}

/* Card text */
.mv-content-1-bottom {
  padding: 24px;
}

.mv-content-1-bottom-title {
  font-size: clamp(1.25rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.mv-content-1-bottom-content {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 700;
}

/* Hover lift effect */
.mv-content-1:hover {
  transform: translateY(-5px);
}

@media (max-width: 1199px) {
  .mv-title-left-img,
  .mv-title-right-img {
    width: 120px;
  }
  .mv-title-right-img {
    left: 87%;
  }
}

@media (max-width: 767px) {
  /* Adjust the side images */
  .mv-title-right-img,
  .mv-title-left-img {
    width: 100px;
  }

  .mv-title-right-img {
    right: 0%;
  }

  .mv-title-left-img {
    left: 0%;
  }
}
@media (max-width: 575px) {
  .mv-title-left-img,
  .mv-title-right-img {
    top: 20px;
    width: 60px;
  }
  .mv-title-right-img {
    left: calc(100% - 60px);
  }
}
/*
======================
MISSION AND VISION END
======================
*/
/*
==================
OUR PROGRAMS START
==================
*/
.our-programs {
  position: relative;
  padding-block: 40px;
}

.our-programs .container {
  position: relative;
}

/* --- Title Section --- */
.our-programs-title {
  position: relative;
}

.our-programs-title1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
}

.our-programs-title-img1 {
  width: 100%;
  display: block;
  position: absolute;
  top: 80px;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.our-programs-title-img2 {
  position: absolute;
  left: 87%;
  top: -60px;
}

.our-program-content-1 {
  margin-top: 2.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
  height: calc(100% - 2.5rem);
  border: 1px solid var(--color-shamrock);
  background-color: var(--color-white);
}

.our-program-content-1:hover {
  transform: translateY(-5px);
}

.our-program-content-top {
  overflow: hidden;
  scale: 1.005;
  position: relative;
  top: -1px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.our-program-content-top-img {
  width: 100%;
  transition: transform 0.5s ease;
}

/* Zoom effect on hover */
.our-program-content-1:hover .our-program-content-top-img {
  transform: scale(1.08);
}

/* --- Bottom Content --- */
.our-program-content-bottom {
  padding: 24px;
}

.our-program-content-title1 {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 700;
}

.our-program-content-title2 {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 700;
}

/* --- Button --- */
.our-program-content-btn {
  width: max-content;
  padding: 14px 24px;
  border-radius: 30px;
  background-color: var(--color-shamrock);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 100%;
  font-weight: 700;
  text-decoration: none;
  color: #000000;
  display: inline-block;
  transition:
    background-color 0.4s ease,
    transform 0.3s ease;
}

/* Lift + fade on hover */
.our-program-content-btn:hover {
  transform: translateY(-3px);
}

/* --- Alternate Colors --- */
.col-md-6:nth-child(2) .our-program-content-1 {
  border-color: var(--color-sulu);
}
.col-md-6:nth-child(2) .our-program-content-1 .our-program-content-btn {
  background-color: var(--color-sulu);
}
.col-md-6:nth-child(3) .our-program-content-1 {
  border-color: var(--color-turquoise);
}
.col-md-6:nth-child(3) .our-program-content-1 .our-program-content-btn {
  background-color: var(--color-turquoise);
}
.col-md-6:nth-child(4) .our-program-content-1 {
  border-color: var(--color-picton-blue);
}
.col-md-6:nth-child(4) .our-program-content-1 .our-program-content-btn {
  background-color: var(--color-picton-blue);
}

/* --- Responsive --- */

@media (max-width: 1199px) {
  /* our programs start */
  .our-programs-title-img1 {
    top: 60px;
  }
}
@media (max-width: 991px) {
  .our-programs-title-img2 {
    width: 100px;
    left: 85%;
  }
}

@media (max-width: 575px) {
  .navbar {
    padding: 20px 20px;
  }

  .our-programs-title-img2 {
    width: 70px;
    left: 80%;
  }
}
/*
================
OUR PROGRAMS END
================
*/
/*
================
OUR IMPACT START
================
*/
.our-impact {
  padding-block: 40px 120px;
}

.our-impact-title {
  text-align: center;
  position: relative;
}

.our-impact-title1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.our-impact-title2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
}

.our-impact-title-img {
  position: absolute;
  left: 40%;
  transform: translateX(-100%) translateX(-50px);
  top: 0%;
  transform-origin: left center;
  z-index: 0;
}

/* Grid container */
.our-impact-content {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); 
  justify-items: center;
  gap: 30px;
  width: 100%;
}

/* Each Card */
.our-impact-content-main {
  position: relative;
  width: 100%;
  max-width: 375px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.our-impact-content-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image inside card */
.our-impact-content-1 {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.our-impact-content-1-img1 {
  width: 100%;
  transition: transform 0.5s ease;
}

.our-impact-content-main:hover .our-impact-content-1-img1 {
  transform: scale(1.08);
}

/* Bottom Info Box */
.our-impact-content-bottom {
  position: absolute;
  width: 225px;
  border-radius: 10px;
text-align: center;
  background-color: var(--color-turquoise);
  min-height: 130px;
  left: 50%;
  transform: translateX(-50%);
  top: 140px;
}

.our-impact-content-bottom-title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
  margin-top: 50px;
  margin-bottom: 10px;
}

.our-impact-content-bottom-title2 {
font-size: clamp(0.75rem, 1.5vw, 0.875rem);
line-height: 1.2;
    font-weight: 700;
  width: 60%;
  margin-inline: auto;
}

/* Icon Circle */
.our-impact-content-icon {
  width: 60px;
  height: 60px;
  background-color: #57ace5;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Color overrides for each card */
.our-impact-content-main:nth-child(2) .our-impact-content-bottom {
  background-color: var(--color-sulu);
}
.our-impact-content-main:nth-child(2) .our-impact-content-icon {
  background-color: var(--color-shamrock);
}
.our-impact-content-main:nth-child(3) .our-impact-content-bottom {
  background-color: var(--color-shamrock);
}
.our-impact-content-main:nth-child(3) .our-impact-content-icon {
  background-color: var(--color-sulu);
}

/* ---------------- Responsive Adjustments ---------------- */
@media (max-width: 1199px) {
  .our-impact-content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; /* slightly smaller gap on smaller screens */
  }
}

@media (max-width: 991px) {
  .our-impact-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    row-gap: 110px;
  }
  .our-impact-title-img {
    left: 30%;
    width: 80px;
  }
}

@media (max-width: 767px) {
  .our-impact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px ;
  }

  .our-impact-content-main {
    position: relative;
    width: 90%;
    max-width: 450px; /* prevents stretching on large tablets */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .our-impact-content-1 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .our-impact-content-bottom {
    width: 70%;
    bottom: -70px;
    top: unset;
  }

  .our-impact-content-icon {
    top: unset;
    bottom: 0;
    transform: translate(-50%, -50%);
  }

  .our-impact-content-icon img {
    width: 60%;
    height: auto;
  }

  .our-impact-content-main:not(:last-child) {
    margin-bottom: 100px;
  }

  .our-impact-title-img {
    width: 60px;
  }
}
/*
==============
OUR IMPACT END
==============
*/
/*
==============
ACHIEVER START
==============
*/
.achiever-section {
  background: #f9fcff;
  padding-block: 60px 80px;
}

.achiever-text .headline {
      font-size: clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 150%;
}

/* ---- Donate Button ---- */
.donate-btn {
  display: inline-block;
  padding: 2px 40px;
  background: var(--color-viking);
  color: black;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
     font-size: clamp(1.5rem, 4vw, 2rem);
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.donate-btn:hover {
  background: #1faad7;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.heart {
  margin-left: 6px;
}

/* ---- Image ---- */
.achiever-image {
  flex: 1 1 42%;
  min-width: 280px;
}

.achiever-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  transition: transform 0.5s ease;
}

.achiever-image:hover img {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .achiever-text{
    margin-bottom: 3rem;
  }
    .donate-btn {
    text-align: center;
  }
}

