@media screen and (max-width: 1574px) {
    .text-main h1{
        font-size: 80px;
    }
    .item{
        height: 350px;
    }
    .item h5{
        font-size: 16px;
    }
    .p-item{
        font-size: 16px;
    }
    .icon{
        font-size: 50px;
    }
    .btn-item{
        margin-top: 40px;
    }
}
@media screen and (max-width: 1406px) {
    .input-group{
        height: 50px;
        width: 340px;
    }
    .footer-items h3{
       font-size: 25px;
    }
    .footer-main{
        grid-template-columns: 1fr 300px 400px;
        grid-template-rows: 1fr;
    }
    .text-footer p{
        font-size: 18px;
    }
    .footer-items ul li a{
        font-size: 18px;
    }
    .footer-items .text-footer-3rd{
        font-size: 18px;
    }
    .copyright{
        margin-top: -10px;
        padding-top: 30px;
    }
    .footer{
        height: 650px;
    }
    .footer-marg{
        margin-left: 50px;
    }
}
@media screen and (max-width: 1280px) {
    .center{
        grid-template-columns: 400px 400px;
        grid-template-rows: 1fr 1fr;
    }
    .center-item img{
        width: 370px;
        height: 420px;
    }
}

@media screen and (max-width: 1224px) {
    .item{
        height: 320px;
    }
    .item h5{
        font-size: 13px;
    }
    .p-item{
        font-size: 14px;
    }
    .icon{
        font-size: 50px;
    }
}
@media screen and (max-width: 1188px) {
    .sec-2{
        height: 1100px;
        padding: 0px 80px;
    }
    .sec2-top {
        height: 100px;
    }
    .sec2-bottom{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-content: center;
        justify-content: center;
        grid-template-rows: 1fr;
        gap: 20px;
    }
    .item{
        width: 280px;
        height: 350px;
    }
}
@media screen and (max-width: 1180px) {
    .footer{
        height: 690px;
    }
}
@media screen and (max-width: 1138px) {
    .footer{
        height: 730px;
    }
    .footer-main{
        grid-template-columns: 1fr 300px 380px;
        grid-template-rows: 1fr;
    }
}
@media screen and (max-width: 1118px) {
    .box-client{
        height: 400px;
    }
    .img-slider{
       width: 250px;
    }
    .footer-main{
        grid-template-columns: 1fr 290px 350px;
        grid-template-rows: 1fr;
    }
}

