.space-navbar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.space-nav-menu {
    background: transparent !important;
    border: none !important;
}

.space-nav-item {
    margin: 0 0.5rem;
}

.space-nav-link {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 500;
    padding: 12px 1rem !important;
    border-radius: 12px;
    position: relative;
}


/* .planet-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 0.5rem;
            transition: transform 0.3s ease;
            border-radius: 50%;
        } */

/* .space-nav-link:hover .planet-icon {
            transform: scale(1.1) rotate(10deg);
        } */

.nav-text {
    font-size: 18px;
    line-height: 26px;
    color: #ffffff;
    font-weight: 500;
    margin-top: 6px;
    font-family: "Lato", sans-serif;
}

.btn-join-space {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #000000 !important;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.btn-join-space:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333 !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    position: relative;
    height: 100vh;
    padding-top: 220px;
}


.hero-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-section .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    z-index: 3;
}


.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e9ecef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.menu-logo, .cstm_cmnu, .menu-title{
    display: none;
}



@media (max-width: 575.98px) {
    .menu-logo,
        .cstm_cmnu,
        .menu-title {
            display: block;
        }
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        margin-left: 1.5rem;
    }

    .space-nav-item {
        width: calc(100% - 3rem);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }

    .space-nav-item:last-child {
        border-bottom: none;
    }

    .space-nav-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 1rem;
        color: white !important;
        text-decoration: none;
        padding: 1rem 0 !important;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 0;
        font-family: "Lato", sans-serif;
    }

    .space-nav-link:hover {
        color: #ccc !important;
    }

    .planet-icon {
        width: 24px !important;
        height: 24px !important;
        margin-bottom: 0 !important;
        border-radius: 50%;
        flex-shrink: 0;
        object-fit: cover;
    }

    .nav-text {
        font-size: 1rem !important;
        margin-top: 0 !important;
        font-family: "Lato", sans-serif;
        font-weight: 500;
        color: white;
    }
    .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.navbar-collapse.show {
    opacity: 1;
    visibility: visible;
}
.hero-section .video-background {
        height: 100%;

}

}

@media (min-width: 576px) and (max-width: 767.98px) {
    .space-nav-link {
        padding: 0.6rem 0.8rem !important;
    }

    .planet-icon {
        width: 35px;
        height: 35px;
    }

    .nav-text {
        font-size: 0.8rem;
    }

    .btn-join-space {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .space-nav-item {
        margin: 0 0.25rem;
    }

    .space-nav-link {
        padding: 0.7rem 0.9rem !important;
    }

    .planet-icon {
        width: 38px;
        height: 38px;
    }

    .nav-text {
        font-size: 0.85rem;
    }

    .btn-join-space {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .space-nav-item {
        margin: 0 0.4rem;
    }

    .space-nav-link {
        padding: 0.75rem 1rem !important;
    }

    .planet-icon {
        width: 40px;
        height: 40px;
    }

    .btn-join-space {
        padding: 0.75rem 1.5rem;
        margin-left: 1rem;
    }
}

@media (min-width: 1200px) {
    .space-nav-item {
        margin: 0 0.6rem;
    }

    /* .space-nav-link {
        padding-top: 20px !important;
    } */

    /* .planet-icon {
                width: 42px;
                height: 42px;
            } */

    .btn-join-space {
        font-size: 16px;
        line-height: 24px;
        color: #000000;
        font-weight: 600;
        font-family: "Lato", sans-serif;
    }

    .hero-title {
        font-size: 80px;
        line-height: 88px;
        font-weight: bold;
        font-family: "Playfair Display", serif;
        color: #ffffff;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 28px;
        color: #E9E9E9;
        font-weight: 400;
        padding: 0px 96px;
        font-family: "Lato", sans-serif;

    }

    .cstm_mwc .cstm_btn {
        background-color: #ffffff;
        color: #000000;
        padding: 15px 30px;
        border-radius: 30px;
        font-size: 16px;
        line-height: 24px;
        font-family: "Lato", sans-serif;

    }
}

.content-section {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.content-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1400px) {
    .space-nav-item {
        margin: 0 0.8rem;
    }

    .space-nav-link {
        padding: 1rem 1.5rem !important;
    }

    .planet-icon {
        width: 45px;
        height: 45px;
    }

    .btn-join-space {
        padding: 1rem 2rem;
        margin-left: 2rem;
        font-size: 1.1rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .space-navbar {
        padding: 0.25rem 0;
    }

    /* .planet-icon {
                width: 25px;
                height: 25px;
                margin-bottom: 0.25rem;
            } */

    .nav-text {
        font-size: 18px;
        line-height: 26px;
        color: #ffffff;
        font-weight: 500;
        margin-top: 6px;
        font-family: "Lato", sans-serif;
    }
}

@media print {
    .space-navbar {
        background: white !important;
        color: black !important;
        box-shadow: none;
    }

    .space-nav-link {
        color: black !important;
    }
}