/* =========================================================
   ABOUT PAGE — OUR CORE SERVICES
   Final reference-matched CSS
   ========================================================= */

.our-core-services-about {
    position: relative;
    overflow: hidden;
    padding: 88px 0 76px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f8fcff 100%);
}

.our-core-services-about .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
}

/* ---------- Background decoration ---------- */

.our-core-services-about__shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.our-core-services-about__shape--left {
    width: 330px;
    height: 330px;
    left: -145px;
    top: -175px;
    background: #e7f3ff;
}

.our-core-services-about__shape--right {
    width: 260px;
    height: 260px;
    right: -125px;
    bottom: -160px;
    background: #edf7ff;
}

/* Dotted decoration */

.our-core-services-about::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 145px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(circle, #cfe5fb 2px, transparent 3px);
    background-size: 18px 18px;
    opacity: .85;
    pointer-events: none;
}

.our-core-services-about::after {
    content: "";
    position: absolute;
    right: 55px;
    top: 20px;
    width: 180px;
    height: 95px;
    background-image: radial-gradient(circle, #d8eafb 2px, transparent 3px);
    background-size: 22px 22px;
    opacity: .85;
    pointer-events: none;
}

/* ---------- Header ---------- */

.our-core-services-about__header {
    max-width: 1120px;
    margin: 0 auto 42px;
    text-align: center;
}

.our-core-services-about__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #116bea;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.our-core-services-about__badge span {
    width: 39px;
    height: 2px;
    display: block;
    border-radius: 10px;
    background: #1674ef;
}

.our-core-services-about__header h2 {
    max-width: 1080px;
    margin: 0 auto 13px;
    color: #091b3b;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.our-core-services-about__header p {
    max-width: 1000px;
    margin: 0 auto;
    color: #4a5e7b;
    font-size: 19px;
    line-height: 1.48;
}

/* ---------- Service grid ---------- */

.our-core-services-about__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.our-core-services-about__card {
    position: relative;
    min-width: 0;
    min-height: 263px;
    padding: 28px 28px 33px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf1f6;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(30, 76, 128, .08);
    transition: transform .28s ease, box-shadow .28s ease;
}

.our-core-services-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(30, 76, 128, .14);
}

.our-core-services-about__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    border-radius: 0 0 18px 18px;
    background: #1675ef;
}

.our-core-services-about__card-inner {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    min-height: 195px;
}

.our-core-services-about__content {
    min-width: 0;
}

/* ---------- Service visual ---------- */

.our-core-services-about__icon {
    position: relative;
    width: 158px;
    height: 158px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    background: #eaf4ff;
    color: #2369d5;
    font-size: 61px;
}

.our-core-services-about__icon::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
}

.our-core-services-about__icon i {
    position: relative;
    z-index: 1;
}

/* Service colors */

.service-card-1 .our-core-services-about__icon {
    background: #eaf4ff;
    color: #176fe8;
}

.service-card-2 .our-core-services-about__icon {
    background: #fff1e5;
    color: #ff851c;
}

.service-card-3 .our-core-services-about__icon {
    background: #eaf7ff;
    color: #0879bd;
}

.service-card-4 .our-core-services-about__icon {
    background: #e8faf1;
    color: #0bb66b;
}

.service-card-5 .our-core-services-about__icon {
    background: #edf5ff;
    color: #f03949;
}

.service-card-6 .our-core-services-about__icon {
    background: #f0ebff;
    color: #7040e5;
}

.service-card-1::after,
.service-card-3::after {
    background: #1675ef;
}

.service-card-2::after {
    background: #ff7d18;
}

.service-card-4::after {
    background: #0bb56a;
}

.service-card-5::after {
    background: #f43745;
}

.service-card-6::after {
    background: #7040e5;
}

/* ---------- Service content ---------- */

.our-core-services-about__card h3 {
    margin: 0 0 11px;
    color: #0a1c3d;
    font-size: 25px;
    line-height: 1.17;
    font-weight: 800;
}

