
@charset "UTF-8";

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css?family=Oswald&display=swap');

html {

    font-size: 1rem;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    scrollbar-gutter: stable;
    height: 100%;
    overflow-y: scroll;
}

body {
  
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: Roboto, arial, sans-serif;
    line-height: 1.7em;
    color: #111;
    overflow-y: scroll;
    height: 100%;
}

html, body {
    overflow-x: hidden;
}



@supports (scrollbar-gutter: stable) {
    html {
        overflow-y: auto;
        scrollbar-gutter: stable;
    }
}



img, iframe {
    max-width: 100%;
    height: auto;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
footer {
    flex-shrink: 0;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Remove your old .container width rule and replace with this */
@media (min-width: 1920px) {
    .container {
        max-width: 1920px; /* better than fixed width */
        margin: 0 auto;
    }
}

    a {
        color: #0354A5; /*blue*/
        outline: none;
        text-decoration: none;
    }

        a:visited {
            color: #0354A5; /*blue*/
            text-decoration: none;
        }

        a:hover {
            opacity: 80%;
      
            text-decoration: none;
        }
.text-hover {
    opacity: 80%;
    text-decoration: none;
}
h1 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #444;
    font-size: 2.2em;
    margin: 1rem 0;
    font-weight: 500 !important;
}

h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    color: #03a08f;
    margin: 1rem 0;
    font-weight: 500 !important;
}

h3 {
    font-family: 'Oswald', sans-serif;
 font-weight: 400 !important;
    color: #444;
    margin: 1rem 0;
}

h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500 !important;
    color: #444;
    margin: 1rem 0;
}

h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500 !important;
    color: #444;
    margin: 1rem 0;
}

.Oswald {
    font-family: 'Oswald', sans-serif;
    font-weight: 400 !important;
}


.msg {
    color: #dc3545;
}
/*////////////////////  carousel  for news//////////////////*/
.carousel-controls-top {
    position: absolute;
    top: 35%; /* aligns with the image vertical mid */
    left: 0;
    width: 100%;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none; /* allow click-through, buttons will re-enable it */
}
    .carousel-controls-top button {
        pointer-events: auto;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #111;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.25);
        transition: transform .2s ease, background .2s;
    }

        .carousel-controls-top button:hover {
            transform: scale(1.1);
            background: #eee;
        }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0); /* turns them black */
    width: 22px;
    height: 22px;
}


.carousel-control-prev, .carousel-control-next {
    position: relative;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}


/* ----- RESPONSIVE MULTI-CAROUSEL ITEM WIDTHS ----- */

/* Desktop (default): 5 items */
.multi-carousel .multi-carousel-inner .multi-carousel-item {
    width: 20%; /* 5 cards */
}

/* Large tablets: 3 items */
@media (max-width: 1199px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 33.333%;
    }
}

/* Small tablets: 2 items */
@media (max-width: 991px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 50%;
    }
}

/* Mobile: 1 item */
@media (max-width: 767px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 100%;
    }
}
@media (max-width: 1199px) {
    .carousel-controls-top {
        top: 32%;
        padding: 0 10px;
    }

        .carousel-controls-top button {
            width: 44px;
            height: 44px;
        }
}

@media (max-width: 767px) {
    .carousel-controls-top {
        top: 30%; /* aligns with card image center */
    }

        .carousel-controls-top button {
            width: 40px;
            height: 40px;
        }
}
/* ----- EQUAL HEIGHT CARDS ----- */

.multi-carousel .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image wrapper: fixed height so ALL cards align */
.multi-carousel .img-wrap {
    height: 180px; /* Adjust if you want higher/lower */
    overflow: hidden;
}

    /* Make images fill the wrap consistently */
    .multi-carousel .img-wrap img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

/* Card body flex stretch */
.multi-carousel .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title block: prevent jumping */
.multi-carousel .card-title {
    min-height: 48px; /* keeps card text areas aligned */
    display: block;
}

/* Optional: keep dates aligned */
.multi-carousel .card-text {
    margin-top: auto;
}
@media (max-width: 1199px) {
    .multi-carousel .card-title {
        min-height: 60px; /* taller title area */
    }
}
/* Override MDB inline widths */
/* ----- RESPONSIVE MULTI-CAROUSEL ITEM WIDTHS ----- */

