/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    background-image: linear-gradient(to bottom, #f5f7fa, #edf2f7);
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    background-color: #2d3748;
    color: white;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

header nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

header nav a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

header nav a:hover {
    background-color: #4299e1;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    header nav {
        justify-content: center;
    }
}

section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4299e1;
}

section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

section > h2 {
    color: #2d3748;
    border-bottom: 2px solid #4299e1;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

section > h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 4px;
    background-color: #4299e1;
    border-radius: 2px;
}

h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.4rem;
}



a {
    text-decoration: none;
    color: #3182ce;
    transition: color 0.3s;
}

a:hover {
    color: #2c5282;
    text-decoration: underline;
}

button {
    cursor: pointer;
    border-radius: 24px;
    font-weight: 600;
    padding: 8px 18px;
    border: none;
    background-color: #4299e1;
    color: white;
    transition: all 0.3s;
}

button:hover {
    background-color: #3182ce;
    transform: translateY(-2px);
}

.circle{
    border-radius: 50%;
}

/* Header Profile Section */
.headerProfile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.avatar {
    flex: 0 0 auto;
    margin-right: 30px;
}

.headerProfile img {
    width: 180px;
    height: 240px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.headerProfile img:hover {
    transform: scale(1.03);
}

.profile {
    flex: 1;
}

.profile h2 {
    margin-top: 0;
    font-size: 2.2rem;
    color: #2d3748;
    border-bottom: none;
}

.Profile {
    background-color: #ebf4ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    line-height: 1.7;
    border-left: 3px solid #4299e1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Profile p {
    margin: 0;
    display: flex;
    align-items: center;
}

.Profile a {
    font-weight: 500;
    margin-left: 5px;
}

.desciption {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    line-height: 1.7;
}

/* Badge List */
.badge-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Projects Section */
.projectContainer {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    justify-content: center;
}

/* Work, Education, Volunteers Sections */
.work, .education, .volunteersContainer {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    justify-content: center;
}

/* Skills Section */
.skill {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.skill-item {
    background-color: #ebf4ff;
    border-radius: 8px;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid #4299e1;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #e6f0fd;
}

.skill-item h3 {
    margin: 0;
    font-size: 1rem;
    color: #2c5282;
}

/* Footer Styling */
footer {
    background-color: #2d3748;
    color: #e2e8f0;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 5px solid #4299e1;
}

footer p {
    margin: 10px 0;
    font-size: 0.9rem;
}

footer a {
    color: #63b3ed;
}

footer a:hover {
    color: #90cdf4;
}

/* Animation for cards */
.project-card, .work-card, .education-card, .volunteers-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover, .work-card:hover, .education-card:hover, .volunteers-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive Design */
@media (max-width: 768px) {
    .headerProfile {
        flex-direction: column;
        text-align: center;
    }

    .avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .work, .education, .volunteersContainer {
        flex-direction: column;
    }

    .skill {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    section {
        padding: 15px;
    }

    .headerProfile {
        padding: 20px;
    }

    .headerProfile img {
        width: 150px;
        height: 200px;
    }
}
