/* style.css */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    line-height: 1.6;
    background: #f4f4f4;
    color: #333;
}

/* Navigation */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding: 15px 40px;
}

.logo{
    color: white;
}

.nav-links{
    list-style: none;
    display: flex;
}

.nav-links li{
    margin-left: 20px;
}

.nav-links a{
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #00adb5;
}

/* Hero Section */

.hero{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 90vh;
    padding: 40px;
    flex-wrap: wrap;
}

.hero-text h1{
    font-size: 50px;
    color: #00adb5;
}

.hero-text p{
    margin: 15px 0;
    font-size: 20px;
}

.hero-image img{
    width: 300px;
    border-radius: 50%;
}

/* Button */

.btn{
    display: inline-block;
    padding: 10px 20px;
    background: #00adb5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover{
    background: #007b80;
}

/* Sections */

.section{
    padding: 70px 40px;
    text-align: center;
}

.section h2{
    margin-bottom: 20px;
    color: #00adb5;
}

.dark{
    background: #222;
    color: white;
}

/* Skills */

.skills-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card{
    background: white;
    color: black;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
}

.card i{
    font-size: 40px;
    color: #00adb5;
    margin-bottom: 10px;
}

/* Projects */

.project-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card{
    background: white;
    color: black;
    border-radius: 10px;
    overflow: hidden;
}

.project-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3{
    margin: 15px 0;
}

.project-card p{
    padding: 0 15px 20px;
}

/* Contact */

.contact-container{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

form{
    flex: 1;
    min-width: 280px;
}

form input,
form textarea{
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.socials{
    flex: 1;
    min-width: 250px;
}

.socials a{
    display: block;
    margin: 10px 0;
    text-decoration: none;
    color: #00adb5;
}

/* Footer */

footer{
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */

@media(max-width: 768px){

    .navbar{
        flex-direction: column;
    }

    .nav-links{
        margin-top: 10px;
    }

    .hero{
        text-align: center;
    }

    .hero-text h1{
        font-size: 40px;
    }

    .hero-image{
        margin-top: 20px;
    }
}