@font-face {
  font-family: 'Material Icons';
  src: url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
       url('../fonts/MaterialIcons-Regular.woff') format('woff'),
       url('../fonts/MaterialIcons-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.material-icons {
  font-family: 'Material Icons';
  font-size: 10px;
  display: inline-block;
}

*{
    margin: 0%;
    padding: 0%;
    font-family:Verdana, sans-serif;
    box-sizing: border-box;
    text-decoration:none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
}

html{
    font-size: 60%;
    overflow-x: hidden;
}
:root{
    --bg-color:#080808;
    --second-bg-color:#001005;
    --text-color:white;
    --main-color:#00ff51;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.header-box{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 4rem 12%;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

}
#menu-toggle{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
    cursor: pointer;

}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
span{
    color: var(--main-color);
}
#nav-links{
    display: block;
}
#nav-links {
    display: block;
    position: relative;
    top: 100%;
    right: 0;
    width: 100%;
    background: transparent;
}
#nav-links.active{
    display: block;
}
.nav-links{
    flex: 1;
    text-align: right;

}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    cursor: pointer;
    z-index: 100;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease;

}
.nav-links ul li :hover {
    border-bottom: 3px solid var(--main-color);
    color:var(--main-color);

}
.nav-links ul li a {
    color: var(--text-color);
}
/*home section*/

.section{
    min-height: 100vh;
    padding: 10rem 12%;

}
#home{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 100vh;
    padding: 0 10%;

}
.home-content{
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 18rem 0;

}
.home-content h1{
    font-size: 5rem;
    line-height: 1.2;
}
.home-content p{
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 2rem;
}
.home-content h3{
    font-size: 3rem;
    margin-bottom: 1rem;
}
.home-content{
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.8;
}
.desccription{
    width: 400px;
}
.home-image img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.3rem;
}
.home-image img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);

}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 0.5rem;
    transition: 0.3 ease;
}
.social-icons a:hover{
    color: var(--text-color);
    background-color: var(--main-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}
.button-group{
    display: flex;
    gap: 1.5rem;
}
.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 2rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3 ease-in-out;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}
.button-group a:nth-last-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.button-group a:nth-last-of-type(2):hover{
    box-shadow:0 0 25px var(--main-color);
    background: var(--main-color);
    color: black;
}




/*---- about roll---*/


.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background-color: var(--second-bg-color);

}
.about-image img{
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}
.about-content h2{
    font-size: 7rem;
    text-align: left;
}
.about-content p{
    font-size: 1.8rem;
}
.about-content .btn{
    margin: 3rem 0;
}
::-webkit-scrollbar{
    width: 20px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}
::-webkit-scrollbar-track{
    background-color: var(--bg-color);
}


/* services */


.heading{
    text-align: center;
    font-size:6rem;
    margin: 3rem 0;
}
.service{
    background-color: var(--bg-color);
    color:black;
}
.service h2{
    color:var(--text-color);
}
.service-cont{
    display: flex;
    grid-template-columns:repeat(auto-fit, minmax (300px 1fr));
    align-items: center;
    gap:2.5rem;
    
}

.service-box{
   display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    width: 300px;
    height: 400px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;

}
.service-box:hover{
    background-color: var(--second-bg-color);
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);

}
.service-info{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 5rem;
}
.service-info i{
    font-size: 8rem;
}
.service-info h4{
    font-size: 1.4rem;
    margin: 2rem 0;
    font-weight: 800;
}
.service-info p{
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}
.service-box .service-info h4{
    font-size: 34px;
    font-weight: 600;
}
/*contact*/

.contact{
    background-color: var(--second-bg-color);
}
.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}
.contact form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}

/* footer*/


.footer{
    background-color: var(--bg-color);
    padding: 50px 0;
}
.footer .social-icons{
    text-align: center;
}
.footer ul{
    text-align: center;
    font-size: 1.5rem;
}
.footer ul li{
    display: inline-block;
    margin-left: 20px;
}
.footer ul li a{
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
}
.footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
}
.footer .copyright{
    text-align: center;
    margin: 40px;
    font-size: 16px;
}

