:root{
    --primary-light: #d0e1d9;
    --primary-color: #1c5739;
    --white-color: #fff;
    --dark-color: #464646;
    --black-color: #333;
    --light-color: #d7d7d7;
}

.heading-2{
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.btn-theme-primary{
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    font-size: 16px;
    padding: 12px 42px;
    display: inline-block;
    border-radius: 5px;
    border: 0;
    transition: 0.3s linear;
}

/* .btn-theme-primary:hover{
    background: var(--primary-light);
    color: var(--primary-color);
} */

#about{
    background: var(--primary-light);
    padding: 80px 0;
}

.service-box{
    background: var(--light-color);
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    gap: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-box .img{
    border-radius: 150px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.package-box{
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    color: var(--white-color);
    background: var(--primary-color);
}

.package-box dl li{
    border-bottom: 1px solid var(--light-color);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.semi-urban{
    background: var(--primary-light);
    color: var(--primary-color);
    margin-top: -30px;
}

.package-box.semi-urban dl li{
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.btn-theme-light{
    background: var(--primary-light);
    padding: 13px 38px;
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
}

#process{
    background: var(--primary-color);
    color: #fff !important;
}

#process .heading-2{
    color: #fff;
}


.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: var(--primary-light);
    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;
}

.projects{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project {
    width: 300px;
    height: 300px;
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2), 0 -10px 10px rgba(0,0,0,0.2), 10px 0px 10px rgba(0,0,0,0.2), -10px 0px 10px rgba(0,0,0,0.2);
}

.project img{
    height: 300px;
    width: 300px;
    object-fit: cover;
    transition: 0.3s linear;
    
}

.project:hover img{
    transform: scale(1.4)
}

#cta{
    background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./../images/bsnl-tower-bg.webp');
    padding: 140px 0;
    background-size: cover;
    background-attachment: fixed;
}

.icon-box{
    background: var(--light-color);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    gap: 10px;
}

.icon-box .icon{
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #fff;
    border-radius: 60px;
}

#footer{
    background: var(--primary-color);
    padding: 80px 0;
    color: var(--white-color);
    font-size: 18px;
}

#footer p{
    margin: 20px 0;
}

.footer-link{
    color: var(--light-color);
    text-decoration: none;
    margin: 0 10px;
}

#copyright{
    background: var(--black-color);
    color: var(--white-color);
    padding-top: 20px;
}

.popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(80%, -50%);
    width: 90vw;
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 -10px 20px rgba(0,0,0,0.2);
    z-index: 99;
    overflow: hidden;
    transition: 1s linear;
}

.popup.active{
    transform: translate(-50%, -50%);
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: #333;
    opacity: 0.5;
    transform: translateX(-100%);
    transition: 0.5s linear;
}

.overlay.active{
    transform: translateX(0);
}

.close{
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    font-size: 28px;
}

#header{
    background: var(--primary-color);
}

#header .heading-2{
    color: var(--white-color);
}
.link{
    color: #fff;
    text-decoration: none;
}

.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;
}

.phone{
    background: #2ecc71;
    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;
}

.contact-box{
    background: var(--light-color);
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
}

.contact-box .icon{
    background: var(--primary-color);
    height: 100%;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
}

@media screen and (max-width: 600px){
    .col-sm-4, .col-sm-3, .col-sm-12, .col-sm-6{
        margin: 10px 0;
    }
    .package-box.semi-urban{
        margin-top: 0;
    }

    .heading-2{
        font-size: 30px;
    }
    
    .projects{
        grid-template-columns: 1fr;
    }
}
