@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  /* --default-font: "EB Garamond", serif , system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif; */

  --default-font:"EB Garamond", serif, "Cairo", sans-serif;
  --heading-font: "EB Garamond", serif, "Cairo", sans-serif;
  --nav-font: "EB Garamond", serif, "Cairo", sans-serif;
}

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

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

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

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

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

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #0f0000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}
/*
 .header .topbar {
  background-color: var(--background-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-inline-start: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
} */

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
      margin-left: 0 !important;
    padding-left: 0 !important;
    transform: translateX(-10px); /* قرب الشعار أكثر للحافة */
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #000000;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
     display: flex;
     align-items: center;
     gap: 1rem; /* مسافة بسيطة بين العناصر */
  }

  .navmenu ul {
     display: flex;
     align-items: center;
     gap: -15px;
     list-style: none;
     margin: 0;
     padding: 0;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 10px 10px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 0 2px;
    font-size: 17px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -15px;
    left: 0;
    background-color: var(--nav-dropdown-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  /* ✅ تعديل CONTACT ليكون مثل باقي العناصر */
  .navmenu > ul > li:last-child {
    padding: 10px 10px !important;  /* نفس البقية */
    margin: 0 !important;
  }
  .navmenu > ul > li:last-child a {
    padding: 0 2px !important;      /* نفس البقية */
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px; /* المسافة بين الزر والأيقونة */
  }

   #lang-toggle {
    order: 1;
    margin: 0;
    padding: 4px 10px;
  }

  .mobile-nav-toggle {
    order: 2;
    margin: 0;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    text-align: center; /* يجعل النص في المنتصف */
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }

  /* لتكبير خط الروابط داخل القائمة وتوسيطها */
  .navmenu a,
  .navmenu a:focus {
    font-size: 30px;   /* 🔥 تكبير الخط */
    justify-content: center; /* يجعل النص في منتصف العنصر نفسه */
  }
  
   /* ✅ تعديل CONTACT ليكون مثل باقي العناصر */
  .navmenu > ul > li:last-child {
    padding: 10px 10px !important;  /* نفس البقية */
    margin: 0 !important;
  }
  .navmenu > ul > li:last-child a {
    padding: 0 2px !important;      /* نفس البقية */
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-links h4 a {
  color: var(--heading-color); /* نفس لون العناوين الأساسية */
  transition: 0.3s;
  text-decoration: none; /* إزالة الخط السفلي إن وجد */
}

.footer .footer-links h4 a:hover {
  color: var(--heading-color); /* لا يتغير عند التحويم */
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

html[dir="rtl"] .footer .footer-contact {
  text-align: right !important; /* يجعل كل محتوى العمود لليمين */
}

html[dir="rtl"] .footer .footer-contact p {
  text-align: right !important; /* يجبر الفقرات نفسها */
}

html[dir="rtl"] .footer .footer-contact a {
  display: inline-block; /* يجبر الروابط أن تحترم المحاذاة */
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-contact h4 a {
  color: var(--heading-color);
  text-decoration: none; /* إزالة التسطير */
  font-weight: bold;     /* لو تريد نفس ثقل العنوان */
  transition: color 0.3s ease;
}

.footer .footer-contact h4 a:hover {
  color: var(--heading-color); /* ثابت */
  text-decoration: none;       /* يبقى بدون تسطير */
}


@media (max-width: 768px) {
  [dir="rtl"] .footer-contact,
  [dir="rtl"] .footer-contact * {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  [dir="rtl"] .footer-contact-link {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }

  [dir="rtl"] .footer-contact-link a {
    text-align: center !important;
    display: inline-block !important;
    font-weight: bold;
  }

  /* ✅ الحل للعناوين الثلاثة */
  [dir="rtl"] .footer-address {
    direction: ltr !important;
    unicode-bidi: embed !important;
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}



.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}





/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}


.whatsapp-float {
  position: fixed;
  bottom: 65px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;  /* ضروري */
  z-index: 99999;
  transition: background 0.3s;
}

/* .whatsapp-float:hover {
  background-color: #128C7E;
} */

.whatsapp-float i {
  color: white !important;   /* ⬅️ يجعل اللون ثابت للأيقونة فقط */
  font-size: 30px;  /* مناسب للحجم 40px */
  line-height: 1;   /* ضروري */
  display: block;   /* يلغي inline shift */
  /* vertical-align: middle; /* صمام أمان */ 
  vertical-align: unset;
  font-family: 'Font Awesome 6 Free', 'Bootstrap Icons', sans-serif !important; /* يمنع وراثة الخط العربي */
  direction: ltr !important; /* تأكيد */
}


/* زر السهم إذا أردت تأكيد مكانه */
.back-to-top {
  position: fixed;
  bottom: 15px; /* المسافة من الأسفل */
  right: 15px;  /* نفس الجهة */
  width: 50px;
  height: 50px;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 50px;
  line-height: 50px;
  z-index: 999;
  transition: background 0.3s;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 50px;
  position: relative;
  overflow: hidden;
  padding-bottom: 42px;
}

.hero .hero-content h2 {
  font-size: 4rem; /* 3.5rem */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--heading-color);
}

.hero .hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--default-color);
}

.hero .hero-content .hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero .hero-content .hero-btns .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero .hero-content .hero-btns .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-content .hero-btns .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  border-color: color-mix(in srgb, var(--accent-color), #000 10%);
}

.hero .hero-content .hero-btns .btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.hero .hero-content .hero-btns .btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-content .hero-stats {
  display: flex;
  gap: 2.5rem;
}

 .hero .hero-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
} 

.hero .hero-image img:hover {
  transform: scale(1.03);
} 


