@media (max-width: 1400px) {
    .main_menu ul li a {
        padding: 20px 15px;
    }

    li.gap_box {
        width: 0;
    }

    .top_header {
        padding: 0;
    }
}

@media (max-width: 1200px) {
    .sub-banner-content p {
        font-size: 18px;
        line-height: 30px;
        max-width: 380px;
        color: #fff;
    }

    .sub-banner {
        background-size: auto;
    }

    .a-p-details p {
        max-width: 700px;
    }

    .testimonial-slider-box h5 {
        font-size: 24px;
    }

    .main_menu ul li a {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .sub-banner {
        height: 300px;
        background-size: contain;
        background-position: right;
    }

    .sub-banner-content {
        min-height: 300px;
    }

    .sub-banner-content h1 {
        font-size: 38px;
    }

    .sub-banner-content p {
        font-size: 16px;
    }

    .white-btn {
        width: 110px;
        font-size: 13px;
    }

    .about-news-media-left {
        padding: 25px;
        border-radius: 12px 12px 0 0;
    }

    .about-news-media-right {
        border-radius: 0 0 12px 12px;
    }

    .about-news-media-right img {
        height: auto !important;
    }

    .l-assurance-bottom h4 {
        font-size: 24px;
    }

    .leadership-model-inner-details p,
    .leadership-model-list li {
        font-size: 16px;
    }

    .f-at-glance .uphold-box h5 {
        font-size: 20px;
    }

    .f-at-glance .uphold-box p {
        font-size: 16px;
    }

    .uganda-search-result .a-p-details h6 {
        font-size: 24px;
    }

    .a-p-details p {
        max-width: 500px;
    }

    .self-service-two .ps-lg-0 .about-news-media-left.r-radious {
        border-radius: 32px 32px 0 0;
    }

    .self-service-two .pe-lg-0 .about-news-media-right.l-radious {
        border-radius: 0 0 32px 32px;
    }

    .self-service-two .pe-lg-0 .about-news-media-left {
        border-radius: 32px 32px 0 0;
    }

    .self-service-two .ps-lg-0 .about-news-media-right {
        border-radius: 0 0 32px 32px;
    }

    .about-news-media,
    .liberty-life-assurance,
    .liberty-general-assurance,
    .group-structure {
        padding: 30px 0;
    }

    .about-news-media-left.rounded-7 {
        border-radius: 32px 32px 0 0;
    }

    .about-news-media-right.rounded-6 {
        border-radius: 0 0 32px 32px;
    }
}

@media (max-width: 768px) {
    .sub-banner {
        height: auto;
        background-size: cover;
    }

    .sub-banner-content h1 {
        font-size: 32px;
    }

    .sub-banner-content p {
        font-size: 16px;
        line-height: unset;
        max-width: 270px;
    }

    .uphold-box {
        padding: 15px;
    }

    .uphold-box h5 {
        font-size: 16px;
    }

    .uphold-box p {
        font-size: 10px;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        width: 30px;
        height: 30px;
    }

    .owl-nav .owl-prev img,
    .owl-nav .owl-next img {
        width: 15px;
    }

    .white-btn {
        width: 100px;
        height: 40px;
    }

    .a-p-details p {
        max-width: 260px;
    }
}

@media (max-width: 576px) {
    .sub-banner-content h1 {
        font-size: 22px;
    }

    .sub-banner-content p {
        font-size: 14px;
        max-width: 220px;
    }

    .about-news-media-top {
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .section-title-description {
        font-size: 14px;
    }

    p {
        font-size: 14px;
    }

    .read-more {
        font-size: 12px;
    }

    .uphold-box h5 {
        font-size: 14px;
    }

    .uphold-box p {
        font-size: 12px;
    }

    .owl-nav {
        display: flex;
        justify-content: space-between;
    }

    .owl-nav .owl-prev,
    .owl-nav .owl-next {
        width: 25px;
        height: 25px;
    }

    .owl-nav .owl-prev img,
    .owl-nav .owl-next img {
        width: 12px;
    }

    .uphold-box-inner {
        margin: 15px 0 15px 0;
    }

    .ex-mangement .owl-dot.active span {
        background: #002B99;
        width: 13px;
        height: 13px;
    }

    .ex-mangement .owl-dot span {
        width: 10px;
        height: 10px;
    }

    .leadership-model-inner-details p,
    .leadership-model-list li {
        font-size: 14px;
    }

    .reports-box h5 {
        font-size: 20px;
    }

    .download-document {
        font-size: 12px;
        border: 1px solid #002B99;
        height: 40px;
    }

    .reports-box {
        padding: 10px;
        height: 170px;
    }

    .f-at-glance .uphold-box p {
        font-size: 14px;
    }

    .f-at-glance .uphold-box-inner {
        margin: 10px 0 0 0;
    }

    .a-p-details p {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .download-icon {
        width: 35px;
        height: 35px;
    }

    .a-p-details {
        display: flex;
        flex-direction: column;
    }

    .a-p-date span {
        font-size: 14px;
        color: #0A2240;
    }

    .a-p-date {
        margin-left: 0;
    }

    .why-choose-box-details p {
        font-size: 14px;
    }

    .why-choose-box-details {
        padding: 15px;
    }

    .uganda-search-result .a-p-details h6 {
        font-size: 20px;
    }

    .uganda-search-result .a-p-details p {
        font-size: 14px;
    }

    .l-assurance-top img {
        width: 100px;
    }

    .l-assurance-top .quote-img {
        width: 40px;
        top: 36px;
        margin-left: 18px;
    }

    .l-assurance-top {
        margin-top: -80px;
        position: relative;
    }
}