@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-blue: #E8F3FB;
    --light-green: #F1F8E8;
    --light-teal: #E8F9FD;
    --dark: #153047;
    --text: #243746;
    --muted: #6D757A;
    --white: #ffffff;
    --soft: #F5F8FA;

    /* font sizes */
    --body-font-size: 16px;
}

body {
    font-family: var(--body-font);
    font-size: var(--body-font-size);
}

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



}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
}

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

.header {
    .top-row {
        background-color: var(--dark);
        color: var(--white);
        font-size: .8rem;
        min-height: 2rem;
        margin: 0;
        ;

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

    .logo {
        max-width: 30vw;
        max-height: 2rem;
    }

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

        &: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-cta {
    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);
    text-decoration: none;
}

.hero {
    min-height: 60vh;
    object-fit: cover;
    background-position: center center;
    background-size: cover;

    /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */

    .hero-inner {
        position: relative;
        z-index: 2;
        width: min(1180px, 90vw);
        margin: 0 auto;
        /* min-height: 650px; */
        display: flex;
        align-items: start;
        flex-direction: column;
        padding: 5rem 0;

        h1 {
            margin: 0 0 1.2rem;
            font-size: clamp(2.7rem, 6vw, 5.7rem);
            line-height: 0.94;
            letter-spacing: -0.055em;
            max-width: 880px;
            color: var(--white);
            font-family: var(--heading-font);
            display: block;
            width: 100%;
        }

        .hero-content {
            display: block;
            width: 100%;
            font-size: clamp(1.02rem, 1.6vw, 1.28rem);
            max-width: 660px;
            margin: 2rem 0 2rem;
            color: var(--white)
        }
    }
}

/* IMAGE AND TEXT */
.imageAndText {
    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.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;
    }

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

        .card {
            border-radius: 28px;
            overflow: hidden;

            img {
                height: 215px;
                background-size: cover;
                background-position: center;
                position: relative;
            }

            .card-title {
                margin: 1rem 0 0.65rem;
                font-size: 1.35rem;
                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: var(--heading-font);
                font-weight: 800;
                font-size: 0.9rem;
                text-decoration: none;
            }
        }
    }

    &.boxes {
        .large {
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;

            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: 50%;
                    top: 30px;
                    right: -80px;
                }

            }

            .card-body {
                margin: 3rem;
            }

            .card-title {
                font-size: 2rem;
                line-height: 1.08;
                color: var(--white);
                font-family: var(--heading-font);
            }

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


        }

        .normal {
            .card {
                border-radius: 26px;
                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: 96px;
                height: 96px;
                border-radius: 20px;
                background-size: cover;
                background-position: center;
                object-fit: cover;
                margin-right: 2rem;
            }

            .card-title {
                text-align: left;
                font-size: .9rem;
                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: 5rem 0;


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

        border-radius: 50%;

        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);
            border-radius: 26px;
            padding: 1.6rem;
            min-height: 160px;
            box-shadow: 0 14px 35px rgba(21, 48, 71, 0.07);
            border: none;

            .card-title {
                font-family: var(--heading-font);
                display: block;
                color: var(--blue);
                font-size: 2.6rem;
                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);
            border-radius: 34px;
            padding: 3rem;
            position: relative;
            overflow: hidden;

            .eyebrow {
                text-transform: uppercase;
                letter-spacing: 0.16em;
                font-size: 0.76rem;
                font-weight: 800;
                margin-bottom: 1rem;
                color: var(--white);
            }
        }

        .card-title {
            margin: 0 0 1rem;
            font-size: clamp(2rem, 4vw, 3.6rem);
            line-height: 1;
            letter-spacing: -0.045em;
            font-family: var(--heading-font);
        }

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

        &:after {
            content: '';
            position: absolute;
            inset: auto -80px -95px auto;
            width: 290px;
            height: 290px;
            border: 28px solid rgba(255, 255, 255, 0.16);
            border-radius: 50%;
        }
    }


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

        .card {
            border: none;

            &.highlight {
                background: transparent;

                &:after {
                    border: none;
                }
            }

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

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

    .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-family: var(--heading-font);
        }

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

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

                a {
                    text-decoration: none;
                    color: var(--muted);
                    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;

    }
}



@media only screen and (max-width: 768px) {
    .header {
    .top-row  { display:none!important; }
    }
}