.image-text-sec {
  padding: 98px 0 114px;
  background-color: #F4F4F4;
}
.image-text-sec-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.image-text-sec-wrap .text-box {
  margin-left: 138px;
  max-width: 524px;
}
.image-text-sec-wrap .text-box h2 {
  line-height: 1.26;
  margin-bottom: 48px;
}
.image-text-sec-wrap .text-box .btnbox {
  margin-top: 48px;
  display: flex;
  align-items: center;
}
.image-text-sec-wrap .imgbox {
  border-radius: 20px;
  overflow: hidden;
  max-width: 812px;
}
.image-text-sec-wrap .imgbox img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media (min-width: 1600px) and (max-width: 1699px)  {
  .image-text-sec-wrap .text-box {
    margin-left: 58px;
  }
  .image-text-sec-wrap {
    gap: 40px;
  }
}

@media (min-width: 1231px) and (max-width: 1599px) {
  .image-text-sec-wrap .text-box {
    margin-left: 0;
  }
  .image-text-sec-wrap {
    gap: 30px;
  }
}
@media (min-width: 992px) and (max-width: 1230px) { 
  .image-text-sec-wrap {
    gap: 30px;
  }
  .image-text-sec-wrap .text-box {
    margin-left: 0;
  }
}
@media (max-width: 991px) {
}

@media (min-width: 768px) and (max-width: 991px) {
  .image-text-sec {
    padding: 60px 0;
  }
  .image-text-sec-wrap .text-box {
    margin-left: 0;
  }
  .image-text-sec-wrap {
    gap: 20px;
  }
  .image-text-sec-wrap .text-box h2 {
    margin-bottom: 18px;
  }
  .image-text-sec-wrap .text-box .btnbox {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .image-text-sec {
    padding: 40px 0;
  }
  .image-text-sec-wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 34px;
  }
  .image-text-sec-wrap .text-box {
    margin-left: 0;
    order: 1;
  }
  .image-text-sec-wrap .text-box h2 {
    margin-bottom: 31px;
  }
  .image-text-sec-wrap .text-box .btnbox {
    margin-top: 46px;
  }
  .image-text-sec-wrap .imgbox {
    height: 232px;
    border-radius: 15px;
  }
}

@media (max-width: 499px) {
}