.our-core-services-about__card p {
    margin: 0 0 17px;
    color: #475d7c;
    font-size: 16px;
    line-height: 1.48;
}

.our-core-services-about__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 0 18px;
    border-radius: 8px;
    background: #1479ed;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 7px 17px rgba(20, 121, 237, .18);
    transition: transform .22s ease, box-shadow .22s ease;
}

.our-core-services-about__link:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20, 121, 237, .27);
}

.service-card-2 .our-core-services-about__link {
    background: #ff7d18;
}

.service-card-4 .our-core-services-about__link {
    background: #0bb56a;
}

.service-card-5 .our-core-services-about__link {
    background: #f43745;
}

.service-card-6 .our-core-services-about__link {
    background: #7040e5;
}

.our-core-services-about__link i {
    font-size: 13px;
    transition: transform .2s ease;
}

.our-core-services-about__link:hover i {
    transform: translateX(3px);
}

/* ---------- Stats ---------- */

.our-core-services-about__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 36px;
    padding: 13px 0;
    border-top: 1px solid #d9e5f1;
    border-bottom: 1px solid #d9e5f1;
}

.our-core-services-about__stat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 68px;
    padding: 7px 20px;
}

.our-core-services-about__stat + .our-core-services-about__stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 1px;
    height: 48px;
    background: #cedce9;
}

.our-core-services-about__stat-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1d4e80;
    background: #f0f6ff;
    font-size: 26px;
}

.our-core-services-about__stat-content strong {
    display: block;
    margin-bottom: 3px;
    color: #153a65;
    font-size: 25px;
    line-height: 1.05;
    font-weight: 800;
}

.our-core-services-about__stat-content span {
    display: block;
    color: #172f50;
    font-size: 15px;
    line-height: 1.25;
}

/* ---------- CTA ---------- */

.our-core-services-about__cta {
    position: relative;
    overflow: hidden;
    margin-top: 29px;
    padding: 28px 38px;
    border-radius: 18px;
    background: linear-gradient(105deg, #086de7 0%, #1788f4 100%);
    box-shadow: 0 14px 31px rgba(12, 108, 232, .20);
}

.our-core-services-about__cta::before,
.our-core-services-about__cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.our-core-services-about__cta::before {
    width: 180px;
    height: 180px;
    left: 40%;
    top: -115px;
}

.our-core-services-about__cta::after {
    width: 135px;
    height: 135px;
    right: 5%;
    bottom: -92px;
}

.our-core-services-about__cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 23px;
}

.our-core-services-about__cta-icon {
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 65, 170, .25);
    color: #ffffff;
    font-size: 23px;
}

.our-core-services-about__cta-text {
    flex: 1;
    min-width: 0;
}

.our-core-services-about__cta-text h3 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.our-core-services-about__cta-text p {
    margin: 0;
    color: rgba(255,255,255,.91);
    font-size: 16px;
    line-height: 1.5;
}

.our-core-services-about__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 285px;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 10px;
    background: #ffffff;
    color: #10233f !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: transform .22s ease, box-shadow .22s ease;
}

.our-core-services-about__button:hover {
    color: #10233f !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(0,0,0,.14);
}

/* ---------- Tablet ---------- */

@media (max-width: 1199.98px) {
    .our-core-services-about .container {
        max-width: 1140px;
    }

    .our-core-services-about__card {
        padding: 25px 22px 31px;
    }

    .our-core-services-about__card-inner {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 17px;
    }

    .our-core-services-about__icon {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }

    .our-core-services-about__card h3 {
        font-size: 22px;
    }

    .our-core-services-about__card p {
        font-size: 14px;
    }

    .our-core-services-about__link {
        min-height: 41px;
        font-size: 14px;
    }
}

/* ---------- Small tablet ---------- */

