/**
 * منى للدهانات - تنسيقات صفحات الخدمات
 * ==================================================
 * 
 * المتغيرات الرئيسية:
 * --primary-gold: #d4a046 (اللون الذهبي الرئيسي)
 * --primary-navy: #1f2b44 (اللون الكحلي الرئيسي)
 * --section-padding: clamp(3rem, 5vw, 5rem) (المساحات العمودية للأقسام)
 * --transition-base: 0.3s (سرعة التأثيرات الانتقالية)
 * --border-radius: 8px (زوايا العناصر المدورة)
 */

:root {
  /* الألوان الأساسية */
  --primary-gold: #d4a046;
  --primary-gold-light: #e4b056;
  --primary-gold-dark: #c49036;
  --primary-navy: #1f2b44;
  --primary-navy-light: #24365b;
  --primary-navy-dark: #1a2338;

  /* الألوان التكميلية */
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* خلفيات وألوان النص */
  --light-bg: #ffffff;
  --light-bg-alt: #f8f9fa;
  --light-text: #1f2b44;
  --light-text-muted: #6c757d;

  --dark-bg: #1f2b44;
  --dark-bg-alt: #1a2338;
  --dark-text: #ffffff;
  --dark-text-muted: #cbd5e1;

  /* الخطوط */
  --font-primary: "Cairo", sans-serif;
  --font-secondary: "Tajawal", sans-serif;

  /* الزوايا */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;

  /* المساحات */
  --section-padding: clamp(3rem, 5vw, 5rem);
  --grid-gap: 1.5rem;

  /* الظلال */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 10px rgba(0, 0, 0, 0.08), 0 0 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 15px 20px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 8px 15px rgba(0, 0, 0, 0.15);

  /* الانتقالات */
  --transition-fast: 0.2s;
  --transition-base: 0.3s;
  --transition-slow: 0.5s;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* تطبيق المتغيرات حسب الوضع (فاتح/داكن) */
:root,
[data-bs-theme="light"] {
  --body-bg: var(--light-bg);
  --body-bg-alt: var(--light-bg-alt);
  --body-text: var(--light-text);
  --body-text-muted: var(--light-text-muted);
  --card-bg: var(--light-bg);
  --border-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] {
  --body-bg: var(--dark-bg);
  --body-bg-alt: var(--dark-bg-alt);
  --body-text: var(--dark-text);
  --body-text-muted: var(--dark-text-muted);
  --card-bg: var(--dark-bg-light);
  --border-color: rgba(255, 255, 255, 0.1);
}

/* ===== ضبط عام ===== */
body {
  font-family: var(--font-primary);
  background-color: var(--body-bg);
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--body-text);
  line-height: 1.3;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-gold-dark);
}

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

.section-padding {
  padding: var(--section-padding) 0;
}

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

.bg-primary {
  background-color: var(--primary-navy) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
  right: 0;
  left: auto;
}

.btn-primary {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-navy);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-gold-light);
  border-color: var(--primary-gold-light);
  color: var(--primary-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--primary-gold);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: white;
  color: var(--primary-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #22c55e;
  border-color: #22c55e;
  color: white;
}

.btn-link {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--primary-gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link::before {
  display: none;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--primary-gold-dark);
  text-decoration: none;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ===== عنوان القسم ===== */
.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--body-text);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--body-text-muted);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-line {
  height: 4px;
  width: 80px;
  background: var(--primary-gold);
  margin: 0 auto;
  position: relative;
}

.section-line::before,
.section-line::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 25px;
  background-color: var(--primary-gold);
  top: 0;
}

.section-line::before {
  left: -35px;
}

.section-line::after {
  right: -35px;
}

.section-header.text-start .section-line {
  margin: 0;
}

.section-header.text-start .section-line::before,
.section-header.text-start .section-line::after {
  display: none;
}

/* ===== قسم الهيرو (صفحة الخدمات) ===== */
.services-hero {
  position: relative;
  margin-bottom: 3rem;
}

.services-hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  padding: 100px 0;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(31, 43, 68, 0.85),
    rgba(31, 43, 68, 0.7)
  );
}

.services-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem 0;
}

.breadcrumb {
  background-color: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: white;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--primary-gold);
}

.breadcrumb-item.active {
  color: var(--primary-gold);
}

.services-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: white;
}

.services-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  max-width: 700px;
  opacity: 0.9;
}

