/* ========================================
   WRMP Stylesheet
   Website: Wildlife Rescue & Migration Protection
   ========================================
   
   TABLE OF CONTENTS:
   
   1. CSS Reset & Base Styles
   2. Navigation
   3. Hero Sections
   4. Programs Section
   5. Donations Section
   6. Volunteer Page
   7. Contact Section
   8. About Us Page
   9. Awards Section
   10. Footer
   11. Shared Components & Utilities
   12. Animations
   13. Media Queries
   
   ======================================== */


/* ========================================
   1. CSS RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  padding-top: 80px;
}


/* ========================================
   2. NAVIGATION
   ======================================== */
.navbar {
  background-color: #4C2D48;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  transform: translateY(0);
}

.navbar.hide {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  
}

.nav-left {
  display: flex;
  align-items: center;
  
}


.logo {
  width: 125px;
  height: 89px;
  padding-right: 10px;
}

.company-name {
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.company-name-main {
  font-size: 1.3rem;
  font-weight: bold;
}

.company-name-sub {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.nav-right {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  user-select: none;
}

.nav-link:hover {
  color: #8f5487;
}


/* ========================================
   3. HERO SECTIONS
   ======================================== */
.hero {
  position: relative;
  padding: 100px 2rem;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #4C2D48; /* Fallback color */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

/* Hide video and show solid background for reduced motion users */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero {
    background-color: #4C2D48;
    background-image: none;
  }
}

/* Hide video on mobile devices to save data */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
  .hero {
    background-color: #4C2D48;
    background-image: none;
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  max-width: 560px;
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-heading {
  font-size: 27px;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.212);
  
}

.hero-paragraph {
  font-size: 18px;
  margin-bottom: 2rem;
  line-height: 1.3;
  font-family: 'inter', sans-serif;
}



.hero-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.donate-btn,
.view-more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  
  color: white;
  padding: 12px 30px;
  
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 200px;
  height: 48px;
  line-height: 24px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.donate-btn:hover,
.view-more-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.view-more-btn {
  width: 210px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.274);
}


/* ========================================
   4. PROGRAMS SECTION
   ======================================== */
.programs {
  padding: 4rem 2rem;
  background-color: #4C2D48;
  position: relative;
}

.programs.rainbow-overlay::before {
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.12) 0%,
    rgba(255, 165, 0, 0.12) 16.66%,
    rgba(255, 255, 0, 0.12) 33.33%,
    rgba(0, 128, 0, 0.12) 50%,
    rgba(0, 0, 255, 0.12) 66.66%,
    rgba(75, 0, 130, 0.12) 83.33%,
    rgba(238, 130, 238, 0.12) 100%
  );
}

.programs-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  box-sizing: border-box;
}

.program-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: fit-content;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.program-extra {
  width: 434px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 560px;
  position: relative;
  perspective: 1000px;
}

/* Override .flip-container fixed-width when used as right panel */
.program-extra.flip-container {
  width: 434px;
  flex-shrink: 0;
  cursor: default;
}

.program-extra .flipper {
  height: 100%;
  min-height: 560px;
}

.program-extra .front,
.program-extra .back {
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem;
  background: #ffffff;
  box-shadow: none;
  border: none;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.program-extra .front h3,
.program-extra .back h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0f0f0f;
  text-align: left;
  width: 100%;
  margin-left: -0.2rem;
  margin-top: 10px;
}

.program-extra .front p,
.program-extra .back p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: #333;
  text-align: left;
  width: 100%;
}

/* By default, back face is not interactive; front face is */
.program-extra .back {
  pointer-events: none;
}

/* When flipped, front face hidden - disable its pointer events, enable back */
.program-extra.flip-container.flipped .front {
  pointer-events: none;
}

.program-extra.flip-container.flipped .back {
  pointer-events: auto;
}

/* Push buttons to bottom of each face */
.program-extra .front .more-btn,
.program-extra .back .back-btn {
  margin-top: auto;
  margin-left: 0;
  width: auto;
  height: auto;
  align-self: flex-start;
}

/* Static left image card */
.program-row .program-card {
  width: 434px;
  flex-shrink: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  height: 560px;
  justify-content: flex-start;
}

.program-row .program-card img {
  width: 370px;
  height: 400px;
  object-fit: cover;
  margin-top: 2rem;
  display: block;
  flex-shrink: 0;
}

.program-row .program-card h3 {
  font-size: 1.1rem;
  margin-top: 2.9rem;
  text-align: center;
  width: 100%;
  color: #0f0f0f;
  margin-left: 0;
}

/* Flip Container */
.flip-container {
  perspective: 1000px;
  cursor: pointer;
  width: 434px; /* fixed container width requested */
  flex-shrink: 0;
}

