@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i|Roboto:300,400,400i,500,500i,700,700i&display=swap");
body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Roboto", serif;
    background: #ffffff;
    text-align: left;      /* Aligns text to the right */
}
form-title {
    color: #000000;
    font-size: 18px;
    font-weight: 600;

}
success-title {
    padding-bottom: 15px;
    color: #000000;
    font-size: 18px;
    font-weight: 600;

}
view-application-title {
    padding-bottom: 15px;
    color: #54ac00;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;

}
.container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 20px 10px;

}


#preview {
    max-width: 150px; /* Adjust this value to your desired width */
    height: auto;    /* Maintain aspect ratio */
    border: 1px solid #ddd; /* Optional: add a border for better visibility */
    padding: 5px; /* Optional: add some padding */
    margin-top: 10px; /* Optional: add some space above the image */
}








.centeredContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 5;
  stroke-miterlimit: 20;
  stroke: #1A92C2; /* Updated color */
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #1A92C2; /* Updated color */
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #1A92C2; /* Updated color */
  }
}















/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between; /* Puts items at opposite ends */
    align-items: center; /* Vertically aligns items */
    padding: 15px 5%; /* Adjust padding as needed */
    background-color: #f8f8f8; /* Light background for the header */
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
}

.company-logo {
    height: 40px; /* Adjust logo size as needed */
    margin-left: 15px; /* Space between logo and potential text (if any) */
}

.header-right {
    display: flex;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
}

.lang-logo {
    height: 24px; /* Size for language flag/icon */
    width: auto;
    margin-left: 8px; /* Space between flag and text */
}

.language-selector a {
    text-decoration: none;
    color: #000000; /* Link color for language */
    font-weight: 500;
    font-size: 1.1em;
}

.language-selector a:hover {
    text-decoration: underline;
}














form {
    padding-top: 30px;
    padding-bottom: 100px;
}
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="file"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    text-align: left; /* Aligns text input content to the right */
}

input[type="radio"] {
    margin-left: 5px;       /* Push radio button left for RTL */
    transform: scale(1.2);
    vertical-align: middle;
}

input[type="radio"] + label {
    display: inline-block;
    margin-left: 15px;      /* Spacing on the left in RTL */
    vertical-align: middle;
    font-size: 14px;
}

.error {
    color: red;
    font-size: 12px;
}

.success {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

img1 {
    max-width: 100px;
    margin-top: 10px;
    display: block;
}

button {
    background: #54AC00;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background: #54AC00;
}

.captcha-button {
    background: #54AC00;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.captcha-button:hover {
    background: #54AC00;
}



.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;;
    border-top: 1px solid #eee;
    color: #000000;
    padding: 15px 0;
    z-index: 999;
}



.copyright {
    text-align: center;
    margin: 0; /* Remove default paragraph margin */
    font-size: 14px;
    line-height: 22px;
}
.copyright year {
    font-family: "Roboto", serif;
    font-size: 15px;
}

















@media (min-width: 320px) and (max-width: 480px) {
form-title {
    font-size: 16px;
    font-weight: 600;
}
success-title {
    font-size: 16px;
    padding-bottom: 15px;
    font-weight: 600;
}
view-application-title {
    font-size: 16px;
    padding-bottom: 15px;
    font-weight: 600;
}
.copyright {
    font-size: 10px;
    line-height: 16px;
}
.copyright year {
    font-family: "Roboto", serif;
    font-size: 10px;
}
}





















/* ... (كود CSS الموجود لديك) ... */

/* Pop-up للتحميل */
#loading-popup {
    position: fixed; /* لتثبيت البوب أب في مكانه حتى عند التمرير */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* خلفية داكنة وشفافة */
    display: flex; /* لاستخدام Flexbox لتوسيط المحتوى */
    justify-content: center; /* توسيط أفقي */
    align-items: center; /* توسيط عمودي */
    z-index: 1000; /* تأكد من أنه يظهر فوق كل العناصر الأخرى في الصفحة */
    /* display: none;  هذا سيتم التحكم فيه بواسطة JavaScript */
}

.loading-content {
    background-color: #fff; /* خلفية بيضاء لمحتوى البوب أب */
    padding: 30px;
    border-radius: 8px; /* حواف دائرية */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* ظل لطيف */
    max-width: 300px; /* تحديد أقصى عرض */
    width: 90%; /* عرض مرن */
}

.loading-spinner {
    width: 70px; /* حجم صورة اللودنج */
    height: 70px;
    margin-bottom: 20px; /* مسافة تحت الصورة */
}

.loading-content p {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.5; /* تحسين قابلية القراءة */
}



















        .floating-buttons {
            position: fixed;
            bottom: 100px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            z-index: 1000;
        }

        .floating-button {
            background-color: #25D366; /* WhatsApp green default */
            color: white;
            border-radius: 50%;
            width: 60px; /* Default size for larger screens (desktops) */
            height: 60px; /* Default size for larger screens (desktops) */
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 28px; /* Icon size for larger screens */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, background-color 0.3s ease;
            cursor: pointer;
            text-decoration: none;
        }

        .floating-button:hover {
            transform: scale(1.1);
        }

        .floating-button.phone {
            background-color: #007bff; /* Phone blue */
        }

        /* WhatsApp pulsating animation */
        .floating-button.whatsapp.pulse {
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        /* Media Query for smaller screens (mobile phones) */
        @media (max-width: 768px) {
            .floating-buttons {
                bottom: 80px;
                right: 15px;
                gap: 10px; /* Slightly less gap on mobile */
            }

            .floating-button {
                width: 50px; /* Smaller size for mobile */
                height: 50px; /* Smaller size for mobile */
                font-size: 24px; /* Smaller icon size for mobile */
            }
        }