/* General css */
body{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    background: black;
    color: white;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #030224;
    color: orange;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch{
    display: flex;
    align-items: center;
    gap: 8px;
    background: #030224;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid orange;
}

.lang-switch i{
    color: orange;
    font-size: 16px;
}

.lang-switch select{
    background: transparent;
    color: orange;
    border: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-right: 10px;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
}

.lang-switch select option{
    background: #030224;
    color: orange;
}

.lang-switch hover{
    border-color: #00bcd4;
}

.lang-switch i, .lang-switch select{
    color: #00bcd4;
}

select{
    padding: 10px;
    margin: 0 20px;
    -webkit-appearance: none;
    appearance: none;
}

.navbar .logo{
    font-size: 24px;
    font-weight: 600;
}

.nav-items{
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-items a{
    color: orange;
    text-decoration: none;
    transition: color 0,3s;
}

.nav-items a:hover{
    color: #00bcd4;
}

.social-links a{
    color: orange;
    margin-left: 15px;
    font-size: 30px;
    transition: color 0,3s;
}

.social-links a:hover{
    color: white;
}

.header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('https://i.pinimg.com/736x/fb/99/33/fb9933d527532f7d70632b07c1a23c5b.jpg');
    background-size: cover;
    color: white;
    text-align: center;
}

.name2{
    color: orange;
}

.header-content h1{
    font-size: 40px;
    margin: 10px 0;
}

.header-content p{
    font-size: 24px;
}

.profile-img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: solid #030224;
    object-fit: cover;
}

section{
    padding: 60px 10%;
}

h2{
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: orange;
}

.about p{
    text-align: center;
    font-family: 18px;
    line-height: 1.6;
}

.skills-cards{
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 50px;
    color: white;
    flex-wrap: wrap;
}

.skills-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.skills-card:hover{
    transform: scale(1.2);
}

.skills-card p{
    margin-top: 10px;
    font-size: 14px;
    color: white;
    font-family: 'Poppins', 'sans-serif';
}

.project-cards{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card{
    background: #030224;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover{
    transform: translateY(-10px);
}

.card img{
    width: 100%;
    border-radius: 10px;
    height: 200px;
}

.card h3{
    margin: 15px 0;
    color: wheat;
}

.card p{
    font-size: 14px;
    color: wheat;
}

.card a{
    text-decoration: none;
}

.btn{
    display: inline-block;
    padding: 10px 20px;
    background: #00bcd4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-hover{
    background: #0097a7;
}

.contact-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.contact-form input, .contact-form textarea{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button{
    padding: 10px;
    background: #00bcd7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover{
    background: #0097a7;
}

.footer{
    text-align: center;
    padding: 20px;
    background: #030224;
    color: orange;
}

section{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible{
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 750px) {
    .navbar{
        flex-direction: column;
        gap: 10px;
    }
    .navbar-items{
        flex-direction: column;
        gap: 10px;
    }
    .header-content h1{
        font-size: 36px;
    }
    .header-content p{
        font-size: 18px;
    }
    .contact-content{
        flex-direction: column;
        gap: 20px;
    }
    .contact-form{
        width: 100%;
    }
}