@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --black: #000;
  --white: #fff;
  --yellow: #f4b923;
  --primary: #007bff;
  --gray-light: #f9f9f9;
  --gray-border: #ccc;
  --overlay: rgba(0, 0, 0, 0.587);
  --text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

body {
  direction: rtl;
  text-align: right;
  background-color: var(--white);
  color: var(--black);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== شريط التنقل ===== */
nav {
  background-color: var(--black);
  height: 60px;
  direction: rtl;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.nav-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 20px;
}

.logo {
  text-align: center;
  line-height: 1;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-part1 {
  color: var(--white);
  margin-left: 5px;
}

.logo-part2 {
  color: var(--yellow);
  margin-left: 8px;
}

.nav-toggle {
  position: absolute;
  right: 0;
  padding: 0 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  z-index: 1001;
  height: 40px;
  display: flex;
  align-items: center;
}

.nav-icon-logo {
  position: absolute;
  left: 0;
  padding: 0 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  display: flex;
  align-items: center;
}

.nav-icon-logo img {
  height: 50px;
  width: auto;
}

.menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 250px;
  height: calc(100vh - 60px);
  background-color: var(--black);
  flex-direction: column;
  text-align: right;
  padding: 10px 0;
  display: none;
  list-style: none;
  margin: 0;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.menu li {
  margin: 10px 20px;
}

.menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color var(--transition), color var(--transition);
  position: relative;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
}

.menu li a:hover {
  background-color: var(--yellow);
  color: var(--black);
}

.menu.active {
  display: flex;
}

/* ===== قسم البطل ===== */
.hero {
  background-image: linear-gradient(var(--overlay), var(--overlay)), url('../img/من\ نحن.jpg');
  background-size: cover;
  background-position: center;
  height: 95vh;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 10px;
  text-shadow: var(--text-shadow);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 30px;
  text-shadow: var(--text-shadow);
}

.btn {
  background-color: var(--yellow);
  color: var(--black);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  margin-bottom: 40px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #000000;
  color: var(--white);
  transform: translateY(-2px);
}

.services-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.service-icon {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

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

.service-icon img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

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

.service-icon span {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-shadow: var(--text-shadow);
  transition: color 0.3s ease;
}

.service-icon:hover span {
  color: var(--yellow);
}

.search-bar {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: 50px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus-within {
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.search-bar input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  text-align: right;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-bar button {
  background-color: var(--yellow);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--black);
  transition: background-color 0.3s ease;
}

.search-bar button:hover {
  background-color: #000;
  color: var(--white);
}

/* ===== قسم الشركاء ===== */
.partners-slider {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.swiper {
  width: 100%;
  padding: 10px 0 40px;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.swiper-slide img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
}

.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

/* ===== قسم من نحن ===== */
.about {
  padding: 60px 20px;
  background-color: #121212;
  color: var(--white);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--yellow);
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ddd;
}

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

.features-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.features-list li:hover {
  color: var(--yellow);
}

.features-list .icon {
  color: var(--yellow);
  font-weight: bold;
  flex-shrink: 0;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
  object-fit: cover;
  max-height: 350px;
}

/* ===== قسم المقارنة ===== */
.comparison-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.comparison-container {
  position: relative;
  max-width: 660px;
  height: 500PX;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 196, 0, 0.258);
}

.comparison-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-before, .image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.image-before {
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--white);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--yellow);
  transform: translateX(-50%);
  cursor: col-resize;
  z-index: 3;
  box-shadow: 0 0 10px var(--yellow);
}

.slider-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-handle:after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: var(--black);
  font-weight: bold;
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  margin: 20px auto 0;
}

.comparison-label {
  background: var(--yellow);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
}

/* ===== قسم الخدمات ===== */
.apple-services {
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f5f7 100%);
    position: relative;
}

