@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Black.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Bold.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Extralight.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Extralight.woff") format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Light.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Medium.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Regular.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Thin.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Thin.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Super.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Super.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}
@font-face {
    font-family: "Graphik Arabic";
    src: url("/fonts/GraphikArabic-Semibold.woff2") format("woff2"),
        url("/fonts/GraphikArabic-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    font-variant-ligatures: none;
}

:root {
    /* تعريف الألوان */
    --color-cinnabar: #db3c1d;
    --color-dark-raspberry: #6e1946;
    --color-black-light: #231f20;
    --color-black: #000;
    --color-white: #fff;
    --color-ray: #666666;
    --color-gray-light: #ddd;
    --color-satin-linen: #e1dccc;
    --color-green: #52a268;
    --color-yellow: #f0ca5d;
    /* --color-hover-lighte: rgb(248, 242, 235); */
    --color-hover-lighte: rgb(245 240 234);
    --color-gray-bg: #f5f5f5;
    --color--bg: #efede8;

    /* تعريف الخطوط */
    --font-family: "Graphik Arabic", sans-serif;

    --font-size-xx-small: 10px;
    /* نصوص صغيرة جدًا */
    --font-size-x-small: 12px;
    /* نصوص صغيرة */
    --font-size-small: 14px;
    /* نصوص أقل من العادية */
    --font-size-base: 16px;
    /* الحجم الأساسي للنصوص */
    --font-size-large: 18px;
    /* نصوص كبيرة */
    --font-size-x-large: 20px;
    /* نصوص أكبر */
    --font-size-xx-large: 24px;
    /* نصوص كبيرة جدًا */
    --font-size-huge: 28px;
    /* نصوص ضخمة */
    --font-size-sub-heading: 30px;
    /* عناوين فرعية صغيرة */
    --font-size-heading: 36px;
    /* عناوين رئيسية */
    --font-size-title: 42px;
    /* عناوين كبيرة */
    --font-size-display: 64px;
    /* عناوين ضخمة */

    /* أمثلة الخطوط لعناصر معينة */

    --font-size-button-text: 16px;
    /* الخط المستخدم لنصوص الأزرار */
    --font-size-detail-text: 12px;
    /* الخط للنصوص التفصيلية مثل الشروط والأحكام */
    --font-size-caption-text: 10px;
    /* الخط للتعليقات الصغيرة تحت الصور أو الجداول */
    --font-size-link-text: 16px;
    /* الخط للروابط العادية */
    --font-size-nav-text: 18px;
    /* الخط لنصوص التنقل الرئيسية */
}

body,
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* {
    font-family: var(--font-family);
    color: var(--color-black-light);

    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

hr {
    border: none;
    border-top: 3px double #000;
    overflow: visible;
    text-align: center;
    height: 5px;
}

main {
    /* overflow-y: scroll;
    scroll-snap-type: y mandatory; */
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer,
header,
.gallery {
    max-width: 100%;
    padding: 1rem;
}

.title {
    /* Global CSS - title sections */
    font-size: var(--font-size-title);
    font-weight: 500;
    font-style: normal;
    line-height: normal;
}

.title-section {
    margin: auto 0;
    text-align: right;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    direction: rtl;
}
.title-section-blog {
    margin: auto 0;
    padding: 1rem;
    text-align: right;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    direction: rtl;
}

.title-section .title {
    font-size: var(--font-size-heading);
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    justify-content: flex-start;
}
.title-section-blog .title i {
    padding: 0 1rem;
}
.title-section-blog a {
    margin-right: auto;
    color: var(--color-cinnabar);
}
.title i {
    /* Global  CSS - Icons */
    padding: 0 1rem;
}

.description {
    font-size: var(--font-size-base);
    text-align: justify;
    direction: rtl;
}

.emptyBox {
    width: 100%;
}

/************************************** Hero  **************************************/

.Hero {
    background-image: url("../images/hero-background.webp");
    background-size: cover;
    object-fit: cover;
    inset: 0px;
    max-width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.container {
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px 5rem;
}

/* .Box {
    margin: 20% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    width: 100%;
} */
.Box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    flex: 1;
}

.Box.description {
    width: auto;
    padding: 5rem;
}
.main-text {
    text-align: justify;
    font-size: var(--font-size-xx-large);
}

#Logo {
    max-width: 180px;
}

.Box p span {
    font-size: var(--font-size-large);
    text-align: justify;
    line-height: 1.75;
}

/************************************** Gallery **************************************/
.mySwiper {
    width: 100%;
    height: 10rem;
    overflow: hidden;
}

.swiper-slide {
    width: auto !important;
    padding: 0.5rem;
}

.swiper-slide img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

.swiper-row-1 .swiper-wrapper {
    animation: scrollX 13s linear infinite;
}

.swiper-row-2 .swiper-wrapper {
    animation: scrollXReverse 15s linear infinite;
}

@keyframes scrollX {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollXReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.gallery {
    padding: 2rem 0;
}
.gallery-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.gallery-title {
    color: var(--color-cinnabar);
    font-size: var(--font-size-sub-heading);
    font-weight: 500;
}

.gallery-description {
    color: var(--color-white);
    font-size: var(--font-size-x-large);
    text-align: center;
}

.gallery-description a {
    color: var(--color-cinnabar);
}

.gallery {
    /* background-color: var(--color-black); */
    background-color: #2d3436;
    background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%);
}

/************************************** TREE-container ***************************************/

.tree-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 10rem;
}

.tree-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    transition: transform 0.2s ease-in-out;
}

.tree-image img:hover {
    transform: scale(1.05);
}
.tree-title {
    font-size: 24px;
    font-weight: 600;
}

