:root {
  --primary-bg-color: #10355605; 
}



.about-page .about-hero--banner {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 15px 40px;
    border: 1px solid #cfd6de;
    background-color: #133757;
    background-image:
        linear-gradient(90deg, rgba(2, 28, 56, 0.92) 0%, rgba(11, 49, 82, 0.88) 45%, rgba(19, 55, 87, 0.58) 100%),
        url('/theme/images/about-hero.jpg');
    background-size: cover;
    background-position: center center;
    margin-bottom: 30px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}


.about-page .about-hero--banner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.about-page .about-hero--banner .inpagehead {
    color: #fff;
    min-height:auto;
}

.about-hero__content--banner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.about-page-title {
    font-size: 44px;
    line-height: 1.12;
    margin-bottom: 18px;
    color: #fff;
    font-family: OpenSans-Bold;
}

.about-page-title:after {
    content: "";
    display: block;
    width: 210px;
    height: 3px;
    margin-top: 14px;
    background: #7d1315;
}

.about-hero__content--banner p {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.92);
}

.about-hero__content--banner p:last-child {
    margin-bottom: 0;
}

/* optional small trust row under text */
.about-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.about-hero__badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #fff;
    opacity: 0.95;
}

.about-hero__badge i {
    color: #f0a33a;
    margin-right: 8px;
}

/* keep the rest of the page styling */
.about-section {
    margin-top: 50px;
}

.about-section__head {
    margin-bottom: 28px;
}

.about-section-title {
    font-size: 26px;
    margin-bottom: 18px;
    color: #022a4d;
    position: relative;
    display: inline-block;
}
.about-section-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #7d1315;
    margin: 8px auto 0;
}

.about-section__head p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #022a4d;
}

.about-card,
.about-value-card,
.about-journey__item,
.about-contact__card,
.about-certificates__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d9dee5;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.10);
}

.about-card p {
    margin-top: auto;
}

.intro-heading {
    font-size: 21px;
    font-weight: bold;
    
    margin-bottom: 1em;
}

.about-card,
.about-intro,
.about-value-card,
.about-journey__item {
    background: #fff;
    padding: 24px 20px;
    height: 100%;
}

.about-card:hover,
.about-value-card:hover,
.about-journey__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.20);
}

.about-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #133757;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1;
}

.about-card h3,
.about-value-card__content h3,
.about-journey__item h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #022a4d;
}

.about-card p,
.about-value-card__content p,
.about-journey__item p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
    color: #022a4d;
}

.about-value-card {
    position: relative;
    padding-top: 52px;
}

.about-value-card__number {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 11px;
    font-family: OpenSans-Bold;
    color: #7d1315;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-contact__card {
    padding: 28px;
    border-top: 3px solid #133757;
}

.about-contact__info {
    padding-right: 20px;
}

.about-contact__row {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.about-contact__row strong {
    font-family: OpenSans-Bold;
    color: #022a4d;
    margin-right: 4px;
}

.about-contact__row a {
    color: #022a4d;
}

.about-contact__row a:hover {
    color: #7d1315;
}

.about-contact__hours {
    margin-top: 18px;
}

.about-contact__hours strong {
    display: block;
    margin-bottom: 10px;
    color: #022a4d;
}

.about-contact__hours ul {
    margin: 0;
    padding: 0;
}

.about-contact__hours li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #e8ebef;
    font-size: 14px;
    line-height: 1.5;
}

.about-contact__hours li:last-child {
    border-bottom: 0;
}

.about-contact__actions {
    margin-top: 22px;
}

.about-contact__actions .btn-default {
    margin: 0;
    display: inline-block;
    min-width: 150px;
}

.about-contact__map {
    height: 100%;
    min-height: 260px;
    background: #f5f6f8;
    border: 1px solid #d9dee5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-contact__map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .about-page .about-hero--banner {
        min-height: 220px;
        padding: 40px 24px;
    }

    .about-page-title {
        font-size: 34px;
    }

    .about-section-title {
        font-size: 22px;
    }

    .about-contact__card {
        padding: 22px;
    }

    .about-contact__info {
        padding-right: 0;
    }

    .about-contact__map {
        min-height: 220px;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .about-page .about-hero--banner {
        min-height: 0;
        padding: 30px 18px;
        background-position: center;
    }

    .about-page-title {
        font-size: 27px;
    }

    .about-page-title:after {
        width: 140px;
    }

    .about-hero__content--banner p {
        font-size: 14px;
    }

    .about-section {
        margin-top: 38px;
    }

    .about-section-title {
        font-size: 20px;
    }

    .about-card,
    .about-value-card,
    .about-journey__item {
        padding: 20px 16px;
    }

    .about-card h3,
    .about-value-card__content h3,
    .about-journey__item h3 {
        font-size: 17px;
    }

    .about-value-card {
        padding-top: 46px;
    }

    .about-value-card__number {
        left: 16px;
    }

    .about-contact__card {
        padding: 18px;
    }

    .about-contact__hours li {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}