.services-stats {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-item {
  flex-grow: 1;
  flex-basis: calc(25% - 1.5rem);
  text-align: center;
  position: relative;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 0.25rem;
  font-family: var(--font-secondary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.services-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.services-hero-image img {
  max-height: 400px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

/* ===== نظرة عامة على الخدمات ===== */
.services-overview {
  position: relative;
}

.services-overview-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.services-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-experience {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 130px;
  height: 130px;
  border-radius: var(--border-radius-circle);
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--primary-gold-dark)
  );
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.experience-years {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.experience-text {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2;
}

.services-shape {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background-color: var(--primary-navy);
  border-radius: var(--border-radius-circle);
  opacity: 0.1;
  z-index: -1;
}

.services-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content {
  flex-grow: 1;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-content p {
  color: var(--body-text-muted);
  margin-bottom: 0;
}

/* ===== الخدمات المميزة ===== */
.featured-services {
  background-color: var(--body-bg-alt);
}

.featured-services-slider {
  padding: 1rem 0 3rem;
}

.featured-service-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--border-color);
}

.featured-service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.featured-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.featured-service-card:hover .featured-service-image img {
  transform: scale(1.1);
}

.service-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 160, 70, 0.1);
  color: var(--primary-gold);
  font-size: 4rem;
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--primary-gold-dark)
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.featured-service-content {
  padding: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  background-color: rgba(212, 160, 70, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-base);
}

.featured-service-card:hover .service-icon {
  background-color: var(--primary-gold);
  color: white;
  transform: rotateY(180deg);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-gold);
  margin-bottom: 1.25rem;
}

.service-description {
  color: var(--body-text-muted);
  margin-bottom: 1.5rem;
}

.service-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background-color: rgba(212, 160, 70, 0.05);
  border-radius: var(--border-radius);
}

.price-label {
  font-weight: 600;
  color: var(--body-text);
  font-size: 0.95rem;
}

.price-value {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.service-actions {
  display: flex;
  gap: 0.75rem;
}

/* ===== شبكة الخدمات ===== */
.services-filter {
  margin-bottom: 2rem;
  overflow: hidden;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.75rem 1.25rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  color: var(--body-text);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-btn:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.filter-btn.active {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: white;
}

.filter-btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 0.75rem;
}

.filter-btn.active .count {
  background-color: white;
  color: var(--primary-gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  height: 100%;
  transition: transform var(--transition-base);
}

.service-card-inner {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.service-card:hover .service-card-inner {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(31, 43, 68, 0.7),
    rgba(31, 43, 68, 0) 50%
  );
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.view-details {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transform: translateY(20px);
  transition: all var(--transition-slow) 0.1s;
  opacity: 0;
}

.service-card:hover .view-details {
  transform: translateY(0);
  opacity: 1;
}

.service-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-gold);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: var(--shadow);
}

.service-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--body-text-muted);
}

.service-category,
.service-projects {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-category i,
.service-projects i {
  color: var(--primary-gold);
}

.service-features {
  margin: 1rem 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--body-text-muted);
  font-size: 0.95rem;
}

.features-list li i {
  color: var(--primary-gold);
  font-size: 0.8rem;
}

.service-price-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background-color: rgba(212, 160, 70, 0.1);
  border-radius: var(--border-radius);
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 0.95rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.service-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ===== مراحل العمل ===== */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  margin-top: 3rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  padding: 1.5rem 1rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.step-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-item.active {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 2px rgba(212, 160, 70, 0.2);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-gold);
  color: white;
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(212, 160, 70, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  margin-top: 0.75rem;
  transition: all var(--transition-base);
}

.step-item:hover .step-icon {
  background-color: var(--primary-gold);
  color: white;
  transform: rotateY(180deg);
}

.step-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.step-item p {
  color: var(--body-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.step-connector {
  height: 3px;
  background-color: rgba(212, 160, 70, 0.3);
  flex-grow: 1;
  align-self: center;
  max-width: 50px;
}

/* ===== قسم الشهادات ===== */
.testimonials-section {
  position: relative;
}

.testimonials-slider {
  padding: 2rem 0;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-gold),
    var(--primary-gold-light)
  );
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.5rem;
  color: rgba(212, 160, 70, 0.2);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 2rem;
  min-height: 150px;
}

.testimonial-content p {
  color: var(--body-text-muted);
  line-height: 1.7;
}

