/* Import Font */
@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap");

/* Global Reset and Defaults */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Almarai", sans-serif;
}

body {
    margin: 0;
    display: flex;
    min-height: 100vh;
}

.container {
    display: flex;
    flex: 1;
    flex-direction: column;
}

/* Keyframes */
@keyframes bg-move {
    0%, 100% {
        background-position: 0 100%;
    }
    50% {
        background-position: 100% 0;
    }
}

/* Animation Section */
.animation {
    flex: 4;
    background-image: linear-gradient(
        to right top,
        #ffd8d8,
        #ffecd8,
        #dcdfff,
        #d6fff2
    );
    background-size: 200vw 200vh;
    background-position: top left;
    animation: bg-move 20s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation #globe {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70dvh;
    padding: 20px 0;
}

.animation #globe canvas {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

@media screen and (max-width: 768px) {
    .animation #globe {
        height: 550px;
    }
}

/* Image Side Section */
.image-side {
    flex: 2;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 50vh;
    min-height: 600px;
}

[dir="rtl"] .image-side {
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}

[dir="rtl"] .margin{
    margin-right: 3px;
}

[dir="rtl"] .margin{
    margin-left: 3px;
}


@media (min-width: 768px) {
    .image-side {
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .image-side {
        display: none;
    }
}

/* Form Side Section */
.form-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-wrap {
    width: 80%;
    max-width: 700px;
    margin: auto;
    text-align: center;
    background: #fff;
    padding: 15px;
}

@media (min-width: 576px) {
    .form-wrap {
        padding: 32px;
    }
}

.form-wrap img.logo {
    max-height: 150px;
    max-width: 300px;
    margin: 0 auto 25px;
}

.form-wrap h1 {
    font-weight: 600;
    font-size: 28px;
    color: #234072;
    margin-bottom: 20px;
}
.input-field {
    text-align: start;
}

.check-field {
    text-align: start;
}

@media (max-width: 768px) {
    .form-wrap h1 {
        font-size: 22px;
    }
}

.form-wrap p {
    font-size: 16px;
    color: #a5a5a5;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.input-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background: none;
}

@media (max-width: 576px) {
    .input-field input {
        font-size: 12px;
        padding: 8px;
    }
}

/* Check Section */
.check {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.check div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check a {
    color: #4931a8;
    text-decoration: none;
}

.check input {
    width: 16px;
    height: 16px;
    appearance: none;
    position: relative;
}

.check input::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 1px solid #bababa;
    border-radius: 4px;
    position: absolute;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 6 pro";
    display: flex;
    align-items: center;
    font-size: 12px;
    justify-content: center;
}

.check input:checked::after {
    content: "\f00c";
    background: #4931a8;
    color: #fff;
    border: none;
}

/* Button Styling */
form button {
    margin-top: 32px;
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    background: #234072;
    font-weight: 400;
}

/* Footer */
.footer {
    width: 100%;
    padding: 16px 24px;
    margin-top: auto;
    text-align: center;
    font-size: 14px;
    color: #000;
}

.footer a {
    color: #fbb03b;
    font-weight: bold;
    text-decoration: none;
}

/* Responsive Layouts */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
}

@media (max-width: 992px) {
    .animation {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .form-wrap {
        z-index: 999;
        background-color: #f3f3f960;
        backdrop-filter: blur(6px);
        border-radius: 24px;
        border: 3px solid #ffffff38;
    }
}