.clean-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    font-size: var(--font-size-nav-text);
    color: #000;
    background-color: var(--color-white);
    border: 1.3px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    line-height: 1.6;
    gap: inherit;
}

.clean-button:hover {
    background: var(--color-gray-bg);
    text-decoration: none;
    cursor: pointer;
    /* color: var(--color-cinnabar); */
    transition: color 0.2s ease-in-out;
}

.clean-button:hover i {
    color: inherit;
}
.tree-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1rem;
}

/************************************** sami-container **************************************/

.sami-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 10rem;
}

.sami-text,
.tree-text {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: end;
}

.sami-container .title,
.tree-container .title {
    padding: 0 !important;
}

.sami-text h3 {
    color: var(--color-cinnabar);
    font-size: var(--font-size-x-large);
    font-weight: 500;
    text-align: end;
}

.sami-description,
.tree-description {
    font-size: var(--font-size-x-large);
    font-style: normal;
    margin: 10px 0;
}

.sami-image img:hover {
    transform: scale(1.05);
}
.sami-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    transition: transform 0.2s ease-in-out;
}

.sami-btns {
    display: inline-flex;
    width: 100%;
    justify-content: end;
    margin-top: 1rem;
}

/************************************** FAQ **************************************/

.FAQ-answer {
    color: var(--color-ray);
    overflow: hidden;
    font-size: var(--font-size-large);
    transition: height 0.3s ease;
    height: 0;
}

.FAQ-item.active .FAQ-answer {
    height: auto;
}

.FAQ-container {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 10rem;
    box-sizing: border-box;
    direction: rtl;
}
/* .FAQ-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    direction: rtl;
} */

.FAQ-item {
    background-color: var(--color-gray-bg);
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid var(--color--bg);
    border-radius: 8px;
}

.FAQ-question {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: right;
    color: var(--color-cinnabar);
    font-weight: 500;
    font-size: var(--font-size-large);
    direction: initial;
}

.FAQ-question .triangle i {
    transition: transform 0.3s ease-in-out;
    color: var(--color-cinnabar);
}

.FAQ-item.active .triangle i {
    transform: rotate(-180deg);
}

.FAQ-item.active .FAQ-answer {
    display: block;
}

/************************************** footer **************************************/

.footer {
    margin-top: 4%;
    position: relative;
    width: 100%;
    background-color: #2d3436;
    background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%);
    min-height: 100px;
    padding: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.social-icon,
.menu {
    color: var(--color-white);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
    padding: 0;
}

.social-icon__link {
    font-size: var(--font-size-base);
    color: var(--color-white);
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

.social-icon__link i {
    transition: 0.5s;
    color: var(--color-white);
    opacity: 0.75;
    font-size: 24px;
}

.menu__link {
    font-size: var(--font-size-base);
    color: var(--color-white);
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
}

.menu__link:hover {
    opacity: 1;
}

.social-icon__link i:hover {
    opacity: 1;
}

.footer > p {
    color: var(--color-white);
    margin: 15px 0;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.copyright {
    border-top: 1px solid var(--color-white);
    padding: 5px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    text-align: end;
}

.text-copyright {
    color: var(--color-white);
    margin: auto;
    font-size: var(--font-size-small);
    display: flex;
    flex-direction: column;
}

.copyright img {
    max-width: 50%;
    width: 20%;
    position: relative;
    margin: auto;
}

.copyright p {
    color: var(--color-white);
    font-size: var(--font-size-small);
}

.copyright a {
    color: var(--color-ray);
    text-decoration: underline;
}

/* =================================================================
 Meadia Query
================================================================== */

/* التعديلات للشاشات التي عرضها 768 أو أكثر */
@media (min-width: 768px) {
    #logo-link {
        position: static;
        transform: none;
    }

    .left-slot {
        display: none !important;
    }

    .gallery-description {
        width: 70%;
    }

    .gallery-text {
        width: fit-content;
    }

    .emptyBox {
        display: flex;
    }
    #logo {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-xx-small: 8px;
        --font-size-x-small: 10px;
        --font-size-small: 12px;
        --font-size-base: 14px;
        --font-size-large: 16px;
        --font-size-x-large: 20px;
        --font-size-xx-large: 20px;
        --font-size-huge: 22px;
        --font-size-sub-heading: 24px;
        --font-size-heading: 28px;
        --font-size-title: 32px;
        --font-size-display: 42px;

        --font-size-button-text: 12px;
        --font-size-detail-text: 10px;
        --font-size-caption-text: 8px;
        --font-size-link-text: 14px;
        --font-size-nav-text: 16px;
    }
    #logo-link {
        display: block;
    }

    html {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    .Box {
        width: 100%;
    }
    section {
        padding: 0;
        margin: 0;
    }

    /* #logo-link {
        display: none;
    } */

    .gallery-row-wrapper {
        height: 9rem;
        padding-inline: 0.5rem;
    }

    .gallery-row img {
        height: 8rem;
        margin: 0 0.2rem;
    }

    .container {
        flex-direction: column-reverse;
        padding: 0;
        margin-top: 14rem;
    }

    .Box.description {
        padding: 3rem;
    }
    .sami-container {
        flex-direction: column-reverse;
        padding: 2rem;
        gap: inherit;
    }
    .sami-container img {
        width: 80;
    }

    .tree-image img {
        max-width: 100%;
    }
    .tree-btns,
    .sami-btns {
        justify-content: space-evenly;
        width: 100%;
    }
    .tree-container {
        flex-direction: column-reverse;
        padding: 2rem;
        gap: inherit;
    }
    .FAQ-container {
        padding: 2rem;
    }
}