.testimonial-rating {
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: #ddd;
  font-size: 1rem;
  margin-left: 0.2rem;
}

.testimonial-rating i.active {
  color: #ffc107;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-circle);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--primary-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.author-info {
  flex-grow: 1;
}

.author-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.author-meta {
  color: var(--body-text-muted);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-role {
  font-weight: 600;
  color: var(--primary-gold);
}

.author-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ===== قسم الأسئلة الشائعة ===== */
.faqs-section {
  position: relative;
}

.faqs-image {
  margin-top: 2rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faqs-image img {
  width: 100%;
  height: auto;
}

.faqs-accordion {
  height: 100%;
}

.accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  background-color: var(--card-bg);
  padding: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--body-text);
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: right;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-gold);
  background-color: rgba(212, 160, 70, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-gold);
}

.accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}

.accordion-body {
  padding: 1.25rem;
  color: var(--body-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

/* ===== قسم الدعوة للعمل CTA ===== */
.services-cta {
  position: relative;
  margin-top: 3rem;
}

.cta-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 43, 68, 0.9),
    rgba(31, 43, 68, 0.8)
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  color: white;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  color: var(--primary-gold);
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-item a:hover {
  color: var(--primary-gold);
}

/* ===== زر العودة للأعلى ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-gold);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-gold-dark);
  transform: translateY(-5px);
}

/* ===== صفحة الخدمة المنفردة ===== */
/* قسم الهيرو للخدمة المنفردة */
.service-hero {
  position: relative;
  margin-bottom: 3rem;
}

.service-hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 450px;
  padding: 100px 0;
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    rgba(31, 43, 68, 0.9),
    rgba(31, 43, 68, 0.8)
  );
}

.service-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem 0;
}

.service-hero-header {
  margin-bottom: 2rem;
}

.service-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: white;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.meta-category,
.meta-views {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-category i,
.meta-views i {
  color: var(--primary-gold);
}

.service-short-desc {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 700px;
  line-height: 1.7;
}

.service-pricing {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.pricing-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-gold);
}

.pricing-value {
  font-size: 1.25rem;
}

.pricing-value strong {
  font-weight: 700;
  color: var(--primary-gold);
}

.pricing-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.image-frame {
  width: 300px;
  height: 300px;
  border-radius: var(--border-radius-circle);
  overflow: hidden;
  border: 8px solid rgba(212, 160, 70, 0.3);
  position: relative;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-tag {
  position: absolute;
  top: 20px;
  right: -10px;
  background: var(--primary-gold);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.service-hero-icon {
  width: 250px;
  height: 250px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-gold);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 600;
}

/* محتوى الخدمة */
.service-content {
  position: relative;
}

.service-mobile-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.featured-ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: var(--primary-gold);
  color: white;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.content-block {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.content-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--body-text);
}

.content-title i {
  color: var(--primary-gold);
}

.content-text {
  color: var(--body-text-muted);
  line-height: 1.8;
}

/* قسم مميزات الخدمة */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-bg);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

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

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text {
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--body-text);
}

/* قسم المواد المستخدمة */
.materials-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.material-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-bg);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.material-item:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow);
}

.material-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(212, 160, 70, 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.material-text {
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--body-text);
}

