.container {
  position: relative;
  margin: 0 auto;
  padding: 25px;
  width: 100vw;
  height: auto;
  min-height: 950px;
  z-index: 1;
  margin-bottom: 5%;
  background-color: #f4f4f4; /* Using a different color than Section Two for distinction */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.innerContainer {
  z-index: 1;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  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;
  background-color: white;
  border-radius: 8px;
}

.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;
}

/* --- IMAGE STYLES --- */
.imageWrapper {
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center; /* Default fallback */
  width: 100%;
}

.sectionImage {
  /* Fixed width/height removed to allow dynamic inline styling */
  max-width: 100%; /* Prevents overflow if admin sets width too high */
  object-fit: contain;
  border-radius: 8px;
}

.cardsOne {
  margin-top: 5%;
  width: 100%;
}

/* Media Queries */
@media (max-width: 768px) {
  .container {
      height: auto;
      padding: 25px;
  }

  .innerContainer{
    padding: 25px;
  }

  .content h1 {
      font-size: 1.5rem;
  }

  .cardsOne {
      margin-top: 10%;
  }

  .sectionImage {
    /* On mobile, force auto sizes so it scales properly */
    width: auto !important; 
    height: auto !important;
    max-width: 200px; /* Or keep a max limit for small screens */
  }
}

@media (max-width: 480px) {
  .container {
    width: 100vw;
    padding: 25px;
  }

  .innerContainer{
    padding: 15px;
  }

  .content h1 {
      font-size: 1.25rem;
  }
  
  .sectionImage {
    max-width: 150px;
  }

  .cardsOne{
    margin-bottom: 5%;
  }
}