/* Media Queries */
@media (max-width: 992px) {
  .hero {
    padding: 40px 0;
  }

  .hero .hero-content {
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero .hero-content .hero-btns {
    justify-content: center;
  }

  .hero .hero-content .hero-stats {
    justify-content: center;
  }
  .hero .hero-image {
    order: 3;
  }
}

@media (max-width: 768px) {
.hero{
  margin-bottom: -50px;
}

  .hero .hero-content h2 {
    font-size: 2.5rem;
  }
  .hero .hero-image {
    order: 3;
    margin-bottom: 1.5rem;
  }

  .hero .hero-content .hero-stats .stat-item h3 {
    margin-top: -10px;
  }
}

@media (max-width: 576px) {
  .hero .hero-content .hero-btns {
    flex-direction: column;
  }

  .hero .hero-content .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.hero .hero-content .hero-stats .stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--default-color);
  text-align: center;
}


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 10px;
  padding-bottom: 30px;
}

.clients .clients-slider {
  overflow: hidden;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-wrapper {
  height: auto !important;
  align-items: stretch;
  transition-timing-function: linear;
}

.clients .swiper-slide {
  height: auto;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients .swiper-slide:last-child {
  border-right: none;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px;
  height: 100%;
}

.clients .client-logo img {
  max-width: 90%;
  transition: 0.3s;
  /* opacity: 0.5; */
  /* filter: grayscale(100); */
  margin-left: 40px;
  max-width: 140px;
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo {
    padding: 20px;
    margin-left: -20px;
  }

  html[dir="ltr"] .clients .client-logo {
  padding: 20px;
  margin-left: 20px; /* عكس الـ RTL بحيث الإزاحة من اليمين */
}
}

html[dir="ltr"] .clients .client-logo img{
  margin-right: 80px;

}

/* RTL Support for Clients Section */
html[dir="rtl"] .clients .swiper-slide {
  border-right: none;
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

html[dir="rtl"] .clients .swiper-slide:last-child {
  border-left: none;
}

html[dir="rtl"] .clients .swiper-slide:first-child {
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

html[dir="rtl"] .clients .client-logo img{
  margin-left: 40px;

}

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/
.about {
  padding-top: 27px;
  padding-bottom: 22px;
}

/* قلل المسافة تحت عنوان "من نحن" في هذا القسم فقط */
.about .section-title {
  margin-bottom: 10px;
}
.about .section-title h2 {
  margin-bottom: -30px;
}

.about .about-img {
  position: relative;
  margin: 30px 90px 50px 20px;
}
.about .about-img:before {
  position: absolute;
  inset: -60px 0 0 -60px;
  content: "";
  /* background: url("../img/pattern/pattern-1.webp") top left; */
  background-repeat: no-repeat;
  z-index: 1;
}

.about .about-img img {
  position: relative;
  z-index: 2;
  width: 130%;         /* للديسكتوب (يبقى كما هو) */
  height: auto;
  max-width: 800px;
}

@media (max-width: 575px) {
  .about .about-img { margin: 30px 0 0 30px; }
  .about .about-img:before { inset: -30px 0 0 -30px; }
}

.about h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .about h3 { font-size: 24px; }
}

.about .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  justify-content: flex-start;
  padding-inline-start: 0;
  margin: 0;
  list-style: none;
}
.about .nav-pills li+li { margin-left: 40px; }

.about .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--default-color);
  padding: 12px 0;
  margin-bottom: -2px;
  border-radius: 0;
}
.about .nav-link.active {
  color: var(--accent-color);
  background: none;
  border-bottom: 3px solid var(--accent-color);
}
@media (max-width: 575px) {
  .about .nav-link { font-size: 16px; }
}

.about .tab-content h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--default-color);
}
.about .tab-content i {
  font-size: 22px;
  line-height: 0;
  margin-right: 8px;
  color: var(--accent-color);
}
.about .tab-content p { font-size: 14px; }

/* ============================
   الجوال + التابلت: الصورة فل-بليد فقط
   (النصوص تظل داخل هوامش الـcontainer)
   ============================ */
@media (max-width: 991.98px) {
  #about-2 { overflow-x: hidden; } /* منع تمرير أفقي بسبب فل-بليد */

  /* حاوية الصورة تتمدّد بعرض نافذة العرض */
  .about .about-img {
    margin: 0 calc(50% - 50vw) 16px calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    text-align: center;
  }

  .about .about-img:before { display: none; }

  .about .about-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* ============================
   الديسكتوب كما هو
   ============================ */
@media (min-width: 992px) {
  .about .about-img { overflow: visible; }

  /* تجاوز قيد .img-fluid في Bootstrap */
  .about .about-img img.img-fluid { max-width: none; }

  .about .about-img img {
    width: 134%;        /* عدّلها إذا رغبت */
    max-width: none;
    height: auto;
  }

  /* إزاحة بسيطة حتى لا يزاحم النص */
  html[dir="ltr"] .about .about-img img { transform: translateX(-11%); }
  html[dir="rtl"] .about .about-img img { transform: translateX(8%); }
}


/*-----------------------------------
   RTL Styles (Arabic only)
-----------------------------------*/
html[lang="ar"][dir="rtl"] .about .about-img {
  margin: 30px 20px 50px 90px; /* عكس الهوامش لسطح المكتب فقط */
}

html[lang="ar"][dir="rtl"] .about .nav-pills li+li {
  margin-right: 50px;
  margin-left: 0;
  justify-content: flex-start;
}

html[lang="ar"][dir="rtl"] .about .tab-content i {
  margin-left: 8px;
  margin-right: 0;
}

html[lang="ar"][dir="rtl"] .about h3,
html[lang="ar"][dir="rtl"] .about .tab-content h4,
html[lang="ar"][dir="rtl"] .about p { text-align: right; }

html[lang="ar"][dir="rtl"] .about .nav-link {
  text-align: right;
  padding-right: 0;
}

/* على الشاشات الصغيرة: اجعل العربي نفس الإنجليزي (فل-بليد للصورة) */
@media (max-width: 991.98px) {
  html[lang="ar"][dir="rtl"] .about .about-img {
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw) 16px calc(50% - 50vw) !important;
  }
}

