:root {
    --colour1: rgb(247, 141, 62);
    --colour2: rgb(14, 134, 189);

    --hero-fade-in: #000;
    --hero-fade-out: #fff;

    --hero-cover-opacity: 1;

    --hero-cover-bg: #000;
}


/* - */
/* From Uiverse.io by Codecite */
.btn {
    transition: all 0.3s ease-in-out;
    font-family: "Dosis", sans-serif;
}

.btn {
    width: 250px;
    height: 60px;
    border-radius: 50px;
    background-image: linear-gradient(135deg, #3471ac 0%, #57bcd7 100%);
    box-shadow: 0 20px 30px -6px #3471aca5;
    outline: none;
    cursor: pointer;
    border: none;
    font-size: 20px;
    color: #fff;
    font-family: "vollkorn", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.btn:hover {
    transform: translateY(3px);
    box-shadow: none;
}

.btn:active {
    opacity: 0.5;
}


body {
    display: grid;
    grid-gap: 0;
}

h1,
h2,
h4,
.page-link,
.footer-link {
    font-family: "lexend-deca", sans-serif;
    font-weight: 600;
    font-style: normal;

    text-transform: uppercase;
    color: #50a2cd;
    letter-spacing: 2px;
}

a {
    color: #50a2cd;
    text-decoration: none;
}

h3 {
    font-family: "vollkorn", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 4px;
    color: #3471ac;
    text-transform: uppercase;
}

p,
li {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-size: 17px;
    line-height: 30px;
    letter-spacing: 1px;
}

#page-content {
    display: grid;
    padding: 32px 0;
}

.workspace {
    padding: 32px 0;
    grid-gap: 32px;
}


.pattern-1 {
    background-image: url('../img/pattern-1.png');
    background-size: cover;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#page-content {}

.f1 {
    background-image: url('../img/7.jpg');
}

.f2 {
    background-image: url('../img/4.jpg');
}

.f3 {
    background-image: url('../img/5.jpg');
}

.feature-box-container {

    display: grid;

    /* box-shadow: 0px 0px 10px 0px rgba( 0,0,0,0.5 ); */

    width: max-content;

    justify-self: center;

    /* grid-template-columns: max-content max-content max-content;       */

    margin-bottom: 96px;

    z-index: 2;

}
/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}


.feature-inner {

    display: grid;

    background-position: center center;

    background-size: cover;

    grid-row: 1;

    transition: ease .5s all;

    /* width: 500px;                     */

    box-sizing: border-box;

    height: 384px;

    background-repeat: no-repeat;

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.feature-content {

    display: grid;

    grid-gap: 16px;

    opacity: 0;

    transition: ease .5s all;

    justify-self: center;

    align-self: center;

    overflow: hidden;

}

@media(max-width: 991px) {

    .feature-content h1 {
        font-size: 15px;
        padding: 20px;
    }
}

.feature-content :is(h1, h2, h3, h4, p, b, a) {

    color: #fff;

    text-align: center;

    justify-self: center;

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.feature-box-container {

    justify-content: center;

    grid-gap: 4px;

}

.feature-inner {

    width: 40px;

    height: 400px;

    align-self: center;

    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.5);

}

@media(max-width: 991px) {
    .active-feature {
        height: 450px;

        /*background-position-y: 500px;*/
            background-blend-mode: overlay;

        width: 286px;
    }

    .feature-box-container {
        /*height: 600px;*/
    }

    .active-feature .feature-content {
        opacity: 1;
    }
}

.f1,
.f2,
.f3 {
    background-color: #222;
    overflow: hidden;
}

@media(min-width: 992px) {
    .active-feature {
        /* - - - - */
    }

    .feature-box-container {
        grid-gap: 16px;
    }

    .feature-inner {
        width: 25vw;
    }

    .feature-box-container:hover .feature-inner {
        width: 15vw;
    }

    .feature-inner:hover {
        width: 60vw !important;

        background-position-y: 512px;
    }

    .feature-inner:hover .feature-content {
        opacity: 1;
    }

}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */





/* - Gallery CSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#preview-container {
    position: fixed;

    display: grid;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.75);

    z-index: 99;
}

#preview-img {
    justify-self: center;
    align-self: center;
    max-width: 90vw;
    max-height: 80vh;
    border: 8px solid #fff;
    margin-top: 2vh;
    grid-row: 1;
    grid-column: 1;
}

.gallery-thmb {
    transition: opacity ease .2s, width ease .2s, box-shadow ease .2s;
    justify-self: center;
    align-self: center;
    width: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.gallery-thmb:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    opacity: 0.5;
    width: 98%;
}

.gallery-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;
    transition: opacity .5s ease;
    align-self: end;
    margin: 32px;
    transition: all ease .2s;
}

@media (min-width: 768px) {
    .gallery-arrow {
        align-self: center;
    }
}

.gallery-arrow:hover {
    cursor: pointer;
    opacity: .5;
    transform: scale(0.8);
}

.gallery-close {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;
    transition: opacity .5s ease;
    align-self: start;
    justify-self: end;
    margin: 32px;
    transition: all ease .2s;
}

.gallery-close:hover {
    cursor: pointer;
    opacity: .5;
    transform: rotate(45deg) scale(0.8);
}

.gallery-right {
    justify-self: end;
}

.gallery-left {
    justify-self: start;
}

#gallery-txt {
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    align-self: end;
    z-index: 3;
    color: #fff;
    margin-bottom: calc(5vh - 16px);
}

/* - Masonry CSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/*
.simple-masonry {
    position: relative;
}

.item {
    position: absolute;

    width: 256px;

    left: 0;
    top: 0;

    background-color: #fff;

    transition: ease all 1s;
}*/





hr {
    width: 80%;
    height: 1px;
    background-color: black;
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}







/* - Footer */

.footer-container {
    margin-bottom: -64px;
    display: grid;
    grid-gap: 40px;
    padding: 64px 0;
    background: #3471AC;
    background: linear-gradient(64deg, rgba(52, 113, 172, 1) 0%, rgba(80, 162, 205, 1) 50%, rgba(87, 188, 215, 1) 99%);
    background-size: cover !important;
    background-repeat: no-repeat;
}

.footer-container h3,
.footer-container p {
    text-align: center;
    justify-self: center;
    color: white;
}

@media(min-width: 992px) {
    .footer-container {
        background: #3471AC;
        background: linear-gradient(64deg, rgba(52, 113, 172, 1) 0%, rgba(80, 162, 205, 1) 50%, rgba(87, 188, 215, 1) 99%);
    }
}

.footer-links {
    color: white !important;
    display: grid;
    grid-gap: 16px;
    justify-content: center;
}

.active-footer-link {
    border-bottom: 2px solid white;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    justify-self: center;

}

@media(min-width: 992px) {
    .footer-link {
        grid-row: 1;
    }
}

.footer-socials {
    display: grid;
    justify-content: center;
    grid-gap: 16px;
    color: #cd0305 !important;
    font-size: 24px;
}

@media(max-width: 991px) {
    .footer-socials {
        grid-template-columns: auto auto auto auto auto;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.footer-social {
    color: #fff;
}

@media(min-width: 992px) {
    .footer-social {
        grid-row: 1;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.bottom-bar {
    display: grid;
    justify-content: center;
    color: #fff;
}

.bottom-bar a {
    text-decoration: none;
    color: #fff;
}


/* From Uiverse.io by alexmaracinaru */
.discover {
    cursor: pointer;
    font-family: "forma-djr-deck", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s;
    /*    padding: 10px 20px;*/
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
}

.discover:hover {
    background: transparent;
}

.discover > svg {
    width: 34px;
    color: #fff;

    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.discover:hover svg {
    color: #fff;

    transform: translateX(5px);
}

.discover:active {
    color: #fff;

    transform: scale(0.95);
}

.custom-shape-divider-bottom-1786355454 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1786355454 svg {
    position: relative;
    display: block;
    width: calc(136% + 1.3px);
    height: 55px;
}

.custom-shape-divider-bottom-1786355454 .shape-fill {
    fill: #4EBBB6;
}

.custom-shape-divider-top-1786355482 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1786355482 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 55px;
}

.custom-shape-divider-top-1786355482 .shape-fill {
    fill: #4EBBB6;
}



.block-content2 {
    min-height: 100vh;
}

block-content2 p {
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    justify-self: left;
    -webkit-font-smoothing: antialiased;
    margin: 0 auto 1em auto;
}

.block-conten2t h2 {

    text-align: left;
    margin: 1em 0 0 0;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.02em;

    @media all and (min-width:40em) {

        font-size: 4.75em;

    }
}

.subtitle {

    /*            font-family: $fontstack_heading;*/
    /*            font-weight: 300;*/
    text-transform: uppercase;
    text-align: center;
    font-size: 19px;
    margin: 0.5em 0;
}

.heading-group {
    margin: 0 0 3em 0;
}

/*
.content h3 {
    text-align: left;

    font-size: 1.2em;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;

    @media all and (min-width:40em) {

        font-size: 2.5em;

    }
}*/



.l-block-spacing {


    min-height: 80vh;
    padding: 2em 0 4em 0;

}

.l-contained {

    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;

    padding-left: 1em;
    padding-right: 1em;

    @media all and (min-width:40em) {

        padding-left: 2em;
        padding-right: 2em;


    }
}

.timeline-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    list-style: none;
    margin: 60px auto;
    padding: 0;
    position: relative;
    max-width: 1200px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 5px;
    background: #e7924f;
    transform: scaleX(0);
    transform-origin: left;
    animation: growLine 1s ease forwards;
}

.timeline-list li {
    position: relative;
    list-style-type: none;
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 15px;

    opacity: 0;
    transform: translateY(40px);
    animation: revealItem 0.6s ease forwards;
}

/* Stagger the animations */
.timeline-list li:nth-child(1) {
    animation-delay: 0.3s;
}

.timeline-list li:nth-child(2) {
    animation-delay: 0.8s;
}

.timeline-list li:nth-child(3) {
    animation-delay: 1.3s;
}

.timeline-list li:nth-child(4) {
    animation-delay: 1.8s;
}

.timeline-list li:nth-child(5) {
    animation-delay: 2.3s;
}

.timeline-list .dot {
    width: 30px;
    height: 30px;
    background: #fff;
    border: 5px solid #e7924f;
    border-radius: 50%;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;

    transform: scale(0);
    animation: popDot 0.5s ease forwards;
}

.timeline-list li:nth-child(1) .dot {
    animation-delay: 0.3s;
}

.timeline-list li:nth-child(2) .dot {
    animation-delay: 0.8s;
}

.timeline-list li:nth-child(3) .dot {
    animation-delay: 1.3s;
}

.timeline-list li:nth-child(4) .dot {
    animation-delay: 1.8s;
}

.timeline-list li:nth-child(5) .dot {
    animation-delay: 2.3s;
}

.timeline-list .content2 {
    animation: fadeUp 0.6s ease forwards;
}

.timeline-list h3,
.timeline-list h2 {
    text-align: center;
    color: #3471ac;
    margin-bottom: 10px;
    font-size: 20px;
}

.timeline-list h1 {
    justify-content: center;
    justify-self: center;
    text-align: center;
    color: #3471ac;
    margin-bottom: 10px;
}

.timeline-list p {
    text-align: left;

    color: #111;
    font-size: 16px;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 900px) {

    .timeline-list {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-list::before {
        display: none;
    }

    .timeline-list li {
        width: 100%;
    }
}

@keyframes revealItem {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popDot {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes growLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

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

@media (max-width: 900px) {

    .timeline-list {
        display: block;
        margin: 50px auto;
        padding: 0 0 0 40px;
        position: relative;
    }

    /* Vertical line */
    .timeline-list::before {
        display: block;
        left: 14px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 5px;
        height: 100%;
        transform: scaleY(0);
        transform-origin: top;
        animation: growVertical 1s ease forwards;
    }

    .timeline-list li {
        width: 100%;
        text-align: left;
        padding: 0 0 40px 25px;
        position: relative;

        opacity: 0;
        transform: translateX(-30px);
        animation: revealMobile 0.6s ease forwards;
    }

    /* Put the dot on the vertical line */
    .timeline-list .dot {
        position: absolute;
        left: -41px;
        top: 0;

        width: 30px;
        height: 30px;
        margin: 0;

        background: #fff;
        border: 5px solid #e7924f;
        border-radius: 50%;

        transform: scale(0);
        animation: popDot 0.5s ease forwards;
    }

    .timeline-list h3 {
        margin-top: 0;
    }

    .timeline-list p {
        margin-bottom: 0;
    }

    /* Keep the staggered animation */
    .timeline-list li:nth-child(1),
    .timeline-list li:nth-child(1) .dot {
        animation-delay: 0.3s;
    }

    .timeline-list li:nth-child(2),
    .timeline-list li:nth-child(2) .dot {
        animation-delay: 0.8s;
    }

    .timeline-list li:nth-child(3),
    .timeline-list li:nth-child(3) .dot {
        animation-delay: 1.3s;
    }

    .timeline-list li:nth-child(4),
    .timeline-list li:nth-child(4) .dot {
        animation-delay: 1.8s;
    }

    .timeline-list li:nth-child(5),
    .timeline-list li:nth-child(5) .dot {
        animation-delay: 2.3s;
    }
}


/* Mobile slide-in animation */

@keyframes revealMobile {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Mobile vertical line animation */

@keyframes growVertical {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}
