* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #00264a;
}

/* Container System */
.container {
    margin: auto;
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .container {
        width: 992px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .container {
        width: 768px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Global Selector Style  */
.image-control {
    max-width: 100%;
    height: auto;
}



.scroll-button {
    position: fixed;
    top: 50px;
    right: 20px;
    display: none; /* Initially hidden */
    background-color: #ffbf27;
    padding: 15px;
    border-radius: 50px;
    width: auto;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    z-index: 1000;
    text-align: center;
}

.scroll-button.show {
    display: block; /* Show the button when needed */
}

.scroll-button .content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.scroll-button svg {
    width: 24px;
    height: 24px;
    animation: toBottom 1s infinite;
}

.scroll-button span {
    font-size: 14px;
    color: #00264a;
    font-weight: bold;
}

@media (min-width: 768px) {
    .scroll-button span {
        display: inline-block;
    }
}

@keyframes toBottom {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}



.scroll-button:active {
    background-color: #cc8e00;
}

/* Make the button responsive to smaller screen sizes */
@media (max-width: 480px) {
    .scroll-button {
        padding: 10px;
        right: 30px;
    }

    .scroll-button svg {
        width: 20px;
        height: 20px;
    }

    .scroll-button span {
        font-size: 12px;
    }
}
  

.row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
}

.full-width {
    width: 100%;
}

.gap-0 {
    row-gap: 0 !important;
}

.flex-d-c {
    flex-direction: column;
}


.flex-d-r {
    flex-direction: row;
}


.result-bg {
    background-image: url("/مقسم/99.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center ;
    padding-top: 14rem;
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .result-bg {
        padding-top: 8rem;
    }
}






body > section:has(form.form-container) {
    margin-top: 2rem;
    margin-bottom: 2rem;
}




form {
    display: flex;
    flex-direction: column;
    column-gap: 10px;
    padding: 12px;
    background-color: #fff;
    border-radius: 8px;
    max-width: 85%; 
    width: 100%;
    margin: auto;
}
form > div {
    width: 100%;
}

.label-input-group {
    margin-bottom: 10px;
    padding: 10px;
}
@media (max-width:992px) {
    .label-input-group {
        flex-direction: column !important;
    }
    .label-input-group label {
        margin-bottom: 5px !important;
    }
    .label-input-group input {
        margin-right: 5px !important;
        margin-left: 5px !important;
    }
}
label {
    color: #333;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
label > p {
    font-size: 11px;
    font-weight: normal;
    max-width: 250px;
    width: 250px;
}
.theme-name-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
select {
    padding: 11px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    margin-right: 15px;
}
input[type="submit"] {
    padding: 12px;
    background-color: #fdba0e;
    color: #00264a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 17px;
    transition: 0.5s;
}

input[type="submit"]:hover {
    background-color: #00264a;
    color: white;
}
@media (max-width: 992px) {
    .group-layout {
        flex-direction: column !important;
    }
    .group-layout > div {
        width: 100% !important;
    }
    .group-layout > div label,
    .group-layout > div p {
        margin-right: 5px !important;
        margin-left: 5px !important;
    }
}

.cbx {
position: relative;
top: 1px;
width: 27px;
height: 27px;
border: 1px solid #c8ccd4;
border-radius: 3px;
transition: background 0.1s ease;
cursor: pointer;
display: block;
}

.cbx:after {
content: '';
position: absolute;
top: 2px;
left: 8px;
width: 7px;
height: 14px;
opacity: 0;
transform: rotate(45deg) scale(0);
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
transition: all 0.3s ease;
transition-delay: 0.15s;
}

.lbl {
margin-left: 5px;
vertical-align: middle;
cursor: pointer;
}

#cbx:checked ~ .cbx {
border-color: transparent;
background: #28a745;
animation: jelly 0.6s ease;
}

#cbx:checked ~ .cbx:after {
opacity: 1;
transform: rotate(45deg) scale(1);
}

.cntr {
position: relative;
}

@keyframes jelly {
from {
transform: scale(1, 1);
}

30% {
transform: scale(1.25, 0.75);
}

40% {
transform: scale(0.75, 1.25);
}

50% {
transform: scale(1.15, 0.85);
}

65% {
transform: scale(0.95, 1.05);
}

75% {
transform: scale(1.05, 0.95);
}

to {
transform: scale(1, 1);
}
}

.hidden-xs-up {
    opacity: 0;
}
.success-message {
border: 1px solid #28a745;
width: 97%;
margin: auto;
padding: 10px;
color: #28a745;
border-radius: 6px;
}
