body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-color: #292a65;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 100px;
}




.home-link2 img {
    width: 55px;
    cursor: pointer;
}

.home-link img {
    width: 50px;
    cursor: pointer;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.image-section {
    flex: 1;
    text-align: center;
    order: 2;
}

.main-image {
    width: 350px;
    border-radius: 5px;
}

.form-section {
    flex: 1;
    padding: 20px;
    background-color: #292a65;
    border-radius: 10px;
    color: #ffffff;
    order: 1;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-size: 18px;
}

input, textarea, select {
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 20px;
    padding: 15px;
    font-size: 18px;
    background-color: #FFD700;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.result-section {
    background-color: #18183b;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    position: relative;
    text-align: right;
    min-height: 300px; /* Ensure enough height to show the result */
}

.loading-gif {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; /* Adjust the width if needed */
    height: 100px; /* Adjust the height if needed */
    z-index: 1000; /* Ensure the spinner is on top */
}

.jomhuria-regular {
  font-family: "Jomhuria", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px; /* Adjust the font size as needed */
}

.aref-ruqaa-regular {
  font-family: "Aref Ruqaa", serif;
  font-weight: 400;
  font-style: normal;
}

.aref-ruqaa-bold {
  font-family: "Aref Ruqaa", serif;
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-section, .form-section {
        order: unset;
        width: 100%;
        text-align: center;
    }

    .main-image {
        width: 100%;
        max-width: 350px;
    }

    .form-section {
        padding: 20px 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-link {
        position: static;
        margin-top: 20px;
    }
    .home-link2 {
        position: static;
        margin-top: 20px;
    }
}