.flipper {
  position: relative;
  width: 100%;
  height: 560px; /* requested container height */
  transition: transform 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.flip-container.flipped .flipper {
  transform: rotateY(180deg) translateZ(0);
  -webkit-transform: rotateY(180deg) translateZ(0);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  border: 2px solid white;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.front {
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  transform: rotateY(180deg) translateZ(0);
  -webkit-transform: rotateY(180deg) translateZ(0);
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.1rem;
}

.front img {
  width: 370px; /* requested image width */
  height: 400px; /* requested image height */
  object-fit: cover;
  display: block;
  flex-shrink: 0; /* prevent image from shrinking when h3 wraps to multiple lines */
  margin: 0 auto 1rem; /* center image and keep spacing below */
  margin-top: 12px;
}

.front h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: left;
  width: 100%;
  align-self: flex-start;
  color: #0f0f0f;
  margin-left: 15px;
}

.back h3 {
  font-size: 1.15rem; /* slightly smaller heading on back */
  margin-bottom: 0.6rem;
  text-align: left;
}

.back p {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

/* Style community-support so content fits inside the card without scrolling */
.back .community-support {
  width: 100%;
  max-width: 372px; /* match image/card width */
  padding: 0;
  margin: 0 0 0.5rem 0;
  font-size: 0.92rem; /* slightly smaller to fit more content */
}

.back .community-support h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.back .community-support p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #111;
  margin-bottom: 0.65rem;
  text-align: left;
}

.back .community-support p:last-child {
  margin-bottom: 0;
}

.back-btn {
 background-color: #bebebe;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 5px;
  align-self: flex-start; /* align left inside card */
}

.back-btn:hover {
  background-color: #8f5487;;

}

.more-btn {
  background-color: #bebebe;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 5px;
  align-self: flex-start; /* align left inside card */
  width: 48%;
  height: 8%;
  margin-left: 15px;
}


.more-btn2{

   background-color: #bebebe;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  align-self: flex-start; /* align left inside card */
  width: 25%;
  margin-top: 21px;
  margin-left: 15px;
}


.more-btn:hover {
  background-color: #8f5487;
}

.more-btn2:hover {
  background-color: #8f5487;
}


.community-support h4 {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
}

.community-support ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.6;
}

.community-support li {
  margin-bottom: 8px;
}


/* ========================================
   5. DONATIONS SECTION
   ======================================== */

.donations {
  padding: 4rem 2rem;
  /* Background image with dark overlay for readability */
  background-image:  url("images/D6.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-position: center 5%; /* Adjust vertical position */
  background-color: #4C2D48;
  color: white;
}

.donations-container {
  max-width: 1000px;
  margin: 0 auto;
  margin-left: calc(55% - 600px); /* Move containers slightly to the left */
  display: flex;
  justify-content: flex-start; /* left-align the column */
}

.donations-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.donation-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white; /* white text inside */
  padding: 1.25rem 1.5rem;
  width: 534px; 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.donation-box:hover {
  transform: translateY(-5px);
}

.donation-box h3 {
  font-size: 27px;
  margin-bottom: 0.5rem;
  font-weight: bold;
  line-height: 1.0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.212);
}







/* Layout the second box with two columns */
.donation-box-bottom {
  display: flex;
  justify-content: space-between;  /* left text + right image */
  align-items: flex-start;
  gap: 20px;
  position: relative;              /* for optional absolute pinning */
}

/* Left column takes available width */
.donation-left {
  flex: 1;
}

/* Right column stays narrow and hugs the bottom-right */
.donation-right {
  display: flex;
  align-items: flex-end;     /* align image to bottom within its column */
}

/* Control the image size */
.donation-badge {
  width: 110px;   
   height: 110px;             
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); /* optional for depth */
}


.donation-box-bottom {
  position: relative;
}
.donation-right {
  position: absolute;
  right: 16px;
  bottom: 16px;
}






.donation-text {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}




.donation-text li {
  margin-bottom: 10px;
}


.donation-box-bottom {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.donation-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
}
.donation-text2{
  font-size: 18px;
  font-weight: 700;
  color:#70406a;
width: 57%;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.37); /* subtle drop shadow */
}

.donation-link{
  color:#70406a;
width: 25%;
font-size: 13px;
margin-top: -10px;
}

/* GivenGain link */
.givengain-link {
  color: #a1058c;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}
.givengain-link:hover {
  color: #56204e;
}

/* Make links inside the donation paragraph purple and add hover state */
.donation-link a {
  color: #988f8f;
  text-decoration: underline;
}
.donation-link a:hover {
  color: #310c2c;
}


























/* ========================================
   6. VOLUNTEER PAGE
   ======================================== */

/* Volunteer Hero Section */
.volunteer-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #333;
  overflow: hidden;
}

.volunteer-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/V4.jpg');
  background-size: cover;
  background-position: 50% 80%;
  opacity: 1;
  z-index: 0;
}