@media screen and (max-width: 1106px) {
    .img-box {
        align-items: start;
    }
    .img-box img , .text{
        margin-top: 120px;
    }
}
@media screen and (max-width: 1072px) {
    .footer-main{
        grid-template-columns: 1fr 250px 320px;
        grid-template-rows: 1fr;
    }
    .text-footer p{
        font-size: 17px;
    }
    .footer-items ul li a{
        font-size: 17px;
    }
    .footer-items .text-footer-3rd{
        font-size: 17px;
    }
}
@media screen and (max-width: 1002px) {
    .footer-main{
        grid-template-columns: 1fr 230px 300px;
        grid-template-rows: 1fr;
    }
    .text-footer p{
        font-size: 17px;
    }
    .footer-items ul li a{
        font-size: 17px;
    }
    .footer-items .text-footer-3rd{
        font-size: 17px;
    }
}
@media screen and (max-width: 960px) {
    .footer-main{
        grid-template-columns: 1fr 200px 280px;
        grid-template-rows: 1fr;
    }
    .text-footer p{
        font-size: 16px;
    }
    .footer-items ul li a{
        font-size: 16px;
    }
    .footer-items .text-footer-3rd{
        font-size: 16px;
    }
}
@media screen and (max-width: 912px) {
    .footer-main{
        grid-template-columns: 1fr 190px 270px;
        grid-template-rows: 1fr;
    }
    .text-footer p{
        font-size: 15px;
    }
    .footer-items ul li a{
        font-size: 15px;
    }
    .footer-items .text-footer-3rd{
        font-size: 15px;
    }
    .text-footer h1 {
        font-size: 35px;
    }
}
@media screen and (max-width: 900px) {
    .sec2-bottom{
        grid-template-columns: 1fr 1fr;
    }
    .text-main p{
        font-size: 18px;
    }
    .sec3-item h2{
        font-size: 21px;
    }
    .sec3-item:hover p{
        font-size: 14px;
    }
    .img-box img{
        width: 220px;
    }
    .text p {
        font-size: 15px;
    }
}
@media screen and (max-width: 886px) {
    .footer-main{
        grid-template-columns: 350px 180px 260px;
        grid-template-rows: 350px;
    }
    .text-footer p{
        font-size: 15px;
    }
    .footer-items ul li a{
        font-size: 15px;
    }
    .footer-items .text-footer-3rd{
        font-size: 15px;
    }
    .text-footer h1 {
        font-size: 35px;
    }
    .footer-items h3 {
        font-size: 20px;
    }
}
@media screen and (max-width: 840px) {
    .center{
        grid-column-gap: 10px;
    }
    .center-item img{
        width: 340px;
        height: 390px;
    }
    .footer-main{
        grid-template-columns: 1fr 1fr;
    }
    .footer-margin{
        padding-left: 50px;
    }
   .footer-marg{
        margin-left: 0px;
        padding-right: 30px;
   }
}
@media screen and (max-width: 816px) {
    .text-main h1{
        font-size: 65px;
    }
    .text-main h3{
        font-weight: bold;
        margin: 16px 0px;
        font-size: 25px;
    }
    .text-main p{
        font-size: 14px;
    }
    .center{
        grid-column-gap: 0px;
    }
    .center-item img{
        width: 320px;
        height: 370px;
    }
}
@media screen and (max-width: 800px) {
    .center{
        grid-template-columns: 400px;
    }
    .center-item img{
        width: 320px;
        height: 370px;
    }
}
@media screen and (max-width: 672px) {
    .text-footer p{
        font-size: 14px;
    }
    .footer-items ul li a{
        font-size: 14px;
    }
    .footer-items .text-footer-3rd{
        font-size: 14px;
    }
}
@media screen and (max-width: 666px) {
    .navbar-brand{
        font-size: 35px;
    }
    .text-main{
        width: 70%;
    }
    .text-main h1{
        font-size: 60px;
    }
    .text-main h3{
        font-size: 22px;
    }
    .text-main p{
        font-size: 14px;
    }
    .img-box{
        margin-top: -70px;
    }
    .img-box img{
        width: 150px;
    }
    .text{
        text-align: center;
    }
    .text p {
        font-size: 12px;
    }
    .box-client{
        height: 250px;
    }
    .footer{
        height: 1340px;
    }
    .footer-main{
        grid-template-columns: 400px;
    }
    .text-footer h1 {
        font-size: 40px;
    }
    .text-footer p {
        font-size: 16px;
    }
    .footer-items ul li a {
        font-size: 16px;
    }
    .footer-items .text-footer-3rd {
        font-size: 16px;
    }
    .footer-mergin{
        margin-left: 50px;
    }
    .footer-items h3 {
        font-size: 25px;
    }
    .footer-marg{
        margin-left: 50px;
    }
}
@media screen and (max-width: 582px) {
    .sec-2{
        height: 1600px;
    }
    .sec2-bottom{
        grid-template-columns: 1fr;
    }
    .item{
        margin: auto;
    }
   .item-main{
    margin-top: 200px;
   }
}
@media screen and (max-width: 570px) {
   .sec3-item{
    width: 90%;
   }
   .sec3-item h2{
    font-size: 16px;
   }
   .sec3-item:hover p{
    font-size: 12px;
   }
}
@media screen and (max-width: 554px) {
    .text-main{
        width: 70%;
    }
    .text-main h1{
        font-size: 55px;
    }
    .text-main h3{
        font-size: 22px;
    }
    .text-main p{
        font-size: 14px;
    }
    .text-btn h1{
        font-size: 25px;
    }
    .text-footer p {
        font-size: 15px;
    }
    .footer-main{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .footer-mergin {
        margin-top: -100px;
    }
}
@media screen and (max-width: 510px) {
    .text-btn h1{
        font-size: 20px;
    }
    .btn-main{
        padding: 8px 15px !important;
        font-size: 15px;
    }
    .text-main h1 {
        font-size: 50px;
    }
    .sec2-top h1 {
        padding-bottom: 27px;
        font-size: 25px;
    }
    .sec3-top h1 {
        font-size: 25px;
    }
    .sec-3 {
        height: 80vh;
    }
    .sec-4 .top h1{
        font-size: 25px;
    }
    .center-item img {
        width: 290px;
        height: auto;
    }
    .sec-5 .client-top h1{
        font-size: 25px;
    }
    .footer-items h3 {
        font-size: 18px;
    }
    .footer-mergin {
        margin-top: -15px;
        width: 50%;
    }
    .copyright p {
        font-size: 13px;
    }
    .icon-foter {
        width: 40px;
        height: 40px;
    }
    .input-footer{
        margin-left: 0px;
    }
    .input-group{
        width: 300px;
    }
    .text-btn h1 {
        font-size: 15px;
    }
    .navbar-brand{
        font-size: 30px !important;
    }
    .text{
        display: none;
       }
       .img-box img{
        width: 170px;
   }
   .text-footer h1 {
    font-size: 30px;
}
    
}
 

@media screen and (max-width: 478px) {
   .img-box img{
        width: 170px;
   }
   .text{
    display: none;
   }
   .text-btn {
    padding: 0px 50px;
}
}
