/* General Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}


/* Header */

header {
    background: #333;
    color: white;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a:hover {
    color: #f1c40f;
    transform: scale(1.1);
}


/* Home Section */

#home {
    background: #1abc9c;
    color: white;
    padding: 100px 20px;
    text-align: center;
    animation: fadeIn 2s ease-out;
}

#home h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: slideInFromLeft 2s ease-out;
}

#home p {
    font-size: 1.2rem;
    animation: fadeInUp 2s ease-out;
}


/* About Me Section */

#about {
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
}

.profile-card {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #1abc9c;
    object-fit: cover;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.profile-pic:hover {
    border-color: #f1c40f;
}

.details {
    list-style: none;
    padding: 0;
}

.details li {
    font-size: 1rem;
    margin-bottom: 10px;
}

.details li strong {
    color: #1abc9c;
}


/* Hobby Section */

#hobby {
    background: #ecf0f1;
    padding: 50px 20px;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

#hobby h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
}

.hobby-list {
    list-style: none;
    padding: 0;
}

.hobby-list li {
    font-size: 1.2rem;
    margin: 10px 0;
    background: #1abc9c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    margin: 10px auto;
    transition: transform 0.3s ease;
}

.hobby-list li:hover {
    transform: scale(1.1);
    cursor: pointer;
}


/* Skills Section */

#skills {
    background: #ecf0f1;
    padding: 50px 20px;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

#skills h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    font-size: 1.2rem;
    margin: 10px 0;
    background: #1abc9c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    margin: 10px auto;
    transition: transform 0.3s ease;
}

.skills-list li:hover {
    transform: scale(1.1);
    cursor: pointer;
}


/* Certificate Section */

#certificate {
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
    animation: fadeInUp 2s ease-out;
}

#certificate h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
}

.certificate-frame {
    background: #f9f9f9;
    border: 2px solid #1abc9c;
    display: inline-block;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.certificate-frame:hover {
    transform: scale(1.05);
}

.certificate-frame img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.certificate-frame p {
    margin-top: 10px;
    font-weight: bold;
    color: #1abc9c;
}


/* Contact Section */

#contact {
    padding: 50px 20px;
    background: #ecf0f1;
    text-align: center;
    animation: fadeInUp 2s ease-out;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1abc9c;
}

form input,
form textarea {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #1abc9c;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #f1c40f;
}

form button {
    background: #1abc9c;
    color: white;
    padding: 10px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

form button:hover {
    background: #16a085;
    transform: scale(1.1);
}


/* Easter Egg */

body:after {
    content: "🎉 Surprise Easter Egg! 🎉";
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #f1c40f;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: showEgg 3s ease-out forwards;
}

body:hover:after {
    display: block;
}


/* Animations */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}