.apple-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    counter-reset: service-counter;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    position: relative;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffbb00, #3a2f00a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.5rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px;
    min-height: 80vh;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
    counter-increment: service-counter;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    margin: 80px 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 36px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item.visible .service-content {
    animation: slideInFromRight 0.8s ease forwards;
}

.service-item.visible .service-media {
    animation: slideInFromLeft 0.8s ease forwards;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-item:nth-child(even).visible .service-content {
    animation: slideInFromLeft 0.8s ease forwards;
}

.service-item:nth-child(even).visible .service-media {
    animation: slideInFromRight 0.8s ease forwards;
}

.service-content {
    flex: 0 0 48%;
    padding: 30px;
    z-index: 2;
}

.service-content h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, #1D1D1F, #424245);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 20px;
    line-height: 1.2;
}

.service-content h2::before {
    content: "0" counter(service-counter);
    display: block;
    font-size: 1.1rem;
    color: var(--yellow);
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), #ffd700);
    border-radius: 4px;
}

.service-item:nth-child(even) .service-content h2::after {
    right: auto;
    left: 0;
}

.service-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #555;
    font-weight: 400;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 1.15rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 15px;
    background: rgba(244, 185, 35, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(244, 185, 35, 0.1);
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    color: var(--yellow);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-features li:hover {
    transform: translateX(8px);
    background: rgba(244, 185, 35, 0.1);
    border-color: rgba(244, 185, 35, 0.2);
    box-shadow: 0 4px 12px rgba(244, 185, 35, 0.15);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 6px 20px rgba(244, 185, 35, 0.4),
        0 2px 8px rgba(244, 185, 35, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.7s ease;
}

.service-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(244, 185, 35, 0.6),
        0 4px 15px rgba(244, 185, 35, 0.4);
    background: linear-gradient(135deg, #ffd700, var(--yellow));
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.service-cta:hover::after {
    transform: translateX(4px);
}

.service-media {
    flex: 0 0 46%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:nth-child(odd) .service-media {
    box-shadow: 
        25px 25px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-item:nth-child(even) .service-media {
    box-shadow: 
        -25px 25px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(244, 185, 35, 0.15) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(244, 185, 35, 0.15) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-media:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) translateY(-12px);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.service-media:hover::before,
.service-media:hover::after {
    opacity: 1;
}

.service-media img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(0);
    will-change: transform;
}

.service-media:hover img {
    transform: scale(1.08);
}

/* تأثيرات إضافية محسنة */
.service-item::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 185, 35, 0.08) 0%, rgba(244, 185, 35, 0) 70%);
    z-index: 0;
    transition: all 0.6s ease;
}

.service-item:nth-child(odd)::before {
    top: -150px;
    left: -150px;
}

.service-item:nth-child(even)::before {
    bottom: -150px;
    right: -150px;
}

.service-item:hover::before {
    transform: scale(1.1);
}

/* شريط التقدم للخدمات */
.service-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.service-item:hover .service-progress {
    transform: scaleX(1);
}

/* تأثيرات الدخول المحسنة */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(80px) rotateY(10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px) rotateY(-10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

/* ===== قسم المنتجات ===== */
.products-section {
  padding: 60px 20px;
  background-color: #f4f4f4;
  overflow-x: hidden;
  direction: rtl;
}

.product-category-title {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: #222;
  text-align: right;
  border-right: 4px solid var(--yellow);
  padding-right: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.product-category-title span {
  font-size: 1.6rem;
  order: 0;
}

.product-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  direction: rtl;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
}

.product-grid::-webkit-scrollbar {
  height: 8px;
  background: transparent;
}

.product-grid::-webkit-scrollbar-thumb {
  background-color: var(--yellow);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background-color 0.3s ease;
}

.product-grid::-webkit-scrollbar-thumb:hover {
  background-color: #e6b800;
}

.product-grid::-webkit-scrollbar-track {
  background: transparent;
}

.product-card {
  flex: 0 0 calc(25% - 12px);
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: right;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  min-width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1rem;
  margin: 8px 0;
  color: #222;
  font-weight: 600;
}

.product-card .price {
  font-size: 0.9rem;
  color: var(--yellow);
  font-weight: bold;
  margin-bottom: 12px;
}

.product-card .btn {
  font-size: 0.85rem;
  padding: 8px 14px;
  background: var(--black);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.product-card .btn:hover {
  background-color: #333;
}

/* ===== الفوتر ===== */
footer {
  background-color: var(--black);
  color: var(--white);
  margin-top: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.footer-top {
  padding: 50px 20px 30px;
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.contact-info h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.contact-details {
  list-style: none;
}

.contact-details li {
  margin-bottom: 15px;
  display: flow-root;
  align-items: center;
  direction: ltr;
}

.contact-details li i {
  margin-left: 10px;
  color: var(--yellow);
  font-size: 18px;
  width: 24px;
  text-align: center;
  order: 2;
}

.contact-details a, .contact-details span {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  text-align: left;
  order: 1;
}

.contact-details a[href^="tel:"], 
.contact-details a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: right;
}

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

.footer-logo {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 30px;
  min-width: 300px;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}

.footer-logo h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #ccc;
  font-size: 16px;
}

.social-media {
  flex: 1;
  min-width: 250px;
}

.social-media h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
  text-align: right;
}

.social-media h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--white);
  text-decoration: none;
  font-size: 20px;
}

