/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: #efc1a9;
    --first-color-alt: rgb(239 193 169 / 90%);
    --first-color-light: rgb(239 193 169 / 90%);
    --first-color-lighten: rgba(239, 193, 169, 0.8);
    --second-color: hsl(25, 83%, 53%);
    --title-color: #000;
    --text-color: hsl(0, 0%, 0%);
    --text-color-light: hsl(228, 12%, 75%);
    --border-color: hsl(228, 99%, 98%);
    --body-color: #fff;
    --container-color: #fff;
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Cairo', 'Noto Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: .3s;
    /* For animation dark mode */
}

h1,
h2,
h3 {
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

input,
button {
    font-family: var(--body-font);
    outline: none;
    border: none;
}

/*=============== THEME ===============*/
.change-theme {
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
    transition: .3s;
    padding-right: 10px;
}

.change-theme:hover {
    color: #efc1a9;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
    --first-color: #efc1a9;
    --second-color: hsl(25, 57%, 54%);
    --title-color: hsl(228, 8%, 95%);
    --text-color: hsl(0, 0%, 100%);
    --border-color: hsl(228, 16%, 14%);
    --body-color: hsl(228, 12%, 8%);
    --container-color: hsl(228, 12%, 8%);


}

section {
    background-color: var(--body-color);
}

/*========== 
    Color changes in some parts of 
    the website, in dark theme 
==========*/
.dark-theme .home__search,
.dark-theme .swiper-button-next,
.dark-theme .swiper-button-prev {
    border: 3px solid var(--border-color);
}



.dark-theme #language-switcher i {
    color: white;
}

.dark-theme .nav__menu,
.dark-theme .home__img,
.dark-theme .About__card:hover,
.dark-theme .value__img,
.dark-theme .accordion-open,
.dark-theme .accordion-open .value__accordion-icon,
.dark-theme .accordion-open .value__accordion-arrow,
.dark-theme .Services__img,
.dark-theme .Services__card-box:hover,
.dark-theme .scrollup {
    box-shadow: none;
}

.dark-theme .value__orbe,
.dark-theme .value__accordion-icon,
.dark-theme .value__accordion-arrow,
.dark-theme .Services__orbe,
.dark-theme .Services__card i,
.dark-theme .Services__card-button,
.dark-theme .subscribe__container {
    background-color: var(--container-color);
}

.dark-theme .subscribe__container {
    border: 6px solid var(--border-color);
}

.dark-theme .subscribe__description {
    color: var(--text-color);
}

@media screen and (max-width: 1023px) {
    .dark-theme::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
    }
}

.dark-theme::-webkit-scrollbar {
    background-color: hsl(228, 4%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
    background-color: hsl(228, 4%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
    background-color: hsl(228, 4%, 35%);
}

/*=============== PREMIUM ARCHITECTURAL PRELOADER ===============*/
.preloader-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent; /* Panels provide the background */
    pointer-events: auto;
}

/* Background Split Overlay Panels */
.preloader-overlay {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #ffffff; /* Light Mode Default */
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: 1;
}

.preloader-left {
    left: 0;
}

.preloader-right {
    right: 0;
}

/* Dark Theme Specific Panels */
body.dark-theme .preloader-overlay {
    background-color: #0b0c10;
}

/* Main Content Wrapper */
.preloader-content-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

/* Logo Reveal Animation */
.preloader-logo-wrap {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderContentReveal 0.8s ease forwards 0.2s;
}

.preloader-main-logo {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    animation: preloaderLogoPulse 2s infinite ease-in-out;
}

/* Counter & Stats */
.preloader-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
    font-weight: 700;
}

body.dark-theme .preloader-stats {
    color: #efc1a9;
}

.preloader-number {
    font-size: 3.5rem;
    line-height: 1;
}

.preloader-symbol {
    font-size: 1.5rem;
    margin-left: 5px;
    opacity: 0.6;
}

/* Luxury Bar Animation */
.preloader-bar-bg {
    width: 60px;
    height: 2px;
    background: rgba(239, 193, 169, 0.2);
    margin: 1rem auto 2rem;
    position: relative;
    overflow: hidden;
}

.preloader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #efc1a9;
    transition: width 0.1s linear;
}

/* Brand Name Accent */
.preloader-brand-name {
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    color: #888;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    animation: preloaderContentReveal 0.8s ease forwards 0.5s;
}

/* State Classes for Animation */
.preloader-premium.loaded .preloader-left {
    transform: translateX(-100%);
}

.preloader-premium.loaded .preloader-right {
    transform: translateX(100%);
}

.preloader-premium.loaded .preloader-content-wrap {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
    pointer-events: none;
}

.preloader-premium.loaded {
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.8s;
}

/* Animations */
@keyframes preloaderContentReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes preloaderLogoPulse {
    0%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 10px 15px rgba(0,0,0,0.05)); }
    50% { transform: scale(1.03); filter: brightness(1.1) drop-shadow(0 15px 25px rgba(239, 193, 169, 0.2)); }
}

