* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  /* font-family: Arial, sans-serif; */
  /* font-family: 'Meteo', sans-serif; */
}

/* 1st */
.apex-modernization {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("./images/1stpart1.png") no-repeat center center/cover;
  color: #fff;
  gap: 20px;
  flex-wrap: wrap;
}

.apex-left {
  flex: 1;
  max-width: 45%;
  margin-left: 55px;
}

.apex-left h1 {
  font-size: 61px;
  display: flex;
  justify-content: center;
}

.apex-right {
  flex: 1;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apex-right img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .apex-modernization {
    flex-direction: column;
    padding: 60px 5%;
    text-align: center;
  }

  .apex-left,
  .apex-right {
    max-width: 100%;
  }

  .apex-left h1 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .apex-left h1 {
    font-size: 32px;
  }
}

/* --------------------------------------------------------------------------- */
.Modernization-Second {
  max-width: 1073px;
  margin: 0 auto;
  text-align: center;
  padding: 103px 1px;

}

.separator {
  width: 80px;
  height: 3px;
  background-color: red;
  margin: 15px auto;
}

.Modernization-Second h2 {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}

.Modernization-Second p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  max-width: 1015px;
  margin: 0 auto;
}
/* -------------------------------------------3rd------------------------------------------------------------------ */

.Modernization-Third {
  width: 100%;
  background-image: url(./images/3rd-background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  display: flex;
  align-items: center;
}

.Modernization-Main {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
  gap: 40px;
  width: 100%;
}

.content {
  flex: 1;
  max-width: 691px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content h2 {
  font-size: 35px;
  margin-bottom: 25px;
  color: white;
  font-weight: bold;
}

.text-block {
  display: flex;
  align-items: flex-start;
}

.red-line {
  width: 5px;
  height: 59px;
  background-color: #ff0000;
  margin-right: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.text-block p {
  font-size: 18px;
  line-height: 1.7;
  color: white;
}

.Third-image {
  flex: 1;
  max-width: 600px;
}

.Third-image img {
  width: 100%;
  height: auto;
  max-width: 754px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1024px) {
  .Modernization-Main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .content {
    width: 100%;
    max-width: fit-content;
  }

  .content h2 {
    font-size: 32px;
  }

  .Third-image {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .Modernization-Third {
    padding: 40px 15px;
    min-height: auto;
  }

  .content h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .text-block p {
    font-size: 16px;
  }

  .red-line {
    margin-right: 10px;
    height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .Modernization-Third {
    padding: 30px 10px;
  }

  .content h2 {
    font-size: 24px;
  }

  .text-block p {
    font-size: 15px;
  }

  .red-line {
    width: 5px;
    height: 35px;
  }
}

/* -----------------------------------------4th---------------------------------------------------------------------------------- */

.modernization-processfull {
  background: url("./images/image5.png") no-repeat center center/cover;
  padding: 60px 20px 0px;
  background-position: bottom;
}
.modernization-process {
  text-align: center;
  padding: 57px 20px;
  position: relative;
  background-color: #fff;
  font-family: "Segoe UI", sans-serif;
}

.modernization-process h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.modernization-process .underline {
  width: 252px;
  height: 3px;
  background-color: red;
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

.modernization-process p {
  font-size: 16px;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

#Migration-FullProcess {
  width: 100%;
  display: flex;
  justify-content: center;
  /* padding: 40px 20px; */
  padding: 0px 20px;
  flex-wrap: wrap;
  padding-bottom: 61px;
}

.card {
  width: 389px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background-color: transparent;
  border: 0px ;
}

.card-content {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.red-line {
  width: 4px;
  height: 43px;
  background-color: red;
  margin-right: 10px;
  border-radius: 4px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
  margin: 0;
}

.card p {
  height: 160px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  text-align: left;
  margin: 10px 0 15px;
}

.card img {
  height: 182px;
  width: 100%;
  border-radius: 12px;
}

.divider {
  width: 1px;
  background-color: #ccc;
  height: auto;
}
.ring {
  border: 50px solid pink;
}

@media (max-width: 1024px) {
  #Migration-FullProcess {
    flex-direction: column;
    align-items: center;
  }

  .divider {
    display: none;
  }

  .card {
    width: 90%;
    max-width: 500px;
  }
}

.migration-bottom-text {
  margin: 30px auto;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.migration-bottom-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}
/* ---------------------------------------------------------------why------------------------------------------------------------------- */
.why-modernize {
  /* background-color: #E32124; */
  /* background-image: url('./image4.png');
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover; */
  background: url("./images/image4.png") no-repeat center center/cover;
  padding: 60px 20px;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  color: #fff;
  /* color: white; */
  background-position: inherit;
  padding: 60px 30px;
  text-align: center;
}

.why-modernize h2 {
  margin-top: 37px;
  font-size: 49px;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.why-modernize h2::after {
  content: "";
  display: block;
  width: 107px;
  height: 3px;
  background-color: white;
  margin: 10px auto 0;
}
.sushank002 p {
  font-size: 18px;
}
.why-columns {
  display: flex;
  justify-content: center;
  gap: 199px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 18px;
  line-height: 1.6;
}

.column-below {
  background-color: #e52427;
  padding: 20px;
  text-align: center;
}

.column-below p {
  width: 67%;
  text-align: left;
  color: white;
  font-size: 18px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .why-columns {
    flex-direction: column;
    align-items: center;
  }

  .column {
    max-width: 100%;
  }

  .why-modernize h2 {
    font-size: 36px;
    margin-top: 68px;
  }

  .why-item h3 {
    font-size: 20px;
  }

  .why-item p {
    font-size: 16px;
  }
}
/* ----------------------------------------------------------------------------last--------------------------------------------- */
.cta-section {
  background-image: url("./images/last.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.cta-content {
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 35px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cta-button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  border: 2px solid white;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover {
  background-color: white;
  color: #7a1212;
}

@media (max-width: 600px) {
  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-button {
    padding: 10px 22px;
    font-size: 16px;
  }
}

/* ------------------------------------ */

/* 4th */
.why-apex-og {
  background-image: url("./images/image-7.png");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 6%;
}
.container h2 {
  font-size: 35px;
}
.why-apex h2 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bar {
  width: 4px;
  height: 41px;
  background-color: #d22b2b;
  display: inline-block;
}

.paragraph {
  font-size: 18px;
  color: #222;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}
/* img */
/* .small-img{
    background-image: url('./image/5thsmall.png');
    background-repeat: no-repeat;
    min-height: 60px;
  } */
/* 5th */
.success-story {
  background: url("./images/5th.png") no-repeat center center/cover;
  padding: 60px 20px;
  color: #fff;
  background-position: top;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.story-image {
  flex: 1;
  min-width: 280px;
  max-width: 550px;
}

.story-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.story-content {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.story-content h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.story-content p {
  font-size: 20px;
  line-height: 1.8;
  color: #fff;
}

.line123 {
  border-top: 3px solid #fff;
  width: 38px;
  margin: 25px 0 10px;
}

.read-more a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

/* ✅ Responsive: Tablet */
@media (max-width: 992px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }

  .story-content h2 {
    font-size: 26px;
  }

  .story-content p {
    font-size: 18px;
  }

  .line123 {
    margin: 20px auto 10px;
  }

  .read-more {
    display: flex;
    justify-content: center;
  }
}

/* ✅ Responsive: Mobile */
@media (max-width: 576px) {
  .story-content h2 {
    font-size: 22px;
  }

  .story-content p {
    font-size: 16px;
  }

  .read-more a {
    font-size: 16px;
  }

  .line123 {
    margin: 20px auto 10px;
  }
}
