/* Profile Container */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    

}


/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    border-radius: 0;
    padding: 80px 30px;
    margin: 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 250px;
    margin-top: 60px;

}
            
/* Avatar */
.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-green), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 48px;
    font-weight: bold;
    box-shadow: 0 8px 25px var(--shadow-medium);
    margin: 0;
    margin-left: 200px;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* User Info */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
    gap: 10px;
    flex: 1;
    text-align: left; 
}

.user-info h1 {
    color: var(--neutral-white);
    margin: 0; 
    font-size: 2.5em;
}

.user-info .role {
    color: var(--secondary-blue);
    font-size: 1.3em;
    margin: 0; 
}

.user-info p {
    max-width: 600px;
    word-wrap: break-word;
    white-space: normal;
    margin: 0; 
    color: var(--neutral-white);
    line-height: 1.6;
}

/* Profile Cards */
.profile-card {
    background: var(--neutral-white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px var(--shadow-light);

}


.profile-card h2 {
    color: var(--secondary-blue);
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 3px solid var(--primary-orange);
    padding-bottom: 10px;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Skills Section */
.skills-list {
    list-style: none;
}

.skills-list li {
    margin-bottom: 15px;
}

.skill-bar {
    background: var(--neutral-light-gray);
    border-radius: 10px;
    height: 20px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;

}

.skill-progress.css {
    background: var(--primary-orange);
    width: 90%;
}

.skill-progress.advocacy {
    background: var(--accent-red);
    width: 95%;
}

.skill-progress.research {
    background: var(--primary-orange-light);
    width: 85%;
}

.skill-progress.leadership {
    background: var(--accent-green);
    width: 88%;
}

/* Goals Section */
.goals-list {
    list-style: none;
}

.goals-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-light-gray);
    display: flex;
    align-items: center;
}

.goals-list li:before {

    margin-right: 10px;
    font-size: 1.2em;
}

/* Volunteering Grid */
.volunteering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.volunteer-item {
    background: var(--primary-orange-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: var(--neutral-white);
    position: relative;
}


.volunteer-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.interest-item {
    height: 150px;
    
    border-radius: 15px;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* No Poverty */
.interests-grid a:nth-child(1) .interest-item {
    background-image: url('../img/profile/no-poverty.png');
    
}

/* Zero Hunger */
.interests-grid a:nth-child(2) .interest-item {
    background-image: url('../img/profile/zero-hunger.png');
}

/* Good Health */
.interests-grid a:nth-child(3) .interest-item {
    background-image: url('../img/profile/good-health.png');
}

/* Quality Education */
.interests-grid a:nth-child(4) .interest-item {
    background-image: url('../img/profile/quality-education.png');
}

/* Clean Water */
.interests-grid a:nth-child(5) .interest-item {
    background-image: url('../img/profile/clean-water.png');
}

/* Partnerships */
.interests-grid a:nth-child(6) .interest-item {
    background-image: url('../img/profile/partnership.png');
}


.interest-item:hover {
    transform: scale(1.05);
}



/* Calendar */
.calendar {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.calendar th,
.calendar td {
    border: 1px solid var(--neutral-light-gray);
    padding: 12px;
    text-align: center;
}

.calendar th {
    background: var(--primary-orange);
    color: var(--neutral-white);
    font-weight: bold;
}

.calendar .available {
    background: #d5f4e6;
    color: var(--accent-green);
    font-weight: bold;
}

.calendar .busy {
    background: #fadbd8;
    color: var(--accent-red);
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary-blue);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--neutral-light-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 20px;
}

fieldset {
    border: 2px solid #FFB84D;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

legend {
    padding: 0 10px;
    font-weight: bold;
    color: var(--secondary-blue);
    font-size: 1.5rem;
}

label {
    
    display: block;
    margin-top: 1rem;
    font-weight: 500;
}


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

    .two-column {
        grid-template-columns: 1fr;
    }

    .volunteering-grid,
    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}