:root{
    --primary-color: #ed5101;
    --secondary-color: #eb4d4b;
    --white-color: #fff;
    --light-color: #c7ecee;
    --black-color: #333;
    --dark-color: #242e3a;
}

#navbar{
    padding: 15px 20px;
}

.menubar{
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
}

.menu{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.menu .main{
    display: flex;
    gap: 15px;
}

.top{
    display: flex;
    gap: 20px;
}

.top-menu-link{
    color: var(--black-color);
    text-decoration: none;
}

.top-menu-link:hover{
    color: var(--secondary-color);
}

.menu-link{
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--black-color);
}

.menu-link:hover{
    color: var(--secondary-color);
}

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--secondary-color);
    transform: translateX(-350px);
    transition: 0.3s linear;
}

.sidebar.active{
    transform: translateX(0);
}

.hamburger{
    background: var(--secondary-color);
    height: 48px;
    width: 48px;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    z-index: 99;
    border-radius: 5px;
    display: none;
}

.hamburger.active .line-2{
    display: none;
}

.hamburger.active .line-1{
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .line-3{
    transform: rotate(-45deg) translate(10px, -10px);
}

.hamburger .line{
    background: #fff;
    height: 3px;
    width: 90%;
    margin: 0 auto;
    transition: 0.4s linear;
}

.line-2{
    margin: 10px;
}



.side-link{
    color: var(--white-color);
    text-decoration: none;
    font-size: 18px;
    margin: 10px 0;
}

.heading-2{
    font-size: 36px;
    font-weight: 400;
}

.heading-2 span{
    color: var(--secondary-color);
}

.btn-theme-link-secondary{
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.service-box{
    position: relative;
    padding: 0 20px;
    cursor: pointer;
    margin: 20px 0;
    /* overflow-y: scroll; */
    z-index: 1;
    background: var(--white-color);
    height: 50px;
    transition: 0.2s linear;
}

.service-box.active{
    height: 140px;
}

.service-box .service-desc{
    transform: scaleY(0);
    transition: 0.4s linear;
    transform-origin: top;
}

.service-box.active .service-desc{
    transform: scaleY(1);
}
.service-box.active .service-desc{
    margin-top: 0;
}

.service-box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #9b9b9b;
    transition: 0.4s linear;
}

.service-box.active::before{
    background: var(--secondary-color);
}
#apply{
    background: var(--light-color);
}
#cta{
    padding: 80px 0;
    background: var(--light-color);
}

.icon-box{
    border: 1px solid var(--dark-color);
    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);
}

.btn-theme-primary{
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 100px;
    transition: 0.1s linear;
    border: 0;
}

.btn-theme-primary:hover{
    background: var(--secondary-color);
}

.btn-theme-light{
    background: var(--light-color);
    color: var(--dark-color);
    border: 0;
    padding: 14px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: 0.1s linear;
    text-decoration: none;
}

.btn-theme-light:hover{
    background: var(--dark-color);
    color: var(--white-color);
}

.about-img{
    position: relative;

}

.about-img-2{
    position: absolute;
    bottom: -20px;
    right: 30px;
}

.about-img-3{
    position: absolute;
    top: -20px;
    left: 30px;
}

#features .icon-box{
    height: 200px;
}

#features{
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('./../images/bsnl-tower-bg.webp');
    padding: 120px 0 80px 0;
    background-size: cover;
    background-attachment: fixed;
}

#why-us{
    background: var(--secondary-color);
}

#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;
}

#footer{
    background: var(--dark-color);
    color: var(--white-color);
}

.footer-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px;
}

.footer-link{
    color: var(--primary-color);
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s linear;
}

.footer-link:hover{
    color: var(--secondary-color);
}

#copyright{
    background: var(--black-color);
    color: var(--white-color);
    padding: 14px 0;
}

#header{
    background: var(--primary-color);
    padding: 40px 0;
    color: var(--white-color);
    text-align: center;
}

.contact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
    overflow: hidden;;
}

.contact .left{
    background: var(--primary-color);
    padding: 20px;
}

.contact-box{
    display: flex;
    gap: 10px;
    margin: 20px 0;
    background: var(--white-color);
    align-items: center;
    padding: 10px;
    border-radius: 10px;
}

.contact-box .icon{
    flex: 0 0 auto;
    height: 60px;
    width: 60px;
    background: var(--primary-color);
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--white-color);
}

.contact .right{
    padding: 20px;
    background: var(--secondary-color);
    color: var(--white-color);
}

#popup{
    background: var(--primary-color);
    padding: 20px;
    width: 380px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s linear;
    z-index: 99;
}

#popup.active{
    transform: translate(-50%, -50%) scale(1);
}

#popup .close{
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--light-color);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}

.popup h4{
    text-align: center;
}

@media screen and (max-width: 600px){
    .hamburger{
        display: flex;
    }
    
    .menubar{
        grid-template-columns: 1fr;
    }
    
    
    .about-img{
        margin: 80px 0;
    }
    .about-img-2{
        right: 0 !important;
        bottom: -97px;
    }

    .about-img-3{
        top: -50px;
        left: 0px;
    }

    .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-12{
        margin: 10px;
    }

    .contact{
        grid-template-columns: 1fr;
    }

    .footer-menu{
        flex-direction: column;
    }

    .menubar .menu{
        display: none;
    }
}