:root{
    --primary-color: #fa8231;
    --secondary-color: #fc5c65;
    --light-color: #d1d8e0;
    --white-color: #ffffff;
    --dark-color: #1b2e45;
    --black-color: #333;
}


#slider{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

#slider .right{
    padding: 20px;
    /* background: var(--wh-color); */
    height: 100%;
}

#slider .right h4{
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
}

#slider .btn-theme-primary{
    width: 100%;
}

.partner-box{
    border: 2px solid var(--dark-color);
    width: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.partner-box:hover img{
    transform: scale(1.2);
}
.partner-box img{
    height: 150px;
    transition: 0.3s linear;
}

.btn-theme-primary{
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 14px 38px; 
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s linear;
    display: inline-block;
}

.btn-theme-primary:hover{
    background: var(--secondary-color);
}

.img-box{
    border: 2px solid var(--black-color);
    border-radius: 10px;
    overflow:hidden;
    height: 470px;
}

.img-box .img{
    overflow: hidden;
}

.img-box .img img{
    transition: 0.4s linear;
}

.img-box .body{
    transition: 0.4s linear;
    padding: 20px;
}

.img-box:hover .body{
    transform: translateY(-10px)
}
.img-box:hover .img img{
    transform: scale(1.2);
}

#cta{
    padding: 140px 0;
    background: var(--dark-color);
    clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
}

.icon-box{
    border: 3px solid transparent;
    border-image: linear-gradient(to right, var(--primary-color), var(--secondary-color), #20bf6b, #f7b731);
    border-image-slice: 4;
    height: 340px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    background: var(--white-color);
}

.icon-box .icon{
    background: var(--dark-color);
    width: 60px;
    height: 60px;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: var(--white-color);
}

#why-us{
    background: var(--secondary-color);
    margin-top: -100px;
    padding: 50px 0 0 0;
}

#why-us h2{
    color: var(--white-color);
}

#why-us .icon-box{
    height: 200px;
}

.icon-box.left{
    flex-direction: row;
}

.icon-box.left .icon{
    flex: 0 0 auto; /* Prevents the icon from stretching */
    width: 60px;
    height: 60px;
    /* display: block; */
}
#why-us .icon-box .icon{
    background: var(--secondary-color);
}

.icon-box.left .body{
    text-align: left;
}
/* 
.img-box{
    background: var(--light-color);
    height: 440px;
    border: 3px solid var(--black-color);
    border-radius: 10px;
    overflow: hidden;
}

.img-box .body{
    text-align: center;
    margin-top: 20px;
} */

#packages{
    padding: 40px 0;
    background: var(--light-color);
}

.package-box {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    color: var(--white-color);
}

.package-box dl li{
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.rural{
    background: #4834d4;
}

.urban{
    background: #6ab04c;
}

.semi-urban{
    background: #eb4d4b;
}

.btn-theme-light{
    background: var(--white-color);
    text-decoration: none;
    color: var(--primary-color);
    padding: 13px 38px;
    border-radius: 100px;
    text-transform: uppercase;
}


.testimonial-box{
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    background:#f1a9ad;
    margin: 60px 0;
    height: 280px;
}

.testimonial-box .img{
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--primary-color);
    border-radius: 100px;
}

.testimonial-box .img img{
    height: 80px;
}
.testimonial-box .body{
    margin: 40px 0 60px 0;
    text-align: center;
}

.testimonial-box .name{
    background: var(--white-color);
    border-radius: 10px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    position: absolute;
    bottom: -50px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    color: var(--black-color);
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

.testimonial-box .customer-name{
    font-size: 20px;
    margin: 0;
    font-weight: 400;
}

.testimonial-box .stars{
    margin-top: -20px;
}

.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(0);
    background: var(--white-color);
    width: 340px;
    height: 90vh; 
    padding: 20px;
    border-radius: 10px;
    border: 5px solid var(--primary-color);
    overflow-y: scroll;
    transition: 0.6s linear;
    z-index: 99;
}

.popup.active{
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transform: scale(0) rotate(0);
    transition: 0.6s linear;
    z-index: 9;
}

.overlay.active{
    transform: scale(1) rotate(360deg);
}

.popup h4{
    margin-top: 30px;
}

.close{
    background: var(--primary-color);
    position: fixed;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--white-color);
    cursor: pointer;
}
#footer{
    background: var(--dark-color);
    color: var(--white-color);
}

.footer-links{
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-link{
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
}

#copyright{
    padding-top: 20px;
    background: var(--black-color);
    color: var(--white-color);
}

#page-header{
    background: var(--dark-color);
    color: var(--white-color);
}

.contact-box{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid var(--black-color);
    border-radius: 10px;
}

.contact-box .icon{
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    border-radius: 50px;
}

.whatsapp{
    background: #128C7E;
    width: 60px;
    height: 60px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    border-radius: 60px;
    left: 20px;
    z-index: 99;
    color: var(--white-color);
}

.phone{
    background: #2ecc71;
    color: var(--white-color);
    width: 60px;
    height: 60px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 60px;
    z-index: 99;
}

@media screen and (max-width: 600px){
    #slider{
        grid-template-columns: 1fr;
    }

    .col-sm-4, .col-sm-6, .col-sm-12, .col-sm-3{
        margin: 10px 0;
    }

    .img-box {
        height: 500px;
    }

    .footer-links{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}