﻿/*===================================================
Project: نيكسيون فيجن | عالم النسور للبرمجيات  
Author: ERRAMIX
====================================================*/

/* start global classes */
:root {
    /* body bg color */
    --bodyColor: #f8f6f4;
    /* box bg color */
    --boxColor: #eff0ef;
    /* dark brand color */
    --dark-brand-color: #202020;
    /* brand color */
    --brand-color: #21c68b;
    /* Primary Text Color */
    --primaryColor: #404742;
    /* title 2 Color (subtitle-color) */
    --title-2-color: #292836;
    /* Secondary Text Color */
    --secendaryColor: #5e5e5e;
    /* border radius */
    --border-radius: 5px;
    /* highlight color */
    --highlight-color: #ff9800;
    /* forbidden color */
    --forbidden-color: #d32f2f;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--primaryColor);
  background-color: var(--bodyColor);
  text-align: left;
  text-transform: capitalize;
  position: relative;
  overflow-x: hidden;
}

body.home-rtl {
  font-family: "Tajawal", sans-serif;
}

/* ========== srart dark-mode colors ============ */

    body.dark-mode {
        --bodyColor: #202020;
        /* box bg color */
        --boxColor: #1e1e1e;
        /* Primary Text Color */
        --primaryColor: #e4e6e4;
        /* brand color */
        --brand-color: #21c68b;
        /* Secondary Text Color */
        --secendaryColor: #bcbcbc;
        /* title 2 Color (subtitle-color) */
        --title-2-color: #ebebeb;
    }

/* ========== end dark-mode colors ============ */


.sub-title {
    padding-left: 20px; /* Align list items for better readability */
    direction: rtl; /* تأكيد اتجاه النص في القائمة المرتبة */
    text-align: right; /* محاذاة النص إلى اليمين */
}

.switch-button {
  border-radius: 50%;
  border: none;
  outline: none;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-left: 10px;
  border: 0.5px solid var(--brand-color);
}

.btn-light-mode {
  background-color: var(--boxColor);
  color: var(--primaryColor);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;

}

::selection {
  color: var(--bodyColor);
  background-color: var(--brand-color);
}

.title {
    color: var(--primaryColor);
    font-size: 40px;
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
    padding-left: 20px; /* Align list items for better readability */
    text-align: end; /* محاذاة النص إلى اليمين */
}

.title-2 {
  color: var(--title-2-color);
  font-size: 26px;
  font-weight: bold;
  position: relative;
  text-transform: capitalize;
  padding-top:20px;
}

.title-3 {
    color: var(--title-2-color);
    font-size: 20px;
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
}

.title-4 {
    color: var(--title-2-color);
    font-size: 16px;
    position: relative;
    text-transform: capitalize;
}


.pretitle {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  color: var(--brand-color);
}

.unique-text {
  color: var(--brand-color);
  direction:rtl !important;
  text-align:right !important;

}

.unique-text-Bold {
    color: var(--primaryColor);
    direction: rtl !important;
    text-align: right !important;
    font-weight: bold;
}



/* تأثير التوهج للنص الإيجابي في الوضع النهاري */
@keyframes glowing-day2 {
    0% {
        color: var(--brand-color);
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5);
    }

    50% {
        color: var(--primaryColor); /* استخدام لون النص الأساسي للوضع النهاري */
        text-shadow: 0 0 20px rgba(33, 198, 139, 0.8), 0 0 30px rgba(33, 198, 139, 0.8);
    }

    100% {
        color: var(--brand-color);
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5);
    }
}

/* تأثير التوهج للنص الإيجابي في الوضع الليلي */
@keyframes glowing-night2 {
    0% {
        color: var(--brand-color);
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5);
    }

    50% {
        color: #fff;
        text-shadow: 0 0 20px rgba(33, 198, 139, 1), 0 0 30px rgba(33, 198, 139, 1);
    }

    100% {
        color: var(--brand-color);
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5);
    }
}

/* استخدام تأثير توهج مختلف بناءً على الوضع (نهاري أو ليلي) */
body:not(.dark-mode) .unique-text-alert2 {
    color: var(--brand-color);
    font-weight: bold;
    animation: glowing-day2 2s infinite;
}

body.dark-mode .unique-text-alert2 {
    color: var(--brand-color);
    font-weight: bold;
    animation: glowing-night2 2s infinite;
}

.unique-text-alert2 a {
    color: var(--brand-color); /* استخدم هنا نفس لون النص داخل unique-text-alert */
    text-decoration: none; /* لإزالة التسطير الافتراضي */
}

    .unique-text-alert2 a:hover {
        color: var(--brand-color); /* تأكد من أن اللون لا يتغير عند التحويم */
        text-decoration: none; /* لإزالة التسطير عند التحويم أيضًا */
    }
.unique-text-alert a {
    color: var(--forbidden-color); /* استخدم هنا نفس لون النص داخل unique-text-alert */
    text-decoration: none; /* لإزالة التسطير الافتراضي */
}

    .unique-text-alert a:hover {
        color: var(--forbidden-color); /* تأكد من أن اللون لا يتغير عند التحويم */
        text-decoration: none; /* لإزالة التسطير عند التحويم أيضًا */
    }

/* تأثير التوهج للنص الإيجابي في الوضع النهاري */
@keyframes glowing-day {
    0% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

    50% {
        color: var(--primaryColor); /* استخدام لون النص الأساسي للوضع النهاري */
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.8);
    }

    100% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

/* تأثير التوهج للنص الإيجابي في الوضع الليلي */
@keyframes glowing-night {
    0% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }

    50% {
        color: #fff;
        text-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 30px rgba(255, 0, 0, 1);
    }

    100% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

/* استخدام تأثير توهج مختلف بناءً على الوضع (نهاري أو ليلي) */
body:not(.dark-mode) .unique-text-alert {
    color: var(--forbidden-color);
    font-weight: bold;
    animation: glowing-day 2s infinite;
}

body.dark-mode .unique-text-alert {
    color: var(--forbidden-color);
    font-weight: bold;
    animation: glowing-night 2s infinite;
}


.home-2 .heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

body.home-rtl .heading {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: end;
  text-align: end;
}

body.home-rtl .heading > * {
  justify-self: end;
  text-align: start;
  direction:rtl;
  
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.box {
  background-color: var(--boxColor);
  padding: 20px;
  border-radius: var(--border-radius);
  position: relative;
  height: 100%;
  z-index: 1;
  transition: color 300ms ease-in-out;
 
}

.box.box-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: var(--brand-color);
  transition: transform 400ms ease-in-out;
  transform: scaleX(0);
  transform-origin: right;
  color: #f3f3f3;
  border-radius: var(--border-radius);
}



.box.box-hover:hover:before,
.box.box-hover:focus:before {
  transform: scaleX(1);
}

.box.box-hover:hover,
.box.box-hover:focus,
.box.box-hover:hover a i,
.box.box-hover:hover .box-icon i,
.box.box-hover:hover > * {
  color: #f9f9f9;
}

.box.box-hover:hover > p {
  color: #def3de;
}

.home-rtl .box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
 
}

/* start buttons style */
.btn,
.btn-sec {
  border: 1px solid var(--brand-color);
  background: var(--brand-color);
  color: var(--bodyColor);
  font-weight: 800;
  border-radius: 40px;
  padding: 8px 25px;
  font-size: 20px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
  font-weight: bold;
  transition: 0.8s all ease;
  cursor: pointer;
  z-index: 1;
}

.btn-sec {
  background-color: var(--boxColor);
  border: 1px solid var(--brand-color);
  color: var(--primaryColor);
}

.btn-sec:hover {
  color: var(--bodyColor);
}

.btn::before,
.btn-sec::before {
  background: var(--boxColor);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: all 0.6s ease;
  width: 100%;
  height: 0%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-sec::before {
  background: var(--brand-color);
}

.btn:hover::before,
.btn-sec:hover::before {
  height: 380%;
}


.learn-more {
  text-transform: capitalize;
  color: var(--brand-color);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.learn-more .bi {
  font-size: 25px;
}

/* end main button style */

@media (max-width: 768px) {
  .btn {
    padding: 6px 18px;
    font-size: 16px;
  }

  .title {
    font-size: 35px;
  }

  .title-2 {
    font-size: 20px;
  }

  .pretitle {
    font-size: 14px;
  }

  p {
    font-size: 14;
    line-height: 28;
  }
}

p {
  color: var(--secendaryColor);
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

/* ====== start breadcrumbs style========= */

.breadcrumbs {
  background: var(--boxColor);
  min-height: 40px;
  margin-top: 82px;
  color: var(--bodyColor);
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 57px;
  }
}


.breadcrumbs .container {
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;

}




.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  text-transform: uppercase;
  direction:rtl;

}

.breadcrumbs h2 {
  /*color: #eaf0ec;*/

}

.breadcrumbs ol a {
    color: var(--primaryColor);
    transition: 0.3s;
}

.breadcrumbs p {
    color: #b6b6b6;
    font-size: 16px;
    direction: ltr;
    text-align: end;
}

.breadcrumbs ol a:hover {
  color: var(--brand-color);
}

.breadcrumbs ol li + li {
    /*padding-left: 10px;*/
    color: var(--primaryColor);
    
    direction: rtl;
}

    .breadcrumbs ol li + li::before {
        /*display: inline-block;*/
        padding-right: 5px;
        padding-left: 5px; /* Add this line to create space after the slash */
        color: var(--primaryColor);
        content: "/";
    }

/* ====== end breadcrumbs style ========= */

/* ====== Start Privacy Style ====== */

.privacy {
    min-height: 40px;
    margin-top: 82px;
    padding: 20px; /* Add padding for better content spacing */
    border-radius: 8px; /* Slight border radius for smoother edges */
}

@media (max-width: 992px) {
    .privacy {
        margin-top: 57px;
        padding: 15px; /* Adjust padding for smaller screens */
    }
}

.privacy .container {
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin: auto; /* Center the container */
}

.privacy h1 {
    font-size: 2em; /* Adjust font size for main title */
    margin-bottom: 10px;
}

.privacy h2 {
    font-size: 1.5em; /* Slightly smaller than the main title */
    margin-top: 30px;
    margin-bottom: 10px;
}

.privacy p {
    font-size: 16px;
    line-height: 1.6; /* Improved line height for readability */
    direction: rtl; /* تحديد اتجاه النص من اليمين إلى اليسار */
    text-align: right; /* محاذاة النص إلى اليمين */
    margin-bottom: 15px; /* Add margin to separate paragraphs */
}

.privacy ol {
    padding-left: 20px; /* Align list items for better readability */
    direction: rtl; /* تأكيد اتجاه النص في القائمة المرتبة */
    text-align: right; /* محاذاة النص إلى اليمين */
}




    .privacy ol a {
        color: #f8f6f4;
        transition: color 0.3s;
    }

        .privacy ol a:hover {
            color: #fff; /* Lighter color on hover for better contrast */
        }

    .privacy ol li + li {
        padding-left: 10px;
        color: #f9f9f9;
    }

        .privacy ol li + li::before {
            display: inline-block;
            padding-right: 10px;
            padding-left: 10px;
            color: #f8f6f4;
            content: "/";
        }

.privacy ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Align list items with the rest of the text */
    direction: rtl; /* تحديد اتجاه النص من اليمين إلى اليسار */
    text-align: right; /* محاذاة النص إلى اليمين */
}

    .privacy ul li {
        margin-bottom: 10px; /* Add space between list items */
        padding-right: 20px; /* Adjust padding to make space for the dash */
        position: relative;
    }

        .privacy ul li::before {
            content: "–"; /* Use a dash instead of a bullet for list items */
            position: absolute;
            right: 0; /* Position the dash on the right to appear at the beginning of the line */
            color: #f8f6f4;
        }


