/* Base Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Libre Baskerville', serif;
  color: #ffffff;
  background-color: #f5f5f5;
}

/* =========================================
   Hero Section
========================================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-subtitle {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff; /* or brand-appropriate color */
}

.charity-water {
  font-weight: 700;
  color: #00B4D8; /* charity: water blue */
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: auto;
  z-index: 3;

  background-color: rgba(255, 255, 255, 0.5); /* semi-transparent white */
  border-radius: 50%; /* makes it circular */
  padding: 10px; /* spacing around the logo inside the circle */
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 5%;
  max-width: 600px;
  z-index: 3;
  color: #ffffff;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.hero-text p {
  margin-top: 1rem;
  font-size: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  max-width: 400px;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
}

/* =========================================
   Impact Section
========================================= */

.impact {
  position: relative;
  background: #f5f5f5;
  color: #023047;
  padding: 4rem 1rem;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 119, 182, 0.1), transparent 70%);
  opacity: 0.3;
  z-index: 1;
}

.impact::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 300px;
  height: 300px;
  background: url('img/wave-pattern.svg') no-repeat center/contain;
  opacity: 0.05;
  z-index: 1;
}

.impact-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.impact-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0077B6;
}

.impact-content .intro {
  font-size: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  margin-bottom: 2rem;
  color: #555;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: #00B4D8;
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: #023047;
  padding: 1.5rem;
  border-left: 5px solid #0077B6;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.testimonial p {
  margin: 0 0 0.75rem;
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial span {
  font-weight: 600;
  color: #0077B6;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .testimonials {
    flex-direction: row;
    justify-content: center;
  }
  .testimonial {
    flex: 1;
    margin: 0 1rem;
  }
}

/* Subtle Water Ripple Effect in the Impact Section */
.impact {
  background: radial-gradient(circle at center, rgba(0, 119, 182, 0.1) 0%, transparent 70%);
  background-color: #f5f5f5;
  color: #023047;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 119, 182, 0.07) 0%, transparent 60%);
  animation: ripple 10s infinite alternate;
  z-index: 0;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.impact-content {
  position: relative;
  z-index: 1; /* Keep text above ripple effect */
}

/* =========================================
   Stories of Change in Action Section
========================================= */
.stories-of-change {
  background: linear-gradient(135deg, #0077B6, #00B4D8);
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
}

.section-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-content .intro {
  font-size: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  margin-bottom: 2rem;
  color: #d9f1f9;
}

.stories-videos {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.story-video {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.story p {
  margin: 1rem 0;
  color: #f0f0f0;
}

.story .button {
  display: inline-block;
  background-color: #023047;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.story .button:hover {
  background-color: #035d8f;
}

@media (min-width: 768px) {
  .stories-videos {
    flex-direction: row;
    gap: 2rem;
  }

  .story {
    flex: 1;
  }
}

/* =========================================
   Get Involved Section
========================================= */

.get-involved {
  background: linear-gradient(135deg, #f0f8ff, #e0f5ff);
  padding: 4rem 1rem;
  color: #023047;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.get-involved::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 119, 182, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.get-involved-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* keep text above background effect */
}

.get-involved h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  color: #0077B6;
  margin-bottom: 0.5rem;
}

.get-involved .intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #555;
  margin-bottom: 2rem;
}

.get-involved-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.get-involved-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.get-involved-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.get-involved-item .icon {
  font-size: 40px;
  margin-bottom: 1rem;
  color: #0077B6;
}

.get-involved-item h3 {
  font-family: 'Libre Baskerville', serif;
  color: #0077B6;
  margin-bottom: 0.5rem;
}

.get-involved-item p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.get-involved-item .btn {
  background: #00B4D8;
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.get-involved-item .btn:hover {
  background: #0077B6;
}

@media (min-width: 768px) {
  .get-involved-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* =========================================
   Donate Section
========================================= */

.donate {
  background: linear-gradient(135deg, #0077B6, #00B4D8);
  color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.donate-content {
  max-width: 500px;
  margin: 0 auto;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 2rem;
  color: #023047;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.donate-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0077B6;
}

.donate-content .intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #555;
  margin-bottom: 2rem;
}

.donate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.donate-info h3 {
  margin: 0;
  color: #023047;
  font-size: 1.2rem;
}

.donate-info p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #555;
}

.raised {
  font-weight: bold;
  color: #0077B6;
}

.goal {
  font-weight: 600;
  color: #555;
}

.progress-bar {
  background: #e0e0e0;
  height: 6px;
  border-radius: 3px;
  width: 100%;
  margin-top: 0.5rem;
}

.progress-fill {
  background: #00B4D8;
  width: 0%;
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.donate-icon .material-icons {
  font-size: 2rem;
  color: #00B4D8;
}

.donate-btn {
  display: inline-block;
  background: #0077B6;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.donate-btn:hover {
  background: #023047;
}

/* =========================================
   Video Section
========================================= */

.video-section {
  position: relative;
  height: 50vh; 
  overflow: hidden;
}

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

/* =========================================
   Mission Section
========================================= */

.mission-section {
  position: relative;
  background: linear-gradient(135deg, #f0f8ff, #e0f5ff);
  color: #023047;
  margin: 0;
  padding: 4rem 1rem;
  overflow: hidden;
}

.mission-section .wave-divider-top,
.mission-section .wave-divider-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.mission-section .wave-divider-top {
  top: 0;
}

.mission-section .wave-divider-bottom {
  bottom: 0;
}

.mission-section .wave-divider-top svg,
.mission-section .wave-divider-bottom svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mission-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mission-item h3 {
  color: #0077B6;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 0.5rem;
}

.mission-item p {
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #333;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .mission-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
  }

  .mission-item {
    flex: 1;
  }
}

/* =========================================
   Contact Section
========================================= */

.contact-section {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;
  background: #012a3c;
  color: #ffffff;
  padding: 3rem 2rem; /* added horizontal padding for centering */
}

.contact-content {
  max-width: 600px;
  flex: 1;
  margin-right: 2rem; /* add spacing to the right */
}

.contact-content h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  color: #00b4d8;
  margin-bottom: 1rem;
}

.contact-content p {
  font-size: 1rem;
  color: #b0c4de;
  margin-bottom: 2rem;
}

.contact-content ul {
  list-style: none;
  padding: 0;
}

.contact-content li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-content i.material-icons {
  margin-right: 0.5rem;
  color: #00b4d8;
}

.contact-content a {
  color: #00b4d8;
  text-decoration: none;
  margin-left: 0.5rem;
}

.contact-image img {
  max-width: 150px; /* bigger size */
  height: auto;
  filter: invert(1);
  margin-left: 1rem; /* reduce the gap */
}

