/* Main container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* H1 Styling for About Us Page */
.about-title {
    color: #2c3e50;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #3498db;
}

/* About intro section */
.about-intro {
    margin-bottom: 3rem;
}

.about-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.mission,
.vision {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid #4CAF50;
}

.mission h2,
.vision h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Features section */
.features {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.features h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
}

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

.feature-card {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

/* Team section */
.team-section {
    margin: 3rem 0;
}

.team-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.team-description {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.role {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-member p {
    color: #666;
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 1.6em;
    background: linear-gradient(135deg, #4cafaf 0%, #32475d 100%);
    border-radius: 10px;
    color: white;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: white;
    color: #4CAF50;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.2rem;
    }

    .mission-vision {
        flex-direction: column;
    }

    .stats-container {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 1rem;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .team-grid,
    .testimonial-container {
        grid-template-columns: 1fr;
    }
}