.social-icon:hover {
  transform: translateY(-5px);
  background-color: var(--yellow);
}

.footer-divider {
  background-color: rgba(255, 255, 255, 0.2);
  height: 1px;
  max-width: 1170px;
  margin: 30px auto 0;
}

.footer-bottom {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 0 20px;
  max-width: 1170px;
  margin: 0 auto;
  color: #ccc;
}

.footer-bottom p {
  margin: 0;
}

/* ===== زر الرجوع للأعلى ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--yellow);
  color: var(--black);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  font-size: 20px;
  font-weight: bold;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--black);
  color: var(--yellow);
}

/* ===== قسم المعرض ===== */
.gallery-posts {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
}

.section-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: right;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #333;
}

.post-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.read-more {
  text-decoration: none;
  color: #e63946;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #c92c3a;
}

/* الفيديو */
.video-section h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #222;
}

.video-section p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  font-style: italic;
  color: #e63946;
}

/* زر عرض المزيد */
.more-button {
  margin-top: 30px;
}

.more-button .btn {
  background-color: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.more-button .btn:hover {
  background-color: #000;
}

/* ===== شريط الثقة والضمانات ===== */
.trust-badges {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.trust-badges .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.trust-badges .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.badge-item:hover::before {
    transform: scaleX(1);
}

.badge-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.badge-item:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
}

.badge-icon svg {
    stroke-width: 1.5;
}

.badge-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.badge-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== شريط العروض الخاصة ===== */
.special-offers {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    position: relative;
}

.special-offers .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.special-offers .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 60px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 185, 35, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: rgba(244, 185, 35, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.offer-card.featured {
    background: linear-gradient(135deg, rgba(244, 185, 35, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--yellow);
    transform: scale(1.05);
}

.offer-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.offer-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--yellow);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.offer-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.discount-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
}

.offer-meta {
    text-align: center;
    margin-bottom: 20px;
}

.offer-duration {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--yellow);
    border: 1px solid rgba(244, 185, 35, 0.3);
}

.offer-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.offer-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    position: relative;
    padding-right: 25px;
}

.offer-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--yellow);
    font-weight: bold;
}

.offer-features li:last-child {
    border-bottom: none;
}

.offer-price {
    text-align: center;
    margin-bottom: 25px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-left: 10px;
}

.new-price {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 700;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.timer-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 70px;
}

.timer-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--yellow);
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 5px;
    display: block;
}

.offer-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.offer-btn:hover::before {
    left: 100%;
}

.offer-btn:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.offer-btn.primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.offer-btn.primary:hover {
    background: #000;
    color: var(--yellow);
}