/* ====== End Privacy Style ====== */

/* end global classes */

/* ==== start  preloader style  ===== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: var(--bodyColor);
  z-index: 9999;
}

svg {
  width: 300px;
  visibility: hidden;
}

/* ==== end  preloader style  ===== */

/* ======== start scroll-to-top button style  =========== */

#progress {
  position: fixed;
  bottom: 20px;
  right: 10px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 800;
}

#progress-value {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  border-radius: 50%;
  display: grid;
  background-color: var(--bodyColor);
  place-items: center;
  font-size: 35px;
  color: var(--brand-color);
}

/* ======== end scroll-to-top button style  =========== */

/*================== start navbar section ==================*/
.navbar {
  z-index: 900;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
}


@media (max-width: 992px) {
    .navbar-collapse {
        direction: rtl;
    }

    .navbar-nav {
        text-align: right;
    }
}


@media (max-width: 990px) {
  .navbar {
    background-color: var(--boxColor);
  }

  .home-rtl .navbar #navbar {
    display: flex;
    flex-direction: column !important;
  }
}

.navbar #menu {
  color: var(--title-2-color);
  font-size: 30px;
}

.navbar .logo {
    width: 5rem;
    max-width: 60px;
    max-height: 60px;
}

.navbar .logo-container {
    position: relative;
    display: inline-block;
}



.navbar.sticky {
  background-color: var(--boxColor);
  transition: 1s;
}

.navbar ul li a:focus {
  background-color: transparent;
}

.navbar ul li a {
  font-weight: 600;
  text-transform: capitalize;
  color: var(--secendaryColor) !important;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: var(--brand-color) !important;
}

.navbar .dropdown-menu {
  background-color: var(--boxColor) !important;
}

.navbar .dropdown-menu .dropdown-item {
  color: var(--title-2-color);
  background-color: var(--boxColor);
}

/*================== End navbar section ==================*/

/*================== start hero section ==================*/
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
}

.error-message {
    color: var(--forbidden-color);
    font-size: 0.8em;
    margin-top: 4px;
    margin-bottom: 4px;
    display: none;
}

.home-3 .hero {
    min-height: 150vh !important;
}

@media (max-width: 990px) {
    .home-1 .hero,
    .home-3 .hero,
    .home-rtl {
        margin-top: 80px;
    }
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#content {
    position: relative;
    z-index: 1;
}

.hero .hero-text .title {
    line-height: 65px;
    font-size: 52px;
}

.hero .hero-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background-color: var(--boxColor);
}

    .hero .hero-icons a:hover {
        background-color: var(--brand-color);
    }

        .hero .hero-icons a:hover > i {
            color: var(--boxColor);
        }

.hero .hero-icons i {
    font-size: 20px;
    color: var(--secendaryColor);
    cursor: pointer;
}

@media (max-width: 990px) {
    .hero .hero-text .title {
        line-height: 65px;
        font-size: 44px;
    }
}

/* home 3 */
.home-3 .hero .hero-text .title {
    font-size: 50px;
    line-height: 65px;
}

.home-3 .hero .hero-text .icons .icon {
    background-color: var(--brand-color);
    color: var(--body-color);
    border-radius: 50%;
    margin-inline: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-3 .hero .hero-text .icons i {
    font-size: 20px;
}

.home-3 .hero .hero-images .hero-img {
    height: 500px;
}

    .home-3 .hero .hero-images .hero-img img {
        border-radius: var(--border-radius);
        object-fit: cover;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

.home-3 .hero .hero-numbers .box-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .home-3 .hero .hero-numbers .box-number h2 {
        font-size: 55px;
        color: var(--brand-color);
        font-weight: bold;
        text-align: center;
    }

    .home-3 .hero .hero-numbers .box-number h6 {
        color: var(--secendaryColor);
        font-size: 18px;
        font-weight: 400;
    }


.btn-main:hover {
    background-color: #19a56b;
}

.hero-img {
    border-radius: 20px; /* تنعيم زوايا الصورة */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* إضافة ظل للصورة */
    transition: transform 0.4s ease;
}

    .hero-img:hover {
        transform: scale(1.05); /* تكبير الصورة قليلاً عند المرور فوقها */
    }

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .unique-text {
        color: var(--brand-color);
        /*font-size: 1.5rem;*/
    }

    .btn-main {
        padding: 10px 20px;
    }
}

/*================== end hero section =====================*/
/*============== Start About section ==========*/
.about .box .title-2 {
  text-transform: capitalize;
  font-size: 18px;
}

.about-title {
    color: var(--primaryColor);
    font-size: 40px;
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
    padding-left: -20px; /* Align list items for better readability */
    text-align: end; /* محاذاة النص إلى اليمين */
}

.about .box {
    display: flex;
    flex-direction: row-reverse; /* الأيقونة على اليمين والنص على اليسار */
    align-items: center !important; /* توسيط العناصر عموديًا */
    padding: 10px;
    direction: rtl;
    text-align: right;
}

    .about .box i {
        font-size: 35px;
        color: var(--brand-color);
    }

.about .title-2 {
    text-align: right;
    margin-right: 0; /* إزالة المسافات غير الضرورية على اليمين */
    font-size: 18px;
    margin-left: 10px; /* يمكن تعديل المسافة حسب الحاجة */
}



.about .bars {
  margin: 0;
  padding: 0;
 }

@keyframes load {
  from {
    width: 0%;
  }
}

@-webkit-keyframes load {
  from {
    width: 0%;
  }
}

@-o-keyframes load {
  from {
    width: 0%;
  }
}

@-moz-keyframes load {
  from {
    width: 0%;
  }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--boxColor);
  border-radius: 5px;
  overflow: hidden;
  direction:rtl;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--brand-color);
  border-radius: 5px;
  transition: width 0.2s ease-in-out;
  animation: load 3s 0s;
  -webkit-animation: load 3s 0s;
  -moz-animation: load 3s 0s;
  -o-animation: load 3s 0s;
}

.progress-bar-fill.progress-bar-fill-1 {
  width: 95%;
}

.progress-bar-fill.progress-bar-fill-2 {
  width: 80%;
}

.progress-bar-fill.progress-bar-fill-3 {
  width: 85%;
}

.home-rtl .about .box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: end;
}

/*============== End About section ==========*/

/*============== Start Services section ==========*/
.box-service .box-icon i {
  color: var(--brand-color);
  font-size: 4rem;
}

.home-2 .box-service {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-rtl .box-service {
  text-align: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

body.home-rtl .box-service > * {
    justify-self: end;
    text-align: start;
    direction: rtl;
}



.services .box-service a {
  display: flex;
  align-items: baseline;
}

.services .box-service a i {
  font-size: 18px;
  margin: 0 5px;
}

/*============== Start single-service section ==========*/
.single-service {
  min-height: 100vh;
  margin-top: 6rem;
}

.service-side {
  height: fit-content;
}

.service-side .social .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-color);
}

.service-side .social .icon i {
  font-size: 18px;
  color: var(--bodyColor);
}

.single-service .service-box {
  height: fit-content;
}

.single-service .service-box h3 {
  font-size: 16px;
}

.single-service .service-box p {
  line-height: 26px;
  font-size: 14px;
}

.single-service .service-box i {
  font-size: 35px;
  color: var(--brand-color);
}

/*============== End single-service section ==========*/
/*============== End Services section ==========*/

/*============== Start Why us section ==========*/
.why-choose-us .box h1 {
  font-size: 50px;
  color: var(--brand-color);
  font-weight: bold;
}

/*============== End Why us section ==========*/

/*============== Start portfolio section ==========*/

.portfolio-btn {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--secendaryColor);
  border: none;
  background-color: var(--bodyColor);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
}

.portfolio ul {
  margin: 0 !important;
  padding: 1rem 0 !important;
}

@media screen and (max-width: 768px) {
  .portfolio ul li a {
    font-size: 17px;
  }
}

.portfolio .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.5s;
}

.portfolio .img-overlay .content {
  padding: 1.5rem;
  width: 100%;
  color: #c9e8d2;
}

.portfolio .img-overlay .content h3,
.portfolio .img-overlay .content h6 {
  color: #f9f9f9;
}

.portfolio .img-overlay > * {
  transform: translateY(40px);
  transition: transform 25ms;
}

.portfolio .img-overlay:hover > * {
  transform: translateY(0);
}

.portfolio .img-overlay:hover {
  opacity: 1;
}

.portfolio .img-overlay h3 {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

.portfolio .img-overlay h4 {
  padding: 7px 10px;
  color: var(--brand-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c4c0e6;
  cursor: pointer;
}

.portfolio .img-overlay .tags span {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #21c68b;
  margin: 0 0.5rem;
}

.portfolio-btn .active,
.portfolio-btn:hover {
  color: var(--brand-color) !important;
}

.portfolio-item {
  transition: ease-in-out 50ms;
  position: relative;
}

.client-side {
  height: fit-content;
}

.client-side .box .icon {
  flex: 0.25;
}

.client-side .box .icon i {
  font-size: 45px;
  color: var(--brand-color);
}

.client-side .box .text {
  flex: 0.75;
}

.client-side .box .text h3 {
  color: var(--primaryColor);
  margin: 0;
  font-size: 18px;
}

.client-side .social .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-color);
}

