body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    /* background-color: #000; */
    position: relative;
    /* Removed overflow: hidden; */
    position: relative;
    background-image: url('https://47865949.fs1.hubspotusercontent-na1.net/hubfs/47865949/raw_assets/public/astro%20final%201/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background animation for a metaverse/VR feel */
body::before {
    content: '';
    position: fixed; /* Use fixed so it stays in place while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(circle at center, rgba(138, 43, 226, 0.3) 0%, rgba(0, 0, 0, 0) 70%),
                radial-gradient(circle at bottom left, rgba(0, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%),
                radial-gradient(circle at top right, rgba(255, 0, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: backgroundPulse 15s infinite ease-in-out; */
    z-index: -1; /* Make sure it's behind the content */
}
@keyframes backgroundPulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.left-panel {
    flex: 1;
    /* background: linear-gradient(135deg, #4b0082, #1a0033); */
    /* padding: 4rem; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    /* background-image: url('img/img_bg.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.left-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 10px 30px;
    background-color: #ffffff36;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.learn-more {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    /* border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px; */
    font-size: 1.9rem;
    /* transition: background-color 0.3s, border-color 0.3s; */
    font-weight: bold;
}

/* .learn-more:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
} */

.content {
/*     margin-top: -8rem; */
    padding: 10px 30px;
    margin-bottom: 50px;
}

.content h1 {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.content p {
    font-size: 1.5rem;
    margin-top: 1rem;
    /* opacity: 0.8; */
    /* max-width: 400px; */
}

@media screen and (max-width: 900px) {
  .footer_desktop {
    display: none;
  }
}

@media screen and (min-width: 901px) {
  .footer_mobile {
    display: none;
  }
}

.footer_desktop {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    gap: 1rem;
    z-index: 100;
    padding: 10px 30px;
}

.footer_desktop a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer_desktop a:hover {
    opacity: 1;
}

.right-panel {
    flex: 1;
    background-color: #0d0d0d;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-panel form {
    /* max-width: 400px; */
    width: 100%;
    margin: 0 auto;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23aaa"%3e%3cpath d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" fill-rule="evenodd"%3e%3c/path%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem; */
}
select {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23aaa"%3e%3cpath d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" fill-rule="evenodd"%3e%3c/path%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: #7b29a8;
    box-shadow: 0 0 5px rgba(123, 41, 168, 0.5);
    outline: none;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #555;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    top: 2px;
}

.consent-group input[type="checkbox"]:checked {
    background-color: #7b29a8;
    border-color: #7b29a8;
}

.consent-group input[type="checkbox"]:checked::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.consent-text {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #7b29a8, #c649c6);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(123, 41, 168, 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        min-height: auto; /* Allow the container to grow with content */
    }

    .left-panel {
        height: 60vh; /* Set a fixed height to show a part of it */
        justify-content: flex-start;
        box-shadow: none;
    }

    .left-panel .footer {
        display: none; /* Hide the footer from the left panel */
    }
  
    .content h1 {
      font-size: 2.5rem;
    }
  
    .content p {
      font-size: 1rem;
    }

/*     .right-panel {
        padding: 2rem;
        padding-top: 4rem; /* Add some space at the top */
    } */

    .content {
/*         margin-top: 0 !important; */
        margin-bottom: 2rem;
    }

    .right-panel .footer {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
}