/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
 /* font-family: 'Segoe UI', sans-serif;*/
   font-family:"Droid Arabic Kufi";
  background-color: #f1f5f9;
  color: #333;
  line-height: 1.6;
  direction: rtl;
}
.main {
  padding: 0px;
  width: 100%;
background-color:red;
  justify-content: center; /* Centers horizontally */
 

}
.main_in {
	  position: absolute;
 margin-top: 0px;
  left: 50%;
  transform: translate(-50%, -0); /* Shifts the div back by half its own width and height */

  background: white;
  padding: 0px;
  padding-bottom: 10px;
  border-radius: 10px;
  /*max-width: 500px;*/
  width: 80%;

  justify-content: center; /* Centers horizontally */
 

}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.menu a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
    font-size: 18px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login {
  text-decoration: none;
  color: #2563eb;
  font-weight: bold;
}

.btn-primary {
  background: #22c55e;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #16a34a;
}

.btn-primary-blue {
  background: #2563EC;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-primary-blue:hover {
  background: #305191;
}

/* ===== Hero Section ===== */
.hero {
  padding: 40px 20px;
  background: #e0f2fe;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.hero-text {
  flex: 1;
  min-width: 280px;
  text-align: right;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1e3a8a;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.hero-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== About & Contact Sections ===== */
.about, .contact {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.about h2, .contact h2 {
  color: #1e3a8a;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about p, .contact p {
  color: #555;
  font-size: 1rem;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #1e3a8a;
  color: white;
  font-size: 14px;
}

/* ===== Auth/Register Page Layout ===== */
.auth-container {
  padding: 40px 20px;
  background-color: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-box {
  background: white;
  display: flex;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

/* Info Side */
.info-side {
  flex: 1;
  background: #f9fafb;
  padding: 40px 30px;
  min-width: 300px;
  text-align: right;
}

.info-side .logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.info-side h2 {
  font-size: 1.4rem;
  color: #1e3a8a;
  margin-bottom: 15px;
}

.info-side p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Form Side */
.form-side {
  flex: 1;
  padding: 40px 30px;
  min-width: 300px;
  background: #fff;
}

.form-side h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1e40af;
}

.small-text {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.form-side form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-side input,
.form-side select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.phone-group {
  display: flex;
  gap: 10px;
}

.phone-group select {
  width: 35%;
}

.phone-group input {
  width: 65%;
}

.login-text {
  text-align: center;
  font-size: 0.95rem;
}

.login-text a {
  color: #2563eb;
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .auth-box {
    flex-direction: column-reverse;
  }

  .form-side, .info-side {
    padding: 30px 20px;
  }
}
