*{
    font-family: "Poppins", sans-serif ;
    -webkit-box-sizing: border-box !important;
            box-sizing: border-box !important;
}
.body{
    --bs-font-sans-serif:"Montserrat", sans-serif;
}
a{
    text-decoration: none;
    color: #fff;
}
h2, h3, h4, h5, h6, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}
html{
    scroll-padding-top: 53px;
}
span{
    font-family: 'Montserrat', sans-serif;
}
p{
    color: #748182;
}
:root{
    --main-color: #1c1c1c;
    --background-color:#F7F7F7;
}
.fit-content{
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}
.py-6{
    padding-top: 50px;
    padding-bottom: 50px;
}
.px-6{
    padding-left:20px;
    padding-right:20px;
}
.layer-top{
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 452145245625;
    animation:  layer 1s;
    -webkit-animation:  layer 1s;
}
.layer-bot{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    z-index: 452145245625;
    animation:  layer 1s;
    -webkit-animation:  layer 1s;
}
.load{
    position: fixed;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform:translate(-50% , -50%);
    border:10px solid;
    border-color:#fff #fff #fff #000;
    border-radius: 50% ;
    animation: loading 1.3s;
    z-index: 555555555555555555555;
    opacity: 0;
}
@keyframes loading{
    from{
        transform :translate(-50%,-50%) rotate(0deg);
        opacity: 1;
}
    to{
        transform:translate(-50%,-50%) rotate(360deg);
        opacity: 0;
}
}
@keyframes layer{
    from{
        height: 50vh;
        opacity: 1;
        display: block !important;
    }
    to{
        height: 0;
        opacity: 0;
    }
}
/* ------------------start navbar------------------ */
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
}
.navbar-expand-lg .navbar-nav .nav-item{
    padding-left: 1rem;
}
.navbar-toggler{
    border: 0;
    padding-right: 0;
}
.bar-size{
    font-size: 28px;
}
.navbar-toggler:focus{
    box-shadow: none;
}
.logo{
    --bs-navbar-brand-font-size:18px;
}
.navbar .container .nav-link{
    --bs-nav-link-font-size:14px;
    --bs-nav-link-color:#111;
    position: relative;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}
