.section-1,
.protect-child-section {
  background: none;
}

/* body {
  background: url(/assets/svg/waves-with-boat-only.svg), var(--darkblue);
  background-repeat: repeat-x, no-repeat;
  background-size: auto 50vh, cover;
  background-position: center top;
  background-position: center calc(95vh);
} */

.protect-child{
  background: url(/assets/images/hero/save-children-hero-cover.png),
  linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
background-size: 48% auto, 100% 100%;
background-position: calc(100% + 85px) calc(0% - 150px), center center;
/* background-position: calc(100% + 85px) calc(100% - 25px), center center; */
background-repeat: no-repeat;
}


.protect-family{
  background: url(/assets/images/hero/save-families-hero-cover.png),
  linear-gradient(to bottom, #00172a 0%, #001f3c 50%, var(--darkblue) 100%);
background-size: 48% auto, 100% 100%;
background-position: calc(100% + 85px) calc(0% - 150px), center center;
background-repeat: no-repeat;
}


.protect-child-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: url(/assets/svg/waves-with-boat-only1.svg), var(--darkblue);
  background-repeat: repeat-x, no-repeat;
  background-size: auto 50vh, cover;
  background-position: center top;
}


.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(60px, 7.8vw, 150px);
  margin: clamp(60px, 7.8vw, 150px) 0 clamp(20px, 2.6vw, 50px);
}

.card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.card-title {
  font-weight: 600;
}

/* Placeholder images with colors */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 35px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
}


/* Responsive adjustments */

@media (max-width: 1024px) {

  /* body {
    background-size: auto 30vh, contain;
    background-position: center calc(90vh);
  } */

  .protect-child-section{
    background-size: auto 30vh, contain;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protect-child{
    background-size: 70% auto, 100% 100%;
    background-position: calc(100% + 75px) calc(0% - -35px), center center;
  }
  
  .protect-family{
    background-size: 70% auto, 100% 100%;
    background-position: calc(100% + 75px) calc(0% - -35px), center center;
  }

}

@media (max-width: 768px) {
  /* body {
    background-size: auto 25vh, contain;
    background-position: center calc(85vh);
  } */


  .protect-child-section{
    background-size: auto 25vh, contain;
  }
}

@media (max-width: 480px) {

  .cards-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .image-placeholder img {
    border-radius: 15px;
  }

  .protect-child{ 
    background-size: 70% auto, 100% 100%;
    background-position: calc(100% + 40px) calc(0% - -35px), center center;
  
    }
    
    .protect-family{
      background-size: 70% auto, 100% 100%;
      background-position: calc(100% + 40px) calc(0% - -35px), center center;
    }
}


