/* =========================================
   CUSTOM SCROLLBAR global
   ========================================= */

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 transparent;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent; 
}

::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2b2f74;
}

/* SLIDESHOW */
.slide {
    background-color: #f3f3f3;
    background-position: top center;
    background-repeat: no-repeat;
    height: 540px; 
}

.slideshow {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: #f3f3f3;
}

    .slideshow .arr {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

        .slideshow .arr:hover {
            opacity: 1;
        }

    .slideshow .prev {
        left: 20px;
        transform: translateY(-50%) rotate(180deg);
    }

    .slideshow .next {
        right: 20px;
    }

.owl-dots {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 75%;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: transparent;
}

@media (max-width: 900px) {
    .owl-dots {
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
}

.owl-dot {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    border-top: 5px solid transparent;
    background: rgba(255, 255, 255, 0.85);
}

    .owl-dot.active {
        border-top: 8px solid #2b2f74;
    }

        .owl-dot.active::before {
            content: "";
            position: absolute;
            top: -16px;
            left: 50%;
            margin-left: -10px;
            border-width: 0 10px 10px 10px;
            border-style: solid;
            border-color: transparent transparent #2b2f74 transparent;
        }

    .owl-dot h2 {
        font-size: 20px;
        color: #2b2f74;
        margin: 0 0 5px 0;
        font-weight: bold;
    }

    .owl-dot.active h2 {
        font-size: 20px;
        color: #2b2f74;
        margin: -3.35px 0 5px 0;
        font-weight: bold;
    }

    .owl-dot p {
        font-size: 15px;
        color: #222534;
        margin: 0;
    }

.owl-dots li span {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 64px;
    width: 1px;
    border-right: 1px dotted #232635;
    margin: auto;
}

.owl-dots li:last-child span {
    border-right: none;
}

.invisible-block-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* DESCRIBE US SECTION */
.describe {
    float: left;
    width: 100%;
    padding: 75px 0 95px 0;
    font-family: 'Roboto', sans-serif;
}

.describe .wrap {
    max-width: 1170px;
    width: 95%;
    display: block;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.describe .row {
    float: left;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0;
}

.describe .left {
    float: left;
    width: 50%;
}

.describe .right {
    float: right;
    width: 42%;
}

.describe h2 {
    font-weight: 600;
    color: #40464a;
    line-height: 1.3;
    float: left;
    width: 100%;
    text-align: left;
    font-size: 40px;
    margin-bottom: 25px;
}

.describe h2 span {
    font-weight: 300;
}

.describe p {
    font-weight: 400;
    color: #40464a;
    text-align: justify;
    line-height: 25px;
    float: left;
    width: 100%;
    font-size: 19px;
}

.describe ul {
    float: left;
    width: 100%;
    padding: 0;
    list-style-type: none;
    margin: 0;
}

.describe ul li {
    float: left;
    width: 100%;
    box-sizing: border-box;
    font-size: 19px;
    position: relative;
    line-height: 25px;
    text-align: left;
    font-weight: 400;
    color: #40464a;
    margin-bottom: 10px;
    padding: 0 0 0 30px;
}

.describe ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8.5px;
    width: 8px;
    height: 8px;
    background: #21256d;
}

.describe a {
  color: #21256d;
}

.describe .contact {
  margin-top: auto;
}

/* CASE STUDIES SECTION */
.home-case-studies.content.gray {
    background: linear-gradient(to bottom, #f2f2f2 0, #ffffff 100%);
}

.home-case-studies.content {
    float: left;
    width: 100%;
    padding: 75px 0 95px 0;
    background: #F3F3F3;
    font-family: 'Roboto', sans-serif;
}

.home-case-studies .wrap {
    max-width: 1170px;
    width: 95%;
    display: block;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.home-case-studies .tri-blog {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.home-case-studies .tri-blog article {
    flex: 1 1 calc(33.3333% - 20px);
    display: flex;
    flex-direction: column;
}

.home-case-studies .tri-blog article > a:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 258px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #ffffff;
}

.home-case-studies .tri-blog article > a:first-child img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-case-studies .tri-blog article a img {
    width: 100%;
    height: 258px;
    object-fit: cover;
    float: left;
    margin-bottom: 25px;
}

.home-case-studies .tri-blog article h2,
.home-case-studies .tri-blog article h2 a {
    font-weight: 600;
    color: #2b2f74 !important;
    line-height: 25px;
    float: left;
    width: 100%;
    text-align: left;
    font-size: 19px;
    transition: all .3s ease-out;
    text-decoration: none;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
    margin-top: 0;
}

.home-case-studies .tri-blog article a:hover h2 {
    color: #337AB7;
}

.home-case-studies .tri-blog article p,
.home-case-studies .tri-blog article p a {
    font-weight: 400;
    color: #40464a !important;
    line-height: 23px;
    float: left;
    width: 100%;
    margin-bottom: 30px;
    padding-right: 15px;
    text-align: justify;
    font-size: 16px;
}

/* SEPARATOR */
.separator {
    float: left;
    width: 100%;
    position: relative;
    background: #2b2f74;
    height: 5px;
}

/* Removing Bootstrap’s default indents for the centre column */
.center-pane {
    padding-left: 0 !important;
    padding-right: 0.1px !important;
}

/* NUMBERS STYLES */
.home-numbers .numbers {
    width: 60%;
    margin: 0 auto;
    margin-top: 25px;
    float: none;
}

.home-numbers .numbers .quad {
    float: left;
    width: 25%;
    border-right: 1px dotted #7c7c7c;
    padding: 15px 0 0 0;
    text-align: center;
    margin: 0 0 25px 0;
}

.home-numbers .numbers .quad:last-of-type {
    border-right: none;
}

.home-numbers .numbers .quad strong {
    float: initial;
    width: 100%;
    font-weight: 600;
    color: #2b2f74;
    font-size: 30px;
    line-height: initial;
    text-align: center;
}

.home-numbers .numbers .quad p {
    float: left;
    width: 100%;
    font-weight: 600;
    text-align: center; 
    color: #747f86;
    font-size: 19px;
    line-height: 30px;
    margin: 0;
}

/* NEWS SECTION */
.home-news.content {
    float: left;
    width: 100%;
    padding: 20px 0 0 0;
    background: #fff;
}

.home-news .wrap {
    max-width: 1170px;
    width: 95%;
    display: block;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.home-news h2 {
    font-weight: 600;
    color: #40464a !important;
    line-height: 1.3;
    float: left;
    width: 100%;
    text-align: left;
    font-size: 40px;
    margin-bottom: 25px;
    margin-top: 0;
}

.home-news h2.center {
    text-transform: uppercase;
    text-align: center;
    font-size: 35px;
    margin-bottom: 60px;
}

.home-news .articles {
    float: left;
    width: 100%;
}

.home-news .left {
    float: left;
    width: 50%;
}

.home-news .right {
    float: right;
    width: 42%;
}

.home-news .articles .right {
    margin-top: -7px;
}

.home-news .articles article,
.home-news .articles article a {
    float: left;
    width: 100%;
    text-decoration: none;
}

.home-news .articles .left article .date,
.home-news .articles .left article .date a,
.home-news .articles .right article .date,
.home-news .articles .right article span {
    font-weight: 600;
    color: #747f86 !important;
    line-height: 25px;
    float: left;
    width: 100%;
    text-align: left;
    font-size: 16px;
    transition: all .3s ease-out;
    text-decoration: none !important;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
}

.home-news .articles article h3,
.home-news .articles article h3 a {
    font-weight: 600;
    color: #21256d !important;
    line-height: 25px;
    float: left;
    text-align: left;
    font-size: 19px;
    text-decoration: none !important;
    box-sizing: border-box;
    outline: none;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    margin-top: 0;
    position: relative;
    display: inline-block;
}

/* Animated Smooth Underline */
.home-news .articles article h3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #21256d;
    transition: width 0.3s ease-in-out;
}

.home-news .articles article h3 a:hover::after,
.home-news .articles article:hover h3 a::after {
    width: 100%;
}

.home-news .articles article h3 a:hover {
    color: #21256d !important; /* Retains brand dark blue */
}

.home-news .articles article p,
.home-news .articles article p a {
    font-weight: 400;
    color: #40464a !important;
    line-height: 25px;
    float: left;
    width: 100%;
    text-align: left;
    font-size: 19px;
    margin-bottom: 21px;
    text-decoration: none !important;
}

.home-news .articles .left article {
    padding-bottom: 38px;
}

.home-news .articles .left article a .inside {
    margin-bottom: 20px;
}

.home-news .articles .left article a .date {
    margin-top: -7px;
}

.home-news .articles .left article a h3 {
    width: 100%;
}

.home-news .articles .left article a p:last-of-type {
    margin-bottom: 10px;
}

.home-news .articles .left article a img {
    width: 100%;
    height: auto;
    max-height: 329px;
    display: block;
    object-fit: cover;
}

.home-news .articles .right article {
    padding-bottom: 10px;
    border-bottom: 1px dotted #7c7c7c;
    margin-bottom: 35px;
}

.home-news .articles .right article a h3 {
    width: 90%; 
}