/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    resize: none;
}

::-webkit-scrollbar {
    display: none;
}

textarea {
    resize: none !important;
}

#modal {
    background: #796fab55;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.178));
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5vw;
}

input:focus,
textarea:focus {
    background-color: transparent !important;
    border-color: #796fab !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem #796fab !important;
}

.form-check-input:checked {
    background-color: #796fab !important;
    border-color: #796fab;
}

.btn:hover {
    color: #fff;
    background-color: #796fab;
    border-color: #796fab;
}

body {
    background: linear-gradient(225deg, #8177b7, #6d649a);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    color: #eff6f8;
    min-height: 100vh;
    min-height: 100dvh;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.bg-bugPurple {
    background-color: #796fab;
}

.text-bugWhite {
    color: #eff6f8;
}

.text-bugPurple {
    color: #796fab;
}

.text-black {
    color: #282828;
}

.closeCount {
    font-size: 10px;
    font-weight: 600;
}

.spinner-border {
    position: relative;
}

.closeCount {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: bold;
    animation: none;
    /* Prevents rotation */
    z-index: 10;
    /* Ensures it appears above the spinner */
}

button {
    border: none;
    cursor: pointer;
}

.spinner {
    width: 3.5rem;
    height: 3.5rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
    border-top: 0.5rem solid #eff6f8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
#navbar {
    width: 100%;
    position: sticky;
    top: 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(121, 111, 171, 0.4);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

#navbar .logo {
    width: clamp(140px, 20vw, 300px);
    flex-shrink: 0;
}

#navbar .logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Form Section */
.form_cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.frm {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    background: #eff6f8;
    width: 100%;
    max-width: 550px;
    display: flex;
    min-height: min(80vh, 900px);
    min-height: min(80dvh, 900px);
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.frm:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.1rem;
    color: #eff6f8;
    width: 20px;
    text-align: center;
}

.benefit-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: #796fab;
    font-weight: 800;
}

.or-separator::before,
.or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #796fab44;
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

.btn-outline-primary {
    border: 2px solid #796fab;
    color: #796fab;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #796fab;
    color: #fff;
}

.form-check-label {
    cursor: pointer;
    line-height: 1.4;
}

.form-check-input {
    cursor: pointer;
}

input[type="file"] {
    display: none;
    /* Hide file input field */
}

#profile1 {
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #282828bd;
    border-radius: 10px;
    padding: 0.8rem;
    background: none;
    width: 100%;
}

#profile1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    /* Added margin bottom for labels */
}

.frm input,
.frm textarea,
.frm select {
    border: 2px solid #282828bd;
    border-radius: 10px;
    padding: 0.8rem;
    background: none;
    width: 100%;
}

.frm .form-select,
.frm .custom-select {
    appearance: auto;
    min-height: calc(1.5em + 1.6rem + 4px);
}

.frm input[type="submit"] {
    background: linear-gradient(225deg, #8177b7, #6d649a);
    color: #fff;
    font-weight: bold;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0.8rem;
    cursor: pointer;
}

.frm input[type="submit"]:hover {
    background: linear-gradient(225deg, #6d649a, #8177b7);
}

.frm label {
    font-weight: bold;
    color: #282828;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.countdown div {
    text-align: center;
}

.countdown div span {
    display: block;
}

/* Rocket Image */
.rocket img {
    max-width: 30vw;
    margin: 1rem 0;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.2));
}

.general .row h2 {
    font-size: 3rem;
    font-weight: 900;
    font-style: oblique;
    text-shadow: none;
    line-height: 50px;
}

.rocket img {
    z-index: -10;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.178));
}

.text-dark-emphasis {
    color: #eff6f878 !important;
}

#modal {
    background: #796fab55;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.178));
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5vw;
}

.modal-content {
    background-color: #eff6f8;
    width: 80vw;
    padding: 2vw;
    border-radius: 15px;
    color: #282828;
    border: 1px solid #796fab;
}

.modal-header {
    border-bottom: 2px solid #282828;
    color: #796fab;
    padding: 5px;
    font-weight: 800 !important;
    font-size: 15px !important;
}

.modal-body {
    padding: 5px;
}

.modal-footer a,
.btn-primary {
    background: #796fab;
    border: 1px solid #796fab;
    outline: none;
    color: #eff6f8;
}

.modal-footer a:hover,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #796fabdd;
    outline: none;
    border: 1px solid #796fabdd;
    color: #eff6f8;
}

/* Responsive Design */
#content {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#waitlistForm {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

#waitlistForm > .row,
.form_cont > .row {
    width: 100%;
}

#alert {
    z-index: 20;
    max-width: min(420px, calc(100vw - 2rem));
}

@media (max-width: 1024px) {
    .frm {
        padding: 1rem;
    }

    #navbar .logo {
        width: 120px;
    }

    .rocket img {
        max-width: 40vw;
    }
}

@media (max-width: 768px) {
    #content {
        overflow-y: scroll;
    }

    #waitlistForm {
        height: 100%;
    }

    #navbar .logo {
        width: 100px;
    }

    #navbar {
        flex-direction: column;
        gap: 30px;
    }

    .countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .frm {
        padding: 1rem;
    }

    .rocket img {
        max-width: 70vw;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 0rem 0 2rem;
        background-attachment: scroll;
    }

    .general .row h2 {
        font-size: 2.5rem !important;
        font-weight: bold;
        text-shadow: -3px 2px #423c5e;


    }

    .general .row p {
        font-size: 0.8rem;
    }

    .frm {
        padding: 1.5rem 1.5rem;
        min-height: auto;
    }

    .form_cont {
        padding-bottom: 3rem;
    }

    .modal-content {
        width: min(92vw, 560px);
    }

    #alert {
        right: 1rem !important;
    }
}
