.container {
  position: relative;
  margin: 0 auto;
  padding: 25px;
  width: 100vw;
  height: auto; 
  min-height: 950px;
  z-index: 1;
  margin-bottom: 5%;
  background-color: #FEB500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.innerContainer {
  z-index: 1;
  box-shadow: 0 -4px 16px rgba(250, 246, 246, 0.6);
  width: 100%;
  max-width: 90%;
  height: auto; 
  padding-bottom: 50px; 
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-top: 2rem; 
}

.content h1 {
  text-align: center;
  font-size: 3.5rem;
  margin: 0;
  margin-bottom: 10px;
}

.content p {
  text-align: justify;
  font-size: large;
  margin: 0;
}

.imageWrapper {
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.sectionImage {
  /* Fixed width and height removed to let inline styles dictate size */
  max-width: 100%; /* Prevents horizontal overflow if admin sizes it too large */
  object-fit: cover; 
  border-radius: 8px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

.cardsOne {
  margin-top: 5%; 
  width: 100%;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .container {
      height: auto;
      padding: 25px;
      margin: 0 auto;
  }

  .innerContainer{
    padding: 25px;
  }

  .content h1 {
      font-size: 1.25rem;
  }

  .content p {
      font-size: 0.875rem;
  }

  .cardsOne {
      margin-top: 10%;
  }

  /* Force responsive sizing on mobile */
  .sectionImage {
    width: auto !important; 
    height: auto !important;
    max-width: 250px;
  }
}

@media (max-width: 480px) {

  .container {
    width: 100vw;
    overflow: hidden;
    height: auto;
    padding: 25px;
    margin: 0 auto;
}

.innerContainer{
  padding: 25px;
  margin: 0 auto;
}

  .content {
      padding: 0 10px;
  }

  .content h1 {
      font-size: 1rem;
  }

  .content p {
      font-size: 0.75rem;
  }
  
  /* Make sure image shrinks on very small screens */
  .sectionImage {
    max-width: 200px;
  }

  .cardsOne{
    margin-bottom: 5%;
  }
}