/* Large desktop (1500px+): 5 items */
@media (min-width: 1500px) {
    .multi-carousel .multi-carousel-item {
        width: 20% !important;
    }
}

/* Desktop between 1200-1499px: 4 items */
@media (max-width: 1499px) and (min-width: 1200px) {
    .multi-carousel .multi-carousel-item {
        width: 25% !important;
    }
}

/* Large tablets 992–1199px: 3 items */
@media (max-width: 1199px) and (min-width: 992px) {
    .multi-carousel .multi-carousel-item {
        width: 33.333% !important;
    }
}

/* Small tablets 768–991px: 2 items */
@media (max-width: 991px) and (min-width: 768px) {
    .multi-carousel .multi-carousel-item {
        width: 50% !important;
    }
}

/* Mobile <768px: 1 item */
@media (max-width: 767px) {
    .multi-carousel .multi-carousel-item {
        width: 100% !important;
    }
}

/* Prevent image stretching */

.multi-carousel .img-wrap {
    height: 200px; /* exact same for all cards */
    overflow: hidden;
}
    .multi-carousel .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* keeps text visible */
    }

.multi-carousel .card {
    height: 420px; /* adjust if needed */
    display: flex;
    flex-direction: column;
}
.multi-carousel .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.multi-carousel .card-title {
    min-height: 72px; /* 2 lines */
    max-height: 72px;
    overflow: hidden;
}


/* Desktop: align arrows with the first card image vertically */
@media (min-width: 1200px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 50%; /* align with mid-height of cards */
        left: 0;
        transform: translateY(-50%);
        display: flex;
        gap: 10px;
        z-index: 20;
        padding-left: 10px;
    }
}
/* Tablets: center arrows horizontally */
@media (max-width: 1199px) and (min-width: 768px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
        z-index: 20;
    }
}

/* Mobile: center arrows over the single card */
@media (max-width: 767px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 30px;
        z-index: 20;
    }

        .news-carousel .carousel-controls-top button {
            width: 40px;
            height: 40px;
        }
}

.news-carousel {
    position: relative;
}

    .news-carousel .carousel-controls-top {
        position: absolute;
        z-index: 30;
    }
/*Arrow Hover Glow*/
.carousel-controls-top button:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    transform: scale(1.12);
}

/*/////////Fade-Edge Gradient (Professional News/Magazine Style)//////////*/
    .news-carousel::before,
    .news-carousel::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        pointer-events: none;
        z-index: 10;
    }

/*Hover Zoom on Image*/
.multi-carousel .img-wrap img {
    transition: transform .3s ease;
}

.multi-carousel .card:hover .img-wrap img {
    transform: scale(1.04);
}
/*Smooth Shadow on Hover*/
.multi-carousel .card {
    transition: box-shadow .25s ease, transform .25s ease;
}

    .multi-carousel .card:hover {
        box-shadow: 0 6px 14px rgba(0,0,0,0.18);
        transform: translateY(-3px);
    }
/*Title Line Clamping (perfect consistency)*/
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*Soft Rounded Corners on Cards*/
.multi-carousel .card,
.multi-carousel .img-wrap img {
    border-radius: 14px !important;
}

/*Animated Entry on Scroll (WOW moment!)*/

.news-carousel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

    .news-carousel.visible {
        opacity: 1;
        transform: translateY(0);
    }

/*////////////////////carousel for banners//////////////////*/
.carousel-indicators [data-mdb-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 13px;
    height: 13px;
    padding: 0;
    margin-right: 5px;
    margin-left: 5px;
    text-indent: -999px;
    cursor: pointer;
    background-color:white;
    background-clip: padding-box;
    border: 0;
    border: 1px solid #000;
/*    border-bottom: 1px solid #000;*/
    opacity: .5;
    transition: opacity .6s ease;
}


/* Prevent banner from shrinking too much on mobile */
.banner-img {
    max-height: 420px;
    object-fit: cover;
}

/* Move indicators down so they don't sit on top of the image */
.carousel-indicators {
    bottom: -15px;
}

