/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #ee0979;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ff6a00, #ee0979);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ff6a00, #ee0979); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    text-align: center;
    color: #fff;
}

/* Header */
header {
    background: #222;
    color: white;
    padding: 20px;
}

/* Navigation */
.nav {
    background: rgba(0, 0, 0, 0.534);
    padding: 10px 0;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav ul li {
    margin: 10px 20px;
}

.nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    transition: 0.3s;
}

.nav ul li a:hover {
    background: #666;
    border-radius: 5px;
}

/* Sections */
.section {
    width: 80%;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* About Me */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.about-text {
    max-width: 500px;
    margin-bottom: 20px;
}

.intro {
    font-size: 24px;
    font-weight: bold;
    color: rgb(255, 255, 255);
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.skill-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #000000;
    width: 150px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.skill-card img {
    width: 80px;
    height: 80px;
}

/* Academic */
.academic-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.academic-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #000000;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.academic-card img {
    width: 80px;
    height: 80px;
}

.academic-card h2 {
    padding-top: 15px;
    color: rgb(255, 255, 255);
}

.academic-card h3 {
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 5px;
    color: rgb(255, 255, 255);
}

.academic-card h4 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-style: italic;
    color: #ffffff;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 15px;
    text-align: center;
}

.contact-info {
    margin-top: 10px;
    margin-bottom: 20px;
}

.contact-info a {
    margin: 0 10px;
    margin-right: 20px;
}

.icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    transform: scale(1.2);
}

footer p {
    font-size: small;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav ul li {
        margin: 5px 0;
    }
}