/* هوامش سطح المكتب تُطبَّق فقط من 992px وأكبر */
@media (min-width: 992px) {
  .about .about-img { margin: 30px 70px 50px 20px; }
  html[lang="ar"][dir="rtl"] .about .about-img { margin: 30px 20px 50px 90px; }
}



/*--------------------------------------------------------------
# Features 2 Section
--------------------------------------------------------------*/
.features-2 {
  padding-top: 5px;
  padding-bottom: 40px;
}

.features-2 .feature-item {
  margin-bottom: 40px;
  z-index: 1;
}



.features-2 .feature-item .inner-box {
  border-top: 5px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 30px 20px;
  background-color: var(--surface-color);
  text-align: center;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.features-2 .feature-item .inner-box:before {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  background-color: var(--accent-color);
  content: "";
  transition: all 0.3s ease;
  z-index: -1;
}

.features-2 .feature-item .inner-box:hover {
  transform: translateY(-10px);
}

.features-2 .feature-item .inner-box:hover:before {
  height: 100%;
}

.features-2 .feature-item .inner-box:hover .title,
.features-2 .feature-item .inner-box:hover .icon,
.features-2 .feature-item .inner-box:hover .title a {
  color: var(--contrast-color);
}

.features-2 .feature-item .icon {
  display: block;
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.features-2 .feature-item .title {
  margin-bottom: 0;
  transition: all 0.3s ease;
  font-size: 18px;
}

.features-2 .feature-item .title a {
  color: var(--heading-color);
  text-decoration: none;
}

.features-2 .feature-item .title a:hover {
  color: inherit;
}

@media (max-width: 991.98px) {
  .features-2 {
    padding: 50px 0;
  }
}

/*--------------------------------------------------------------
# Cards Section
--------------------------------------------------------------*/
.cards {
    margin-top: -20px;
  }

.cards .card-item {
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
}

.cards .card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cards .card-item:hover .card-img img {
  transform: scale(1.1);
}

.cards .card-item:hover .card-img .card-overlay {
  opacity: 1;
  visibility: visible;
}

.cards .card-item:hover .card-img .card-overlay .card-overlay-content {
  transform: translateY(0);
}

.cards .card-item .card-img {
  position: relative;
  overflow: hidden;
}

.cards .card-item .card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cards .card-item .card-img .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 253, 253, 0.349), color-mix(in srgb, #ffffff, transparent 30%));
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cards .card-item .card-img .card-overlay .card-overlay-content {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
}

.cards .card-item .card-img .card-overlay .card-overlay-content h4 {
  color: var(--contrast-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cards .card-item .card-img .card-overlay .card-overlay-content p {
  color: var(--contrast-color);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cards .card-item .card-img .card-overlay .card-overlay-content .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.cards .card-item .card-img .card-overlay .card-overlay-content .btn-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(45deg);
}

.cards .card-item .card-img .card-overlay .card-overlay-content .btn-link i {
  font-size: 1.2rem;
}

.cards .card-item .card-content {
  padding: 2rem 2rem 1rem 2rem; /* تقليل المسافة من الأسفل */
  /* padding: 2rem; */
}

.cards .card-item .card-content .card-category {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cards .card-item .card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.3;
}

.cards .card-item .card-content h3 .highlight {
  font-size: 1.3rem; /* تغيير حجم النص داخل الحلول المكتبية */
}

.cards .card-item .card-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.cards .card-item .card-content a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 991.98px) {
  .cards {
    padding: 10px 0;
  }
}




/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding-top: 33px;
  padding-bottom: 38px;
}

/* كرت الخدمة: توحيد المسافات بالـ gap فقط */
.services .service-item {
  position: relative;
  padding: 60px 30px 80px;                 /* كما هي */
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  cursor: default;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;             /* لا تمدّد الفراغات */
  gap: 20px;                               /* ← مسافة ثابتة (أيقونة ← عنوان ← نص) */

  height: 100%;
}

/* تساوي ارتفاع الأعمدة */
.services .row { display: flex; flex-wrap: wrap; }
.services .col-lg-4 { display: flex; }

/* الروابط */
.services .service-item a { cursor: pointer; }

/* الشريط العلوي */
.services .service-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-color);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* الأيقونة: بدون هوامش، التباعد بالـ gap */
.services .service-item .service-icon {
  width: 72px;
  height: 72px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-size: 34px;
  margin: 0 !important;                    /* ← مهم لتوحيد المسافة */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.services .service-item .service-icon i { line-height: 1; }

/* العنوان: لا تغيّر الحجم، فقط ألغِ الهوامش */
.services .service-item h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 !important;                    /* ← منع أي فرق بين الكروت */
}

/* الروابط داخل العنوان */
.services .service-item h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}
.services .service-item h3 a span { display: inline-block; color: var(--accent-color); }
.services .service-item h3 a:hover { color: var(--accent-color); }

/* النص: بدون هوامش إضافية */
.services .service-item p {
  color: var(--default-color);
  margin: 0 !important;
  transition: color 0.3s ease;
}

