@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap");

* {
    margin: 0;
    padding: 0;

    font-family: "Readex Pro", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

    scroll-behavior: smooth;
    text-decoration: none;
    box-sizing: border-box;
}
html,
body,
#root,
.App-container {
    min-height: 100vh !important;
    position: relative;
}
.App-container {
    height: 100% !important;
}
/* Big Container (Assuming this wraps all sections) */
.bigcontainer {
    display: flex;
    flex-direction: column;
    padding: 0 3rem;
    /* gap: 0.5rem; */
    background-color: #fff;
    max-width: 100%;
    margin: 0;
    min-height: 100vh !important;
}

/* Header Style */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    min-height: 72px; 
}

.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.logo img {
    width: 100%;
    max-width: 171px;
    height: auto;
}
.header-btn {
    position: relative;
}
.header-btn-tab {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #d8d8d8;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
    width: auto;
    max-width: 160px;
    height: auto;
    border-radius: 6px;
    cursor: pointer;
}
.header-btn span {
    font-size: clamp(0.75rem, 2.5vw, 0.8125rem);
    font-weight: 400;
    color: #2d3633;
}
.header-btn img {
    height: 1.25rem;
    width: auto;
}

.header-btn .menu {
    position: absolute;
    top: 110%;
    inset-inline-end: 10%;
    background: white;
    width: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 1px rgb(200, 200, 200);

    max-height: 0;
    transition: max-height 500ms ease-in-out;
    overflow: hidden;
}
.header-btn .menu.open-menu {
    max-height: 150%;
    border: 1px solid rgb(230, 230, 230);
}

.header-btn .menu .menu-body {
    padding: 5px;
}
.header-btn .menu .menu-item {
    cursor: pointer;
    padding: 3px;
}

.header-btn .menu .menu-item:hover {
    background: rgba(240, 240, 240);
}

.header-btn .menu .menu-item.selected {
    background: #388e3c;
}
.header-btn .menu .menu-item.selected span {
    color: white !important;
}

@keyframes open {
    from {
        max-height: 0;
    }
    to {
        max-height: 200%;
    }
}

.header-btn img {
    height: 1.7rem;
    width: auto;
}

.header-btn span {
    font-size: clamp(0.95rem, 2.7vw, 1.1rem); /* تكبير الخط */
    font-weight: 500;
    color: #2d3633;
}

.header-btn button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hero Style */
.hero-section {
    position: relative;
    height: auto;
    width: 100%;

    display: flex;
    text-align: center;
    flex-direction: column;
    color: #fff;
    margin-top: 80px;
}
.hero-section img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.hero-section h1 {
    font-size: clamp(0.8rem, 3vw, 2rem);
    font-weight: 700;
    /*n margin: 1rem 0; */
    line-height: 1.2;
}

.hero-section h1 span {
    color: #00a64f;
}

.hero-section h2 {
    font-size: clamp(0.5rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* .hero-section h2 span {
    color: #ededed;
    font-weight: 700;
} */

.hero-section button {
    padding: clamp(0.25rem, 2.5vw, 1rem) clamp(0.75rem, 3vw, 1.5rem);
    font-size: clamp(0.5rem, 2.5vw, 1rem);
    line-height: 1.3;
    font-weight: 600;
    background-color: #fa9d2b;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-section button:hover {
    background-color: #2d3633;
}

/* App Download Style */
.underhero {
    min-height: 500px;
    background-color: #f0f9f4;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}
.under-hero-container {
    display: flex;
    justify-content: space-between;
    min-height: 500px;
    background-color: #f0f9f4;
    border-radius: 8px;
    overflow: hidden;
    /* padding: 2rem; */
    max-width: 100%;
}

.under-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    width: 50%;
    padding: 3rem;
}

.under-hero-right h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #2d3633;
    margin-bottom: 0.625rem;
}

.under-hero-right h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: #666;
    margin-bottom: 1.25rem;
}

