* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0f172a;
    color: white;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/*NAVBAR*/
.navbar {
    width: 100%;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}
/*HERO SECTION*/

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    padding-top: 80px;
}

/* PROFILE IMAGE */
.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

/* BUTTONS */
.buttons button {
    padding: 12px 24px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    background-color: #38bdf8;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.buttons button:hover {
    background-color: #0284c7;
    transform: translateY(-3px);
}

/* SECTIONS */
section {
    padding: 80px 10%;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ABOUT */
 .about p{
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: #cbd5e1;
 }

 /* SKILLS */
 .skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
 }

 .skills-card {
    background-color: #1e293b;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    width: 120px;
    transition: 0.3s;
 }

 .skills-card:hover {
    transform: translateY(-5px);
 } 

 .skills-card i {
    font-size: 40px;
    margin-bottom: 10px;
 }

 .skills-card p {
    font-size: 16px;
 }

 /* PROJECTS */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minimax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background-color: #1e293b;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    background-color: #334155;
}

.project-card h3 {
    margin-bottom: 15px;
    color: #38bdf8;
}

.project-card a {
    text-decoration: none;
    color: #38bdf8;
    transition: 0.3s;
}

.project-card a:hover {
    text-decoration: underline;
}

.project-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

 /* CONTACT */
 .contact {
    text-align: center;
 }

 /* RESPONSIVENESS */
 @media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
    }
    .hero-content h1{
        font-size: 2.5rem;
    }

    .subtitle{
        font-size: 1rem;
    }
 }

 /* FOOTER */
 footer {
    text-align: center;
    padding: 30px;
    background-color: #020617;
    color: #94a3b8;
    margin-top: 50px;
 }

 section {
    animation: fadeIn 1s ease;
 }

 @keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
 }