/* زر الإجراء */
.services .service-item .card-action {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.services .service-item .card-action i { transition: transform 0.3s ease; }
.services .service-item .card-action:hover i { transform: rotate(45deg); }

/* هوفر */
.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}
.services .service-item:hover .service-icon { transform: scale(1.1); }
.services .service-item:hover p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.services .service-item:hover .card-action {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* موبايل: نحافظ على الأحجام، فقط نقلّل gap قليلًا لو حاب */
@media (max-width: 768px) {
  .services .service-item {
    padding: 50px 25px 70px;
    gap: 16px;                              /* مسافة ثابتة للموبايل */
  }
  .services .service-item h3 { font-size: 22px; } /* نفس كودك */
  .services .service-item .service-icon { width: 64px; height: 64px; font-size: 30px; }
}

/* ضبط مسافات القسم على الموبايل (كما لديك) */
@media (max-width: 768px) {
  .services { padding: 70px 0 50px; }
}

/* إن كان سلايدر */
.services .swiper-wrapper { height: auto !important; }


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;

 /* ✅ أضف الأسطر التالية */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.contact .info-item-clickable {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-item-clickable p {
  display: block;
  margin: 5px 0;
  direction: ltr;
  text-align: center;
}

.col-md-6.d-flex {
  display: flex;
  flex-direction: column; /* ✅ ضروري! */
}

.contact .required-star {
  color: red;           /* يظهر النجمة باللون الأحمر */
  font-weight: bold;    /* يجعلها بارزة أكثر */
}

.contact .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  white-space: normal;  /* تأكد أن النص يمكنه النزول */
    display: block;       /* اختياري: يوضح أن العنصر block */

}

.contact .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form input[type=tel]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
/*
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}
*/

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
/*
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}
*/


/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  padding-top: 27px;
  padding-bottom: 60px;
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Cards 7 Section
--------------------------------------------------------------*/
.cards-7 {
  padding-top: 46px;
  padding-bottom: 60px;
}

.cards-7 .card-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
}

.cards-7 .card-item .card-bg {
  min-height: 300px;
  position: relative;
}

.cards-7 .card-item .card-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.cards-7 .card-item .card-body {
  padding: 30px;
}

.cards-7 .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.cards-7 .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}


/*--------------------------------------------------------------
# Cards 8 Section
--------------------------------------------------------------*/
.cards-8 {
  padding-top: 46px;
  padding-bottom: 25px;
}

.cards-8 .card-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
}

.cards-8 .card-item .card-bg {
  min-height: 300px;
  position: relative;
}

.cards-8 .card-item .card-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.cards-8 .card-item .card-body {
  padding: 30px;
}

.cards-8 .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.cards-8 .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

/*--------------------------------------------------------------
# Cards 2 Section
--------------------------------------------------------------*/
/*.cards-2 {
    margin-top: 50px;
  }*/
.cards-2 .card-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  position: relative;
  border-radius: 0;
}

.cards-2 .card-item .card-bg {
  min-height: 300px;
  position: relative;
}

.cards-2 .card-item .card-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.cards-2 .card-item .card-body {
  padding: 30px;
}

.cards-2 .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.cards-2 .card-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}



/*--------------------------------------------------------------
# Clients 2 Section
--------------------------------------------------------------*/
.clients-2 {
  padding-top: 20px;
  overflow-x: hidden;
  padding-bottom: 60px;
}

.clients-2 .clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 15px 0;
}

.clients-2 .clients-slider:not(:last-child) {
  margin-bottom: 15px;
}

.clients-2 .clients-track {
  display: flex;
  width: fit-content;
  animation-duration: 25s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.clients-2 .clients-track.track-1 {
  animation-name: scroll-left;
}

.clients-2 .clients-track.track-2 {
  animation-name: scroll-right;
}

.clients-2 .clients-track:hover {
  animation-play-state: paused;
}

.clients-2 .clients-slide {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.clients-2 .clients-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 96%), transparent);
  transition: 0.5s;
}

.clients-2 .clients-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.clients-2 .clients-slide:hover::before {
  left: 100%;
}

.clients-2 .clients-slide:hover img {
  filter: none;
  opacity: 1;
}

.clients-2 .clients-slide img {
  max-width: 75%;
  max-height: 55%;
  filter: none; /* grayscale(100%) */
  opacity: 1; /* 0.6 */
  transition: all 0.3s ease;
  object-fit: contain;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1800px);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-1800px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .clients-2 {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .clients-2 .clients-slide {
    width: 160px;
    height: 80px;
    margin: 0 15px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1500px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1500px);
    }

    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 767px) {
  .clients-2 {
    padding-top: 25px;
    padding-bottom: 35px;
  }

  .clients-2 .clients-slide {
    width: 140px;
    height: 70px;
    margin: 0 12px;
  }

  .clients-2 .clients-slide img {
    max-width: 70%;
    max-height: 50%;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1200px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1200px);
    }

    100% {
      transform: translateX(0);
    }
  }
}

/* RTL Support for Clients 2 Section */
html[dir="rtl"] .clients-2 .clients-track.track-1 {
  animation-name: scroll-right;
}

html[dir="rtl"] .clients-2 .clients-track.track-2 {
  animation-name: scroll-left;
}

/* RTL-specific keyframes for smoother transitions */
@keyframes scroll-left-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(1800px);
  }
}

@keyframes scroll-right-rtl {
  0% {
    transform: translateX(1800px);
  }
  100% {
    transform: translateX(0);
  }
}

html[dir="rtl"] .clients-2 .clients-track.track-1 {
  animation-name: scroll-left-rtl;
}

html[dir="rtl"] .clients-2 .clients-track.track-2 {
  animation-name: scroll-right-rtl;
}

@media (max-width: 991px) {
  @keyframes scroll-left-rtl {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(1500px);
    }
  }

  @keyframes scroll-right-rtl {
    0% {
      transform: translateX(1500px);
    }
    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 767px) {
  @keyframes scroll-left-rtl {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(1200px);
    }
  }

  
  @keyframes scroll-right-rtl {
    0% {
      transform: translateX(1200px);
    }
    100% {
      transform: translateX(0);
    }
  }
}

/*--------------------------------------------------------------
# Contact 2 Section
--------------------------------------------------------------*/
.contact-2 {
  padding-top: 31px;
  padding-bottom: 23px;
}