.client-side .social .icon i {
  font-size: 18px;
  color: var(--bodyColor);
}

/*============== End portfolio section ==========*/

/*============== start clients section ==========*/

.clients {
  background-color: var(--boxColor);
}

.clients img {
  filter: grayscale(100%);
}

.clients img:hover {
  filter: grayscale(0);
}

/*============== End clients section ==========*/

/*============== Start numbers section ==========*/

.counter-up {
    padding: 60px 0;
    background-color: var(--boxColor);
    color: var(--primaryColor);
    text-align: center;
}

.home-3 .counter-up {
  background-color: transparent;
}

.counter-up .counter {
  font-size: 50px;
  font-weight: bold;
  color: var(--brand-color);
}

.counter-up .title-2 {
    color: var(--primaryColor);
}

.counter-up i {
  font-size: 50px;
  color: var(--brand-color);
}

/*============== End numbers section ==========*/

/*============== Start pricing section ==========*/

.pricing .row .box {
  text-align: center;
  align-items: center;
}

#table3 {
  background-color: var(--brand-color);
  color: #f3f3f3;
}

#table3 > .price {
  color: #f3f3f3;
}

#table3 > h3,
#table3 > ul li,
#table3 > i {
  color: #d8d8d8;
}

.pricing .row .box ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

#table3 .btn {
  background-color: var(--bodyColor);
  color: var(--brand-color);
}

#table3 ul li .bi-check2-circle {
  color: var(--dark-brand-color);
}

.pricing .row .box .price {
  font-size: 55px;
  font-weight: bold;
  color: var(--brand-color);
}

.pricing .row .box i {
  font-size: 55px;
  color: var(--secendaryColor);
}

.pricing .box ul li .bi {
  font-size: 18px;
  margin-right: 5px;
}

.pricing .box ul li .bi-check2-circle {
  color: var(--brand-color);
}

.pricing .box ul li .bi-x-circle {
  color: #864141;
}

.pricing ul li {
  color: var(--secendaryColor);
  font-size: 20px;
  font-weight: 400;
  text-align: end;
}

.pricing h3 {
  color: var(--secendaryColor);
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
}

.pricing .box .title-2 {
  font-size: 25px;
  text-transform: capitalize;
  font-weight: bold;

}

/*============== End pricing section ==========*/

.testimonials .box {
    display: flex;
    justify-content: space-between;
    text-align: start;
    direction: rtl;
    min-height: 250px; /* يحدد الحد الأدنى لارتفاع الصندوق */
    max-height: 250px; /* يحدد الحد الأدنى لارتفاع الصندوق */
    flex-grow: 1; /* يسمح للصندوق بالنمو إذا كان النص كبيرًا */
}

.testimonials .item {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%; /* يجعل الصناديق تتمدد بشكل متساوٍ */
}

.testimonials .box h1 {
    font-size: 16px; /* تصغير حجم الخط */
    margin: 0;
    padding: 0;
    text-align: right; /* محاذاة النص لليمين */
}

.testimonials .box img {
    order: 2;
    max-width: 100px; /* تحديد حجم أقصى للصورة للحفاظ على الاتساق */
    height: auto;
}

.testimonials .box .flex-column {
    order: 1;
    text-align: right; /* يضمن محاذاة النص لليمين */
    flex-grow: 1; /* يضمن أن النص يمتد لملء المساحة المتاحة */
}


.testimonials-description {
    font-size: 18px;
    color: var(--secendaryColor);
    margin-bottom: 10px;
    max-height: 100px; /* تحديد أقصى ارتفاع */
    text-align: right; /* محاذاة النص إلى اليمين */
    direction: rtl;
}

/*============== start team section ==========*/
.team .box {
    padding: 0;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team .box .team-img {
  width: 100%;
}

.team .box .social-icons i {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  color: var(--secendaryColor);
}

.team .box .social-icons i:hover {
  color: var(--brand-color);
}

/*============== end team section ==========*/

/*============== Start blog section ==========*/

.blog h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--secendaryColor);
}

.home-rtl .blog .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: end;
}

.blog .card i {
  font-size: 17px;
  color: var(--brand-color);
}

.blog .title-2 {
  font-size: 25px;
  line-height: 40px;
}

.blog .card {
  padding: 0 !important;
}

.blog .card img {
  border-radius: var(--border-radius);
}

.blog .card a {
  display: flex;
  align-items: center;
  flex-direction: row;
  color: var(--brand-color);
}

.blog .card a i {
  font-size: 18px;
  margin-inline: 5px;
}

.blog-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.blog-nav a {
  margin-inline: 0.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--boxColor);
  color: var(--title-2-color);
  border-radius: 50%;
}

.blog-nav a.active,
.blog-nav a:hover {
  background-color: var(--brand-color);
}

/* =========== start blog single page ============ */

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: var(--title-2-color);
  transition: 0.3s;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: var(--brand-color);
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li + li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: var(--primaryColor);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: var(--brand-color);
  display: inline;
}

.blog .entry .entry-footer a {
  color: var(--secendaryColor);
  transition: 0.3s;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li + li::before {
  padding-right: 6px;
  color: var(--secendaryColor);
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  background-color: var(--boxColor);
  border-radius: var(--border-radius);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--title-2-color);
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(1, 41, 112, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  color: var(--secendaryColor);
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--title-2-color);
  transition: 0.3s;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--brand-color);
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: var(--brand-color);
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 4rem;
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: var(--border-radius);
  outline: none;
  border: none;
  color: var(--title-2-color);
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  background-color: var(--boxColor);
  border: none;
  outline: none;
  box-shadow: none;
}

.blog .blog-comments .reply-form textarea {
  box-shadow: none;
  outline: none;
  border: none;
  color: var(--title-2-color);
}

.blog .blog-comments .reply-form textarea:focus {
  background-color: var(--boxColor);
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 1rem;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  width: fit-content;
  background-color: var(--boxColor);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--brand-color);
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form {
  background-color: var(--boxColor);
}

.blog .sidebar .search-form form {
  background: var(--boxColor);
  border: 1px solid var(--boxColor);
  width: 100%;
  height: 100%;
  position: relative;
}

.blog .sidebar .search-form form input[type="text"] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form input[type="text"]:focus {
  border: var(--boxColor);
  outline: none;
  box-shadow: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--brand-color);
  color: var(--bodyColor);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
  color: var(--bodyColor);
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li + li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--title-2-color);
  transition: 0.3s;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: var(--secendaryColor);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item + .post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  height: 100%;
  float: left;
  border-radius: var(--border-radius);
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--primaryColor);
  transition: 0.3s;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-size: 14px;
  color: var(--secendaryColor);
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: var(--brand-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid var(--secendaryColor);
  display: inline-block;
  border-radius: var(--border-radius);
  transition: 0.3s;
}

/* =========== start blog single page ============ */

/*============== End blog section ==========*/

/*============== start FAQ section ==========*/
.faq .box h4 {
  color: var(--title-2-color);
  font-size: 20px;
  font-weight: 600;
}

.faq .box i {
  font-size: 25px;
  color: var(--brand-color);
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

/*============== End FAQ section ==========*/



/*============== Start contact section ==========*/
.contact form input,
.contact form textarea {
    width: 100%;
    padding: 15px;
    outline: none;
    border: none;
    box-shadow: none;
    background-color: var(--boxColor);
    border-radius: var(--border-radius);
    color: var(--title-2-color);
}

    .contact form input:focus,
    .contact form textarea:focus {
        background-color: var(--boxColor);
        box-shadow: none;
    }

.contact .info i {
    font-size: 30px;
    color: var(--brand-color);
}

.contact .info h5 {
    color: var(--secendaryColor);
    font-size: 20px;
    font-weight: 600;
}

.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 5rem;
}

.toast-success {
    background-color: #0d9700 !important;
    opacity: 1 !important;
}

.toast-error {
    background-color: #8b0500 !important;
    opacity: 1 !important;
}

.toast {
    border-radius: var(--border-radius) !important;
    color: #f9f9f9;
    font-family: "Outfit", sans-serif;
    box-shadow: none !important;
}

/*============== End contact section ==========*/




/* ============== Start New Student section ========== */

/* تحسين القسم بألوان المشروع وتنسيق النص */
.new-student {
    background-color: var(--boxColor); /* استخدام لون خلفية متناسق */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
    direction: rtl;
    text-align: right;
    margin-top: 2rem;
}

    /* تحسين حقول الإدخال لجعلها متناسقة */
    .new-student form input,
    .new-student form textarea,
    .new-student form select {
        width: 100%;
        padding: 15px;
        border: 2px solid var(--brand-color); /* استخدام ألوان متناسقة للحواف */
        background-color: var(--boxColor);
        border-radius: var(--border-radius);
        color: var(--primaryColor);
        font-family: "Tajawal", sans-serif;
        transition: border-color 0.3s ease, background-color 0.3s ease;
        margin-bottom: 10px;
    }

        .new-student form input:focus,
        .new-student form textarea:focus,
        .new-student form select:focus {
            background-color: var(--bodyColor); /* تغيير لون الخلفية عند التركيز */
            border-color: var(--brand-color); /* تغيير لون الحواف عند التركيز */
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
            outline: none;
        }

    .new-student .container .label,
    label {
        text-align: right;
        font-weight: 500; /* تحسين سمك الخط */
        color: var(--primaryColor); /* لون غامق لنصوص التسميات */
    }

      
    /* تحسين قوائم التحديد (select) */
    .new-student form select.custom-select-direction {
        padding: 10px;
        background-color: var(--boxColor);
        border: 2px solid var(--brand-color);
        color: var(--primaryColor);
        border-radius: var(--border-radius);
        text-align: right; /* محاذاة النص لليمين */
        direction: rtl;
    }

/* رسائل التنبيه */
.new-student .toast-success {
        background-color: #28a745 !important;
        color: #fff;
        border-radius: var(--border-radius);
    }

.new-student.toast-error {
        background-color: #dc3545 !important;
        color: #fff;
        border-radius: var(--border-radius);
    }

