/* About Us — scoped so Bootstrap .card / global styles stay untouched */

body:has(.page-about) {
    background: #ffffff !important;
}

.page-about {
    font-family: Poppins, system-ui, sans-serif;
    color: #333;
    background: #ffffff;
}

/* Full-width banner; negative margin aligns with fixed header like Contact */
.page-about .about-banner {
    width: 100%;
    margin-top: -20px;
}

@media (min-width: 992px) {
    .page-about .about-banner {
        margin-top: -26px;
    }
}

.page-about .about-banner img,
.page-about .about-banner__img {
    display: block;
    max-height: 360px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.page-about .about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    padding-left: 20px;
    border-left: 4px solid #003366;
}

.page-about .team-card {
    background: transparent;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.page-about .team-card img {
    width: 220px;
    height: 316px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-about .read-more-btn {
    padding: 8px 16px;
    background: #1e9bdb !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.page-about .read-more-btn:hover {
    background: #1489b8 !important;
    color: #fff !important;
}

.page-about .btn.btn-primary.read-more-btn,
.page-about .btn.btn-primary.read-more-btn:hover {
    background: #1e9bdb !important;
    border-color: #1e9bdb !important;
    color: #ffffff !important;
}

.page-about .modal-body {
    min-height: 400px;
}

.page-about .modal-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-about .modal-content-custom {
    max-height: 90vh;
    overflow-y: auto;
}

.page-about .why-choose-us {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #ffffff;
}

.page-about .why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #111827;
}

@media (max-width: 600px) {
    .page-about .why-choose-us h2 {
        font-size: 2rem;
    }
}

.page-about .about-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}

.page-about .about-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #dbeafe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.page-about .about-feature-card.blue {
    border-color: #2563eb;
}

.page-about .about-feature-card.cyan {
    border-color: #0891b2;
}

.page-about .about-feature-card.red {
    border-color: #dc2626;
}

.page-about .about-feature-card.green {
    border-color: #16a34a;
}

.page-about .about-feature-card h3 {
    color: #222;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.page-about .about-feature-card .subheading {
    font-weight: 700;
    color: #555;
    margin-bottom: 15px;
}

.page-about .about-feature-card p {
    font-size: 15px;
    color: #333;
    margin-top: 0;
    margin-bottom: 0;
    flex-grow: 1;
}

.page-about .section-block {
    padding: 50px 20px;
    margin: 20px auto;
    border-radius: 15px;
}

.page-about .section-block h2 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.page-about .section-block p,
.page-about .section-block li {
    font-size: 1.1rem;
    line-height: 1.7;
}

.page-about .icon-img {
    max-width: 100%;
    height: 250px;
    object-fit: contain;
}