/* Smaller images on phones */
@media (max-width: 576px) {
    .banner-img {
        max-height: 260px;
        object-fit: cover;
    }

    .carousel-indicators {
        bottom: -10px;
    }
}



/*backgrounds*/
.bg-dark2 {
    background-color: #111 !important;
}

.bg-light-dark {
    background-color: #777 !important;
}
.bg-dark {
    background-color: #333;
}
.bg-light2 {
    background-color: #ccc;
}
.bg-light3 {
    background-color: #999;
}
.bg-light5 {
    background-color: #dedfe7 !important;
}


.bg-Purple {
    background-color: #662D91 !important;
}
.bg-Lilac {
    background-color: #dcd5e2 !important;
}
.bg-blue-purple {
    background-color: #3e4b85 !important;
}

.bg-mist {
    background-color: #E7F1FB !important;
}

.bg-water {
    background-color: #94bee5 !important;
}

.bg-chart {
    background-color: #6d6e71 !important;
}

.bg-light-teal {
    background-color: #d8edea !important;
}

.bg-teal {
    background-color: #00bfaa !important;
}
.bg-ANSI-Red {
    background-color: #E66F5B !important;
}

.bg-ANSI-Yellow {
    background-color: #F0B833 !important;
}
.bg-ansi-grey {
    background-color: #666 !important;
}
.bg-5E9FE0 {
    background-color: #5E9FE0 !important;
}
.bg-2d9c94 {
    background-color: #2d9c94 !important;
}

.bg-072947 {
    background-color: #072947 !important;
}


.bg-5297b0 {
    background-color: #5297b0 !important;
}

.bg-89c040 {
    background-color: #89c040 !important;
}

.bg-f6d30b {
    background-color: #f6d30b !important;
}

.bg-66328a {
    background-color: #66328a !important;
}

.bg-7dc5e1 {
    background-color: #7dc5e1 !important;
}
.bg-29ace4 {
    background-color: #29ace4 !important;
}

/*.bg-pattern6 {
    background-image: url(/images/pattern6.png);
}

.bg-pattern4 {
    background-image: url(/images/pattern4.webp);
}

.bg-pattern2 {
    background-image: url(/images/pattern2.png);
}*/
.bg-pattern {
    background-image: url(/images/pattern2.webp);
}
.bg-what-we-do1 {
    background-color: #E19600 !important;
}

.bg-what-we-do2 {
    background-color: #444 !important;
}

.bg-what-we-do3 {
    background-color: #DA4838 !important;
}

.bg-what-we-do4 {
    background-color: #4F2270 !important;
}

.bg-what-we-do5 {
    background-color: #0354A5 !important;
}

.bg-yellow {
    background-color: #FFD966 !important;
}

.bg-hover:hover {
    background: #444;
    color: white
}

.border {
    border: 1px solid #bbb !important;
}

/*end backgrounds*/
/*text colors and sizes*/
.text-primary {
    color: #0354A5 !important;
}
.text-danger {
    color: #DA4838 !important;
}

.text-dark {
    color: #222 !important;
}

.text-light {
    color: #ddd !important;
}

.text-light1 {
    color: #999 !important;
}

.text-light3 {
    color: #666 !important;
}

.text-light2 {
    color: #ccc !important;
}

.text-black {
    color: #000 !important;
}


.text-teal {
    color: #00bfaa;
}

.text-purple {
    color: #662d91 !important;
}

.text-grey {
    color: #666;
}

.text-grey1 {
    color: #444;
}

.text-grey2 {
    color: #999;
}


.font-8 {
    font-size: 8px;
}

.font-9 {
    font-size: 9px;
}

.font-10 {
    font-size: 10px;
}

.font-12 {
    font-size: 12px;
}

.font-13 {
    font-size: 13px;
}

.font-14 {
    font-size: 14px;
}

.font-15 {
    font-size: 15px;
}

.font-16 {
    font-size: 16px;
}

.font-18 {
    font-size: 18px;
}

.font-17 {
    font-size: 17px;
}

.font-19 {
    font-size: 19px;
}

.font-20 {
    font-size: 20px;
}

.font-23 {
    font-size: 23px;
}

.font-25 {
    font-size: 25px;
}

.font-27 {
    font-size: 27px;
}

.font-30 {
    font-size: 30px;
}