.navbar .container .nav-link::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: black;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.navbar-nav .nav-link.active::before{
    width: 100%;
}
.bg-body-tertiary{
    background-color: #fff !important;
    -webkit-box-shadow: 0 1px 5px #00000026;
    box-shadow: 0 1px 5px #00000026;
    transition: all .8s;
}
body:has(.home-link.active) .bg-body-tertiary{
    background-color: transparent !important;
    box-shadow: none;
    position: absolute;
}
body:has(.home-link.active) .nav-link,
body:has(.home-link.active) .logo{
    color: #fff;
}
body:has(.home-link.active) .nav-link::before{
    background-color: #fff;
}
/* ------------------end navbar------------------ */
/* ------------------start home------------------ */
.home{
    background: linear-gradient(#000000b0 , #000000b0) , url(../imgs/bg.jpg);
    background: -webkit-gradient(linear , left top, left bottom , from(#000000b0) , to(#000000b0)) , url(../imgs/bg.jpg);
    background: -o-linear-gradient(#000000b0 , #000000b0) , url(../imgs/bg.jpg);
    background-size: cover;
    background-position: top left;
    min-height: 100vh;
}
h1{
    --bs-font-sans-serif:"Montserrat", sans-serif !important;
    font-size: 3.75rem;
}
.h5-size{
    font-size: 50px;
}
.ul-content{
    list-style: none;
}
.ul-content li a{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color:#0000003f;
}
/* ------------------end home------------------ */
/* ------------------start about------------------ */
.about{
    padding: 100px 0;
}
.img{
    padding-left: 30px;
}
.img::before{
    content: "";
    position: absolute;
    top: 25%;
    left: 0;
    width: 80%;
    height: 80%;
    background: url(../imgs/dots.png);
    z-index: -1;
}
.description{
    color:#999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.about-p{
    font-size: 15px;
}
.progress{
    margin-bottom: 30px;
    height: 25px;
    -webkit-box-shadow: -2px 2px 5px #00000026 inset;
            box-shadow: -2px 2px 5px #00000026 inset;
}
.progress-bar{
    background-color: var(--main-color);
    color: #fff;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    animation: width .5s 0s;
    -webkit-animation: width .5s 0s;
}
.all-btn a{
    padding: 10px 30px;
    border: 1px solid var(--main-color);
    border-radius: 5px;
    font-size: 13px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
}
.btn1 a{
    background-color: var(--main-color);
    color: #fff;
}
.btn2 a{
    color: var(--main-color);
}
.btn1 a:hover{
    background-color: transparent;
    color: #000;
}
.btn2 a:hover{
    background-color: var(--main-color);
    color: #fff;
}
/* ------------------end about------------------ */
/* ------------------start services------------------ */
.services{
    background-color: var(--background-color);
}
.main-size{
    font-size: 40px;
    position: relative;
    font-weight: 900;
    color: #343434;
    z-index: 0;
}
.main-size::before{
    content: "";
    position: absolute;
    bottom: 35px;
    width: 100%;
    height: 30px;
    background: url(../imgs/dots.png);
    z-index: -1;
}   
.services-content{
    -webkit-box-shadow: 0px 0px 30px 5px #0000000e;
            box-shadow: 0px 0px 30px 5px #0000000e;
}
.i-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: auto;
    background-color: #f4f4f4;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 28px;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.services-content:hover .i-container{
    background-color: var(--main-color);
    color: #fff;
}
.services-title{
    font-size: 18px;
}
/* ------------------end services------------------ */
/* ------------------start works------------------ */
.nav-pills .nav-link{
    position: relative;
    padding: 0;
    --bs-nav-link-color:#111;
    font-weight: 700;
}
.nav-pills .nav-link::after{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -10px;
    left: 0;
    background-color: #111;
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
}
.nav-pills .nav-link.active{
    --bs-nav-pills-link-active-color:#111 !important;
    --bs-nav-pills-link-active-bg:transparent !important;
}
.nav-pills .nav-link.active::after{
    width: 100%;
}
.nav-link:hover {
    color:#111;
} 
.layer{
    top:10px;
    left: 5px;
    right: 5px;
    bottom: 0px;
    background-color: #fffffff2;
    opacity: 0;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.img-container:hover .layer{
    top: 5px;
    bottom: 5px;
    opacity: .9;
}
.layer h6{
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.img-container:hover .layer h6{
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
}
.layer .icon a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    transform: translateY(5px);
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.layer .icon a:hover{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    background-color: #fff;
    color:var(--main-color);
    transform: translateY(5px);
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.img-container:hover .layer .icon a{
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
}
.layer .icon a i{
    font-size: 14px;
}
.modal-body{
    padding: 0;
}
/* ------------------end works------------------ */
/* ------------------start Clients------------------ */
.client{
    background-color: var(--background-color);
}
.client-img{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: auto;
}
.carousel-indicators [data-bs-target]{
    background-color: #d6d6d6;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    opacity: 1;
}
.carousel-indicators .active{
    background-color: #869791;
}
.carousel-caption h6{
    margin:30px 0 0 0;
    font-weight: 600;
    --bs-heading-color:#1c1c1c !important; 
}
.carousel-caption p{
    font-size:15px;
}
.carousel-caption span{
    font-family: "Poppins", sans-serif;
    color:#888;
    font-size:12px;
    font-weight:600;
}
/* ------------------end Clients------------------ */
/* ------------------start num------------------ */
.num h3{
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
}
.num i{
    font-size: 30px;
    margin-bottom: 15px;
}
.num p{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
}
/* ------------------end num------------------ */
/* ------------------start team------------------ */
.team{
    background-color: var(--background-color);
}
.team-container{
    background-color: #5B5B5B;
    border-radius: 0 5px 5px ;
}
.text{
    padding: 25px;
}
.team-layer{
    position: absolute;
    background-color: #fff;
    opacity: 0;
    top:5px;
    right:5px;
    left:5px;
    bottom:5px;
    transition: all .6s;
    -webkit-transition: all .6s;
    -o-transition: all .6s;
    transform: scale(.5);
    -webkit-transform: scale(.5);
    -ms-transform: scale(.5);
}
.team-img:hover .team-layer{
    transform: rotatey(180deg) scale(1);
    -webkit-transform: rotatey(180deg) scale(1);
    -ms-transform: rotatey(180deg) scale(1);
    opacity: .95;
}
.team-container:hover .team-layer{
    transform: rotatey(180deg) scale(1);
    -webkit-transform: rotatey(180deg) scale(1);
    -ms-transform: rotatey(180deg) scale(1);
    opacity: .95;
}
.team-img{
    overflow: hidden;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.team-img img{
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.team-img:hover img{
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
}

.team-layer ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    width:40px;
    height:40px;
    background-color: var(--main-color);
    color:#fff;
    font-size: 20px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
.team-layer ul li a i{
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.team-layer ul li a:hover{
    background-color: #fff;
    color:var(--main-color);
}
/* ------------------end team------------------ */
/* ------------------start contact------------------ */
.contact-content{
    margin-bottom: 40px;
}
.contact-content i{
    font-size: 25px;
}
.contact-content p{
    font-size: 15px;
}
.contact-icon{
    width: 60px;
    height: 60px;
    background-color: #f4f4f4;
    margin: 0 auto 15px;
    transition: all .4s ;
    -webkit-transition: all .4s ;
    -o-transition: all .4s ;
}
.contact-content:hover .contact-icon{
    background-color: var(--main-color);
    color:#fff;
}
input[type="text"],
input[type="Email"]{
    padding: 10px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    background-color: #f4f4f4;
}
input[type="text"],
input[type="Email"]:focus{
    outline: none;
}
.textarea textarea{
    padding: 10px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    max-height: 160px;
    height: 160px;
    background-color: #f4f4f4;
    margin-bottom: 15px;
}
.textarea textarea:focus{
    outline: none;
}
input[type="submit"]{
    font-size: 13px;
    padding: 10px 40px;
    border-radius: 5px;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}
input[type="submit"]:hover{
    background-color: #fff;
    color:var(--main-color)
}
/* ------------------end contact------------------ */
/* ------------------start footer------------------ */
.footer{
    background-color: var(--main-color);
    padding: 30px 0;
}
footer .container p{
    font-size: 13px;
}
/* ------------------end footer------------------ */
/* ------------------start animation------------------ */
@keyframes width {
    from{
        width: 25%;
    }
}
@-webkit-keyframes width {
    from{
        width: 25%;
    }
}
/* ------------------end animation------------------ */
/* ------------------start media------------------ */
@media screen and (max-width:991px){
    .margin-in-media{
        margin-bottom:80px
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        width: fit-content;
        margin: auto;
    }
}
@media screen and (max-width:768px){
    h1{
        font-size:1.875rem
    }
    
    .contact-link{
        padding-bottom: 3px;
    }
}
/* ------------------end media------------------ */