:root {
  --primary-color: #ff0000;
  --secondary-color: #0ead00;
  --primary-color-rgb: 255, 0, 0;
  --secondary-color-rgb: 14, 173, 0;

  --background-dark: #121212;
  --background-lighter: #1e293b;
  --background-card: rgba(255, 255, 255, 0.05);
  --background-card-hover: rgba(255, 255, 255, 0.1);

  --text-light: #f0f0f0;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;
  --text-accent: #bfdbfe;

  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.2);

  --section-padding: 6rem 0;
  --border-radius: 1rem;
  --transition: all 0.3s ease;
}

/* ===== تصحيح عام ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* للتمرير السلس مع وجود الناف بار الثابت */
}

body {
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: linear-gradient(
    to bottom,
    var(--background-dark),
    var(--background-lighter)
  );
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  margin: 0 auto;
  gap: 20px;
}

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

.logo-icon {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
}

.left,
.center,
.right {
  display: flex;
  align-items: center;
}

/* القسم الأوسط مع روابط القائمة */
.center .nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0 100px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  position: absolute;
  right: 2rem;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--background-dark);
  padding: 1rem;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}
/* ===== خط العناوين الموحد ===== */
.section-title {
  color: var(--text-bright);
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* ===== قسم المقدمة ===== */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  background: rgba(30, 41, 59, 0.5);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary-color);
  opacity: 0.3;
  border-radius: 4px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-accent);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: var(--text-bright);
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.cta-button::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: all 0.6s ease;
}

.cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(var(--secondary-color-rgb), 0.4);
}

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

/* ===== قسم الخدمات ===== */
.services {
  padding: var(--section-padding);
  background: rgba(30, 41, 59, 0.5);
  position: relative;
  overflow: hidden;
}

.services::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url("public/logo_black.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: 0;
  filter: brightness(5) contrast(0.8);
}

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

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

.service-card {
  background: var(--background-card);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--background-card-hover);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background-image: url("public/logo_black.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  filter: brightness(5) contrast(0.8);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(var(--primary-color-rgb), 0.3));
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
  color: var(--text-bright);
  font-weight: 600;
}

.service-card p {
  color: var(--text-accent);
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== قسم من نحن ===== */
.about {
  padding: var(--section-padding);
  position: relative;
  background: rgba(30, 41, 59, 0.5);
  overflow: hidden;
}

.about::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url("public/logo_black.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: 0;
  filter: brightness(5) contrast(0.8);
}

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

.about-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--background-card);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.about-text p {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  color: var(--text-accent);
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.4s ease;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.info-item svg {
  stroke: var(--primary-color);
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 5px rgba(var(--primary-color-rgb), 0.4));
}

.info-item span {
  color: var(--text-bright);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ===== قسم المنتجات ===== */
.products {
  padding: var(--section-padding);
  background: rgba(30, 41, 59, 0.5);
  position: relative;
  overflow: hidden;
}

.products::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url("public/logo_black.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: 0;
  filter: brightness(5) contrast(0.8);
}

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

.products-intro {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.products-intro p {
  color: var(--text-accent);
  font-size: 1.2rem;
  line-height: 1.8;
}

.product-item {
  background: var(--background-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  overflow: hidden;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: rgba(var(--primary-color-rgb), 0.15);
}

.product-info {
  padding: 2.5rem;
}

.product-title {
  color: var(--text-bright);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.product-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.product-description {
  color: var(--text-accent);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--text-accent);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
}

.product-feature:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

.product-feature svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary-color);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  filter: brightness(1.05) contrast(1.05);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.product-link:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
  transform: translateX(5px);
}

.product-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-color);
}

/* ===== قسم التواصل ===== */
.contact {
  padding: var(--section-padding);
  background: linear-gradient(
    180deg,
    rgba(30, 41, 59, 0.6) 0%,
    rgba(17, 24, 39, 0.8) 100%
  );
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-subtitle {
  color: var(--text-accent);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.contact-info {
  color: var(--text-accent);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-bright);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-method svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(var(--primary-color-rgb), 0.3));
}

.contact-method-details h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-bright);
}

.contact-method-details p {
  color: var(--text-accent);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--background-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--shadow-color);
  display: grid;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: rgba(30, 41, 59, 0.8);
  padding: 0 0.5rem;
  color: var(--text-accent);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-bright);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
  outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
  color: var(--primary-color);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.submit-button::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: all 0.4s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.4);
  background: var(--secondary-color);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.social-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--background-card);
  border: 1px solid var(--border-color);
  color: var(--text-accent);
  transition: all 0.3s ease;
}

