/* Google Font (Bubble Style) */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(120deg, #fdfbfb, #ebedee);
}

/* Header */
header {
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

nav h1 {
    font-weight: 600;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: transform 0.2s, color 0.2s;
}

nav a:hover {
    color: #ffe066;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    color: #222;
    animation: fadeIn 1.5s ease-in;
}

.hero h2 {
    font-size: 2.5rem;
    margin-top: 10px;
}

.hero p {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Profile Image */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

/* Sections */
section {
    padding: 60px 20px;
    width: 90%;
    margin: auto;
}

h2 {
    margin-bottom: 20px;
    color: #444;
}

/* Projects */
.project {
    background: linear-gradient(135deg, #f6d365, #fda085);
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project a {
    display: inline-block;
    margin-top: 10px;
    color: #222;
    font-weight: bold;
    text-decoration: none;
}

/* Contact */
#contact a {
    color: #7873f5;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    color: white;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }
}