:root {
    --moz-box-sizing: border-box;
    box-sizing: border-box;
    /* variables */
    --main-co: #242c5c;
    --sec-co: #b4925a;
    --text-co: #0e1f1f;
    --border-co: #959595;
    --white-co: #ffffff;
}

/**********************************/
/********** General CSS ***********/
/**********************************/
body {
    font-family: "Noto Kufi Arabic", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    direction: rtl;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 0rem;
}

ul {
    padding: 0rem;
    list-style: none;
}

ol {
    padding: 0rem;
    list-style: none;
}

blockquote {
    margin-bottom: 0rem;
}

/**********************************/
/*************  header ************/
/**********************************/
header {
    position: relative;
    z-index: 1500;
    box-shadow: 0px 0px 8px -6px var(--main-co);
}
header nav {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
header nav .navbar-toggler {
    margin: 1rem 0rem;
}
header nav .navbar-toggler:focus {
    box-shadow: none;
}
header nav .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
header nav .menu ul.links {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap-reverse;
}
header nav .menu ul.links li a {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem;
    color: var(--text-co);
}
header nav .menu ul.links li.active a,
header nav .menu ul.links li:hover a {
    color: var(--sec-co);
}
header nav .menu ul.links .join {
    display: none;
}
header nav .menu .stores {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    cursor: pointer;
}
header nav .menu .stores img {
    width: 135px;
    height: 40px;
}
header nav .logo {
    width: 130px;
    max-height: 65px;
    overflow: hidden;
}
header nav .logo img {
    width: 100%;
    height: 100%;
}
header .headFixed {
    width: 100%;
    background-color: #fcf7ed;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/**********************************/
/*************  hiro ************/
/**********************************/
.hiro {
    background-color: #fbfcfc;
    background: url("../images/hiro-bg.png") no-repeat center center;
    background-size: cover;
    background-position: 0 100%;
}
.hiro .cont {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap-reverse;
    padding: 3rem 1rem;
}
.hiro .cont .image {
    width: 49%;
    text-align: end;
}
.hiro .cont .image img {
    max-width: 400px;
}
.hiro .cont .text {
    padding-top: 3rem;
    width: 50%;
    text-align: right;
}
.hiro .cont .text h1 {
    margin-bottom: 2rem;
    color: var(--sec-co);
    font-size: 33px;
    font-weight: 700;
    line-height: 1.6;
}
.hiro .cont .text p {
    margin-bottom: 2rem;
    color: var(--text-co);
    line-height: 1.8;
    text-align: right;
    font-weight: 500;
    direction: rtl;
}
.hiro .cont .text .apply-cta {
    margin-bottom: 1.5rem;
}
.hiro .cont .text .apply-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1.4rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white-co);
    background: linear-gradient(
        135deg,
        var(--main-co) 0%,
        #2f3a74 72%,
        var(--sec-co) 145%
    );
    box-shadow: 0 12px 22px -16px rgba(36, 44, 92, 0.85);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}
.hiro .cont .text .apply-cta a:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 26px -16px rgba(36, 44, 92, 0.95);
}
.hiro .cont .text .apply-cta a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 146, 90, 0.24);
}
.hiro .cont .text .stores {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    cursor: pointer;
}
.hiro .cont .text .stores img {
    width: 135px;
    height: 40px;
}

