@import 'https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800&family=Libre+Franklin:wght@400;500;600;700&display=swap';

:root {
    --body-font: 'Libre Franklin', Arial, sans-serif;
    --heading-font: Inter, Arial, sans-serif;

    /* colors */
    --blue: #1B76BC;
    --green: #90C741;
    --grey: #6D757A;
    --orange: #DD830C;
    --teal: #12B7E0;
    --light-grey: #ccc;
    --light-blue: #E8F3FB;
    --light-green: #F1F8E8;
    --light-teal: #E8F9FD;
    --dark: #153047;
    --text: #243746;
    --black: #000;
    --muted: #6D757A;
    --white: #ffffff;
    --soft: #F5F8FA;
    --green: #90c043;

    /* font sizes */
    --body-font-size: 15px;
    --body-font-mobile: 10px;

    --border-radius: 7px;

    --tint-color: #00000050;

    --padding-module: 8svh;
}

body {
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    margin-top: 130px;
}

.mt-5 {
    /* margin-top: 0 !important; */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--heading-font);
}

h1 {
    line-height: 120% !important;

}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}


.mt-xl {
    margin-top: var(--padding-module);
}

.pt-xl {
    padding-top: var(--padding-module);
}

.my-xxl {
    margin-top: 5rem;
    margin-bottom: 5rem;
}



.header {
    z-index: 9999;
    .top-row {
        background-color: var(--dark);
        color: var(--white);
        font-size: .8rem;
        min-height: 2rem;
        margin: 0;
        padding-right: 1rem;
        padding-left: 1.5svw;
        height: 40px !important;

        &.div {
            padding: .5rem 0;
        }

        .left {
            text-align: left;
        }

        .right {
            text-align: right;
        }
    }

    .logo {
        /* max-width: 30vw;
        max-height: 3rem; */
    }

    .nav-item {
        color: var(--dark);
        font-size: .9rem;
        text-decoration: none;
        font-family: var(--heading-font);
        text-transform: capitalize;
        font-weight: 700;
        margin: 0 1rem .5rem 1rem;
        border-bottom: 2px solid var(--white);
        padding-bottom: 2px;
        display: inline-block;
        ;

        &.lang {
            margin-left: 0;
            margin-right: 0;
            font-size: 1rem;
            margin-left: 1rem;
        }

        &:last-child {
            margin-right: .5rem;
            ;
        }

        &:hover,
        &.active {
            border-bottom: 2px solid var(--dark);
        }

    }

    .btn.highlight {
        white-space: nowrap;
        background-color: var(--orange);
        color: var(--white);
        border-radius: 999px;
        border: none;
        padding: 0.85rem 1.25rem;
        font-weight: 600;
        font-family: var(--heading-font);
    }

    .navbar-toggler {
        border: 0;
        outline: none;
    }
}

.btn-link:hover,
a:hover {
    color: var(--green) !important;
}

.pill.active {
    white-space: nowrap;
    background-color: var(--green);
    color: var(--white);
    border-radius: 30px;
    border: none;
    padding: 10px 30px 12px 30px;
    font-weight: 500;
    font-family: var(--heading-font);
    text-decoration: none;
    z-index: 9;
    border: 2px solid #fff;
    margin-top: 2rem;
    display: inline-block;
}

#contact button,
.btn-cta {
    white-space: nowrap;
    background-color: var(--green);
    color: var(--white);
    border-radius: 30px;
    border: none;
    padding: 10px 30px 12px 30px;
    font-weight: 500;
    font-family: var(--heading-font);
    text-decoration: none;
    z-index: 9;
    border: 2px solid #fff;
    margin-top: 2rem;
    display: inline-block;

    ;
}

.pill.active {
    background-color: var(--blue);
    color: var(--white);
    border: 0;
}

.pill {
    color: #555;
    background-color: #eee;
    border: 0 !important;
    text-transform: capitalize;
    font-weight: 500 !important;
    margin-right: 10px;

}

.btn-cta:hover {
    color: var(--green);
    background-color: var(--white);
    border: 2px solid var(--green);
}

.carousel.hero {
    margin: 0;
    padding: 0;
    background-blend-mode: normal;
    background-color: transparent;
}