.under-hero-right-links {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.under-hero-right a {
    transition: transform 0.3s ease; /* Shortened from 3s */
}

.under-hero-right a:hover {
    transform: scale(1.1);
}

.under-hero-right a img {
    height: 3.2rem;
    width: auto;
}

.under-hero-left {
    width: 50%;
    position: relative;
    display: flex;
}
.under-hero-left-img1 {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    margin: auto;
    bottom: 0%;
    left: 0%;
    //transform: rotate(40deg);
}

.under-hero-left-img2 {
    position: absolute;
    width: 100%;
    max-width: 100px;
    bottom: 0%;
    left: 0%;
    //transform: rotate(40deg);
}

/* Date Calculation Style */
.date-calculation {
    display: flex;
    min-height: 500px;
    background-color: #f0f9f4;
    border-radius: 8px;
    max-width: 100%;
}
.date-calculation-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    padding: 2rem;
    background-color: #f0f9f4;
    border-radius: 8px;
    width: 100%;
}

.date-calculation-part1 {
    width: 50%;
    text-align: center;
    padding: 1rem;
}

.date-calculation-part1 h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #388e3c;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.date-calculation-part1 h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: #2d3633;
    font-weight: 400;
    margin-bottom: 1.25rem;
    /* n white-space: nowrap; */
}

.date-calculation-part1 p {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: 400;
    color: #2d3633;
    margin-bottom: 1.875rem;
}

.date-calculation-part1 a {
    padding: 1rem 3rem;
    background-color: #388e3c;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.date-calculation-part1 a:hover {
    background-color: #2d3633;
}

.date-calculation-part2 {
    width: 50%;
    text-align: center;
}

.date-calculation-part2 img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Register Container Style */
/* .register-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.625rem;
    padding: 2rem;
  } */
.register-container-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.register-container-gray1,
.register-container-gray2,
.register-container-white1,
.register-container-white2 {
    border-radius: 8px;
    padding: 3rem 1.875rem;
    display: flex;
    width: 49.2%;
    /* gap: 1.25rem; */
    margin: auto;
    min-height: 250px;
}

.register-container-gray1,
.register-container-gray2 {
    background-color: #ededed;
}

.register-container-white1,
.register-container-white2 {
    background-color: #f9f9f9;
}

.register-container-gray1 .register-container-img,
.register-container-white2 .register-container-img {
    background: linear-gradient(#bfe2c4, #ededed);
    text-align: center;
    padding: 0.625rem;
    /* width: 48px; */
    height: 100%;
    border-radius: 8px;
}

.register-container-white1 .register-container-img,
.register-container-gray2 .register-container-img {
    background: linear-gradient(#bfe2c4, #f9f9f9);
    text-align: center;
    padding: 0.625rem;
    /* width: 48px; */
    height: 100%;
    border-radius: 8px;
}

.register-container-img img {
    max-width: 30px;
    height: auto;
}

.register-container-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.register-container-title-p {
    padding: 0 1rem;
}
.register-container-title-1 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: #333;
    margin-bottom: 0.3125rem;
}

.register-container-title-2 {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: #666;
}

.register-container-title-link {
    text-align: start;
}

.register-container-title-link a {
    color: #2d3633;
    padding: 0.5rem 0.9375rem;
    border-radius: 5px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    transition: color 0.3s ease;
}

.register-container-title-link a:hover {
    color: #31a342;
}

.register-container-title-link span {
    background-color: #fa9d2b;
    padding: 0.125rem 0.25rem;
    border-radius: 4px;
    /* n margin-left: 0.5rem; */
}

/* Get App Style */
/* .getapp-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid #E4E4E4;
    border-bottom: 1px solid #E4E4E4;
    margin-top: 1.25rem;
    gap: 0.625rem;
  } */
.getapp-section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    margin-top: 1.25rem;
    gap: 0.625rem;
}

.getapp-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.getapp-section-title h3 {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    color: #2d3633;
    font-weight: 400;
    margin: auto 0;
}

.getapp-section-title p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 400;
    color: #e4e4e4;
    margin: auto 0;
}

.getapp-section-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin: auto 0;
}

.getapp-section-links a {
    transition: transform 0.3s ease;
}

.getapp-section-links a:hover {
    transform: scale(1.1);
}

.getapp-section-links img {
    height: 2.5rem;
    width: auto;
}

/* Footer Style */
.footer {
    margin-top: 2rem;
    padding: 2rem;
    border-bottom: 1px solid #e4e4e4;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-bottom: 1px solid #e4e4e4;
}

