/* Enhanced team member styles with professional and modern design */
.about-page {
    background: linear-gradient(
        135deg, 
        rgba(26, 95, 122, 0.05), 
        rgba(26, 95, 122, 0.1)
    );
    min-height: 100vh;
    padding-bottom: 50px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right, 
        rgba(26, 95, 122, 0.05), 
        rgba(26, 95, 122, 0.1)
    );
    opacity: 0.7;
    z-index: -1;
}

.about-page {
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.section-divider {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(
        to right, 
        var(--primary-color), 
        var(--secondary-color)
    );
}

.about-section {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 15px 40px rgba(26, 95, 122, 0.1),
        0 0 20px rgba(212, 175, 55, 0.05);
    transition: all 0.4s ease;
}

.about-section:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 50px rgba(26, 95, 122, 0.15),
        0 0 30px rgba(212, 175, 55, 0.1);
}

.about-content {
    line-height: 1.8;
    color: var(--text-color);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.values-list li {
    background-color: rgba(26, 95, 122, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.values-list li:hover {
    background-color: rgba(26, 95, 122, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(26, 95, 122, 0.1),
        0 0 20px rgba(212, 175, 55, 0.05);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 50px rgba(26, 95, 122, 0.15),
        0 0 30px rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
}

.team-member-image {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        135deg, 
        rgba(26, 95, 122, 0.05), 
        rgba(212, 175, 55, 0.05)
    );
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member-card:hover .team-member-image img {
    transform: scale(1.1);
}

.placeholder-avatar {
    width: 150px;
    height: 150px;
    transition: transform 0.4s ease;
}

.team-member-card:hover .placeholder-avatar {
    transform: scale(1.1);
}

.team-member-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-member-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.team-member-info p {
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.partners-section .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.partners-section .partner-item {
    background-color: rgba(26, 95, 122, 0.05);
    padding: 20px;
    text-align: center;
    color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partners-section .partner-item:hover {
    background-color: rgba(26, 95, 122, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-section {
        padding: 20px;
    }

    .team-members-grid,
    .values-list,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}