body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background: linear-gradient(90deg,
            #18186A 0%,
            #242A7C 8%,
            #3F4FA2 27%,
            #546DBF 46%,
            #6382D5 65%,
            #6B8EE1 83%,
            #6F93E6 100%);
}

main {
    height: 100%;
    justify-content: center;
    align-items: center;
    background-repeat: repeat;
    width: 100%;
    background-size: 100%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;

}

section {
    /*width: 100%;*/
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    /*text-align: center;*/
    z-index: 50;
    margin: 30px 0px;
}

h1 {
    margin-bottom: 10px;
}

/* ========== BACKGROUND GRID ========== */
.container-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hex-grid {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hex-grid .grid {
    position: absolute;
    top: 0;
    left: 0;
    background: url('./images/mosaic-tile-bg-ng.svg') center center;
    background-repeat: repeat;
    width: 100%;
    height: 100vh;
    background-size: cover;
    z-index: 2;
}

.hex-grid .grid-2 {
    position: absolute;
    top: 0;
    left: 0;
    background: url('./images/Tiles-grid-bg-image-2.svg') center center;
    background-repeat: repeat;
    width: 100%;
    height: 100vh;
    background-size: cover;
    z-index: 2;
}

.hex-grid .light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    filter: blur(20px);
    background: radial-gradient(circle, var(--color-fourth) 60%, transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
    z-index: 0;
}

/* 🌟 Trail Elements */
.trail {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--color-fourth) 0%, transparent 70%);
    filter: blur(30px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

header {
    position: relative !important;
}

ul#menu-main-menu {
    display: flex;
    gap: 60px;
}

ul#menu-main-menu-1 {
    display: flex;
    flex-direction: column;
    gap: 40px;
}


ul#menu-footer-menu {
    display: flex;
    gap: 40px;
}

.mosaic-header .connect-btn,
.mosaic-header .nav-menu,
.mosaic-header .logo .mosaic-logo {

    transform: translateY(0px) !important;
}

.footer-bottom {
    margin-top: 10px;
}

.footer-legal {
    border-bottom: 1px solid #FFF;
    padding-bottom: 20px;
}

.footer-disclaimer {
    margin-top: 20px;
}

.main-heading {
    font-size: clamp(2rem, 0.9437rem + 3.3803vw, 5rem);
    line-height: 1.2em;
    max-width: 800px;
    font-family: var(--font-family-first);
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-footer {
    text-align: center;
    padding: 1rem 0 !important;
}

.team-card .team-info .team-role {
    margin-bottom: 20px;
}

section.full-width {
    width: 100%;
}

section.width-95 {
    width: 95%;
}

.blog-card:hover {
    transform: translateY(0px) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.external-pagination-outside,
.external-pagination-outside-1 {
    text-align: center;
    margin-top: 10px;
    /* Adjust this value to control spacing */
}

.teams-scroll-wrapper {
    height: auto !important;
}

/* section p {
                width: 80%;
                margin: 0 auto;
            } */

.panel-container {
    margin: 0px 30px;
}

.privacy-content {
    width: 80vw;
}

.mosaic-container {
    padding: 0px 30px;
}


.mosaic-header .nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 20px !important;
    transition: 0.3s;
}

@media (max-width: 767px) {
    body:not(.single-page) .blogSwiper {
        min-height: 500px !important;
    }

    .team-card {
        padding-top: 30px;
    }

    .team-card .team-info .team-role {
        margin-bottom: 0px;
    }

    .blog-card {
        min-height: 400px !important;
    }

    section {
        margin: 20px 0px;
    }

    .teamSwiper {

        min-height: 395px !important;

    }

    .spacer {
        height: 200px;
    }

    .loader-overlay .icon {
        width: 80px;
    }

    .map-container{
        width: 100%!important;
    }

    .contact-details .contact-detail .contact-details-CTA {
    width: unset!important;
}
	
	ul#menu-footer-menu {
    display: flex
;
    gap: 25px;
    flex-direction: column;
		text-align: left;
}

   
}

.teamSwiper {
    width: 100%;
    height: auto;
    min-height: 450px;
    position: relative;
    padding: 0;
    margin: 0;
    pointer-events: auto;
    overflow: hidden;
}

.teamSwiper .swiper-wrapper {
    display: flex;
    width: max-content;
    min-width: 100%;
    transition: transform 0.6s ease;
}

.news-container,
.teamSwiper {
    z-index: 9 !important;
}

@media (max-width: 1600px) and (min-width: 1440px) {
    body:not(.single-page) .team-card {
        height: 380px !important;
    }

    .privacy-content {
    width: 90vw;
    }
}

@media (max-width: 576px) {
    .loader-overlay .icon {
        width: 70px !important;
    }

    .loader-overlay .wordmark {
        width: 230px !important;
    }

    .loader-overlay .logo {
        flex-direction: row;
        gap: 10px;
    }
}