.contact-2 .info-item {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;

   /* ✅ أضف الأسطر التالية */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.contact-2 .info-item-clickable {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-item-clickable p {
  display: block;
  margin: 5px 0;
  direction: ltr;
  text-align: center;
}

.col-md-6.d-flex {
  display: flex;
  flex-direction: column; /* ✅ ضروري! */
}

.contact-2 .info-item i {
  font-size: 38px;
  line-height: 0;
  color: var(--accent-color);
}

.contact-2 .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact-2 .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact-2 .php-email-form {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 30px;
  height: 100%;
}
.contact-2 .required-star {
  color: red;           /* يظهر النجمة باللون الأحمر */
  font-weight: bold;    /* يجعلها بارزة أكثر */
}

.contact-2 .php-email-form input[type=text],
.contact-2 .php-email-form input[type=email],
.contact-2 .php-email-form input[type=tel],
.contact-2 .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact-2 .php-email-form input[type=text]:focus,
.contact-2 .php-email-form input[type=email]:focus,
.contact-2 .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact-2 .php-email-form input[type=text]::placeholder,
.contact-2 .php-email-form input[type=email]::placeholder,
.contact-2 .php-email-form input[type=tel]::placeholder,
.contact-2 .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact-2 .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact-2 .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


/*


/*--------------------------------------------------------------
# RTL (Right-to-Left) Styles
--------------------------------------------------------------*/
html[dir="rtl"] .about {
  text-align: right;
}

html[dir="rtl"] .about .our-story {
  @media (min-width: 991px) {
    padding-left: 35%;
    padding-right: 40px;
  }
}

html[dir="rtl"] .about ul li {
  flex-direction: row-reverse;
  text-align: right;
  justify-content: flex-start;
  align-items: flex-start;
}

html[dir="rtl"] .about ul i {
  margin-right: 0;     /* لا تحتاج هامش يمين */
  margin-left: 0.5rem; /* فقط مسافة صغيرة يسار تفصل الأيقونة عن النص */
  flex-shrink: 0;      /* منع تقليص حجم الأيقونة */
  order: 2;            /* وضع الأيقونة في النهاية في RTL */
}

/* تحسين محاذاة النص في RTL */
html[dir="rtl"] .about ul li span {
  text-align: right;
  direction: rtl;
  order: 1;            /* وضع النص في البداية في RTL */
  flex: 1;             /* السماح للنص بأخذ المساحة المتبقية */
}

/* تحسين المسافات للقائمة في RTL */
html[dir="rtl"] .about ul {
  padding-right: 0;
  padding-left: 0;
  text-align: right;
}


/* الكود القديم
html[dir="rtl"] .about ul i {
  margin-right: 25px;
  margin-left: 30%;
}
*/

/* الكود القديم
 html[dir="rtl"] .about ul li {
  flex-direction: row-reverse;
} 
  */


/* html[dir="rtl"] .about .watch-video {
  justify-content: flex-end;
}

html[dir="rtl"] .about .watch-video a {
  margin-left: 0;
  margin-right: 8px;
} */

html[dir="rtl"] .about .about-img {
  @media (min-width: 992px) {
    right: auto;
    left: 0;
  }
}

html[dir="rtl"] .about .inner-title {
  text-align: right;
  @media (min-width: 991px) {
    text-align: right;
  }
}

/* Contact Form RTL Support */
html[dir="rtl"] .contact .php-email-form .row,
html[dir="rtl"] .contact-2 .php-email-form .row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact .php-email-form input,
html[dir="rtl"] .contact .php-email-form textarea,
html[dir="rtl"] .contact-2 .php-email-form input,
html[dir="rtl"] .contact-2 .php-email-form textarea {
  direction: rtl;
  text-align: right;
}
/*--------------------------------------------------------------
# Language Toggle Button Styles
--------------------------------------------------------------*/
#lang-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
  min-width: 60px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
margin: 0;
  padding: 6px 12px;
    white-space: nowrap;
    font-family: "EB Garamond", "Cairo", sans-serif;

  
}


#lang-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

#lang-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

#lang-toggle.active-ar {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

#lang-toggle.active-ar:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Subtle animation effect */
#lang-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#lang-toggle:hover::before {
  left: 100%;
}

/* Language indicator */
#lang-toggle::after {
  content: 'EN';
  font-size: 10px;
  font-weight: 600;
  opacity: 0.8;
  margin-left: 4px;
}

#lang-toggle.active-ar::after {
  content: 'AR';
}

/* Ensure language toggle button remains consistent in RTL mode */
html[dir="rtl"] #lang-toggle:not(.active-ar) {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
  min-width: 60px;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

html[dir="rtl"] #lang-toggle:not(.active-ar):hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

html[dir="rtl"] #lang-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

html[dir="rtl"] #lang-toggle.active-ar {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

html[dir="rtl"] #lang-toggle.active-ar:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
/*--------------------------------------------------------------
# RTL Language Toggle Button Spacing Fix
--------------------------------------------------------------*/
/* Ensure proper spacing between language toggle button and email icon in RTL mode */

html[dir="rtl"] .topbar .contact-info #lang-toggle {
  margin-left: 1rem; /* Add left margin in RTL mode */
  margin-right: 0;   /* Remove right margin in RTL mode */
}

/* Ensure proper spacing in LTR mode as well */
html[dir="ltr"] .topbar .contact-info #lang-toggle,
.topbar .contact-info #lang-toggle {
  margin-right: 1rem; /* Bootstrap me-3 equivalent */
  margin-left: 0;
}

/* Additional spacing for the email icon and text in RTL mode */
html[dir="rtl"] .topbar .contact-info .bi-envelope {
  margin-right: 0.2rem;
  margin-left: 0.2rem;
}

/* Add spacing between email icon and email text in RTL */
html[dir="rtl"] .topbar .contact-info i span,
html[dir="rtl"] .topbar .contact-info i a {
  margin-right: 0.2rem;
  padding-right: 0.2rem;
}

/* Ensure proper spacing between email and language toggle in RTL */
html[dir="rtl"] .topbar .contact-info {
  gap: 0.75rem;
}

html[dir="ltr"] #lang-toggle {
  margin-right: 0.25rem;
}

html[dir="rtl"] #lang-toggle {
  
  margin-left: 0.25rem
}

