/* About Page Styles */

/* Value Items */
.value-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.value-item:hover {
    transform: translateY(-5px);
}

/* Mission Section */
.mission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--bs-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-width: 60px;
}

/* Team Circles */
.team-image .rounded-circle {
    border: 3px solid var(--gold);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
}

.team-image .rounded-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-image:hover .rounded-circle {
    transform: scale(1.05);
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Ensure consistent spacing in team cards */
.team-card .team-image {
    margin-bottom: 1rem;
}

.team-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.team-card .text-white-50.mb-2 {
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
}

.team-card .small.text-white-50 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

.team-card .social-links {
    margin-top: auto;
    padding-bottom: 1rem;
}

/* Timeline */
.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-gold);
    border: 4px solid var(--bs-dark);
    position: absolute;
    left: 0;
    transform: translateX(-50%);
}

.timeline-content {
    border-left: 2px solid var(--bs-gold);
    padding-left: 2rem;
    margin-bottom: 2rem;
}

/* Impact Stats */
.impact-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.impact-stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-gold);
    margin-bottom: 1rem;
}

/* Partners Section */
.partner-logo {
    height: 100px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Overview section - fix mobile overlap */
.overview {
    margin-top: -12rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview {
        margin-top: -12rem;
    }
    
    .mission-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .team-card {
        min-height: 350px;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .overview {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0.5rem !important;
    }
    
    .value-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .value-item i {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
    
    .mission-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .mission-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .team-card {
        min-height: auto;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .team-image .rounded-circle {
        width: 120px;
        height: 120px;
    }
    
    .team-card h3 {
        font-size: 1rem;
    }
    
    .impact-stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .partner-logo {
        height: 80px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .overview {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0.5rem !important;
    }
    
    .value-item {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .mission-card {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .mission-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .team-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .team-image .rounded-circle {
        width: 100px;
        height: 100px;
        margin: 0 auto 0.8rem;
    }
    
    .team-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .team-card .text-white-50.mb-2 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem !important;
    }
    
    .team-card .small.text-white-50 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .impact-stat {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .partner-logo {
        height: 70px;
    }
    
    .timeline-content {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .value-item {
        padding: 0.5rem;
    }
    
    .mission-card {
        padding: 0.8rem;
    }
    
    .team-card {
        padding: 0.6rem;
    }
    
    .team-image .rounded-circle {
        width: 90px;
        height: 90px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .partner-logo {
        height: 60px;
    }
}