@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;600;700&display=swap');
:root{
    --main-color:#3867d6;

}
*{
    font-family: 'Nunito', sans-serif;
    margin:0;padding:0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width:1.5rem;
}

html::-webkit-scrollbar-track{
    background: #444;
}

html::-webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 5rem;
}

body{
    background: #222;
}

section{
    padding: 2rem 9%;
}

.heading{
    text-align: center;
    padding-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 4rem;

}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;
}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    background: #666;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover{
    background: var(--main-color);
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 9%;
}

.header .logo{
font-weight: bolder;
color: #fff;
font-size: 2.5rem;
}
.header .logo span{
    color:var(--main-color);
}
.header .navbar a{
    font-size: 1.7rem;
    color: #fff;
    margin-left: 2rem;
}
.header .navbar a:hover{
    color:var(--main-color);
}


#menu-bars{
    font-size: 3rem;
   color : var(--main-color);
   cursor: pointer;
   display: none;
}
.light-theme {
    --main-color: #3867d6;
}
.light-theme .home .content h2 {
    color: #000000; 
}
.light-theme body {
    background: #fff;
    color: #111;
}

.light-theme .header,
.light-theme .footer,
.light-theme section,
.light-theme .contact form,
.light-theme .service .box-container .box,
.light-theme .about .row .content,
.light-theme .contact form input,
.light-theme .contact form textarea,
.light-theme .footer .box-container .box,
.light-theme .home .content {
    background: #f9f9f9;
    color: #111;
}

.light-theme .heading,
.light-theme .footer .credit,
.light-theme .footer .box-container .box h3,
.light-theme .footer .box-container .box a,
.light-theme .about .row .content h3,
.light-theme .about .row .content p,
.light-theme .service .box-container .box h3,
.light-theme .service .box-container .box p,
.light-theme .btn,
.light-theme .header .logo,
.light-theme .header .navbar a {
    color: #111;
}
.light-theme .home .content h3 {
    color: #111;
}

.light-theme .home .content p {
    color: #333;
}

.light-theme .btn {
    background: #ddd;
}

.light-theme .btn:hover {
    background: var(--main-color);
    color: #fff;
}

.light-theme .header .navbar a:hover {
    color: var(--main-color);
}

.light-theme .footer {
    background: #eaeaea;
}

.light-theme .contact form input,
.light-theme .contact form textarea {
    background: #fff;
    border: 1px solid #ccc;
    color: #111;
}

.theme-toggle {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin-left: 2rem;
}

.light-theme .theme-toggle i {
    color: #111;
} 

.home .content{
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    margin: 0 auto;
    max-width: 70rem;

}
.home .content h2{
    color: #eee;
    font-size: 4rem;
}
.home .content h3{
color:#fff;
font-size:4.5rem;
text-transform:uppercase;
}

.home .content h3 span{
color:var(--main-color);
text-transform: uppercase;
}

.home .home-slider .swiper-slide {
    height: auto;
    width: 90vw;
    max-width: 35rem;
    aspect-ratio: 2 / 3; 
}

.home .home-slider .swiper-slide img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.service .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem,1fr));
    gap: 1.5rem;
}
.service .box-container .box{
    border-radius: .5rem;
    background: #333;
    text-align: center;
    padding: 2.5rem;
}
.service .box-container .box i{
height: 6rem;
width: 6rem;
line-height: 6rem;
border-radius: 50%;
font-size: 2.5rem;
background: var(--main-color);
color: #fff;    
}
.service .box-container .box h3{
    font-size: 2rem;
    color: #fff;
    padding: 1rem 0;
}
.service .box-container .box p{
    font-size: 1.4rem;
    color: #eee;
    line-height: 1.8;
}
.service {
    padding-top: 10rem;
}
.about{
    padding-top:10rem;
}
.contact{
    padding-top: 10rem;
}
.about .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image{
    flex:1 1 45rem;
    padding: 1rem;
}

.about .row .image img{
    width: 100%;
    border-radius: .5rem;
    border: 1rem solid #333;
}
.about .row .content{
    flex:1 1 45rem;
}

.about .row .content h3{
    font-size: 3.5rem;
    color: #fff;
}

.about .row .content p{
    font-size: 1.5rem;
    color: #eee;
    padding: 1rem 0;
    line-height: 2;
}

.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
}

.contact form .inputBox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .inputBox input,
.contact form textarea{
    width: 100%;
    background-color: #333;
    border-radius: .5rem;
    padding: 1rem;
    margin: .7rem 0;
    font-size: 1.5rem;
    color: #fff;
    text-transform: none;
}
.contact form .inputBox input::placeholder,
.contact form textarea::placeholder{
    color: #eee;
    text-transform: capitalize;
}

.contact form .inputBox input::focus,
.contact form textarea::focus{
    background: #444;
}

.contact form .inputBox input{
    width: 49%;
}

.contact form textarea{
resize: none;
}

.footer{
    background: #111;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(25rem,1fr));
    gap: 1.5rem;
}

.footer .box-container .box h3{
font-size: 2.5rem;
padding: 1rem 0;
color: #fff;
}

.footer .box-container .box a{
display: block;
font-size: 1.5rem;
padding: 1rem 0;
color: #eee;
}

.footer .box-container .box a i{
padding-right: .5rem;
color: var(--main-color);
}

.footer .box-container .box a:hover i{
    padding-right: 1.5rem;
color: #fff;
}

.footer .credit{
    text-align: center;
    border-top: .1rem solid #222;
    color: #fff;
    padding: 2 rem;
    padding-top: 2.5rem;
    margin-top: 1rem;
    font-size: 2rem;
}

.footer .credit span{
    color: var(--main-color);
}



@media(max-width:991px){
    html{
        font-size: 55%;
    }
.header{
    padding:1.5rem 2rem;
}
section{
    padding:2rem;
}

}
@media(max-width:768px){
    #menu-bars{
        display: initial;
    }

    .header .navbar{
        position: absolute;
        top: 100%; left:0; right: 0;
        border-top: .1rem solid #222;
        background: #333;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path .3s ease-in-out;

    }

    .header .navbar.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
}
    .fa-times{
        transform: rotate(180deg);
       
    }
    
    .header .navbar a{
        display: flex;
        background: #222;
        border-radius: .5rem;
        padding: 1.3rem;
        margin: 1.3rem;
        font-size: 2.5rem;
}

.home .content h3{
    font-size: 4rem;
}
}
@media(max-width:450px){
    html{
        font: size 3rem;;
    }
.home .home-slider .swiper-slide{
    width:27rem;
}
.contact form .inputBox input{
    width: 100%;
}
}




