@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8cdda, #1f1c2c);
    color: #333;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    border-bottom: 5px solid #fad0c4;
    animation: fadeIn 2s ease-in-out;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid white;
    animation: bounceIn 2s ease-in-out;
}

section {
    padding: 2.5rem;
    text-align: center;
    background: #fff;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    animation: fadeInUp 1.5s ease-in-out;
}

#about p {
    margin: 0.5rem 0;
    color: #666;
}

#contact p {
    margin: 0.5rem 0;
}

#contact a {
    color: #ff6f61;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #ff6f61;
    font-weight: bold;
    transition: color 0.3s;
}

social-links a:hover {
    color: #ff9a9e;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    animation: fadeIn 2s ease-in-out;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, #ff6f61, #ff9a9e);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: linear-gradient(135deg, #ff9a9e, #ff6f61);
}

#skills ul {
    list-style: none;
    padding: 0;
}

#skills li {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ff6f61;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    transition: background 0.3s ease-in-out;
}

#skills li:hover {
    background: #ff9a9e;
}

#education p {
    margin: 1rem 0;
    color: #666;
}

#education strong {
    display: block;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

/* Media Queries for Mobile Optimization */
@media (max-width: 768px) {
    header {
        padding: 2rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
    }

    section {
        padding: 2rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .profile-picture {
        width: 100px;
        height: 100px;
    }

    section {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .social-links a {
        margin: 0 5px;
    }
}