/* MGC Safety Nets - About Page Styles */

.about-content-section {
    padding: 80px 0;
    background: var(--light-color);
}

.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-text h2 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Our Story Timeline */
.our-story {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.our-story h2 {
    font-size: 36px;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-year {
    order: 2;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-year {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 50px;
}

.timeline-item:nth-child(even) .timeline-year {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
}

.timeline-content {
    padding-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 50px;
    padding-right: 0;
}

.timeline-content h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.mission, .vision {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.mission .icon, .vision .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.mission h3, .vision h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.mission p, .vision p {
    color: #666;
    line-height: 1.8;
}

/* Core Values */
.core-values {
    margin-bottom: 80px;
}

.core-values h2 {
    font-size: 36px;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Why Choose */
.why-choose {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.why-choose h2 {
    font-size: 36px;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.choose-item {
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.choose-item h4 {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 10px;
}

.choose-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Service Areas */
.service-areas {
    margin-bottom: 80px;
}

.service-areas h2 {
    font-size: 36px;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.area-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.area-card h3 {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 15px;
}

.area-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
    text-align: center;
}

.team-section h2 {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.team-intro {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat {
    padding: 30px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Certifications */
.certifications {
    margin-bottom: 40px;
}

.certifications h2 {
    font-size: 36px;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 50px;
}

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

.cert-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cert-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.cert-item h4 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.cert-item p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-year {
        padding-left: 70px;
        justify-content: flex-start !important;
        padding-right: 0 !important;
    }
    
    .timeline-content {
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-content-section {
        padding: 50px 0;
    }
    
    .intro-text h2,
    .our-story h2,
    .core-values h2,
    .why-choose h2,
    .service-areas h2,
    .team-section h2,
    .certifications h2 {
        font-size: 28px;
    }
    
    .our-story,
    .why-choose,
    .team-section {
        padding: 40px 25px;
    }
    
    .mission, .vision {
        padding: 35px 25px;
    }
    
    .values-grid,
    .choose-grid,
    .areas-grid,
    .team-stats,
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-year {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .timeline-year {
        font-size: 28px;
        padding-left: 50px;
    }
    
    .timeline-content {
        padding-left: 50px !important;
    }
    
    .timeline::before {
        left: 20px;
    }
}