*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    background-color: rgb(10, 130, 146);
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(21, 78, 104);
    color: rgb(5, 15, 19);
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
}


.logo{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a{
    color:rgb(5, 15, 19);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    }

    .nav-links a:hover{
        color: rgb(34, 165, 152);
        border-bottom: 2px solid rgb(18, 125, 139);
        padding-bottom: 2px;
    }


@media(max-width: 767px){

    .menu-icon{
        display: block;
    }



    .nav-links{
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgb(52, 165, 209);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20 , 0;
        display: none;
        
        }

    .menu-toggle:checked + .menu-icon + .nav-links{
        display: flex;
        animation: slidedown 0.3s ease;
    }

    @keyframes slidedown {
        from{opacity: 0;transform: translateY(-10px);}
        to{opacity: 1; transform: translateY(0);}

        
    }
}

.hero{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    background-color: rgb(10, 130, 146);
}

.hero-img{
    width: 300px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgb(17, 47, 80);
    margin-bottom: 20px;
}

.hero-text h1{
    font-size: 2em;
    color: black;
    margin-bottom: 10px;
}

.hero-text p{
    font-size: 1,1em;
    color: rgb(0, 0, 0);
    max-width: 500px;}

.menu-toggle{
        display: none;
}

.menu-icon{
        display: none;
        cursor: pointer;
        font-size: 28px;
}

.projects{
    background-color: rgb(71, 190, 190);
    padding: 70px 20px;
    text-align: center;
}

.projects h2{
    font-size: 2.5em;
    margin-bottom: 40px;
    color: rgb(2, 2, 1);
    position: relative;
    text-decoration: underline;
}

.project-contanier{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.project-card{
    background-color: rgb(65, 125, 139);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0, 0, 0);
    overflow: hidden;
    width: 300px;
    cursor: pointer;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

.project-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 8px 10px rgb(2, 79, 102);
}

.project-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-card h3{
    padding: 15px;
    font-size: 1.3em;
    color: rgb(0, 0, 0);
    background: rgb(64, 155, 155);
    font-weight: 600;
}

.contact{
    background-color: rgb(22, 153, 146);
    padding: 80px 20px; 
    text-align: center;
}

.contact h2{
    font-size: 2em;
    color: rgb(18, 65, 80);
    margin-bottom: 40px;
}

.contact-form{
    max-width: 600px;
    margin: 0 auto;
    padding: 12px 15px;
    background-color: rgb(49, 169, 173);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgb(12, 54, 49);
}

.input-group{
    margin-bottom: 20px;
    text-align: left;
}

.input-group label{
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.input-group input,
.input-group textarea{
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgb(5, 72, 88);
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border 0,3s ease;
}


.input-group input:focus,
.input-group textarea:focus{
    border-color: rgb(9, 239, 255);
    outline: none;
}

.input-group textarea{
    height: 140px;
    resize: none;
}

.contact-btn{
    width: 100%;
    padding: 14px;
    background-color: rgb(7, 197, 197);
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1,1em;
    font-weight: 600;
    transition: background 0,3s ease;
}

.contact-btn:hover{
    background: rgb(57, 255, 242);
    color: black;

}

@media(max-width: 767px){

    .contact-form{
        width: 95%;
        padding: 20px;
    }
}

