html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

body {
    position: relative;
    background-image: url("../image/layout_img.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

.form-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: clamp(20px, 3vw, 60px) 0;
}

.logo-img {
    height: clamp(110px, 7vw, 150px);
}

.form-description {
    padding: clamp(20px, 3vw, 32px);
    background-image: url("../image/descriptionImg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-left: 1px solid #00297B1F;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}

.form-description h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: #0b121f;
    margin-bottom: clamp(12px, 1.5vw, 16px);
}

.form-description p {
    color: #0b121f;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(18px, 2vw, 22px);
}

.form-container {
    text-align: center;
    background: #FFFFFFCC;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 4px;
}

.form-head {
    margin-bottom: clamp(12px, 2vw, 16px);
}

.form-container h3 {
    color: #212529;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 28px);
    margin-left: clamp(10px, 1.5vw, 20px);
}

.form-container input {
    width: 100%;
    padding: clamp(8px, 1.5vw, 16px);
    font-size: clamp(14px, 1.2vw, 16px);
    margin-bottom: clamp(8px, 1.5vw, 15px);
    border: 1px solid #00000066;
    border-radius: clamp(4px, 1vw, 6px);
    font-weight: 400;
    color: #0b121f;
}

.form-container button {
    margin-top: clamp(12px, 2vw, 16px);
    background: #013365;
    color: #fff;
    padding: clamp(10px, 2vw, 16px) clamp(20px, 4vw, 24px);
    border: none;
    border-radius: clamp(4px, 1vw, 6px);
    min-width: clamp(100px, 20vw, 130px);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
    text-transform: capitalize;
}

.lang-wrapper {
    position: absolute;
    right: 0;
    z-index: 2;
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid #6C757D;
    overflow: hidden;
    margin-left: auto;
    margin: clamp(8px, 2vw, 12px);
}

.lang-btn {
    padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 16px);
    border: none;
    background: #fff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.lang-btn.active {
    background: #254782;
    color: #fff;
}

.equal-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* MEDIA QUERIES FOR LAPTOP / TABLET / MOBILE */
@media (max-width: 1440px) {

    /* Large laptops */
    .form-section {
        padding: clamp(20px, 2.5vw, 50px) 0;
    }

    .form-container h3 {
        font-size: clamp(18px, 2vw, 26px);
        margin-left: clamp(8px, 1.2vw, 16px);
    }

    .form-description h2 {
        font-size: clamp(20px, 2vw, 26px);
    }

    .form-description p {
        font-size: clamp(12px, 1.5vw, 16px);
    }

    .form-container input,
    .form-container button {
        font-size: clamp(12px, 1.5vw, 14px);
        padding: clamp(8px, 1.5vw, 8px);
    }
}

@media (max-width: 992px) {

    /* Tablets */
    .form-section {
        padding: clamp(16px, 3vw, 40px) 0;
        flex-direction: column;
    }

    .form-container h3 {
        font-size: clamp(18px, 3vw, 24px);
        margin-left: 0;
    }

    .form-description {
        padding: clamp(16px, 3vw, 24px);
    }

    .form-description h2 {
        font-size: clamp(18px, 3vw, 24px);
    }

    .form-description p {
        font-size: clamp(12px, 2.5vw, 14px);
    }

    .form-container input,
    .form-container button {
        font-size: clamp(12px, 2vw, 14px);
        padding: clamp(8px, 2vw, 10px) clamp(12px, 4vw, 16px);
    }
}

@media (max-width: 768px) {

    /* Small tablets / mobile */
    .form-section {
        padding: clamp(12px, 4vw, 30px) 0;
    }

    .form-container h3 {
        font-size: clamp(16px, 4vw, 22px);
    }

    .form-description h2 {
        font-size: clamp(16px, 3.5vw, 22px);
    }

    .form-description p {
        font-size: clamp(12px, 3vw, 14px);
    }

    .form-container input,
    .form-container button {
        font-size: clamp(12px, 2.5vw, 14px);
        padding: clamp(6px, 2.5vw, 10px);
    }
}