:root{
    --primary-text-color:white;
    --secondary-text-color:black;
    --extra-text-color:#666666;
    --primary-background-color:#ffff00;
    --secondary-background-color:#003d31;
}
.side-menu {
    position: fixed;
    top: 30%;
    right: -100px;
    transform: translateY(-50%); /* Vertically center the menu */
    border: 2px solid var(--primary-background-color);
    border-right: none;
    width: 90px; /* Smaller width when closed */
    height: 10px; /* Adjust the height as needed */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-text-color);
    transition: left 0.3s ease, width 0.3s ease; /* Smooth transition for both left and width */
    z-index: 1000; /* Ensure the menu is on top of other elements */
    padding: 15px; /* Adjust padding for small size */
    border-radius: 10px 0 0 10px;
    transition: 0.5s;
}

/* Hover Effect - Side Menu appears when hovering */
.side-menu:focus-within, .side-menu:hover {
    transition: 0.2s;
    padding: 10px ;
    height: auto;
    right: 0; /* Show the side menu */
    width: 80px; /* Full width when open */
}

/* Menu Text and Links Styling */
.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu ul li {
    margin: 5px 0;
    width: fit-content;
    padding-left: 5px;
}

.side-menu ul li a:hover{
    border-bottom: 2px solid;

}

.side-menu ul li a {
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: var(--secondary-text-color); /* Using secondary text color */
    font-size: 16px;
    display: block;
    transition: color 0.3s ease;
 /* Add some padding for links when menu is open */
}

.side-menu ul li a:hover {
    color: var(--primary-background-color); /* On hover, change to primary text color */

}

/* Optional: Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Main Content: No layout shifting */
main {
    transition: margin-left 0.3s ease;
}

/* Prevent the content from shifting when menu is hidden */
body:not(:hover) main {
    margin-left: 0; /* Keep content in place */
}

/* For open state, add a hover effect on menu items */
.side-menu:hover ul li a {
    color: var(--primary-text-color); /* Change text color on hover */
}

body {
    background-color: var(--secondary-background-color); /* Set body background */
    color: var(--secondary-text-color); /* Set general text color */
}

@media  (min-width:1000px) {
    .container *{
        overflow: visible;
        opacity: 0; /* Initially hidden */
        transform: translateY(10px); /* Start slightly below */
        transition: transform 0.5s ease, opacity 0.5s ease;
      }
    
      /* Active state when elements are in view */
      .container *._in-view{
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Back to original position */
    }
}

body{
    padding-top: 90px; /* Offset for the header's height + margin */
    background-color: var(--secondary-text-color);
    color: var(--primary-text-color);
    font-family: neue;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}
@font-face {
    font-family: neue;
    src: url(./font/NeueHaasUnica-ExtraLight.ttf);
}
@font-face {
    font-family: neueBold;
    src: url(./font/NeueHaasUnica-Bold.ttf);
}
@font-face {
    font-family: replica;
    src: url(./FontDesktop/Inter-ExtraLight.otf);
}
@font-face {
    font-family: neuebold;
    src: url(./FontDesktop/Inter-SemiBold.otf);
}

.header {
    position: fixed; /* Keeps the header fixed at the top */
    top: 0; /* Adjust for the margin */
    left: 0;
    width: 100%; /* Adjust width to account for left and right margins */
    background-color: var(--primary-background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out; /* Smooth hide/show animation */
    z-index: 1000;
    margin: 0; /* Add spacing around the header */
}

.header.hidden {
    transform: translateY(-200%); /* Slide the header out of view */
}

.mainNav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Add padding for spacing inside the nav */
    box-sizing: border-box;
    font-family: replica; /* Ensure this font is loaded */
    height: 60px;
    background-color: var(--primary-background-color);
    color: #030303;
    z-index: 999; /* Match header z-index */
    position: relative;
    width: 100%;
}