/*----responsiveness-----*/
@media (max-width: 480px) {
    .header-box{
        width: 90%;
        padding: 1rem 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #menu-toggle{
        display: block;
        font-size: 1.8rem;
        color: var(--main-color);
        cursor: pointer;
    }
    .nav-links{
        position: absolute;
        top: 100%;
        right: 5%;
        width: 70%;
        background: var(--bg-color);
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        border-bottom-left-radius: 1rem;
        padding: 1rem;
        display: none;
        flex-direction: column;
        z-index: 1001;

    }
    .nav-links.active{
        display: flex;
    }
    .nav-links a{
        font-size: 2rem;
        margin: 1rem 0;
        text-align: left;
    }

    #home{
        flex-direction: column-reverse;
        padding: 6rem 5% 2rem;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
        min-height: auto;
    }
    .home-image img{
        width: 65vw;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
        border-radius: 50%;
    }
    .home-content h1{
        font-size: 2rem;
        line-height: 1.2;
    }
    .social-icons{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 2rem 0;
        cursor: pointer;
        z-index: 10;
    }
    .social-icons a{
        border: none;
        background: none;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        display: flex;
        color: var(--main-color);
        font-size: 1.5rem;
       
        text-decoration: none;
    }
    .social-icons a i{
        font-size: 2rem;
        color: var(--main-color);
        transition: all 0.3s ease;
    }
    .social-icons a:hover i{
        color: #fff;
        transform: translateY(-5px);
        filter: drop-shadow(0 0 8px var(--main-color)) ;
    }
    .home-content p {
        text-align: center;
        margin: 1rem auto;
        word-wrap: break-word;
    }
    .contact .heading{
        font-size: 3rem;
        margin-top: 1rem;
    }
   .contact form .input-box input,
.contact form textarea{
    justify-content: center;
    width: 90%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}
.button-group{
    display: flex;
    gap: 1.5rem;
}
.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 2rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3 ease-in-out;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}
.button-group a:nth-last-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.button-group a:nth-last-of-type(2):hover{
    box-shadow:0 0 25px var(--main-color);
    background: var(--main-color);
    color: black;
}

} 
@media (max-width: 768px) {
    #menu-toggle{
        display: block;
        cursor: pointer;
    }
    #nav-links {
        display: none;
        position:absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        text-align: center;
        z-index: 100;

    }
    #nav-links ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 20px 0;
    }
    #nav-links ul li{
        margin: 15px 0;
        display: block;
    }
}
@media (max-width:1024px) {
    #menu-toggle{
        display: block;
        cursor: pointer;
        font-size: 3rem;
        z-index: 1001;
    }
    #nav-links{
        position: absolute;
        top: 100%;
        right: 5%;
        width: 60%;
        max-width: 280px;
        padding: 1rem 3rem;
        background-color: rgba(0,0,0,0.8);
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        border-bottom-left-radius: 2rem;
        display: none;
        flex-direction: column;
        backdrop-filter: blur (10px);
        z-index: 1000;
    }
    #nav-links a{
        display: block;
        font-size: 2rem;
        margin: 1.2rem 0;
        color: var(--text-color);
    }
    #nav-links.active{
        display: flex;
    }
    #home{
        flex-direction:column-reverse ;
        padding: 8rem 5% 2rem 0;
        min-height: 100vh;
        gap: 2rem;
    }
    #home .home-image{
        margin-top: 10rem;

    }
    .home-content{
        align-items: center;
        text-align: center;
    }
    .home-image{
         max-width: 52vw;
         display: flex;
         justify-content: center;
    }
    .social-icons, .button-group{
        justify-content: center;
    }
    .about{
        flex-direction: column-reverse;
        text-align: center;
    }
    .about h2{
        text-align: center;
        margin: 2rem 0;
    }
    .service-cont{
        flex-direction: column;
    }
    form {
        flex-direction: column;
        margin-bottom: 3rem;
        
    }
    .input-group2{
        margin-bottom: 3rem;
    }
}
@media (max-width:820px) {
    #nav-links{
        display: none;
    }
    #menu-toggle{
        display: block;
    }
}
@media (max-width:821px) {
    #menu-toggle{
        display: block;
    }
}