@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Pristina";
    src: url("../fonts/PRISTINA.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-pristina: "Pristina", cursive;
}

.font-pristina {
    font-family: var(--font-pristina);
}


body {
    font-family: "Poppins", sans-serif !important;
}

header {
    padding-top: 2vw;
    padding-inline: 4vw;
}

/* Static header for inner pages (without video background) */
.static-header {
    padding-top: 1.5vw;
    padding-bottom: 1.5vw;
    padding-inline: 4vw;
    background-color: #004A63;
}

header .logo-img {
    width: 6.25vw;
    height: 6.25vw;
}

header .btn {
    position: relative;
    border: none;
    background-color: none;
    padding: 0px;
    color: white;
    font-size: 1vw;
    font-weight: 600;
    width: max-content;
}

.btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(3deg, rgba(0, 0, 0, 0.00) 12.45%, #004A63 127.6%);
    z-index: -1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.banner-content p {
    text-align: center;
    font-weight: 300;
    font-size: 0.97vw;
    margin-top: 0.2vw;
}

.banner-content .gradient-box {
    background: linear-gradient(90deg, rgba(0, 74, 99, 0.00) 0%, #004A63 55.77%, rgba(0, 74, 99, 0.00) 100%);
    width: 90%;
    padding-block: 0.6vw;
    text-align: center;
}

.banner-content .gradient-box p {
    font-size: 1vw;
    margin-bottom: 0px;
    font-weight: 500;
}

.registration-section {
    padding: 4.225vw;
    background: #ffffff;
}

.registration-card {
    background: #fdf1e3;
    border-radius: 24px;
    overflow: hidden;
    margin: auto;
}

/* Ticket confirmation / failure cards */
.ticket-card {
    width: 100%;
    max-width: 780px;
    padding: 32px 40px;
}

.ticket-card h2 {
    text-align: left;
    margin-bottom: 16px;
}

.ticket-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
}

.ticket-details {
    flex: 2;
    text-align: left;
}

.ticket-qr {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ticket-qr img {
    max-width: 260px;
    width: 100%;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
}

.ticket-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Left image */
.card-image {
    width: 45%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right content */
.card-content {
    padding: 50px;
}

.card-content h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 13px;
    color: #555;
    margin-bottom: 32px;
}

/* Form */
.registration-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group label {
    font-weight: 600;
    display: block;
    font-size: 0.950vw;
    color: #004A63;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c9bfb3;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    outline: none;
    color: #9aa0a6;
}

.form-group select option {
    color: #000;
}

.form-group select::placeholder {
    color: #c9bfb3;
}

.upload-group {
    position: relative;
}

.upload-btn {
    border: none;
    background: none;
    color: #003b4a;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

/* Submit */
.submit-btn {
    margin-top: 20px;
    background: #003b4a;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn img {
    width: 17px;
    height: 8px;
}

.submit-btn.is-loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Terms & conditions checkbox alignment */
.terms-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.terms-text {
    font-size: 13px;
    color: #004A63;
    font-weight: 600;
}

.terms-link {
    color: #004A63;
    text-decoration: underline;
}

.terms-link:hover {
    text-decoration: none;
}

.card-content h2 {
    font-family: "Marcellus", serif;
}

.upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.upload-wrapper input[type="text"] {
    flex: 1;
    padding-right: 100px;
}

.browse-btn {
    position: absolute;
    right: 0;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.scroll-btn {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    cursor: pointer;
}

.banner-content h2 {
    font-family: "Marcellus", serif;
    font-size: 2.8vw;
    margin-top: 0.5vw;
}

.error {
    border-color: #e63946 !important;
}

.error-msg {
    font-size: 12px;
    color: #e63946;
    margin-top: 4px;
}

.file-name-display {
    font-size: 12px;
    color: #004A63;
    font-weight: 500;
    min-height: 20px;
}

.pile-colors-2 {
    position: absolute;
    bottom: -8vw;
    left: 0;
    width: 11vw;
    height: auto;
    transform: rotate(-10deg);
}

.ethos-section {
    position: relative;
    background-color: white;
    height: 90vh;
}

.pile-colors-1 {
    position: absolute;
    top: -8vw;
    right: 0;
    width: 13vw;
    height: auto;
    /* transform: rotate(-10deg); */
}

.ethos-section .banner-content {
    color: #000000;
    width: 74%;
}

.ethos-section .banner-content h4 {
    color: #004A63;
}

.ethos-section .banner-content p {
    color: #656565;
    margin-top: 0.7vw;
}

.ethos-section h2 {
    text-align: center;
}

.section-image {
    width: 100%;
    height: 100%;
}

.footer-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #004A63;
    color: white;
    padding: 3vw 2vw;
    z-index: 9999;
}

.footer-section h3 {
    font-family: "Marcellus", serif;
    margin: 1vw 2.5vw;
}

.footer-section p {
    font-size: 1vw;
}

.footer-section .footer-logo-img {
    width: 7.5vw;
    height: 7.5vw;
}

/* Mobile */
@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
    }

    .ticket-card {
        padding: 24px 20px;
    }

    .ticket-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ticket-details {
        text-align: center;
    }

    .form-group label {
        font-weight: 600;
        display: block;
        font-size: 13px;
        color: #004A63;
        margin-bottom: 6px;
    }

    .banner-content {
        width: 90%;
    }

    .footer-section {
        padding: 30px 25px;
    }

    .footer-section p {
        font-size: 12px;
        text-align: center;
    }

    .footer-section .footer-logo-img {
        width: 60px;
        height: 60px;
    }

    .footer-section h3 {
        margin: 10px 20px;
    }

    .banner-content .gradient-box p {
        font-size: 14px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .banner-content h2 {
        font-size: 26px;
        text-align: center;
    }

    .banner-content .gradient-box {
        padding-block: 15px;
    }

    .icon {
        width: 80px;
        height: 40px;
    }

    .decorated-title {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .decorated-title {
        font-size: 26px;
    }

    .pile-colors-1{
        width: 90px;
        height: auto;
    }

    .pile-colors-2{
        width: 90px;
        height: auto;
        transform: rotate(0deg);
        bottom: -60px;
    }

}

/* Tablet */
/* @media (min-width: 769px) and (max-width: 990px) {} */

/* Desktop */
@media (min-width: 991px) {



    .banner-content p {
        text-align: center;
        font-weight: 300;
        font-size: 0.97vw;
        margin-top: 0.2vw;
    }

    .banner-content .gradient-box {
        background: linear-gradient(90deg, rgba(0, 74, 99, 0.00) 0%, #004A63 55.77%, rgba(0, 74, 99, 0.00) 100%);
        width: 90%;
        padding-block: 0.6vw;
        text-align: center;
    }

    .banner-content .gradient-box p {
        font-size: 1vw;
        margin-bottom: 0px;
        font-weight: 500;
    }

    .decorated-title {
        display: flex;
        align-items: center;
        gap: 12px;
    }



}