.font-35 {
    font-size: 35px;
}

.font-40 {
    font-size: 40px;
}

.font-45 {
    font-size: 45px;
}

.font-50 {
    font-size: 50px;
}

.font-60 {
    font-size: 60px;
}

.font-70 {
    font-size: 70px;
}



.font-500 {
    font-weight:500 !important;

}
.font-400 {
    font-weight: 400 !important;
}

.font-600 {
font-weight:600;
}
/*end. text colors and sizes*/
/*team members*/
.card-body img {
    max-width: 200px;
    height: auto;
}

/* On small screens, make image smaller */
@media (max-width: 576px) {
    .card-body img {
        max-width: 100px; /* or even 120px */
    }
}
.w-20 {
    width: 20% !important;
}
.w-30 {
width:30%!important;
}
.w-40 {
    width: 40% !important;
}
.w-60 {
    width: 60% !important;
}
.w-80 {
    width: 80% !important;
}
.w-90 {
    width: 90% !important;
}


/* ===== FIXED SEARCH BOX below NAVBAR ===== */
/* WRAPPER (keeps search bar centered and readable) */

.navbar.fixed-top,
.wc-search-bar {
    left: 0;
    right: 0;
    width: auto; /* important: not 100vw */
}

/* If anything in your CSS sets width:100vw, override it */
/*.navbar.fixed-top,
.wc-search-bar {
    width: auto;
}*/


/* Your search bar wrapper (the thing with z-index:9999) */
.wc-search-bar-bar,
.wc-search-bar-bar.bg-dark {
    left: 0 !important;
    right: 0 !important;
    width: auto !important; /* NOT 100vw */
    max-width: 100% !important;
    box-sizing: border-box;
}

    /* If the input itself was set to 100vw anywhere, kill it */
    .wc-search-bar-bar input,
    .wc-search-bar-bar .form-control {
        max-width: 100%;
    }



.wc-search-bar {
    width: 100%;
    padding: 10px 0;
    z-index: 9999;
}

/* Inner container */
.wc-search-inner {
    position: relative;
    width: 100%;
    max-width: 90%; /* Desktop width */
    margin: 0 auto;
}

    /* Google input box container */
    .wc-search-inner .gsc-input-box {
        border-radius: 40px !important;
        background: #ebebeb !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        padding-left: 15px !important;
   
        margin:10px 0px;
    }

    /* The actual text input */
    .wc-search-inner input.gsc-input {
        border-radius: 30px !important;
        height: 40px !important;
     
        background: #ebebeb !important;
        padding: 5px 50px 5px 16px !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
    }

/* Hide Google default button */
.gsc-search-button,
.gsc-search-button-v2,
input.gsc-search-button,
td.gsc-search-button {
    display: none !important;
}

/* Your custom search button (magnifier) */
#wc-search-btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #03a08f;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