/* تنسيق العناوين لجعلها متناسقة مع بقية الموقع */
.new-student h2.title-2 {
        color: var(--primaryColor);
        font-size: 26px;
        font-weight: bold;
        margin-bottom: 20px;
    }

/* تحسين عرض النموذج */
.new-student .table-responsive {
        background-color: var(--bodyColor); /* تحسين الخلفية لتتناسب مع بقية المشروع */
        padding: 20px;
        border-radius: var(--border-radius);
    }

/* تحسين التنبيه في حالة عدم تعبئة الحقول */
.new-student .swal2-popup {
        font-size: 16px !important;
        border-radius: var(--border-radius);
    }
/* ============== End new Student section ========== */





/*============== Start Footer section ==========*/
.footer {
    /*background-color: #1c1d1c;*/
    background-color: var(--boxColor);
}

.footer .box {
  background-color: var(--border-radius);
}

.footer .box p {
  color: var(--secendaryColor);
}

    .footer .box .logo img {
        width: 5rem;
        max-width: 60px;
        max-height: 60px;
    }

.footer .box .icon {
  color: #fff;
  background-color: var(--brand-color);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

    .footer .box h4 {
        /*color: #b6b6b6;*/
        color: var(--primaryColor);
    }

    .footer .box p {
        /*color: #a2a1a1;*/
        color: var(--primaryColor);
    }

    .footer h4 {
        /*color: #b6b6b6;*/
        color: var(--secendaryColor);
        font-size: 18px;
        font-weight: 600;
    }

.footer ul {
  margin: 0;
  padding: 0;
}

    .footer ul li {
        /*color: #ddd;*/
        color: var(--brand-color);
        cursor: pointer;
    }

        .footer ul li a {
            font-size: 14px;
            font-weight: 400;
            text-transform: capitalize;
            /*color: #ddd;*/
            color: var(--primaryColor);
        }

.footer ul li i {
  font-size: 12px;
}

    .footer .copyrights {
        display: flex;
        flex-direction: column; /* Align vertically on small screens */
        align-items: start; /* Center the content */
        text-align: start;
    }

    .footer .copyrights a {
        color: var(--brand-color);
        font-weight:600;
        font-size:1rem;
    }

        .footer .copyrights p {
            color: var(--primaryColor);
            text-align: start;
            direction: rtl;
            font-size: 1rem;
        }

.footer .copyrights .credits {
    font-size: 16px; /* You can keep this */
    letter-spacing: 0.5px; /* Adjust as needed */
    white-space: normal; /* Allow wrapping */
    align-items: start; /* Center the content */
    text-align: start;
}


@media (min-width: 768px) {
    .footer .copyrights {
        flex-direction: row; /* Align horizontally on larger screens */
        justify-content: space-between;
    }
}

/*
.users-online {
    font-size: 1.1em;
    font-weight: bold;
}*/


    .footer hr {
        /*color: #8b0500;*/
        color: var(--secendaryColor);
    }



/* تحسين عنصر "المتواجدين حالياً" */
/* تحسين عنصر "المتواجدين حالياً" */
.users-online {
    font-size: 1em; /* تقليل حجم الخط */
    font-weight: normal; /* تقليل سمك الخط */
    color: var(--primaryColor);
    /*padding: 5px 10px;*/ /* تقليل التباعد الداخلي */
    border-radius: var(--border-radius);
    display: flex; /* استخدام flex لسهولة المحاذاة */
    align-items: center;
    gap: 6px; /* تقليل المسافة بين الأيقونة والنص */
    position: relative;
}

    .users-online i {
        font-size: 1.2em; /* تقليل حجم الأيقونة */
        color: var(--brand-color);
        animation: none; /* إزالة تأثير النبض */
    }

    .users-online span {
        color: var(--primaryColor);
        animation: none; /* إزالة تأثير النبض */
        font-weight: bold; 
    }
    
    .users-online a#usersOnline {
        color: var(--primaryColor);
        text-decoration: underline;
    }


    /* إزالة تأثيرات التحريك والظل */
    .users-online::after {
        content: none;
    }

    /* إذا كنت ترغب في تأثير بسيط عند التمرير */
    .users-online:hover {
        color: var(--brand-color);
    }



@keyframes pulse {
    0% {
        transform: scale(1);
        color: var(--primaryColor);
    }

    50% {
        transform: scale(1.1);
        color: var(--brand-color);
    }

    100% {
        transform: scale(1);
        color: var(--primaryColor);
    }
}













/*============== End Footer section ==========*/

/* ================= start 404 page ===================== */
.fzf {
  width: 100%;
  overflow: hidden;
  height: 100%;
  display: grid;
  place-items: center;
  place-content: center;
}

.fzf .content {
  margin-top: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fzf .content img {
  width: 70%;
}

.fzf .content h1 {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: bold;
  margin-block: 1rem;
}

/* ================= end 404 page ===================== */

/* ================= start login page + register page  ===================== */

.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth input {
  border: 0;
  outline: 0;
  margin-block: 0.5rem;
  text-align: end;
  direction:ltr;

}
    .auth p {
        text-align: start;

    }

    .auth  .unique-text {
        font-weight: 600;
    }


    .auth h1 {
        text-align: start;
    }


    .auth .container {
        direction: rtl;
    }

.auth-image {
    border-radius: var(--border-radius);
    object-fit: cover;
    overflow: hidden;
    
}

.auth-btn-back {
    padding: 8px 25px;
    display: block;
    font-weight: 800;
    border-radius: 40px;
    font-size: 20px;
    outline: none;
    border: none;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    padding: 10px 0;
    color: #ffffff;   
    background-color: #403e57;  
    border-color: #3a3768;   
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

        .auth-btn-back:hover {
            background-color: #2f2d5a;   
            border-color: #2f2d5a;  
        }



@media (max-width: 768px) {
    .auth-image {
        max-width: 500px; /* عرض الصورة على الأجهزة المحمولة */
        max-height: 500px; /* ارتفاع الصورة على الأجهزة المحمولة */
    }

    .auth-btn-back {
        padding: 6px 18px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .auth-image {
        max-width: 500px; /* عرض الصورة على الهواتف */
        max-height: 500px; /* ارتفاع الصورة على الهواتف */

    }

    .auth-btn-back {
        padding: 6px 18px;
        font-size: 16px;
    }

}


    /* ================= end login page + register page  ===================== */


    /* =========== Start Videos Section ============ */
    .videos {
        background-color: var(--bodyColor);
        padding: 60px 0;
        text-align: center;
    }

        .videos .container {
            max-width: 1200px;
            margin: auto;
            padding: 0 20px;
        }

        .videos .title {
            color: var(--primaryColor);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .videos .subtitle {
            color: var(--secendaryColor);
            font-size: 20px;
            margin-bottom: 40px;
            text-align: end;
        }

    .video-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .video-item {
        padding: 0;
        padding-bottom: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--boxColor);
        border-radius: var(--border-radius);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        width: 100%;
        max-width: 320px;
        /* تحديد ارتفاع ثابت */
        height: 280px; /* يمكنك ضبط هذا القيم حسب الحاجة */
    }

        .video-item:hover {
            transform: translateY(-10px);
        }

    .video-content {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
        /* استخدام aspect-ratio للحفاظ على النسبة */
        aspect-ratio: 16/9; /* النسبة القياسية للفيديوهات */
        object-fit: cover; /* لضمان تناسب الفيديو داخل العنصر */
    }

    .video-title {
        color: var(--title-2-color);
        font-size: 18px;
        font-weight: bold;
        margin-top: 10px;
        text-align: center;
    }

    .video-subtitle {
        color: var(--secendaryColor);
        font-size: 14px;
        text-align: center;
    }

    @media (max-width: 768px) {
        .videos .title {
            font-size: 28px;
        }

        .videos .subtitle {
            font-size: 18px;
        }

        .video-grid {
            gap: 10px;
        }

        .video-item {
            max-width: 100%;
            height: auto; /* السماح للارتفاع بالتكيف مع العرض */
        }
    }
    /* =========== End Videos Section ============ */


    /* Story Section Styles */
    #story {
        background-color: var(--bodyColor);
        padding: 60px 0;
        direction: rtl; /* Right-to-left text alignment for Arabic content */
        text-align: right; /* Align text to the right */
        margin-bottom: 100px; /* إضافة مسافة إضافية في الأسفل */
    }

        #story .heading {
            text-align: right; /* Ensure heading is right-aligned */
            margin-bottom: 30px;
            direction: ltr;
        }

        #story .title {
            color: var(--primaryColor);
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 20px;
            text-align: right; /* Right-align title */
        }

        #story .subtitle {
            color: var(--secendaryColor);
            font-size: 18px;
            margin-bottom: 40px;
            text-align: right; /* Right-align subtitle */
        }

        #story .story-content {
            text-align: right;
            padding-right: 20px;
            margin-top: -15px; /* تغيير هذه القيمة حسب الحاجة */
        }

        #story .container {
            max-width: 1200px; /* تحديد العرض الأقصى للكونتينر داخل القسم #story */
            padding: 0 15px; /* إضافة مسافة من الحواف للكونتينر داخل القسم #story */
        }

        #story .row {
            display: flex;
            align-items: flex-start; /* لمحاذاة المحتويات من الأعلى */
        }

        #story .col-md-6 {
            display: flex;
            flex-direction: column;
            justify-content: flex-start; /* لمحاذاة المحتويات في العمود من الأعلى */
        }

        #story .container {
            font-size: 90px;
            font-weight: bold;
            color: var(--title-2-color);
            margin-bottom: 15px;
            text-align: right; /* Right-align story title */
        }


        #story .story-content h1 {
            font-size: 28px;
            font-weight: bold;
            color: var(--title-2-color);
            margin-bottom: 15px;
            text-align: right; /* Right-align story title */
        }

        #story .story-content p {
            color: var(--secendaryColor);
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 20px;
            text-align: right; /* Right-align paragraphs */
        }

        #story .story-image {
            width: 100%;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        #story .row > .col-1 img {
            width: 20px;
            height: 20px;
            display: block; /* Ensures it's displayed correctly */
            float: right; /* Align the icon to the right */
        }

        #story .row > .col-11 h3 {
            font-size: 16px;
            color: var(--title-2-color);
            font-weight: bold;
            margin-bottom: 5px;
            text-align: right; /* Right-align benefit titles */
        }

        #story .row > .col-11 p {
            font-size: 14px;
            color: var(--secendaryColor);
            line-height: 1.6;
            text-align: right; /* Right-align benefit descriptions */
        }

        #story h1 {
            font-size: 84px;
            color: var(--secendaryColor);
            line-height: 1.6;
            text-align: right; /* Right-align benefit descriptions */
        }

    /* Responsive adjustments for smaller screens */
    @media (max-width: 768px) {
        #story .title {
            font-size: 28px;
        }

        #story .subtitle {
            font-size: 16px;
        }

        #story .story-content h1 {
            font-size: 24px;
        }

        #story .story-content p {
            font-size: 14px;
        }

        #story .story-image {
            margin-bottom: 20px;
        }
    }



