/* About Page Specific Styles */

/* Mission & Vision Section */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.mission-card,
.vision-card {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mission-card h3,
.vision-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.mission-card p,
.vision-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* History Timeline Section */
.history-section {
    background-color: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 4px;
    background-color: var(--primary);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    width: 100px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    padding-right: 30px;
    flex-shrink: 0;
}

.timeline-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    border: 4px solid var(--primary);
    transform: translateX(-50%);
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--dark);
}

.member-title {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--gray);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.value-icon img {
    width: 40px;
    height: 40px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Global Presence Section */
.locations-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.location p {
    color: var(--gray);
    margin-bottom: 5px;
}

.location p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .locations-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        width: 60px;
        font-size: 18px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        margin-bottom: 10px;
    }
    
    .timeline-content::before {
        top: -30px;
        left: 20px;
    }
}