/* ==========================================================================
   Felix Landing Page - Mobile Styles (Screens < 768px)
   ========================================================================== */

/* Hides desktop layout on mobile */

header, footer, .site-header, .site-footer, .wp-block-template-part, 
.entry-title, .post-title, .wp-block-post-title, .comments-area, 
.site-branding, .navigation, #masthead, #colophon, .entry-header, 
.post-navigation, .author-info, .wp-block-post-author {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

html, body, #page, #content, .site, .site-content, .entry-content, 
.post-content, .wp-site-blocks, .wp-block-post-content, 
main, [role="main"], .wp-block-group, .alignfull, 
.wp-block-post-content-is-layout-constrained, 
.wp-block-group-is-layout-constrained {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #000000 !important;
}


.white-text{
  color:#fff;
 padding: 17% 4%;
}


.fields-column p{
  display:none;
}

.desktop-form-container {
    display: none !important;
}

.mobile-form-container {
    display: block !important;
}

.form-overlay {
    position: absolute;
    left: 0;
    top: 47.33%;
    width: 100%;
    height: auto;
    padding: 15px 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    direction: rtl;
    z-index: 10;
}

.form-card {
    background-color: #DADADA;
    border-radius: 0px !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.12);
    font-family: 'Heebo', sans-serif;
    padding: 10px 15px !important;
}

.form-title {
    color: #0A1432;
    font-size: 17px !important;
    font-weight: 700;
    text-align: start;
    line-height: 1.2;
    margin: 0 0 5px 0;
    padding: 0;
    direction: rtl;
}

.two-column-form {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 16px;
    box-sizing: border-box;
    align-items: flex-end;
}

.fields-column {
    width: 75%;
    display: flex;
    flex-direction: column;
}

.button-column {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    display: block;
}

.form-group input {
    width: 100%;
    height: 40px !important;
    padding: 0 15px;
    border: 1px solid #CCCCCC;
    border-radius: 0px !important;
    background-color: #FFFFFF;
    color: #333333;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.12);
}

.form-group input:focus {
    border-color: #0A1432;
}

.form-group input::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #777777;
}

.custom-select-container {
    position: relative;
    width: 100%;
    height: 40px !important;
    box-sizing: border-box;
    display: block;
}

.custom-select-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    border: 1px solid #CCCCCC;
    border-radius: 0px !important;
    background-color: #FFFFFF;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.12);
    align-items: center;
}

.select-label-box {
    width: 90px;
    height: 100%;
    background-color: #EBEBEB;
    color: #333333;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #CCCCCC;
    box-sizing: border-box;
    white-space: nowrap;
    user-select: none;
}

.select-arrow-box {
    width: 40px;
    height: 84%;
    margin-right: 5px;
    padding: 2px 0;
    background-color: #CCCCCC;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.select-arrow-box::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 16px solid #FFFFFF;
}

.select-value-display {
    flex-grow: 1;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.submit-btn {
    background-color: #0F1E3D;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.12);
    width: 100% !important;
    height: 100px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Breakpoint: 550px --- */
@media (max-width: 550px) {
    .form-overlay {
        padding: 0px 0px !important;
    }
    .form-title {
        font-size: 15px !important;
        font-weight: 700;
        text-align: start;
        line-height: 1;
        margin: 0 0 5px 0;
    }
    .form-group {
        margin-bottom: 10px;
    }
    .form-group input {
        width: 100%;
        height: 35px !important;
        padding: 0 15px;
    }
    .custom-select-container {
        height: 35px !important;
    }
    .select-label-box {
        width: 80px;
        font-size: 14px;
    }
    .select-value-display {
        font-size: 14px;
        padding: 0 15px;
    }
    .select-arrow-box {
        width: 34px;
        height: 80%;
    }
    .select-arrow-box::before {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 12px solid #FFFFFF;
    }
    .submit-btn {
        font-size: 18px;
        height: 90px !important;
    }
}

/* --- Breakpoint: 395px --- */
@media (max-width: 395px) {
    .form-group input {
        height: 28px !important;
        font-size: 13px;
    }
    .form-group input::placeholder {
        font-size: 13px;
    }
    .custom-select-container {
        height: 28px !important;
    }
    .select-label-box {
        width: 70px;
        font-size: 13px;
    }
    .select-value-display {
        font-size: 13px;
        padding: 0 10px;
    }
    .select-arrow-box {
        width: 28px;
        height: 80%;
    }
    .select-arrow-box::before {
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 10px solid #FFFFFF;
    }
}