@font-face {
  font-family: 'IBMPlexArabic_Light';
  src: url('../fonts/IBMPLEXSANSARABIC-LIGHT.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IBMPlexArabic_Blod';
  src: url('../fonts/IBMPLEXSANSARABIC-BOLD.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --font-bold: 'IBMPlexArabic_Blod';
  --font-regular: 'IBMPlexArabic_Light', sans-serif;
  --color-primary: #06483a;
  --color-secondary: #997d65;
  --color-light-primary: rgba(214, 90, 51, 0.13);
}

/* ===== variables ===== */
:root {
  /* Primary color */
  --primary-color: #215d41;
  /* أزرق داكن */
  --secondary-color: rgba(33, 93, 65, 0.87);
  /* أزرق متوسط */
  --accent-color: #d8af4d;
  /* ذهبي */
  --text-primary: #2d3748;
  /* رمادي داكن */
  --text-secondary: #4a5568;
  /* رمادي متوسط */
  --text-light: #718096;
  /* رمادي فاتح */
  --background-light: #f7fafc;
  /* خلفية فاتحة */
  --white: #ffffff;
  --border-color: #e2e8f0;



  --beage-color: #f6f5e9;

  /* Fonts */
  --font-primary: 'IBMPlexArabic_Blod';
  --font-secondary: 'IBMPlexArabic_Light', sans-serif;


  /* الأحجام */
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ===== إعدادات عامة ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.text-primary {
  color: var(--primary-color) !important;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
}

html {
  scroll-behavior: smooth;
}

/* ===== الخطوط ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ===== الأزرار ===== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-accent:hover {
  background-color: #b8941f;
  border-color: #b8941f;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

/* ===== شريط التنقل ===== */
.navbar {
  background-color: var(--beage-color);
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--secondary-color);
}

.nav-link {
  font-size: 16px;

}

.navbar-expand-lg .navbar-nav {
  margin-right: auto;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* ===== قسم البطل ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== البطاقات ===== */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.card-header {
  background-color: var(--primary-color);
  color: var(--white);
  border-bottom: none;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== الأقسام ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.bg-light-section {
  background-color: var(--background-light);
}

.bg-beage-section {
  background-color: var(--beage-color);
}

/* ===== الأيقونات ===== */
.icon-box {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.icon-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.icon-box h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.icon-box p {
  color: var(--text-secondary);
}

/* ===== الجداول ===== */
.table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-weight: 600;
}

.table tbody tr:hover {
  background-color: var(--background-light);
}

/* ===== التذييل ===== */
.footer {
  background-color: #f6f5e9;
  color: var(--white);
  border-top: 1px solid #215d41;
  padding: 50px 0 30px;
}

.footer h5 {
  color: black;
  margin-bottom: 1.5rem;
}

.footer p,
.footer a {
  color: black;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgb(0 0 0 / 10%);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

/* ===== الاستجابة للشاشات الصغيرة ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-outline-primary,
  .btn-accent {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .section {
    padding: 40px 0;
  }
}

/* ===== تحسينات إضافية ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== تحسينات للطباعة ===== */
@media print {

  .navbar,
  .footer {
    display: none;
  }

  .hero-section {
    background: var(--white);
    color: var(--text-primary);
  }

  .section {
    padding: 20px 0;
  }
}





:root {
  --primary: #1f6b63;
  --accent: #e78a6e;
  --muted: #6f6f6f;
  --card-bg: #ffffff;
  --radius: 12px;
  --gap: 18px;
  --shadow: 0 12px 30px rgba(18, 24, 22, 0.06);
}

/* الحاوية العامة */
.contact-cards-section {
  padding: 30px 0;
  background: transparent;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* شبكة البطاقات */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

/* كل بطاقة */
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 107, 99, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  transition: transform .16s ease, box-shadow .16s ease;
  min-height: 170px;
}

/* دائرة الأيقونة */
.icon-wrap {
  width: 68px;
  height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(31, 107, 99, 0.12), rgba(31, 107, 99, 0.06));
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(31, 107, 99, 0.06);
}

/* العنوان والوصف */
.contact-title {
  margin: 0;
  font-size: 18px;
  color: var(--primary);
  font-weight: 800;
}

.contact-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

/* زر الإجراء داخل البطاقة */
.contact-action {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(231, 138, 110, 0.12);
  transition: transform .14s ease, box-shadow .14s ease, opacity .14s;
}

/* Hover & focus */
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(18, 24, 22, 0.08);
}

.contact-action:hover,
.contact-action:focus {
  opacity: .95;
  transform: translateY(-2px);
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .icon-wrap {
    width: 58px;
    height: 58px;
  }

  .contact-card {
    padding: 18px;
    min-height: 140px;
  }
}

/* الوصول (keyboard) */
.contact-card a:focus,
.contact-action:focus {
  outline: 3px solid rgba(31, 107, 99, 0.12);
  outline-offset: 4px;
  border-radius: 8px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: 0.3s ease;
}

.card:hover .icon-circle {
  background: rgba(0, 123, 255, 0.2);
  transform: scale(1.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.services-section {
  background-color: #f9f9f9;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.card-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

ul {
  padding-left: 20px;
}

ul li {
  font-size: 15px;
  margin-bottom: 10px;
}

ul li strong {
  color: #215d41;
  font-weight: bold;
  font-size: 17px;
}

/* تخصيص التنسيق العام للعناوين */
.card-title.text-primary {
  position: relative;
  /* لتحديد مكان العناصر pseudo */
  font-size: 1.6rem;
  /* حجم الخط */
  font-weight: 700;
  /* سمك الخط */
  color: #215d41;
  /* اللون الأساسي للنص */
  padding: 10px 20px;
  /* إضافة مسافة حول النص */
  text-transform: uppercase;
  /* جعل النص بالحروف الكبيرة */
  letter-spacing: 1px;
  /* مسافة بين الحروف */
  transition: color 0.3s ease, transform 0.3s ease;
  /* إضافة تأثيرات انتقالية */
}

/* إضافة خط زخرفي قبل النص */
.card-title.text-primary::before {
  content: "";
  /* لا يحتوي على نص */
  position: absolute;
  left: 0;
  /* محاذاة إلى اليسار */
  top: 50%;
  /* محاذاة عموديًا */
  transform: translateY(-50%);
  /* مركز النص عموديًا */
  width: 15px;
  /* عرض الخط */
  height: 3px;
  /* سمك الخط */
  background-color: #215d41;
  /* اللون الأخضر */
  border-radius: 2px;
  /* جعل الحواف دائرية */
  transition: width 0.3s ease;
  /* تأثير عند التفاعل مع الماوس */
}

/* إضافة خط زخرفي بعد النص */
.card-title.text-primary::after {
  content: "";
  /* لا يحتوي على نص */
  position: absolute;
  right: 0;
  /* محاذاة إلى اليمين */
  top: 50%;
  /* محاذاة عموديًا */
  transform: translateY(-50%);
  /* مركز النص عموديًا */
  width: 15px;
  /* عرض الخط */
  height: 3px;
  /* سمك الخط */
  background-color: #215d41;
  /* اللون الأخضر */
  border-radius: 2px;
  /* جعل الحواف دائرية */
  transition: width 0.3s ease;
  /* تأثير عند التفاعل مع الماوس */
}

/* عند مرور الماوس على العنوان */
.card-title.text-primary:hover {
  color: #fff;
  /* تغيير لون النص إلى الأبيض عند المرور عليه */
}

#services-tabs .nav-link.active {
  border: 1px solid #215d41;
  color: white !important;
  background-color: #215d41 !important;
  margin: 0 5px;
}

/* تصميم التاب الغير نشط */
#services-tabs .nav-link {
  border: 1px solid #215d41;
  color: #215d41;
  background-color: white;
  margin: 0 5px;
}

/* تغيير اللون عندما يمر الماوس على التاب */
#services-tabs .nav-link:hover {
  background-color: #215d41;
  color: white;
}

/* اجعل العنصر يحتوي على شريط تمرير أفقي على الجوال */

#services-tabs ul {
  margin-left: -20px !important;
}

/* عند مرور الماوس على العنوان، زيادة عرض الخطوط */