/**
* Template Name: Impact
* Template URL: https://bootstrapmade.com/impact-bootstrap-business-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/        

/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,'Avenir Arabic', 'Cairo', "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #222222; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #172a28; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #008374; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #01433c; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #172a28; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #008374;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #00b6a1;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

       /* في الجوال: عنصر واحد */
        @media (max-width: 768px) {
            .carousel .carousel-item>div {
                display: none;
            }

            .carousel .carousel-item>div:first-child {
                display: block;
            }
        }

        /* في الشاشة الكبيرة: 3 عناصر */
        .carousel-inner .carousel-item.active,
        .carousel-inner .carousel-item-next,
        .carousel-inner .carousel-item-prev {
            display: flex;
        }

        .carousel-inner .carousel-item-end.active,
        .carousel-inner .carousel-item-next {
            transform: translateX(33.33%);
        }

        .carousel-inner .carousel-item-start.active,
        .carousel-inner .carousel-item-prev {
            transform: translateX(-33.33%);
        }

        .carousel-item>div {
            flex: 0 0 33.33%;
            max-width: 33.33%;
        }

        :root {
            --main-green: #008374;
            --main-yellow: #F7B731;
            --text-on-green: #ffffff;
            --text-on-yellow: #004d46;
            --c1: #ee8a57;
            --c2: #f2b53e;
            --c3: #a8cf6b;
            --radius: 32px;
        }


        @import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');

        body {
            font-family: var(--default-font);
            background: #f8f8f8;
            min-height: 100vh;
        }

        /* ===== الهيدر ========== */
        header {
            position: sticky;
            top: 0;
            width: 100%;
            z-index: 1050;
        }

        .btn {
            font-size: 14px;
        }

        .dropdown-menu {
            --bs-dropdown-link-active-bg: var(--main-green);
        }

        .changeLang-btn {
            background-color: white;
            color: var(--main-green);
            font-size: 1rem;
        }


        .changeLang-btn:hover,
        .changeLang-btn:focus {
            background-color: var(--main-yellow);
            color: rgb(0, 50, 44);
        }

        .signup-btn {
            background-color: var(--main-green);
            color: white;
            font-size: 1rem;
        }


        .signup-btn:hover {
            background-color: var(--main-yellow);
            color: rgb(0, 50, 44);
        }

        .login-btn:hover {
            background-color: var(--main-yellow);
            color: rgb(0, 50, 44);
        }

        .login-btn {
            background-color: #ffffff;
            color: var(--main-green);
            font-size: 1rem;
        }

        .nav-link:hover {
            text-decoration: none;
            color: var(--main-green);
        }
        .nav-link {
            color: #212529;
        }


        /* المربع الأخضر العلوي */
        .top-green-bar {
            background-color: var(--main-green);
            padding: 8px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            overflow: visible;
            direction: rtl;
            height: 40px;
            user-select: none;
            z-index: 10;
        }

        .top-green-bar .text-white {
            font-weight: 600;
            font-size: 0.9rem;
            white-space: nowrap;
            z-index: 15;
        }

        .top-green-bar svg {
            position: absolute;
            bottom: -30px;
            left: 10px;
            pointer-events: none;
            user-select: none;
            z-index: 5;
            opacity: 0.7;
            width: 100%;
            height: 40px;
        }

        .top-green-bar button {
            background-color: var(--main-yellow);
            border: none;
            color: var(--text-on-yellow);
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 6px;
            cursor: pointer;
            white-space: nowrap;
            box-shadow: 0 0 6px rgba(247, 183, 49, 0.7);
            transition: background-color 0.3s;
            z-index: 15;
            font-size: 0.85rem;
        }

        .top-green-bar button:hover {
            background-color: var(--main-green);
            color: var(--main-yellow);
        }

        /* زر قائمة الهامبرغر (يظهر في الشاشات الصغيرة) */
        .menu-toggle-btn {
            display: none;
            border: none;
            background: transparent;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--main-green);
            padding: 0;
            margin-left: 15px;
        }

        /* خلفية تغطية */
        .overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
            z-index: 1040;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .hero-section {
            position: relative;
            display: flex;
            align-items: center;
            border-radius: 20px;
        }

        .hero-image img {
            max-width: 100%;
            height: auto;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgb(255 0 255 / 28%), rgb(0 203 255 / 22%) 50%, rgb(255 238 25 / 65%));
            filter: blur(140px);
            z-index: 0;
            pointer-events: none;
        }

        .hero-text {
            flex: 1;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 25px;
            max-width: 550px;
        }

        .hero-text h1 {
            font-weight: 900;
            line-height: 1.25;
            margin: 0;
            user-select: none;
        }

        /* .hero-text button {
            background-color: #ffffffcc;
            border: none;
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: 700;
            color: #333;
            border-radius: 15px;
            cursor: pointer;
            margin-top: 10px;
            box-shadow: 0 5px 15px rgb(255 255 255 / 0.5);
            transition: background-color 0.3s;
            width: fit-content;
        } */

        .user-info {
            display: flex;
            align-items: center;
            gap: 20px;
            user-select: none;
            color: #333;
            font-size: 13px;
        }

        .user-avatars img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2.5px solid white;
            object-fit: cover;
            margin-left: -12px;
            cursor: pointer;
            transition: transform 0.3s ease, z-index 0.3s ease;
        }



        .user-avatars img:hover {
            transform: scale(1.2);
            z-index: 10;
        }

        /* صورة الهيرو */
        .hero-image {
            flex: 1;
            border-radius: 20px;
            overflow: hidden;
            mask-image: linear-gradient(black 90%, transparent 100%);
            position: relative;
            z-index: 1;
            max-width: 800px;
            aspect-ratio: 4/3;
        }

        .hero-lg-image {
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            text-align: end;
            position: relative;
            z-index: 1;
            bottom: 440px;
        }

        .hero-lg-image img {
            width: 50%;
            object-fit: cover;
            object-position: center;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        /* السلايدر (النقاط العمودي) */
        .vertical-slider {
            margin-top: 25px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: flex-start;
            z-index: 1;
        }

        .vertical-slider button {
            background: rgba(255 255 255 / 0.5);
            border: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s;
            box-shadow: 0 0 7px rgba(255 255 255, 0.5);
            outline-offset: 0;
        }

        .vertical-slider button.active,
        .vertical-slider button:hover {
            background: white;
            box-shadow: 0 0 12px white;
        }

        .logo {
            width: 60px;
            height: auto;
            border-radius: 20%;
            border: 2.5px solid white;
            object-fit: cover;
        }

        /* Marquee effect */
        .marquee-section {
            position: relative;
            overflow: hidden;
            padding: 50px 0;
        }

        .marquee-section::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgb(255 0 255 / 28%), rgb(0 203 255 / 22%) 50%, rgb(255 238 25 / 65%));
            filter: blur(140px);
            z-index: 0;
            pointer-events: none;
        }

        .marquee {
            justify-content: center;
            display: flex;
            gap: 24px;
            animation: scroll 50s linear infinite;
        }

        .marquee-card {
            border: 1px solid #b1c1be;
            box-shadow: 8px 8px 5px rgba(22, 19, 19, 0.19);
            border-radius: 15px;
            padding: 15px;
            margin-top: 24px;
            min-width: 430px;
            max-width: 530px;
            flex-shrink: 0;
        }

        .marquee-card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .marquee-card-header img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 4px 2px rgb(19 19 19 / 70%);
        }

        .marquee-card-header h4 {
            margin: 0;
            font-size: 16px;
        }

        .marquee-card-header span {
            font-size: 14px;
            color: #232626;
        }

        .marquee-card p {
            font-size: 14px;
            line-height: 1.5;
            color: #232626;
        }

        /* أنيميشن الماركيو */
        @keyframes scroll {
            from {
                transform: translateX(100%);
            }

            to {
                transform: translateX(-100%);
            }
        }

        .blur-effect {
            position: relative;
            overflow: hidden;
        }

        .blur-effect::before {
            content: "";
            position: absolute;
            top: -80px;
            left: -145px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgb(1 154 194 / 30%) 40%, rgb(232 183 49 / 47%) 40%);
            filter: blur(200px);
            z-index: 0;
        }


        .blur-effect .container {
            position: relative;
            z-index: 1;
        }

        /* .blur-effect p {
            color: rgba(237, 177, 14, 0.466);
        } */

        .sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100vh;
            background: white;
            transition: left 0.3s ease;
            z-index: 1050;
            padding: 1rem;
        }

        .sidebar.open {
            left: 0;
            /* تظهر */
        }

        .navbar-toggler {
            display: none;
        }

        .navbar-scrolled {
            background-color: rgb(254, 255, 251) !important;
            box-shadow: 0 2px 6px rgba(19, 19, 19, 0.15);
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            border-radius: 0.5em;
        }

        .nav-item.active {
            background-color: var(--main-green);
            border-radius: 6px;
        }

        .nav-item.active .nav-link {
            color: #fff;
            /* النص أبيض */
        }

        .newsSlider-wrapper {
            background: #f8fbf5;
            border-radius: 20px;
            padding: 5px;
            max-width: 440px;
            display: flex;
            gap: 5px;
            align-items: center;
            color: #004d40;
            overflow: hidden;
            position: relative;
        }

        .newsSlider-dots {
            display: flex;
            flex-direction: column;
            gap: 4px;
            align-items: center;
        }

        .newsSlider-dots button {
            width: 6px;
            height: 10px;
            border: none;
            border-radius: 3px;
            background-color: #ccc;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsSlider-dots button.active {
            background-color: var(--main-green);
            width: 12px;
            height: 32px;
            transform: scaleX(1.1);
        }

        .newsSlide {
            display: none;
            animation: fade 0.6s ease-in-out;
            align-items: center;
            gap: 10px;
        }

        .newsSlide.active {
            display: flex;
        }

        .newsSlider-image {
            flex-shrink: 0;
            width: 120px;
            height: 115px;
            border-radius: 15px;
            object-fit: cover;
        }

        .newsSlider-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: auto;
        }

        .newsSlider-content .date {
            font-size: 0.9rem;
            color: #333;
            margin-bottom: 8px;
        }
        .newsSlider-content .title {
            overflow: hidden;
            max-height: 1.5em;
            text-overflow: ellipsis;
            max-width: 180px;
            display: -webkit-box;
            -webkit-line-clamp: 1; /* عدد الأسطر */
            -webkit-box-orient: vertical;
        }
        
        .newsSlider-content .description {
            color: #8a8a8a;
            line-height: 1.5;
            flex-grow: 1;
            overflow: hidden;
            max-height: 4.6em;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3; /* عدد الأسطر */
            -webkit-box-orient: vertical;
        }

        .newsSlider-content .watch-btn {
            background-color: transparent;
            border: none;
            color: var(--main-green);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: color 0.3s ease;
            padding: 0;
        }

        .newsSlider-content .watch-btn:hover {
            color: #004d40;
        }

        @keyframes fade {
            from {
                opacity: 0;
                transform: translateX(10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .box-choose {
            background: linear-gradient(to right, #198754 10%, #ffc107 49%);
        }

        .custom-card {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        .title-custom {
            font-weight: 700;
            color: #222;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 1; /* سطرين للعناوين */
            -webkit-box-orient: vertical;
            line-height: 1.4;
        }
        
        .description-custom {
            font-size: 0.95rem;
            color: #8a8a8a;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 5; /* 4 أسطر للوصف */
            -webkit-box-orient: vertical;
            line-height: 1.5;
        }

       
        
        .img-custom{
          height: 345px;           /* 👈 ارتفاع ثابت لكل الصور */
          object-fit: cover;       /* يملأ المساحة ويقص الزائد */
        }        
        .card-img-wrapper {
            height: 380px;
            flex: 1;
            border-radius: 0 20px 0 0;
            overflow: hidden;
            position: relative;
            z-index: 1;
        }

        .custom-img {
            position: relative;
            width: 85%;
            height: 300px;
            top: 85px;
            left: -7%;
            padding: 5px;
            border-radius: 20px 20px 0 0;
            box-shadow: 5px 0 1rem rgba(0, 0, 3, 1);
            object-fit: cover;
        }

        /* الخلفيات */
        .bg-purple {
            background-color: #c301c324;
            ;
        }

        .bg-blue {
            background-color: #54dbfd24;
            ;
        }

        .bg-yellow {
            background-color: #ffee0024;
        }

        .bg-green {
            background-color: var(--main-green);
        }


        .text-green-link {
            color: var(--main-green);
        }

        .text-yellow-link {
            color: var(--main-yellow);
        }

        /* التدرجات */
        .img-overlay {
            position: absolute;
            top: 85px;
            left: 0;
            width: 40%;
            height: 100%;
            border-radius: 20px 0 0 0;
        }

        .overlay-purple {
            background: linear-gradient(to right, rgb(195 1 195 / 28%), transparent);
        }

        .overlay-blue {
            background: linear-gradient(to right, rgba(0, 204, 255, 28%), transparent);
        }

        .overlay-yellow {
            background: linear-gradient(to right, rgb(255 239 0 / 28%), transparent);
        }

        .carousel-indicators [data-bs-target] {
            background-color: #b2b4b5;
        }

        .carousel-indicators {
            bottom: -25px;
        }

        .unique-blue-bg {
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgb(93 177 255 / 31%));
            pointer-events: none;
        }

        .unique-green-bg {
            inset: 0;
            border-radius: 20px;
            background: linear-gradient(135deg, rgb(232 255 0 / 20%));
            pointer-events: none;
        }

        .bg-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .overlay-img {
            position: absolute;
            top: 49%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 150px;
        }

        .bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px;
            font-weight: bold;
            font-size: 16px;
            color: #fff;
            border-radius: 50px;
            background: linear-gradient(90deg, var(--main-green) 35%, var(--main-yellow) 90%);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
        }

        /* اللون الأيسر */
        .bar::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 90%;
            height: 100%;
            color: rgb(0, 50, 44);
            background-color: var(--main-yellow);
            border-end-end-radius: 100px;
            z-index: 0;
            border: 3px solid #ffffff;
            border-start-start-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        /* اللون الأيمن */
        .bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 30%;
            height: 100%;
            color: #ccc;
            background-color: var(--main-green);
            border-start-start-radius: 90px;
            z-index: 0;
            border: 3px solid #ffffff;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
        }

        .bar i {
            color: var(--main-green);
        }

        .bar span {
            color: #fff;
            position: relative;
            z-index: 1;
        }

        .bar a {
            margin-left: 10px;
            background: #fff;
            color: var(--main-green);
            font-weight: bold;
            padding: 6px 14px;
            border-radius: 30px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .bar a:hover {
            background: var(--main-yellow);
            color: rgb(0, 50, 44);
        }


        .discover-btn {
            background: var(--main-green);
            color: #fff;
            border-radius: 11px;
            padding: 9px 9px;
            font-weight: 700;
            border: none;
            font-size: 1em;
            /* margin-bottom: 35px; */
            transition: background 0.2s;
            box-shadow: 0 5px 18px rgba(0, 131, 116, .12);
        }

        .discover-btn:hover {
            background: var(--main-yellow);
            color: rgb(0, 50, 44);
        }

        .btn-public {
            background-color: var(--main-green);
            color: white;
            font-size: 1em;
        }

        .btn-public:hover,
        .btn-public:hover:focus {
            background-color: var(--main-yellow);
            color: rgb(61, 62, 64);
        }

        .btn-Republic {
            background-color: var(--main-yellow);
            color: rgb(61, 62, 64);
            font-size: 1em;
        }

        .btn-Republic:hover,
        .btn-Republic:hover:focus {
            background-color: var(--main-green);
            color: white;
        }

        .download-btn {
            background: var(--main-yellow);
            color: rgb(0, 50, 44);
            border-radius: 11px;
            padding: 9px 9px;
            font-weight: 700;
            border: none;
            font-size: 1em;
            /* margin-bottom: 35px; */
            transition: background 0.2s;
            box-shadow: 0 5px 18px rgba(0, 131, 116, .12);
        }

        .download-btn:hover {
            background: var(--main-green);
            color: #fff;
        }

        .main-promo {
            border-radius: 23px;
            box-shadow: 0 7px 32px rgba(247, 183, 49, 0.10);
            background: linear-gradient(270deg, rgb(255 0 255 / 28%), rgb(0 203 255 / 22%) 50%, rgb(255 238 25 / 65%));
            background-size: 600% 600%;
            margin: 46px 0 12px 0;
            padding: 38px 0 24px 0;
            min-height: 255px;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .blur-circles-section {
            position: relative;
            height: 500px;
            overflow: hidden;
            align-items: center;
        }

        .blur-circles-section::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(270deg, rgb(255 0 255 / 28%), rgb(0 203 255 / 22%) 50%, rgb(255 238 25 / 65%));
            filter: blur(100px);
            opacity: 0.7;
            top: 20%;
            left: 10%;
            animation: moveCircles 10s infinite alternate;
        }

        .blur-circles-section::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(270deg, rgb(255 0 255 / 28%), rgb(0 203 255 / 22%) 50%, rgb(255 238 25 / 65%));
            filter: blur(100px);
            opacity: 0.7;
            top: 50%;
            left: 60%;
            animation: moveCircles 12s infinite alternate-reverse;
        }

        /* الدائرة الثالثة */
        .blur-circles-section .third-circle {
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: var(--main-green);
            filter: blur(90px);
            opacity: 0.6;
            top: 40%;
            left: 40%;
            animation: moveExtra 12s infinite alternate;
        }

        /* تحريك الدوائر */
        @keyframes moveCircles {
            0% {
                transform: translate(0, 0);
            }

            50% {
                transform: translate(50px, 30px);
            }

            100% {
                transform: translate(-30px, -40px);
            }
        }

        @keyframes moveExtra {
            0% {
                transform: translate(0, 0);
            }

            50% {
                transform: translate(-40px, 20px);
            }

            100% {
                transform: translate(30px, -30px);
            }
        }

        .promo-laptop {
            max-width: 600px;
            position: relative;
            z-index: 1;
        }

        .promo-mobile {
            max-width: 183px;
            position: absolute;
            top: 23px;
            right: 27%;
            transform: translateX(50%);
            z-index: 2;
        }

        /* الحاوية بنفس قياس الصورة المرفوعة */
        .bg-section {
            height: 530px;
            border-radius: var(--radius);
            overflow: hidden;
            background:
                radial-gradient(120% 100% at 0% 100%, var(--c3) 0%, transparent 60%),
                radial-gradient(120% 100% at 0% 0%, var(--c1) 0%, transparent 55%),
                radial-gradient(120% 120% at 100% 0%, var(--c2) 0%, transparent 55%),
                linear-gradient(135deg, var(--c1) 0%, var(--c2) 50%, var(--c3) 100%);
            box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
            position: relative;
            margin: 24px auto;
        }

        /* (اختياري) إطار أبيض رقيق مثل الصورة */
        .bg-section::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            border: 1px solid rgba(255, 255, 255, .15);
            pointer-events: none;
        }


        .bg-section h2 {
            line-height: 1.5;
        }

        .footer {
            position: relative;
            background-color: var(--main-green);
            border-radius: 40px 40px 0 0;
            overflow: hidden;
            padding: 60px 20px 20px;
            color: #fff;
        }

        .yellow-circle {
            position: absolute;
            bottom: -50px;
            left: 86%;
            transform: translateX(-50%) rotate(-30deg);
            width: 500px;
            height: 400px;
            background-color: #FFD93D;
            border-radius: 50%;
            filter: blur(230px);
            opacity: 0.9;
            z-index: 0;
        }

        .footer .row.content {
            position: relative;
            z-index: 1;
            /* فوق الدائرة */
            display: flex;
            flex-wrap: wrap;
            text-align: center;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links li a {
            color: #fff;
            text-decoration: none;
            transition: 0.3s;
        }

        .footer-links li a:hover {
            color: #FFD93D;
        }

        .social-icons a {
            color: #000;
            margin-right: 10px;
            transition: 0.3s;
        }

        .social-icons a:hover {
            color: #FFD93D;
        }

        .footer-bottom {
            text-align: center;
            font-size: 14px;
            position: relative;
            z-index: 1;
        }

        /* استجابة الهواتف الصغيرة */
        @media (max-width: 991.98px) {
            .hero-section {
                flex-direction: column-reverse;
                height: auto;
            }


            .marquee-section {
                flex-direction: column-reverse;
                height: auto;
            }

            .hero-image {
                width: 100%;
                height: 250px;
                margin-bottom: 1rem;
            }

            .vertical-slider {
                flex-direction: row;
                justify-content: center;
                margin-top: 12px;
                gap: 12px;
            }

            .vertical-slider button {
                width: 16px;
                height: 16px;
            }

            .hero-text {
                align-items: center;
            }

            /* إظهار زر الهامبرغر */
            .navbar-toggler {
                display: block;
            }

        }

        /* للتابلت (شاشات بين 774px و 992px) */
        @media (min-width: 768px) and (max-width: 992px) {
            .bar::after {
                width: 41%;
            }

            .bar span,
            .bar a {
                font-size: 14px;
                margin-left: 1px;
            }

            .bar i {
                font-size: 15px;
            }
        }

        /* Media Query للشاشات الصغيرة */
        @media (max-width: 490.98px) {
            .top-green-bar button {
                padding: 4px 10px;
                font-size: 0.75rem;
            }

            .bar::after {
                width: 36%;
            }

            .bar span,
            .bar a {
                font-size: 13.5px;
                margin-left: -2px;
                max-width: 70%;
            }

            .bar i {
                font-size: 13px;
                /* تصغير حجم الأيقونة */
            }
        }

        @media (min-width: 993px) and (max-width: 1199px) {

            .bar span,
            .bar a {
                font-size: 14px;
                /* تصغير النص قليلاً */
                margin-left: 2px;
                /* تحريك النص أو العنصر الأيسر 7px من اليسار */
            }

            .bar i {
                font-size: 15px;
            }
        }

        [dir="rtl"] .dropdown-menu {
            text-align: right;
            left: 0;
            right: auto !important;
        }

        .btn-grade {
            background-color: var(--main-yellow);
            color: rgb(0, 50, 44);
            font-weight: 700;
            border: rgb(0, 50, 44);
            transition: background 0.2s;
            box-shadow: 0 5px 18px rgba(0, 131, 116, .12);
        }

        .btn-grade:hover,
        .btn-grade:focus {
            background-color: var(--main-green);
            color: white;
        }

        .btn-grade.active {
            background-color: var(--main-green);
            color: white;
        }

        /* تنسيق الأزرار */
        .swiper-button-next,
        .swiper-button-prev {
            width: 60px;
            height: 60px;
            background: var(--main-green);
            /* خلفية خضراء نصف شفافة */
            border-radius: 50%;
            /* دائرة */
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            font-size: 20px;
            transition: 0.3s;
            top: 50%;
            /* بالنص */
            margin: 0;
            transform: translateY(-50%);
        }

        /* 
        .swiper-button-next,
        .swiper-rtl .swiper-button-prev {
            right: 0px;
        }

        .swiper-button-prev,
        .swiper-rtl .swiper-button-next {
            left: 0px;
        } */

        .swiper {
            padding: 30px;
        }

        /* الأيقونة (السهم) */
        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 20px;
            font-weight: bold;
        }

        /* تأثير hover */
        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: var(--text-on-green);
            color: var(--main-green);
            transform: translateY(-50%) scale(1.1);
        }

        .swiper-pagination {
            margin: -10px 0;
        }

        /* تنسيق النقاط */
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: var(--main-yellow);
            /* أخضر فاتح شفاف */
            border-radius: 30%;
            /* دائرة */
            margin: 0 6px !important;
            opacity: 1;
            /* نلغي الشفافية الافتراضية */
            transition: 0.3s;
        }

        /* عند التمرير بالماوس */
        .swiper-pagination-bullet:hover {
            background: var(--main-green);
            transform: scale(1.2);
        }

        /* النقطة النشطة */
        .swiper-pagination-bullet-active {
            background: var(--main-green);
            /* أخضر غامق */
            width: 14px;
            /* أكبر قليلاً */
            height: 14px;
            border-radius: 50%;
            transform: scale(1.3);
        }

