.our-story-section {
  background-color: #f5f6f6;
  padding: 60px 40px;
  font-family: 'Poppins';
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 8%;
  /* padding-bottom: 20px; */
}

.our-story-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* max-width: 1200px; */
  margin: 0 auto;
  gap: 40px;
}

.our-story-text {
  flex: 2;
  color: #1e1e1e;
  margin-top: 2%;
}

.our-story-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.our-story-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.our-story-image {
  flex: 1;
  text-align: center;
  margin-top: 2%;
}

.our-story-image img {
  width: 100%;
  /* max-width: 250px; */
  height: 400px;
  /* border: 4px solid #f26c1f; /* orange border */
  /* border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); */

}

.divider {
  border: none;
  border-top: 2px solid #EF7F1B;
  width: 82%;
  margin: auto;
  z-index: 5;

  /* margin: 5px auto; */
}

.mission-section {
  background-image: url(Assets/images/background.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-content {
  position: relative;
  margin: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  height: 90px;
  width: 980px;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
}

/* Snake SVG injected by JS sits inside the box */
.mission-content .snake-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.mission-content .snake-rect {
  fill: none;
  stroke: #ff8c00;
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px #ff6600) drop-shadow(0 0 10px #ff8c00);
}

.mission-content p {
  position: relative;
  margin-top: 18px;
  color: white;
  font-size: 30px;
  z-index: 2;
}

/* our vision and mission */
.vision-mission-section {
  background-color: #f5f6f6;
  padding: 20px 120px;
  font-family: 'Poppins';
}

.vision-mission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.vision-mission-row.reverse {
  flex-direction: row-reverse;
}

.vision-mission-text {
  flex: 1;
}

.vision-mission-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 16px;
}

.vision-mission-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.vision-mission-image {
  flex: 1;
  max-width: 460px;
}

.vision-mission-image img {
  width: 100%;
  /* border: 4px solid #f26c1f; */
  border-radius: 14px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}



/* Tablets and Small Laptops (769px to 1199px) */
@media (max-width: 1199px) {
  .our-story-section {
    padding: 40px 40px;
  }

  .vision-mission-section {
    padding: 40px 40px;
  }

  .vision-mission-row {
    flex-direction: column;
    text-align: center;
  }

  .vision-mission-text {
    padding-top: 20px;
    text-align: left;
  }

  .vision-mission-row.reverse {
    flex-direction: column;
  }

  .our-story-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .our-story-text {
    text-align: left;
    width: 100%;
  }

  .our-story-image {
    margin-top: 30px;
  }

  .our-story-image img,
  .vision-mission-image img {
    max-width: 280px;
  }
}

/* =========================
   TABLET & MOBILE
========================= */

@media (max-width: 768px) {

  /* OUR STORY */

  .our-story-section {
    padding: 30px 20px;
    margin-top: 30px;
  }

  .our-story-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .our-story-text {
    margin-top: 0;
  }

  .our-story-text h2 {
    font-size: 24px;
  }

  .our-story-text p {
    font-size: 14px;
    text-align: center;
    line-height: 1.7;
  }

  .our-story-image {
    margin-top: 0;
  }

  .our-story-image img {
    max-width: 100%;
    height: auto;
  }

  .divider {
    width: 100%;
  }

  /* MISSION SECTION */

  .mission-section {
    height: auto;
    padding: 30px 16px;
  }

  .mission-content {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .mission-content p {
    margin-top: 0;
    font-size: 20px;
    line-height: 1.5;
  }

  /* VISION / MISSION */

  .vision-mission-section {
    padding: 30px 20px;
  }

  .vision-mission-row,
  .vision-mission-row.reverse {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .vision-mission-text h2 {
    font-size: 24px;
  }

  .vision-mission-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  .vision-mission-image {
    max-width: 100%;
  }

  .vision-mission-image img {
    width: 100%;
    height: auto;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .our-story-text h2,
  .vision-mission-text h2 {
    font-size: 22px;
    text-align: center;
  }

  .our-story-text p,
  .vision-mission-text p {
    font-size: 13px;
  }

  .mission-content p {
    font-size: 17px;
  }
}