/* ========== الأساسيات والخطوط ========== */
:root {
  /* الألوان */
  --gold-color: #D4AF37;
  --dark-gold: #B8860B;
  --light-gold: #F0E68C;
  --black: #000000;
  --white: #FFFFFF;
  --dark-gray: #333333;
  --medium-gray: #777777;
  --light-gray: #F5F5F5;

  /* ألوان التصميم */
  --primary-color: var(--gold-color);
  --primary-dark: var(--dark-gold);
  --secondary-color: var(--black);
  --accent-color: var(--dark-gray);
  
  /* ألوان النصوص */
  --text-color: var(--dark-gray);
  --text-light: var(--medium-gray);
  
  /* التأثيرات */
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* ========== إعادة الضبط والأساسيات ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
section, article, nav, aside {
  font-size: initial; /* منع تغيير حجم الخط في العناصر الجديدة */
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1.1rem;
  font-weight: 500;
}

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
  font-size: 16px;
}



/* ========== اليوم الوطني========== */

/* رابط مميز لليوم الوطني */
.special-offer {
  font-weight: bold;
  color: #fff !important;
  background: linear-gradient(90deg, #006c35, #1db954, #006c35);
  padding: 6px 14px;
  border-radius: 8px;
  margin-left: 8px;
  animation: pulse 2s infinite, gradientMove 4s linear infinite;
  background-size: 200% auto;
  transition: transform 0.3s ease;
}

.special-offer:hover {
  transform: scale(1.1);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 128, 0, 0.6);
}

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

@keyframes gradientMove {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ========== العناصر العامة ========== */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: 'Tajawal', sans-serif;
  transition: var(--transition);
}

/* ========== الهيكل العام ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.no-underline .section-header h2::after {
  display: none;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
}

.section-header .section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ========== الأزرار ========== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

.btn-secondary {
  background-color: var(--black);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-gray);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--black);
}

/* ========== تأثيرات الحركة ========== */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(50%); }
  40% { transform: translateY(-20px) translateX(50%); }
  60% { transform: translateY(-10px) translateX(50%); }
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

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

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== مكونات متكررة ========== */
/* الكروت */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  padding: 20px;
}

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

/* الأيقونات */
.icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* قسم تواصل معنا */
/* ===== قسم تواصل معنا ===== */
.contact-section {
  background: #f9fafc;
  padding: 80px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.contact-card-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
}

.info-item,
.branch-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon,
.branch-icon {
  width: 45px;
  height: 45px;
  background: #e9f1fc;
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
}

.info-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #333;
}