/* قسم مراحل العمل */
.process-timeline {
  position: relative;
  padding-right: 30px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  width: 2px;
  background-color: rgba(212, 160, 70, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-right: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-step {
  position: absolute;
  right: -30px;
  top: 0;
}

.step-number {
  width: 30px;
  height: 30px;
  background-color: var(--primary-gold);
  color: white;
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.timeline-content {
  background-color: var(--body-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.timeline-content h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.timeline-content p {
  color: var(--body-text-muted);
  margin-bottom: 0;
}

/* معرض الصور */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-image {
  display: block;
  width: 100%;
  height: 150px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 43, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* قسم المشاريع المتعلقة */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all var(--transition-base);
}

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

.project-image {
  position: relative;
  height: 180px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 160, 70, 0.1);
  color: var(--primary-gold);
  font-size: 2rem;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 43, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-view,
.btn-compare {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-base);
  transform: translateY(20px);
  opacity: 0;
}

.project-card:hover .btn-view,
.project-card:hover .btn-compare {
  transform: translateY(0);
  opacity: 1;
}

.btn-view:hover,
.btn-compare:hover {
  background-color: white;
  color: var(--primary-gold);
  transform: scale(1.1);
}

.project-content {
  padding: 1.25rem;
}

.project-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-title a {
  color: var(--body-text);
  transition: color var(--transition-base);
}

.project-title a:hover {
  color: var(--primary-gold);
}

.project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--body-text-muted);
  font-size: 0.85rem;
}

.project-location,
.project-client {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.project-location i,
.project-client i {
  color: var(--primary-gold);
}

/* قسم الأسئلة الشائعة */
.service-faq {
  position: relative;
}

.faq-accordion {
  margin-top: 1.5rem;
}

/* قسم المشاركة */
.service-share {
  position: relative;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
  font-weight: 600;
}

.share-button:hover {
  transform: translateY(-5px);
  color: white;
}

.share-button.facebook {
  background-color: #3b5998;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.whatsapp {
  background-color: #25d366;
}

.share-button.linkedin {
  background-color: #0077b5;
}

/* الشريط الجانبي للخدمة */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.widget-header {
  background-color: var(--primary-navy);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

.widget-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.widget-title {
  font-size: 1.35rem;
  margin-bottom: 0;
  color: white;
}

.widget-body {
  padding: 1.5rem;
}

/* نموذج طلب عرض السعر */
.quick-quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--body-text);
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gold);
  z-index: 10;
}

.form-control {
  height: 50px;
  padding-right: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 160, 70, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 120px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--body-text-muted);
  margin-top: 1rem;
  text-align: center;
  justify-content: center;
}

.form-note i {
  color: var(--primary-gold);
}

/* وسائل الاتصال */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-bg);
  border-radius: var(--border-radius);
  color: var(--body-text);
  text-decoration: none;
  transition: all var(--transition-base);
}

.contact-method:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow);
}

.method-icon {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.method-icon.whatsapp {
  background-color: #25d366;
}

.method-content {
  flex-grow: 1;
}

.method-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.method-content p {
  color: var(--primary-gold);
  margin-bottom: 0;
  font-weight: 500;
}

/* وحدة المميزات */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-bg);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.benefit-item:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.benefit-text {
  flex-grow: 1;
}

.benefit-text h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.benefit-text p {
  color: var(--body-text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* وحدة الخدمات ذات الصلة */
.related-services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--body-bg);
  border-radius: var(--border-radius);
  color: var(--body-text);
  text-decoration: none;
  transition: all var(--transition-base);
}

.related-service-item:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow);
  background-color: rgba(212, 160, 70, 0.05);
}

.related-service-item .service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

.related-service-item .service-info {
  flex-grow: 1;
}

.related-service-item .service-name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.related-service-item .service-price {
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* قسم الدعوة للعمل للخدمة المنفردة */
.service-cta {
  position: relative;
  margin-top: 3rem;
  margin-bottom: -3rem;
}

/* مودال قبل وبعد */
.modal-content {
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary-navy);
  color: white;
  border: none;
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 1.5rem;
}

.before-after-container {
  padding: 1.5rem 0;
}

.before-container,
.after-container {
  text-align: center;
}

.before-container h6,
.after-container h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ===== التجاوب مع مختلف الشاشات ===== */
@media (max-width: 1199px) {
  .services-stats {
    padding: 1.25rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .stat-item {
    flex-basis: calc(50% - 1rem);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .step-item {
    min-width: 40%;
    margin-bottom: 2.5rem;
  }

  .service-hero-image {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .services-hero-content {
    text-align: center;
  }

  .services-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .services-hero-buttons {
    justify-content: center;
  }

  .stat-item {
    flex-basis: calc(50% - 1rem);
  }

  .step-item {
    min-width: 100%;
  }

  .step-connector {
    display: none;
  }

  .service-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 767px) {
  .services-hero-bg {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .services-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
  }

  .services-filter {
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    padding: 0.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }

  .service-image {
    height: 250px;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-actions .btn {
    width: 100%;
  }

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icon {
    margin-bottom: 0.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .services-hero-bg {
    padding: 60px 0 30px;
  }

  .feature-item,
  .material-item,
  .contact-method,
  .benefit-item,
  .related-service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .feature-content,
  .benefit-text,
  .method-content,
  .service-info {
    text-align: center;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 200px;
  }

  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }

  .process-timeline {
    padding-right: 20px;
  }

  .timeline-step {
    right: -20px;
  }

  .timeline-content {
    padding: 1rem;
  }
}

/* ===== تفضيلات تقليل الحركة ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
