* {
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
}

body {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    color: white;
    overflow-x: hidden;
    color: #243746;
}

.wrapper {
    background: url(../images/background.jpg) center center no-repeat;
    background-size: cover;
}

/* Optional dark overlay for readability */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
    display: flex;
    align-items: center;
    padding: 60px 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

header img {
    height: auto;
    width: 132px;
    transition: transform 0.5s ease;
}

header a {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

header a:hover img {
    transform: scale(1.05);
}

.main-content {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column;
    width: 100%;
}

.top-content-cont {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.top-content-cont.form {
    top: 27%;
}

.bottom-btn-cont {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.bottom-btn-cont.form {
    bottom: 20%;
}

.main-content h1 {
    color: #243746;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.32px;
    text-transform: capitalize;
    margin: 0 0 12px;
}

.main-content p {
    color: #243746;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.16px;
    max-width: 310px;
    margin: 0;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px;
    font-size: 12px;
    text-align: right;
}

footer a {
    color: #243746;
    text-decoration: none;
    transition: color 0.4s;
    font-size: 12px;
    font-weight: 600;
}

footer a:hover {
    color: #e10029;
}

.center {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

button {
    padding: 12px 24px;
    margin-top: 15px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
}

.gradient-border-btn {
    padding: 16px 40px;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    background: #e10029;
    backdrop-filter: blur(8px);

    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;

    margin-top: 26px;
}

.gradient-border-btn.form {
    margin-top: 16px;
}

.spacer {
    padding: 200px 20px;
}

input {
    padding: 12px;
    width: 300px;
    max-width: 90%;
    border-radius: 6px;
    border: none;
    margin-top: 10px;
}

[x-cloak] {
    display: none !important;
}

.specs {
    color: #243746;
    text-align: center;
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.22px;
    text-decoration: none;
    display: block;
    margin-top: 12px;
}

.specs span {
    color: #e10029;
}

.pop-up-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    inset: 0px;
    background: rgb(10 9 18 / 14%);
    display: flex;
    justify-content: center;
    align-items: center;
    fill: rgba(10, 9, 18, 0.75);
    backdrop-filter: blur(2px);
}

.pop-up-box {
    background: #ffffff;
    backdrop-filter: blur(8px);
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
}

.pop-up-box-inner {
    padding: 60px 36px;
}

.pop-up-box h2 {
    color: #e10029;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.18px;
    text-transform: capitalize;
    margin: 0 0 30px;
}

.pop-up-box p {
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 215.385% */
    letter-spacing: -0.13px;
    text-align: left;
    max-width: 100%;
}

.pop-up-box p span {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 215.385% */
    letter-spacing: -0.13px;
}

.pop-up-box p span.note {
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
}

.pop-up-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
}

.pop-up-close-btn img {
    transition: transform 0.5s ease;
}

.pop-up-close-btn:hover img {
    transform: rotate(90deg);
}

.input-wrap {
    width: 300px;
    margin-top: 26px;
}

.input-wrap input {
    background-color: transparent;
    border: 1px solid #243746;
    border-radius: 10px;

    width: 100%;
    min-width: 100%;

    color: #243746;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    padding: 16px;
}

.input-wrap input::placeholder {
    color: #243746;
    opacity: 1; /* Ensures Firefox displays full color depth */
    font-weight: 500;
}

.input-wrap input:focus {
    outline: none;
    box-shadow: none;
}

.error {
    width: 100%;
    max-width: 100% !important;
    padding: 10px;
    font-size: 12px !important;
    color: #af96b9 !important;
    font-weight: 400 !important;
    font-style: italic !important;
}

@media (max-width: 1024px) {
    .header img {
        max-width: 132px;
    }

    .top-content-cont {
        top: 26%;
    }

    .bottom-btn-cont {
        bottom: 19%;
    }
}

@media (max-width: 767px) {
    header {
        justify-content: center;
        padding: 40px;
    }
    footer {
        text-align: center;
    }

    .main-content h1 {
        margin: 0 0 20px;
        font-size: 28px;
    }

    .main-content p {
        font-size: 16px;
        line-height: 22px;
    }

    .spacer {
        padding: 150px 20px;
    }

    .pop-up-wrap {
        padding: 0 20px;
    }

    .top-content-cont {
        top: 16%;
    }

    .bottom-btn-cont {
        bottom: 18%;
    }
}
