
.infra-main-container {
  padding: 50px 20px;
  background: linear-gradient(to bottom, #f5f5f5, #ffffff);
}
.infra-main-container .head {
  text-align: center;
  width: 80%;
  margin: 0 auto;
}



/* Infra box container */
.infra-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 5rem auto;
}

.infra-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  margin-top: 2rem;
}

/* Image styling */
.left-img img,
.right-img img  {
  object-fit: cover;
  display: block;
  width: 500px;
  height: 500px;
}

.testing img {
  object-fit: contain;
}


/* Content styling */
.right-content,
.left-content {
  flex: 2;
  padding: 20px;
  text-align: left;
}

h2 {
  font-size: 3.2rem;
  color: #ad4635;
  margin-bottom: 2rem;
}

ul {
  list-style: none;
  padding-top: 1rem;
}

ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

ul li::before {
  content: "✔";
  color: #ad4635;
  font-size: 1rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .infra-main-container .head {
    text-align: center;
    width: 100%;

  }
  .infra-box{
    flex-direction: row-reverse;
  }
  .infra-container {
    gap: 20px;
  }

  .infra-box {
    flex-direction: column;
    text-align: center;
  }

  .left-img img,
  .right-img img {
    max-width: 100%;
  }

  .right-content,
  .left-content {
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  ul li {
    font-size: 0.95rem;
  }
}

.infra-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infra-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.infra-box-one {
  flex-direction: row;
}

.infra-box-two {
  flex-direction: row-reverse;
}

.left-img, .right-img {
  flex: 1;
  max-width: 50%;
}

.left-content, .right-content {
  flex: 1;
  max-width: 50%;
}

@media screen and (max-width: 768px) {
  .infra-box {
      flex-direction: column;
  }

  .infra-box-one, 
  .infra-box-two {
      flex-direction: column;
  }

  .left-img, .right-img, 
  .left-content, .right-content {
      max-width: 100%;
  }
}
