/* Modern about section */

.about-modern {
    padding: 96px 0;
    background: #fff;
    overflow: hidden;
}

.about-modern .section-title {
    margin: 0 0 24px;
}

.about-modern .section-title h5 {
    color: #07294d;
}

.about-modern .section-title h2 {
    max-width: 560px;
    color: #071f3b;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    padding-top: 14px;
}

.about-modern .about-cont p {
    max-width: 560px;
    color: #344154;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-modern .about-highlights {
    display: grid;
    gap: 10px;
    margin: 28px 0 30px;
}

.about-modern .about-highlights span {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 16px 0 42px;
    border: 1px solid #e7edf3;
    border-radius: 6px;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
}

.about-modern .about-highlights span::before {
    content: '';
    position: absolute;
    left: 16px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8dc16a;
}

.about-modern .main-btn {
    border-radius: 5px;
    line-height: 50px;
    padding: 0 34px;
}

.about-modern .about-media {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(7, 41, 77, 0.16);
    background: #07294d;
}

.about-modern .about-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(7, 41, 77, 0.82) 100%);
}

.about-modern .about-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.about-modern .about-media-note {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    max-width: 430px;
    padding: 18px 20px;
    border-left: 4px solid #8dc16a;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 6px;
}

.about-modern .about-media-note strong {
    display: block;
    color: #07294d;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.about-modern .about-media-note span {
    margin-top: 6px;
    color: #344154;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .about-modern {
        padding: 72px 0;
    }

    .about-modern .about-media {
        margin-top: 44px;
        min-height: 430px;
    }

    .about-modern .about-media img {
        min-height: 430px;
    }
}

@media (max-width: 575.98px) {
    .about-modern {
        padding: 56px 0;
    }

    .about-modern .section-title h2 {
        font-size: 31px;
    }

    .about-modern .about-cont p {
        font-size: 15px;
    }

    .about-modern .about-media {
        min-height: 360px;
    }

    .about-modern .about-media img {
        min-height: 360px;
    }

    .about-modern .about-media-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 14px 16px;
    }
}
