@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family: 'Roboto Slab', serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

header{
    display: flex;
    padding: 1rem 5rem;
    position: absolute;
    background-color: transparent;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
}

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    width: 250px;
    margin-right: 10px;
}

.nav-list{
    display: flex;
    align-items: center;
}

.nav_item{
    margin: 0 8px;
}

.nav_link{
    padding: 10px;
    color: #b3b3b3;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
}

.nav_link:hover{
    background-color: #C90B0BFF;
    color: white;
}

.header_toggle,
.header_close{
    display: none;
}

.hero{
    height: 650px;
    width: 100%;
    background-image: url(../uploads/header_bg.jpg);
    background-size: cover;
    background-position: center;
}

.image-color{
    height: 650px;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
}

.content{
    position: absolute;
    top: 150px;
    left: 15%;
    transition: 0.2s;
}

.hero span{
    color: #C90B0BFF;
}

.hero h1{
    color: #f4f4f4;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin: 0px 0px -10px;
    font-size: 45px;
}
.hero img{
    width: 275px;
}

.hero h3{
    color: #f4f4f4;
    font-size: 25px;
    margin-top: -10px;
    height: 40px;
    font-family: 'Exo 2', sans-serif;
}

.about{
    width: 100%;
    padding: 50px 0px;
    background-color: #f4f4f4;
}
.about img {
    height: auto;
    width: 430px;
}
.about-text{
    width: 550px;
}
.main{
    width: 1230px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-text h2{
    color: #333;
    font-size: 65px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5{
    color: #333;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
}
.about-text span{
    color: #C90B0BFF;
    letter-spacing: 2px;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: capitalize;
    font-family: 'Exo 2', sans-serif;
}
.about-text h3{
    font-family: 'Exo 2', sans-serif;
}

.about-text p{
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    font-family: 'Exo 2', sans-serif;
}

.about-text button{
    background-color: #C90B0BFF;
    color: #f4f4f4;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

.about-text button:hover{
    background-color: transparent;
    border: 2px solid #C90B0BFF;
    cursor: pointer;
    color: #C90B0BFF;
}

.service{
    background: #333;
    width: 100%;
    padding: 50px 0px;
}


.title h2{
    color: white;
    font-size: 65px;
    text-align: center;
    margin: 30px auto;
    text-align: center;
}
.box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.card{
    height: 365px;
    width: 335px;
    padding: 20px 35px;
    background: #f4f4f4;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 2px solid #C90B0BFF;
}

.card img{
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 5px;
}

.card.referance{
    height: 275px;
    width: 300px;
    padding: 0px 9px;
    background: #f4f4f4;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 2px solid #C90B0BFF;
}

.card.referance h5{
    color: #333;
    font-size: 20px;
    margin-bottom: 25px;
}


.card.referance .button{
    background-color: #C90B0BFF;
    color: #f4f4f4;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    transition: .4s;
}

.card ion-icon{
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: #C90B0BFF;
    opacity: 0.5;
}

.card h5{
    color: #333;
    font-size: 23px;
    margin-bottom: 15px;
}

.pra-content{
    margin-bottom: 25px;
}

.card .button{
    background-color: #C90B0BFF;
    color: #f4f4f4;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

.card .button:hover{
    background-color: transparent;
    border: 2px solid #C90B0BFF;
    cursor: pointer;
    color: #C90B0BFF;
}

.contact-me{
    width: 100%;
    height: 290px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.contact-me p{
    color: #333;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.contact-me .button-two{
    background-color: #C90B0BFF;
    color: #f4f4f4;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}
.contact-me .button-two:hover{
    background-color: transparent;
    border: 2px solid #C90B0BFF;
    cursor: pointer;
    color: #C90B0BFF;
}


footer{
    position: relative;
    width: 100%;
    padding: 20px;
    background: #101010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer img{
    width: 150px;
    margin-bottom: 20px;
}

footer h1{
    font-size: 20px;
    color: #C90B0BFF;
    font-family: 'Exo 2', sans-serif;
    text-align: start;
    margin: 10px;
}

footer p{
    font-size: 17px;
    color: #f4f4f4;
    width: 100%;
    padding: 0px 20px;
    line-height: 26px;
    text-align: center;
}

.social{
    display: flex;
    margin-bottom: 40px;
}

.fixed{
    position: fixed;
    width: 100%;
    top: 0;
}
.space{
    margin-bottom: 100px;
}

.alt{
    text-align: center;
}

.social a{
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:black ;
    border-radius: 50%;
    margin: 22px 10px;
    color: #f4f4f4;
    text-decoration: none;
    font-size: 20px;
}

.social a:hover{
    transform: scale(1.3);
    transition: .3s;
}

.end{
    position: absolute;
    color: #C90B0BFF;
    bottom: 35px;
    font-size: 14px;
    text-align: center;
}

#popup{
    height: 100vh;
    background-size: 15%;
    background-color: rgba(0,0,0,0.2);
    width: 100%;
    position: fixed;
    z-index: -1;
    opacity: 0;
}


#loader{
    display: none;
    height: 100vh;
    background-size: 15%;
    width: 100%;
    background: #4492f4;
    position: fixed;
    z-index: 100000;
}
.scan{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan .popup-image{
    position: relative;
    width: 600px;
    height: 450px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0px;
    transform: translateY(10%);
}
.scan .popup-image img{
    width: 100%;
    border-radius: 10px;
    padding: 5px;
}
#popup .close{
    text-align: right;
    z-index: 1;
    width: 100%;
    padding: 10px;
    position: absolute;
}
#popup .close .close-btn{
    width: 40px;
    height: 40px;
    font-size: 32px;
    font-family: 'Exo 2', sans-serif;
    border-radius: 50%;
    color: #f4f4f4;
    background-color: #ec6224;
    border: 2px solid white;
    cursor: pointer;
}
#popup .close .close-btn:hover{
    background-color: #330d48;
}
.slider{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    width: 100%;
}
@media screen and (max-width: 1150px) {
    .scan .popup-image{
        width: 600px;
        height: 450px;
        transform: translateY(35%);
    }
    .scan .popup-image img{
        width: 100%
    }
    .about-text h2{
        font-size: 45px;
        margin-bottom: 15px;
    }

    .about-text h5{
        font-size: 20px;
        margin-bottom: 15px;
    }

    .about-text button{
        float: right;
        padding: 10px 20px;
    }

    .title h2{
        font-size: 45px;
    }

    .card .button{
        padding: 10px 20px;
    }

    .nav_link{
        font-size: 1.5rem;
    }

    .show{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header{
        height: 80px;
        justify-content: space-between;
        padding: 0 100px;
    }
    .logo img{
        width: 175px;
        margin-top: 10px;
    }
    .header_toggle{
        display: inline;
        color: white;
        position: absolute;
        font-size: 35px;
        transition: 0.5s;
        right: 20px;
    }
    .header_toggle:hover{
        transform: rotate(50deg);
        transition: 0.5s;
    }
    .header_close{
        position: absolute;
        right: 24px;
        display: block;
        font-size: 40px;
        border: 2px solid #f4f4f4;
        border-radius: 50%;
        transition: 0.5s;
    }


    .header_close:hover{
        transform: rotate(50deg);
        transition: 0.5s;
    }

    .nav{
        position: fixed;
        top: 0;
        right: -100%;
        background-color: black;
        color: #b3b3b3;
        width: 60%;
        height: 100vh;
        padding: 24px 0;
        z-index: 100;
        transition: 0.5s;
        border-radius: 0 0 0 50%;
    }

    .nav-list{
        display: flex;
        flex-direction: column;
    }
    .nav_item{
        margin: 2rem 0;
    }
    .show{
        right: 0;
    }

    .hero h1{
        font-size: 40px;
    }
    .hero h3{
        font-size: 20px;
    }
    .hero img{
        width: 250px;
    }

    .content {
        position: absolute;
        left: 10%;
    }
    .about img {
        height: auto;
        width: 400px;
    }

    .about-text {
        width: 375px;
    }
}

@media screen and (max-width: 700px){
    .scan .popup-image{
        width: 400px;
        height: 300px;
        transform: translateY(35%);
    }
    .scan .popup-image img{
        width: 100%;
    }
    .slider{
        height: 300px;
    }
}

@media screen and (max-width: 450px){
    .scan .popup-image{
        width: 100%;
        height: 300px;
        transform: translateY(0%);
    }
    .slider{
        height: 300px;
        width: 100%;
    }
    .scan .popup-image img{
        width: 100%;
    }
    .content{
        left: none;
        transform: translateX(2%);
        text-align: center;
    }
    .scan{
        transform: translateY(40%);
    }
    header{
        padding: 0px 15px;
    }
    .about img{
        display: none;
    }
    .contact-me p{
        font-size: 20px;
    }
    .hero h3{
        margin-top: 5px;
    }
    .nav-list{
        margin-left: -40px;
    }
    .nav{
        width: 70%;
    }
}

@media screen and (max-width: 390px){
    .scan{
        transform: translateY(30%);
    }
}

@media screen and (max-width: 350px){
    .scan{
        transform: translateY(0%);
    }
}
