 body {
      font-family: 'Arial', sans-serif;
      background-color: #f4f4f4;
      color: #333;
      text-align: center;
      margin: 0;
      padding: 0 15px;
      overflow-x: hidden;
    }

    .main-header {
      background-color: #fff;
      padding: 15px 0;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      margin-bottom: 30px;
      text-align: center;
    }

    .logo {
      width: 160px;
      height: auto;
    }

    h1, h2 {
      color: #2c2929;
      margin: 15px 0;
    }
    
    .location-button {
  background-color: #dc3545;
}

.location-button:hover {
  background-color: #c82333;
}


    .branch-list {
      list-style: none;
      margin: 0 auto 30px;
      padding: 0;
      max-width: 600px;
    }

    .branch-list li {
      background-color: #fff;
      margin: 10px 0;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 10px;
      transition: 0.3s;
    }

    .branch-list li:hover {
      background-color: #e9ecef;
    }

    .contact-buttons a {
      margin: 5px;
      padding: 8px 14px;
      border-radius: 25px;
      font-size: 14px;
      text-decoration: none;
      color: #fff;
      display: inline-block;
      transition: 0.3s;
    }

    .whatsapp-button { background-color: #25D366; }
    .whatsapp-button:hover { background-color: #1ebe57; }
    .call-button { background-color: #007bff; }
    .call-button:hover { background-color: #0056b3; }

    .social-icons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 30px auto;
    }

    .social-icons a {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 22px;
      transition: 0.3s ease-in-out;
      text-decoration: none;
    }

    .facebook { background-color: #3b5998; }
    .instagram { background-color: #e4405f; }
    .tiktok { background-color: #000; }
    .youtube { background-color: #ff0000; }
        .social-icons a.website {
      background-color: #143d69;
  color: #eff4f5; /* لون أزرق سماوي */
  transition: color 0.3s ease;
}

.social-icons a.website:hover {
  color: #c7e7eb; /* لون غامق عند المرور */
}


    .social-icons a:hover {
      transform: scale(1.1);
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    .employee-section {
      margin-bottom: 40px;
    }

.employees {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  grid-template-columns: repeat(2, 1fr); 
}
.employee-section {
  background: linear-gradient(to bottom, #f0f0f0, #ffffff);
  padding: 60px 20px;
  text-align: center;
}

.employee-section .section-title {
  font-size: 32px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.employee-section .section-subtitle {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 40px;
}

.employees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

.employee {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  padding: 20px;
  transition: 0.3s;
}

.employee:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.employee img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.employee-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.employee-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.employee-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.employee-buttons a.whatsapp {
  background-color: #25D366;
}

.employee-buttons a.call {
  background-color: #007bff;
}

.employee-buttons a:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
@media (min-width: 1200px) {
  .employees {
    grid-template-columns: repeat(4, 1fr); 
  }
}

    .employee {
      background-color: #fff;
      padding: 15px;
      border-radius: 15px;
      box-shadow: 0 0 8px rgba(0,0,0,0.1);
      text-align: center;
    }

    .employee img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .employee-name {
      margin: 10px 0;
      font-weight: bold;
    }

.employee-buttons {
  display: flex;
  flex-direction: column;     /* افتراضيًا: الزرين فوق بعض */
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}


@media (min-width: 576px) {
  .employee-buttons {
    flex-direction: row;     /* من 576px فما فوق: الزرين جنب بعض */
    justify-content: center;
    flex-wrap: nowrap;
  }
}


.employee-buttons a {
  flex: 1 1 auto;         /* يخلي الزر يتمدد على حسب المساحة */
  white-space: nowrap;    /* يمنع النص من النزول لسطر جديد */
  min-width: 0;           /* يساعد في تقليص العرض عند الضرورة */
  text-align: center;
}

    .employee-buttons a {
      padding: 8px 14px;
      border-radius: 25px;
      font-size: 14px;
      color: white;
      text-decoration: none;
      transition: 0.3s;
    }

    .employee-buttons .whatsapp {
      background-color: #25D366;
    }

    .employee-buttons .whatsapp:hover {
      background-color: #1ebe57;
    }

    .employee-buttons .call {
      background-color: #007bff;
    }

    .employee-buttons .call:hover {
      background-color: #0056b3;
    }

    footer {
      padding: 20px 0;
      background-color: #fff;
      margin-top: 30px;
      font-size: 14px;
      color: #666;
    }
    
    body {
  font-family: 'Tahoma', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.social-media-section {
  background-color: #ffffff;
  padding: 40px 20px;
  border-radius: 15px;
  max-width: 700px;
  margin: 60px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon.facebook { background-color: #3b5998; }
.social-icon.instagram { background-color: #e1306c; }
.social-icon.tiktok { background-color: #000000; }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.website { background-color: #4caf50; }

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
