/* =========================================================
   SERVICES PAGE
   PROFESSIONAL SERVICE LIST DESIGN
   Existing ASPX structure and sequence retained
========================================================= */


/* =========================================================
   PAGE SECTION
========================================================= */

.page-section {
    width: 100%;
    padding: 18px 0;
}

.page-section .card {
    border: 1px solid #d9e3e9;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(23, 63, 95, .04);
}

.page-section .card.p-4 {
    padding: 32px !important;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.page-section .section-title {
    position: relative;

    margin: 0 0 14px;
    padding-bottom: 11px;

    color: #173f5f;

    font-size: 26px;
    line-height: 1.4;
    font-weight: 650;

    border-bottom: 1px solid #d9e3e9;
}

.page-section .section-title:after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 65px;
    height: 3px;

    background: #d4a94d;
}


/* =========================================================
   CONTENT TEXT
========================================================= */

.page-section .content-text {
    margin: 0 0 22px;

    color: #555555;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   PROFESSIONAL SERVICE LIST
========================================================= */

.service-list {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px 16px;

    width: 100%;

    margin: 24px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.service-list li {
    display: block;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* =========================================================
   SERVICE CARD LINK
========================================================= */

.service-list li:before {
    display: none !important;
}

.service-list li a {
    position: relative;

    display: flex !important;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 54px;

    box-sizing: border-box;

    padding: 13px 55px 13px 17px;

    background: #ffffff;

    border: 1px solid #d9e3e9;

    border-radius: 7px;

    color: #173f5f !important;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    text-decoration: none !important;

    transition:
        border-color .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}


/* =========================================================
   RIGHT ARROW
========================================================= */

.service-list li a:after {
    content: "\f105";

    position: absolute;

    top: 50%;
    right: 16px;

    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf4f8;

    border-radius: 50%;

    color: #21658d;

    font-family: FontAwesome;

    font-size: 16px;

    transform: translateY(-50%);

    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease;
}


/* =========================================================
   HOVER
========================================================= */

.service-list li a:hover {
    border-color: #91abbc;

    color: #21658d !important;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(23, 63, 95, .08);
}

.service-list li a:hover:after {
    background: #21658d;

    color: #ffffff;

    transform:
        translateY(-50%)
        translateX(3px);
}


/* =========================================================
   KEYBOARD FOCUS
========================================================= */

.service-list li a:focus {
    outline: none;

    border-color: #21658d;

    box-shadow:
        0 0 0 3px rgba(33, 101, 141, .12);
}


/* =========================================================
   SECTIONS WITHOUT CARD
========================================================= */

.page-section:not(.client-section) > .container > .row > .col-lg-12 > .section-title {
    position: relative;

    margin-bottom: 14px;
    padding-bottom: 11px;

    color: #173f5f;

    border-bottom: 1px solid #d9e3e9;
}

.page-section:not(.client-section) > .container > .row > .col-lg-12 > .section-title:after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 65px;
    height: 3px;

    background: #d4a94d;
}


/* =========================================================
   SERVICE CTA
========================================================= */

.service-cta {
    padding: 42px 30px;

    background:
        linear-gradient(
            135deg,
            #173f5f,
            #21658d
        );

    border-radius: 11px;

    color: #ffffff;

    box-shadow:
        0 10px 28px rgba(23, 63, 95, .14);
}

.service-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 28px;
    line-height: 1.4;
    font-weight: 650;
}

.service-cta .content-text {
    max-width: 900px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, .9);
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.btn-consultation {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    margin: 5px;

    padding: 11px 22px;

    background: #ffffff;

    border: 1px solid rgba(255, 255, 255, .6);

    border-radius: 6px;

    color: #173f5f !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .22s ease;
}

.btn-consultation i {
    margin-right: 8px;
}

.btn-consultation:hover {
    background: #d4a94d;

    border-color: #d4a94d;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0, 0, 0, .15);
}


/* =========================================================
   CLIENT SLIDER
========================================================= */

.client-section {
    padding-top: 28px;
    padding-bottom: 28px;
}

.client-section hr {
    margin: 0 0 20px;

    border-color: #d9e3e9;
}

.flexslider.carousel {
    margin: 0 !important;

    border: none !important;

    background: transparent !important;

    box-shadow: none !important;
}

.flexslider .slides li {
    padding: 8px;
}

.flexslider .slides li img {
    display: block;

    width: 100%;
    max-width: 150px;
    height: 80px;

    margin: 0 auto;

    object-fit: contain;

    background: #ffffff;

    border: 1px solid #e1e7eb;

    border-radius: 7px;

    padding: 7px;

    transition: all .22s ease;
}

.flexslider .slides li img:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(23, 63, 95, .08);
}


/* =========================================================
   FINAL BRAND MESSAGE
========================================================= */

.page-section .section-title.text-center {
    text-align: center;

    border-bottom: none;
}

.page-section .section-title.text-center:after {
    left: 50%;

    transform: translateX(-50%);
}

.alert.alert-primary {
    margin-top: 25px;

    padding: 17px 20px;

    background: #edf4f8;

    border: 1px solid #d9e3e9;

    border-radius: 8px;

    color: #173f5f;

    font-size: 17px;
}


/* =========================================================
   TABLET
========================================================= */

@media only screen and (max-width: 991px) {

    .page-section .card.p-4 {
        padding: 25px !important;
    }

    .service-list {
        gap: 12px;
    }

    .page-section .section-title {
        font-size: 24px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .page-section {
        padding: 12px 0;
    }

    .page-section .card.p-4 {
        padding: 20px !important;
    }

    .page-section .section-title {
        font-size: 21px;
        line-height: 1.45;
    }

    .page-section .content-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .service-list {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 20px !important;
    }

    .service-list li a {
        min-height: 52px;

        padding:
            12px
            52px
            12px
            15px;

        font-size: 14px;
    }

    .service-list li a:after {
        right: 14px;

        width: 25px;
        height: 25px;
    }

    .service-cta {
        padding: 30px 18px;
    }

    .service-cta h2 {
        font-size: 23px;
    }

    .btn-consultation {
        display: flex;

        width: 100%;

        margin: 7px 0;

        padding: 12px 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media only screen and (max-width: 480px) {

    .page-section .card.p-4 {
        padding: 17px !important;
    }

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

    .service-list li a {
        padding-left: 13px;
        padding-right: 48px;
    }

}