/* General styles */
.container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: auto;
  padding: 1rem 0;
  background-color: #151515;
  color: #fff; /* Added default text color for better readability */
}

.innerContainer {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(46, 32, 51, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically and horizontally */
}

/* Blob styles (unchanged for now) */
.innerContainer::before,
.innerContainer::after,
.blob3 {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: #FEB500;
  opacity: 0.4;
  z-index: -1;
  clip-path: path('M150,15 C210,15 240,55 240,105 C240,155 210,195 150,195 C90,195 60,155 60,105 C60,55 90,15 150,15 Z');
}

.innerContainer::before {
  top: -75px;
  left: -75px;
  transform: scale(1.5);
}

.innerContainer::after {
  bottom: -75px;
  right: -75px;
  transform: scale(1.8);
}

.blob3 {
  top: -75px;
  right: -75px;
  transform: scale(1.2);
}

/* --- NEW IMAGE STYLES --- */
.imageWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  z-index: 2; /* Ensures image sits above the blob backgrounds */
}

.sectionImage {
  width: 250px;
  height: 250px;
  object-fit: contain; /* Keeps aspect ratio */
  transition: width 0.3s ease, height 0.3s ease;
}
/* ------------------------ */

/* Content styles */
.content,
.contentOne {
  width: 80%; /* Adjusted width for better spacing */
  text-align: center;
  margin-bottom: 20px; /* Consistent margin */
  z-index: 2;
}

.content h1,
.contentOne h1 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive font size */
  margin-bottom: 10px;
}

.content p,
.contentOne p {
  font-size: clamp(1rem, 2vw, 1.2rem); /* Responsive font size */
  text-align: justify;
}

/* Mission Section styles */
.missionSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

/* Card Container styles */
.cardContainer {
  display: flex;
  justify-content: space-around; /* Distribute cards evenly */
  width: 100%;
  margin-top: 20px;
}

/* Empowerment Section styles */
.empowermentSection {
  width: 80%;
  text-align: center;
  margin-top: 20px;
}

/* Responsive styles using media queries */
@media (max-width: 768px) {
  .innerContainer {
    width: 95%;
    padding: 10px;
  }

  .content,
  .contentOne {
    width: 90%;
  }

  .cardContainer {
    flex-direction: column; /* Stack cards on smaller screens */
    align-items: center;
  }

  /* Responsive Image */
  .sectionImage {
    width: 180px;
    height: 180px;
  }

  /* Adjust blob sizes and positions as needed for smaller screens */
  .innerContainer::before,
  .innerContainer::after,
  .blob3 {
    width: 150px;
    height: 150px;
  }
}

/* Responsive styles using media queries */
@media (max-width: 768px) {
  .innerContainer {
    width: 95%;
    padding: 10px;
  }

  .content,
  .contentOne {
    width: 90%;
  }

  .cardContainer {
    flex-direction: column; /* Stack cards on smaller screens */
    align-items: center;
  }

  /* --- MODIFIED TO PREVENT INLINE SIZES BREAKING MOBILE --- */
  .sectionImage {
    width: auto !important;
    height: auto !important;
    max-width: 180px; 
  }

  /* Adjust blob sizes and positions as needed for smaller screens */
  .innerContainer::before,
  .innerContainer::after,
  .blob3 {
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .cardContainer {
    /* Adjust card container for tablets */
    justify-content: space-around;
  }
}

@media screen and (max-width: 480px) {
  /* --- MODIFIED TO PREVENT INLINE SIZES BREAKING MOBILE --- */
  .sectionImage {
      max-width: 120px;
  }
}