@font-face {
    font-family: "MyFont";
    src: url("/assets/fonts/file.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body{
    position: fixed;
    font-family: "MyFont", sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
}

.home-logo img{
    width: 458px;
    max-width: 100%;
}

.op{
    width: 100%;
    height: 100%;
    background-color: rgba(58, 103, 83, 0.6);
}

header{
    display: flex;
    justify-content: right;
    height: 10%;
    padding: 1%;
}

header a{
    align-self: center;
    margin: 5px;
    background-color: rgba(255, 255, 255, 0);
    border: 0;
    cursor: pointer;
}

header a img{
    width: 30px;
    height: 30px;
    filter: invert(100%) brightness(0%);
}

.home-bg-image{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: -8;
}

.home-bg-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main{
    position: relative;
    margin: auto;
    padding-top: 4%;
    align-self: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main div{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.home-nav button{
    cursor: pointer;
    margin: 10px;
    padding: 20px 35px;;
    color: white;
    background-color: rgba(255, 255, 255, 0);
    border: 0;
    box-shadow:  0.00px 1.00px 4px 0px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.home-nav button:hover{
    color: rgb(190, 190, 190);
}

.home-nav a{
    text-decoration: none;
    cursor: pointer;
    margin: 10px;
    padding: 20px 35px;;
    color: white;
    background-color: rgba(255, 255, 255, 0);
    border: 0;
    box-shadow:  0.00px 1.00px 4px 0px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.home-nav a:hover{
    color: rgb(190, 190, 190);
}

.language-wrapper {
    font-size: smaller;
    position: relative;
    margin: auto 10px;
}

.language{
    padding: 0 10px;
    margin: auto 10px;
    cursor: pointer;
    width: 60px;
    height: 37px;
    display: flex;
    background-color: transparent;
    border: 0;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
    justify-content: center;
}

.language svg{
    height: auto;
    width: 12px;
}

.language-selected{
    color: white;
    text-align: left;
    width: inherit;
    align-self: center;
}

.language-dropdown {
    text-align: left;
    z-index: 3;
    display: none;
    position: absolute;
    border-top: none;
    padding: 0 10px;
    margin: auto 10px;
    cursor: pointer;
    width: 60px;
    background-color: transparent;
    border: 0;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
    justify-content: center;
}

.language-option {
    height: 37px;
    color: white;
    display: flex;
    justify-content: left;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
}

.rotate {
    transform: rotate(180deg);
}

/* Modal Background Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 103, 83, 0.85); /* Matches your theme green */
    backdrop-filter: blur(5px);
}

/* Modal Content Container */
.modal-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.modal-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 350px;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3 {
    color: white;
    margin: 20px 0;
    font-size: 1.2rem;
}

.see-more {
    display: inline-block;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.see-more:hover {
    background: white;
    color: #3a6753;
}

/* Base background: always static */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/assets/images/f6d0b8_47fe60aaaf0e4da3a90fd4f15644863c~mv2.avif') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

/* Parallax layer: will be moved by JS */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh; /* Slightly taller to prevent gaps during scroll */
    background: url('/assets/images/f6d0b8_214dc7ba24ff4939a33914414fdac834~mv2.avif') no-repeat center center;
    background-size: cover;
    z-index: -1;
    pointer-events: none; /* Allows clicks to pass through to content */
}