.news-section {
    background-color: var(--bodyColor);
    padding: 60px 0;
}

.news-box {
    background-color: var(--boxColor);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 20px; /* إضافة مسافة تحت العنوان */

}

body.home-rtl .news-box > * {
    justify-self: end;
    text-align: start;
    direction: rtl;
}


    .news-box:hover {
        transform: translateY(-10px);
    }

.news-img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    max-width: 500px;
    max-height: 200px;
    min-width: 200px;
    min-height: 200px;
}

.news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--title-2-color);
    margin-bottom: 20px;
    text-align: right; /* محاذاة النص إلى اليمين */
}

.news-description {
    font-size: 16px;
    color: var(--secendaryColor);
    margin-bottom: 10px;
    max-height: 100px; /* تحديد أقصى ارتفاع */
    overflow-y: auto; /* السماح بالتمرير العمودي */
    text-align: right; /* محاذاة النص إلى اليمين */
    direction:rtl;
}


.news-date {
    font-size: 16px;
    font-weight:700;
    color: var(--brand-color);
    text-align: right; /* محاذاة النص إلى اليمين */
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6.col-lg-4 {
    display: flex;
    flex-direction: column;
}

.news-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-description {
    flex-grow: 1; /* يجعل الوصف يأخذ المساحة المتاحة */
}




.card {
    background-color: var(--boxColor);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-10px);
    }

.pretitle {
    font-size: 18px;
    color: var(--brand-color);
    text-transform: capitalize;
    direction:rtl;
    text-align:start;

}

/* تعديل محاذاة الصور */
.icon-img {
    max-height: 80px;
    max-width: 80px;
    height: 80px;
    width: 80px;
    display: block; /* جعل الصورة عنصر كتلة */
    margin: 0 auto; /* محاذاة الصورة في المنتصف */
}
.card-coin {
    background-color: transparent !important; /* تعيين لون الخلفية إلى الأبيض */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important; /* إضافة ظل خفيف */
    border-radius: 10px !important; /* إضافة حواف مستديرة */
    padding: 15px !important; /* تعديل التباعد الداخلي */
    border: 1px solid #ddd !important; /* إضافة إطار خفيف لتحديد الحواف */
    height: auto !important; /* جعل الارتفاع يعتمد على المحتوى */
    min-height: 150px !important; /* تعيين حد أدنى للارتفاع */
    max-height: 220px !important; /* تعيين حد أقصى للارتفاع إذا رغبت */
}

    /* تعديل تخطيط عناصر الفليكس */
 .card-coin .card-body {
        display: flex;
        flex-direction: column;
        align-items: center; /* جعل المحتويات تصطف في المنتصف */
        justify-content: center; /* توسيط المحتويات عمودياً */
    }

/* تعديل اتجاه الرو في حالة الفلكس */
.row {
    flex-direction: row; /* إلغاء عكس الاتجاه لجعل العناصر تبدأ من اليسار */
    justify-content: center; /* توسيط جميع العناصر في الصف */
}


/*================== start Table section ==================*/

.home-rtl .table-section {
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 200px;
    direction: rtl;

    min-height: 40vh;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;

}

/* تصميم h4 الخاص بالمجموعة */
.table-section h4 {
    font-size: 22px; /* حجم النص */
    color: var(--brand-color) !important; /* لون النص الأساسي */
    font-weight: bold; /* جعل النص عريضاً */
    text-align: start !important; /* محاذاة النص إلى اليمين لتتوافق مع الاتجاه RTL */
    margin-bottom: 15px; /* إضافة مسافة أسفل العنوان */
    padding-top: 20px; /* إضافة مسافة تحت العنوان */
    padding-bottom: 5px; /* إضافة مسافة تحت العنوان */
    letter-spacing: 1px; /* إضافة تباعد بين الأحرف */
    text-transform: uppercase; /* تحويل النص إلى أحرف كبيرة */
}


/*.table-bordered {
    border: 2px solid var(--brand-color) !important;*/ /* Keep the top border consistent */
/*}*/

.table tbody td.notes-column {
    max-width: 300px; /* يمكنك تعديل العرض بحسب احتياجاتك */
    white-space: nowrap; /* منع التفاف النص */
    overflow: hidden; /* إخفاء النص الزائد */
    text-overflow: ellipsis; /* إضافة ثلاث نقاط عند تجاوز النص الحد المسموح */
}


.table tbody td .btn-danger {
    padding: 5px 10px; /* تقليل الحشو لجعل الزر أصغر */
    font-size: 14px; /* تقليل حجم النص داخل الزر */
    background-color: #dc3545; /* لون الزر أحمر */
    color: white; /* لون النص أبيض */
    border-radius: 5px; /* زوايا الزر مدورة */
    border: none; /* إزالة الإطار الافتراضي */
    height: auto; /* لجعل ارتفاع الزر يتناسب مع حجم النص */
}

    .table tbody td .btn-danger:hover {
        background-color: #c82333; /* تغيير لون الزر عند التحويم */
    }

.table thead {
    background-color: var(--brand-color);
    color: var(--bodyColor);
}

/* جعل خلفية جميع الصفوف شفافة */
.table tbody tr {
    background-color: var(--bodyColor);
}

.table tbody tr {
    color: var(--dark-brand-color); /* استخدام نفس لون النص الأساسي */
    background-color: var(--bodyColor); /* نفس لون خلفية رأس الجدول */
}

    .table tbody tr:hover {
        background-color: var(--boxColor);
    }

.table-section .container {
    background-color: var(--bodyColor);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: end;
}

.table-section h4 {
    font-size: 20px; /* تكبير الخط */
    text-align: right; /* محاذاة لليمين */
    font-weight: bold; /* جعل النص غامقًا إذا رغبت بذلك */
    margin-bottom: 10px; /* إضافة مسافة أسفل العنوان */
    color: var(--primaryColor);
}

.table tbody td {
    color: var(--primaryColor); /* لون النص الأساسي في الصفوف */
}

.table .action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* زيادة المسافة بين الأزرار */
}

    .table .action-buttons i {
        font-size: 22px; /* تكبير حجم الأيقونات قليلاً */
        cursor: pointer;
        transition: color 0.3s ease; /* تأثير الانتقال عند التحويم */
    }

        .table .action-buttons i:hover {
            color: var(--secondaryColor); /* تغيير اللون عند التحويم */
        }

.table tbody td .delete-icon {
    color: var(--forbidden-color); /* لون زر السحب */
    font-size: 22px; /* حجم الأيقونة */
    cursor: pointer;
    transition: color 0.3s ease; /* تأثير عند التحويم */
}

    .table tbody td .delete-icon:hover {
        color: var(--secondaryColor); /* تغيير اللون عند التحويم */
    }

/* تصميم الأيقونة داخل الجدول بحيث تأخذ اللون الأساسي للمشروع */
.table tbody td i {
    color: var(--brand-color); /* لون الأيقونة الأساسي */
    font-size: 22px; /* تكبير حجم الأيقونات */
    cursor: pointer; /* تغيير المؤشر إلى يد عند تمرير الماوس */
    transition: color 0.3s ease; /* إضافة تأثير الانتقال عند التحويم */
}

    .table tbody td i:hover {
        color: var(--secondaryColor); /* تغيير اللون عند التحويم إلى اللون الثانوي */
    }

/*================== End Table section ==================*/

/*================== start Table Footer section ==================*/

/* Styling for the table footer row */
.table-footer {
    background-color: var(--boxColor); /* Match the color with other table elements */
    border-top: 2px solid var(--brand-color); /* Give the footer a distinct top border */
}

    .table-footer td {
        padding: 15px; /* Add padding to make the content look better */
    }

    .table-footer .row {
        margin: 0; /* Remove extra margins */
        padding: 10px 0; /* Add padding for spacing */
    }

    .table-footer .col {
        font-size: 14px; /* Adjust font size for better readability */
        font-weight: bold; /* Make text bold for emphasis */
        color: var(--primaryColor); /* Use primary text color */
    }

/* Ensure the footer aligns properly and fits without causing horizontal scroll */
.table-responsive {
    overflow-x: auto; /* Ensure that the table stays responsive without unnecessary scrolling */
}

.table-section .container {
    padding: 20px;
    margin-top: 20px;
    background-color: var(--bodyColor);
    border-radius: 10px;
    text-align: end; /* Ensure text aligns correctly in RTL layout */
}

/* Minor tweaks to table to ensure no overflow */
/*.table tbody td {
    white-space: nowrap;*/ /* Prevent text wrapping to avoid horizontal scroll */
/*}*/

.table tbody td {
    padding: 5px 5px; /* تقليل الحشو داخل الخلايا لتقليل ارتفاع الصفوف */
    white-space: nowrap; /* منع التفاف النص */
    color: var(--primaryColor); /* لون النص الأساسي في الصفوف */
    vertical-align: middle; /* جعل المحتوى في منتصف الخلية عموديًا */
}


.table-footer {
    /*background-color: var(--boxColor) !important;*/ /* Force the background color to change */
    border: 2px solid var(--brand-color) !important; /* Keep the top border consistent */
    text-align: center; /* Center-align footer content */
}


/*================== End Table Footer section ==================*/

/*================== Media Queries for small screens ==================*/

@media (max-width: 768px) {
    /* Adjust font size for small screens like tablets and mobiles */
    .table-section h4 {
        font-size: 16px; /* Smaller font for group headers */
    }

    .table-footer .col {
        font-size: 12px; /* Reduce font size in the footer for better fit */
    }

    .table tbody td {
        font-size: 12px; /* Reduce table body font size */
    }

    .table thead th {
        font-size: 12px; /* Reduce table header font size */
    }

    .table .action-buttons i {
        font-size: 18px; /* Make icons slightly smaller */
    }

    .table tbody td .btn-danger {
        font-size: 12px; /* Reduce button font size */
        padding: 3px 8px; /* Adjust button padding */
    }
}

