@import url('https://fonts.googleapis.com/css2?family=Lexend&family=Poppins:wght@400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins';
}

#loader {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000a1d;
}

.loader_img{
    width: 6vw;
}

#contant {
    display: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: #000a1d;
    color: white;
}

section{
    min-height: 100vh;
    padding: 5rem 9% 2rem;
}

/* navbar desgin */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 9%;
    background: #000a1d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: 1px solid rgba(0,0,0, 0.2);
}

.logo {
    font-size: 25px;
    color: white;
    font-weight: 600;
    cursor: default;
}

.navbar a{
    font-size: 17px;
    color: white;
    font-weight: 500;
    margin-left: 45px;
}

.navbar a:hover, .navbar a.active{
    transition: 0.5s ease;
    color: #00bbff;
}

#menu-icon {
    font-size: 36px;
    color: white;
    display: none;
}
/* home desgin */

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

.home-content h3 {
    font-size: 28px;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 20px;
}

span {
    color: #00bbff;
}

.home-content h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 17px;
}

.home-img img {
    width: 32vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-24px);
    }
    100% {
        transform: translateY(0);
    }
}

.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1.5px solid #00bbff;
    border-radius: 6px;
    font-size: 20px;
    color: #00bbff;
    margin: 30px 15px 30px 0;
    transition: 0.5s ease;
}

.social-media a:hover {
    background: #00bbff;
    color: #000a1d;
    box-shadow:  0 0 10px #00bbff;
}

.btn {
    display: inline-block;
    padding: 8px 18px;
    background: #000a1d;
    border: 1.5px solid #00bbff;
    border-radius: 6px;
    font-size: 14px;
    color: #00bbff;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.5s ease;
}

.btn:hover {
    background: #00bbff;
    color: #000a1d;
    box-shadow: 0 0 10px #00bbff;
}

/* about desgin */

.about {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #041535;
    gap: 100px;
}

.about-img img{
    width: 37vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.heading {
    text-align: center;
    font-size: 45px;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 24px;
}

.about-content p {
    font-size: 15px;
    margin: 20px 0 30px;
}

/* services desgin */

.services h2 {
    margin-bottom: 50px;
}

.services-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.services-content .services-box {
    flex: 1 1 300px;
    background: #041535;
    padding: 30px 20px 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #000a1d;
    transition: 0.5s ease;
}

.services-content .services-box:hover {
    border-color: #00bbff;
    transform: scale(1.02);
    
}

.services-box i {
    font-size: 45px;
    color: #00bbff;
}

.services-box h3 {
    font-size: 23px;
}

.services-box p {
    font-size: 16px;
    margin: 10px 0 30px;
}

/* projects desgin */

.projects {
    background: #041535;
}

.projects h2 {
    margin-bottom: 40px;
}

.projects-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 25px;
}

.projects-content .projects-box {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 10px #000a1d;
    overflow: hidden;
    display: flex;
}

.projects-box img {
    width: 100%;
    transition: 0.5s ease;
}

.projects-box:hover img {
    transform: scale(1.1);
}

.projects-box .projects-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.479), rgb(0, 13, 255));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding:  0 40px;
    transform: translateY(100%);
    transition: 0.5s ease;
}

.projects-box:hover .projects-layer{
    transform: translateY(0%);
}

.projects-layer h4 {
    font-size: 25px;
}

.projects-layer p {
    font-size: 16px;
    margin: 3px 0 10px;
}

.projects-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
}

.projects-layer a i {
    font-size: 20px;
    color: #041535;
}

/* contact design */

.contact h2 {
    margin-bottom: 30px;
}

.contact form {
    max-width: 700px;
    margin: 10px auto;
    text-align: center;
    margin-bottom: 30px;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input, .contact form textarea {
    width: 100%;
    padding: 15px;
    font-family: 14px;
    color: white;
    background: #041535;
    border-radius: 8px;
    margin: 7px 0;
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 20px;
    cursor: pointer;
}

/* footer design */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 9%;
    background: #041535;
}

.footer-text {
    font-size: 15px;
    font-weight: 500;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    background: #00bbff;
    border-radius: 8px;
    transition: 0.5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 10px #00bbff;
}

.footer-iconTop a i {
    font-size: 24px;
    color: #041535;
}



/* RESPONSIVE */



@media(max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media ( max-width: 991px) {
    .header {
        padding: 20px 3%;
    }

    .header a {
        font-size: 22px;
    }

    section {
        padding: 100px 3% 20px;
    }

    .services {
        padding-bottom: 70px;
    }

    .projects {
        padding-bottom: 70px;
    }

    .footer {
        padding: 20px 3%;
    }
}

@media ( max-width: 768px) {
    .loader_img{
        width: 20vw;
    }

    #menu-icon{
        font-size: 26px;
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 3%;
        background: #000a1d;
        border-top: 1px solid rgba(0,0,0, 0.2);
        box-shadow: 0 5px 10px rgba(0,0,0, 0.2); 
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 18px;
        margin: 30px;
    }

    .home {
        flex-direction: column;
        gap: 50px;
    }

    .home-content h3{
        font-size: 24px;
    }

    .home-content h1 {
        font-size: 34px;
    }

    .home-img img {
        margin-top: 30px;
        width: 70vw;
    }

    .about {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-img img {
        margin-top: 30px;
        margin-right: 30px;
        width: 80vw;
    }

    .services h2 {
        margin-bottom: 30px;
    }

    .projects h2 {
        margin-bottom: 30px;
    }

    .projects-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-box img {
        width: 100%;
        transition: 0.5s ease;
    }
    
    .projects-box:hover img {
        transform: scale(1.1);
    }
    
    .projects-box .projects-layer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.479), rgb(0, 13, 255));
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding:  0 40px;
        transform: translateY(100%);
        transition: 0.5s ease;
    }
    
    .projects-box:hover .projects-layer{
        transform: translateY(0%);
    }
    
    .projects-layer h4 {
        font-size: 18px;
    }
    
    .projects-layer p {
        font-size: 13px;
        margin: 3px 0 10px;
    }
    
    .projects-layer a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: white;
        border-radius: 6px;
    }
    
    .projects-layer a i {
        font-size: 16px;
        color: #041535;
    }
    
}

@media ( max-width: 617px) {

    .loader_img{
        width: 9vw;
    }

    .heading{
        font-size: 30px;
    }

    .projects-content {
        grid-template-columns: 1fr;
    }

    .home h3 {
        font-size: 18px;
    }

    .home h1 {
        font-size: 26px;
    }

    .social-media a {
        height: 28px;
        width: 28px;
        font-size: 16px;
    }

    .btn {
    padding: 6px 15px;
    font-size: 12px;
    }
    
    .about-img img {
        width: 90vw;
    }

    .about h2 {
        font-size: 33px;
    }

    .about h3{
        font-size: 22px;
    }
} 

@media ( max-width: 425px) {

    .loader_img{
        width: 20vw;
    }

    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }

    .footer p {
        text-align: center;
        font-size: 11px;
    }

    .footer-iconTop a{
        padding: 5px;
    }

    .footer-iconTop a i {
        font-size: 20px;
    }
}

@media ( max-width: 365px) {
    .home-img img {
        width: 90vw;
    }

    .home h3 {
        font-size: 16px;
    }

    .home h1 {
        font-size: 24px;
    }
    
    .home p {
        font-size: 14px;
    }

    .about h2 {
        font-size: 29px;
    }

    .about h3{
        font-size: 18px;
    }

    .about p {
        font-size: 15px;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 20px;
        font-size: 10px;
    }
}