@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, #0f0c29, #302b63, #24243e);
    color: #e0e0e0;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #1f1c2c, #928DAB);
    color: white;
    border-bottom: 5px solid #928DAB;
    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: #1e1e1e;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    animation: fadeInUp 1.5s ease-in-out;
}

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

#contact p {
    margin: 0.5rem 0;
}

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

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

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

.social-links a:hover {
    color: #928DAB;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1f1c2c, #928DAB);
    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, #4a90e2, #9013fe);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: linear-gradient(135deg, #9013fe, #4a90e2);
}

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

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

#skills li:hover {
    background: #9013fe;
}

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

#education strong {
    display: block;
    font-size: 1.2rem;
    color: #e0e0e0;
    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;
    }
}