.volunteer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-overlay {
  text-align: center;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.volunteer-main-title {
  font-size: 3.5rem;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  margin-left: -90px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.volunteer-tagline {
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}


 



.volunteer-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Modern CTA Buttons */
.cta-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  
  padding: 12px 30px;
  margin: 0;
  
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: white;
}

.cta-btn.primary {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.cta-btn.primary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 45, 72, 0.4);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-btn.large {
  padding: 0.9rem 1.3rem;
  font-size: 1.1rem;
}

/* Section Titles for Volunteer Page */
.section-title-volunteer {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #4C2D48;
}

.section-title-volunteer.white {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.volunteer-testimonials {
  padding: 6rem 2rem;
  background-color: #4C2D48;
  color: white;
  position: relative;
}

.volunteer-testimonials.rainbow-overlay::before {
  background: linear-gradient(
    45deg,
    rgba(255, 0, 0, 0.12) 0%,
    rgba(255, 165, 0, 0.12) 16.66%,
    rgba(255, 255, 0, 0.12) 33.33%,
    rgba(0, 128, 0, 0.12) 50%,
    rgba(0, 0, 255, 0.12) 66.66%,
    rgba(75, 0, 130, 0.12) 83.33%,
    rgba(238, 130, 238, 0.12) 100%
  );
}

.testimonials-intro {
  text-align: center;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 4rem;
  opacity: 0.9;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Adjust height for Gaku's story */
.testimonial-card.gaku-card {
  align-self: start;
  height: fit-content;
}

/* Pull Quote Card - matches About Us team-quote-block style */
.pull-quote-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  align-self: start;
  transition: all 0.3s ease;
}

.pull-quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.pull-quote-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pull-quote-text {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: white;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  transition: opacity 0.4s ease;
}

.pull-quote-text.quote-fade-out {
  opacity: 0;
}

.pull-quote-attribution {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 1.1rem;
  font-style: normal;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem;
  transition: opacity 0.4s ease;
}

.pull-quote-attribution.quote-fade-out {
  opacity: 0;
}

.quote-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.quote-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}



.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 0;
  overflow: hidden;
  margin-right: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.testimonial-info h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.testimonial-info .role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}



.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  border-left: 4px solid #e2e2e2;
  padding-left: 1.5rem;
}

.testimonial-link {
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  margin-top: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* CTA Section */
.volunteer-cta {
  padding: 6rem 2rem;
  background-color: #4C2D48;
  background-image: url('images/V2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content > p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
margin-top: 1.5rem;
}



.cta-text-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.cta-text-box p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}


/* ========================================
   11. SHARED COMPONENTS & UTILITIES
   ======================================== */

/* Rainbow Overlay Utility */
.rainbow-overlay {
  position: relative;
}

.rainbow-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 0, 0, 0.1) 0%,
    rgba(255, 165, 0, 0.1) 16.66%,
    rgba(255, 255, 0, 0.1) 33.33%,
    rgba(0, 128, 0, 0.1) 50%,
    rgba(0, 0, 255, 0.1) 66.66%,
    rgba(75, 0, 130, 0.1) 83.33%,
    rgba(238, 130, 238, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.rainbow-overlay > * {
  position: relative;
  z-index: 2;
}

/* Text Utilities */
.highlight {
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.37);
}


/* ========================================
   7. CONTACT SECTION
   ======================================== */

.contact {
  padding: 4rem 2rem;
  background-color: #4C2D48; /* purple background to match screenshot */
  color: white;
  position: relative;
}

.contact.rainbow-overlay::before {
  background: linear-gradient(
    135deg,
    rgba(255, 0, 0, 0.15) 0%,
    rgba(255, 165, 0, 0.15) 16.66%,
    rgba(255, 255, 0, 0.15) 33.33%,
    rgba(0, 128, 0, 0.15) 50%,
    rgba(0, 0, 255, 0.15) 66.66%,
    rgba(75, 0, 130, 0.15) 83.33%,
    rgba(238, 130, 238, 0.15) 100%
  );
}

/* ========================================
   8. ABOUT US PAGE
   ======================================== */