/* Small devices scaling */
@media (max-width: 768px) {
    .wc-search-inner {
        max-width: 95% !important;
    }
}
/* ===== GOOGLE SEARCHBOX: FORCE FULL-WIDTH (fix left-stuck input) ===== */
.wc-search-inner .gsc-control-searchbox-only,
.wc-search-inner form.gsc-search-box,
.wc-search-inner table.gsc-search-box,
.wc-search-inner table.gsc-search-box td.gsc-input,
.wc-search-inner .gsc-input-box,
.wc-search-inner .gsc-input-box-hover,
.wc-search-inner .gsc-input-box-focus {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Keep your pill styling even when Google switches classes (hover/focus) */
.wc-search-inner .gsc-input-box,
.wc-search-inner .gsc-input-box-hover,
.wc-search-inner .gsc-input-box-focus {
    border-radius: 40px !important;
    background: #ebebeb !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 15px !important;
    margin: 10px 0;
}

/* Make sure the actual input stretches */
.wc-search-inner input.gsc-input {
    width: 100% !important;
}
.wc-search-inner table.gsc-search-box {
    table-layout: fixed !important;
}

/* ===== FORCE GOOGLE CSE SEARCHBOX TO STRETCH FULL WIDTH ===== */
.wc-search-inner .gsc-control-searchbox-only {
    display: block !important;
    width: 100% !important;
}

.wc-search-inner form.gsc-search-box {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Google still outputs a table — make it behave like a flexible item */
.wc-search-inner table.gsc-search-box {
    width: 100% !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    table-layout: fixed !important;
}

    .wc-search-inner table.gsc-search-box td.gsc-input {
        width: 100% !important;
    }

.wc-search-inner .gsc-input-box,
.wc-search-inner .gsc-input-box-hover,
.wc-search-inner .gsc-input-box-focus {
    width: 100% !important;
}

/* Google injects max-width + margins on the FORM — kill both */
.wc-search-inner form.gsc-search-box {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important; /* remove 0 24px */
}

/* Keep the table/input stretching */
.wc-search-inner table.gsc-search-box,
.wc-search-inner td.gsc-input,
.wc-search-inner .gsc-input-box,
.wc-search-inner .gsc-input-box-hover,
.wc-search-inner .gsc-input-box-focus {
    width: 100% !important;
}
/* kill Google's layout constraints */
.wc-search-inner form.gsc-search-box {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* control spacing yourself */
.wc-search-inner {
    padding: 0 10px; /* your preferred spacing */
}
    /* Remove Google's built-in magnifier inside the input */
    .wc-search-inner .gsib_a {
        background-image: none !important;
        background: none !important; /* extra safety */
        padding-left: 16px !important; /* remove the 56px icon space */
    }

    /* (optional) if it still looks too indented, tighten more */
    .wc-search-inner .gsib_a {
        padding-left: 10px !important;
    }
/*------------------------------ 
    ///////////////////GDPR
    -----------------------------*/

.CookiebotWidget-main-logo {
    display: none !important;
    visibility: hidden !important;
}

#CybotCookiebotDialogPoweredbyCybot {
    display: none !important;
    visibility: hidden !important;
}

#CybotCookiebotDialogPoweredbyText {
    display: none !important;
    visibility: hidden !important;
}

    #CybotCookiebotDialogPoweredByText a {
        color: #ffffff !important;
    }

#CybotCookiebotDialogDetailFooter {
    display: none !important;
    visibility: hidden !important;
}

.CookiebotWidget-header {
    background-color: #0075bf !important;
    color: white !important;
}

#CybotCookiebotDialogHeader {
    background-color: #0075bf !important;
}

#CybotCookiebotDialogPoweredbyImage {
    content: url('/images/3logos-footer.webp') !important;
}

.CookiebotWidget-body {
    background-color: #efefef !important;
}

.CybotCookiebotDialogNavItems {
    background-color: #ffffff !important;
}

#CybotCookiebotDialogFooter {
    background-color: #ffffff !important;
}

/* End GDPR*/

/*accordion arrow changed to white color*/
.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.rounded-circle {
    border-radius: 5% !important;
}

.map-container {
    width: 100%; /* Or a fixed pixel width like 800px */
    height: 300px; /* Or a fixed pixel height */
    /* For responsiveness, consider using a padding-bottom trick for aspect ratio */
    /* For example: padding-bottom: 75%; height: 0; position: relative; overflow: hidden; */
}

    .map-container iframe {
        width: 100%;
        height: 300px;
        /* If using the padding-bottom trick on the container: */
        /* position: absolute; top: 0; left: 0; */
    }

.border-dashed {
    border: 3px dashed solid;
}

.accordion-margin {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
}



.mt-7 {
    margin-top: 7rem !important;
}

.mt-6 {
    margin-top: 6rem !important;
}
.mt-sm-7 {
    margin-top: 7rem !important;
}

.mt-sm-6 {
    margin-top: 6rem !important;
}

/* Apply only to the NEWS carousel */
.news-carousel .carousel-control-prev-icon,
.news-carousel .carousel-control-next-icon {
    width: 3rem !important;
    height: 3rem !important;
    background-size: 100% 100% !important;
    background-image: none !important;
    position: relative;
}

    /* Draw arrows manually */
    .news-carousel .carousel-control-prev-icon::after,
    .news-carousel .carousel-control-next-icon::after {
        content: '';
        position: absolute;
        top: 50%; /* CENTER properly */
        left: 50%;
        width: 1.2rem;
        height: 1.2rem;
        border-top: 4px solid white;
        border-left: 4px solid white;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* Next arrow rotation */
    .news-carousel .carousel-control-next-icon::after {
        transform: translate(-50%, -50%) rotate(135deg);
    }


/* ===========================
   FIX TOP BANNER CAROUSEL ARROWS
   =========================== */

#WorkcredCarousel .top-arrow {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 5;
}