.hero {
    object-fit: cover;
    background-position: center center;
    background-size: cover;
    background-color: var(--tint-color);
    background-blend-mode: darken;
    min-height: 60vh;


    .article-stats {
        .date {
            display: block;
            color: var(--white);

            /* margin-top: .5rem; */
            font-size: .8rem;

        }

        .category {
            display: block;

            .badge {

                display: inline-block;
                color: var(--white);
            }
        }

        .tag {
            display: block;
            margin-top: .5rem;

            .badge {
                display: inline-block;
                padding-left: 0;
                font-size: .8rem;
            }
        }
    }

    &:first-child {
        margin-top: 100px;
    }

    .carousel-item {
        height: 60svh;
        background-position: center center;
        background-size: cover;
        background-color: var(--tint-color);
        background-blend-mode: darken;
        min-height: 600px;


        /* .wrapper {
            padding-top: var(--padding-module);
        } */
    }

    &.center {

        .hero-content,
        h2 {
            text-align: center;
            width: 100% !important;
            max-width: 100% !important;
        }

        .btn-cta {
            margin: 2rem auto;
            display: inline-block;

        }
    }

    display: flex;
    position: relative;

    .hero-inner {
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
        flex-grow: 1;

        height: 100% !important;
        min-height: 60svh;



        h1 {
            margin: 0 0 1.2rem;
            font-size: 3.5rem !important;
            line-height: 110%;
            letter-spacing: -0.02em;
            color: var(--white);
            font-family: var(--heading-font);
            display: block;
            width: 80%;

        }

        h2 {
            margin: 0 0 1.2rem;
            font-size: 2.5rem !important;
            line-height: 110%;
            letter-spacing: -0.02em;
            color: var(--white);
            font-family: var(--heading-font);
            display: block;
            width: 80%;
        }

        .hero-content {
            display: block;
            width: 100%;
            font-size: 1.1rem;
            max-width: 60%;
            margin: 2rem 0 2rem;
            color: var(--white)
        }
    }
}


/* IMAGE AND TEXT */
.imageAndText {
    h2 {
        font-family: var(--heading-font);
        font-size: 2.5rem;
        line-height: 110%;
        letter-spacing: -.05em;
        margin-bottom: 2rem;
        color: var(--dark);

    }

    .left .content {
        padding-left: 2rem;
    }

    .right .content {
        padding-right: 2rem;
    }

    .image {
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;

        img {
            width: 100%;
            /* height: 100%; */
            object-fit: cover;
        }
    }

    &.blue {
        background: linear-gradient(135deg, rgba(27, 118, 188, .95), rgba(18, 183, 224, .92));
        color: var(--white);
        padding: var(--padding-module);

        h2 {
            color: var(--white);

        }
    }

    &.large {
        margin: 10svh 0 0 0;

        h2 {
            font-family: var(--heading-font);
            font-size: 2.5rem;
            line-height: 110%;
            letter-spacing: -.05em;
            margin-bottom: 2rem;
            color: var(--dark);

        }

        &.blue {

            h2 {
                color: var(--white);

            }
        }


        .content {
            /* max-width: 60%; */
        }

        .image {
            padding: 0;
        }
    }

}



.gallery {
    img {
        object-fit: cover;
        background-position: center center;
        background-size: cover;
        width: 100%;
        height: 100%;
    }
}


.video {

    iframe,
    video {
        width: 100%;
        max-width: 100%;
        ;
    }
}