/* For extra small screens */
@media (max-width: 576px) {
    .table-section h4 {
        font-size: 14px; /* Further reduce font size for very small screens */
    }

    .table-footer .col {
        font-size: 12px; /* Further reduce footer font size */
    }

    .table tbody td {
        font-size: 12px; /* Further reduce table body font size */
    }

    .table thead th {
        font-size: 12px; /* Further reduce table header font size */
    }

    .table .action-buttons i {
        font-size: 16px; /* Make icons even smaller for extra small screens */
    }

    .table tbody td .btn-danger {
        font-size: 12px; /* Further reduce button font size */
        padding: 2px 5px; /* Further adjust button padding */
    }
}

/*================== End Media Queries ==================*/




/*================== start dashbourd section ==================*/
.dashbourd {
    min-height: 40vh;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
}

    .dashbourd .box-icon i {
        color: var(--brand-color);
        font-size: 3rem;
        margin-top:10px;
    }


    .dashbourd .container {
        background-color: var(--bodyColor);
        margin-top: 10px;
        text-align: end;
        direction:rtl;
    }


@media (max-width: 990px) {
    .home-rtl {
        margin-top: 10px;
    }
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#content {
    position: relative;
    z-index: 1;
}

.dashbourd .dashbourd-text .title {
    line-height: 65px;
    font-size: 52px;
}

.dashbourd .dashbourd-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background-color: var(--boxColor);
}

    .dashbourd .dashbourd-icons a:hover {
        background-color: var(--brand-color);
    }

        .dashbourd .dashbourd-icons a:hover > i {
            color: var(--boxColor);
        }

.dashbourd .dashbourd-icons i {
    font-size: 20px;
    color: var(--secendaryColor);
    cursor: pointer;
}

@media (max-width: 990px) {
    .dashbourd .dashbourd-text .title {
        line-height: 65px;
        font-size: 44px;
    }
}

.btn-main:hover {
    background-color: #19a56b;
}

.dashbourd-img {
    border-radius: 20px; /* تنعيم زوايا الصورة */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* إضافة ظل للصورة */
    transition: transform 0.4s ease;
}

    .dashbourd-img:hover {
        transform: scale(1.05); /* تكبير الصورة قليلاً عند المرور فوقها */
    }

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .unique-text {
        color: var(--brand-color);
/*        font-size: 1.5rem;
*/    }

    .btn-main {
        padding: 10px 20px;
    }
}

/*================== end dashbourd section =====================*/

/* ======= Start Modal Styling (RTL) ======== */

.modal-elegant {
    background-color: #1c1c1c;
    color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    direction: rtl; /* لضبط الاتجاه من اليمين */
}

.modal-dialog {
    display: flex;
    align-items: center; /* لتوسيط الـ Modal عموديًا */
    justify-content: center; /* لتوسيط الـ Modal أفقيًا */
    min-height: 100vh; /* لضمان بقاء الـ Modal في منتصف الشاشة */
}

.modal-header-elegant {
    background-color: var(--brand-color);
    color: #ffffff;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: center; /* لتوسيط المحتوى أفقيًا */
    align-items: center; /* لتوسيط المحتوى عموديًا */
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-align: center; /* توسيط العنوان */
}

.modal-body {
    padding: 20px;
    background-color: var(--bodyColor);
    color: #f9f9f9;
    text-align: center; /* توسيط النص */
    direction: rtl; /* لضبط الاتجاه من اليمين */
}

.info-box {
    background-color: var(--boxColor);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* يبقي على الشبكة بثلاثة أعمدة */
    gap: 10px;
}

.info-box p {
    margin: 0;
    padding: 5px 0;
}

.info-box i {
    font-size: 24px;
    color: var(--brand-color);
    display: block;
    margin-bottom: 5px;
}

/*.modal-footer .btn {
    background-color: var(--brand-color);
    color: var(--brand-color);
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

    .modal-footer .btn:hover {
        background-color: #19a56b;
    }*/

/* لإضافة تأثير التعتيم المكثف على الخلفية */
.modal-backdrop.show {
    backdrop-filter: blur(20px);
    background-color: rgba(0, 0, 0, 0.9); /* خلفية داكنة أكثر */
}

/* لمنع التمرير في الخلفية */
body.modal-open {
    overflow: hidden; /* لمنع التمرير عند فتح الـ Modal */
}

/* ======= End Modal Styling (RTL) ======== */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding-right: 40px; /* إضافة حشو لليمين لإتاحة مساحة للأيقونة */
    padding: 10px; /* تقليل الحشو */
    border-radius: var(--border-radius) !important;
    border: 2px solid var(--brand-color) !important;
    background-color: var(--boxColor) !important;
    color: var(--primaryColor);
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    height: 45px; /* زيادة الارتفاع */
}

    input:focus,
    textarea:focus,
    select:focus {
        background-color: var(--bodyColor) !important;
        border-color: var(--brand-color) !important;
        outline: none !important;
        box-shadow: 0 0 5px rgba(0, 128, 0, 0.5) !important; /* تأثير عند التركيز */
    }



    /* إلغاء تأثير اللون الأزرق في Chrome */
    input[type="text"]::-webkit-input-placeholder,
    textarea::-webkit-input-placeholder {
        color: var(--primaryColor) !important; /* لون العنصر النائب */
        opacity: 0.8;
    }

    input[type="text"]:-moz-placeholder,
    textarea:-moz-placeholder {
        color: var(--primaryColor) !important; /* لون العنصر النائب */
        opacity: 0.8;
    }

    input[type="text"]::-moz-placeholder,
    textarea::-moz-placeholder {
        color: var(--title-2-color) !important; /* لون العنصر النائب */
        opacity: 0.8;
    }

    input[type="text"]:-ms-input-placeholder,
    textarea:-ms-input-placeholder {
        color: var(--primaryColor); /* لون العنصر النائب */
        opacity: 0.8;
    }


/* تنسيق عنصر select */
select {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius) !important;
    border: 2px solid var(--brand-color) !important;
    background-color: var(--boxColor) !important;
    color: var(--primaryColor) !important;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 45px;
    box-shadow: none;
    font-size: 16px;
    text-align: right; /* تأكد من أن النص يبدأ من اليمين */
    direction: rtl; /* تحديد اتجاه النص من اليمين إلى اليسار */
    height: 45px;
}

    /* تأثير عند التفاعل مع العنصر */
    select:focus {
        background-color: var(--bodyColor);
        border-color: var(--brand-color) !important;
        outline: none;
        box-shadow: none !important;
    }

    /* إلغاء السهم الافتراضي */
    select::-ms-expand {
        display: none;
    }