#WorkcredCarousel .carousel-control-prev.top-arrow {
    left: 1rem;
}

#WorkcredCarousel .carousel-control-next.top-arrow {
    right: 1rem;
}

/* Restore Bootstrap arrows */
#WorkcredCarousel .top-icon {
    background-image: none !important; /* kill MDB effect */
    width: 3rem !important;
    height: 3rem !important;
    background-size: 100% 100% !important;
    position: relative;
}

/* Draw proper arrows */
#WorkcredCarousel .carousel-control-prev-icon.top-icon::after,
#WorkcredCarousel .carousel-control-next-icon.top-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.3rem;
    height: 1.3rem;
    border-top: 4px solid white;
    border-left: 4px solid white;
    transform: translate(-50%, -50%) rotate(-45deg);
}

#WorkcredCarousel .carousel-control-next-icon.top-icon::after {
    transform: translate(-50%, -50%) rotate(135deg);
}

/*////////////////
    Fix double scrollbar when modal is open 
    ///////////*/

body.modal-open,
html.modal-open {
    height: 100vh !important;
    overflow: hidden !important;
}


.modal-dialog {
    max-height: 90vh;
    margin-top: 10vh !important;
}

.modal-body {
    overflow-y: auto;
    max-height: 70vh; /* adjust if needed */
}

.modal-backdrop {
    position: fixed !important;
    z-index: 1040 !important;
}

/* Disable ALL scrolling on background when modal is open */
body.modal-open,
html.modal-open {
    height: 100vh !important;
    overflow: hidden !important;
}

/* MDB sometimes forces scroll — override it */
body.mdb-scroll-lock,
html.mdb-scroll-lock {
    overflow: hidden !important;
}
/* ---- FINAL FIX FOR DOUBLE SCROLL (MDB override) ---- */
html.modal-open,
body.modal-open {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
}

.modal {
    overflow: hidden !important; /* <-- the key rule */
}

.modal-body {
    overflow-y: auto !important;
    max-height: 70vh;
}



/*///////
    TABS for differ
    ///////////////*/
.nav-tabs .nav-link {
    --mdb-nav-tabs-link-font-weight: 500;
    --mdb-nav-tabs-link-font-size: 18px;
    --mdb-nav-tabs-link-color: rgba(var(--mdb-emphasis-color-rgb), 0.55);
    --mdb-nav-tabs-link-padding-top: 17px;
    --mdb-nav-tabs-link-padding-bottom: 16px;
    --mdb-nav-tabs-link-padding-x: 29px;
    --mdb-nav-tabs-link-hover-bgc: var(--mdb-highlight-bg-color);
    --mdb-nav-tabs-link-border-bottom-width: 7px;
    --mdb-nav-tabs-link-active-color: #000;
    --mdb-nav-tabs-link-active-border-color: #000;
    border-width: 0;
border-bottom: var(--mdb-nav-tabs-link-border-bottom-width) solid rgba(0,0,0,0 );
    border-radius: 0;
    text-transform: uppercase;
    line-height: 1;
    font-weight: var(--mdb-nav-tabs-link-font-weight);
    font-size: var(--mdb-nav-tabs-link-font-size);
    color: var(--mdb-nav-tabs-link-color);
    padding: var(--mdb-nav-tabs-link-padding-top) var(--mdb-nav-tabs-link-padding-x) var(--mdb-nav-tabs-link-padding-bottom) var(--mdb-nav-tabs-link-padding-x);
}

#ex2-content .row {
    margin-right: 0;
    margin-left: 0; /* optional; add if the left side also looks off */
}


/* Base: let the group wrap */
.card-group-workcred {
    display: flex;
    flex-wrap: wrap;
}

/* XL & large desktops: 6 per row */
@media (min-width: 1200px) {
    .card-group-workcred > .card {
        flex: 0 0 calc(16.6667% - 2rem);
        max-width: calc(16.6667% - 2rem);
        margin-bottom: 1.5rem;
    }
}