.recent-posts {
    .content {
        margin-top: 2rem;
    }

    &.no-card-margin {
        .entry-list {
            margin-top: 1rem;
        }
    }

    .category-filter {
        padding: .7rem 1rem;
        border-radius: 999px;
        /* background: var(--light-blue); */
        /* color: var(--blue); */
        text-decoration: none;
        font-family: var(--heading-font);
        margin-top: 0;
        font-weight: 700;
        font-size: .85rem;

        &:hover,
        &.active {
            /* color: var(--white);
            background: var(--blue); */
            color: var(--white) !important;
            background: var(--blue);
            border: 2px solid var(--green);


        }
    }

    .entry-list {
        display: flex;
        flex-wrap: wrap;
        margin-top: 3rem;

        .badge {
            &.category {
                display: inline-block;
                padding: 8px 20px;
                border-radius: 999px;
                font-size: .6rem;
                font-weight: 400 !important;
                letter-spacing: .08em;
                text-transform: uppercase;
                margin: 0 0 10px;
                font-family: inherit !important;

            }
        }

        .card {
            overflow: hidden;
            height: 100%;


            img {
                height: 215px;
                background-color: var(--tint-color);
                background-blend-mode: darken;
                object-fit: cover;
            }

            .card-title {
                margin: 1rem 0 0.65rem;
                font-size: 1.5rem;
                line-height: 1.18;
                color: var(--dark);
                font-family: var(--heading-font);
            }

            .card-text {
                margin: 0 0 1.1rem;
                color: var(--muted);
                font-size: 0.94rem;
            }

            .btn-link {
                color: var(--blue);
                font-family: inherit;
                font-size: 0.9rem;
                text-decoration: none;
                font-weight: 500 !important;
            }
        }
    }

    &.boxes {
        .large {
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            background-color: var(--tint-color);
            background-blend-mode: darken;
            border: none;
            position: relative;

            .overlay {
                width: 100%;
                height: 100%;
                /* background-image: linear-gradient(0deg, rgba(21, 48, 71, 0.82), rgba(21, 48, 71, 0.08)); */

                /* &::before {
                    content: '';
                    position: absolute;
                    width: 260px;
                    height: 260px;
                    border: 26px solid rgba(255, 255, 255, 0.38);
                    border-radius: var(--border-radius);
                    top: 30px;
                    right: -80px;
                } */

            }

            .card-body {
                margin: 3rem;
            }

            .card-title {
                font-size: 2.5rem;
                line-height: 110% !important;
                color: var(--white);
                font-family: var(--heading-font);
            }

            .card-text {
                color: var(--white);
            }


        }

        .normal {
            .card {
                border-radius: var(--border-radius);
                border: 1px solid rgba(109, 117, 122, 0.14);

                padding: 1.25rem;
                box-shadow: 0 12px 32px rgba(21, 48, 71, 0.06);
            }

            .btn-link {
                display: block;
                text-align: left;
                padding-left: 0;
                font-weight: 100;
                font-size: .8rem;
            }

            .card-image {
                width: 150px;
                height: 150px;
                border-radius: var(--border-radius);
                background-size: cover;
                background-position: center;
                object-fit: cover;
                margin-right: 2rem;
            }

            .card-title {
                text-align: left;
                font-size: 1.2rem;
                line-height: 1.22;
                color: var(--dark);
                margin-right: 1rem;
                font-weight: 300;
            }

            .taxonomy {
                color: var(--muted);
                font-size: .8rem;
                font-weight: normal;
                font-family: var(--body-font);
                margin-top: .3rem;
            }
        }
    }
}

.features {
    /* background: var(--soft); */
    position: relative;
    overflow: hidden;
    padding: var(--padding-module) 0;
    background-position: center center;
    background-size: cover;

    /* &::before {
        content: '';
        position: absolute;
        width: 520px;
        height: 520px;
        border: 54px solid rgba(27, 118, 188, 0.08);

        border-radius: var(--border-radius);

        right: -170px;
        top: -160px;
    } */

    .card {

        .btn-link {
            margin-top: 1rem;
            padding: 0;
            color: var(--blue);
            font-family: var(--heading-font);
            font-size: 0.86rem;
            font-weight: 800;
            text-decoration: none;
        }

        &.normal {
            background-color: var(--white);
            padding: 20px;
            min-height: 200px;
            box-shadow: 0 0 0 0;
            border: none;


            .card-title {
                font-family: var(--heading-font);
                display: block;
                color: var(--blue);
                font-size: 1.5rem;
                line-height: 1;
                letter-spacing: -0.05em;
                margin-bottom: 0.5rem;
            }

            .card-text {
                color: var(--muted);
                font-size: 0.9rem;
                margin-bottom: 0;
            }
        }

        &.highlight {
            background: var(--blue);
            color: var(--white);
            padding: 3rem;
            position: relative;
            overflow: hidden;

            .eyebrow {
                text-transform: uppercase;
                letter-spacing: 0.16em;
                font-size: 0.7rem;
                font-weight: 500;
                margin-bottom: 25px;
                color: var(--white);
                margin-left: 3px;
                opacity: 0.6;

            }
        }

        .card-title {
            margin: 0 0 1rem;
            font-size: 2.5rem;
            line-height: 110%;
            letter-spacing: 0;
            font-family: var(--heading-font);
        }

        .card-text {
            max-width: 520px;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 2rem;
        }


    }


    &.with-bg {
        &::before {
            border: none;
        }

        .card {
            border: none;

            &.highlight {
                background: transparent;

                &:after {
                    border: none;
                }
            }

            &.normal {
                .card-title {
                    color: var(--dark);
                    font-size: 1.5rem;
                }
            }
        }
    }
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0;

    /* margin-top: var(--padding-module); */
    .logo {
        max-width: 250px;
        width: 100%;
    }

    .logo_text {
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.92rem;
        margin-top: 2rem;
    }

    .menus {
        text-align: right;
        margin-bottom: 2rem;

        h4 {
            color: var(--white);
            font-size: 1rem;
            font-weight: 400 !important;
            opacity: 0.6;
            font-family: inherit !important;

        }

        ul {
            list-style-type: none;
            padding: 0;
            margin: 0;

            li {
                padding: 0;
                margin: 0;
                text-align: right;

                a {
                    text-decoration: none;
                    color: var(--white);
                    font-size: 0.92rem;

                    &:hover {
                        color: var(--white);
                    }
                }
            }
        }
    }

    .footer-bottom {
        margin: 3rem auto 0;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        justify-content: space-between;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.82rem;

        a {
            color: var(--white);
            font-weight: bold;
            text-decoration: none;
        }
    }


    .social-link {
        margin-top: 1rem;
        background-color: var(--white);
        color: var(--dark);
        width: 1.5rem;
        height: 1.5rem;
        line-height: 1.5rem;
        text-align: center;
        border-radius: 9999px;
        display: inline-block;
        margin-right: .5rem;
    }


}

