
section {
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.outro {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 1rem;
    background-color: var(--bg);
    color: var(--fg);
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    perspective: 1200px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;

    align-items: start;
    justify-content: center;
    flex-direction: column;
    color: white;
    width: 100%;
    height: 100%;
    z-index: 3;
    transform-origin: center;
    will-change: transform, opacity;
}

.hero-title {
    text-align: center;
    width: 100%;
    padding-left: 0;
    text-transform: uppercase;
    color: var(--light);
}

.hero-title-1 {
    font-size: 8vh;
}

.hero-title-2 {
    font-size: 8vh;
    margin-left: 0;
}

.hero-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content-cta {

    align-self: flex-start;
    margin-top: 0;
    margin-left: 0;
    padding: 0.9rem 2.2rem;
    border-left: 4px solid var(--light-green);
    border-right: 4px solid var(--light-green);
    transition: 0.3s all ease-in-out;
    font-weight: 500;
    background-color: #fff;
    color: #000;
    text-transform: uppercase;
    will-change: transform;
}

.header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    color: var(--fg);
    transform-origin: center;
    will-change: transform, opacity;
}

.header h1 {
    font-size: 3rem;
    font-weight: 900;
}

.header p {
    opacity: 0.35;
}

.hero-sub {
    display: none;
}

.bg-text {
    display: none;
}


.controls-container {
    position: absolute;
    z-index: 10000;
    display: flex;
    bottom: 0;
    right: 0;
    align-items: flex-end;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}


.controls-button {
    cursor: pointer;
    background-color: rgba(90, 90, 90, 0.103);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.082);
    padding: 1.6rem 0.5rem;
    flex-basis: 0;
    flex-grow: 1;
    min-width: 15rem;
    transition: 0.5s ease-in-out;
    outline: 0;
    opacity: 1;
    text-align: center;

}

.controls-button a {
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;

}

.stats {
    width: 100%;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transform-origin: center;
    will-change: transform, opacity;
    z-index: 100;
    gap: 100px;
    margin: 5rem 0;

}

.stats span {
    font-size: 2rem;
    font-weight: 900;
    color: var(--light-green);
}

.stats p {
    font-size: 1.5rem;
    color: var(--fg);
}

@keyframes Pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat .top {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.stat .top .fa-solid {
    will-change: opacity, transform;
    animation: Pulse 2s infinite;
    cursor: pointer;

}


.certificate img {
    max-width: 100px;
}

.map-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    border-radius: 12px;
}

.map-wrapper.active {
    opacity: 1;
    pointer-events: auto;
    border-radius: 12px;
}

.map-wrapper iframe {
    width: min(90vw, 900px);
    height: min(80vh, 600px);
    border-radius: 12px;
    border: none;
    background: white;
}

.map-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    background: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}


/*-------------------Partners-----------------------*/

.partners {
    width: 100%;
    padding: 2rem 0;
    overflow: visible;
    background-color: var(--bg);
    margin: 3rem o;
}

.partners-swiper {
    width: 100%;
    height: 100px;
    overflow: visible;
    /* allow vertical offset */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.partners-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
}

.partners-swiper .swiper-slide {
    width: 250px;
    height: 100px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: transform 0.25s ease;
}

.partners-swiper .swiper-slide:active {
    cursor: grabbing;
}

.partners-swiper .swiper-slide:hover img {
    transform: scale(1.1);
    filter: grayscale(0);
}

.partners-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: grayscale(0.5);
    transition: all 0.5s ease;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 100%;
    padding: 1rem;

}



.service {
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    border-radius: 20px;

}

.blob-image {
    display: none;
}

.service.right,
.service.left {
    text-align: center;
}

.service h2 {
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.service p {
    font-size: 0.8rem;
    line-height: 30px;
    font-family: var(--text-font);
}

/*----------------------------NEWS SECTION-------------------------------------*/

.news-container {
    width: 100%;
    padding: 10rem 0 0;
    margin: 8rem 0;
}

.news-container hr {
    width: 80%;
    margin: 1rem auto;
    height: 3px;
    border: none;
    background: linear-gradient(to right,
            var(--bg) 0%,
            var(--light-green) 33%,
            var(--fg) 66%,
            var(--bg) 100%);
}

.news-container h2 {
    text-transform: uppercase;
    font-size: 3rem;
    color: var(--fg);
}

.card-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    overflow: hidden;
}

.card-list .card-item {
    list-style: none;

}

.card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.329);
    transition: 0.4s ease;
    text-align: left;
    height: 500px;
    cursor: pointer;
}

.go-to-lnk {
    text-decoration: underline;
    width: 100%;
    text-align: end;
}