/* تعديل مكان السهم ليظهر على اليسار */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .custom-select::after {
        content: '\25BC'; /* سهم للأسفل */
        font-size: 16px;
        color: var(--primaryColor);
        position: absolute;
        left: 15px; /* جعل السهم على اليسار بدلاً من اليمين */
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

/* تخصيص السهم والتأكد من مظهره الجيد */
.select-container {
    position: relative;
}

/*
input[type="submit"],
button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);  نفس نصف القطر 
    background-color: var(--brand-color);  لون الزر الأساسي 
    color: var(--bodyColor);  لون النص داخل الزر 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    input[type="submit"]:hover,
    button:hover {
        background-color: #19a56b;  لون أغمق عند التمرير 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  إضافة ظل خفيف 
    }
*/


 
.highlight-button {
    color: var(--brand-color); /* استخدام لون العلامة التجارية للنص */
    font-weight: bold; /* نص عريض */
    transition: color 0.3s, transform 0.3s; /* انتقال سلس لتغييرات اللون والحجم */
    animation: glowing-day2 3s infinite ease-in-out; /* تطبيق الرسوم المتحركة مع انسيابية */
    text-decoration: none; /* إزالة التسطير من الرابط */
    display: inline-block; /* لجعل التأثيرات تعمل بشكل أفضل */
    /*padding: 5px 10px;*/ /* إضافة مسافة حول النص */
}

    .highlight-button:hover {
        color: #ffffff; /* تغيير لون النص عند التمرير */
        /*transform: scale(1.1);*/ /* تكبير النص قليلاً عند التمرير */
        /*box-shadow: 0 0 15px rgba(33, 198, 139, 0.8);*/ /* إضافة ظل أكثر وضوحاً */
    }



/*
@keyframes text-glow {
    0% {
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5), 0 0 10px rgba(33, 198, 139, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(33, 198, 139, 1), 0 0 30px rgba(33, 198, 139, 0.8);
    }

    100% {
        text-shadow: 0 0 5px rgba(33, 198, 139, 0.5), 0 0 10px rgba(33, 198, 139, 0.5);
    }
}
*/



.red-row {
    background-color: #f8d7da;
}

@media (max-width: 768px) {
    .sticky-header th {
        position: static; /* منع التصاق العنوان */
    }
}

.no-tel {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.college-logo-container {
    display: flex;
    flex-direction: row; /* تنظيم العناصر في صف أفقي */
    align-items: center; /* محاذاة عمودية للعناصر في المركز */
    justify-content: flex-start; /* تقليل المساحة بين الشعار والنص */
    margin-bottom: 0px; /* إزالة المسافة السفلية */
    text-align: start;
    gap: 5px; /* تقليل المسافة بين الشعار والنص */
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* محاذاة النصوص إلى اليسار */
    margin-left: 5px; /* تقليل المسافة بين الشعار والنص */
}

.loginlogo {
    width: 80px;
    height: auto;
    margin-right: 5px; /* تقليل المسافة اليمنى بين الشعار والنص */
}

.college-name {
    font-size: 18px;
    color: var(--primaryColor);
    font-weight: bold;
    margin-top: 0; /* إزالة المسافة العلوية */
    text-transform: capitalize;
    text-align: start;
}

.custom-alert {
    background-color: var(--boxColor); /* نفس لون الصناديق في المشروع */
    border-left: 4px solid var(--brand-color); /* شريط جانبي بلون العلامة التجارية */
    padding: 15px 20px; /* مسافة داخلية مناسبة */
    border-radius: var(--border-radius); /* حواف مستديرة */
    display: flex; /* لتوسيط الأيقونة والنص */
    align-items: center; /* محاذاة الأيقونة مع النص */
    color: var(--primaryColor); /* لون النص */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
    text-decoration: none; /* إلغاء التسطير الافتراضي */
}

    .custom-alert i {
        font-size: 24px; /* حجم الأيقونة */
        color: var(--brand-color); /* لون الأيقونة */
        margin-right: 10px; /* مسافة بين الأيقونة والنص */
    }

    .custom-alert.alert-info {
        background-color: var(--boxColor); /* لون خلفية مختلف للتنبيه */
        color: var(--primaryColor); /* لون النص */
    }

    .custom-alert a {
        color: var(--primaryColor); /* لون النص داخل الرابط */
        text-decoration: none; /* إزالة التسطير الافتراضي */
        font-weight: bold; /* جعل النص غامقاً */
        transition: color 0.3s ease; /* تأثير التغيير في اللون */
        margin-right: 10px;
    }

        .custom-alert a:hover {
            color: var(--brand-color); /* تغيير اللون عند التمرير */
            text-decoration: underline; /* إضافة تسطير عند التمرير */
        }

    .custom-alert p {
        color: var(--primaryColor); /* لون النص داخل الرابط */
        text-decoration: none; /* إزالة التسطير الافتراضي */
        font-weight: bold; /* جعل النص غامقاً */
        transition: color 0.3s ease; /* تأثير التغيير في اللون */
        margin-right: 10px;
    }



.custom-alert2 {
    background-color: var(--boxColor); /* نفس لون الصناديق في المشروع */
    border-left: 4px solid var(--forbidden-color); /* شريط جانبي بلون العلامة التجارية */
    padding: 15px 20px; /* مسافة داخلية مناسبة */
    border-radius: var(--border-radius); /* حواف مستديرة */
    display: flex; /* لتوسيط الأيقونة والنص */
    align-items: center; /* محاذاة الأيقونة مع النص */
    color: var(--primaryColor); /* لون النص */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
    text-decoration: none; /* إلغاء التسطير الافتراضي */
}

    .custom-alert2 i {
        font-size: 24px; /* حجم الأيقونة */
        color: var(--forbidden-color); /* لون الأيقونة */
        margin-right: 10px; /* مسافة بين الأيقونة والنص */
    }

    .custom-alert2.alert-info {
        background-color: var(--boxColor); /* لون خلفية مختلف للتنبيه */
        color: var(--primaryColor); /* لون النص */
    }

    .custom-alert2 a {
        color: var(--primaryColor); /* لون النص داخل الرابط */
        text-decoration: none; /* إزالة التسطير الافتراضي */
        font-weight: bold; /* جعل النص غامقاً */
        transition: color 0.3s ease; /* تأثير التغيير في اللون */
        margin-right: 10px;
    }

        .custom-alert2 a:hover {
            color: var(--forbidden-color); /* تغيير اللون عند التمرير */
            text-decoration: underline; /* إضافة تسطير عند التمرير */
        }

    .custom-alert2 p {
        color: var(--primaryColor); /* لون النص داخل الرابط */
        text-decoration: none; /* إزالة التسطير الافتراضي */
        font-weight: bold; /* جعل النص غامقاً */
        transition: color 0.3s ease; /* تأثير التغيير في اللون */
        margin-right: 10px;
    }












.dropdown-menu {
    text-align: right; /* محاذاة النص إلى اليمين */
    direction: rtl; /* التأكد من أن اتجاه القائمة من اليمين إلى اليسار */
}


.dropdown-toggle {
    display: inline-flex; /* لجعل النص والسهم في نفس المستوى */
    align-items: center; /* محاذاة السهم عموديًا مع النص */
}

    .dropdown-toggle::after {
        content: ""; /* السهم الافتراضي */
        float: none; /* تعطيل التأثير الافتراضي للسهم */
        margin-left: 10px; /* مسافة صغيرة بين السهم والنص */
        margin-right: 5px; /* إزالة المسافة على اليمين */
        vertical-align: middle; /* محاذاة السهم مع النص */
        /*font-size: 0.75em;*/ /* تصغير حجم السهم */
    }



/* تأثير عند التركيز على الحقل */
.form-control:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 5px rgba(33, 198, 139, 0.5);
}

/* تصميم الأزرار */
.btn-main {
    background-color: var(--brand-color);
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    transition: background-color 0.3s ease;
}

    .btn-main:hover {
        background-color: #19a56b;
    }



.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group-text {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.input-group .form-control {
    border-radius: 0.375rem;
    padding-right: 45px; /* إضافة مساحة لحجز مكان الأيقونة */
}

.input-group .input-group-text {
    position: absolute;
    right: 0; /* تأكد من وضع الأيقونة في الجهة اليمنى داخل الحقل */
    height: 100%;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: none;
    padding: 0 10px;
}

    .input-group .input-group-text i {
        font-size: 1.25rem;
        color: #21c68b; /* استخدم لون العلامة التجارية للأيقونات */
    }

.teacher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl; /* للتأكد من أن النص يبدأ من اليمين */
    margin-bottom: 20px; /* إضافة مسافة أسفل العنوان إذا لزم الأمر */
}

.inline-form {
    margin: 0; /* إزالة أي هوامش افتراضية */
}

.evaluation-icon-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 5px;
    position: relative;
}

    .evaluation-icon-btn i {
        font-size: 24px;
        color: var(--brand-color);
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .evaluation-icon-btn:hover i {
        color: var(--primaryColor);
        transform: scale(1.2);
    }

    .evaluation-icon-btn::after {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        width: 10px;
        height: 10px;
        background-color: var(--brand-color);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 198, 139, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(33, 198, 139, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(33, 198, 139, 0);
    }
}


.exams-icon-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 5px;
    position: relative;
}

    .exams-icon-btn i {
        font-size: 24px;
        color: var(--brand-color);
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .exams-icon-btn:hover i {
        color: var(--primaryColor);
        transform: scale(1.2);
    }

    .exams-icon-btn::after {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        width: 10px;
        height: 10px;
        background-color: var(--brand-color);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 198, 139, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(33, 198, 139, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(33, 198, 139, 0);
    }
}



/* تحسين تصميم القسم */
.video-section {
    background-color: var(--bodyColor);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
}

    .video-section .heading .title {
        font-size: 2.5rem;
        color: var(--primaryColor);
        font-weight: bold;
        margin-bottom: 10px;
    }

    .video-section .heading .subtitle {
        font-size: 1.2rem;
        color: var(--secendaryColor);
        margin-bottom: 20px;
    }

/* تحسين تصميم الفيديو */
.video-container {
    background-color: var(--boxColor);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 20px;
}

.video-player {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 2px solid var(--brand-color);
    border-radius: var(--border-radius);
}

#startBroadcast {
    background-color: var(--brand-color);
    color: white;
    border: none;
}

#stopBroadcast {
    background-color: #dc3545;
    color: white;
    border: none;
}



.videoheading {
    margin-top: 80px; /* أو حسب المسافة المطلوبة */
    z-index: 1; /* للتأكد من عدم تغطيتها */
    position: relative;
}


.room-section {
    background-color: var(--bodyColor);
    padding: 40px 0;
}

    .room-section .box {
        background-color: var(--boxColor);
        border-radius: var(--border-radius);
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .room-section .video-box {
        width: 100%;
        max-width: 300px;
        border: 2px solid var(--brand-color);
        border-radius: var(--border-radius);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.video-box {
    width: 200px; /* حجم الفيديو الصغير */
    height: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .video-box.fullscreen {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%; /* حجم الفيديو الكبير */
        height: auto;
        z-index: 1000;
    }



@keyframes glowing-green {
    0% {
        color: #21c68b;
        text-shadow: 0 0 5px #21c68b, 0 0 10px #21c68b;
    }

    50% {
        color: #21c68b;
        text-shadow: 0 0 20px #21c68b, 0 0 30px #21c68b;
    }

    100% {
        color: #21c68b;
        text-shadow: 0 0 5px #21c68b, 0 0 10px #21c68b;
    }
}

@keyframes glowing-red {
    0% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px red, 0 0 10px red;
    }

    50% {
        color: var(--forbidden-color);
        text-shadow: 0 0 20px red, 0 0 30px red;
    }

    100% {
        color: var(--forbidden-color);
        text-shadow: 0 0 5px red, 0 0 10px red;
    }
}

.text-success.glowing {
    animation: glowing-green 2s infinite;
}

.text-danger.glowing {
    animation: glowing-red 2s infinite;
}


.section-title-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl; /* للتأكد من أن النص يبدأ من اليمين */
    margin-bottom: 20px; /* إضافة مسافة أسفل العنوان إذا لزم الأمر */
    color: var(--brand-color);
    font-weight: bold;
}

.section-title-sub2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl; /* للتأكد من أن النص يبدأ من اليمين */
    margin-bottom: 20px; /* إضافة مسافة أسفل العنوان إذا لزم الأمر */
    color: var(--highlight-color);
    font-weight: bold;
}



.button-group {
    display: flex; /* استخدام Flexbox */
    justify-content: flex-start; /* محاذاة الأزرار إلى اليسار */
    gap: 10px; /* مسافة بين الأزرار */
    margin-top: 20px; /* إضافة مسافة بين الأزرار والعناصر الأخرى */
    direction:rtl;
}

.nav-item-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--brand-color); /* لون الخلفية */
    color: var(--bodyColor); /* لون النص */
    font-weight: bold; /* خط عريض */
    text-transform: capitalize;
    border-radius: var(--border-radius); /* الحواف مستديرة */
    text-decoration: none; /* إزالة التسطير */
    transition: background-color 0.3s ease, transform 0.3s ease; /* تأثيرات جميلة */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

    .nav-item-link:hover {
        background-color: #19a56b; /* تغيير اللون عند التمرير */
        transform: translateY(-2px); /* ارتفاع بسيط عند التمرير */
    }

    .nav-item-link:active {
        transform: translateY(1px); /* تأثير عند النقر */
    }

.btn-nav {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--border-radius);
    text-transform: capitalize;
}

    .btn-nav:hover {
        transform: translateY(-2px);
        border-color: var(--brand-color);
    }

