/* GENERAL ABOUT PAGE SECTION STYLING */
main {
  background: linear-gradient(#003366, rgba(35, 131, 226, 0.6), #003366);
  padding: 40px 20px;
  width:100%;
  margin: auto;
  overflow-x: hidden;
}

/* Clean container style for readability */
.section-1, .section-2, .section-4, .section-5, .section-6{
  background: white;
  padding: 40px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  color: #222;
  text-align: left;
}

/* Headings with KOILS purple */
.content h2 {
  color: #4b0082;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Paragraphs and list tweaks */
.content p {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.content ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* WHO WE ARE WITH IMAGE SIDE BY SIDE */
.section-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.section-4 .content {
  flex: 1 1 60%;
}

/* Add photo next to text */
.section-4::after {
  content: "";
  flex: 1 1 35%;
  background-image: url("../css/pictures/WomanInWheelchair.png");
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 12px;
}
/* WHO WE ARE WITH IMAGE SIDE BY SIDE */
.section-6 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.section-6 .content {
  flex: 1 1 60%;
}

/* Add photo next to text */
.section-6::after {
  content: "";
  flex: 1 1 35%;
  background-image: url("../css/pictures/koils_pic2.jpg");
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 12px;
}
.section-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.section-5 .content {
  flex: 1 1 60%;
}
.section-5::after {
  content: "";
  flex: 1 1 35%;
  background-image: url("../css/pictures/koils_pic1.jpg");
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 12px;
}

/* Make mobile friendly */
@media (max-width: 768px) {
  .section-4 {
    flex-direction: column;
  }

  .section-4::after {
    order: -1;
    width: 100%;
    height: 200px;
  }
}