body {
    font-family: 'Montserrat', sans-serif;
}
/* registration form */

.form-container {
    background: #000000;
    border-top-right-radius: 8rem;
    width: 100%;
    min-height: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.form-content {
    padding: 3rem 4rem 1rem 0;
    width: 80%;
    max-width: 480px;
}

@media (min-width: 1920px) {
    .form-content {
        max-width: 520px;
    }
    .form-container {
        width: 80%;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .form-content {
        max-width: 480px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .form-content {
        max-width: 440px;
    }
}

@media (max-width: 1023px) {
    .form-content {
        max-width: 400px;
    }
}

.form-title {
    color: #FFC658;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.form-description {
    color: #FFFFFF;
    font-size: clamp(13px, 1.2vw, 14px);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 85%;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-size: clamp(14px, 1.2vw, 16px);
}

.input-wrapper {
    background: #2D2D2D;
    border-radius: 4px;
    height: clamp(38px, 3vw, 42px);
    position: relative;
}

.form-control {
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    background: transparent;
    border: 1px solid transparent;
    color: #FFFFFF;
    font-size: clamp(14px, 1.2vw, 15px);
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #FFC658;
    box-shadow: none;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: transparent;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    color: #dc3545;
    font-size: 12px;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .terms-group input[type="checkbox"]:invalid ~ .invalid-feedback {
    display: block;
}

.form-group input::placeholder {
    color: #666666;
}

.form-group input:focus {
    outline: none;
}

.terms-group {
    display: flex;
    flex-direction: column;
    margin: 1.5rem 0;
}

.terms-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.terms-group input[type="checkbox"] {
    width: clamp(16px, 1.5vw, 18px);
    height: clamp(16px, 1.5vw, 18px);
    border: 1px solid #FFC658;
    cursor: pointer;
    margin-top: 0.2rem;
}

.terms-group input[type="checkbox"]:checked {
    background-color: #FFC658;
    border-color: #FFC658;
}

.terms-group label {
    color: #FFFFFF;
    font-size: clamp(13px, 1.2vw, 14px);
    line-height: 1.4;
}

.terms-link {
    color: #FFC658;
    text-decoration: underline;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    height: clamp(38px, 3vw, 42px);
    background: #FFC658;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: clamp(14px, 1.2vw, 15px);
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 0;
}

.submit-button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .form-container {
        border-radius: 0;
        justify-content: center;
    }
    
    .form-content {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .form-description {
        max-width: 100%;
    }
}


/* header */

.desktop-logo {
    position: relative;
    max-width: 380px;
    margin: 0rem 0 0 4rem;
    z-index: 2;
}

.mobile-logo {
    position: relative;
    max-width: 100px;
    margin: 1rem auto;
    display: block;
    z-index: 2;
}

.mobile-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #A22629;
    z-index: 1;
}

.webinar-info {
    text-align: left;
    margin-top: 3rem;
    margin-left: 10rem;
    z-index: 2;
    position: relative;
    max-width: 540px;
}

.webinar-label {
    color: #A09957;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 32px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.webinar-title {
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.webinar-date {
    color: #AD2629;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 2rem;
}

.plane-img {
    max-height: 100vh;
    object-fit: cover;
    border-radius: 0 0 0 50%;
}

@media (max-width: 1200px) {
    .webinar-info {
        margin-left: 6rem;
    }
}

@media (max-width: 992px) {
    .webinar-info {
        margin-left: 4rem;
    }
}

@media (max-width: 768px) {
    .webinar-info {
        margin-top: 5rem;
        margin-left: 2rem;
        padding-right: 1rem;
        text-align: center;
    }

    .webinar-label {
        font-size: 24px;
        letter-spacing: 16px;
    }

    .webinar-title {
        font-size: 40px;
    }

    .webinar-date {
        font-size: 20px;
    }
}

/* description */



.description-container {
    width: 100%;
    padding: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    min-height: 100%;
}

.description-title {
    color: #A22629;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: right;
    max-width: 80%;
    padding-right: 10rem;
}

.description-text {
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 7rem;
    text-align: right;
    max-width: 80%;
    padding-right: 10rem;
}

.description-text p {
    margin-bottom: 1.5rem;
}

.logo-container {
    position: absolute;
    bottom: 0;
    right: 0;
}

.hitit-logo {
    max-width: 180px;
    height: auto;
}

@media (max-width: 768px) {
    .description-container {
        padding: 1.5rem;
        align-items: center;
        min-height: auto;
    }
    
    .description-title,
    .description-text {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .logo-container {
        display: none;
    }

}

/* content */

.content-wrapper {
    display: flex;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - 100px);
    position: relative;
    margin-top: 8rem;
}

.form-section {
    width: 45%;
    display: flex;
    align-items: flex-start;
}

.description-section {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        margin-top: 2rem;
    }

    .form-section,
    .description-section {
        width: 100%;
        padding: 0;
    }

    .description-section {
        margin-top: 2rem;
    }
}

.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.show .modal-dialog {
    transform: none;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.6rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 800px;
        margin: 1.75rem auto;
    }
}

.error-message {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    color: #dc3545;
    font-size: 12px;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.terms-checkbox-wrapper label {
    color: #fff;
}

.form-check-input.is-valid~.form-check-label, 
.was-validated .form-check-input:valid~.form-check-label {
    color: #fff !important;
}
.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: #FFC658;
    border-color: #FFC658;
}