body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100%;
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.overlay {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  text-align: center;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo img {
  width: auto;
  max-width: 280px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-shadow: none;
  border: none;
  outline: none;
}

/* Coming Soon Title */
.coming-soon {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  color: #ffa726;
  text-transform: uppercase;
  letter-spacing: 10px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #fff3e0;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 250px;
}

button {
  padding: 10px 20px;
  background: #d2691e;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.whatsapp {
  display: inline-block;
  padding: 10px 20px;
  background: #25d366;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.branches {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: right;      /* محاذاة النص لليمين */
  direction: rtl;         /* اتجاه الكتابة من اليمين لليسار */
}

.branch-group {
  min-width: 160px;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}

.branch-group:hover {
  background: rgba(255, 255, 255, 0.2);
}

.branch-group h3 {
  color: #ffb74d;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  border-bottom: 2px solid #ffb74d;
  padding-bottom: 5px;
}

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

.branch-group li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #fffde7;
  cursor: default;
}
.branches-title {
  font-family: 'Cairo', sans-serif; /* لو عايز خط عربي مميز ممكن تستخدم Cairo أو خط آخر */
  font-size: 2.8rem;
  color: #ffa726;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .branches {
    flex-direction: column;
    gap: 30px;
    text-align: center;  /* على الموبايل نخلي النص متوسط */
    direction: ltr;      /* نرجع اتجاه الكتابة عادي للموبايل */
  }
  .branch-group {
    min-width: auto;
    max-width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
  }
  .branch-group h3 {
    font-size: 1.1rem;
  }
  .branch-group li {
    font-size: 0.95rem;
  }
}


@media (max-width: 600px) {
  .branches {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .branch-group {
    min-width: auto;
    max-width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
  }
  .branch-group h3 {
    font-size: 1.1rem;
  }
  .branch-group li {
    font-size: 0.95rem;
  }
}

.social {
  text-align: center;
  margin-top: 20px;
}

.social a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.7rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social a:hover {
  transform: scale(1.2);
}

.social a[aria-label="Facebook"] { color: #1877f2; }
.social a[aria-label="Instagram"] { color: #e1306c; }
.social a[aria-label="WhatsApp"] { color: #25d366; }
.social a[aria-label="TikTok"] { color: #69c9d0; }


@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  input[type="email"] {
    width: 100%;
  }
  .branches {
    flex-direction: column;
    gap: 20px;
  }
  .branch-group {
    min-width: auto;
    text-align: center;
  }
}