.mainNav-primary-homepage{
    align-items: center;
}
@font-face {
    font-family: intern;
    src: url(./FontDesktop/Inter-Light.otf);
}
.mainNav-primary{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    font-family: intern;
    padding: 0 10px;
}
.mainNav-primary-homepage-icon{
    align-content: center;
    width: 30px;
}
@font-face {
    font-family: fonttit;
    src: url(./FontDesktop/Inter-Medium.otf);
}
.mainNav-primary-homepage-title{
    font-family: fonttit;
    margin: 0;
    padding: 5px;
    text-decoration: none;
    color: black;
}
.mainNav-primarylist{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mainNav-listItem{
    display: grid;
    align-items: center;
    padding: 0 30px;
    align-items: center;
    margin: 0;
    font-size: 1rem;
}
.mainNav-linkItem{
    padding: 6px;
    align-content: center;
    height: 100%;
    color: var(--secondary-text-color);
    border-bottom: 3px solid transparent;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.5s ease, border-color 0.3s ease;
}
.mainNav-linkItem:hover{
    border-color: var(--secondary-text-color);
    transform-origin: left;
    transition: 0.5s;
}
.mainNav-primary-homepage{
    display: flex;
}
@font-face {
    font-family: interm;
    src: url(./FontDesktop/Inter-Medium.otf);
}
.mainNav-secondary{
    display: flex;
    column-gap: 10px;
    font-family: neuebold;
    padding: 0 10px;
    justify-content: space-around;
}
.mainNav-secondarylist{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mainNav-utility{
    align-content: center;
}
.mainNav-utility-button{
    padding: 10px 20px;
    align-self: center;
    border-radius: 20px;
    font-family: neuebold;
    background-color: transparent;
    border: 2px solid var(--secondary-text-color);
    transition: 0.25s;
    margin: 0;
    cursor: pointer;
}
.mainNav-utility-button:hover{
    color: var(--primary-text-color);
    background-color: var(--secondary-text-color);
    transition: 0.5s;
}
.container{
    overflow: hidden;
}
.hero{
    height: 100vh;
    width: 100%;
    display: flex;
    margin-bottom: 5vh;
}
.hero-left{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    padding: 5vh;
}
.hero-left-content{
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    align-self: center;
}
.hero-left-content-h1{
    font-size: 58px;
    font-family: replica;
    font-weight: bold;
    letter-spacing: -0.1cap;
    width: fit-content;
    padding-bottom:1rem;
    border-bottom:3px solid var(--primary-background-color);
}
.hero-left-content-h1 sup{
    font-size: 12px;
    letter-spacing: -0.01cap;
    border: 1px solid;
    border-radius: 50%;
    padding: 5px 2px;
}
.hero-left-content-p{
    font-size: 1.5rem;
    color: var(--primary-text-color);
    font-family: neue;
}
.hero-left-content-button{
    background-color: white;
    padding: 10px 50px;
    border: 2px solid;
    font-size: 15px;
    align-self: flex-start;
}
.hero-right{
    order: 3;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 50%;
    height: 100%;
}
.overview{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30vh 0 30vh 0;
    letter-spacing: 0.15cap;
    font-family: neue;
}
.overview-h1{
    text-align: center;
    font-size: 3rem;
    margin: 0;
    font-family: neueBold;
    color: var(--primary-background-color);
}
.overview-p{
    text-align: center;
    width: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}
.preview-content{
    height: auto;
    display: grid;
    grid-template-columns: repeat(18,1fr);
    grid-template-rows: auto;
    align-items: center;
    padding: 10vh;
    padding-bottom: 25vh;
    background-image: linear-gradient(180deg, #000000 30%, #393d3f 100%);
}
.preview-content-data{
    grid-column: 1/6;
}
.preview-content-show{
    grid-column: 7/19;
}
.preview-button{
    font-size: 1rem;
    border-radius: 2rem;
    background-color: white;
    padding: 10px 50px;
    margin: 10px 0;
    border:1px solid white;
}
.preview-button:hover{
    color: var(--primary-text-color);
    background-color: transparent;
    transition: 0.5s;
    cursor: pointer;
}
.offers{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    font-family: sans-serif;
    padding: 30vh 15vh;
    gap: 2vh;
}
.offers-div{
    flex: 1 1 0;
    padding: 5vh;
    border: 2px solid var(--primary-background-color);
}
.offers-div-h1{
    font-size: auto;
}
.offers-div-p{
    font-size: 0.8rem;
}
.module{
    padding: 20px 50px;
}
.module-heading{
    text-align: center;
    font-size: 60px;
}
.module-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    gap: 2vh;
    position: relative;
    padding: 1vw;
}
.module-grid img{
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: scale-down;
}
.module-grid-cell{
    overflow: hidden;
    object-fit: scale-down;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    padding: 12px 0 0 12px;
    position: relative;
    transition: 0.5s;
    background-color: #131212; /* Slightly lighter than the background */
    border: 1px solid #2a2a2a; /* Border for definition */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module-grid-cell-he{
    margin: 0;
    padding: 0;
    color: #ffffff; /* Bright white for headings */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.module-grid-cell-p{
    color: #b0b0b0; /* Subtle light gray for text */
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0 0 20px 0;
}
.module-grid-cell img{
    width: max-content;
    height: 100%;
    width: 100%;
    margin-left: auto;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-top-left-radius: 10px;
    margin: 5vh 0 0 5vh;
}
.module-grid-cell:hover{
    transform: translateY(-1vh);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.7);
}
.features{
    background-color: var(--primary-background-color);
    color: var(--secondary-text-color);
    padding: 12vh;
}
.features-h1{
    font-size: 3rem;
    font-family: neue;
    text-align: center;
    font-family: neueBold;
}
.features-cells{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10vh;
}
.features-cell{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid;
    border-radius: 15px;
    transition: 0.5s;
}
.features-cell:hover{
    background-color: var(--secondary-text-color);
    color: var(--primary-background-color);
    fill: var(--primary-background-color);
    cursor: pointer;
    transition: 0.5s;
}
.features-cell-h1{
    font-size: auto;
    padding:  10vh 5vh;
    font-family: neueBold;
}
.features-cell-icon{
    margin: 70px 0;
    width: 30%;
    height: auto;
}
.features-cell-arrow path{
    width: 50px;
    color: #000000;
    fill: #000000;
}
.footer{
    height: auto;
}
.footer-wrapper{
    display: flex;
    padding-top: 5vh;
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
.footer-infolistItem{
    font-size: 24px;
    list-style: none;
    padding-bottom: 2vh;
}
.footerinfolist{
    padding: 0;
    margin-top: 5vh;    
}
.footer-infolistItem:hover{
    color: var(--primary-background-color);
    cursor: pointer;
}
.footerlist-h1{
    font-size: 24px;
}
.footer-listItem{
    font-size: 14px;
    list-style: none;
}
.footer-listItem:hover{
    cursor: pointer;
    color: var(--primary-background-color);
}
.footerlist{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
}
.footerlist-icon path{
    fill: var(--primary-text-color);
}
.footer-reflist{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 10vh;
    gap: 10px;
}
.footer-ref-p:hover{
    cursor: pointer;
    color: gray;
}
.footer{
    background-image: url('Union.svg');
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: right bottom;
}
.footer-icon{
    width: 15vh;
    height: 15vh;
    order: 1;
}
.footer-icon path{
    fill: white;
}
/* Default State */
.mainNav-menu, .menu-toggle {
    display: none; /* Hidden by default on larger screens */
}

@media (max-width: 950px) {
    /* Utility Adjustments */
    .mainNav-utility {
        margin: 1vh;
    }
    /* Toggle Button */
    .menu-toggle {
        display: block; /* Show toggle button on smaller screens */
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 1000;
        background-color: transparent;
        border: none;
        cursor: pointer;
        width: auto;
        height: auto;
    }
    /* Main Navigation Menu */
    .mainNav-menu {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack menu items vertically */
        position: absolute;
        top: 60px; /* Adjusted based on the header */
        left: 0;
        background-color: yellow;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000; /* Ensure it stays on top of other elements */
    }
    /* Visible Menu State */
    .mainNav-menu.open {
        display: flex; /* Show menu when open */
    }

    .mainNav-listItem, .mainNav-linkItem {
        font-size: 1rem;
    }

    /* Hide Primary and Secondary Navigation by Default */
    .mainNav-primarylist, .mainNav-secondary {
        display: none;
    }

    /* Menu List Styling */
    .menu-primarylist, .menu-secondarylist {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    /* Center Navigation Wrapper */
    .mainNav-wrapper {
        justify-content: center;
    }
}


@media (max-width:1100px){
    .hero{
        margin-top: 60px;
        align-content: center;
    }
    .overview{
        height: auto;
    }
    .mainNav-listItem{
        padding: 0vh;
        font-size: 0.75rem;
    }
    .hero-left{
        display: flex;
        padding: 0;
        margin: 0;
    }
    .features-cell{
        width: 30%;
    }
    .overview{
        height: auto;
        width: 100%;
        letter-spacing: 0;
    }
    .overview-h1{
        width: 100%;
        font-size: 3em;
    }
    .overview-p{
        font-size: 2rem;
        width: 100%;
        padding: 1rem;
    }

}
@media(max-width:1350px){
    .overview{
        height: auto;
    }
    .mainNav-listItem{
        padding: 1rem;
        font-size: 0.75rem;
    }
    .mainNav-linkItem{
        padding: 0;
    }
}

@media (max-width:768px){
    .header{
        top: 0;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .mainNav-wrapper{
        padding: 0;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
    }
    .hero{
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .hero-right{
        order: 1;
        width: 100%;
        height: 50vh;
    }
    .hero-left{
        width: 100%;
        margin: 5vh;
        display: flex;
        justify-content: left;
    }
    .hero-left-content-h1,.preview-content-data-h1{
        font-size: 3rem;
        margin: 0;
    }
    .hero-left-content-p{
        font-size: 1.5rem;
        margin: 1rem 0;
    }
    .hero-left-content-button, .preview-button{
        font-size: 1rem;
        padding: 0.5rem 2rem;
        border-radius: 2rem;
    }
    .preview-content{
        grid-template-columns: auto;
        height: auto;
    }
    .preview-content-data{
        grid-column:auto; 
        grid-row: 1;
        font-size: 2.5rem;
    }
    .preview-content-show{
        grid-column: auto;
        grid-row: 2;
    }
    .offers{
        height: max-content;
        font-size: 5rem;
        flex-direction: column;
        margin: 20vh 0;
        padding: 2rem 0;
    }
    .offers-div-h1{
        font-size: 3.5rem;
    } 
    .offers-div-p{
        font-size: 2rem;
    }
    .features{
        padding: 5vh 0;
    }
    .features-cells{
        display: grid;
        align-items: center;
        gap: 5vh;
    }
    .features-cell{
        width: auto;
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
    }
    .features-cell-h1{
        margin: 2vh;
    }
    .features-cell-icon{
        margin: 5vh;
        width: 5rem;
    }
    .features-cell-h1{
        margin: 5vh;
        padding: 0;
        font-size: 2.2rem;
    }
    
}

@media (max-width:425px){
    .preview-content{
        padding: 2vh;
    }
    .hero-left{
        margin: 3rem 1rem;
    }
    .hero-right{
        height: 40vh;
    }
    .hero-left-content{
        align-self: center;
        width: 100%;
    }
    .hero-left-content-h1,.preview-content-data-h1{
        font-size: 3rem;
    }
    .preview-content-data-p{
        font-size: 1.2rem;
    }
    .preview-content-data-h1{
        font-size: 1.75rem;
        padding: 0;
        margin: 0;
    }
    .hero-left-content-p{
        font-size: 1rem;
        width: 100%;
    }
    .hero-left-content-button, .preview-button{
        font-size: 1rem;
        padding: 0.5rem 2rem;
    }
    .overview-h1{
        font-size: 1.75rem;
        width: 100%;
    }
    .overview-p{
        font-size: 1.5rem;
        font-weight: normal;
        width: auto;
        text-align: center;
    }
    .preview-content-data{
        font-size: 1.5rem;
        padding: 5vh 0;
    }
    .offers{
        padding: 2rem 0;
    }
    .offers-div-h1{
        font-size: 2rem;
        margin: 0.5rem 0;
    }
    .offers-div{
        padding: 2rem;
    }
    .offers-div-p{
        font-size: 1rem;
    }
    .module-heading{
        font-size: 2.5rem;
    }
    .module-grid{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .features-h1{
        font-size: 2.5rem;
    }
    .features-cell-h1{
        font-size: 1rem;
    }
    .features-cell-icon{
        font-size: 1rem;
        width: 10vh;
        margin: 0;
    }
    .module{
        padding: 10px 20px;
    }
}
@media (max-width:375px){
    .hero-right{
        height: 30vh;
    }
    .overview, .offers, .preview-content{
        padding: 2vh;
    }
    .module{
        padding: 0;
    }
    .preview-content-data-h1{
        font-size: 1.5rem;
        padding: 0;
        margin: 0;
    }
    .preview-content-data-p{
        font-size: 1rem;
    }
}