/*--------------------------------------------------------------
# Quick Contact Buttons Styling
--------------------------------------------------------------*/
.quick-contact-buttons .btn {
  padding: 12px 20px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid var(--accent-color);
}

.quick-contact-buttons .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.quick-contact-buttons .btn-primary:hover {
  background-color: var(--contrast-color);
  border-color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3, 109, 218, 0.3);
}

.quick-contact-buttons .btn-outline-primary {
  background-color: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.quick-contact-buttons .btn-outline-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3, 109, 218, 0.3);
}

.quick-contact-buttons .btn i {
  font-size: 1.1em;
}

/* RTL adjustments for quick contact buttons */
html[dir="rtl"] .quick-contact-buttons .btn i {
  margin-right: 0;
  margin-left: 0.5rem;
}

html[dir="rtl"] .quick-contact-buttons .btn {
  direction: rtl;
}
/*--------------------------------------------------------------
# Clickable Contact Info Items
--------------------------------------------------------------*/
.info-item-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.info-item-clickable:hover {
  color: inherit;
  text-decoration: none;
}

/* RTL adjustments for clickable info items */
html[dir="rtl"] .info-item-clickable {
  text-align: right;
}



/* Final Mobile Layout: Navigation icon (order: 1) followed by Language button (order: 2) */


/* contact */
/* هذا الكود يمنع عكس الأعمدة في RTL */
.form-row {
  direction: ltr;
}

[dir="rtl"] .form-row {
  direction: rtl;
  flex-direction: row !important; /* لا تعكس الترتيب */
}

[dir="rtl"] .form-row .form-control,
[dir="rtl"] .form-row label {
  text-align: right;
}


/* ###########################################################
                              يغير الخط
   ###########################################################  */
/* عندما اللغة عربية */

/*
body {
  font-family: var(--default-font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}

.navmenu a {
  font-family: var(--nav-font);
} */

/* لجعل الحروف الانجليزية في موضع ممتاز في الصفحة العربية */
.ltr-text {
  direction: ltr;
  unicode-bidi: plaintext;
  display: inline;
  /* font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; */
  font-variant-numeric: lining-nums;
}

/* هذا سيجعل الرابط بدون لون مختلف وبدون خط */
.plain-link {
  color: inherit;            /* نفس لون النص العادي */
  text-decoration: none;     /* يزيل الخط السفلي */
}

.plain-link:hover {
  
  text-decoration: none;     /* لا يظهر خط تحته */
}


/* ####################################################
                          احجام اللوقو
####################################################### */
/* تكبير الشعار بدون التأثير على nav */
/* تكبير الشعار في الشاشات الكبيرة */
.logo-img {
  height: 380px; /* 340px */
  width: auto;
  margin-top: 10px;
  max-height: none !important;
}