.social-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.social-button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* ===== تأثيرات الحركة ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== تصميم متجاوب ===== */
@media (max-width: 1200px) {
  :root {
    --section-padding: 5rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .contact-content {
    gap: 3rem;
  }

  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-content,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  .about-content,
  .product-info {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact .section-title,
  .products .section-title,
  .about .section-title,
  .services .section-title {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p,
  .about-text p,
  .products-intro p {
    font-size: 1rem;
  }

  .service-card,
  .product-info {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ===== تأثيرات لطيفة ===== */
.typing-effect {
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
  display: inline-block;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

/* ===== منع تشوه الصور ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== تنسيق Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--background-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader::after {
  content: "";
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
/* ===== قسم الخريطة ===== */
.map {
  padding: var(--section-padding);
  background: rgba(30, 41, 59, 0.5);
  position: relative;
  overflow: hidden;
}

/* خلفية منقوشة للقسم مثل باقي أقسام الموقع */
.map::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background-image: url("public/logo_black.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: 0;
  filter: brightness(5) contrast(0.8);
}

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

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  margin-top: 1rem;
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-color-rgb), 0.2) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  position: relative;
  z-index: 0;
  filter: grayscale(0.3) contrast(1.1);
  transition: all 0.4s ease;
}

.map-container:hover iframe {
  filter: grayscale(0) contrast(1);
}

.map-info {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.map-info p {
  color: var(--text-accent);
  font-size: 1.1rem;
  line-height: 1.7;
}

.map-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.map-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--background-card);
  border: 1px solid var(--border-color);
  color: var(--text-accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.map-button:hover {
  background: var(--primary-color);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--primary-color-rgb), 0.3);
}

.map-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ===== الفوتر ===== */
/* ===== الفوتر البسيط ===== */
.footer {
  padding: 3rem 0 2rem;
  background: var(--background-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to top,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 100%
  );
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* قسم الشعار والمعلومات الرئيسية */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 500px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* التواصل الاجتماعي */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #bfdbfe;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 0, 0, 0.2);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* فاصل بسيط */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  margin: 1.5rem 0;
}

/* صف الروابط */
.footer-links-row {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.footer-links-group {
  min-width: 160px;
  margin-bottom: 1.5rem;
}

.footer-links-group h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-links-group h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-group li {
  margin-bottom: 0.7rem;
}

.footer-links-group a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-links-group a::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links-group a:hover {
  color: #e2e8f0;
  transform: translateX(3px);
}

.footer-links-group a:hover::before {
  opacity: 1;
  transform: translateX(2px);
}

/* حقوق النشر */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

.footer-legal .separator {
  color: #4b5563;
  font-size: 0.9rem;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links-row {
    justify-content: space-between;
  }

  .footer-links-group {
    min-width: 140px;
    margin: 0 0.5rem 1.5rem;
  }

  .footer-links-group h4 {
    text-align: center;
  }

  .footer-links-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-links-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links-group {
    width: 100%;
    margin-bottom: 2rem;
  }

  .footer-links-group:last-child {
    margin-bottom: 0;
  }
}
/* ===== فواصل الأقسام ===== */
.section-divider {
  position: relative;
  height: 150px;
  overflow: hidden;
  z-index: 1;
}

/* الفاصل المموج */
.divider-wave {
  position: relative;
  height: 120px;
  background: transparent;
}

.divider-wave::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' style='fill: rgba(18, 18, 18, 0.9);'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* الفاصل المتعرج (زجزاج) */
.divider-zigzag {
  position: relative;
  height: 80px;
  background: transparent;
}

.divider-zigzag::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' style='fill: %23ff0000;'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' style='fill: %23ff0000;'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' style='fill: %23ff0000;'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* الفاصل المنقط */
.divider-dots {
  position: relative;
  height: 60px;
  background: transparent;
}

.divider-dots::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V7.23C0,65.52,268.63,112.77,600,112.77S1200,65.52,1200,7.23V0Z' style='fill: rgba(30, 41, 59, 0.5);'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* الفاصل بشكل سحابة */
.divider-clouds {
  position: relative;
  height: 100px;
  background: transparent;
}

.divider-clouds::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V6c0,21.6,291,111.46,741,110.26,445.39,3.6,459-88.3,459-110.26V0Z' style='fill: rgba(30, 41, 59, 0.5);'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

/* الفاصل المتدرج */
.divider-gradient {
  position: relative;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(30, 41, 59, 0.5));
}

/* تأثير الفاصل مع تدرج لوني محدد */
.divider-primary {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.divider-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  z-index: 1;
}

/* فاصل بخط متموج */
.divider-wave-line {
  position: relative;
  height: 40px;
  background: transparent;
}

.divider-wave-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.divider-wave-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 C30,0 70,0 100,10 C70,20 30,20 0,10 Z' style='fill: %23ff0000;'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* الفاصل بشكل تدرج نقطي */
.divider-dots-gradient {
  position: relative;
  height: 60px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-dots-gradient::before {
  content: "";
  width: 80%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
  position: absolute;
}

.divider-dots-gradient .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin: 0 5px;
  opacity: 0.6;
  position: relative;
  animation: pulse 2s infinite;
}

.divider-dots-gradient .dot:nth-child(2) {
  animation-delay: 0.3s;
  width: 10px;
  height: 10px;
}

.divider-dots-gradient .dot:nth-child(3) {
  animation-delay: 0.6s;
  width: 12px;
  height: 12px;
}

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

/* فاصل بتأثير الضوء */
.divider-glow {
  position: relative;
  height: 60px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.divider-glow::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  filter: blur(40px);
  opacity: 0.2;
  border-radius: 50%;
  animation: glow-move 4s infinite alternate;
}

.divider-glow::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  filter: blur(40px);
  opacity: 0.2;
  border-radius: 50%;
  animation: glow-move 4s infinite alternate-reverse;
}

@keyframes glow-move {
  0% {
    transform: translateX(-50vw);
  }
  100% {
    transform: translateX(50vw);
  }
}

@media (max-width: 768px) {
  .section-divider {
    height: 80px;
  }

  .divider-wave,
  .divider-zigzag,
  .divider-clouds {
    height: 60px;
  }

  .divider-wave::before,
  .divider-zigzag::before,
  .divider-clouds::before {
    height: 60px;
  }
}