.offer-card.expired {
    opacity: 0.6;
    filter: grayscale(0.8);
    pointer-events: none;
}

.offer-card.expired::after {
    content: 'انتهى العرض';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
}

.no-offers-message {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: none;
}

.message-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--yellow);
}

.message-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.message-content button {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-content button:hover {
    background: #000;
    color: var(--yellow);
    transform: translateY(-2px);
}

/* تأثير إخفاء العرض */
@keyframes hideOffer {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
        display: none;
    }
}

.offer-card.hiding {
    animation: hideOffer 0.5s ease forwards;
}

/* ===== Loading Spinner ===== */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-light);
    border-top: 4px solid var(--yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== التجاوب ===== */
@media (max-width: 1200px) {
    .service-container {
        max-width: 1140px;
        padding: 0 15px;
    }
    
    .section-header h1 {
        font-size: 3.2rem;
    }
    
    .section-header p {
        font-size: 1.25rem;
    }
    
    .service-content h2 {
        font-size: 2.8rem;
    }
    
    .service-content p {
        font-size: 1.15rem;
    }
    
    .service-features li {
        font-size: 1.1rem;
    }
    
    .service-media img {
        height: 420px;
    }
    
    .service-item {
        padding: 40px;
    }

    .footer-main-content {
        max-width: 1140px;
        gap: 25px;
    }
    
    .footer-top {
        padding: 45px 20px 25px;
    }
    
    .contact-info h4,
    .social-media h4 {
        font-size: 20px;
    }
    
    .footer-logo h3 {
        font-size: 22px;
    }
    
    .footer-logo p {
        font-size: 15px;
    }
    
    .contact-details li {
        font-size: 15px;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .footer-bottom {
        font-size: 13px;
        height: 65px;
    }
}

@media (max-width: 992px) {
    .service-container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .apple-services {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 80px;
    }
    
    .section-header h1 {
        font-size: 2.8rem;
    }
    
    .section-header p {
        font-size: 1.15rem;
        max-width: 600px;
    }
    
    .service-item {
        margin-bottom: 100px;
        min-height: auto;
        padding: 35px;
    }
    
    .service-content {
        flex: 0 0 100%;
        padding: 25px;
    }
    
    .service-content h2 {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    
    .service-content p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }
    
    .service-features li {
        font-size: 1rem;
        padding: 10px 12px;
    }
    
    .service-cta {
        font-size: 1.1rem;
        padding: 14px 32px;
    }
    
    .service-media {
        flex: 0 0 100%;
        margin-top: 40px;
    }
    
    .service-media img {
        height: 380px;
    }
    
    .service-item::before {
        width: 300px;
        height: 300px;
    }

    .footer-main-content {
        max-width: 960px;
        gap: 20px;
    }
    
    .footer-top {
        padding: 40px 15px 20px;
    }
    
    .contact-info,
    .social-media {
        min-width: 220px;
    }
    
    .footer-logo {
        min-width: 250px;
        padding: 0 20px;
    }
    
    .contact-info h4,
    .social-media h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-logo h3 {
        font-size: 20px;
    }
    
    .footer-logo p {
        font-size: 14px;
    }
    
    .contact-details li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .contact-details li i {
        font-size: 16px;
        width: 20px;
    }
    
    .footer-logo img {
        max-width: 160px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-divider {
        max-width: 940px;
        margin: 25px auto 0;
    }
    
    .footer-bottom {
        max-width: 940px;
        height: 60px;
        font-size: 12px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .menu {
        flex-direction: column;
        margin-top: 10px;
    }

    .menu li {
        margin: 10px 0;
    }

    .hero {
        height: auto;
        padding: 30px 10px;
        display: block;
        text-align: center;
    }

    .hero-content {
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .services-icons {
        margin-top: 80px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .btn {
        width: 100%;
        padding: 14px;
        font-size: 1.1rem;
    }

    .service-icon {
        padding: 10px;
    }

    .service-icon img {
        width: 40px;
        height: 40px;
    }

    .service-icon span {
        font-size: 13px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        flex: none;
        max-width: 100%;
    }

    .about-image img {
        max-height: 250px;
    }

    /* تجاوب قسم المقارنة */
    .comparison-container {
        height: 300px;
        max-width: 90%;
    }

    .comparison-labels {
        max-width: 90%;
    }

    /* تجاوب قسم الخدمات */
    .service-item {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 120px;
        min-height: auto;
    }
    
    .service-content, .service-media {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .service-media {
        margin-top: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-header h1 {
        font-size: 3rem;
    }

    .service-content h2 {
        font-size: 2.5rem;
    }

    .service-content p {
        font-size: 1.2rem;
    }

    /* تجاوب المنتجات */
    .product-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 160px;
    }

    /* تجاوب الفوتر */
    .footer-main-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .contact-info h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .contact-details li {
        justify-content: center;
    }
    
    .footer-logo {
        order: -1;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .social-media {
        text-align: center;
    }
    
    .social-media h4 {
        text-align: center;
    }
    
    .social-media h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }

    .service-container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .apple-services {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header h1 {
        font-size: 2.4rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
        max-width: 500px;
    }
    
    .service-item {
        margin-bottom: 80px;
        padding: 30px;
        border-radius: 20px;
    }
    
    .service-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .service-content h2::after {
        right: 50%;
        transform: translateX(50%);
        width: 60px;
    }
    
    .service-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .service-features li {
        font-size: 0.95rem;
        padding: 8px 10px;
    }
    
    .service-cta {
        font-size: 1rem;
        padding: 12px 28px;
    }
    
    .service-media {
        border-radius: 16px;
    }
    
    .service-media img {
        height: 300px;
    }
    
    .service-item::before {
        width: 200px;
        height: 200px;
    }

    .trust-badges,
    .special-offers {
        padding: 60px 20px;
    }
    
    .trust-badges .section-title,
    .special-offers .section-title {
        font-size: 2rem;
    }
    
    .badges-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offer-card.featured {
        transform: none;
    }
    
    .offer-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 12px;
    }
    
    .timer-number {
        font-size: 1.5rem;
    }

    .footer-main-content {
        max-width: 720px;
        gap: 15px;
    }
    
    .footer-top {
        padding: 35px 15px 15px;
    }
    
    .contact-info,
    .social-media {
        min-width: 200px;
    }
    
    .footer-logo {
        min-width: 220px;
        padding: 0 15px;
    }
    
    .contact-info h4,
    .social-media h4 {
        font-size: 16px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .contact-info h4::after,
    .social-media h4::after {
        width: 40px;
        height: 2px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-logo h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .footer-logo p {
        font-size: 13px;
    }
    
    .contact-details li {
        font-size: 13px;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .contact-details li i {
        font-size: 15px;
        width: 18px;
        margin-left: 8px;
    }
    
    .footer-logo img {
        max-width: 140px;
        margin-bottom: 10px;
    }
    
    .social-icons {
        gap: 12px;
        justify-content: center;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .footer-divider {
        max-width: 690px;
        margin: 20px auto 0;
    }
    
    .footer-bottom {
        max-width: 690px;
        height: 55px;
        font-size: 11px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .service-container {
        max-width: 540px;
        padding: 0 10px;
    }
    
    .apple-services {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        max-width: 400px;
    }
    
    .service-item {
        margin-bottom: 60px;
        padding: 25px;
        border-radius: 18px;
    }
    
    .service-content {
        padding: 15px;
    }
    
    .service-content h2 {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding: 6px 8px;
        gap: 8px;
    }
    
    .service-cta {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
    
    .service-media img {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 12px;
    }

    .services-icons {
        grid-template-columns: 1fr 1fr;
    }

    /* تجاوب قسم المقارنة للهواتف الصغيرة */
    .comparison-container {
        height: 250px;
    }

    .slider-handle:before {
        width: 30px;
        height: 30px;
    }

    .slider-handle:after {
        font-size: 14px;
    }

    .comparison-label {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* تجاوب قسم الخدمات للهواتف الصغيرة */
    .section-header h1 {
        font-size: 2.5rem;
    }

    .service-content h2 {
        font-size: 2rem;
    }

    .service-content p {
        font-size: 1.1rem;
    }

    .service-cta {
        font-size: 1rem;
        padding: 10px 20px;
    }

    /* تجاوب المنتجات */
    .product-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    /* تجاوب الفوتر */
    .contact-info, .footer-logo, .social-media {
        min-width: 100%;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .contact-details li {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    .footer-main-content {
        max-width: 100%;
        gap: 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-top {
        padding: 30px 15px 15px;
    }
    
    .contact-info,
    .social-media,
    .footer-logo {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
    
    .footer-logo {
        order: 1;
        margin-bottom: 10px;
    }
    
    .contact-info {
        order: 2;
        margin-bottom: 10px;
    }
    
    .social-media {
        order: 3;
    }
    
    .contact-info h4,
    .social-media h4 {
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .contact-info h4::after,
    .social-media h4::after {
        width: 50px;
        height: 2px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-logo h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .footer-logo p {
        font-size: 14px;
    }
    
    .contact-details li {
        font-size: 14px;
        margin-bottom: 12px;
        justify-content: center;
    }
    
    .contact-details li i {
        font-size: 16px;
        width: 20px;
        margin-left: 10px;
    }
    
    .footer-logo img {
        max-width: 150px;
        margin-bottom: 10px;
    }
    
    .social-icons {
        gap: 15px;
        justify-content: center;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .footer-divider {
        max-width: 100%;
        margin: 25px auto 0;
    }
    
    .footer-bottom {
        max-width: 100%;
        height: auto;
        font-size: 12px;
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .footer-top {
        padding: 25px 10px 10px;
    }
    
    .contact-info h4,
    .social-media h4 {
        font-size: 16px;
    }
    
    .footer-logo h3 {
        font-size: 18px;
    }
    
    .footer-logo p {
        font-size: 13px;
    }
    
    .contact-details li {
        font-size: 13px;
    }
    
    .footer-logo img {
        max-width: 130px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .footer-bottom {
        font-size: 11px;
        padding: 10px;
    }
}

/* تحسينات الأداء والوصول */
@media (prefers-reduced-motion: reduce) {
    .service-media,
    .service-cta,
    .service-features li,
    .service-item,
    .badge-item,
    .offer-card,
    .offer-btn,
    .badge-icon {
        transition: none;
    }
    
    .service-media:hover,
    .service-item:hover,
    .badge-item:hover,
    .offer-card:hover {
        transform: none;
    }
    
    .service-media img {
        transition: none;
    }
    
    .service-media:hover img {
        transform: none;
    }
}

/* إصلاح مشاكل الفوتر */
.contact-details {
    direction: rtl;
}

.contact-details li {
    direction: rtl;
    justify-content: flex-start;
}

.contact-details a[href^="tel:"], 
.contact-details a[href^="mailto:"] {
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: right;
    display: inline-block;
}

.contact-details li i {
    order: 2;
    margin-left: 10px;
    margin-right: 0;
}

.contact-details a, 
.contact-details span {
    order: 1;
    text-align: right;
}

/* إصلاح التجاوب للهواتف */
@media (max-width: 768px) {
    .contact-details li {
        justify-content: center;
        flex-direction: row;
    }
    
    .contact-details li i {
        order: 2;
        margin-left: 10px;
    }
    
    .contact-details a, 
    .contact-details span {
        order: 1;
    }
}

/* تحسين مظهر سلايدر العلامات */
.partners-slider {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 60px 20px;
}

.swiper-slide {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

.swiper-slide img {
    transition: filter 0.3s ease;
}

.swiper-slide:hover img {
    filter: grayscale(0%);
}

/* تحميل سريع للصور */
.badge-icon svg,
.countdown-timer {
    will-change: transform;
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1600px) {
    .service-container {
        max-width: 1500px;
    }
    
    .service-item {
        min-height: 70vh;
        padding: 60px;
    }
    
    .service-content h2 {
        font-size: 3.5rem;
    }
    
    .service-content p {
        font-size: 1.4rem;
    }
    
    .service-features li {
        font-size: 1.2rem;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --yellow: #ff0;
        --black: #000;
        --white: #fff;
    }
}

/* Print styles */
@media print {
    .nav-toggle,
    .back-to-top,
    .social-icons,
    .offer-btn,
    .btn {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        height: auto !important;
    }
    
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}






/* ===== خدماتنا - الأنماط الخاصة ===== */

/* قسم البطل للخدمات */
.services-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/نحنا.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
}

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

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: var(--text-shadow);
}

.services-hero p {
    font-size: 1.3rem;
    margin-bottom: 0;
    text-shadow: var(--text-shadow);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

  /* قسم الخدمات */
.services-categories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-categories::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23FFD700" opacity="0.03"><path d="M20,20 C40,0 60,0 80,20 C100,40 100,60 80,80 C60,100 40,100 20,80 C0,60 0,40 20,20 Z"/></svg>') repeat;
    z-index: 0;
}

.section-header-main {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title-main {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

.section-description-main {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.categories-wrapper {
    position: relative;
    z-index: 1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFD700, #ffd700);
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon-wrapper {
    position: relative;
    padding: 30px 30px 0;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 2rem;
    color: #000000;
}

.service-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #FFD700;
    color: #000000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card-content {
    padding: 0 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-card h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-summary {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features-mini {
    list-style: none;
    margin-bottom: 25px;
}

.service-features-mini li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-right: 25px;
    transition: all 0.3s ease;
}

.service-features-mini li:hover {
    color: #FFD700;
    transform: translateX(-5px);
}

.service-features-mini li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #FFD700;
    font-weight: bold;
}

.service-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.meta-item i {
    color: #FFD700;
}

.card-actions {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #000000;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-details::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.3s ease;
}

.btn-details:hover::before {
    right: 100%;
}

.btn-details:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* تجاوبية */
@media (max-width: 768px) {
    .services-categories {
        padding: 60px 0;
    }
    
    .section-title-main {
        font-size: 2rem;
    }
    
    .section-description-main {
        font-size: 1.1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-icon-wrapper {
        padding: 25px 25px 0;
    }
    
    .card-content {
        padding: 0 25px 15px;
    }
    
    .card-actions {
        padding: 15px 25px;
    }
    
    .service-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .section-title-main {
        font-size: 1.8rem;
    }
    
    .section-description-main {
        font-size: 1rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
}
/* قسم تفاصيل الخدمات */

.services-details-section {
    display: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    min-height: 100vh;
}

.services-details-section.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

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

.service-detail-content {
    display: none;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-detail-content.active {
    display: block;
}

/* رأس التفاصيل */
.detail-header {
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    padding: 40px;
    color: var(--black);
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.back-to-services {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-to-services:hover {
    background: white;
    transform: translateX(-5px);
}

.detail-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    flex: 1;
}

.service-badge-large {
    background: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* جسم التفاصيل */
.detail-body {
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: start;
}

/* المعلومات */
.service-meta-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.meta-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.meta-card:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
}

.meta-card i {
    font-size: 2rem;
    color: var(--yellow);
    margin-bottom: 10px;
}

.meta-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.meta-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.service-description {
    margin-bottom: 40px;
}

.service-description h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-description p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* الميزات */
.service-features-full h3 {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(244, 185, 35, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(244, 185, 35, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(244, 185, 35, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--yellow);
    font-size: 1.2rem;
}

.feature-item span {
    color: #444;
    font-weight: 500;
}

/* المميزات */
.service-benefits {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    border-right: 4px solid var(--yellow);
}

.service-benefits h3 {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #444;
}

/* الوسائط */
.detail-media {
    position: sticky;
    top: 100px;
}

.service-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* أزرار الحجز */
.service-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-book, .btn-call, .btn-share {
    padding: 18px 25px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-book {
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    color: var(--black);
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 185, 35, 0.4);
}

.btn-call {
    background: #1a1a1a;
    color: white;
}

.btn-call:hover {
    background: #333;
    transform: translateY(-3px);
}

.btn-share {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-share:hover {
    border-color: var(--yellow);
    color: var(--black);
}

/* تجاوبية */
@media (max-width: 1024px) {
    .detail-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-media {
        position: static;
    }
    
    .service-meta-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-details-section {
        padding: 40px 0;
    }
    
    .detail-header {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .detail-header h2 {
        font-size: 2rem;
    }
    
    .detail-body {
        padding: 30px 25px;
    }
    
    .service-meta-large {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-actions {
        flex-direction: column;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* قسم عملية الخدمة */
.service-process {
    background: #1a1a1a;
    color: white;
    padding: 80px 20px;
    position: relative;
}

.service-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.service-process .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.service-process .section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 185, 35, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.process-step p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* تجاوبية قسم الخدمات */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 20px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .services-categories {
        padding: 60px 20px;
    }
    
    .services-categories .section-title {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .service-details {
        padding: 60px 20px;
    }
    
    .service-details .about-content {
        gap: 40px;
    }
    
    .service-details .about-text h2 {
        font-size: 2rem;
    }
    
    .service-process {
        padding: 60px 20px;
    }
    
    .service-process .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .process-step {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .services-categories .section-title {
        font-size: 1.8rem;
    }
    
    .services-categories .section-description {
        font-size: 1rem;
    }
    
    .service-details .about-text h2 {
        font-size: 1.7rem;
    }
    
    .service-details .about-text p {
        font-size: 1rem;
    }
    
    .service-details .features-list li {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}

/* تأثيرات الظهور */
.services-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* تحسينات الأداء */
@media (prefers-reduced-motion: reduce) {
    .category-card,
    .process-step,
    .step-number,
    .service-details .about-image img,
    .services-fade-in {
        transition: none;
    }
    
    .category-card:hover,
    .process-step:hover {
        transform: none;
    }
}



/* من نحن */

/* ===== قسم من نحن ===== */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(255, 196, 0, 0.646)), url('../img/من\ نحنا.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: var(--text-shadow);
}

.about-hero p {
    font-size: 1.3rem;
    text-shadow: var(--text-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.story-section {
    padding: 80px 20px;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffcc34;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), #ffd700);
    border-radius: 4px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    padding: 12px 15px;
    background: rgba(244, 185, 35, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(244, 185, 35, 0.1);
    transition: all 0.3s ease;
}

.features-list li:hover {
    transform: translateX(8px);
    background: rgba(244, 185, 35, 0.1);
    border-color: rgba(244, 185, 35, 0.2);
    box-shadow: 0 4px 12px rgba(244, 185, 35, 0.15);
}

.features-list .icon {
    color: var(--yellow);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stats-section {
    background: var(--black);
    color: white;
    padding: 80px 20px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.stats-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 185, 35, 0.3);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    color: #ccc;
}

.team-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.team-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.team-section .section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--yellow);
    transition: all 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
    border-color: #ffd700;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
}

.team-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.values-section {
    padding: 80px 20px;
    background: white;
}

.values-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow), #ffd700, var(--yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--yellow), #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* تجاوبية صفحة من نحن */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .story-section,
    .stats-section,
    .team-section,
    .values-section {
        padding: 60px 20px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .stats-section .section-title,
    .team-section .section-title,
    .values-section .section-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .team-card {
        padding: 25px 20px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .features-list li {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    
    .stats-section .section-title,
    .team-section .section-title,
    .values-section .section-title {
        font-size: 1.8rem;
    }
}