/* md–lg (tablets / small desktops): 3 per row */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .card-group-workcred > .card {
        flex: 0 0 calc(33.3333% - 2rem);
        max-width: calc(33.3333% - 2rem);
        margin-bottom: 1.5rem;
    }
}

/* sm (landscape phones / small tablets): 2 per row */
@media (min-width: 576px) and (max-width: 767.98px) {
    .card-group-workcred > .card {
        flex: 0 0 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
        margin-bottom: 1.5rem;
    }
}

/* xs (small phones): 1 per row – what you already like */
@media (max-width: 575.98px) {
    .card-group-workcred > .card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}
/* xs (small phones): 1 per row, no side shift */
@media (max-width: 575.98px) {
    .card-group-workcred > .card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 1.5rem; /* no left/right margin, only bottom */
    }
}
.wc-card-row .card {
    border-radius: 0.75rem; /* or whatever you had */

}

/* Back to Top Button */
/*#btn-back-to-top {
    position: fixed;
    bottom: 80px;*/ /* move it up/down as you like */
    /*right: 30px;*/ /* distance from right edge */
    /*width: 50px;
    height: 50px;
    display: none;*/ /* JS will toggle this */
    /*z-index: 2000;
    border-radius: 50%;
    font-size: 18px;*/
    /* center the icon nicely */
    /*display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    background-color: #1976D2;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.5s ease;
    opacity: 0;*/ /* start invisible */
/*}*/
#btn-back-to-top {
    position: fixed !important;
    right: 24px !important;
    bottom: 90px !important;
    z-index: 2147483647 !important; /* higher than 9999 */
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
 /*   visibility: hidden;*/
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

    #btn-back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    #btn-back-to-top.show {
        display: inline-flex; /* make it actually visible */
        opacity: 1;
    }

    #btn-back-to-top:hover {
        transform: scale(1.15);
    }

/* optional bounce animation */
@keyframes bounceIn {
    0% {
        transform: translateY(50px) scale(0.8);
        opacity: 0;
    }

    60% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }

    80% {
        transform: translateY(5px) scale(0.95);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

#btn-back-to-top.bounce {
    animation: bounceIn 0.6s ease forwards;
}

#btn-back-to-top {
    border-radius: 50% !important;
}
/*finish back to top*/

/* ===========================
   WORKCRED – GOOGLE CSE RESULTS
   Clean + stable (no half-width)
   =========================== */