/* تحسين Breadcrumbs */
.breadcrumbs {
    background: var(--boxColor);
    margin-top: 82px;
    color: var(--primaryColor);
}

    .breadcrumbs ol a {
        color: var(--primaryColor);
        transition: 0.3s;
    }

        .breadcrumbs ol a:hover {
            color: var(--brand-color);
        }

    .breadcrumbs .title-2 {
        margin-top: 20px;
        font-size: 24px;
        color: var(--title-2-color);
        font-weight: bold;
    }

    .breadcrumbs .title-4 {
        color: var(--secendaryColor);
        font-size: 16px;
        margin-top: 10px;
    }

/* تحسين عداد الوقت */
#countdownTimer {
    font-weight: bold;
    font-size: 20px;
    color: var(--brand-color);
    transition: all 0.3s ease-in-out;
}




.exams-section {
    direction: rtl;
    text-align: right;
    font-family: "Tajawal", sans-serif;
    background-color: var(--bodyColor);
    padding-bottom: 50px;
}



.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 10px;
}

.question-gridh {
    display: flex; /* لجعل الأزرار في صف أفقي */
    gap: 10px; /* مسافة بين الأزرار */
    justify-content: center; /* توسيط الأزرار أفقيًا */
    flex-wrap: wrap; /* إذا زاد عدد الأزرار يتم الانتقال إلى صفوف جديدة */
}


.question-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--boxColor);
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

    .question-btn:hover {
        background-color: var(--brand-color);
        color: var(--primaryColor);
        transform: translateY(-3px);
        border-color: var(--brand-color);
    }

    .question-btn.active {
        background-color: var(--brand-color);
        color: var(--primaryColor);
        transform: translateY(-3px);
        border-color: var(--brand-color);
    }


/* تنسيق الأزرار التي تم الإجابة عليها */
a.btn.question-btn.answered {
    background-color: var(--brand-color) !important;
    color: var(--primaryColor) !important;
    transform: translateY(-3px) !important;
    border-color: var(--brand-color) !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, border-color 0.3s ease !important;
    cursor: default; /* منع مؤشر الفأرة من التغيير */
}





.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-color);
    margin-bottom: 10px;
    text-transform: capitalize;
}


.exams-option {
    display: block;
    margin-bottom: 15px; /* زيادة المسافة بين الخيارات */
    position: relative;
}

    .exams-option input[type="radio"] {
        display: none;
        direction:ltr;
    }

    .exams-option label {
        display: flex;
        align-items: center;
        cursor: pointer;
        background-color: var(--boxColor);
        padding: 12px 20px;
        border-radius: var(--border-radius);
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        color: var(--primaryColor);
        border: 2px solid var(--boxColor);
        font-size: 16px;
        font-weight: 500;
        position: relative;
        padding-left: 40px; /* مساحة للأيقونة */
    }

        .exams-option label::before {
            content: "";
            position: absolute;
            left: 15px;
            width: 20px;
            height: 20px;
            border: 2px solid var(--primaryColor);
            border-radius: 50%;
            background-color: #fff;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

    .exams-option input[type="radio"]:checked + label::before {
        background-color: var(--brand-color);
        border-color: var(--brand-color);
    }

    .exams-option input[type="radio"]:checked + label::after {
        content: "✔";
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: var(--bodyColor);
        font-size: 14px;
    }

    .exams-option input[type="radio"]:checked + label {
        background-color: var(--brand-color);
        color: var(--bodyColor);
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .exams-option label:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-color: var(--brand-color);
    }

/* تنسيق إضافي للعناوين */
.question-label {
    font-weight: bold;
    color: var(--forbidden-color);
    margin-right: 5px;
}

.options-label {
    font-weight: bold;
    color: var(--brand-color);
    margin-bottom: 10px;
    margin-left: -20px;
    font-size: 20px !important;
}

/* تحسين تنسيق الأسئلة */
.exams-question {
    font-size: 20px;
    margin-bottom: 15px;
    /*background-color: var(--bodyColor);*/
    background-color: transparent !important;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: var(--primaryColor);
    font-weight: bold;
}

/* تحسين تنسيق الإجابات */
.exams-options legend {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--brand-color);
    display: block; /* تغيير من flex إلى block */
    margin-top: 15px;
}

/* تحسين تنسيق بطاقة التقييم */
.exams-card {
    margin-bottom: 25px;
    padding: 25px;
    background-color: var(--boxColor);
    border: 1px solid var(--brand-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}


.form-control-staticTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl; /* للتأكد من أن النص يبدأ من اليمين */
    margin-bottom: 22px; /* إضافة مسافة أسفل العنوان إذا لزم الأمر */
    color: var(--primaryColor);
    font-weight: bold;
}


.form-control-static {
    font-size: 16px; /* حجم الخط */
    color: var(--primaryColor); /* لون النص */
    background-color: var(--boxColor); /* لون الخلفية */
    text-align: right; /* محاذاة النص لليمين */
    direction: rtl; /* تأكيد اتجاه النص من اليمين لليسار */
    font-weight:300;
}

.form-control-static2 {
    font-size: 16px; /* حجم الخط */
    color: var(--brand-color); /* لون النص */
    background-color: var(--boxColor); /* لون الخلفية */
    text-align: right; /* محاذاة النص لليمين */
    direction: rtl; /* تأكيد اتجاه النص من اليمين لليسار */
    font-weight: bold !important;
}

.questioncompleted {
    background-color: var(--boxColor); /* اللون الأساسي */
    pointer-events: none;
    cursor: not-allowed;
    border-color: var(--forbidden-color); /* حدود خفيفة للتنسيق */
}

    /* إضافة خط وسط وعلامة X للإجابات غير المختارة عند اكتمال الامتحان */
    .questioncompleted .exams-option input[type="radio"]:not(:checked) + label {
        text-decoration: line-through;
        color: var(--secendaryColor); /* يمكنك تعديل اللون حسب التصميم */
        opacity: 0.6; /* تقليل الشفافية لإظهار أنها غير نشطة */
        cursor: not-allowed; /* تغيير مؤشر الفأرة للدلالة على عدم التفاعل */
        position: relative; /* لجعل العنصر الأصلي هو المرجع للـ ::after */
    }

        .questioncompleted .exams-option input[type="radio"]:not(:checked) + label::after {
            content: "✖"; /* يمكنك استخدام أيقونة أخرى أو رمز Unicode آخر */
            position: absolute;
            right: 0px; /* مسافة من اليمين؛ قم بتعديلها حسب الحاجة */
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            color: var(--forbidden-color); /* لون X، يمكنك تعديله حسب التصميم */
        }


.completed-text {
    font-weight: bold;
    color: var(--brand-color);
    margin-right: 5px;
}

.time-red {
    color: var(--forbidden-color) !important;
}

.time-green {
    color: green !important;
}

.available {
    color: var(--brand-color); /* أو اختر اللون الافتراضي الذي تريده */
}

.unavailable {
    color: var(--forbidden-color) !important;
}


body.dark-mode .text-muted {
    color: #888 !important; /* اختر لونًا رماديًا أفتح أو أي لون مناسب */
}


/* الحقول في الوضع العادي (النهاري) */
body:not(.dark-mode) input[type="date"],
body:not(.dark-mode) input[type="time"] {
    color: #000000; /* نص أسود */
}

/* الحقول في وضع الدارك مود */
body.dark-mode input[type="date"],
body.dark-mode input[type="time"] {
    color: #ffffff; /* نص أبيض */
}

    /* تعديل أيقونة التقويم أو الساعة (للمتصفحات المبنية على WebKit) */
    body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
    body.dark-mode input[type="time"]::-webkit-calendar-picker-indicator {
        filter: invert(1);
        /* أو يمكنك استخدام color: أو خواص أخرى بحسب حاجتك */
    }

.nav-item {
    position: relative;
}

/* الدائرة الحمراء الأساسية */
.red-dot {
    position: absolute;
    top: 0; /* عند أعلى العنصر، عدِّل حسب ذوقك */
    left: 50%; /* في منتصفه أفقيًا */
    width: 8px; /* قطر الدائرة */
    height: 8px;
    background-color: red;
    border-radius: 50%;
    display: none; /* مخفية افتراضيًا */
    pointer-events: none;
}

    /* عند الإظهار (HasSeen = false)، نستخدم حركة مستمرة (infinite) */
    .red-dot.show {
        display: block;
        /* Animation مستمر (infinite): مدة 1.2 ثانية مثلاً وبلا توقف */
        animation: bounceInfinite 1.2s infinite ease;
    }

    /* عند الإخفاء نستخدم حركة fadeOut لمرة واحدة */
    .red-dot.hide {
        animation: fadeOut 0.3s forwards;
    }

/* حركة ترددية (bounceInfinite) تكرارية لا نهائية */
@keyframes bounceInfinite {
    0%, 100% {
        transform: translate(-50%, 0) scale(1);
    }

    20% {
        transform: translate(-50%, -5px) scale(1.1);
    }

    40% {
        transform: translate(-50%, 2px) scale(0.95);
    }

    60% {
        transform: translate(-50%, -2px) scale(1.05);
    }

    80% {
        transform: translate(-50%, 1px) scale(0.98);
    }
}

/* حركة الإخفاء (Fade Out) عند النقر */
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0);
    }
}


/* لجعل زر الهامبرغر نفسه العنصر المرجعي */
.navbar-toggler {
    position: relative;
}

/* تنسيق النقطة على الزر في وضع الموبايل */
.red-dot.mobile-dot {
    position: absolute;
    /* جرّب تعديل الإحداثيات بما يناسب شكل الزر عندك */
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    z-index: 999;
    animation: bounceIn 0.5s; /* إن أردت حركة */
}


.red-dot.mobile-dot {
    position: absolute;
    top: 10px; /* حسّب الزر لديك */
    right: 10px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: bounceIn 0.5s;
    z-index: 999;
}

/* توحيد حجم شعارات العلامات التجارية */
.clients .owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* إضافة بعض الحشو لتحسين المسافة بين الشعارات */
}

    .clients .owl-carousel .item img {
        max-width: 200px; /* تحديد أقصى عرض للشعار */
        max-height: 200px; /* تحديد أقصى ارتفاع للشعار */
        width: auto;
        height: auto;
        object-fit: contain; /* الحفاظ على نسبة العرض إلى الارتفاع */
        transition: transform 0.3s ease; /* إضافة تأثير سلس عند التحويم */
    }

        .clients .owl-carousel .item img:hover {
            transform: scale(1.1); /* تكبير الشعار عند التحويم */
        }