.contact-link,
.whatsapp-link,
.map-link,
.branch-phone {
  color: #0056b3;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover,
.whatsapp-link:hover,
.map-link:hover,
.branch-phone:hover {
  color: #000000;
  text-decoration: underline;
}

/* Tabs للفروع */
.branches-tabs {
  margin-top: 15px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #f1f5f9;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.tab-button.active {
  background: #0056b3;
  color: #fff;
}

.tab-button:hover {
  background: #003366;
  color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Social */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #333;
  transition: 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link.twitter { color: #1da1f2; }
.social-link.instagram { color: #e1306c; }
.social-link.tiktok { color: #000; }

/* Form */
form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

form input,
form select,
form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  width: 100%;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: #000000;
  box-shadow: 0 0 6px rgba(0, 87, 179, 0.164);
  outline: none;
}

button.btn-primary {
  background: #000000;
  color: #fff;
  border: none;
  padding: 14px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

button.btn-primary:hover {
  background: #000000;
}

/* Validation errors */
.validation-error {
  font-size: 0.85rem;
  color: #e63946;
  display: none;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}



/* ========== المكونات المحددة ========== */
/* شريط التقدم */
.progress-container {
  width: 100%;
  height: 5px;
  background-color: transparent;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.1s ease;
}

/* زر العودة للأعلى */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

/* الهيدر */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: var(--transition);
  border-bottom: 3px solid var(--primary-color);
}

header.sticky-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

header .container {
  display: flex;
/* justify-content: space-between;*/
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
}

@media (max-width: 768px) {
  header .container {
    padding: 10px 0;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.hamburger {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav {
  transition: var(--transition);
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 80px 30px 30px;
    overflow-y: auto;
  }
  
  nav.active {
    right: 0;
  }
}

nav ul {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

nav ul li {
  margin-left: 20px;
}

@media (max-width: 768px) {
  nav ul li {
    margin: 0 0 15px;
    width: 100%;
  }
}

nav ul li a {
  font-weight: 500;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 768px) {
  nav ul li a {
    padding: 10px 0;
    width: 100%;
  }
}

nav ul li a i {
  margin-right: 5px;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active::after {
  width: 100%;
}

nav ul li a.consult-btn {
  background-color: var(--primary-color);
  color: var(--black);
  padding: 10px 20px;
}

nav ul li a.consult-btn:hover {
  background-color: var(--dark-gold);
  color: var(--white);
}

/* القسم الرئيسي */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  /* تمهيد للخلفية لمنع CLS */
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(212, 175, 55, 0.7) 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

/* عنصر نائب للصورة لمنع CLS */
.hero-preload {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  /* حجز المساحة لمنع الانزياح */
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  /* منع الانزياح عند تحميل الخط */
  min-height: 4.2rem;
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
    min-height: 3.4rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
    min-height: 2.6rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    min-height: 2.3rem;
  }
}

.hero-content h1 span {
  color: var(--light-gold);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: var(--light-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hero-content h1 span.loaded::after {
  transform: scaleX(1);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  /* حجز المساحة لمنع الانزياح */
  min-height: 1.6rem;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.1rem;
    min-height: 1.4rem;
  }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  /* حجز المساحة لمنع الانزياح */
  min-height: 60px;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    min-height: 130px;
  }
}

/* شارة الاعتماد */
.hero-certification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 123, 255, 0.3);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 1.1rem;
  color: #e0f0ff;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
  transition: transform 0.3s ease;
  margin-top: 20px;
  backdrop-filter: blur(4px);
  /* حجز المساحة لمنع الانزياح */
  min-height: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-certification-badge.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-certification-badge:hover {
  transform: scale(1.05) translateY(0);
}

.hero-certification-badge .verification-icon {
  color: #1da1f2 !important;
  font-size: 1.5rem;
  animation: pulse 2s infinite ease-in-out;
}

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

/* زر التمرير للأسفل */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-down.visible {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* تحسينات للأداء */
@media (prefers-reduced-motion: reduce) {
  .hero-certification-badge,
  .hero-content h1 span::after,
  .scroll-down {
    transition: none;
    animation: none;
  }
}

/* تأثير نبض خفيف */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* نهاية الاعتماد*/

.scroll-down {
  position: absolute;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  animation: bounce 2s infinite;
  z-index: 1;
  border: 2px solid var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-down {
    animation: none;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(50%);
  }
  40% {
      transform: translateY(-20px) translateX(50%);
  }
  60% {
      transform: translateY(-10px) translateX(50%);
  }
}
/* قسم من نحن */
.about-section {
  background-color: #fafafa;
  position: relative;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--gold-color);
  z-index: 0;
}

.about-section::before {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  opacity: 0.1;
}

.about-section::after {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  opacity: 0.05;
}

.about-content {
  position: relative;
  z-index: 1;
  display: block;
}

.about-intro h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
}

@media (max-width: 576px) {
  .about-intro h3 {
    font-size: 1.6rem;
  }
}

.about-intro h3 span {
  color: var(--gold-color);
}

.about-intro h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 3px;
  background: var(--gold-color);
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: white;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--gold-color);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon i {
  font-size: 1.3rem;
  color: var(--gold-color);
}

.feature-content h4 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.mv-card {
  padding: 30px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 576px) {
  .mv-card {
    padding: 25px 20px;
  }
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: var(--gold-color);
}

.mv-mission::before {
  background: linear-gradient(90deg, var(--gold-color), var(--dark-gold));
}

.mv-vision::before {
  background: linear-gradient(90deg, var(--gold-color), #333);
}

.mv-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.mv-header i {
  font-size: 1.8rem;
  color: var(--gold-color);
  margin-left: 15px;
}

.mv-header h3 {
  font-size: 1.4rem;
  color: var(--black);
}

@media (max-width: 576px) {
  .mv-header h3 {
    font-size: 1.2rem;
  }
}

.mv-card p {
  color: var(--medium-gray);
  line-height: 1.8;
}

/* قسم قيمانا */
.values-section {
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.values-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 50px;
  position: relative;
}

.values-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: var(--gold-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.value-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
  .value-card {
    padding: 30px 15px;
  }
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--gold-color);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-color);
}

.value-card h4 {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}
 
      
/* قسم الإحصائيات */
.stats-section {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="40" height="40" x="0" y="0" fill="%23D4AF37" opacity="0.05"/><rect width="40" height="40" x="50" y="50" fill="%23D4AF37" opacity="0.05"/></svg>');
  opacity: 0.3;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

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

.stat {
  text-align: center;
  padding: 30px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
  .stat {
    padding: 20px 10px;
  }
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-color);
}

@media (max-width: 768px) {
  .stat-icon {
    width: 50px;
    height: 50px;
  }
}

.stat-icon i {
  font-size: 1.8rem;
  color: var(--gold-color);
}

.stat .counter {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 10px 0;
  color: var(--gold-color);
  font-family: 'Tajawal', sans-serif;
}

@media (max-width: 768px) {
  .stat .counter {
    font-size: 2rem;
  }
}

.stat p {
  font-size: 1.1rem;
  color: var(--white);
  margin-top: 10px;
  font-weight: 500;
}

.stats-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gold);
  font-size: 0.95rem;
  padding: 12px 20px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 30px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px dashed var(--gold-color);
}

.stats-note i {
  margin-left: 10px;
  color: var(--gold-color);
}

/* تأثيرات العداد */
.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.counter.changing {
  animation: pulse 0.5s ease infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .counter.changing {
    animation: none;
  }
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* قسم الخدمات */
.services-section {
  background-color: var(--light-gray);
  position: relative;
  padding: 60px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 350px;
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
    min-height: 320px;
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

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

.card-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
}

@media (max-width: 480px) {
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

.card h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .card h3 {
    font-size: 1.1rem;
  }
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .card p {
    font-size: 0.9rem;
  }
}

.card-link {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--primary-dark);
}

.card-link i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(-5px);
}
/* قسم المشاريع */
.projects-section {
  padding: 80px 0;
  background: #fafafa; /* خلفية فاتحة للقسم */
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color, #0066cc);
  margin-bottom: 15px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
}

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