/* تعديل container للحد من التمدد */
.header .branding {
  height: 80px; /* أو حسب حجم شعارك */
  overflow: hidden;
  position: relative;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .logo-img {
    height: 280px;
  }

    [dir="ltr"] .logo-img {
    margin-left: 10px !important;
    margin-right: auto !important;
  }

    [dir="rtl"] .logo-img {
    margin-right: -10px !important;
    margin-left: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 767px) {
  .logo-img {
    height: 240px;
  }

   [dir="rtl"] .logo-img {
    margin-right: -25px !important;
    margin-left: auto !important;
  }

  [dir="ltr"] .logo-img {
    margin-left: -8px !important;
    margin-right: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


  /* محاذاة أقصى الطرفين 
  .header .branding .container-fluid {
    justify-content: space-between !important;
  } */

  [dir="rtl"] .header .branding .container {
    justify-content: flex-end !important;
  }


/* @media (min-width: 993px) {
  .header .container-fluid {
    padding-left: var(--edge-spacing-desktop);
    padding-right: var(--edge-spacing-desktop);
  }

  .logo-img,
  .navmenu,
  #lang-toggle,
  .mobile-nav-toggle {
    margin-left: var(--edge-spacing-desktop);
    margin-right: var(--edge-spacing-desktop);
  }
} */


@media (min-width: 993px) {
  [dir="rtl"] .logo-img,
  [dir="rtl"] .navmenu,
  [dir="rtl"] #lang-toggle,
  [dir="rtl"] .mobile-nav-toggle {
    margin-inline-start: var(--edge-spacing-desktop);
    margin-inline-end: var(--edge-spacing-desktop);
  }

  [dir="rtl"] .container-fluid {
    padding-inline-start: var(--edge-spacing-desktop);
    padding-inline-end: var(--edge-spacing-desktop);
  }
}  


/* ضبط الحاوية الرئيسية */
.header .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}


/* ضبط المسافة عند الاتجاه RTL */
[dir="rtl"] .header .container-fluid {
  padding-right: 1rem; /* المسافة من الجهة اليمنى */
  padding-left: 1.5rem;  /* المسافة من اليسار */
}

/* ضبط المسافة عند الاتجاه LTR */
[dir="ltr"] .header .container-fluid {
  padding-left: 2rem;  /* المسافة من الجهة اليسرى */
  padding-right: 1.5rem; /*   المسافة من اليمين للزر*/
}

html[lang="en"] body {
  font-family: "EB Garamond", serif;
  font-weight: 700; /* أفضل وزن مدعوم */
}

html[lang="ar"] body {
  font-family: 'EB Garamond',"Cairo", sans-serif;
  font-weight: 700;
}


.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 97, 128, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px; /* مهم لإعطاء مساحة حول المحتوى */
  box-sizing: border-box;
  overflow: hidden; /* يمنع تمرير الصفحة */
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;     /* ✅ تمرير رأسي */
  overflow-x: hidden;   /* 🚫 منع تمرير أفقي */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

html[dir="rtl"] .hero .container {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="ltr"] .hero .container {
  flex-direction: row;
  text-align: left;
}

/* ✅ تعديل خاص للجوال والتابلت فقط */
@media (max-width: 991.98px) {
  .footer-logo {
    /* margin-top: -155px !important; */
   /* margin-bottom: -140px !important; */
    margin-right: -15px !important;
  }

  .footer-logo img {
    height: 300px !important;
     /* margin-top: -40px !important; */
        margin-bottom: -50px !important; 
  }

 .footer-text {

    
  }

}

[dir="ltr"] .footer-logo {
  margin-left: -23px; /* حرّك اللوقو لليسار قليلاً */
}

/*--------------------------------------------------------------
# Portfolio Section - Live Decor Pgae
--------------------------------------------------------------*/

.portfolio {
  padding-top: 42px;
  padding-bottom: 60px;
}

.portfolio .portfolio-container {
  position: relative;
}

/* يخفي الصورة السابعة 
.portfolio-container .portfolio-item:nth-child(n+7) {
  display: none;
} */

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--heading-color);
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
  background: color-mix(in srgb, var(--surface-color), var(--heading-color) 5%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: 0.3s;
  width: 100%;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--contrast-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--contrast-color);
  font-size: 14px;
  margin: 0 0 15px 0;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links {
  display: flex;
  gap: 15px;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a {
  color: var(--contrast-color);
  font-size: 20px;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  line-height: 0;
}

.portfolio .portfolio-wrap .portfolio-info .portfolio-links a:hover {
  background: var(--accent-color);
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .section-title-1 {
  text-align: center;
  padding-bottom: 10px;
  position: relative;
}


/*--------------------------------------------------------------
# Portfolio Section - Live Decor Pgae
--------------------------------------------------------------*/

.portfolio-2 {
  padding-top: 42px;
  padding-bottom: 60px;
}

.portfolio-2 .portfolio-container {
  position: relative;
}

.portfolio-2 .portfolio-filters {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.portfolio-2 .portfolio-filters li {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--heading-color);
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
  background: color-mix(in srgb, var(--surface-color), var(--heading-color) 5%);
}

.portfolio-2 .portfolio-filters li:hover {
  color: var(--accent-color);
}

.portfolio-2 .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.portfolio-2 .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  z-index: 1;
}

.portfolio-2 .portfolio-wrap::before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio-2 .portfolio-wrap img {
  transition: 0.3s;
  width: 100%;
}

.portfolio-2 .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio-2 .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--contrast-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio-2 .portfolio-wrap .portfolio-info p {
  color: var(--contrast-color);
  font-size: 14px;
  margin: 0 0 15px 0;
}

.portfolio-2 .portfolio-wrap .portfolio-info .portfolio-links {
  display: flex;
  gap: 15px;
}

.portfolio-2 .portfolio-wrap .portfolio-info .portfolio-links a {
  color: var(--contrast-color);
  font-size: 20px;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  line-height: 0;
}

.portfolio-2 .portfolio-wrap .portfolio-info .portfolio-links a:hover {
  background: var(--accent-color);
}

.portfolio-2 .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio-2 .portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio-2 .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}



/* ####################################################
                          احجام اللوقو
####################################################### */
/* تكبير الشعار بدون التأثير على nav */
/* تكبير الشعار في الشاشات الكبيرة */
.logo-img1 {
  height: 280px;
  width: auto;
  margin-top: 25px;
  max-height: none !important;
}

 [dir="ltr"] .logo-img1 {
    margin-left: 0px !important;
    margin-right: auto !important;
  }

/* تعديل container للحد من التمدد */
.header .branding {
  height: 80px; /* أو حسب حجم شعارك */
  overflow: hidden;
  position: relative;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .logo-img1 {
    height: 280px;
  }

    [dir="ltr"] .logo-img1 {
    margin-left: -10px !important;
    margin-right: auto !important;
  }

    [dir="rtl"] .logo-img1 {
    margin-right: -18px !important;
    margin-left: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 767px) {
  .logo-img1 {
    height: 240px;
  }

   [dir="rtl"] .logo-img1 {
    margin-right: -30px !important;
    margin-left: auto !important;
  }

  [dir="ltr"] .logo-img1 {
    margin-left: -17px !important;
    margin-right: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


  /* محاذاة أقصى الطرفين 
  .header .branding .container-fluid {
    justify-content: space-between !important;
  } */

  [dir="rtl"] .header .branding .container {
    justify-content: flex-end !important;
  }

@media (min-width: 993px) {
  [dir="rtl"] .logo-img1,
  [dir="rtl"] .navmenu,
  [dir="rtl"] #lang-toggle,
  [dir="rtl"] .mobile-nav-toggle {
    margin-inline-start: var(--edge-spacing-desktop);
    margin-inline-end: var(--edge-spacing-desktop);
  }

  [dir="rtl"] .container-fluid {
    padding-inline-start: var(--edge-spacing-desktop);
    padding-inline-end: var(--edge-spacing-desktop);
  }
}  



/* ✅ تعديل خاص للجوال والتابلت فقط */
@media (max-width: 991.98px) {
  .footer-logo1 {

    margin-right: -23px !important;
  }

  .footer-logo1 img {
    height: 300px !important;
    margin-left: 10px;
    margin-bottom: -25px;
  }

 .footer-text {
    margin-top: 50px !important; /* مسافة أكبر بين الشعار والنص */
  }

  
}

[dir="ltr"] .footer-logo1 {
  margin-left: -50px; /* حرّك اللوقو لليسار قليلاً */
}


/* #############################################################################################
  -------------------------------- Logo Live Decor Planet --------------------------------------
############################################################################################### */

/* ####################################################
                          احجام اللوقو
####################################################### */
/* تكبير الشعار بدون التأثير على nav */
/* تكبير الشعار في الشاشات الكبيرة */
.logo-img-p {
  height: 300px;
  width: auto;
  /* margin-top: 3px; */
  margin-bottom: 5px;
  max-height: none !important;
}

/* تعديل container للحد من التمدد */
.header .branding {
  height: 80px; /* أو حسب حجم شعارك */
  overflow: hidden;
  position: relative;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .logo-img-p {
    height: 250px;
  }

    [dir="ltr"] .logo-img-p {
    margin-left: 10px !important;
    margin-right: auto !important;
  }

    [dir="rtl"] .logo-img-p {
    margin-right: -8px !important;
    margin-left: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 767px) {
  .logo-img-p {
    height: 210px;
  }

   [dir="rtl"] .logo-img-p {
    margin-right: -15px !important;
    margin-left: auto !important;
  }

  [dir="ltr"] .logo-img-p {
    margin-left: 0px !important;
    margin-right: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

  [dir="rtl"] .header .branding .container {
    justify-content: flex-end !important;
  }

@media (min-width: 993px) {
  [dir="rtl"] .logo-img-p,
  [dir="rtl"] .navmenu,
  [dir="rtl"] #lang-toggle,
  [dir="rtl"] .mobile-nav-toggle {
    margin-inline-start: var(--edge-spacing-desktop);
    margin-inline-end: var(--edge-spacing-desktop);
  }

  [dir="rtl"] .container-fluid {
    padding-inline-start: var(--edge-spacing-desktop);
    padding-inline-end: var(--edge-spacing-desktop);
  }
}  



/* ✅ تعديل خاص للجوال والتابلت فقط */
@media (max-width: 991.98px) {
  .footer-logo-p {
    margin-top: -116px !important; /* جرّب تخفف الرفع شوي */
    text-align: center;
  }

  .footer-logo-p img {
    height: 260px !important;   /* صغّر الشعار أكثر */
    margin-bottom: 33px !important; /* ألغِ أي مسافة تحت الشعار */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-text-p {
    margin-top: 0px !important;   /* شيل المسافة بين النص والشعار */
    padding-top: 0px !important;
    line-height: 1.5;             /* للتنسيق */
  }
}

/* مسافة بين الشعار والنص في الديسكتوب */
.footer-text-p {
  margin-top: 50px !important; /* كما هو */
}

/* ✅ اتجاه LTR (إنجليزي) */
[dir="ltr"] .footer-logo-p {
  margin-left: -7px; /* دفع بسيط لليسار */
}

/* ✅ اتجاه RTL (عربي) */
[dir="rtl"] .footer-logo-p img {
  margin-right: 8px !important; /* مسافة صغيرة من أقصى يمين الشاشة */
}




.card-list1 {
  padding-left: 1.2em;  /* للمحتوى الإنجليزي */
  padding-right: 1.2em; /* للمحتوى العربي */
  margin: 0;
}

.card-list1 li {
  margin-bottom: 6.8px;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  text-align: start; /* يبدأ من اليسار في الإنجليزية، ومن اليمين في العربية تلقائياً */
  direction: inherit; /* يتبع لغة الصفحة */
}



/* ######################################################################################### 
------------------------------------- Error 404 2 Section ---------------------------------
############################################################################################*/

.error-404-2 {
  padding-top: 60px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.error-404-2 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404-2 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404-2 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404-2 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404-2 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404-2 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404-2 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404-2 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404-2 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404-2 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404-2 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404-2 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404-2 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404-2 {
    padding: 60px 0;
  }

  .error-404-2 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404-2 .error-title {
    font-size: 1.5rem;
  }

  .error-404-2 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404-2 .search-box {
    margin: 0 20px;
  }
}



/* ####################################################
               Live Solutions   احجام اللوقو
####################################################### */
/* تكبير الشعار بدون التأثير على nav */
/* تكبير الشعار في الشاشات الكبيرة */
.logo-img-ls {
  height: 330px;
  width: auto;
  margin-top: 10px;
  max-height: none !important;
}

 [dir="ltr"] .logo-img-ls {
    margin-left: 10px !important;
    margin-right: auto !important;
  }

/* تعديل container للحد من التمدد */
.header .branding {
  height: 80px; /* أو حسب حجم شعارك */
  overflow: hidden;
  position: relative;
}

/* الشاشات المتوسطة */
@media (max-width: 992px) {
  .logo-img-ls {
    height: 280px;
  }

    [dir="ltr"] .logo-img-ls {
    margin-left: -10px !important;
    margin-right: auto !important;
  }

    [dir="rtl"] .logo-img-ls {
    margin-right: -18px !important;
    margin-left: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* الشاشات الصغيرة */
@media (max-width: 767px) {
  .logo-img-ls {
    height: 230px;
  }

   [dir="rtl"] .logo-img-ls {
    margin-right: -20px !important;
    margin-left: auto !important;
  }

  [dir="ltr"] .logo-img-ls {
    margin-left: 0px !important;
    margin-right: auto !important;
  }

  .header .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


  /* محاذاة أقصى الطرفين 
  .header .branding .container-fluid {
    justify-content: space-between !important;
  } */

  [dir="rtl"] .header .branding .container {
    justify-content: flex-end !important;
  }

@media (min-width: 993px) {
  [dir="rtl"] .logo-img-ls,
  [dir="rtl"] .navmenu,
  [dir="rtl"] #lang-toggle,
  [dir="rtl"] .mobile-nav-toggle {
    margin-inline-start: var(--edge-spacing-desktop);
    margin-inline-end: var(--edge-spacing-desktop);
  }

  [dir="rtl"] .container-fluid {
    padding-inline-start: var(--edge-spacing-desktop);
    padding-inline-end: var(--edge-spacing-desktop);
  }
}  


/* ✅ تعديل خاص للجوال والتابلت فقط */
@media (max-width: 991.98px) {
  .footer-logo-ls {

    margin-right: -18px !important;
  }

  .footer-logo-ls img {
    height: 300px !important;
    margin-left: 0px;
    margin-bottom: -25px;
  }

 .footer-text {
    margin-top: 50px !important; /* مسافة أكبر بين الشعار والنص */
  }

  
}

[dir="ltr"] .footer-logo-ls {
  margin-left: -13px; /* حرّك اللوقو لليسار قليلاً */
}