.card-list .card-item .card-link:active {
    cursor: grabbing;
}



.card-list .card-link .card-image {
    width: 100%;
    height: 50%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.card-list .card-link .badge {
    color: var(--bg);
    margin: 16px 0 18px;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 10px;
    width: fit-content;
    border-radius: 10px;
    background-color: var(--fg);
}

.card-list .card-link .card-title {
    font-size: 16px;
    color: var(--light-green);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-list .card-link .content {
    font-weight: 400;
    text-transform: none;
    font-size: 17px;
}

.card-list .card-link .card-button {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: var(--fg);
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    transition: 0.4s ease;
    border: none;
}

.card-list .card-link .card-button i {
    font-size: 2rem;
}

.card-list .card-link:hover .card-button {
    color: var(--light-green);

}

.card-wrapper .swiper-pagination-bullet {
    height: 13px;
    width: 13px;
    opacity: 0.5;
    background: var(--light-green);
}

.card-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

.card-wrapper .swiper-slide-button {
    color: var(--light-green);

}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px;
    }

    .card-wrapper .swiper-slide-button {
        display: none;
    }
}

@media (min-width: 1200px) {



    .hero-content {
        padding: 0 5rem;
    }

    .bg-text {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        text-transform: uppercase;
        font-size: 25vh;
        font-weight: 900;
        letter-spacing: 10px;
        padding: 4vw;
        margin-left: 15rem;
        transform: translate(-50%, -50%);

    }

    .blurry-text {
        color: rgba(255, 255, 255, 0.308);
    }

    .bg-text>p:last-child {
        padding-left: 10rem;
    }

    .hero-title {
        text-align: start;
        padding-left: 7rem;
    }

    .hero-title-1 {
        font-size: 17vh;
    }

    .hero-title-2 {
        font-size: 20vh;
        margin-left: 5rem;
    }

    .hero-sub {
        display: block;
        font-size: 1.5rem;
        text-transform: uppercase;
        transform: rotate(90deg);
        position: absolute;
        left: -8rem;
        top: 50%;
        color: var(--bg);
    }

    .hero-buttons {
        width: 100%;
        display: block;
    }

    .slide-content-cta {
        cursor: pointer;
        margin-top: 4.5rem;
        margin-left: calc((.3) * 48vh + 6rem);
    }

    .slide-content-cta:hover {
        color: #000;
        background-color: var(--light-green);
        border-left: 4px solid var(--bg);
        border-right: 4px solid var(--bg);
        transform: scale(1.2) translateY(-50px);
    }

    .controls-button:hover {
        background-color: var(--light-green);
        font-weight: 700;
        opacity: 1;
        padding-top: 1.9rem;
        padding-bottom: 1.9rem;
        margin-bottom: -0.3rem;
        position: relative;
    }

    .controls-button:hover a {
        text-decoration: underline;
    }

    .outro {
        padding: 2rem;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin: 0;
    }

    .certificate {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .services {
        display: flex;
        flex-direction: column;
        gap: 5rem;
        width: 100%;
        padding: 10rem 4rem 0;
        margin-top: 0;
    }

    .services .service:nth-child(1),
    .services .service:nth-child(2) {
        background: none;
        border-radius: 0;
        filter: grayscale(0);
        color: var(--fg);
    }

    .spacer {
        height: 30vh;
    }

    .blob-image {
        display: block;
        width: 700px;
        object-fit: cover;

        transform: scale(0.05);
        opacity: 0;


        transition:
            transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1),
            border-radius 1.1s ease,
            opacity 0.5s ease;
    }

    .blob-image.animate {
        transform: scale(1);
        opacity: 1;

        border-radius: 16px;
        /* settles into normal shape */
    }

    .service {
        color: var(--fg);
    }

    .service.right {
        text-align: left;
        align-items: start;
        flex-direction: row;
    }

    .service.left {
        text-align: right;
        align-items: center;
        flex-direction: row-reverse;
    }

    .service h2 {
        margin-bottom: 1rem;
        font-size: 4rem;
    }

    .service p {
        font-size: 1rem;
        line-height: 30px;
        color: var(--fg);
    }

    .news-container {
        margin: 8rem 0 0;
    }

    .card-wrapper {
        max-width: 100%;
        margin: 0 60px 35px;
        padding: 3rem 2rem;
        overflow: hidden;
    }

    .card-list .card-item .card-link:hover {
        border-color: var(--light-green);
        transform: scale(1.05) translateY(-20px);
    }

    .go-to-lnk:hover {
        color: var(--light-green);
    }
}
