/* Base styles */
.container {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  height: auto; /* Updated from 800px to allow image space */
  min-height: 800px;
  z-index: 1;
  margin-bottom: 1%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innerContainer {
  z-index: 1;
  box-shadow: 0 8px 16px rgba(46, 32, 51, 0.4);
  width: 90%;
  height: 90%;
  margin: 15% auto;
  display: flex;
  flex-direction: column; /* Changed so elements stack */
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 40px;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centered */
  justify-content: center;
  margin-top: 40px; /* Space from top */
}

.content h1 {
  text-align: center;
  font-size: 4rem;
  margin: 0 15%;
  margin-bottom: 10px;
}

.content p {
  text-align: justify;
  font-size: medium;
  margin: 0 15%;
}

/* --- NEW IMAGE STYLES --- */
.imageWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0 10%; /* Add padding so left/right aligns nicely */
}

.sectionImage {
  width: 250px;
  height: 250px;
  object-fit: contain; 
  transition: width 0.3s ease, height 0.3s ease;
}
/* ------------------------ */

.cardsOne {
  margin-top: 1%;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
  .container {
      height: auto; 
      width: 100vw;
      padding: 10px; 
      margin: 0 auto;
  }

  .innerContainer {
      margin: 10% auto; 
      width: 100%;
      height: auto; 
  }

  .content {
      width: 90%;
      margin: 2% auto;
      height: auto; 
      text-align: center; 
  }

  .content h1 {
      font-size: 2.5rem; 
      margin: 0 5%;
  }

  .content p {
      font-size: small; 
      margin: 0 5%;
  }

  .cardsOne {
      margin: 2% auto;
      width: 90%;
      text-align: center; 
  }

  /* Responsive Image */
  .sectionImage {
      width: 180px;
      height: 180px;
  }
}

@media screen and (max-width: 480px) {
  /* Mobile Image */
  .sectionImage {
      width: 120px;
      height: 120px;
  }
}