* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', sans-serif;
}

body {
  background: linear-gradient(to top left, #c1edfa, #ffffff);
  min-height: 100vh;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #e90404;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 29.5px;
  height: auto;
}

header {
  background-color: #ffffff;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #e90404;
}

.register-container {
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
}

.register-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 30px;
}

.register-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #e90404;
}

.register-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.register-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

.register-box button {
  width: 100%;
  padding: 12px;
  background-color: #e90404;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-box button:hover {
  background-color: #ff3333;
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #e90404;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* أزرار التسجيل عبر المنصات */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.google-btn {
  background-color: #fff;
  border: 1px solid #ccc;
}

.facebook-btn {
  background-color: #1877f2;
}

.apple-btn {
  background-color: #000;
}

.social-btn:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 5%;
    text-align: center;
  }

  .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  header nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  header nav a {
    margin-left: 10px;
    font-size: 14px;
  }

  .register-container {
    margin: 30px auto;
    padding: 10px;
  }

  .register-box {
    padding: 20px;
  }

  .register-box h2 {
    font-size: 22px;
  }

  .register-box input {
    padding: 10px;
    font-size: 15px;
  }

  .register-box button {
    padding: 10px;
    font-size: 15px;
  }

  .login-link {
    font-size: 13px;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 50px 10% 20px;
  font-size: 15px;
  margin-top: 80px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  color: #e90404;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: #999;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid #333;
  padding-top: 20px;
}
