*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;

}

:root{
    --main-color: #246EA7;
    --secondary-color: #b36c5b;
    --dark-font-color: #333333;
    --light-font-color: #F5F6DD;
    --h1-font-size: 3rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.2rem;
    --p-font-size: 1rem;
    --p-line-height: 20.5px; 
}

body{
    width: 100%;
    height: 100vh;
}

.btn{
    display: inline-block;
    cursor: pointer;
    padding: 12px 25px;
    background: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-font-color);
    border-radius: 10px;
    transition: all .6s ease;
}

.btn:hover{
    background: transparent;
    color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    transform: scale(.9);
}

/* heading */
.heading{
    text-align: center;
    font-size: var(--h1-font-size);
    padding: 1rem;
    padding-top: 2rem;
    color: var(--main-color);
    letter-spacing: .1rem;
}

/* title */
.title{
    text-align: center;
    padding: 0rem 1rem;
    font-size: var(--h2-font-size);
    color: var(--dark-font-color);
    font-weight: 200;
}



nav{
    padding: 0 50px;
    width: 100%;
    padding: 3px 0;
}

.contactNavbar{
    display: flex;
    justify-content: flex-end;
    position: fixed;
    align-items: end;
    color: #000000;

    div{
        padding: 0 10px;
    }
}

header{
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
    isolation: isolate;

    .logo{
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--main-color);
    }
    .call{
        color: var(--main-color);
    }

    .voip{
        color: var(--secondary-color);
    }

    .navlist{
        display: flex;

        a{
            display: inline-block;
            margin: 0 20px;
            color: var(--dark-font-color);
            font-size: 1rem;
            font-weight: 600;
            transition: all .50s ease;
        }

        a:hover{
            text-shadow: 3px 3px 20px var(--secondary-color), -2px 1px 30px #fff;
        }
    }

    .nav-btn{
        display: flex;
        align-items: center;

        .fa-bars{
            font-size: 1.5rem;
            color: #000000;
            z-index: 10001;
            cursor: pointer;
            display: none;
        }
    }
}

header.sticky{
    backdrop-filter: blur(40px);
    padding: 12px 2%;
}

/* home section statred */

.home{
    min-height: 100vh;
    padding-top: 7rem;
}

.home .row{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 85%;
    margin: 0 auto;
}

.home .row .images img{
    height: 75vh;
}

.home .content h1{
    font-size: 3rem;
    color: #000000;
}

.home .content h1 span{
    color: var(--main-color);
}

.home .content p{
    font-size: 1.2rem;
    padding: 8px 0px;
    color: var(--dark-font-color);
    margin-bottom: 10px;
}

/* home section ended */

/* services section started */

.box-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 50px;
    padding: 40px 50px;
}

.box-container .card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    height: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

.box-container .card:hover{
    height: 400px;
}

.box-container .card .imgBx{
    position: absolute;
    top: 20px;
    width: 300px;
    height: 210px;
    background: var(--dark-font-color);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    transition: 0.5s;
}

.box-container .card:hover .imgBx{
    top: -100px;
    scale: 0.75;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.box-container .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.box-container .card .content{
    position: absolute;
    top: 250px;
    width: 100%;
    padding: 0 25px;
    height: 40px;
    text-align: center;
    overflow: hidden;
    transition: 0.5s;
}

.box-container .card:hover .content{
    top: 130px;
    height: 250px;
}

.box-container .card .content h2{
    font-size: var(--h2-font-size);
    font-weight: 700;
    color: var(--secondary-color);
}

.box-container .card .content p{
    color: var(--dark-font-color);
}

/* services section ended */


/* about section started */
.about .about-box-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 100px 50px;
    padding: 50px 140px;
}