.carousel {
    .carousel-inner {
        /* margin-top: 2rem; */

    }

    .carousel-card {
        min-height: 70vh;
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-color: #00000050;
        background-blend-mode: darken;
        background-position: center center;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5rem 10rem;
        color: var(--white);

        h2 {
            font-family: var(--heading-font);
            text-align: center;
            /* width: 70%; */
        }

        .btn-cta {
            display: inline-block;
            /* margin-top: 2rem; */
        }
    }
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-image: none;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-next-icon::after {
    content: "\e5cc";
    font-family: 'Material Symbols Outlined';
    font-size: 35px;
    color: #000;
    font-weight: 200 !important;
    padding-left: 3px;
}

.carousel-control-prev-icon::after {
    content: "\e5cb";
    font-family: 'Material Symbols Outlined';
    font-size: 35px;
    color: #000;
    font-weight: 200 !important;
    padding-left: 3px;
}

.text img {
    max-width: 100%;
    ;
}

.language-selector-custom {

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        float: left;
        padding: 5px 0;
        margin: 2px 0 0;
        font-size: 1rem;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border-radius: 4px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    }

    .dropdown-menu img {
        width: 24px;
        height: 12px;
        max-width: inherit;
    }

    .dropdown-menu li {
        line-height: 1rem;
        font-color: #c0c0c0;
        display: list-item;
        text-align: -webkit-match-parent;
    }

    .dropdown-menu li:hover {
        background-color: #eee;
    }

    .dropdown-menu>li>a {
        display: block;
        padding: 3px 15px;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333;
        white-space: nowrap;
    }

    .btn {
        color: var(--white);
        font-size: 10px;
    }

}


.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-link,
.pagination-arrow {
    width: 48px;
    height: 48px;

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

    border-radius: 50%;

    background: #F5F8FA;
    color: #153047;

    text-decoration: none;

    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;

    transition: all 0.25s ease;
}

.pagination-link:hover,
.pagination-arrow:hover {
    background: #E8F3FB;
    color: #1B76BC;
}

.pagination-link.active {
    background: #1B76BC;
    color: white;
}

.pagination-dots {
    padding: 0 0.5rem;
    color: #6D757A;
    font-weight: 700;
}

