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

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src: url('fonts/SourceSansPro-Regular.ttf.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    src: url('fonts/SourceSansPro-Semibold.ttf.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    src: url('fonts/SourceSansPro-Bold.ttf.woff2') format('woff2');
}

body {
    font-family: 'Source Sans Pro','Montserrat', sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.container,
.container-bleed {
    background: #000;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.container {
    padding: 40px;
}

.container-bleed {
    border-radius: 20px 20px 0 0;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

.headline-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.logo {
    margin: 0;
    width: 200px;
    height: auto;
    position: relative;
    top: 80px;
}

.align-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.label-text {
    margin-right: 4px;
}

.subtitle {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #2a2a2a;
    color: #ffffff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #666;
    background: #333;
}

.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 20px;
    border: 2px dashed #666;
    border-radius: 10px;
    background: #2a2a2a;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-label {
    background: #333;
    border-color: #888;
}

.file-upload-icon {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #ffb300;
    color: #000;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: #ffb300;
    border-color: #888;
}

.submit-btn:active {
    transform: translateY(0);
}

.message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.required {
    color: #ff6b6b;
}

#video {
    width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 20px 20px 0 0;
    /* margin-bottom: 20px; */
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .subtitle {
        font-size: 1rem;
    }

    .guidelines{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    input[type="text"],
    input[type="email"],
    select {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }

    .headline-title {
        font-size: 1.5rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .guidelines{
        width: 100% !important;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 30px;
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    color: #ffffff;
}

.modal-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.modal-message {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #cccccc;
}

.modal-close {
    background: #333;
    color: white;
    border: 2px solid #666;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #444;
    border-color: #888;
}

/* --- Checkbox and Label Styles --- */
.terms-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
    justify-content: center;
}

#terms-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.terms-label {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
}

.terms-label a {
    color:rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.terms-label a:hover {
    text-decoration: underline;
}

/* --- Submit Button Styles --- */
#submit-btn {
    /* width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s; */
}

#submit-btn:disabled {
    background-color: #ffb300;
    cursor: not-allowed;
    opacity: 0.7;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-overlay .modal-content {
    background-color: #333;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh; /* Max height to fit on screen */
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    border: 2px solid #666;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-overlay .modal-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-overlay .modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #fff;
}

.modal-overlay .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-overlay .modal-close-btn:hover,
.modal-overlay .modal-close-btn:focus {
    color: #000;
}

.modal-overlay .modal-body {
    overflow-y: auto; /* Make terms scrollable */
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.6;
}

.modal-overlay modal-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.modal-overlay #accept-terms-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* -- Terms and conditions -- */
/* --- Typography --- */
.modal-overlay .modal-content {
    text-align: left;
}

.modal-overlay h1,
.modal-overlay h2,
.modal-overlay h3 {
    color: #fff;
    line-height: 1.3;
}

.modal-overlay h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 1.5em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5em;
}

.modal-overlay h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3em;
}

.modal-overlay h3 {
    font-size: 1.2em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.modal-overlay p {
    margin-bottom: 1em;
}

.modal-overlay a {
    color: #fff;
    text-decoration: underline;
}

.modal-overlay a:hover {
    text-decoration: underline;
}

/* --- Lists --- */
.modal-overlay ol, .modal-overlay ul {
    padding-left: 2em;
    margin-bottom: 1em;
}

.modal-overlay li {
    margin-bottom: 0.5em;
}

/* Nested ordered list for lettered items */
.modal-overlay ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5em;
}

/* --- Consent Box --- */
.modal-overlay .consent-box {
    margin-top: 2.5em;
    padding: 20px;
    background-color: #f0f5fa;
    border: 1px solid #cddde8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px; /* Space between checkbox and text */
}

.modal-overlay .consent-box input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0; /* Prevents checkbox from shrinking */
}

.modal-overlay .consent-box label {
    font-weight: bold;
    color: #2c3e50;
}

/* --- Appendix Separator --- */
.modal-overlay .appendix {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 2px solid #ccc;
}
/* -- Media queries -- */
/* iPhone [portrait + landscape] */
/* For smaller screens (including iPhones) */
/* -- Use only if required -- */
/* @media (max-width: 414px) {

}

@media (min-width: 415px) {

}

@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

} */

.guidelines{
    float: left;
    text-align: left;
    width: 50%;
    margin: 10px 0px 0px 0px;
}
.guideline {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}

.guideline-icon {
font-size: 1.2rem;
color: gold;
margin-right: 12px;
line-height: 1.2;
}

.guideline-text h4 {
margin: 0;
color: orange;
font-size: 1rem;
font-weight: bold;
}

.guideline-text p {
margin: 4px 0 0;
font-size: 0.95rem;
color: #eee;
}