.about .about-box-container .box{
    position: relative;
    width: 400px;
    height: 270px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

.about .about-box-container h1{
    color: var(--secondary-color);
    margin: 12px auto ;
    text-align: center;
    font-size: var(--h3-font-size);
}

.about .about-box-container p{
    color: var(--dark-font-color);
    text-align: center;
    font-size: var(--p-font-size);
    line-height: var(--p-line-height);
    padding: 0px 15px;
}

/* about section ended */



/* homeContact section started */
.homeContact{
    margin: 40px auto;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/home-contact.jpg');
    background-position: center;
    background-size: cover;
    text-align: center;
    padding: 100px 0;

    h1{
        color: #fff;
        margin-bottom: 40px;
        padding: 0;
    }
}
/* homeContact section ended */


/* faq section started */
.faq-section .container{
    min-height: 75vh;
    /* width: 100vw; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20%;
}

.ques{
    background-color: #E0E0E0;
    padding: 10px;
    font-size: var(--h3-font-size);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 3px solid #fff;
    cursor: pointer;
    transition: all .3s ease-in-out;
    border-radius: 10px;
    color: var(--dark-font-color);
}

.ques:hover{
    background-color: #C8C8C8;
}

.ans{
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
}

.faq i{
    transition: all .3s ease-in-out;
}

.faq-list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.faq.active .ans{
    max-height: 300px;
}

.faq.active i{
    transform: rotate(45deg);
}

.ans p{
    background-color: #F0F0F0;
    padding: 20px;
    font-size: var(--h3-font-size);
    border-top: 1px solid #fff;
}

/* faq section ended */

.copyright{
    padding: 10px;
    margin: 20px 0px;
    background-color: #F8F8F8;
    color: var(--dark-font-color);
    text-align: center;
}


.contact{
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/realistic-handset-concept.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-align: left;
    padding: 70px 70px;

    h1{
        color: #ffffff;
        margin-bottom: 40px;
        padding: 0;
    }
}

#section-wrapper{
    width: 100%;
    padding: 10px;
}

.box-wrapper{
    position: relative;
    display: table;
    width: 1100px;
    margin: auto;
    border-radius: 30px;
}

.info-wrap{
    display: block;
    float: left;
    width: 35%;
    height: 492px;
    padding: 40px;
    border-radius: 30px 0px 0px 30px;
    background: linear-gradient(144deg, rgb(223, 222, 223) 0%, rgb(143, 143, 144));
    color: var(--dark-font-color);
}

.info-title{
    text-align: left;
    font-size: var(--h3-font-size);
    letter-spacing: 0.5px;
}

.info-sub-title{
    font-size: var(--p-font-size);
    font-weight: 300;
    margin-top: 17px;
    letter-spacing: 0.5px;
    line-height: var(--p-line-height);
}

.info-details{
    margin: 60px 0px;
}
.info-details li{
    margin-top: 25px;
    /*font-size: 18px;*/
    color: #000000;
}

.info-details li i{
    background: var(--secondary-color);
    padding: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.info-details li a{
    color: var(--main-color);
}

.info-details li a:hover{
    color: #053559;
}

.social-icons{
    text-align: center;
    margin: 15px 0px;
}

.social-icons li{
    display: inline-block;
}

.social-icons li i{
    background: var(--main-color);
    color: #ffffff;
    padding: 15px;
    font-size: 15px;
    border-radius: 22%;
    margin: 0px 5px;
    cursor: pointer;
    transition: all .5s;
}

.social-icons li i:hover{
    background: #ffffff;
    color: #000000;
}

.form-wrap{
    width: 65%;
    float: right;
    padding: 40px 24px 35px 25px;
    border-radius: 0px 30px 30px 0px;
    background: #ecf0f3;
}

.form-title{
    text-align: left;
    margin-left: 23px;
    font-size: var(--h3-font-size);
    letter-spacing: 0.5px;
}

.form-fields{
    display: table;
    width: 100%;
    padding: 15px 5px 5px 5px;
}

.form-fields input, 
.form-fields textarea{
    border: none;
    outline: none;
    background: none;
    font-size: var(--p-font-size);
    color: #555;
    padding: 20px 10px 20px 5px;
    width: 100%;
}

.form-fields textarea{
    height: 130px;
    resize: none;
}

.form-group{
    width: 46%;
    float: left;
    padding: 0px 30px;
    margin: 14px 12px;
    border-radius: 25px;
    box-shadow: inset 8px 8px 8px #ecf0f3, inset -8px -8px 8px #ffffff;
}

.form-fields .form-group:last-child{
    width: 96%;
}

.form-wrap .btn{
    width: 96%;
}




@media (max-width: 1300px) {
    header{
        padding: 26px 2%;
    }
}

@media (max-width: 1050px) {
    
    header{
        .logo{
            font-size: var(--h3-font-size);
        }

        .navlist a{
            margin: 0 15px;
        }
        
        .nav-btn{
            .btn{
                padding: 10px 20px;
            }
        }
    }

    .box-wrapper{
        width: 950px;
    }

    .info-sub-title {
        margin-top: 10px;
    }

    .info-details{
        margin: 50px 0px;

        li{
            font-size: 16px;
        }
    }

    .form-group{
        width: 45%;
        padding: 0px 15px;

    }

}

@media (max-width: 940px) {

    .btn{
        font-size: 14px;
        padding: 10px 20px;
    }

    .home .content h1{
        font-size: 2.5rem;
    }
    
    .home .row .images img{
        height: 70vh;
    }

    .home .content p{
        font-size: 1.5rem;
    }

    header{

        .nav-btn{
            .fa-bars{
                display: block;
            }
            .btn{
                margin: 0px 12px;
            }
        }
        
        .navlist{
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            /* backdrop-filter: blur(40px); */
            background-image: linear-gradient(to left, rgba(240, 240, 240, 0.1), rgba(200, 200, 200, 0.1)), url(../img/blurry-background.jpg);
            background-position: cover;
            padding-top: 80px;
            align-items: center;

            a{
                display: block;
                padding: 0;
                margin: 0px 0px 50px 0px;
                font-size: 1rem;
            }
        }

        .navlist.open{
            right: 0;
        }
    }

    .box-wrapper{
        width: 100%;
    }

    .info-wrap{
        display: none;
    }

    .form-wrap{
        width: 100%;
        border-radius: 30px;
    }

    .about .about-box-container p {
        overflow-x: auto;
        max-height: 200px;
    }
}

@media (max-width: 750px){

    .btn{
        font-size: 10px;
        padding: 10px 20px;
    }

    .home .content h1{
        font-size: 2rem;
        color: #000000;
    }
    
    .home .row .images img{
        height: 65vh;
    }

    .home .content p{
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .box-wrapper{
        width: 100%;
    }

    .info-wrap,
    .form-wrap{
        width: 100%;
        height: inherit;
        float: none;
    }

    .info-wrap{
        display: block;
        border-radius: 30px 30px 0px 0px;
    }

    .form-wrap{
        border-radius: 0px 0px 30px 30px;
    }

    .form-group{
        width: 100%;
        float: none;
        margin: 25px 0px;
    }

    .form-fields .form-group:last-child{
        width: 100%;
    }

    .form-wrap .btn{
        width: 100%;
    }

    .box-wrapper{
        width: 100%;
    }

    .info-wrap,
    .form-wrap{
        width: 100%;
        height: inherit;
        float: none;
    }

    .info-wrap{
        border-radius: 30px 30px 0px 0px;
    }

    .form-wrap{
        border-radius: 0px 0px 30px 30px;
    }

    .form-group{
        width: 100%;
        float: none;
        margin: 25px 0px;
    }

    .form-fields .form-group:last-child {
        width: 100%;
    }


}

@media (max-width: 450px){
    .contactNavbar{
        justify-content: space-between;
        font-size: 14px;
    }

    .btn{
        font-size: 10px;
        padding: 10px 20px;
    }

    header{
        .logo{
            font-size: 1.2rem;
        }

        .nav-btn{
            .btn{
                padding: 9px 17px;
                margin: 0px 12px;
                font-size: 12px;
            }
            .fa-bars{
                font-size: 1rem;
            }
        }
    }

    .home .row{
        flex-direction: column;
    }
    
    .home .row .images img{
        height: 65vh;
        margin-top: 10px;
    }
    
    .home .content h1{
        font-size: 2rem;
    }
    
    .home .content p{
        font-size: 1.2rem;
    }

    .about .about-box-container{
        flex-direction: column;
    }

    .about .about-box-container .box {
        width: 290px;
    }

}