.logo-list {
    padding-bottom: var(--padding-module);

    h2 {
        color: var(--white);
        text-align: center;

        &::after {
            background-image: none;
        }
    }

    a {
        color: var(--white);
    }

    .hero-content {
        color: var(--white);
        text-align: center;

    }


    .logo-container {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .card-img-top {
        object-fit: contain;
        height: 100%;
        max-height: 100%;
    }

    .second-row {
        .logo-list {
            /* width: 150px;
            height: 75px; */
        }
    }

    .link-list {
        margin-bottom: .5rem;
        color: var(--white);
        text-decoration: none;

        display: inline-block;
        width: auto;
    }

    .logo-list {
        width: 200px;
        height: 100px;
        margin: .5rem 1rem;
        padding: 1rem;
        border: 0;
        background-color: var(--white);
        border-radius: var(--border-radius);

    }

    .card {
        border: 0;
    }
}

.photo-highlights {
    img {
        width: 100%;
        object-fit: cover;
        /* border-radius: var(--border-radius); */
    }

    .list {
        margin-top: 50px;

        .title {
            font-family: var(--heading-font);
            font-size: 1.2rem;
            margin-top: 1rem;
            text-align: center;
            letter-spacing: .08em;

        }

        .text {
            text-align: center;
            font-size: .9rem;
            /* text-transform: uppercase; */

        }

        .title {
            margin-bottom: 0;
            padding-bottom: 0;

            &::after {
                background-image: none;
                margin: 0;
            }
        }
    }

}


.mobile {
    display: none;
}

.cards {
    .card-title {
        font-size: 1.5rem;
    }

    .btn-link {
        text-decoration: none;
        padding: 1rem 0;
        color: var(--blue);
    }
}

.blue {
    background: linear-gradient(135deg, #32517F, rgba(27, 118, 188, .95));
    color: var(--white);
    padding: var(--padding-module);

    h2 {
        color: var(--white);

    }
}



.in-numbers .card-body.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.in-numbers .card-body.centered h2 {
    font-size: 2.5rem !important;
}


blockquote {
    background-color: #efefef;
    color: var(--dark);
    font-size: 1.5rem;
    margin: 4rem 0 4rem 0;
    padding: 5rem 4rem 5rem 4rem;
    font-weight: 100;
    position: relative;
    text-align: center;

    &::after {
        content: '';
        /* width: 150px; */
        width: 100%;
        height: 66px;
        /* right: -75px;
        top: -30px; */
        top: -30px;
        left: 0;
        position: absolute;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('./tais-blue.png');
    }

    &::before {
        content: '';
        /* width: 150px; */
        width: 100%;
        height: 66px;
        left: 0px;
        bottom: -30px;
        position: absolute;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('./tais-blue.png');
    }
}


.contacts {
    .contact {
        text-decoration: none;
        color: var(--black);
        font-size: 1.2rem;
        line-height: 1.35;
    }

    i {
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--light-grey);
        border-radius: 999px;

    }
}


.small-logo {
    width: 100px;
    height: 75px;
    display: inline-block;
    margin-right: .5rem;

    img {
        width: 100%;
    }
}

.imageOnly {
    figure {
        border: 1px solid var(--blue);

        figcaption {
            background: var(--blue);
            color: var(--white);
            font-weight: 100;
            font-size: .8rem;
            padding: .3rem 0 .3rem .3rem;


        }

        img {
            width: 100%;
            object-fit: contain;
        }
    }
}


blockquote {
    h2 {
        font-size: 1.5rem;
    }
}


.carousel-caption-custom {
    background-color: #00000090;
    background-blend-mode: darken;

    padding: 1rem 2rem;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--white);
}

.carousel-indicators-custom img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}


#contact {}

label.inline {
    font-family: var(--heading-font);
    font-weight: bold;
    margin-top: 1rem;
}

.form-input-wrapper input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

label.inline {
    font-family: var(--heading-font);
    font-weight: 500;
    margin-top: 0;
    font-size: 0.85rem;
}

.form-field {
    margin-bottom: 20px;
}

.form-textarea-wrapper textarea {
    width: 100% !important;
    min-height: 100px;
    border: 1px solid #ccc;
    max-height: 200px;
}


.contactsTitle strong {
    margin-bottom: 5px;
    font-size: 0.85rem;
}

#_find-us_container iframe {
    width: 100%;
    margin-bottom: var(--padding-module);
}

.downloads {
    .file {
        display: flex;
        align-items: center;
    }

    a {
        text-decoration: none;
        color: var(--black);
    }

    .filename {
        margin-left: 20px;
        font-size: 1.5rem;
        text-decoration: none;
    }

    .desc {
        font-size: .7rem;
        font-family: var(--body-font);
        text-decoration: none;
        display: block;
        margin-left: 20px;


    }

    .icon {
        display: inline-block;
        width: 25px;
        color: var(--green);
        font-size: 2rem;
        text-decoration: none;
        height: 100%;

    }
}


.accordion-button:not(.collapsed),
.accordion-button:focus {
    background: var(--green);
    color: var(--white);
    border: none;
    box-shadow: none;
}

.lang {}

img.bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left: 0;
    z-index: -1;
}

.title {
    /* z-index: 99999; */
}

