.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(37, 37, 37, 0.1);
    /* Deep space blue from space-bg */
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(0, 65, 26, 0.8) 0%, rgba(0, 139, 56, 0.8) 100%);
    border: none;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
}

.close-btn {
    float: right;
    font-size: 1.5em;
    cursor: pointer;
    color: #858DA6;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-btn:hover {
    transform: rotate(90deg);
    color: #FFF;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
    justify-content: flex-end;
}

.glowing-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 50px var(--primary-glow),
        inset 0 0 50px var(--primary-glow);
    animation: rotate 20s linear infinite;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-content-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* Ensures it's on top */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: bahnschrift;
    color: rgb(209, 211, 212);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.click-me-btn {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.click-me-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.scroll-container {
    position: absolute;
    top: 360px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-text {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.mouse-icon {
    position: absolute;
    width: 40px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .glowing-ring {
        width: 300px;
        height: 300px;
    }
}