
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family:  -apple-system, sans-serif;
}
:root{
    --bg-color: #000;
    --snd-bg-color: #111;
    --text-color: #fff;
    --main-color: #45ffca;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
}

section{
    min-height: 100vh;
    padding: 10rem 8% 2rem;
}

/* header section code */

header{
    position: fixed;
    width: 100%;
    top: 0%;
    right: 0%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 9%;
    background: rgba(0,0,0,5);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.logo{
    font-size: 3rem;
    color:var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover{
   transform: scale(1.1);
}
span{
    color:var(--main-color)
}
.navbar{
    display: flex;
}
.navbar a{
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: 4rem;
    transition: all 0.5 ease;
    border-bottom: 3px solid transparent;
}
.navbar a:hover, .navbar a:active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.nav-btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.5 ease;
}
.nav-btn:hover{
    background: var(--main-color);
    color: var(--text-color);
    box-shadow: 0 0 18px var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    cursor: pointer;
    display: none;
}

/* home section code */
.home{
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-content h3{
    font-size: 5rem;
    font-weight: 700;
}
.home-content span {
    font-size: 4rem;
    font-weight: 550;
}
span{
    color: var(--main-color);
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home img h1{
    font-size: larger;
}
.home-img img{
    height: 450px;
    width: 45vw;
}
.btn{
    margin: 1px;
    display: inline-block;
padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 1rem;
    box-shadow: none;
    font-size: 2.8rem;
    color: var(--bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.5s ease;
}
.btn:hover{
    color: var(--text-color);
}


/* services section code */

.services{
    background: var(--snd-bg-color);
}
.heading{
    text-align: center;
    font-size: 6.5rem;
}
h1{
     font-size: 40px;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
    line-height: 1.4;
    
}
.services-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
    gap: 2.3rem;
    margin-top: 4.1rem;
    
}
.row{
    background: var(--bg-color);
    border-radius: 27px;
    border: 1px solid transparent;
    box-shadow: 0 0 5px var(--main-color);
    padding: 5px;
    transition: all 0.5s ease; 
}
.row img{
   
    height: 200px;
    width: 100%;
    border-radius: 27px;
    margin-bottom: 0.6rem;
}
.row:hover{
    border: 1px solid var(--main-color);
    transform: translateY(-5px)scale(1.04);
    cursor: pointer;
}
/* Footer Section Code */

.footer{
    position: relative;
    bottom: 0%;
    width: 100%;
    padding: 40px 0;
    background: var(--snd-bg-color);
}

.footer .social{
    text-align: center;
    padding-bottom: 20px;
    color: var(--main-color);
}

.footer .social a{
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.5s ease-in-out;
}


/* Responsive Design Code */

@media (max-width:1200px){
    html{
        font-size: 55%;
    }
}

@media (max-width:991px){
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all 0.5s ease;
    }
    .navbar a{
        display: block;
        padding: 17px;
        font-size: 22px;
    }
    .navbar.active{
        right: 0;
    }
    header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 3%;
    }
    .services{
        padding: 7rem;
    } 
}

@media (max-width:786px){
    .heading{
        font-size: 4rem;
    }
    h1{
        font-size: 3rem;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3 {
        font-size: 4.5rem;
        margin-top: 1.5rem;
    }
    .home-content {
        order: 2;
    }
    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}

@media (max-width:617px){
    .home-img img{
    width: 80vw;
    margin-top: 4rem;
    }
}

@media(max-width:500px){
    .nav-btn{
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .row img{
        width: 100%;
        height: auto;
    }
}