/**
 * منى للدهانات - تنسيقات صفحة "من نحن"
 * ==================================================
 * المتغيرات الرئيسية:
 * --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);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--primary-gold);
  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;
}

/* ===== رأس الصفحة ===== */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header .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.7)
  );
}

.page-header-content {
  position: relative;
  color: white;
  text-align: center;
  padding: 4rem 0;
  z-index: 1;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.page-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.breadcrumb {
  background-color: transparent;
  display: inline-flex;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.breadcrumb a {
  color: white;
}

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

/* ===== عنوان القسم ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--body-text-muted);
  margin-bottom: 1.5rem;
}

.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;
}

/* ===== قسم قصة الشركة ===== */
.story-section {
  position: relative;
}

.story-content {
  padding-left: 2rem;
}

.story-text p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--body-text-muted);
}

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

.story-highlights {
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  background-color: rgba(212, 160, 70, 0.05);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.highlight-item:hover {
  background-color: rgba(212, 160, 70, 0.1);
  transform: translateY(-3px);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  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;
}

.highlight-text h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.story-image {
  position: relative;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
}

.story-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background-color: rgba(212, 160, 70, 0.1);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--primary-gold-light)
  );
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 160, 70, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 160, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 70, 0);
  }
}

.badge-content {
  text-align: center;
  padding: 0.75rem;
}

.badge-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.completed-projects {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
}

[data-bs-theme="dark"] .completed-projects {
  background-color: var(--dark-bg);
  box-shadow: var(--shadow-md);
}

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

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

.projects-number {
  display: block;
  color: var(--primary-navy);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.projects-label {
  display: block;
  font-size: 0.75rem;
  color: var(--body-text-muted);
}

/* ===== قسم الرؤية والرسالة ===== */
.vision-mission-section {
  position: relative;
}

.vision-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--primary-gold);
  z-index: -1;
}

.vision-card.active {
  background-color: var(--primary-navy);
  color: white;
}

.vision-card.active h3 {
  color: white;
}

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

.vision-card:hover .card-icon {
  transform: scale(1.1);
  background-color: var(--primary-gold);
  color: white;
}

.vision-card.active .card-icon {
  background-color: var(--primary-gold);
  color: var(--primary-navy);
}

.vision-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary-gold);
  margin: 0 auto 1.5rem;
}

.vision-card p {
  color: var(--body-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.vision-card.active p {
  color: rgba(255, 255, 255, 0.8);
}

.values-list {
  text-align: right;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

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

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

.value-text {
  flex-grow: 1;
  color: var(--body-text-muted);
  font-weight: 500;
}

.vision-card.active .value-text {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== قسم الإحصائيات ===== */
.statistics-section {
  position: relative;
  margin: 2rem 0;
}

.statistics-bg {
  background-image: url("../assets/images/stats-bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.statistics-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(31, 43, 68, 0.85);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  color: white;
  height: 100%;
  transition: all var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-gold);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.stat-item:hover .stat-icon::after {
  transform: translateY(0);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

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

/* ===== قسم لماذا تختارنا ===== */
.why-choose-section {
  position: relative;
}

.why-choose-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

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

.why-choose-image:hover img {
  transform: scale(1.05);
}

.quality-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--primary-gold);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.badge-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  gap: 1rem;
  border: 1px solid var(--border-color);
}

.feature-item:hover {
  transform: translateX(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.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.25rem;
  flex-shrink: 0;
}

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

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

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

/* ===== قسم فريق العمل ===== */
.team-section {
  position: relative;
}

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

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

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.team-social {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--transition-base);
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateX(0);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: white;
  color: var(--primary-gold);
  transform: scale(1.1);
}

.team-content {
  padding: 1.5rem;
  position: relative;
  background-color: var(--card-bg);
}

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

.team-position {
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary-gold);
  margin-bottom: 1rem;
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--body-text-muted);
}

.team-experience,
.team-specialization {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.team-experience i,
.team-specialization i {
  color: var(--primary-gold);
  font-size: 0.8rem;
}

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

.testimonials-carousel {
  position: relative;
  margin-top: 3rem;
}

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

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

.quote-icon {
  position: absolute;
  top: -20px;
  right: 30px;
  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-size: 1rem;
}

.testimonial-content {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  min-height: 100px;
}

.testimonial-content p {
  color: var(--body-text-muted);
  font-style: italic;
  margin-bottom: 0;
  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-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-circle);
  overflow: hidden;
  flex-shrink: 0;
}

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

.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;
}

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

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

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

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

/* ===== قسم الشركاء ===== */
.partners-section {
  position: relative;
}

.partners-carousel {
  margin-top: 3rem;
}

.partner-item {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

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

.partner-item img {
  max-height: 100%;
  max-width: 100%;
  transition: all var(--transition-base);
  filter: grayscale(1) opacity(0.7);
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
}

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

.cta-bg {
  background-image: url("../assets/images/cta-bg.webp");
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

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

.cta-content {
  position: relative;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  z-index: 1;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-secondary);
}

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

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

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

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

.cta-contact {
  display: flex;
  align-items: center;
  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: 2rem;
  left: 2rem;
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-circle);
  background-color: var(--primary-navy);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow);
  z-index: 99;
}

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

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

/* ===== تحسينات لمتصفحات الأجهزة المحمولة ===== */
@media (max-width: 1199px) {
  .story-content {
    padding-left: 0;
  }
}

@media (max-width: 991px) {
  .story-image {
    margin-top: 3rem;
    padding-right: 0;
  }

  .story-shape {
    width: 100%;
  }

  .experience-badge {
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .why-choose-image {
    margin-bottom: 2rem;
    max-height: 400px;
  }

  .order-lg-1 {
    order: 2;
  }

  .order-lg-2 {
    order: 1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .client-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
  }

  .highlight-icon {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 575px) {
  .page-header-bg {
    min-height: 300px;
  }

  .testimonial-footer {
    flex-direction: column;
    text-align: center;
  }

  .client-image {
    margin: 0 auto;
  }

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

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 1rem;
  }

  .value-item {
    justify-content: center;
    text-align: center;
  }

  .values-list {
    text-align: center;
  }
}

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

  .experience-badge {
    animation: none;
  }
}

/* ===== تعديلات الوضع الداكن ===== */
[data-bs-theme="dark"] .feature-item,
[data-bs-theme="dark"] .vision-card,
[data-bs-theme="dark"] .testimonial-card,
[data-bs-theme="dark"] .partner-item,
[data-bs-theme="dark"] .team-card {
  background-color: var(--dark-bg-alt);
  border-color: var(--border-color);
}
