/* =========================
   WHO WE HELP MODULE
   ========================= */

/* SAFETY RESET: Ensures padding doesn't add to the width causing overflow */
.who-we-help-section,
.who-we-help-section * {
  box-sizing: border-box;
}

.who-we-help-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #FFFFFF;
  
  /* DEFAULT PADDING (Fallback) */
  padding: 80px 20px 100px; 
}

/* LAYER 1: Background Image (17% Opacity) */
.who-we-help-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-wwh-desktop);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.17; 
  z-index: 0;
  pointer-events: none;
}

/* LAYER 2: Color Overlay (Hard Light) */
.who-we-help-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #E5CCCC; 
  mix-blend-mode: hard-light; 
  z-index: 1;
  pointer-events: none;
}

/* LAYER 3: Content Container */
.wwh-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%; /* Ensures container fills the space */
}

/* --- Header Section --- */

.wwh-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 5px; /* Safety gutter for mobile text */
}

.wwh-leading-text {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  color: #393939;
  margin-bottom: 30px;
}

.wwh-support-text {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  color: #393939;
  margin-bottom: 100px;
}

.wwh-main-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 50px;
  line-height: 60px;
  color: #073345; 
  margin: 0;
  font-weight: 400;
}

/* --- Cards Wrapper --- */

.wwh-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- Individual Card --- */

.wwh-card {
  background: linear-gradient(180deg, #F4F6F7 0%, #E1EDF6 100%);
  border-radius: 30px;
  padding: 50px 40px 40px;
  text-align: center;
  flex: 1;
  min-width: 300px; /* Fine for desktop */
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-top: 30px;
}

/* --- Icon Styling --- */

.wwh-card-icon {
  width: 80px;
  height: 80px;
  margin: -90px auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wwh-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Card Typography --- */

.wwh-card h3 {
  font-family: 'Raleway', sans-serif;
  color: #073345;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
}

.wwh-card-body {
  font-family: 'Outfit', sans-serif;
  color: #2B4048;
  font-size: 18px;
  font-weight: 400;
  line-height: 35px;
}

.wwh-card-body ul, 
.wwh-card-body ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wwh-card-body p {
  margin-bottom: 10px;
}

/* =========================
   MOBILE RESPONSIVENESS
   ========================= */

@media (max-width: 767px) {
  .who-we-help-section::before {
    background-image: var(--bg-wwh-mobile) !important;
  }
  
  /* DEFAULT MOBILE PADDING (Fallback) */
  .who-we-help-section {
    padding: 60px 20px;
  }
  
  .wwh-leading-text {
    font-size: 20px;
    line-height: 30px;
  }
  .wwh-support-text {
  font-size: 15px;
  line-height: 25px;
  margin-bottom: 100px;
  }
  
  .wwh-main-headline {
    font-size: 36px;
    line-height: 1.2;
  }
  .wwh-card h3 {
  font-size: 20px;
    line-height 30px;
  font-weight: 500;
  margin-bottom: 20px;
  }
  .wwh-card-body li {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
    padding-bottom: 10px;
}

  .wwh-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  /* FIXED: Adjusted card sizing for mobile screens */
  .wwh-card {
    width: 100%;
    min-width: 0; /* Allows card to shrink below 300px if needed */
    padding: 50px 20px 40px; /* Reduced side padding (was 40px) */
    margin-top: 50px;
  }
}