/* Add custom CSS styles below */ 
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #ffffff;
}

.features-section {
  padding: 60px 20px 90px;
  text-align: center;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

/* العنوان الرئيسي: مميزاتنا */
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.5; /* زيادة المسافة الرأسية عشان الحروف متتقصش من تحت */
  padding-bottom: 6px; /* مساحة إضافية أسفل النص */
  margin-bottom: 44px;
  display: inline-block;
  overflow: visible; /* التأكد من عدم قص أي جزء من الحروف */
  background: linear-gradient(to left, #a89078 0%, #a89078 45%, #343d52 55%, #343d52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* تنسيق الشبكة (3 أعمدة متساوية) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* البطاقة مع إطار متدرج وزوايا دائرية */
.feature-card {
  position: relative;
  border-radius: 14px;
  padding: 45px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 255px;
  
  /* خدعة عمل border-gradient مع border-radius */
  border: 1.5px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, #cbb69e 0%, #3d485e 100%) border-box;
  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(52, 61, 82, 0.08);
}

/* حاوية الأيقونة */
.card-icon {
  margin-bottom: 18px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  max-height: 100%;
  width: auto;
}

/* عنوان البطاقة */
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.text-gold {
  color: #9c8671; /* اللون البيج/الذهبي */
}

.text-dark {
  color: #3d4656; /* اللون الكحلي الداكن */
}

/* وصف البطاقة */
.card-desc {
  font-size: 0.88rem;
  color: #888888;
  line-height: 1.6;
  max-width: 260px;
}

/* التجاوب مع الشاشات المتوسطة والصغيرة */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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




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

.categories-section {
  font-family: 'Tajawal', sans-serif;
  padding: 50px 20px 70px;
  background-color: #ffffff;
  text-align: center;
}

.categories-container {
  max-width: 900px;
  margin: 0 auto;
}

/* عنوان: أقسامنا */
.categories-title {
  font-size: 36.5px;
  font-weight: 800;
  line-height: 64px;
  margin: 0 auto 40px;
  display: inline-block;
  background: linear-gradient(90deg, rgba(41, 53, 79, 1) 0%, rgba(191, 164, 135, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* حاوية الدائرتين */
.categories-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 55px;
  flex-wrap: wrap;
}

/* الرابط الشامل للصورة والنص */
.category-item,
.category-item:visited,
.category-item:active {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-6px);
}

/* الدائرة مع إطار متدرج رفيع */
.category-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1.5px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg, rgba(41, 53, 79, 0.8) 0%, rgba(191, 164, 135, 0.8) 100%) border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-item:hover .category-circle img {
  transform: scale(1.05);
}

/* اسم القسم أسفل الدائرة */
.category-name {
  font-size: 24px;
  font-weight: 700;
  color: #29354f !important;
  margin: 0;
  transition: color 0.3s ease;
}

.category-item:hover .category-name {
  color: #bfa487 !important;
}

/* التجاوب مع الموبايل */
@media (max-width: 650px) {
  .categories-title {
    font-size: 30px;
    line-height: 48px;
    margin-bottom: 30px;
  }

  .categories-grid {
    gap: 28px;
  }

  .category-circle {
    width: 155px;
    height: 155px;
    margin-bottom: 14px;
  }

  .category-name {
    font-size: 19px;
  }
}