.footer-list-menu {
    margin-top: 2rem;
}
.footer-logo {
    width: 30%;
}
.footer-list-menu {
    width: 17.5%;
}
.footer-logo {
    /* min-width: 280px; */
    padding: 1rem;
    font-size: 0.875rem;
}
.footer-list-menu {
    min-width: 160px;
    padding: 0.5rem;
}

.footer-logo-img {
    padding: 0.625rem;
    display: flex;
}

.footer-logo-img img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.footer-logo-title p {
    font-size: clamp(0.625rem, 2.5vw, 0.7rem);
    line-height: 22px;
    font-weight: 600;
    max-width: 350px;
    color: #2d3633;
    margin: 0 auto;
}

.footer-logo-title p span {
    color: #31a342;
}

.footer-list-menu h3 {
    color: #31a342;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 1.875rem;
    text-align: start;
}

.footer-list-item {
    /* list-style: none; */
    padding: 0;
}

.footer-list-item a {
    color: #2d3633;
    font-size: clamp(0.875rem, 2.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.7rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-list-item a:hover {
    color: #31a342;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.copyright {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.copy-right {
    margin: auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #000;
    font-size: 0.7rem;
}

.copyright p {
    color: #2d3633;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 400;
    margin: auto 0;
}

.footer-social {
    display: flex;
    gap: 0.625rem;
}

.footer-social img {
    width: 100%;
    max-width: 30px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-social a:hover img {
    transform: scale(1.1);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply Animations */
.hero-title {
    position: relative;
    animation: fadeIn 3s ease-in-out;
}
button.slide-up {
    position: relative;
    animation: slideUp 3s ease-in-out 0.5s;
}
.underhero,
.footer {
    animation: slideUp 2s forwards;
}
.slide-right {
    animation: slideRight 1s forwards;
}
.slide-left {
    animation: slideLeft 1s forwards;
}
.first-Fadein {
    animation: fadeIn 1s ease;
}
.second-Fadein {
    animation: fadeIn 3s ease;
}
.third-Fadein {
    animation: fadeIn 5s ease;
}
.fourth-Fadein {
    animation: fadeIn 7s ease;
}

/* Media Queries */
@media (max-width: 1024px) {
    .App-container {
        display: flex;
        flex-wrap: wrap;
    }
    .bigcontainer {
        padding: 0 2rem;
    }
    .header {
        padding: 0 1.5rem;
    }
    .logo img {
        max-width: 140px;
    }
    .header-btn {
        padding: 0.6rem 0.8rem;
        max-width: 170px;
    }
    .header-btn-tab {
        padding: 0.8rem 1rem;
        font-size: unset;
    }
    .hero-section {
        padding: 1.5rem;
        margin-top: 80px;
    }
    .underhero {
        min-height: 400px;
        padding: 1.5rem;
    }
    .date-calculation-container {
        min-height: 400px;
        padding: 1.5rem;
    }
    .register-container {
        padding: 1.5rem;
    }
    .footer-logo-section {
        flex-wrap: wrap;
    }
    .footer-logo {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .App-container {
        display: flex;
        flex-wrap: wrap;
    }
    .bigcontainer {
        padding: 0 1rem;
    }
    .header {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    .logo img {
        max-width: 120px;
    }
    .header-btn {
        padding: 0.5rem 0.75rem;
        max-width: 120px;
        gap: 0.3rem;
    }
    .header-btn span {
        display: none;
    }
    .header-btn img {
        height: 1rem;
    }
    .header-btn-tab {
        padding: 0.8rem 1rem;
        font-size: unset;
    }
}

@media (max-width: 480px) {
    .App-container {
        display: flex;
        flex-wrap: wrap;
    }
    .bigcontainer {
        padding: 0 0.2rem;
    }
    .header {
        padding: 0 0.5rem;
    }
    .logo img {
        max-width: 100px;
    }
    .header-btn {
        padding: 0.4rem 0.6rem;
        max-width: 100px;
    }
    .header-btn-tab {
        padding: 0.8rem 1rem;
        font-size: unset;
    }
}
/* ...existing code... */
.input-field {
    display: flex;
    min-height: 40px;
    align-items: center;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e4e4 !important;
    outline: none;
    cursor: pointer;
}
.input-field,
.input-field input,
.input-field select {
    width: 100% !important;
    padding: 8px;
}
.input-field::placeholder,
.input-field input::placeholder,
.input-field select::placeholder {
    color: #bdbdbd;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.react-international-phone-country-selector {
    border-inline-end: 1px solid #ddd;
}
.react-international-phone-country-selector-button {
    background: transparent;
    width: auto !important;
    border: none !important;
    outline: none !important;
    display: flex !important;
    width: 70px !important;
    justify-content: space-between !important;
    padding-right: 5px;
    padding-left: 5px;
}

.react-international-phone-country-selector,
.react-international-phone-country-selector-button {
    border-end-start-radius: 8px;
    border-start-start-radius: 8px;
}

.no-dropdown-arrow
    .react-international-phone-country-selector-button__dropdown-arrow {
    display: none !important;
}
.react-international-phone-country-selector-dropdown {
    border: none;
    outline: none;
    max-width: 70vw !important;
}
.react-international-phone-country-selector-dropdown li {
    padding: 15px;
}

[dir="rtl"] .react-international-phone-country-selector-dropdown {
    left: auto !important;
    right: 0 !important;
}

[dir="ltr"] .react-international-phone-country-selector-dropdown {
    right: auto !important;
    left: 0 !important;
}

.button-I {
    background: #31a342;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}
.button-II {
    background: #bc7620;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    cursor: pointer;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
}
/* تأكد من وجود هذه الأنماط الأساسية */
.slick-slider,
.slick-list,
.slick-track {
    height: 100%;
}

.slick-slide > div {
    height: 100%;
}

.slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* للحفاظ على تناسق الصورة */
}
.slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* للحفاظ على تناسق الصورة */
}
        padding: 2rem;
    }
    .footer-logo-section {
        gap: 1rem;
    }
    .footer-list-menu,
    .footer-logo,
    .footer-logo-section {
        text-align: center;
        width: 100%;
    }
    /* .footer-logo-section{text-align: center; } */
    .footer-list-item {
        list-style: none;
    }
    .footer-list-menu h3 {
        text-align: center;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-social {
        justify-content: center;
    }
    div {
        font-size: 12px !important;
    }
    h1 {
        font-size: 18px !important;
    }
    h2 {
        font-size: 16px !important;
    }
    h3 {
        font-size: 14px !important;
    }
    button {
        font-size: 14px !important;
    }
}

/* common */
.input-field {
    display: flex;

    min-height: 45px;
    align-items: center;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
    border: none !important;
    outline: none;
    cursor: pointer;
    /* padding-top: 0.35rem;
    padding-bottom: 0.35rem; */
}
.input-field,
.input-field input,
.input-field select {
    width: 90% !important;
    padding: 10px;
    /* padding: 10px 10px !important; */
}
.input-field::placeholder,
.input-field input::placeholder,
.input-field select::placeholder {
    color: #e4e4e4;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.react-international-phone-country-selector {
    border-inline-end: 1px solid #ddd;
}
.react-international-phone-country-selector-button {
    background: transparent;
    width: auto !important;
    border: none !important;
    outline: none !important;
    display: flex !important;
    width: 70px !important;
    justify-content: space-between !important;
    padding-right: 5px;
    padding-left: 5px;
}

.react-international-phone-country-selector,
.react-international-phone-country-selector-button {
    border-end-start-radius: 8px;
    border-start-start-radius: 8px;
}

.no-dropdown-arrow
    .react-international-phone-country-selector-button__dropdown-arrow {
    display: none !important;
}
.react-international-phone-country-selector-dropdown {
    border: none;
    outline: none;
    max-width: 70vw !important;
}
.react-international-phone-country-selector-dropdown li {
    padding: 15px;
}

[dir="rtl"] .react-international-phone-country-selector-dropdown {
    left: auto !important;
    right: 0 !important;
}

[dir="ltr"] .react-international-phone-country-selector-dropdown {
    right: auto !important;
    left: 0 !important;
}

.button-I {
    background: #31a342;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}
.button-II {
    background: #bc7620;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    cursor: pointer;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
}
/* تأكد من وجود هذه الأنماط الأساسية */
.slick-slider,
.slick-list,
.slick-track {
    height: 100%;
}

.slick-slide > div {
    height: 100%;
}

.slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* للحفاظ على تناسق الصورة */
}