/* ______________________________________________________________*/
/* _____________________ Media query ____________________________*/
/* ______________________________________________________________*/
@media (max-width: 450px) {
    header nav .menu {
        padding: 1rem;
        order: 2;
    }
    header nav .menu ul.links li {
        text-align: left;
        width: 100%;
    }
    header nav .logo {
        order: 1;
    }
    .hiro .cont {
        justify-content: center;
    }
    .hiro .cont .image {
        text-align: center;
        width: 100%;
    }
    .hiro .cont .text {
        width: 100%;
    }
}
@media (min-width: 451px) and (max-width: 767px) {
    header nav .menu {
        padding: 1rem;
        order: 2;
    }
    header nav .menu ul.links li {
        text-align: left;
        width: 100%;
    }
    header nav .logo {
        order: 1;
    }
    .hiro .cont {
        justify-content: center;
    }
    .hiro .cont .image {
        width: 100%;
        text-align: center;
    }
    .hiro .cont .text {
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    header nav .menu {
        padding: 1rem;
        order: 2;
    }
    header nav .menu ul.links li {
        text-align: left;
        width: 100%;
    }
    header nav .logo {
        order: 1;
    }
    .hiro .cont {
        justify-content: center;
    }
    .hiro .cont .image {
        text-align: center;
        width: 100%;
    }
    .hiro .cont .text {
        width: 100%;
    }
}
.teacher-apply {
    background: linear-gradient(180deg, #fbfcff 0%, #f7f2e8 100%);
    position: relative;
    overflow: hidden;
}
.teacher-apply::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(180, 146, 90, 0.18) 0%,
        rgba(180, 146, 90, 0) 70%
    );
    top: -90px;
    left: -90px;
    pointer-events: none;
}
.teacher-apply::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(36, 44, 92, 0.12) 0%,
        rgba(36, 44, 92, 0) 72%
    );
    bottom: -140px;
    right: -120px;
    pointer-events: none;
}
.teacher-apply .container {
    position: relative;
    z-index: 1;
}
.teacher-apply .apply-header h1 {
    color: var(--main-co);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}
.teacher-apply .apply-header p {
    color: #6d768f;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.teacher-apply form {
    max-width: 760px;
    margin: 1.5rem auto 4rem;
    padding: 2rem 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(36, 44, 92, 0.1);
    border-radius: 1.1rem;
    box-shadow: 0 26px 50px -34px rgba(36, 44, 92, 0.45);
    backdrop-filter: blur(5px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--main-co);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 3rem;
    direction: rtl;
    padding: 0.8rem 1rem;
    border: 1px solid #d9deea;
    border-radius: 0.75rem;
    background-color: var(--white-co);
    color: var(--text-co);
    font-size: 0.95rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}
.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder,
.form-group select::-moz-placeholder {
    color: #99a1b7;
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: #99a1b7;
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #c8cfe2;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sec-co);
    background-color: #fffdf8;
    box-shadow: 0 0 0 3px rgba(180, 146, 90, 0.18);
}

/* start select2 single styles */
.teacher-apply .select2-container {
    width: 100% !important;
}
.teacher-apply .select2-container--default .select2-selection--single {
    min-height: 3rem;
    border: 1px solid #d9deea;
    border-radius: 0.75rem;
    background-color: var(--white-co);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}
.teacher-apply .select2-container--default .select2-selection--single:hover {
    border-color: #c8cfe2;
}
.teacher-apply
    .select2-container--default.select2-container--focus
    .select2-selection--single,
.teacher-apply
    .select2-container--default.select2-container--open
    .select2-selection--single {
    border-color: var(--sec-co);
    background-color: #fffdf8;
    box-shadow: 0 0 0 3px rgba(180, 146, 90, 0.18);
}
.teacher-apply
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 3rem;
    padding-right: 1rem;
    padding-left: 2rem;
    color: var(--text-co);
    font-size: 0.95rem;
    text-align: right;
}
.teacher-apply
    .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #99a1b7;
}
.teacher-apply
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100%;
    width: 2rem;
    left: 0.35rem;
    right: auto;
}
.teacher-apply
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: var(--main-co) transparent transparent transparent;
}
.teacher-apply .select2-dropdown {
    border: 1px solid #d9deea;
    border-radius: 0.75rem;
    box-shadow: 0 12px 24px -20px rgba(36, 44, 92, 0.5);
    overflow: hidden;
}
.teacher-apply .select2-container--open .select2-dropdown--below {
    margin-top: 0.35rem;
}
.teacher-apply .select2-search--dropdown .select2-search__field {
    border: 1px solid #e3e7f1;
    border-radius: 0.6rem;
    padding: 0.45rem 0.65rem;
}
.teacher-apply .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: var(--sec-co);
    box-shadow: 0 0 0 2px rgba(180, 146, 90, 0.12);
}
.teacher-apply .select2-results__option {
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
}
.teacher-apply
    .select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--main-co);
    color: var(--white-co);
}
.teacher-apply .select2-container--default .select2-results__option--selected {
    background-color: rgba(180, 146, 90, 0.16);
    color: var(--main-co);
}
.teacher-apply .is-invalid + .select2-container .select2-selection--single,
.teacher-apply
    .select2-container.select2-container--default.is-invalid
    .select2-selection--single {
    border-color: #d64949;
    box-shadow: 0 0 0 3px rgba(214, 73, 73, 0.14);
}

