/* About Page Styles */
.about-page-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-page-wrapper {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.about-page-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.about-page-wrapper .hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.about-page-wrapper .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-page-wrapper .hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
}

.about-page-wrapper .hero-content p {
    margin-bottom: 1.2rem;
    color: #475569;
    font-size: 1.1rem;
}

.about-page-wrapper .hero-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.about-page-wrapper .hero-image-placeholder {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 8rem;
    transition: transform 0.5s ease;
}

.about-page-wrapper .hero-image:hover .hero-image-placeholder {
    transform: scale(1.05);
}

/* Mission & Vision - FIXED FOR MOBILE */
.about-page-wrapper .mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-page-wrapper .mission,
.about-page-wrapper .vision {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-page-wrapper .mission:hover,
.about-page-wrapper .vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.about-page-wrapper .mission-icon,
.about-page-wrapper .vision-icon {
    width: 80px;
    height: 80px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2563eb;
    font-size: 2.5rem;
}

.about-page-wrapper .mission h2,
.about-page-wrapper .vision h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
}

.about-page-wrapper .mission p,
.about-page-wrapper .vision p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

/* Values Section */
.about-page-wrapper .values-section {
    margin-bottom: 4rem;
}

.about-page-wrapper .values-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-page-wrapper .values-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
}

.about-page-wrapper .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-page-wrapper .value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-page-wrapper .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.about-page-wrapper .value-icon {
    width: 70px;
    height: 70px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2563eb;
    font-size: 2rem;
}

.about-page-wrapper .value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.3;
}

.about-page-wrapper .value-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.about-page-wrapper .stats-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    color: white;
}

.about-page-wrapper .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.about-page-wrapper .stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.about-page-wrapper .stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Team Section */
.about-page-wrapper .team-section {
    margin-bottom: 4rem;
}

.about-page-wrapper .team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-page-wrapper .team-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
}

.about-page-wrapper .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-page-wrapper .team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-page-wrapper .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.about-page-wrapper .team-img {
    height: 200px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 5rem;
    flex-shrink: 0;
}

.about-page-wrapper .team-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-page-wrapper .team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.about-page-wrapper .team-info p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.about-page-wrapper .team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.about-page-wrapper .team-social a {
    width: 35px;
    height: 35px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-page-wrapper .team-social a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.about-page-wrapper footer {
    text-align: center;
    padding: 2rem 0;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.about-page-wrapper .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-page-wrapper .social-link {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-page-wrapper .social-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design - IMPROVED */
@media (max-width: 992px) {
    .about-page-wrapper .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-page-wrapper .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-page-wrapper .hero-image {
        height: 300px;
        order: -1;
    }
    
    .about-page-wrapper .hero-image-placeholder {
        font-size: 6rem;
    }
    
    .about-page-wrapper .mission,
    .about-page-wrapper .vision {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-page-wrapper .container {
        padding: 1.5rem;
    }
    
    .about-page-wrapper .hero-content h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-page-wrapper .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-page-wrapper .hero-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .about-page-wrapper .mission,
    .about-page-wrapper .vision {
        padding: 1.5rem;
    }
    
    .about-page-wrapper .mission h2,
    .about-page-wrapper .vision h2 {
        font-size: 1.5rem;
    }
    
    .about-page-wrapper .mission p,
    .about-page-wrapper .vision p {
        font-size: 1rem;
    }
    
    .about-page-wrapper .values-grid,
    .about-page-wrapper .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-page-wrapper .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-page-wrapper .value-card {
        padding: 1.5rem;
    }
    
    .about-page-wrapper .value-card h3 {
        font-size: 1.2rem;
    }
    
    .about-page-wrapper .value-card p {
        font-size: 0.95rem;
    }
    
    .about-page-wrapper .team-section h2,
    .about-page-wrapper .values-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-page-wrapper .container {
        padding: 1rem;
    }
    
    .about-page-wrapper .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-page-wrapper .hero-image {
        height: 250px;
    }
    
    .about-page-wrapper .hero-image-placeholder {
        font-size: 4rem;
    }
    
    .about-page-wrapper .mission,
    .about-page-wrapper .vision {
        padding: 1.25rem;
    }
    
    .about-page-wrapper .mission h2,
    .about-page-wrapper .vision h2 {
        font-size: 1.3rem;
    }
    
    .about-page-wrapper .mission p,
    .about-page-wrapper .vision p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about-page-wrapper .mission-icon,
    .about-page-wrapper .vision-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .about-page-wrapper .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-page-wrapper .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .about-page-wrapper .stat-item p {
        font-size: 1rem;
    }
    
    .about-page-wrapper .stats-section {
        padding: 2.5rem 1rem;
    }
    
    .about-page-wrapper .value-card {
        padding: 1.25rem;
    }
    
    .about-page-wrapper .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-page-wrapper .value-card h3 {
        font-size: 1.1rem;
    }
    
    .about-page-wrapper .value-card p {
        font-size: 0.9rem;
    }
    
    .about-page-wrapper .team-img {
        height: 180px;
        font-size: 4rem;
    }
    
    .about-page-wrapper .team-info {
        padding: 1.25rem;
    }
    
    .about-page-wrapper .team-info h3 {
        font-size: 1.1rem;
    }
    
    .about-page-wrapper .team-info p {
        font-size: 0.85rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 360px) {
    .about-page-wrapper .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .about-page-wrapper .hero-content p {
        font-size: 0.95rem;
    }
    
    .about-page-wrapper .mission h2,
    .about-page-wrapper .vision h2 {
        font-size: 1.2rem;
    }
    
    .about-page-wrapper .mission p,
    .about-page-wrapper .vision p {
        font-size: 0.9rem;
    }
    
    .about-page-wrapper .value-card h3 {
        font-size: 1rem;
    }
    
    .about-page-wrapper .value-card p {
        font-size: 0.85rem;
    }
}