* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: visible;
    scroll-behavior: smooth;
}

.pages-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

#bg-video1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body {
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    color: white;
}

.content-top {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes swing {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

.niraya-logo {
    max-width: 400px;
    height: auto;
    margin-top: 30px;
    animation: swing 20s infinite ease-in-out;
}

h3 {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: white;
    text-align: center;
    margin-top: -20px;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.logo-container {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
    padding: 10px;
    overflow-y: hidden;
}

.logo-box {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 5px;
}

.logo-box img {
    width: 80px;
    height: auto;
    margin-bottom: 2px;
}

.logo-box p {
    font-size: 12px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

.logo-box a {
    text-decoration: none;
    color: inherit;
}

.logo-box:hover {
    transform: scale(1.1);
}

.niraya-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgb(252,127,213);
    background: linear-gradient(0deg, rgba(252,127,213,0.5) 0%, rgba(190,174,247,0.5) 35%, rgba(85,233,232,0.5) 100%);
    border-radius: 10px;
    transition: transform 0.3s;
    text-align: center;
}

.niraya-icon img {
    width: 45px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 5px;
}

.niraya-icon:hover {
    transform: scale(1.05);
    background: rgb(252,127,213);
    background: linear-gradient(0deg, rgba(252,127,213,0.8 ) 0%, rgba(190,174,247,0.8) 35%, rgba(85,233,232,0.8) 100%);
}

.niraya-icon p {
    font-size: 12px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 50px;
    border-radius: 15px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-banner {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-text {
    color: white;
    font-family: "Inter", sans-serif;
    text-align: justify;
    font-weight: 300;
    font-size: 14px;
    margin-top: 30px;
}

.modal-text-title {
    color: white;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    margin-top: 30px;
}

.close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: rgb(252,127,213);
    font-size: 26px;
    font-weight: lighter;
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
}

.close:hover {
    color: white;
}

/* Intro Modal */
.intro-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.intro-content {
    text-align: center;
    color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
}

.intro-content h1 {
    font-size: 32px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.intro-content p {
    font-size: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    margin-bottom: 30px;
}

.intro-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-family: "Handjet", sans-serif;
    font-weight: 700;
    border: none;
    background-color: white;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.intro-btn:hover {
    background-color: #606060;
}

#sound-control img {
    width: 30px;
    height: 30px;
    margin: 20px;
    cursor: pointer;
    filter: brightness(0) invert(1);
}

#sound-control:hover img {
    filter: brightness(1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 30px;
    width: 95%;
    max-width: 1000px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 12px;
    color: white;
    font-family: "Inter", sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: "Inter", sans-serif;
    border-radius: 5px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    resize: none;
}

.contact-form select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group input {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: rgb(252,127,213);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-family: "Bebas Neue", sans-serif;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: rgb(197, 186, 237);
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 20px;
}

.social-icons img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.15);
}

@media (max-width: 900px) {

    .logo-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        justify-items: center;
        padding: 10px;
    }

    .logo-box {
        width: 70px;
        height: 70px;
    }

    .logo-box img {
        width: 35px;
    }

    .content-middle {
        justify-content: center;
        height: 100%;
    }
    
    .niraya-logo {
        max-width: 250px;
    }

    .niraya-icon img {
        width: 40px;
    }
    
    .niraya-icon p {
        font-size: 8px;
    }

    .modal-text {
        font-size: 12px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .contact-form {
        width: 90%;
    }

    @media (max-width: 600px) {
        .form-row {
            flex-direction: column;
        }
    }
}