.project-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.project-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.project-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.project-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
}

.view-all {
  text-align: center;
  margin-top: 60px;
}

.view-all .btn {
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid var(--primary-color, #0066cc);
  color: var(--primary-color, #0066cc);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.view-all .btn:hover {
  background: var(--primary-color, #0066cc);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}


/* قسم طلب استشارة */
.cta-section {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
  opacity: 0.2;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
:root {
  --primary-color: #004080; /* أزرق داكن */
  --secondary-color: #d4af37; /* ذهبي */
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
}
/* نموذج التواصل */
.contact-form {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-form h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form h3 i {
  color: var(--primary-color);
}

/* الحقول */
.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0,86,179,0.2);
  outline: none;
}

/* زر الإرسال */
.contact-form .btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: var(--primary-dark, #003d80);
}

/* رسائل التحقق */
.validation-error {
  display: none;
  font-size: 0.8rem;
  color: #d93025;
  margin-top: 5px;
}

/* رسالة بعد الإرسال */
.contact-form .form-message {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* أيقونات المعلومات */
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color:   var(--primary-color);

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.info-icon i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.info-icon:hover {
  transform: scale(1.1);
  background-color: rgba(212,175,55,0.2);
}

.info-content h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 5px;
  line-height: 1.6;
}

/* روابط */
.contact-link, .map-link, .branch-phone {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover, .map-link:hover, .branch-phone:hover {
  color: #00264d; /* أزرق أغمق */
  text-decoration: underline;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(37,211,102,0.15);
  color: #0b6623 !important;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-link:hover {
  background-color: rgba(37,211,102,0.25);
  transform: translateY(-2px);
}

/* التبويبات */
.branches-tabs {
  margin-top: 15px;
}

.tab-buttons {
  display: flex;
  background: #f5f5f5;
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 20px;
}

.tab-button {
  flex: 1;
  padding: 10px 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.tab-button.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

/* أيقونات الفروع */
.branch-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.branch-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0,64,128,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.branch-info h4 {
  margin-bottom: 5px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.branch-badge {
  background: var(--secondary-color);
  color: white;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

.branch-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
}

/* نموذج التواصل */
.contact-form h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.validation-error {
  display: none;
  color: red;
  font-size: 0.85rem;
  margin-top: 3px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background-color: #00264d;
}

/* وسائل التواصل الاجتماعي */
.social-links h4 {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--primary-color);
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

/* استجابة الجوال */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.branch-item {
  display: flex;
  margin-bottom: 20px;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #eee;
  transition: all 0.3s ease;
}

.branch-item:hover {
  transform: translateY(-3px);
}

.branch-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.branch-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.branch-icon i {
  font-size: 1.2rem;
  color: #000000;
}

.main-branch .branch-icon {
  background-color: rgba(212, 175, 55, 0.1);
}

.main-branch .branch-icon i {
  color: var(--primary-color);
}

.branch-info h4 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.branch-badge {
  background: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 15px;
  display: inline-block;
}

.branch-info p {
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.branch-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.map-link, .branch-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a90e2;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.branch-phone {
  color: var(--primary-color);
}

.map-link:hover {
  color: #2a6fc9;
  text-decoration: underline;
}

.branch-phone:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.map-link i, .branch-phone i {
  font-size: 0.9rem;
}

/* أنماط responsive */
@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
    border-radius: 10px;
  }
  
  .branch-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* أنماط النموذج المعدلة */
.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .contact-form {
    padding: 20px;
  }
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form h3 i {
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background-color: white;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 20px center;
  background-size: 12px;
  padding-right: 20px;
}

.validation-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
  text-align: right;
}

.form-group.error .validation-error {
  display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary i {
  font-size: 1.1rem;
}

.btn-primary .loading-icon {
  display: none;
}

.btn-primary.loading .submit-text {
  display: none;
}

.btn-primary.loading .loading-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background-color: rgba(46, 204, 113, 0.2);
  color: #27ae60;
  display: block;
}

.form-message.error {
  background-color: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  display: block;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.social-links h4 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-link {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  background: #000; /* افتراضي لتويتر/X */
}

/* حجم الأيقونات داخل الرابط سواء <i> أو <svg> */
.social-link i,
.social-link svg {
  width: 24px;
  height: 24px;
  display: block;
  color: inherit; /* يرث لون الخلفية */
}

/* حركة عند المرور */
.social-link:hover {
  transform: translateY(-6px) scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ألوان حديثة لكل منصة */
.social-link.twitter { background: #000; } /* X شعار أسود */
.social-link.facebook { background: #1877F2; }
.social-link.linkedin { background: #0A66C2; }
.social-link.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-link.youtube { background: #FF0000; }
.social-link.tiktok { background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55); }

/* Tooltip عند المرور */
.social-link::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.social-link:hover::after {
  opacity: 1;
}

/* أنماط الشركاء والاعتمادات */
.partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.partner {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: calc(16.666% - 1.5rem);
  min-width: 150px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* قسم اعتمادات الجهات الحكومية */
.government-approvals {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 0;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 2;
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.approvals-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--black);
  font-weight: 700;
  font-size: 1.2rem;
}

.approvals-title i {
  color: var(--gold-color);
  margin-left: 10px;
  font-size: 1.5rem;
}

.approvals-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-item {
  width: 60px;
  height: 60px;
  padding: 10px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.logo-item:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

.logo-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--black);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.logo-item:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 10px);
}
/* ===========================================
   أنماط كروت الخدمات المحسنة - النسخة النهائية
   =========================================== */
/* أنماط عنوان القسم المحسنة */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
}

.section-header h2 .highlight {
    color: var(--primary-color);
    position: relative;
}

.section-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform-origin: right;
    animation: underlineGrow 1s ease-out forwards;
}

@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.section-header .section-description {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
}

.section-header .section-description::before,
.section-header .section-description::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.section-header .section-description::before {
    right: calc(100% + 20px);
}

.section-header .section-description::after {
    left: calc(100% + 20px);
}

/* تأثيرات للشاشات الصغيرة */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .section-header .section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .section-description::before,
    .section-header .section-description::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-header .section-description {
        font-size: 1rem;
    }
}
.services-section {
    padding: 90px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-section {
    margin-bottom: 50px;
    text-align: center;
}

.services-section .section-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
}

.services-section .section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F5D073);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-section .section-description {
    font-size: 1.15rem;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* شارة الأكثر طلباً */
.service-badge {
    position: absolute;
    top: -10px; /* تغيير من 15px إلى -10px ليظهر أعلى الكارت */
    right: 15px; /* تغيير من left إلى right لإبعاده عن النص */
    background: linear-gradient(135deg, #D4AF37, #F5D073);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem; /* تصغير الخط قليلاً */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    z-index: 2;
    animation: pulse 2s infinite;
    white-space: nowrap; /* منع تكرار النص على سطرين */
    max-width: 90%; /* تحديد عرض أقصى */
    overflow: hidden;
    text-overflow: ellipsis; /* إضافة ... إذا كان النص طويلاً */
}
.service-card {
    position: relative;
    padding-top: 10px; /* إضافة مساحة في الأعلى للبادج */
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card-header {
    padding: 25px;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F5D073);
}

.card-icon {
    font-size: 2rem;
    color: #D4AF37;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.card-title-wrapper {
    flex: 1;
    padding-right: 20px;
}

.card-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
}

.service-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

/* أنماط مميزات الخدمة */
.service-features {
    margin: 25px 0;
}

.features-title {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
    font-weight: 600;
}

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

.service-features li {
    margin-bottom: 12px;
    position: relative;
    padding-right: 30px;
    line-height: 1.6;
    color: #555;
}

.service-features li i {
    color: #D4AF37;
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 1.1rem;
}

/* أنماط متطلبات الخدمة */
.service-requirements {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border-right: 4px solid #D4AF37;
  animation: fadeIn 0.3s ease-out;
}

.requirements-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.requirements-header i {
  margin-left: 10px;
  color: #D4AF37;
}

.requirements-list {
  list-style: none;
  padding: 0;
}

.requirements-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.requirements-list i {
  margin-left: 8px;
  color: #D4AF37;
}

.toggle-requirements {
  background: none;
  border: none;
  color: #D4AF37;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.toggle-requirements:hover {
  color: #b38f2a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* تذييل البطاقة */
.card-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 0.9rem;
}

.meta-item i {
    color: #D4AF37;
    font-size: 0.9rem;
}

.service-price {
    font-weight: 700;
    color: #B8860B;
    font-size: 1.2rem;
}

.service-request {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #D4AF37, #F5D073);
    padding: 10px 18px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.service-request:hover {
    color: #fff;
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.service-request:hover i {
    transform: translateX(-5px);
}

.service-request i {
    transition: transform 0.3s ease;
}

/* تأثيرات للبطاقات المميزة */
.service-card.featured {
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.service-card.featured .card-header::before {
    height: 6px;
}

/* تأثيرات للشاشات الصغيرة */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 70px 0;
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .services-section .section-title {
        font-size: 1.8rem;
    }
    
    .services-section .section-description {
        font-size: 1rem;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .requirements-list li {
        font-size: 0.9rem;
        padding: 8px 0 8px 25px;
    }
    
    .service-request {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
/* أنماط المودال المحسنة */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        max-height: calc(100vh - 200px);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #777;
    transition: all 0.3s ease;
    padding: 5px;
}

.close-btn:hover {
    color: #D4AF37;
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-sizing: border-box;
    max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
    background-color: #fff;
}

.form-group textarea {
    height: 120px;
    min-height: 60px;
    max-height: 200px;
    resize: vertical;
    overflow-y: auto;
}


.required-field::after {
    content: " *";
    color: #e74c3c;
}

.submit-btn {
    background-color: #D4AF37;
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    max-width: 100%; /* إضافة هذه الخاصية */
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-sizing: border-box; /* تضمين الحشوة في الحساب */
    white-space: nowrap; /* منع تكسر النص */
    overflow: hidden; /* منع تجاوز النص */
    text-overflow: ellipsis; /* إضافة ... إذا تجاوز النص المساحة */
}

.submit-btn:hover {
    background-color: #B8860B;
}

.spinner {
    display: none;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top: 4px solid #D4AF37;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.response-message {
    display: none;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.response-message.success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.response-message.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.close-message-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 10px;
    float: left;
    transition: all 0.3s ease;
}

.close-message-btn:hover {
    transform: scale(1.2);
}

/*   مودال النجاح للخدمات */
#successModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  #successModal .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  #successModal .modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
  }
  
  #successModal .modal-header h3 {
    margin: 0;
    color: #4CAF50;
    text-align: center;
  }
  
  #successMessageContent {
    text-align: center;
    padding: 10px;
  }
  
  #confirmSuccessBtn {
    display: block;
    width: 100px;
    margin: 20px auto 0;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #confirmSuccessBtn:hover {
    background-color: #45a049;
  }



/* استعلامات وسائط للتكبير*/
@media screen and (min-resolution: 120dpi) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* التأخير في ظهور البطاقات */
.service-card {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

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

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1s; }

/* ===========================================
   نهاية أنماط كروت الخدمات المحسنة
   =========================================== */

/* أنماط متجاوبة إضافية */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .card-footer {
        padding: 15px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
    }
}

/* أنماط متجاوبة إضافية */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .modal-content {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .card-footer {
        padding: 15px;
    }
}
@media (max-width: 768px) {
  .government-approvals {
    padding: 15px 0;
  }
  
  .logo-item {
    width: 50px;
    height: 50px;
    padding: 8px;
  }
  
  .approvals-title {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .partner {
    width: calc(20% - 1.5rem);
  }
}

@media (max-width: 992px) {
  .partner {
    width: calc(25% - 1.5rem);
  }
}

@media (max-width: 768px) {
  .partner {
    width: calc(33.333% - 1.5rem);
  }
}

@media (max-width: 576px) {
  .partner {
    width: calc(50% - 1.5rem);
  }
}

.partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.partner img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

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

.partner-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(150, 135, 0, 0.664);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.partner:hover .partner-name {
  opacity: 1;
  transform: translateY(0);
}

/* الفوتر */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

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

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  transition: var(--transition);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  color: var(--black);
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateX(-5px);
}

.footer-col ul li a i {
  margin-right: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
}

.newsletter-form button {
  width: 50px;
  background-color: var(--primary-color);
  color: var(--black);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--dark-gold);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.copyright {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 576px) {
  .footer-links {
    justify-content: center;
  }
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}
/* زر الاستشارة العائم */
#consultBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

/* إخفاء نص الزر على الجوال وإظهار فقط الأيقونة */
@media (max-width: 768px) {
  #consultBtn {
    padding: 14px;
    border-radius: 50%;
    left: 15px;
    width: 50px;
    height: 50px;
    justify-content: center;
  }

  #consultBtn .btn-text {
    display: none;
  }

  #consultBtn i {
    font-size: 1.2rem;
  }
}


/* بادج العتماد */
.hero-certification-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 123, 255, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: bold;
  margin-top: 20px;
}
.verification-icon {
  color: #1da1f2 !important;
  font-size: 1.5rem;
  animation: pulse 2s infinite ease-in-out;
}
.hero-certification-badge i {
  font-size: 1.2rem;
  color: var(--light-gold);
}

@keyframes fadeInBadge {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
    /* إضافة مسافة قبل قسم خدمات التصميم */
    @media (min-width: 992px) {
      #design-services {
        padding-top: 80px;
        margin-top: 40px;
      }
    }
    @media (max-width: 991px) {
      #design-services {
        padding-top: 50px;
        margin-top: 30px;
      }
    }
/* إصلاح font-display للخطوط بتاعة Font Awesome */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2"),
       url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff") format("woff");
}