@media (max-width: 991.98px) {
    .our-core-services-about {
        padding: 75px 0 63px;
    }

    .our-core-services-about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .our-core-services-about__card {
        min-height: 270px;
    }

    .our-core-services-about__card-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 17px;
        min-height: 210px;
    }

    .our-core-services-about__icon {
        width: 105px;
        height: 105px;
        font-size: 43px;
    }

    .our-core-services-about__link {
        margin-left: auto;
        margin-right: auto;
    }

    .our-core-services-about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .our-core-services-about__stat:nth-child(3)::before {
        display: none;
    }

    .our-core-services-about__stat:nth-child(3),
    .our-core-services-about__stat:nth-child(4) {
        border-top: 1px solid #d9e5f1;
    }

    .our-core-services-about__cta-content {
        flex-wrap: wrap;
    }

    .our-core-services-about__button {
        margin-left: 82px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 767.98px) {
    .our-core-services-about {
        padding: 60px 0 52px;
    }

    .our-core-services-about::before,
    .our-core-services-about::after {
        display: none;
    }

    .our-core-services-about__header {
        margin-bottom: 34px;
    }

    .our-core-services-about__badge {
        font-size: 13px;
        gap: 9px;
    }

    .our-core-services-about__badge span {
        width: 27px;
    }

    .our-core-services-about__header h2 {
        font-size: 32px;
        letter-spacing: -.8px;
    }

    .our-core-services-about__header p {
        font-size: 15px;
        line-height: 1.65;
    }

    .our-core-services-about__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .our-core-services-about__card {
        min-height: 0;
        padding: 23px 20px 28px;
    }

    .our-core-services-about__card-inner {
        grid-template-columns: 100px minmax(0, 1fr);
        align-items: center;
        text-align: left;
        gap: 17px;
        min-height: 145px;
    }

    .our-core-services-about__icon {
        width: 95px;
        height: 95px;
        margin: 0;
        font-size: 38px;
    }

    .our-core-services-about__card h3 {
        font-size: 20px;
    }

    .our-core-services-about__card p {
        font-size: 14px;
        line-height: 1.55;
    }

    .our-core-services-about__link {
        margin-left: 0;
        min-height: 40px;
        padding: 0 15px;
        font-size: 13px;
    }

    .our-core-services-about__stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 27px;
    }

    .our-core-services-about__stat {
        gap: 8px;
        padding: 12px 8px;
    }

    .our-core-services-about__stat + .our-core-services-about__stat::before {
        display: none;
    }

    .our-core-services-about__stat-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 18px;
    }

    .our-core-services-about__stat-content strong {
        font-size: 20px;
    }

    .our-core-services-about__stat-content span {
        font-size: 11px;
    }

    .our-core-services-about__cta {
        margin-top: 24px;
        padding: 23px 19px;
    }

    .our-core-services-about__cta-content {
        align-items: flex-start;
        gap: 14px;
    }

    .our-core-services-about__cta-icon {
        width: 49px;
        height: 49px;
        flex-basis: 49px;
        font-size: 19px;
    }

    .our-core-services-about__cta-text h3 {
        font-size: 20px;
    }

    .our-core-services-about__cta-text p {
        font-size: 14px;
    }

    .our-core-services-about__button {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
}

/* ---------- Very small mobile ---------- */

@media (max-width: 479.98px) {
    .our-core-services-about__card-inner {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 13px;
    }

    .our-core-services-about__icon {
        width: 80px;
        height: 80px;
        font-size: 31px;
    }

    .our-core-services-about__card h3 {
        font-size: 18px;
    }

    .our-core-services-about__card p {
        font-size: 13px;
    }

    .our-core-services-about__stats {
        grid-template-columns: 1fr;
    }

    .our-core-services-about__stat {
        justify-content: center;
    }

    .our-core-services-about__stat + .our-core-services-about__stat {
        border-top: 1px solid #d9e5f1;
    }
}