.search-results-wrapper {
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* Keep CSE contained and predictable */
#___gcse_0,
.gcse-searchresults-only,
.gsc-control-cse {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove any CSE right column / refinements / ads that may reserve space */
.gsc-refinementsArea,
.gsc-refinementArea,
.gsc-adBlock,
.gsc-adBlockVertical,
.gsc-adBlockNoHeight,
.gsc-adBlockNoHeightSpacer,
td.gsc-refinementsArea,
td.gsc-refinementArea,
td.gsc-adBlock,
td.gsc-adBlockVertical,
td.gsc-adBlockNoHeight,
td.gsc-adBlockNoHeightSpacer {
    display: none !important;
    width: 0 !important;
}

/* Main results area must span full width */
.gsc-results-wrapper-visible,
.gsc-resultsbox-visible,
.gsc-resultsRoot,
.gsc-results,
.gsc-expansionArea {
    width: 100% !important;
    max-width: 100% !important;
}

/* Each result item */
.gsc-control-cse .gsc-webResult.gsc-result,
.gsc-control-cse .gsc-results .gsc-imageResult {
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #ccc !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* CSE often uses a table for thumbnail + text; make it fluid */
.gsc-control-cse .gsc-table-result {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important; /* fixed can cause awkward truncation */
}

    .gsc-control-cse .gsc-table-result td {
        vertical-align: top !important;
    }

/* Thumbnail behavior */
.gsc-control-cse .gs-image,
.gsc-control-cse .gs-image-box,
.gsc-control-cse .gs-web-image-box {
    border: 0 !important;
}

.gsc-control-cse .gs-result .gs-image {
    margin-top: 10px !important;
    margin-right: 15px !important;
    margin-bottom: 10px !important;
    max-width: 120px !important;
    max-height: 120px !important;
}

/* IMPORTANT: don't push snippet with fixed margins (this breaks layouts) */
/*.gsc-control-cse .gs-snippet, .gsc-control-cse  {
    margin-left: 0 !important;
    color: #666;
    font-size:16px;
    margin-top:10px!important;
}*/
 .gs-fileFormat {
/*    margin-left: 0 !important;*/
    visibility: hidden;
}

/* Title */
.gsc-control-cse .gs-spelling,
.gsc-control-cse .gs-result .gs-title,
.gsc-control-cse .gs-result .gs-title * {
    margin-top: 10px !important;
    font-size: 18px !important;
    color: #0354A5 !important;
 
    font-weight: 400 !important;

    text-decoration: none !important;
}

/* Visible URL */
.gsc-control-cse .gs-webResult div.gs-visibleUrl,
.gsc-control-cse .gs-webResult .gs-visibleUrl {
    color: #0354A5 !important;
    font-size: 16px !important;
}

/* Snippet text */
.gsc-control-cse .gs-snippet {
    
    color: #222 !important;
    margin-top: 15px !important;
    font-size: 16px !important;
}

/* Cursor / pagination */
.gsc-control-cse .gsc-cursor-box {
    margin: 10px 0 !important;
    font-size: 25px !important;
    color: #000 !important;
}

    .gsc-control-cse .gsc-cursor-box .gsc-cursor-page {
        border-color: #666 !important;
        background: #fff !important;
        color: #666 !important;
        font-size: 20px !important;
    }

    .gsc-control-cse .gsc-cursor-box .gsc-cursor-current-page {
        border-color: #0354A5 !important;
        background: #fff !important;
        color: #0354A5 !important;
    }

/* “Find more on Google” */
.gsc-control-cse .gcsc-find-more-on-google,
.gsc-control-cse .gcsc-find-more-on-google-text {
    margin-top: 10px !important;
    color: #0354A5 !important;
    font-size: 16px !important;
}

/* Safety: consistent box sizing inside the widget */
.gsc-control-cse,
.gsc-control-cse * {
    box-sizing: border-box;
}

    .gsc-control-cse .gs-snippet {
        color: #111 !important;
        margin-top: 10px !important;
        font-size: 16px !important;
    }
    /***********
        adding after deploy to stage on 12/18/25, 
        search results are images overlapping on other machine, not my. 
        My is showing only have page and images are on the right
        **************/
    /* ===== CSE overlap fix: DO NOT restructure, only stop collision ===== */

    /* 1) If you had these before — they cause overlap now. Kill them. */
    .gsc-control-cse .gs-snippet,
    .gsc-control-cse .gs-fileFormat {
        margin-left: 0 !important;
    }

    /* 3) Give breathing room between image and text */
    .gsc-control-cse .gsc-thumbnail-inside {
        padding-right: 14px !important;
    }

    /* 4) Keep images from intruding into the text area */
    .gsc-control-cse .gs-image,
    .gsc-control-cse .gs-image-box {
        float: none !important;
        margin: 6px 0 0 0 !important;
        max-width: 120px !important;
        max-height: 100px !important;
        border: 0 !important;
    }

    /* 5) Ensure the text cell aligns to top and can wrap normally */
    .gsc-control-cse .gsc-table-result td.gsc-table-cell-snippet-close,
    .gsc-control-cse .gsc-table-cell-snippet-close {
        vertical-align: top !important;
 margin-top: 0px;
    }



    /* 6) Safety: prevent any weird absolute/overlap behavior */
    .gsc-control-cse .gsc-table-result,
    .gsc-control-cse .gsc-table-result td {
        position: relative !important;
    }

.gs-fileFormatType {

    visibility: hidden;
}


/* Google CSE - stop snippet overlapping thumbnail */
.gsc-results .gs-bidi-start-align.gs-snippet {
    display: block !important;
    clear: both !important;
    margin-top: 20px !important;
}

/* Ensure thumbnail doesn't sit in a weird collapsing row */
.gsc-results .gsc-thumbnail-inside,
.gsc-results .gsc-thumbnail {
    display: block !important;
    margin-bottom: 8px !important;
}