/* Header & Navbar */
body.dark-theme .header {
    background-color: var(--body-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-theme .nav__link {
    color: #fff !important;
}

body.dark-theme .nav__link:hover {
    color: #efc1a9 !important;
}

body.dark-theme .nav__link.active-link {
    color: #efc1a9 !important;
}

body.dark-theme .nav__button {
    background-color: #efc1a9;
    color: #000;
}

body.dark-theme .nav__button:hover {
    background-color: #d4a894;
}

/* Text Colors */
body.dark-theme .typing-text,
body.dark-theme .nav__item span,
body.dark-theme .theme-button i,
body.dark-theme .home__description,
body.dark-theme .Coler_white {
    color: #fff !important;
}

body.dark-theme .typing-text::after {
    color: #fff !important;
}

body.dark-theme .bx-sun:before {
    color: #ffffff !important;
}

body.dark-theme .bx-moon:before {
    color: #ffffff !important;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1024px;
    /*  margin-right: 1.5rem;*/
    /*  margin-right: 1.5rem;*/
}

@media (max-width: 768px) {
    .no-margin-mobile {
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
}


.grid {
    display: grid;
}

.section {
    padding: 4.5rem 0 2rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
}

.section__title span {
    color: var(--second-color);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--second-color);
}

.main {
    overflow: hidden;
    /* For the animations ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    box-shadow: 0 1px 4px hsla(228, 4%, 15%, .1);
    z-index: var(--z-fixed);
    transition: .4s;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: #efc1a9;
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__logo {
    height: 55px;
    width: auto;
    display: block;
    padding-right: 20px;
    padding-left: 20px;
}

.nav__logo img {
    height: 100%;
}

.nav__logo i {
    font-size: 1.2rem;
    color: #efc1a9;
}

/* ===== Dropdown Styling ===== */
.nav__item.dropdown {
    position: relative;
}

.nav__item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(101deg, #7e7a7a, #c9bcb5);
    list-style: none;
    min-width: 150px;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    z-index: 10;
    transition: .3s;
}

.nav__item.dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.nav__item.dropdown .dropdown-menu li a:hover {
    background: #efc1a9;
    color: #000;
}

.nav__item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav__item.dropdown .dropdown-menu i {
    display: none;
}


@media screen and (max-width: 950px) {
    .nav__item.dropdown .dropdown-menu i {
        display: inline-block;
        margin-right: 8px;
        font-size: 1.1rem;
        vertical-align: middle;
    }
}

/* تأكد من أن قائمة اللغة لها نفس عرض قائمة المشاريع */
@media screen and (max-width: 1023px) {
    .nav__item.dropdown .dropdown-menu {
        width: 100%;
        min-width: 100%;
    }

    /* تأكد من أن عناصر قائمة اللغة لها نفس التنسيق */
    .nav__item.dropdown .dropdown-menu li {
        width: 100%;
    }

    .nav__item.dropdown .dropdown-menu li a {
        width: 100%;
        display: flex;
        align-items: center;
    }
}

/* ===== Responsive for Mobile - Hamburger Menu ===== */
@media screen and (max-width: 1023px) {
    .header {
        /* padding: 0 1rem; */
    }

    .nav {
        height: calc(var(--header-height) + 0.5rem);
    }

    .nav__logo {
        height: 48px;
        padding: 0 0.5rem;
    }

    /* زر الهمبرجر - أعلى يمين الشاشة */
    .nav__toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 8px;
        position: fixed;
        top: 12px;
        right: 1rem;
        z-index: 101;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .nav__toggle:hover {
        background: rgba(239, 193, 169, 0.1);
    }

    .nav__toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--text-color);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .nav__toggle span:not(:last-child) {
        margin-bottom: 6px;
    }

    /* تأثير عند hover */
    .nav__toggle:hover span {
        background: #efc1a9;
    }

    /* تأثير X عند الفتح */
    .nav__toggle.active {
        background: rgba(239, 193, 169, 0.15);
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
        background: #efc1a9;
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
        background: #efc1a9;
    }

    /* Responsive للشاشات الصغيرة جداً */
    @media screen and (max-width: 380px) {
        .nav__toggle {
            width: 42px;
            height: 42px;
            right: 0.75rem;
            top: 10px;
        }

        .nav__toggle span {
            width: 25px;
        }
    }

    /* القائمة المنسدلة من الأعلى */
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        height: auto;
        max-height: 85vh;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
        padding: 0;
        margin: 0;
        margin-top: 70px;
        border-radius: 0 0 1.5rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        overflow-y: auto;
        overflow-x: hidden;
        border: 2px solid rgba(239, 193, 169, 0.3);
        border-top: none;
        display: block;
        box-sizing: border-box;
    }

    /* Scrollbar مخصص */
    .nav__menu::-webkit-scrollbar {
        width: 8px;
    }

    .nav__menu::-webkit-scrollbar-track {
        background: rgba(239, 193, 169, 0.05);
    }

    .nav__menu::-webkit-scrollbar-thumb {
        background: rgba(239, 193, 169, 0.3);
        border-radius: 10px;
    }

    .nav__menu::-webkit-scrollbar-thumb:hover {
        background: rgba(239, 193, 169, 0.5);
    }

    .dark-theme .nav__menu {
        background: linear-gradient(180deg, rgba(28, 28, 40, 0.98) 0%, rgba(20, 20, 30, 0.95) 100%);
        border-bottom: 3px solid rgba(239, 193, 169, 0.2);
    }

    /* عرض القائمة من الأعلى */
    .nav__menu.show-menu {
        top: 0 !important;
        transform: translateX(-50%) !important;
    }

    .typing-text {
        font-size: 2rem;
    }

    .nav__list {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0;
        padding: 1.5rem 0;
        margin: 0;
        width: 100%;
        list-style: none;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav__item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        border-bottom: 1px solid rgba(239, 193, 169, 0.12);
        margin: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav__item:first-child {
        border-top: 1px solid rgba(239, 193, 169, 0.12);
    }

    .nav__item:last-child {
        border-bottom: 1px solid rgba(239, 193, 169, 0.12);
    }

    .nav__link {
        color: var(--text-color) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 1.2rem 1.5rem;
        transition: all .25s ease;
        font-size: 1.05rem;
        font-weight: 500;
        width: 100%;
        min-height: 60px;
        position: relative;
        background: transparent;
        text-decoration: none;
        box-sizing: border-box;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* إظهار الأيقونات في القائمة */
    .nav__link i {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #efc1a9;
        margin-right: 1rem;
        min-width: 30px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* سهم الانسدال للـ dropdown */
    .nav__item.dropdown .nav__link::after {
        content: '\ea4e';
        font-family: 'boxicons';
        font-size: 1.3rem;
        color: var(--text-color);
        transition: transform .3s ease;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav__item.dropdown.active .nav__link::after,
    .nav__item.dropdown:hover .nav__link::after {
        transform: rotate(180deg);
        color: #efc1a9;
    }

    .nav__link span {
        display: block !important;
        flex: 1;
        text-align: left;
        font-size: 1.1rem;
        letter-spacing: 0.3px;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit;
    }

    .nav__link:active {
        transform: scale(0.98);
        background: rgba(239, 193, 169, 0.15);
    }

    .nav__link:hover {
        color: #efc1a9;
        background: rgba(239, 193, 169, 0.1);
        padding-left: 2rem;
    }

    .nav__link.active-link {
        color: #efc1a9;
        font-weight: 600;
        background: rgba(239, 193, 169, 0.15);
        border-left: 4px solid #efc1a9;
    }

    /* Dropdown في القائمة الجانبية */
    /* Dropdown في القائمة المنسدلة - موحد للجميع */
    .nav__item.dropdown .dropdown-menu {
        position: static !important;
        display: none;
        background: rgba(239, 193, 169, 0.06) !important;
        padding: 0.75rem 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
    }

    /* إخفاء القائمة الفرعية بشكل افتراضي */
    .nav__item.dropdown .dropdown-menu {
        display: none;
    }

    /* القائمة الفرعية تظهر فقط عند active في الموبايل */
    .nav__item.dropdown.active .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
        position: static !important;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: none;
    }

    /* تأكد من أن dropdown اللغة يعمل */
    .nav__item.dropdown.active .dropdown-menu li a {
        cursor: pointer !important;
        pointer-events: all !important;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            padding: 0;
        }

        to {
            opacity: 1;
            max-height: 500px;
            padding: 0.75rem 0;
        }
    }

    .nav__item.dropdown .dropdown-menu li {
        border: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .nav__item.dropdown .dropdown-menu li a {
        padding: 1.25rem 1.5rem 1.25rem 3rem !important;
        color: var(--text-color) !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        width: 100% !important;
        min-height: 55px !important;
        transition: all .3s ease !important;
        box-sizing: border-box !important;
    }

    .nav__item.dropdown .dropdown-menu li a i {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.2rem !important;
        color: #efc1a9 !important;
        margin-right: 0.75rem !important;
        margin-left: 0 !important;
        min-width: 24px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav__item.dropdown .dropdown-menu li a span {
        flex: 1 !important;
        text-align: left !important;
    }

    .nav__item.dropdown .dropdown-menu li a:hover {
        background: rgba(239, 193, 169, 0.12) !important;
        color: #efc1a9 !important;
        padding-left: 3.5rem !important;
    }

    /* زر إغلاق القوائم الفرعية */
    .dropdown-close-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(239, 193, 169, 0.15) !important;
        border: none !important;
        border-radius: 50% !important;
        color: #efc1a9 !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        transition: all .3s ease !important;
        margin: 0.5rem auto !important;
        padding: 0 !important;
    }

    .dropdown-close-btn:hover {
        background: rgba(239, 193, 169, 0.3) !important;
        transform: rotate(90deg) !important;
    }

    .dropdown-close-btn i {
        color: #efc1a9 !important;
        font-size: 1.5rem !important;
        margin: 0 !important;
    }

    .nav__button {
        display: none;
    }

    /* Overlay عند فتح القائمة - يغطي كل الشاشة */
    .nav__overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 98;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav__overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== Hover Effects ===== */
.nav__item:hover {
    color: #efc1a9;
    box-shadow: #efc1a9;
}

/* ===== Change background header on scroll ===== */
.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 1px 4px hsla(228, 4%, 15%, .1);
}

.scroll-header .nav__logo {
    color: #efc1a9;
}

.scroll-header .change-theme {
    color: var(--title-color);
}

/* ===== Active link ===== */
.active-link {
    background: linear-gradient(101deg, #efc1a9, #efc1a9);
    color: #fff;
    box-shadow: 0 4px 8px hsla(228, 66%, 45%, .25);
}

/*=============== HOME ===============*/
.home {
    /* background: linear-gradient(170deg, 
                hsl(0, 0%, 22%) 0%,
                hsl(0, 0%, 6%) 30%); */
    padding-bottom: 0;
}

.home__container {
    padding-top: 4rem;
    row-gap: 3.5rem;
}

.home__title,
.home__value-number {
    color: #000;
}

#prime-coler {
    color: #efc1a9;
}

@media screen and (min-width: 1024px) {
    #prime-coler {
        font-size: 60px;
    }
}

.home__title {
    font-size: var(--biggest-font-size);
    line-height: 120%;
    margin-bottom: 1.25rem;
}

.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 600;
    font-size: 3.5rem;
    position: relative;
    min-height: 1.2em;
}

.typing-text::after {
    content: '|';
    color: black;
    font-weight: 100;
    animation: blink 1s infinite;
    position: absolute;
    right: -2px;
}

/* RTL support for Arabic */
body.rtl .typing-text::after {
    right: auto;
    left: -2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}



@media screen and (max-width: 460px) {
    .typing-text {
        font-size: 2rem;
    }
}


@media screen and (max-width: 450px) {
    .home__images {
        position: relative;
        display: flex;
        justify-content: left;
        padding-right: 150px;
    }
}


.home__description {
    color: #201a1a;
    margin-bottom: 2rem;
    width: 70%;
}

.home__search {
    background-color: var(--body-color);
    padding: .35rem .35rem .35rem .75rem;
    display: flex;
    align-items: center;
    border-radius: .75rem;
    border: 3px solid var(--text-color-light);
    margin-bottom: 2rem;
}

.Coler_white span {
    color: white;
}

.home__value {
    display: flex;
    column-gap: 2.5rem;
    align-items: center;
    width: 536px;
}

.home__value-number {
    font-size: var(--h1-font-size);
    font-weight: var(--font-medium);
}

.Coler_value {
    color: hsl(25, 83%, 53%);
}

.home__value-description {
    display: flex;
    color: var(--text-color);
    font-size: var(--smaller-font-size);
}

.home__images {
    position: relative;
    display: flex;
    justify-content: center;
}

.home__orbe {
    width: 265px;
    height: 284px;
    background: linear-gradient(180deg, hsl(0, 0%, 16%) 93%, hsl(0, 0%, 67%) 100%);
    border-radius: 135px 135px 0 0;
}

.home__img {
    position: absolute;
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 125px 125px 12px 12px;
    display: inline-flex;
    align-items: flex-end;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    box-shadow: 0 16px 32px hsla(228, 66%, 25%, .25);
}

/*=============== BUTTON ===============*/
.button {
    display: inline-block;
    background: linear-gradient(292deg, #efc1a9, hwb(0 100% 0%));
    color: hsl(228, 12%, 8%);
    padding: 14px 28px;
    border-radius: .5rem;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    box-shadow: 0 4px 8px hsla(228, 66%, 45%, .25);
    transition: .3s;
    cursor: pointer;
}

.button:hover {
    box-shadow: 0 4px 12px hsla(228, 66%, 45%, .25);
}

.nav__button {
    display: none;
}

/*=============== Projects Section ===============*/
.projects__container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    /* يسمح بالانتقال للسطر التالي على الشاشات الصغيرة */
    justify-content: center;
}

/* مشروع الكارت */
.project-card {
    background: var(--container-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    border: 1px solid rgba(239, 193, 169, 0.1);
}

/* Hover effect */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(239, 193, 169, 0.15);
    border-color: rgba(239, 193, 169, 0.4);
}

/* الصورة */
.project-card__image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__image {
    transform: scale(1.1);
}

/* Overlay يظهر عند Hover */
.project-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card__image::after {
    opacity: 0.8;
}

/* المحتوى */
.project-card__content {
    padding: 1.5rem;
    position: relative;
    margin-top: -50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-theme .project-card__content {
    background: rgba(28, 28, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover .project-card__content {
    background: #fff;
}

.dark-theme .project-card:hover .project-card__content {
    background: var(--container-color);
}

.project-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--title-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.project-card__description {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.project-card__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4a894;
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card__button::after {
    content: '\eb11';
    font-family: 'boxicons';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.project-card__button:hover {
    color: #d4a894;
}

.project-card__button:hover::after {
    transform: translateX(5px);
}

.project-card__vt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #efc1a9;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    border: 1px solid rgba(239, 193, 169, 0.2);
}

.project-card__vt-link:hover {
    color: #fff;
    background-color: #efc1a9;
    transform: scale(1.1) rotate(15deg);
    border-color: #efc1a9;
}

body.rtl .project-card__vt-link {
    margin-left: 0;
    margin-right: 1rem;
}

/*=============== Responsive ===============*/
@media (max-width: 1024px) {
    .projects__container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .projects__container {
        align-items: center;
    }
}

/* <!----------------------------- end About ----------------------> */

.logos__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
    /* padding: 2rem 0; */
    padding: 0px 25px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.logos__img {
    width: 100%;
    /* تأخذ كل الصورة كامل مساحة الخلية */
    aspect-ratio: 1 / 1;
    /* تجعل كل صورة مربعة بالنسبة المتاحة */
    overflow: hidden;
}

.logos__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* تملي الصندوق بدون تشويه */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.logos__img img:hover {
    transform: scale(1.1);
    /* تكبير بسيط عند hover */
    opacity: 1;
}

/*=============== About ===============*/
.About__container {
    padding: 1rem 0 5rem;
}

.About__card {
    width: 290px;
    background-color: var(--container-color);
    padding: .5rem .5rem 1.5rem;
    border-radius: 1rem;
    margin: 0 auto;
    transition: .4s;
}

.About__img {
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.About__data {
    padding: 0 1rem 0 .5rem;
}

.About__price {
    font-size: var(--h2-font-size);
    color: var(--text-color);
    margin-bottom: .25rem;
}

.About__price span {
    color: var(--second-color);
}

.About__title {
    font-size: var(--h3-font-size);
    margin-bottom: .75rem;
}

.About__description {
    font-size: var(--small-font-size);
}

.About__card:hover {
    box-shadow: 0 12px 16px hsla(228, 66%, 45%, .1);
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
    content: '';
}

.swiper-button-next,
.swiper-button-prev {
    top: initial;
    bottom: 0;
    width: initial;
    height: initial;
    background-color: var(--container-color);
    border: 2px solid var(--text-color-light);
    padding: 6px;
    border-radius: .5rem;
    font-size: 1.5rem;
    color: #efc1a9;
}

.swiper-button-prev {
    left: calc(50% - 3rem);
}

.swiper-button-next {
    right: calc(50% - 3rem);
}

/*=============== VALUE ===============*/
/* Reduce padding for value section specifically */
.value.section {
    padding: 1.5rem 0 1rem;
}

.value__container {
    row-gap: 2rem;
    margin-top: -1rem;
}

.value__img-caption {
    text-align: center;
    /* توسيط النص */
    color: #efc1a9;
    /* اللون الذهبي */
    font-size: 1.25rem;
    /* تكبير الخط */
    font-weight: 600;
    /* خط عريض قليلًا */
    margin-top: 0.5rem;
    /* مسافة بسيطة عن الصورة */
}

@media screen and (max-width: 1000px) {
    .value__img-caption {
        font-size: 1rem;
        /* تصغير الخط للشاشات الصغيرة */
    }
}

@media screen and (max-width: 300px) {
    .value__img-caption {
        font-size: 1rem;
        /* تصغير الخط للشاشات الصغيرة */
    }
}

.value__images {
    position: relative;
    display: flex;
    justify-content: center;
}

.value__orbe {
    width: 266px;
    height: 316px;
    background-color: hsl(228, 24%, 97%);
    border-radius: 135px 135px 16px 16px;
}

.value__img {
    position: absolute;
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 125px 125px 12px 12px;
    inset: 0;
    margin: auto;
    box-shadow: 0 16px 32px hsla(228, 66%, 25%, .25);
}

.value__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Founder Social Media Links */
.founder__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.5rem;
}

.founder__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--first-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.founder__social-link:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px hsla(228, 66%, 45%, .3);
}

.dark-theme .founder__social-link {
    background-color: var(--first-color-lighten);
    color: var(--title-color);
}

.dark-theme .founder__social-link:hover {
    background-color: var(--first-color);
    color: #fff;
}

.value__description {
    font-size: var(--small-font-size);
    margin-bottom: 2rem;
}

.value__accordion {
    display: grid;
    row-gap: 1.5rem;
}

.value__accordion-item {
    background-color: var(--body-color);
    border: 2px solid var(--border-color);
    border-radius: .5rem;
    /*padding: 1rem .75rem;*/
}

.value__accordion-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.value__accordion-icon {
    background-color: rgba(239, 193, 169, 0.3);
    padding: 5px;
    border-radius: .25rem;
    font-size: 18px;
    color: #efc1a9;
    margin-right: .75rem;
    transition: .3s;
}

.value__accordion-title {
    font-size: var(--small-font-size);
}

.value__accordion-arrow {
    display: inline-flex;
    background-color: rgba(239, 193, 169, 0.3);
    padding: .25rem;
    color: #efc1a9;
    border-radius: 2px;
    font-size: 10px;
    margin-left: auto;
    transition: .3s;
}

.value__accordion-arrow i {
    transition: .4s;
}

.value__accordion-description {
    font-size: var(--smaller-font-size);
    padding: 1.25rem 2.5rem 0 2.75rem;
}

.value__accordion-content {
    overflow: hidden;
    height: 0;
    transition: all .25s ease;
}

/*Rotate icon and add shadows*/
.accordion-open {
    box-shadow: 0 12px 32px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-icon {
    box-shadow: 0 4px 4px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-arrow {
    box-shadow: 0 2px 4px hsla(228, 66%, 45%, .1);
}

.accordion-open .value__accordion-arrow i {
    transform: rotate(-180deg);
}

/* <!--=============== Media & News Section ===============--> */
/*==================== MEDIA & NEWS ====================*/
.media-news {
    /*   background: var(--container-color);*/
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.media-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 164, 109, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.media-news__container {
    position: relative;
    z-index: 2;
}

.section__subtitle {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title {
    text-align: center;
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: 3rem;
}

/*================ SLIDER =================*/
.news-slider {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.news-slider__container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 12px 32px hsla(228, 66%, 25%, .1);
    /* background-color: #fff;*/
}

.news-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    background: var(--container-color);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.news-slide.active {
    display: grid;
    opacity: 1;
}

/*================ IMAGE =================*/
.news-slide__image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.news-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-slide:hover .news-slide__image img {
    transform: scale(1.05);
}

/*================ BADGE =================*/
.news-slide__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(292deg, #efc1a9, hsl(228, 100%, 97%));
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(197, 164, 109, 0.3);
}

/*================ CONTENT =================*/
.news-slide__content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-slide__meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-slide__date,
.news-slide__category {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.news-slide__date i,
.news-slide__category i {
    color: #efc1a9;
    font-size: 1.2rem;
}

.news-slide__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-slide__description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: var(--small-font-size);
}

.news-slide__highlights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.highlight-item i {
    color: #efc1a9;
    font-size: 1.2rem;
}

/*================ LINK BUTTON =================*/
.news-slide__actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.news-slide__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #efc1a9;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border: 1.5px solid #efc1a9;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.news-slide__link:hover {
    background: #efc1a9;
    color: #fff;
    transform: translateX(5px);
}

.news-slide__link i {
    font-size: 1.2rem;
}

/*================ ARROWS =================*/
.news-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.news-slider__arrow:hover {
    background: #efc1a9;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(197, 164, 109, 0.3);
}

.news-slider__arrow i {
    font-size: 1.5rem;
}

.news-slider__arrow--left {
    left: 10px;
}

.news-slider__arrow--right {
    right: 10px;
}

/*================ DOTS =================*/
.news-slider__dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.news-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(197, 164, 109, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-slider__dot.active {
    background: #efc1a9;
    width: 30px;
    border-radius: 6px;
}

.news-slider__dot:hover {
    background: var(--first-color-alt);
}

/*================ VIEW ALL =================*/
.news-slider__view-all {
    text-align: center;
    margin-top: 2.5rem;
}

.news-slider__view-all .button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: linear-gradient(292deg, #efc1a9, hwb(0 100% 0%));
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(197, 164, 109, 0.3);
}

.news-slider__view-all .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 164, 109, 0.45);
}

.news-slider__view-all .button i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.news-slider__view-all .button:hover i {
    transform: translateX(5px);
}

/*================ RESPONSIVE =================*/
@media (max-width: 1023px) {
    .news-slide {
        grid-template-columns: 1fr;
    }

    .news-slide__image {
        min-height: 300px;
        border-radius: 1.5rem 1.5rem 0 0;
    }

    .news-slide__content {
        padding: 1.5rem;
    }

    .news-slider__arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .news-slide__image {
        min-height: 260px;
    }

    .news-slider__view-all .button {
        width: 100%;
        justify-content: center;
    }
}

/* <!-- End Media & News Section --> */
/*=============== SCROLL BAR ===============*/
/* Hide scrollbars on mobile for a cleaner look */
@media screen and (max-width: 1023px) {
    ::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
    }

    * {
        scrollbar-width: none !important;
        /* Firefox */
        -ms-overflow-style: none !important;
        /* IE/Edge */
    }
}

::-webkit-scrollbar {
    width: .6rem;
    border-radius: .5rem;
    background-color: hsl(228, 8%, 76%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(228, 8%, 64%);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(228, 8%, 54%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 2.2rem;
    bottom: -30%;
    background: linear-gradient(292deg, #efc1a9, #efc1a9);
    color: #fff;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 193, 169, 0.3);
    z-index: var(--z-tooltip);
    transition: all 0.4s;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.scrollup i {
    font-size: 2rem;
}

.scrollup:hover {
    background: linear-gradient(292deg, #efc1a9, #d4a894);
    transform: translateY(-0.5rem) scale(1.1);
    box-shadow: 0 8px 20px rgba(239, 193, 169, 0.5);
}

/* Show Scroll Up*/
.show-scroll {
    bottom: 1rem;
    /* أقرب للأسفل */
}

/* Show Scroll Up - Responsive */
@media screen and (max-width: 1023px) {
    .show-scroll {
        bottom: calc(3.5rem + 3.25rem + 0.5rem) !important;
        /* فوق الواتساب */
    }
}

@media screen and (max-width: 768px) {
    .show-scroll {
        bottom: calc(3rem + 3rem + 0.5rem) !important;
        /* فوق الواتساب */
    }
}

@media screen and (max-width: 380px) {
    .show-scroll {
        bottom: calc(2.5rem + 2.75rem + 0.5rem) !important;
        /* فوق الواتساب */
    }
}

/* Dark theme support for scroll-up button */
body.dark-theme .scrollup {
    background: linear-gradient(292deg, #efc1a9, #efc1a9);
    color: #fff;
}

body.dark-theme .scrollup:hover {
    background: linear-gradient(292deg, #efc1a9, #d4a894);
}

/*=============== contact ===============*/
/*=============== CONTACT SECTION ===============*/
.contact {
    padding: 6rem 10%;
    background: var(--body-color);
    color: var(--text-color);
}

.contact__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact__info {
    flex: 1 1 45%;
    min-width: 300px;
}

.contact__info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact__info span {
    color: #efc1a9;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact__item i {
    font-size: 1.8rem;
    color: #efc1a9;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 50%;
}

.contact__item h4 {
    margin-bottom: 0.3rem;
}

.contact__item p {
    font-size: 0.95rem;
    color: #000;
}

/*=============== MAP SECTION ===============*/
.location-section {
    flex: 1 1 50%;
    min-width: 300px;
}

.location-map iframe {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

/* Responsive للخريطة */
@media screen and (max-width: 1023px) {
    .location-section {
        flex: 1 1 100%;
        width: 100%;
        min-width: auto;
    }
}

/*=============== CONTACT FORM GOLD THEME ===============*/
.contact__form-container {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(239, 193, 169, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease;
    margin-bottom: 25px;
}

.contact__form-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #efc1a9;
}

.form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 1.5rem;
    margin-bottom: 1.2rem;
}

.contact__form-group {
    position: relative;
    display: flex;
    align-items: center;
}

.contact__form-icon {
    position: absolute;
    left: 1rem;
    color: #efc1a9;
    font-size: 1.2rem;
    pointer-events: none;
}

.contact__form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    background: rgb(239 193 169 / 21%);
    border: 1px solid rgba(239, 193, 169, 0.3);
    border-radius: 10px;
    color: hsl(228, 12%, 8%);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: right;
}

.contact__form-input:focus {
    background: rgb(239 193 169 / 21%);
    border-color: #efc1a9;
    box-shadow: 0 0 12px rgba(239, 193, 169, 0.5);
}

.contact__form-area textarea {
    resize: none;
}

.contact__form-button {
    width: 100%;
    background: linear-gradient(292deg, #efc1a9, hwb(0 100% 0%));
    color: #22282f;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 1rem 0;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}



.contact__form-button:hover {
    background: linear-gradient(292deg, #efc1a9, hwb(0 100% 0%));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 193, 169, 0.5);
}

/*=============== DARK MODE SUPPORT ===============*/
body.dark-theme .contact__form-container {
    background: rgba(20, 20, 25, 0.9);
    /* داكن أقوى للدارك مود */
    border-color: rgba(239, 193, 169, 0.5);
}

body.dark-theme .contact__form-input {
    background: rgba(40, 40, 50, 0.9);
    color: #fff;
    border: 1px solid rgba(239, 193, 169, 0.4);
}

body.dark-theme .contact__form-input:focus {
    background: rgba(50, 50, 65, 0.95);
    border-color: #efc1a9;
    box-shadow: 0 0 15px rgba(239, 193, 169, 0.6);
}

body.dark-theme .contact__form-button {
    background: linear-gradient(292deg, #efc1a9, hsl(228, 100%, 97%));
    color: #22282f;
}

body.dark-theme .contact__form-button:hover {
    box-shadow: 0 10px 25px rgba(239, 193, 169, 0.6);
}

/*=============== RESPONSIVE ===============*/
@media (max-width: 768px) {
    .form__grid {
        grid-template-columns: 1fr;
    }

    .contact__form-container {
        padding: 2rem;
    }
}

/*=============== RESPONSIVE ===============*/
@media (max-width: 992px) {

    .contact__info,
    .location-section {
        flex: 1 1 100%;
    }

    .location-map iframe {
        height: 280px;
    }
}

/*=============== FOOTER ===============*/
.footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 100%);
    padding: 3rem 1.25rem;
    position: relative;
    overflow: hidden;
}


footer__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #efc1a9, transparent);
    margin: 10px 0;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 7.5rem;
    margin-bottom: 2rem;
}

/* Footer Logo & Description */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer__logo h3 {
    color: #fff;
    font-size: var(--h3-font-size);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: var(--small-font-size);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 300px;
}

/* Social Links */
.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #efc1a9;
    transform: translateY(-5px);
}

/* Footer Links */
.footer__title {
    color: #fff;
    font-size: var(--normal-font-size);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: var(--font-semi-bold);
}

.footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #efc1a9;
}


.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__link:hover {
    color: #efc1a9;
    transform: translateX(5px);
}

.footer__info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--smaller-font-size);
    margin-bottom: 0.5rem;
}

.footer__info i {
    color: #efc1a9;
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer__info span {
    line-height: 1.4;
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.5;
}

.footer__terms {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-left: 30px;
}

.footer__terms span {
    color: rgba(255, 255, 255, 0.3);
}

.footer__terms-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--smaller-font-size);
    transition: color 0.3s ease;
    padding-right: 20px;
}

.footer__terms-link:hover {
    color: #efc1a9;
    ;
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 1023px) {
    .contact {
        padding: 4rem 5%;
    }

    .contact__container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .contact__info {
        flex: 1 1 100%;
        width: 100%;
        min-width: auto;
    }

    .location-section {
        flex: 1 1 100%;
        width: 100%;
    }

    .contact__form-container {
        width: 100%;
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .contact {
        padding: 3rem 1.5rem;
    }

    .contact__container {
        gap: 2rem;
    }

    .contact__info h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contact__details {
        gap: 1.25rem;
    }

    .contact__item {
        gap: 0.85rem;
    }

    .contact__item i {
        font-size: 1.5rem;
        padding: 0.65rem;
    }

    .contact__form-container {
        padding: 2rem 1.5rem;
    }

    .location-map iframe {
        height: 280px;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: row;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 2.5rem 1rem;
    }

    .contact__container {
        gap: 1.75rem;
    }

    .contact__info h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .contact__details {
        gap: 1rem;
    }

    .contact__item i {
        font-size: 1.35rem;
        padding: 0.55rem;
    }

    .contact__item h4 {
        font-size: 0.95rem;
    }

    .contact__item p {
        font-size: 0.875rem;
    }

    .location-map iframe {
        height: 250px;
    }
}

@media screen and (max-width: 350px) {
    .contact {
        padding: 2rem 0.75rem;
    }

    .contact__container {
        gap: 1.5rem;
    }

    .contact__info h2 {
        font-size: 1.35rem;
    }

    .contact__card {
        padding: 1.5rem 1rem;
    }

    .contact__form-container {
        padding: 1.5rem 1rem;
    }

    .location-map iframe {
        height: 220px;
    }

    .footer__social {
        justify-content: center;
    }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .section {
        padding: 3.5rem 0 1rem;
    }

    /* Reduce value section padding on small screens */
    .value.section {
        padding: 1rem 0 0.5rem;
    }

    .home {
        padding-bottom: 0;
    }

    .Services__card {
        grid-template-columns: repeat(1, 180px);
        justify-content: center;
    }
}

@media screen and (max-width: 320px) {
    .nav__menu {
        padding: 1rem 1.5rem;
        width: 95%;
    }

    .nav__list {
        gap: 0.25rem;
    }

    .nav__link i {
        font-size: 1.25rem;
    }

    .home__value {
        column-gap: 1rem;
    }

    .home__img {
        width: 220px;
        height: 280px;
    }

    .home__orbe {
        width: 240px;
        height: 264px;
    }

    .logos__container {
        gap: 2rem 1rem;
    }

    .About__card {
        width: 230px;
        padding: .5rem .5rem .75rem;
    }

    .value__img,
    .Services__img {
        width: 220px;
        height: 260px;
    }

    .value__orbe,
    .Services__orbe {
        width: 236px;
        height: 280px;
    }

    .subscribe__container {
        padding: 2rem 1rem;
    }

    .footer__content {
        gap: 2.5rem;
    }
}

@media screen and (min-width: 394px) {

    .home__value {
        column-gap: 1.5rem;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    .nav__menu {
        width: 342px;
    }

    .home__search {
        width: 412px;
    }

    .Services__card {
        grid-template-columns: repeat(2, 192px);
        justify-content: center;
    }

    .footer__content {
        grid-template-columns: repeat(4, max-content);
    }

    .home__value {
        column-gap: 1.5rem;
    }
}

@media screen and (min-width: 767px) {
    .home__container {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 2rem;
    }

    .home__orbe {
        align-self: flex-end;
    }

    .home__data {
        /* padding-bottom: 2rem;*/
    }

    .logos__container {
        /* grid-template-columns: repeat(4, max-content); */
        justify-content: center;
    }

    .value__container,
    .Services__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .Services__images {
        order: 1;
    }

    .Services__card {
        justify-content: initial;
    }

    .subscribe__container {
        padding: 3rem 13rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* For large devices */
@media screen and (min-width: 1023px) {
    .section {
        padding: 7.5rem 0 1rem;
    }

    /* Reduce value section padding on large screens */
    .value.section {
        padding: 2.5rem 0 1.5rem;
    }

    .section__title {
        font-size: 2.25rem;
    }

    .section__subtitle {
        font-size: #efc1a9;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
        padding: 0px 40px;
    }

    /* إخفاء زر الهمبرجر في الشاشات الكبيرة */
    .nav__toggle {
        display: none !important;
    }

    .nav__menu {
        width: initial;
        margin-left: auto;
        position: static;
        top: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        border: none;
        backdrop-filter: none;
    }

    .nav__list {
        display: flex;
        flex-direction: row;
        column-gap: 3rem;
    }

    .nav__item {
        border-bottom: none;
    }

    .nav__link {
        color: var(--text-color-light);
        padding: 0.5rem 0;
    }

    .nav__link i {
        display: none;
    }

    .nav__button {
        display: inline-block;
    }

    /* إخفاء overlay في الشاشات الكبيرة */
    .nav__overlay {
        display: none !important;
    }

    .active-link {
        background: none;
        box-shadow: none;
        color: #efc1a9;
        font-weight: #efc1a9;
    }

    .change-theme {
        margin: 0 3rem;
        color: #262533;
        ;
    }

    .scroll-header .nav__link,
    .scroll-header .change-theme {
        color: var(--text-color);
    }

    .scroll-header .active-link {
        color: #efc1a9;
    }

    .nav__link {
        position: relative;
        color: hsl(228, 12%, 8%);
        ;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav__link:hover {
        color: #efc1a9;
    }

    /* إضافة ظل/إطار حول النص عند Hover */
    .nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        /* تحكم في المسافة من النص */
        width: 100%;
        height: 6px;
        /* سمك الظل/الإطار */
        border-radius: 4px;
        background: rgba(239, 193, 169, 0.5);
        /* لون الظل */
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav__link:hover::after {
        transform: scaleX(1);
    }

    /* Show language switcher icon on desktop */
    #language-switcher i {
        display: inline-block !important;
        font-size: 1.25rem;
    }

    .home {
        padding-bottom: 0;
    }

    .home__container {
        column-gap: 2rem;
    }

    .home__data {
        /* padding-bottom: 4rem; */
        width: 567px;
    }

    .home__title {
        margin-bottom: 2rem;
    }

    .home__description,
    .home__search {
        /* margin-bottom: 3rem; */
    }

    .home__value {
        column-gap: 3.5rem;
        padding: 10px 0px;
    }

    .home__orbe {
        width: 504px;
        height: 611px;
        border-radius: 256px 256px 0 0;
    }

    .home__img {
        width: 472px;
        height: 634px;
        border-radius: 236px 236px 12px 12px;
        bottom: -2.5rem;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .logos__img img {
        height: 100px;
    }

    .About__container {
        padding-top: 3rem;
    }

    .About__card {
        width: 320px;
        padding: .75rem .75rem 2rem;
    }

    .About__data {
        padding: 0 .25rem 0 .75rem;
    }

    .value__container,
    .Services__container {
        /*align-items: flex-start;*/
        column-gap: 5rem;
    }

    .value__orbe,
    .Services__orbe {
        width: 501px;
        height: 641px;
        border-radius: 258px 258px 16px 16px;
    }

    .value__img,
    .Services__img {
        width: 461px;
        height: 601px;
        border-radius: 238px 238px 12px 12px;
    }

    .value__img img,
    .Services__img img {
        max-width: initial;
        width: 490px;
    }

    .value__description,
    .Services__description {
        font-size: var(--normal-font-size);
        margin-bottom: 2.5rem;
    }

    .value__accordion-title {
        font-size: var(--normal-font-size);
    }

    .value__accordion-item {
        /*padding: 1.25rem 1.25rem 1.25rem 1rem;*/
    }

    .value__accordion-description {
        padding-bottom: 1rem;
        font-size: var(--small-font-size);
    }

    .Services__card {
        grid-template-columns: repeat(2, 200px);
    }

    .Services__card-box {
        padding: 28px 1.5rem 1.5rem;
    }

    .subscribe__container {
        padding: 4rem 10rem 4.5rem;
        border-radius: 2rem;
        border: 12px solid var(--first-color-light);
    }

    .subscribe__title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .subscribe__description {
        font-size: var(--normal-font-size);
        padding: 0 8rem;
    }

    .subscribe__button {
        font-size: var(--normal-font-size);
    }

    .footer__content {
        justify-content: center;
    }

    .footer__title {
        margin-bottom: 1.5rem;
    }

    .footer__links {
        row-gap: 1rem;
    }

    .footer__info {
        flex-direction: row;
        justify-content: space-between;
        padding-bottom: 2rem;
    }
}

@media screen and (min-width: 1040px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .home__container {
        column-gap: 4rem;
    }
}

/* For 2K & 4K resolutions */
@media screen and (min-width: 2048px) {
    body {
        zoom: 1.5;
    }
}

@media screen and (min-width: 3840px) {
    body {
        zoom: 2;
    }
}

/*=============== PREVENT FLASH ON LOAD ===============*/
body {
    opacity: 1;
    transition: opacity 0.1s ease-in;
}

body.loading {
    opacity: 0;
}

/* Founder Social Media - Responsive */
@media screen and (max-width: 768px) {
    .founder__social {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .founder__social-link {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1024px) {
    .founder__social {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .founder__social-link {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* RTL Support للقائمة المنسدلة - نفس التصميم تماماً */
@media screen and (max-width: 1023px) {

    /* زر الهمبرجر في اليسار للعربية */
    body.rtl .nav__toggle,
    body[dir="rtl"] .nav__toggle {
        right: auto;
        left: 1rem;
    }

    /* القائمة تبقى في المنتصف - نفس الموقع */
    body.rtl .nav__menu,
    body[dir="rtl"] .nav__menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    body.rtl .nav__menu.show-menu,
    body[dir="rtl"] .nav__menu.show-menu {
        transform: translateX(-50%) !important;
    }

    /* زر X في اليسار للعربية */
    body.rtl .nav__close,
    body[dir="rtl"] .nav__close {
        right: auto;
        left: 1.5rem;
    }

    /* الأيقونات على اليسار (نفس الإنجليزية) */
    body.rtl .nav__link i,
    body[dir="rtl"] .nav__link i {
        margin-right: 1rem;
        margin-left: 0;
        order: -1;
    }

    /* محاذاة النصوص لليمين */
    body.rtl .nav__link,
    body[dir="rtl"] .nav__link {
        flex-direction: row;
        text-align: right;
    }

    body.rtl .nav__link span,
    body[dir="rtl"] .nav__link span {
        text-align: right;
        flex: 1;
    }

    /* سهم الانسدال يبقى على اليمين (نفس الإنجليزية) */
    body.rtl .nav__item.dropdown .nav__link::after,
    body[dir="rtl"] .nav__item.dropdown .nav__link::after {
        margin-left: auto;
        margin-right: 0;
    }

    /* Dropdown - الأيقونات على اليسار */
    body.rtl .nav__item.dropdown .dropdown-menu li a,
    body[dir="rtl"] .nav__item.dropdown .dropdown-menu li a {
        padding: 1.25rem 1.5rem 1.25rem 3rem;
        text-align: right;
        flex-direction: row;
    }

    body.rtl .nav__item.dropdown .dropdown-menu li a i,
    body[dir="rtl"] .nav__item.dropdown .dropdown-menu li a i {
        margin-right: 0.75rem;
        margin-left: 0;
        order: -1;
    }

    body.rtl .nav__item.dropdown .dropdown-menu li a:hover,
    body[dir="rtl"] .nav__item.dropdown .dropdown-menu li a:hover {
        padding-left: 3.5rem;
        padding-right: 1.5rem;
    }

    /* الخط الجانبي للعنصر النشط على اليسار (نفس الإنجليزية) */
    body.rtl .nav__link.active-link,
    body[dir="rtl"] .nav__link.active-link {
        border-left: 4px solid #efc1a9;
        border-right: none;
    }

    /* تأثير hover */
    body.rtl .nav__link:hover,
    body[dir="rtl"] .nav__link:hover {
        padding-left: 2.5rem;
        padding-right: 1.5rem;
    }

    ;
}

/*=
============== RESET ICONS FOR LTR (ENGLISH) ===============*/
/* التأكد من أن الأيقونات لا تنعكس في اللغة الإنجليزية */
body:not(.rtl):not([dir="rtl"]) i,
body:not(.rtl):not([dir="rtl"]) .bx,
body:not(.rtl):not([dir="rtl"]) [class^="bx-"],
body:not(.rtl):not([dir="rtl"]) [class*=" bx-"] {
    transform: none !important;
    direction: ltr !important;
}

/* التأكد من أن الأيقونات في الـ navbar لا تنعكس */
body:not(.rtl):not([dir="rtl"]) .nav__link i {
    margin-right: 0.5rem;
    margin-left: 0;
    transform: none !important;
}

body:not(.rtl):not([dir="rtl"]) .nav__item.dropdown .nav__link::after {
    margin-left: auto;
    margin-right: 0;
    /* transform: none !important; */
}

/* إعادة ضبط اتجاه النصوص والعناصر في الإنجليزية */
body:not(.rtl):not([dir="rtl"]) {
    direction: ltr !important;
    text-align: left !important;
}

body:not(.rtl):not([dir="rtl"]) .nav {
    direction: ltr !important;
}

body:not(.rtl):not([dir="rtl"]) .nav__link {
    flex-direction: row !important;
    direction: ltr !important;
}

/*=============== WHATSAPP ICON - PREVENT FLIPPING ===============*/
/* منع أيقونة الواتساب من الانعكاس في كل اللغات والشاشات */
.whatsapp-button,
.whatsapp-button i,
.whatsapp-button .ri-whatsapp-fill,
.ri-whatsapp-fill {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    direction: ltr !important;
}

/* في الوضع العربي أيضاً */
body.rtl .whatsapp-button,
body.rtl .whatsapp-button i,
body.rtl .whatsapp-button .ri-whatsapp-fill,
body[dir="rtl"] .whatsapp-button,
body[dir="rtl"] .whatsapp-button i,
body[dir="rtl"] .whatsapp-button .ri-whatsapp-fill {
    transform: none !important;
    -webkit-transform: none !important;
    direction: ltr !important;
}

/* على كل الشاشات */
@media screen and (max-width: 1023px) {

    .whatsapp-button,
    .whatsapp-button i,
    body.rtl .whatsapp-button,
    body.rtl .whatsapp-button i {
        transform: none !important;
    }
}



.contact__wrapper {
    /* display: flex;*/
    gap: 30px;
    /* المسافة بين العمودين */
    flex-wrap: wrap;
    /* لو الشاشة ضيقة يتحولوا تحت بعض */
}

/* Desktop: Side by side layout */
@media screen and (min-width: 1024px) {
    .contact__wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 2rem !important;
    }
}

/* Mobile: Stacked layout */
@media screen and (max-width: 1023px) {
    .contact__wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
}

.contact__left,
.contact__right {
    flex: 1;
    /* ياخدوا نص مساحة كل واحد تقريبًا */
    min-width: 300px;
    /* يمنعهم من الانهيار لو الشاشة صغيرة جدًا */
}

/* الحاوية الكبيرة لجهة اليمين */
.contact__right {
    display: flex;
    flex: 1;
    /* لتأخذ المساحة المتبقية */
}

/* صندوق الفورم الداخلي */
.contact__form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* ليأخذ كامل طول الحاوية */
    background-color: var(--container-color);
    padding: 2.5rem;
    /* زيادة المسافة الداخلية قليلاً للفخامة */
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__form-title {
    margin-bottom: 2rem;
    /* مسافة تحت العنوان الرئيسي */
    font-size: var(--h3-font-size);
}

/* الحاوية التي تجمع الحقول */
.contact__form {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
    /* توزيع مسافات متساوية (24px) بين كل حقل والآخر */
}

/* تنسيق مجموعة الحقل (الأيقونة + المدخل) */
.contact__form-group {
    position: relative;
    /* ضروري لضبط مكان الأيقونة بالداخل */
    display: flex;
    flex-direction: column;
}

/* تنسيق الأيقونة داخل الحقل */
.contact__form-icon {
    position: absolute;
    left: 1.25rem;
    top: 1rem;
    /* محاذاة الأيقونة للأعلى قليلاً لتناسب الـ TextArea أيضاً */
    font-size: 1.5rem;
    color: var(--text-color-light);
    z-index: 10;
}

/* تنسيق حقول الإدخال (TextBox & DropDownList) */
.contact__form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    /* خلفية داكنة خفيفة */
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem 1rem 3.5rem;
    /* مسافة يسار كبيرة لعدم تداخل النص مع الأيقونة */
    border-radius: 0.75rem;
    outline: none;
    font-family: var(--body-font);
    transition: 0.3s;
}

/* تأثير عند الضغط على الحقل */
.contact__form-input:focus {
    border-color: var(--first-color);
    /* يتغير لون الإطار للون الموقع الأساسي */
}

/* جعل منطقة الرسالة (TextArea) تتمدد لملء الفراغ */
.contact__form-area {
    flex-grow: 1;
    /* تجعل الحقل يتمدد ليساوي طول جهة اليسار */
    display: flex;
    flex-direction: column;
}

.contact__form-area .contact__form-input {
    flex-grow: 1;
    resize: none;
    /* منع المستخدم من تغيير الحجم يدوياً لضبط التصميم */
    min-height: 150px;
    /* أقل ارتفاع ممكن */
}

/* تنسيق زر الإرسال */
.contact__form-button {
    margin-top: 0.5rem;
    align-self: flex-start;
    /* جعل الزر على اليسار أو اليمين حسب التصميم */
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    cursor: pointer;
}

/* الحاوية الكبيرة لجهة اليمين */
.contact__right {
    display: flex;
    flex: 1;
}

@media screen and (max-width: 576px) {
    .contact__right {
        display: flex;
        flex: 1;
    }

    .contact__wrapper {
        display: flow;
    }


    /* صندوق الفورم الداخلي */
    .contact__form-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background-color: var(--container-color);
        padding: 2.5rem;
        border-radius: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact__form {
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 1.25rem;
        /* المسافات المتساوية بين الحقول والزرار */
    }

    /* ... (تنسيقات الحقول والأيقونات اللي بعتناها قبل كدة) ... */
    /* تنسيق الزرار الخاص بـ ASP.NET */
    .contact__form-button {
        display: inline-block;
        background-color: var(--first-color);
        /* لون الموقع الأساسي */
        color: #fff;
        padding: 1.1rem 2.2rem;
        border-radius: 0.75rem;
        font-weight: var(--font-medium);
        border: none;
        outline: none;
        cursor: pointer;
        transition: 0.3s;
        width: max-content;
        /* الزرار بياخد حجم الكلام مش عرض الصفحة كله */
        margin-top: 0.5rem;
        /* مسافة بسيطة فوق الزرار */
    }

    /* تأثير عند الوقوف بالماوس على الزرار */
    .contact__form-button:hover {
        background-color: var(--first-color-alt);
        /* لون أغمق قليلاً عند الـ Hover */
        transform: translateY(-2px);
        /* رفعة بسيطة بتدي شكل تفاعلي */
        box-shadow: 0 4px 12px rgba(var(--first-color-rgb), 0.3);
    }

    /* لو عايز الزرار يملأ العرض كله في الموبايل */
    @media screen and (max-width: 576px) {
        .contact__form-button {
            width: 100%;
        }
    }

    /* Project Features Styling */
    .project-features {
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .project-features h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: var(--title-color);
        font-size: 2rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .feature-item {
        text-align: center;
        padding: 1.5rem;
        background: var(--container-color);
        border-radius: 1rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .feature-item i {
        font-size: 2.5rem;
        color: var(--first-color);
        margin-bottom: 1rem;
        display: block;
    }

    .feature-item h4 {
        color: var(--title-color);
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .feature-item p {
        color: var(--text-color);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Project Details Styling */
    .project-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin: 2rem 0;
    }

    .detail-item {
        text-align: center;
        padding: 1rem;
        background: var(--container-color);
        border-radius: 0.75rem;
        border: 2px solid var(--first-color-alt);
    }

    .detail-item h3 {
        color: var(--first-color);
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .detail-item p {
        color: var(--title-color);
        font-size: 1rem;
        font-weight: 500;
    }

    /* Project Hero Section */
    .project-hero {
        padding: 8rem 0 4rem;
        background: linear-gradient(135deg, var(--first-color-alt) 0%, var(--first-color) 100%);
        color: white;
        text-align: center;
    }

    .project-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .project-description {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        opacity: 0.95;
    }

    /* RTL Support for Project Pages */
    [dir="rtl"] .features-grid {
        direction: rtl;
    }

    [dir="rtl"] .project-details {
        direction: rtl;
    }

    [dir="rtl"] .feature-item,
    [dir="rtl"] .detail-item {
        text-align: center;
    }

    /* Mobile Responsiveness */
    @media screen and (max-width: 768px) {
        .project-title {
            font-size: 2.5rem;
        }

        .project-description {
            font-size: 1.1rem;
            padding: 0 1rem;
        }

        .features-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .project-details {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .project-hero {
            padding: 6rem 0 3rem;
        }
    }

    @media screen and (max-width: 480px) {
        .project-title {
            font-size: 2rem;
        }

        .feature-item {
            padding: 1rem;
        }

        .feature-item i {
            font-size: 2rem;
        }
    }

    .news-slider__arrow--left {
        left: 10px;
    }

    .news-slider__arrow--right {
        right: 10px;
    }

    body.rtl .news-slider__arrow--left {
        left: auto;
        right: 10px;
    }

    body.rtl .news-slider__arrow--right {
        right: auto;
        left: 10px;
    }

    .news-slider__arrow i {
        font-size: 1.4rem;
    }


    @media screen and (max-width: 480px) {
        .news-slider__arrow {
            width: 40px;
            height: 40px;
        }

        .news-slider__arrow--left {
            left: 5px;
        }

        .news-slider__arrow--right {
            right: 5px;
        }

        body.rtl .news-slider__arrow--left {
            left: auto;
            right: 5px;
        }

        body.rtl .news-slider__arrow--right {
            right: auto;
            left: 5px;
        }

        .news-slider__arrow i {
            font-size: 1.2rem;
        }

        .news-dot {
            width: 12px;
            height: 12px;
        }
    }

    /* تأثيرات إضافية للأسهم */
    .news-slider__arrow::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: rgba(239, 193, 169, 0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .news-slider__arrow:hover::before {
        width: 100%;
        height: 100%;
    }

    /* تحسين الانتقالات */
    .news-slide {
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .news-slide.active {
        opacity: 1;
        transform: translateX(0);
    }

    .news-slide:not(.active) {
        opacity: 0;
        transform: translateX(30px);
    }

    body.rtl .news-slide:not(.active) {
        transform: translateX(-30px);
    }

    @media screen and (max-width: 1023px) {
        .nav__right {
            z-index: 9999 !important;
            pointer-events: auto !important;
        }
    }

    @media screen and (max-width: 1023px) {
        .nav__item.dropdown .dropdown-menu {
            display: none;
            opacity: 1;
            visibility: visible;
        }

        .nav__item.dropdown.active-dropdown .dropdown-menu {
            display: block !important;
        }
    }