/* =========================
   Header Section
========================= */
.header {
  min-height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url("../images/home-1.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
  padding-bottom: 80px;
}

.header-content {
  max-width: 2000px;
  margin: 0 auto;
}

.header h1 {
  font-size: clamp(1.25rem, 2.25vw, 2rem); 
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.typing {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  border-right: 3px solid #ff4081;
  width: 0;
  animation: typing 5s cubic-bezier(0.4, 0, 0.2, 1) forwards, 
             blink 0.8s ease-in-out infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #ff4081; }
}

@media (max-width: 800px) {
  .typing {
    white-space: normal; 
    width: 100%; 
    border-right: none; 
    animation: none; 
  }
}

.header .container {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-shape-divider-bottom-1731461208 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  filter: drop-shadow(0px -2px 3px rgba(0,0,0,0.1));
}

.custom-shape-divider-bottom-1731461208 svg {
  position: relative;
  display: block;
  width: calc(140% + 1.3px);
  height: 93px;
  transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1731461208 .shape-fill {
  fill: #ffffff;
}

/* =========================
   Mission Section
========================= */
.mission-section {
  padding: 100px 0;
  margin-top: -1px;
  background-color: #fff;
  position: relative;
}

.mission-title {
  color: #e03272; 
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.title-highlight {
  color: #2c3e50; 
}

.mission-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #e03272;
  border-radius: 2px;
}

.mission-text {
  color: #333333;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.mission-image-wrapper {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  transition: all 0.5s ease;
  display: inline-block;
  margin: 15px;
}

.mission-image-wrapper img {
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  border-radius: 8px;
  box-shadow: 0 0 5px 0 rgba(224, 50, 114, 0.3);
}

.mission-image-wrapper:hover img {
  transform: scale(1.01);
  box-shadow: 0 0 30px 10px rgba(224, 50, 114, 0.4) !important;
}

.explore-btn {
  color: #fff;
  background-color: #e03272;
  font-weight: 600;
  padding: 12px 30px;
  transition: all 0.3s ease;
  font-size: 1rem;
  border-radius: 30px;
  border: 2px solid #e03272;
  box-shadow: 0 4px 15px rgba(224, 50, 114, 0.2);
  display: inline-block;
  text-decoration: none;
}

.explore-btn:hover {
  background-color: transparent;
  color: #e03272;
  transform: translateY(-3px);
}

/* =========================
   Program Section
========================= */
.program-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.program-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  padding-bottom: 50px;
  text-align: center;
  color: #555; 
  background-clip: text; 
  -webkit-background-clip: text; 
  text-shadow: 2px 2px 4px rgba(50, 50, 50, 0.3); 
  animation: fadeIn 1.5s ease-in-out, glow 2s infinite alternate;
}

#programCarousel {
  max-width: 1300px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: row;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  min-height: 420px; 
  margin-bottom: 40px;
}

.card:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-img-container {
  flex: 0 0 40%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-top {
  max-width: 100%;
  max-height: 350px; 
  object-fit: contain;
  border-radius: 10px;
}

.card-body {
  flex: 0 0 60%;
  padding: 4rem 4rem 4rem 1.5rem; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-weight: 700;
  margin-bottom: 2rem;
  color: #333;
  font-size: 2.5rem; 
}

.card-text {
  font-size: 1.4rem; 
  color: #555;
  line-height: 1.8;
}

.carousel-arrow {
  background-color: #e03272;
  border-radius: 50%;
  width: 70px; 
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(224, 50, 114, 0.3);
  transition: all 0.2s ease;
  margin: 0 20px; 
}

.carousel-arrow:hover {
  transform: scale(1.1);
  background-color: #ff4081;
}

.custom-icon {
  color: white;
  font-size: 35px; 
}

.col-md-11 {
  max-width: 98%;
}

@media (max-width: 1200px) {
  .card {
    min-height: 380px;
  }
  
  .card-img-top {
    max-height: 300px;
  }
  
  .card-title {
    font-size: 2.2rem;
  }
  
  .card-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .card {
    min-height: 340px;
  }
  
  .card-img-top {
    max-height: 260px;
  }
  
  .card-title {
    font-size: 2rem;
  }
  
  .card-text {
    font-size: 1.2rem;
  }
  
  .card-body {
    padding: 3rem 3rem 3rem 1rem;
  }
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    min-height: auto;
  }
  
  .card-img-container {
    flex: 0 0 auto;
    padding: 30px 30px 0 30px;
  }
  
  .card-img-top {
    max-height: 250px;
  }
  
  .card-body {
    flex: 1;
    padding: 2.5rem; 
  }
}

/* =========================
   Video Section
========================= */
.content-wrapper {
  min-height: 60vh;
  background-color: #111;
  display: flex;
  align-items: center;
  padding: 0;
}

.video-title {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  position: relative;
  color: #ff4081;
  margin-bottom: 1.5rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.video-container iframe, .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  color: white;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
}

.success-stories .content-wrapper:nth-child(odd) {
  background-color: #0a0a0a;
}

.success-stories .content-wrapper:nth-child(even) {
  background-color: #151515;
}

/* =========================
   Donation Section
========================= */
.donate {
  background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
  color: white;
  min-height: 40vh;
  margin: 0;
  padding: 100px 0;
  text-align: center;
}

.title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background-color: #ff3d7f;
  border-radius: 3px;
}

.donate p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.donation-option {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.donation-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.btn-donate {
  background-color: #ff3d7f;
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(255, 61, 127, 0.3);
  transition: all 0.3s ease;
}

.btn-donate:hover {
  background-color: #ff6b9f;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(255, 61, 127, 0.4);
}

/* =========================
   Button Styles
========================= */
.btn-pink {
  background-color: #ff007f;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
  transition: all 0.3s ease;
}

.btn-pink:hover {
  background-color: #e6006f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.3);
}

.btn-outline-pink {
  color: #ff007f;
  border: 2px solid #ff007f;
  background-color: transparent;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-pink:hover {
  background-color: #ff007f;
  color: #fff;
  transform: translateY(-3px);
}

/* =========================
   Responsive Adjustments
========================= */
@media (max-width: 991px) {
  .mission-section, .program-section {
    padding: 60px 0;
  }
  
  .donate {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .header h1 {
    font-size: 2.2rem;
  }
  
  .mission-title, .program-title, .video-title {
    font-size: 2.2rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .custom-icon {
    font-size: 20px;
  }
  
  .content-wrapper {
    min-height: auto;
  }
  
  .text-container {
    padding: 40px 20px;
  }
}