/* end select2 single styles */

.phone-field .phone-field-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.phone-field .phone-field-row select#phone_country_code {
    width: 110px !important;
    text-align: right;
    flex: 0 0 110px;
}

.phone-field .phone-field-row > input[type="tel"] {
    width: calc(100% - 110px);
    flex-grow: 1;
    text-align: right;
    direction: ltr;
}

.phone-field .phone-field-row .select2-container {
    width: 110px !important;
    min-width: 110px;
    flex: 0 0 110px;
}

.phone-field .phone-field-row .select2-container .select2-selection--single {
    min-height: 3rem;
}

.phone-field .phone-field-row .select2-container .select2-selection__rendered {
    padding: 0 0.55rem !important;
    text-align: center !important;
    direction: ltr;
}

.phone-flag-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    direction: ltr;
}

.phone-flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.phone-flag-code {
    font-size: 0.9rem;
    color: var(--text-co);
}

.form-group .is-invalid {
    border-color: #d64949;
    box-shadow: 0 0 0 3px rgba(214, 73, 73, 0.14);
}

.form-group textarea {
    min-height: 8rem;
    resize: vertical;
}

.field-error {
    display: inline-block;
    color: #bf2d2d;
    font-size: 0.83rem;
    margin-top: 0.35rem;
}

.form-alert {
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    font-size: 0.93rem;
    border: 1px solid transparent;
}
.form-alert ul {
    list-style: disc;
    padding-right: 1.2rem;
}

.form-alert-success {
    background-color: #f1faf4;
    border-color: #c8ebd2;
    color: #1f6b37;
}

.form-alert-error {
    background-color: #fdf2f2;
    border-color: #f3d3d3;
    color: #8f2a2a;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.35rem;
}

.teacher-apply form button[type="submit"],
.teacher-apply form .btn-submit {
    min-width: 140px;
    padding: 0.78rem 1.7rem;
    border: 0;
    border-radius: 0.75rem;
    background: linear-gradient(
        135deg,
        var(--main-co) 0%,
        #2f3a74 70%,
        var(--sec-co) 145%
    );
    color: var(--white-co);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}
.teacher-apply form button[type="submit"]:hover,
.teacher-apply form .btn-submit:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -16px rgba(36, 44, 92, 0.8);
}
.teacher-apply form button[type="submit"]:focus,
.teacher-apply form .btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(180, 146, 90, 0.24);
}

@media (max-width: 768px) {
    .teacher-apply form {
        margin: 1rem auto 2rem;
        padding: 1.2rem;
        border-radius: 0.8rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .phone-field .phone-field-row {
        flex-direction: column;
        align-items: stretch;
    }

    .phone-field .phone-field-row select#phone_country_code,
    .phone-field .phone-field-row .select2-container {
        width: 100% !important;
        min-width: 100%;
        flex: 1 1 auto;
    }

    .phone-field .phone-field-row > input[type="tel"] {
        width: 100%;
    }

    .form-group {
        margin-bottom: 1rem;
    }
    .teacher-apply .apply-header h1 {
        font-size: 1.6rem;
    }
    .teacher-apply .apply-header p {
        font-size: 0.95rem;
    }
} /*# sourceMappingURL=form.css.map */
