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

body {
    font-family: Montserrat, sans-serif;
    background-image: url('media/background_landing_page_desktop.svg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 20px 20px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 10px;
    position: relative;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.logo-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgb(236, 14, 0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    transform: rotate(-5deg);
}

.logo-text {
    font-size: 32px;
    font-weight: normal;
    color: #000;
}

.logo-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #333;
}

.logo-right-icon {
    width: 60px;
    height: 30px;
    background: linear-gradient(90deg, rgb(236, 14, 0) 20%, #F4A261 40%, #2A9D8F 60%, #264653 80%);
}

.title {
    text-align: center;
    color: rgb(236, 14, 0);
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 80px;
}

.form-container {
    display: flex;
    gap: 80px;
}

.form-left {
    flex: 1;
}

.form-right {
    flex: 1;
}

.form-group {
    margin-bottom: 35px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #000;
    font-size: 15px;
    font-weight: 500;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid rgb(236, 14, 0);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #d62828;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
    color: #aaa;
}

.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 2px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid rgb(236, 14, 0);
    border-radius: 20%;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: rgb(236, 14, 0);
    border-color: rgb(236, 14, 0);
}

.checkbox-label {
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

.consent-text {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

.consent-options {
    display: flex;
    gap: 50px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: rgb(236, 14, 0);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid rgb(236, 14, 0);
    border-radius: 20%;
    position: relative;
}

.radio-option input[type="radio"]:checked {
    background-color: rgb(236, 14, 0);
    border-color: rgb(236, 14, 0);
}

.radio-option label {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
}

.text-box-container {
    margin-top: 80px;
    width: 100%;
}

.text-box {
    width: 100%;
    min-height: 100px;
    padding: 20px;
    border: 3px solid rgb(236, 14, 0);
    border-radius: 10px;
    background-color: transparent;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.text-box a {
    color: rgb(236, 14, 0);
    text-decoration: underline;
}

.text-box a:hover {
    color: #d62828;
}

.btn {
    padding: 18px 60px;
    font-size: 17px;
    font-weight: bold;
    color: white;
    background: rgb(236, 14, 0);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(236, 14, 0, 0.3);
}

.btn:hover {
    background: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(236, 14, 0, 0.4);
}

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

.footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 12px;
    color: #666;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

.required {
    color: black;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

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

.modal {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('media/background_landing_page_desktop.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 50px 60px;
    border-radius: 0;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgb(236, 14, 0);
    animation: slideIn 0.3s ease;
    text-align: center;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    font-weight: bold;
}

.modal-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.modal-btn {
    padding: 16px 50px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-primary {
    background: rgb(236, 14, 0);
    color: white;
}

.modal-btn-primary:hover {
    background: #d62828;
    transform: translateY(-2px);
}

.modal-btn-secondary {
    background: white;
    color: rgb(236, 14, 0);
    border: 3px solid rgb(236, 14, 0);
}

.modal-btn-secondary:hover {
    background: #fff5f5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px 10px 0;
        background-size: cover;
        background-position: top center;
    }

    body::before {
        background-size: 50px 50px;
        background-position: 25px 25px;
    }

    .container {
        padding: 30px 20px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 40px;
    }

    .logo-left {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .logo-right {
        flex-direction: column;
        text-align: center;
    }

    .title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .form-container {
        flex-direction: column;
        gap: 30px;
    }

    .form-group {
        margin-bottom: 25px;
    }

    input[type="text"],
    input[type="email"] {
        padding: 12px 15px;
        font-size: 14px;
    }

    .consent-options {
        gap: 30px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }

    .btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-top: 50px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 15px;
    }

    .modal {
        padding: 30px 25px;
        width: 95%;
        border-width: 3px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .modal-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

.top-banner {
    display: block;
    width: 100%;
    height: auto;
}

.bottom-banner {
    display: block;
    width: 100%;
    height: auto;
    margin-top: auto;
}
