/* إعداد الخط */
@import url("https://db.onlinewebfonts.com/c/7dfdff9f5cff88cd3898ccd72c83f653?family=TheMixArab");

body {
  font-family: "TheMixArab", sans-serif;
  background-color: #e5e1e6;
  scroll-behavior: smooth;
}

/* RTL/LTR Specific Styles */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

.navbar {
  background-color: #e5e1e6 !important;
  height: 80px;
  min-height: 80px;
}

.navbar .nav-link {
  color: #000;
  font-weight: bold;
}

.navbar .nav-link:hover {
  color: #007bff;
}

.navbar-brand img {
  height: 120px;
  width: auto;
  display: block;
  max-height: 100%;
}
/* ✅ زر اللغة */
.lang-btn {
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  transition: all 0.3s;
}
.lang-btn:hover {
  background: #0d6efd;
  color: #fff;
}

/* القائمة المنسدلة */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.dropdown-menu {
  direction: rtl;
  text-align: right;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.navbar .social-nav .nav-link {
  margin-inline-start: .25rem;
}

.navbar .dropdown-toggle::after {
  margin-inline-start: .35rem;
}

@media (min-width: 992px) {
  .navbar .social-nav i {
    font-size: 1.05rem !important; 
  }
}


.custom-dropdown {
  direction: rtl;
  text-align: right;
  right: 0;
  left: auto;
}

.navbar .dropdown-menu {
  min-width: 14rem;
}

/* 🔄 إعادة ترتيب العناصر حسب اللغة */
html[dir="rtl"] .navbar .container {
  flex-direction: row;
}
html[dir="ltr"] .navbar .container {
  flex-direction: row;
}
html[dir="ltr"] .navbar .navbar-brand {
  order: -1; /* اللوغو يسار */
}
html[dir="ltr"] .navbar .main-nav {
  order: 0; /* القائمة */
}
html[dir="ltr"] .navbar .social-nav {
  order: 1; /* السوشال */
}
html[dir="ltr"] .navbar .lang-switch {
  order: 2; /* زر اللغة */
}

/* موبايل */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  .navbar .logo-img {
    height: 75px !important;
  }
}


/* البلوك الخاص بقسم الهيرو */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* صورة الخلفية */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* التدرج */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 74, 111, 0.85), rgba(0, 74, 111, 0.1));
  z-index: 2;
}

/* النص */
.text-container {
  z-index: 3;
  direction: rtl;
}


.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  text-align: right;
  position: relative;
  direction: rtl;
}


.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 1;
}



.slogan {
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffff;
  animation: fadeInDown 1.5s ease-in-out;
}

/* أنيميشن لطيف للظهور من الأعلى */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تنسيق العنوان الرئيسي */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
}

/* تنسيق الكروت */
.custom-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* تنسيق العناوين داخل الكروت */
.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #34495e;
}

/* تنسيق النصوص داخل الكروت */
.card-text {
  font-size: 1rem;
  color: #555;
}

/* تنسيق زر التحميل */
.custom-btn {
  background-color: #007bff;
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.custom-btn:hover {
  background-color: #0056b3;
  color: #fff;
}
/* عنوان القسم */
.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
}

/* البطاقة */
.contact-card-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* الأيقونة */
.contact-icon {
  font-size: 2.8rem;
  color: #198754;
}

/* عنوان كل بطاقة */
.contact-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #34495e;
}

/* نصوص العناوين والأرقام */
.contact-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

/* زر واتساب */
.contact-btn {
  background-color: #198754;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #146c43;
  color: #fff;
}


.card img {
  height: 200px;
  object-fit: cover;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* تخصيصات خاصة بالموبايل */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar .logo-img {
    height: 75px !important;
  }

  /* وسط الشعار */
  .navbar .navbar-brand.mx-auto {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* لإظهار الشعار فقط في الشاشات الصغيرة */
  .navbar .navbar-brand.d-lg-none {
    display: block;
  }

  /* إخفاء الشعار الكبير في الموبايل */
  .navbar .navbar-brand.d-none.d-lg-block {
    display: none !important;
  }
  
}
@media (max-width: 767.98px) {
	 .hero-overlay {
		  position: absolute;
		  top: 0;
		  right: 0;
		  width: 100%;
		  height: 100%;
		  background: linear-gradient(to left, rgba(0, 74, 111, 0.85), rgba(0, 74, 111, 0.30));
		  z-index: 2;
	}
}


.text-pink { color: #d63384; }
.btn-outline-pink {
  color: #d63384;
  border-color: #d63384;
}
.btn-outline-pink:hover {
  background-color: #d63384;
  color: #fff;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5); /* خلفية داكنة شفافة */
  border-radius: 50%;
  background-size: 60% 60%; /* لتصغير السهم داخل الدائرة */
}

/* فاصل أنيق بين الأيقونات وزر اللغة */
.navbar-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.15);
  margin-inline: 1rem;
  border-radius: 1px;
}
.phone-number {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Roboto Mono', monospace;
    letter-spacing: 0.5px;
}



/* عرض القوائم في الموبايل */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eee;
    padding: 1rem;
    backdrop-filter: blur(8px);
  }

  .navbar-nav .nav-link {
    color: #111 !important;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0.5rem 0;
  }

  .navbar-nav .nav-link:hover {
    color: #0d6efd !important;
  }

  .social-nav {
    justify-content: center;
  }
  .navbar-nav.social-nav {
    display: flex !important;
    justify-content: center; /* توسيط الأيقونات */
    gap: 15px; /* مسافة بين الأيقونات */
    flex-direction: row !important; /* عرضها في صف واحد */
    margin-top: 10px;
  }

  .navbar-nav.social-nav .nav-item {
    display: inline-block;
  }

  .navbar-nav.social-nav .nav-link {
    font-size: 1.3rem;
    color: #333;
  }

  .navbar-nav.social-nav .nav-link:hover {
    color: #0d6efd;
  }

}

/* --------------------------
   محاذاة القائمة حسب اللغة
--------------------------- */
html[dir="rtl"] .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="ltr"] .navbar-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
}


/* ----------------------------
   تنظيم عرض أيقونات السوشال في الموبايل
----------------------------- */
@media (max-width: 991.98px) {
  .navbar-nav .social-nav {
    display: inline-flex !important;
    margin: 0 6px !important;
  }

  /* جعل جميع الأيقونات في صف واحد */
  .navbar-nav.ms-lg-4 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  /* تحسين محاذاة زر اللغة بعد الأيقونات */
  .navbar-nav.ms-lg-4 .lang-btn {
    margin-left: 10px;
    margin-right: 10px;
  }

  /* إخفاء الفاصل في الموبايل */
  .navbar-divider {
    display: none !important;
  }
}


