/* About Us Page Styles */

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
}

/* Mobile-only layout fixes */
@media (max-width: 768px) {
    .about-us-container {
        margin: 0 auto !important;
        padding: 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    .about-hero {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-section {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
}

/* Hero Section */
.about-hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #ffffff;
}

.about-hero h1 i {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Section Styles */
.about-section {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
    color: #1e293b;
    font-size: 2.25rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #1e40af);
    border-radius: 2px;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-icon {
    text-align: center;
    margin-bottom: 20px;
}

.section-icon i {
    font-size: 3rem;
    color: #2563EB;
    background: #ffffff;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
}

/* Redesigned contact cards for About page (reuse contact styles) */
.about-section.contact-section.redesigned-contact .redesigned-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.about-section.contact-section .redesigned-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #eef3f8;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}
.about-section.contact-section .contact-card-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef6ff;
    color: #2563EB;
    font-size: 20px;
}
.about-section.contact-section .contact-card-body h3 { margin: 0; font-size: 1.05rem; }
.about-section.contact-section .contact-card-body p { margin: 0; color: #64748b; }
/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2563EB;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2.5rem;
    color: #2563EB;
    background: #eef6ff;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    color: #1e293b;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #2563EB;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.08);
}

.value-card i {
    font-size: 2rem;
    color: #2563EB;
    margin-bottom: 15px;
}

.value-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.value-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-us-container {
        padding: 20px 15px;
    }
    /* Center service cards on mobile for better single-column presentation */
    .about-section.services-section .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .about-section.services-section .services-grid .service-card {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
}

