body {
  margin: 0;
  border: 8px solid black;
}

/* 1st */
.apex-modernization-DevelopmentModernization {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("./image/1stpart1.png") no-repeat center center/cover;
  color: #fff;
  gap: 20px;
  flex-wrap: wrap;
}

.apex-left-DevelopmentModernization {
  flex: 1;
  max-width: 45%;
  margin-left: 55px;
}

.apex-left-DevelopmentModernization h1 {
  font-size: 61px;
  display: flex;
  justify-content: center;
}

.apex-right-DevelopmentModernization {
  flex: 1;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-right-DevelopmentModernization img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .apex-modernization-DevelopmentModernization {
    flex-direction: column;
    padding: 60px 5%;
    text-align: center;
  }

  .apex-left-DevelopmentModernization,
  .apex-right-DevelopmentModernization {
    max-width: 100%;
  }

  .apex-left-DevelopmentModernization h1 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .apex-left-DevelopmentModernization h1 {
    font-size: 32px;
  }
}

/* 2nd */
.lowcode-agility-DevelopmentModernization {
  background-color: #f9f9f9;
  padding: 103px 1px;
  text-align: center;
  color: #000;
}

.lowcode-agility-DevelopmentModernization .container-DevelopmentModernization {
  max-width: 900px;
  margin: 0 auto;
}

.lowcode-agility-DevelopmentModernization h2 {
  font-size: 35px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.lowcode-agility-DevelopmentModernization h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 105px;
  background-color: #d6252a;
  margin: 10px auto 0;
}

.lowcode-agility-DevelopmentModernization p {
  font-size: 18px;
  line-height: 1.8;
  color: #111;
  margin-top: 25px;
}

/* 3rd */
.apex-section-3-DevelopmentModernization {
  padding: 60px 20px;
  background: url("./image/3rd.png");
}

.section-title-DevelopmentModernization {
  text-align: center;
  font-size: 49px;
  margin-bottom: 40px;
  color: #fff;
}

.apex-cards-DevelopmentModernization {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1700px;
  margin: 0 auto;
}

.card-DevelopmentModernization {
  /*background: rgb(255 255 255 / 16%);*/
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  /*flex: 1 1 300px;*/
  max-width: 700px;
  min-width: 338px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.card-DevelopmentModernization:hover {
  transform: translateY(-5px);
}

.card-DevelopmentModernization img {
  height: 131px;
  margin-bottom: 15px;
}

.card-DevelopmentModernization h3 {
  color: black;
  margin-bottom: 10px;
  font-size: 30px;
}

.card-DevelopmentModernization p {
  color: black;
  font-size: 20px;
  line-height: 1.5;
}

.full-width-DevelopmentModernization {
  flex: 1 1 100%;
  max-width: 1410px;
}

/* 4th */
.why-apex-og-DevelopmentModernization {
  background: linear-gradient(to right, #f7f7f7, #ffffff);
  background-image: url("./image/22222.png");
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 20px;
}

.container-DevelopmentModernization {
  max-width: 1000px;
  margin: 0 auto;
}

.container-DevelopmentModernization h2 {
  font-size: 35px;
}

.why-apex-DevelopmentModernization h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar-DevelopmentModernization {
  width: 3px;
  height: 44px;
  background-color: #d22b2b;
  display: inline-block;
}

.paragraph-DevelopmentModernization {
  font-size: 18px;
  color: #222;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

/* img */
.small-img-DevelopmentModernization {
  background-image: url("./image/5thsmall.png");
  background-repeat: no-repeat;
  min-height: 60px;
}

/* 5th */
.success-story-DevelopmentModernization {
  background: url("./image/11111.png") no-repeat center center/cover;
  padding: 60px 20px;
  background-position: top;
  color: #fff;
}

.story-container-DevelopmentModernization {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.story-image-DevelopmentModernization {
  flex: 1;
  min-width: 280px;
  max-width: 550px;
}

.story-image-DevelopmentModernization img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.story-content-DevelopmentModernization {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.story-content-DevelopmentModernization h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.story-content-DevelopmentModernization p {
  font-size: 20px;
  line-height: 1.8;
  color: #fff;
}

.line123-DevelopmentModernization {
  border-top: 3px solid #fff;
  width: 38px;
  margin: 25px 0 10px;
}

.read-more-DevelopmentModernization a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

/* ✅ Responsive: Tablet */
@media (max-width: 992px) {
  .story-container-DevelopmentModernization {
    flex-direction: column;
    text-align: center;
  }

  .story-content-DevelopmentModernization h2 {
    font-size: 26px;
  }

  .story-content-DevelopmentModernization p {
    font-size: 18px;
  }

  .line123-DevelopmentModernization {
    margin: 20px auto 10px;
  }

  .read-more-DevelopmentModernization {
    display: flex;
    justify-content: center;
  }
}

/* ✅ Responsive: Mobile */
@media (max-width: 576px) {
  .story-content-DevelopmentModernization h2 {
    font-size: 22px;
  }

  .story-content-DevelopmentModernization p {
    font-size: 16px;
  }

  .read-more-DevelopmentModernization a {
    font-size: 16px;
  }

  .line123-DevelopmentModernization {
    margin: 20px auto 10px;
  }
}

/* 6th */
.call-to-action-DevelopmentModernization {
  background: url("./image/6th.png");
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.cta-container-DevelopmentModernization h2 {
  font-size: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-container-DevelopmentModernization p {
  font-size: 20px;
  margin-bottom: 10px;
}

.cta-button-DevelopmentModernization {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.cta-button-DevelopmentModernization:hover {
  background-color: #fff;
  color: #b31515;
}
