@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  /* border: 1px solid red; */
}

html {
  scroll-behavior: smooth;
}

.main {
  height: 240px;
  position: relative;
  width: 100%;
}

.main-heading {
  font-size: 80px ;
  margin: 0 auto;
  text-align: center;
  font-weight: 600;
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
  padding-top: 160px;
  animation: fadeUp 1.8s;
  color: #b57600;
  background-color: rgba(51, 51, 51, 0.08);
}

.img-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 35px 8% 70px;
  overflow: hidden;
  background-color: white;
  animation: fadeUp 2s ease;
}

.img-box,
.img-box2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* background design elements */
.bg-circle {
  position: absolute;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(181, 118, 0, 0.25),
    rgba(181, 118, 0, 0.05)
  );
  border-radius: 50%;
  top: -50px;
  left: -60px;
  z-index: 0;
}

.bg-square {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 3px dashed rgba(181, 118, 0, 0.25);
  border-radius: 25px;
  right: -20px;
  bottom: -30px;
  transform: rotate(20deg);
}

/* image */
.img-box img {
  position: relative;
  width: 100%;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.img-box img:hover {
  transform: translateY(-10px);
}

.img-box2 img {
  position: relative;
  width: 100%;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.img-box2 img:hover {
  transform: translateY(-10px);
}

/* content */
.content h2 {
  margin-bottom: 20px;
  font-size: 40px;
}

.why-choose-us h3,
.content1 h2 {
  font-size: 48px;
}

.content p {
  text-align: justify;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.content1 h2 {
  margin-bottom: 20px;
}

.content1 p,
.content1 li {
  text-align: justify;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.content1 ul {
  margin-left: 20px;
}

.why-choose-us {
  max-width: 1100px;
  margin: 0 auto 35px;
  padding: 50px 15px;
  background: linear-gradient(135deg, rgba(181, 118, 0, 0.3), #fff);
  border-radius: 30px;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Decorative element */
.why-choose-us::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(181, 118, 0, 0.08);
  top: -100px;
  right: -80px;
}

.why-choose-us h3 {
  margin-bottom: 25px;
  color: #111;
  position: relative;
}

.why-choose-us h3::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #b57600;
  position: absolute;
  bottom: -12px;
  left: 0;
  border-radius: 10px;
}

.why-choose-us p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
  text-align: justify;
  margin-top: 25px;
  position: relative;
}

/* hover effect */
.why-choose-us:hover {
  transform: translateY(-8px);
  transition: 0.5s ease;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .main-heading {
    font-size: clamp(38px, 7vw, 60px);
    padding: 136px 24px 72px;
  }
  .img-content.img-flex {
    gap: 48px;
    padding: 70px 6% 35px;
  }

  .bg-circle {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -50px;
    left: -40px;
  }

  .content h2,
  .content1 h2,
  .why-choose-us h3 {
    font-size: clamp(28px, 4.5vw, 42px);
  }

  .why-choose-us {
    margin: 0 15px 0;
  }
}

@media (max-width: 991px) {
  .img-content {
    padding: 48px 15px 40px;
  }
  .img-content.img-flex {
    gap: 48px;
    padding: 48px 15px 0;
  }
  .why-choose-us {
    margin: 0 15px 40px;
  }

  .tools {
    padding: 0 15px 40px;
  }
}

@media (max-width: 768px) {
  .main {
    height: auto;
    padding-bottom: 32px;
  }

  .main-heading {
    padding: 100px 20px 48px;
    font-size: clamp(32px, 9vw, 48px);
  }

  .img-content {
    grid-template-columns: 1fr;
    gap: 44px;
  }

   .img-content.img-flex{
      display: flex;
      gap: 44px;
      flex-direction: column-reverse;
    }

  .img-box,
  .img-box2 {
    width: min(90%, 460px);
    margin: 0 auto;
  }

  .bg-circle {
    width: 260px;
    height: 260px;
    top: -41px;
    left: -41px;
  }

  .bg-square {
    width: 130px;
    height: 130px;
    right: -10px;
    bottom: -20px;
  }

  .content h2,
  .content1 h2,
  .why-choose-us h3 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .content p,
  .content1 p,
  .content1 li,
  .why-choose-us p {
    font-size: 15px;
    text-align: left;
  }

  .why-choose-us {
    padding: 32px 24px;
    border-radius: 22px;
  }
  .why-choose-us {
    margin: 0 15px 40px!important;
    padding: 40px 15px;
  }
}

@media (max-width: 767px) {

  .why-choose-us {
    margin: 0 15px 40px!important;
    padding: 40px 15px;
  }

  .img-flex {
    display: flex;
    flex-direction: column-reverse;
  }

  .img-box, .img-box2 {
    width: min(90%, 460px);
    margin: 0 auto;
  }

  .tools p {
    margin-bottom: 20px;
  }

  .tools h2 {
    margin-bottom: 20px;
  }
}

@media (max-width: 543px) {
  .main-heading {
    padding: 100px 18px 40px;
    font-size: clamp(28px, 9vw, 38px);
  }

  .bg-circle {
    width: 160px;
    height: 160px;
    left: -24px;
  }

  .bg-square {
    width: 100px;
    height: 100px;
  }

  .why-choose-us {
    margin: 28px 15px;
    padding: 26px 15px;
  }
  .img-box {
    width: min(90%, 600px);
    margin: 0 auto;
  }
}