.about-us {
  padding: 4rem 2rem;
  background-image: url("images/AB1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #4C2D48;
  color: white;
  min-height: 100vh;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro {
  padding: 4rem 2rem;
  background-color: #4C2D48;
  text-align: center;
  margin-bottom: 0;
}

.intro-content {
  padding: 1.25rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.intro-subheading {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  margin-top: -2.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.intro-paragraph {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.team-section {
  padding: 0 2rem 4rem 2rem;
  background-color: #4C2D48;
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  align-items: stretch;
}

/* Team Quote Block */
.team-quote-block {
  background-color: rgba(165, 165, 165, 0.64);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-quote-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.quote-content {
  text-align: center;
  max-width: 100%;
}

.team-quote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: white;
  font-style: italic;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

.quote-attribution {
  display: block;
  color: #490637;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-style: normal;
  margin-top: 1rem;
}

/* Quote Carousel */
.quote-carousel {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-slide {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  margin: 0;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.quote-slide.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.quote-slide.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}

.team-member {
  background-color: rgba(165, 165, 165, 0.64);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  min-height: 250px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.member-left-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}

.member-quote {
  width: 150px;
  padding: 0.5rem 0.3rem;
}

.member-quote p {
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.1;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.member-photo {
  flex-shrink: 0;
  width: 160px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem;
}

.member-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 1.5rem;
  font-weight: bold;
  
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.member-title {
  font-size: 1.1rem;
  color: #490637;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: -0.40rem;
}

.member-description {
  font-size: 1rem;
  line-height: 1.5;
  color: white;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.member-description-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
}

.member-btn:hover {
  background: #4C2D48;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.read-more-link {
  color: #490637;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.3s ease;
  margin-left: 0.3rem;
  font-size: 0.95rem;
}

.read-more-link:hover {
  color: #924f8d;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Team View More Button */
.team-view-more-container {
  text-align: center;
  margin-top: 3rem;
}

.team-view-more-btn {
  background: rgba(165, 165, 165, 0.8);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-view-more-btn:hover {
  background: #4C2D48;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* About Us Information Sections */
.about-section {
  margin-bottom: 3rem;
}

/* Hero About Section */
.hero-about-section {
  margin-bottom: 4rem;
}

.main-title {
  text-align: center;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.hero-card {
  background-color: rgba(165, 165, 165, 0.941);
  color: white;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281);
}



.founded-badge {
  display: inline-block;
  background: #6B3A68;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.founded-badge:hover {
  background: #8f5487;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.5);
}

.organization-name {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.tagline {
  font-size: 1.2rem;
  color: #6B3A68;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mission-highlight {
  background: rgba(107, 58, 104, 0.15);
  padding: 1.5rem;
  border-radius: 0;
  border-left: 4px solid #6B3A68;
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mission-highlight strong {
  color: #6B3A68;
}

/* Community Challenge Section */
.community-section {
  padding: 4rem 2rem;
  background-color: #4C2D48;
}

.community-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.community-description {
  font-size: 1.2rem;
  color: white;
  padding: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, rgba(127, 7, 31, 0.8), rgba(179, 13, 13, 0.9));
  padding: 1.5rem;
  
  text-align: center;
  box-shadow: 0 6px 16px rgba(220, 20, 60, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: 1rem;
  color: #FFE4E1;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.response-heading {
  color: white;
  text-align: center;
  font-size: 1.8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.solution-highlight {
  padding: 1.2rem;
  border-radius: 0;
  text-align: center;
  margin: 2rem auto 0;
  max-width: 700px;
}

.solution-highlight h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.solution-highlight p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Strategic Objectives Section - Slider */
.objectives-section {
  padding: 4rem 2rem;
  background-image: url("images/AB2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #4C2D48;
}

.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.objectives-slider {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
  margin: 0 1rem;
}

.objectives-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
}

.objective-card {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: rgba(165, 165, 165, 0.941);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.objective-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  
}

.slider-btn {
  background: rgba(133, 129, 132, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(72, 11, 66, 0.4);
  z-index: 10;
}

.slider-btn:hover:not(:disabled) {
  background: #4C2D48;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(76, 7, 68, 0.6);
}

.slider-btn:disabled {
  background: rgba(165, 165, 165, 0.5);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.slider-btn span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4C2D48;
  line-height: 1;
}

.prev-btn {
  margin-right: 0.5rem;
}

.next-btn {
  margin-left: 0.5rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #4C2D48;
  box-shadow: 0 2px 8px rgba(67, 7, 57, 0.5);
}

.slider-dot:hover {
  background: rgba(67, 7, 57, 0.5);
}

.objective-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.objective-card h3 {
  color: #4C2D48;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.objective-card p {
  color: white;
  line-height: 1.6;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}



/* Impact Dashboard Section */
.impact-section {
  margin-bottom: 4rem;
}

.impact-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.impact-stat {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.3));
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.2);
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.big-number {
  font-size: 3rem;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

.stat-description {
  font-size: 1rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.program-card {
  background: rgba(165, 165, 165, 0.7);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.program-card:hover {
  transform: none;
  box-shadow: none;
}

.program-header {
  background: rgba(76, 45, 72, 0.8);
  padding: 1.5rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
}

.program-header h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.program-stat {
  color: #FFD700;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.program-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-item {
  color: white;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item::before {
  content: '✓';
  color: #90EE90;
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.contact-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  
  padding: 2rem;
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.clinic-contact-card {
  grid-column: 1 / -1;
  min-height: auto;
}

.clinic-contact-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.6;
}

.clinic-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}

.contact-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.contact-card  {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.socials a {
  transition: all 0.3s ease;
}

.socials a:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.contact-right .map-wrap {
  background: white;
  padding: 0.5rem;
  flex: 1;
  display: flex;
}

.contact-right .map-wrap iframe {
  flex: 1;
  min-height: 0;
}

.contact-right img {
  display: block;
  width: 100%;
  height: auto;
}


p.icon-line img{
margin: 0;
vertical-align: middle;
width: 32px;
height: 32px;
object-fit: contain;
}

p.icon-line{
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 25px;
  text-shadow: #00000063 1px 1px 3px;
}

p.icon-line a {
  transition: all 0.3s ease;
}

p.icon-line a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}







/* ========================================
   10. RELATED POSTS
   ======================================== */

.related-posts {
  background-color: #4C2D48;
  padding: 5rem 2rem 3rem;
  overflow: hidden;
}

.related-posts .section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.related-posts .section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.related-intro {
  text-align: center;
  font-size: 1.12rem;
  max-width: 680px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.related-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 5rem;
}

.post-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.post-card:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.post-card.animate-related-card {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.post-card.animate-related-card:nth-child(1) {
  transition-delay: 0.15s;
}

.post-card.animate-related-card:nth-child(2) {
  transition-delay: 0.3s;
}

.post-card.animate-related-card:nth-child(3) {
  transition-delay: 0.45s;
}

.post-card.animate-related-card.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.post-card.animate-related-card.animate-in:hover {
  transform: translateY(-6px) scale(1);
}

.post-card-header {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0 0 1rem;
  margin-bottom: 0;
}

.post-icon-label,
.post-icon,
.post-handle {
  display: none;
}

.post-label {
  display: block;
  margin: 0 1.35rem;
  padding: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  border-radius: 0;
  line-height: 1.25;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.post-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -2rem 1.35rem 0;
  padding: 0.45rem 0.75rem;
  background: rgba(76, 45, 72, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  z-index: 1;
}

.post-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
  display: block;
}

.post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1.35rem 1.35rem;
}

.post-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
  flex: 1;
}

.post-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.post-link:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-2px);
}

.post-copy-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  margin-left: 0.3rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.post-copy-toggle:hover {
  color: rgba(255, 255, 255, 0.95);
}

.related-footer {
  margin-top: 2rem;
  text-align: center;
  
}

.social-cta {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.95rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
  
}

.social-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ========================================
   10. FOOTER
   ======================================== */

.footer {
  background-color: #4C2D48;
  padding: 0.5rem;
  color: #fff;
  text-align: center;
}

.footer-sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 1.5rem 0;

}

.footer-content p {
  margin: 0.25rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}



/* ========================================
   13. MEDIA QUERIES & RESPONSIVE DESIGN
   ======================================== */

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  z-index: 1001;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Tablet Styles - 1024px and below */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0.5rem 2rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: #4C2D48;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 120px 0 50px;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .nav-right.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    width: 220px;
    border: 2px solid transparent;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #8f5487;
    transform: translateY(-2px);
  }

  .hero {
    min-height: 70vh;
    padding: 80px 2rem;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-paragraph {
    font-size: 1.1rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile and Small Tablet Styles - 768px and below */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem 1.5rem;
    position: relative;
  }

  .nav-left {
    flex: 1;
  }

  .logo {
    width: 100px;
    height: 75px;
  }

  .company-name {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #4C2D48;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 0 50px;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-right.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    width: 200px;
    border: 2px solid transparent;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #8f5487;
    transform: translateY(-2px);
  }


  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-container {
    padding: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .donate-btn,
  .view-more-btn {
    width: 100%;
    max-width: none;
}


  /* Volunteer Page Responsive */
  .volunteer-hero::before {
    filter: blur(3px);
    margin: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }

  .volunteer-main-title {
    font-size: 2.5rem;
    white-space: normal;
    margin-left: 0;
    
  }

  .volunteer-tagline {
    font-size: 1.1rem;
  }

  .volunteer-subtitle {
    font-size: 1.05rem;
  }

  .hero-overlay {
    max-width: 100%;
    padding: 0 1rem;
  }

  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    margin: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .testimonial-photo {
    margin-right: 0;
    align-self: center;
  }

  .section-title-volunteer {
    font-size: 2.2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content > p {
    font-size: 1.1rem;
  }

  /* Programs responsive adjustments – stack vertically on all mobile/tablet */
  .programs-grid {
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Stack image card above flip panel */
  .program-row {
    flex-direction: column;
    width: 100%;
    box-shadow: none;
    align-items: stretch;
    margin: 0;
    margin-left: -0.8rem;
  }

  .program-row .program-card {
    width: 100%;
    height: auto;
    padding: 1rem;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
  }

  .program-row .program-card img {
    width: 100%;
    max-width: 100%;
    height: 240px;
    margin-top: 0.5rem;
    object-fit: cover;
  }

  .program-row .program-card h3 {
    font-size: 1rem;
    margin-top: 0.75rem;
  }

  .program-extra,
  .program-extra.flip-container {
    width: 100%;
    min-height: 460px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-left: 16px;
  }

  .program-extra .flipper {
    min-height: 460px;
    height: 460px;
  }

  .flip-container {
    width: 100%;
  }

  .flipper {
    height: 460px;
  }

  .front h3 {
    font-size: 1.15rem;
    margin-left: 12px;
  }

  .back .community-support {
    max-width: 100%;
    padding: 0 1rem;
  }

  .more-btn {
    width: auto;
    white-space: nowrap;
  }

  .more-btn2 {
    margin-top: 10px;
    width: auto;
    white-space: nowrap;
  }

  /* Use two columns on tablets (landscape/large portrait) */
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  /* Tablet-specific contact tweaks */
  .contact-card {
    padding: 1.25rem; /* reduce padding for tablet */
  }

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

  p.icon-line {
    font-size: 1rem;
    gap: 12px;
  }

  p.icon-line img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .socials img {
    width: 36px;
    height: 36px;
  }

  .contact-right .map-wrap iframe {
    height: 300px; /* more appropriate height for tablets */
  }

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

  /* About Us responsive adjustments */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .member-left-section {
    align-items: center;
    width: 100%;
  }

  /* Awards Section Responsive - Tablet */
  .awards-timeline {
    gap: 1.5rem;
  }
  
  .award-item {
    gap: 1.5rem;
  }
  
  .award-year-badge {
    min-width: 100px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  
  .award-card {
    padding: 1.5rem;
    gap: 1.2rem;
  }
  
  .award-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .award-org {
    font-size: 1.2rem;
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .awards-view-more-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .member-photo {
    align-self: center;
    width: 130px;
    margin: 0 auto;
  }

  /* Make the back side content scrollable on smaller screens */
  .back {
    overflow: hidden; /* contain the scrollable area */
  }

  .back .community-support {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100% - 72px); /* leave space for Back button */
    padding-right: 0.5rem;
  }


.footer-sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0;
  width: 1px;
}

  /* About Us Responsive - Tablet */
  .main-title {
    font-size: 2.5rem;
  }

  .organization-name {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .objectives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  /* Slider responsive - Tablet */
  .objective-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-height: 260px;
    padding: 1.8rem;
  }

  .slider-btn {
    width: 45px;
    height: 45px;
  }

  .slider-btn span {
    font-size: 1.3rem;
  }

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

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .big-number {
    font-size: 2.5rem;
  }

  /* FIX: Remove translateY from programme rows on mobile.
     translateY on a parent + preserve-3d on a child = GPU compositing
     at fractional pixel positions = blurry text on mobile devices.
     Switch to opacity-only fade so preserve-3d composites cleanly. */
  .program-row.animate-on-scroll {
    transform: none;
    opacity: 0;
    transition: opacity 0.8s ease-out;
  }
  .program-row.animate-on-scroll.animate-in {
    transform: none;
    opacity: 1;
  }

  /* MOBILE FLIP: Replace 3D rotateY with a simple opacity crossfade.
     preserve-3d + rotateY forces GPU sub-pixel compositing = blur.
     Flat opacity fade has zero compositing overhead = crisp text. */
  .flipper {
    transform-style: flat !important;
    -webkit-transform-style: flat !important;
    transform: none !important;
    -webkit-transform: none !important;
    height: auto;
    min-height: 460px;
  }

  .front,
  .back {
    transform: none !important;
    -webkit-transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    transition: opacity 0.4s ease;
  }

  /* Back face hidden by default */
  .program-extra .back {
    opacity: 0;
    pointer-events: none;
  }

  /* Front face hidden when flipped */
  .program-extra.flip-container.flipped .front {
    opacity: 0;
    pointer-events: none;
  }

  /* Back face shown when flipped */
  .program-extra.flip-container.flipped .back {
    opacity: 1;
    pointer-events: auto;
  }

  /* Neutralise the rotateY on the flipper itself */
  .flip-container.flipped .flipper {
    transform: none !important;
    -webkit-transform: none !important;
  }

}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.5rem 1rem;
  }

  .logo {
    width: 80px;
    height: 60px;
  }

  .company-name {
    font-size: 0.7rem;
    line-height: 1.1;
  }

  .nav-right {
    width: 260px;
    padding: 80px 0 40px;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1rem;
    width: 180px;
    padding: 0.8rem 1.5rem;
  }

  .mobile-menu-btn {
    width: 35px;
    height: 35px;
  }

  .hamburger-line {
    width: 20px;
  }

  .hero {
    min-height: 60vh;
    padding: 60px 1rem;
  }

  .hero-container {
    padding: 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-heading {
    font-size: 1.4rem;
  }

  .hero-paragraph {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .donate-btn,
  .view-more-btn {
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    max-width: 280px;
  }

  .contact {
    padding: 1.5rem 1rem;
  }

  /* Volunteer Page Mobile */
  .volunteer-hero::before {
    filter: blur(4px);
    margin: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }

  .volunteer-main-title {
    font-size: clamp(1.4rem, 5vw, 1.7rem);
    white-space: nowrap;
    margin-left: 0;
  }

  .volunteer-tagline {
    font-size: 1.1rem;
    white-space: normal;
    letter-spacing: 0;
     
  }

  .volunteer-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
  }

  .hero-overlay {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .volunteer-container {
    padding: 0 1rem;
  }

  .volunteer-hero {
    min-height: 60vh;
    padding: 2rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .volunteer-opportunities,
  .volunteer-testimonials,
  .volunteer-cta {
    padding: 4rem 1rem;
    
  }

  .section-title-volunteer {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .testimonials-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .testimonials-grid {
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
    
  }

  .testimonial-header {
    gap: 0.8rem;
  }

  .testimonial-photo {
    width: 60px;
    height: 60px;
  }

  .testimonial-info h3 {
    font-size: 1.1rem;
  }

  .testimonial-info .role {
    font-size: 0.85rem;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
    padding-left: 1rem;
  }

  .pull-quote-text {
    font-size: 0.95rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

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

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

  .cta-btn.large {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .contact-info {
    padding: 1rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  /* Programs mobile tweaks for 414px screens – inherits stacking from 768px */
  .programs-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .program-row .program-card img {
    height: 200px;
  }

  .program-extra,
  .program-extra.flip-container {
    min-height: 430px;
  }

  .program-extra .flipper {
    min-height: 430px;
    height: 430px;
  }

  .flip-container {
    width: 100%;
  }

  .flipper {
    height: 430px;
  }

  .front h3 {
    font-size: 1rem;
    margin-left: 10px;
  }

  .more-btn, .more-btn2 {
    width: auto;
    white-space: nowrap;
  }

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

  .donations {
    padding: 3rem 1rem;
  }

  .donations-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .donations-column {
    width: 100%;
  }

  .donation-box {
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1rem;
  }

  .donation-box h3 {
    font-size: 1.2rem;
  }

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

  .givengain-link {
    word-break: break-all;
  }

  .donation-badge {
    width: 90px;
    height: 90px;
  }

  /* About Us mobile adjustments */
  .team-member {
    padding: 1.5rem;
  }

  .member-left-section {
    align-items: center;
    width: 100%;
  }

  .member-photo {
    width: 110px;
    margin: 0 auto;
  }

  .member-name {
    font-size: 1.3rem;
  }

  .member-title {
    font-size: 1rem;
  }

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

  /* Awards Section Responsive - Mobile */
  .awards-section {
    padding: 4rem 1rem;
  }
  
  .awards-description {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  
  .awards-timeline {
    gap: 1rem;
  }
  
  .award-item {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
  
  .award-year-badge {
    min-width: 80px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .award-card {
    padding: 1.2rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .award-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .award-org {
    font-size: 1.1rem;
  }
  
  .award-name {
    font-size: 1rem;
  }
  
  .featured-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .featured-award {
    padding: 2rem 1.5rem;
  }
  
  .featured-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .awards-view-more-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .intro-content {
    padding: 1rem;
  }

  /* Volunteer Stories mobile adjustments */
  .story-card {
    padding: 1.5rem;
  }

  .story-photo {
    width: 120px;
    height: 120px;
  }

  .story-name {
    font-size: 1.4rem;
  }

  .story-title {
    font-size: 1rem;
  }

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

  .intro-paragraph {
    font-size: 1rem;
  }

  /* Mobile: enable scrolling inside the card back so content fits */
  .back {
    overflow: hidden;
  }

  .back .community-support {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100% - 64px);
    padding-right: 0.5rem;
  }

.donation-link{
  color:#70406a;
width: 50%;
font-size: 13px;
margin-top: -10px;
}


}

/* Mobile-specific contact tweaks */
@media (max-width: 480px) {
  .contact-card {
    padding: 1rem;
  }

  .contact-card h3 {
    font-size: 1.05rem;
  }

  p.icon-line {
    font-size: 0.95rem;
    gap: 10px;
  }

  p.icon-line img {
    width: 24px;
    height: 24px;
  }

  .socials img {
    width: 32px;
    height: 32px;
  }

  .contact-right .map-wrap iframe {
    height: 220px; /* reduce map height on small phones */
  }

  /* About Us Responsive - Mobile */
  .main-title {
    font-size: 2rem;
  }

  .hero-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .organization-name {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

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

  /* Slider responsive - Mobile */
  .objective-card {
    flex: 0 0 calc(100% - 1rem);
    min-height: 240px;
    padding: 1.5rem;
  }

  .slider-container {
    margin: 0 -0.5rem;
    overflow: hidden;
  }

  .objectives-slider {
    margin: 0 0.5rem;
    overflow: hidden;
  }

  .objectives-track {
    gap: 1rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    z-index: 10;
    flex-shrink: 0;
    display: none;
  }

  .slider-btn span {
    font-size: 1.2rem;
  }

  .impact-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .big-number {
    font-size: 2rem;
  }

  .programs-grid {
    gap: 1rem;
  }

  .program-card {
    margin: 0 1rem;
  }

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

  .contact-left .icon-line, .contact-left p {
    line-height: 1.3;
  }
  /* Stack contact columns on small phones */
  .contact-container {
    grid-template-columns: 1fr;
  }

  .clinic-contact-grid {
    grid-template-columns: 1fr;
  }

.footer-sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0;
  width: 1px;
}






}

/* ========================================
   12. ANIMATIONS
   ======================================== */

/* Scroll Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.animate-fade-in.animate-in {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.animate-slide-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.animate-slide-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale-up {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.animate-scale-up.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delay for multiple elements */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }

/* ========================================
   9. AWARDS SECTION
   ======================================== */

.awards-section {
  background: url('images/V1.jpg') center/cover;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
  pointer-events: none;
}

.awards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.awards-header {
  text-align: center;
  margin-bottom: 50px;
}

.awards-header .section-title {
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: -1px;
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.awards-intro {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.awards-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
}

.awards-nav-btn {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  width: 55px;
  height: 55px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  z-index: 10;
}

.awards-nav-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.awards-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
}

.awards-slider {
  flex: 1;
  overflow: hidden;
  
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  padding: 25px 0;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 985px;
  margin: 0 auto;
}

.awards-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  padding: 0 20px;
  width: fit-content;
}

.award-slide {
  flex: 0 0 300px;
  background-color: rgba(165, 165, 165, 0.941);
  padding: 35px 25px;
 
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.award-slide.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.award-slide:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  background-color: rgba(175, 175, 175, 0.941);
}

.award-year {
  background: linear-gradient(135deg, #4C2D48, #8f5487);
  color: white;
  padding: 12px 24px;
  
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 6px 20px rgba(76,45,72,0.3);
}

.award-title {
  color: #4a2c4b;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.award-description {
  color: #fffefe;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.awards-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.award-dot {
  width: 14px;
  height: 14px;

  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.award-dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
}

/* Animation Keyframes */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid .post-card:last-child {
    grid-column: 1 / -1;
  }

  .award-slide {
    flex: 0 0 290px;
    padding: 30px 22px;
  }
  
  .awards-slider {
    max-width: 620px;
  }
  
  .awards-header .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .related-posts {
    padding: 4rem 1.25rem 2rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .related-grid .post-card:last-child {
    grid-column: auto;
  }

  .post-label {
    font-size: 1.15rem;
  }

  .awards-section {
    padding: 80px 0;
  }
  
  .awards-slider-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .awards-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 50px;
    height: 50px;
    display: none;
  }
  
  .awards-prev {
    left: 15px;
  }
  
  .awards-next {
    right: 15px;
  }
  
  .award-slide {
    flex: 0 0 280px;
    padding: 30px 25px;
  }
  
  .award-title {
    font-size: 1.25rem;
  }
  
  .awards-header .section-title {
    font-size: 2.2rem;
  }
  
  .awards-intro {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .awards-container {
    padding: 0 1rem;
  }
  
  .award-slide {
    flex: 0 0 260px;
    padding: 25px 20px;
    border-radius: 15px;
  }
  
  .award-title {
    font-size: 1.15rem;
  }
  
  .award-description {
    font-size: 0.9rem;
  }
  
  .award-year {
    padding: 10px 20px;
    font-size: 0.8rem;
    margin-bottom: 25px;
  }
  
  .awards-slider {
    padding: 20px 0;
  }
  
  .awards-track {
    gap: 18px;
    padding: 0 18px;
  }
  
  .awards-header .section-title {
    font-size: 2rem;
  }
}

/* ========================================
   SMALL MOBILE (375px x 667px)
   ======================================== */
@media (max-width: 375px) {

  /* Volunteer Hero */
  .volunteer-hero {
    min-height: auto;
    padding: 3rem 0 2rem 0;
    align-items: center;
  }

  .section-title-volunteer {
    font-size: 1.4rem;
  }

  .testimonials-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .pull-quote-text {
    font-size: 0.95rem;
  }

  .volunteer-container {
    padding: 0 0.75rem;
  }

  .hero-overlay {
    max-width: 100%;
    padding: 0;
  }

  .volunteer-main-title {
    font-size: clamp(1rem, 5vw, 1.4rem);
    white-space: nowrap;
    margin-left: 0;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .volunteer-tagline {
    font-size: 0.9rem;
    white-space: normal;
    margin-bottom: 0.5rem;
    letter-spacing: 0;
  }

  .volunteer-subtitle {
    font-size: 0.88rem;
    letter-spacing: 0;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

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

  .cta-btn {
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    width: 100%;
    text-align: center;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-photo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .testimonial-info h3 {
    font-size: 1rem;
  }

  .testimonial-info .role {
    font-size: 0.8rem;
  }

  .testimonial-card blockquote {
    font-size: 0.88rem;
    padding-left: 0.75rem;
  }

  /* Donations – 375px */
  .donations {
    padding: 2.5rem 0.75rem;
  }

  .donations-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .donations-column {
    width: 100%;
  }

  .donation-box {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 0.875rem;
  }

  .donation-box h3 {
    font-size: 1.1rem;
  }

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

  .givengain-link {
    word-break: break-all;
    font-size: 0.9rem;
  }
}
