* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

body {
  background: linear-gradient(to bottom left, #ffffff, #c1edfa);
  min-height: 100vh;
  direction: ltr;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  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 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

header nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover,
header nav a.active {
  color: #e90404;
}

.contact-container {
  padding: 60px 10%;
  text-align: center;
  flex: 1;
}

.contact-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}

.contact-container form {
  background-color: #fff;
  padding: 30px;
  max-width: 600px;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-container input,
.contact-container textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-container button {
  padding: 12px 24px;
  background-color: #e90404;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-container button:hover {
  background-color: #ff3333;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 40px 10%;
  text-align: left;
  direction: ltr;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h4 {
  font-size: 18px;
  color: #e90404;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col ul li {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.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;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
  }

  header nav a {
    margin: 10px 10px 0 0;
    font-size: 16px;
  }

  .contact-container {
    padding: 40px 5%;
  }

  .contact-container h2 {
    font-size: 26px;
  }

  .contact-container form {
    padding: 20px;
  }

  .footer {
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-container h2 {
    font-size: 22px;
  }

  .contact-container input,
  .contact-container textarea,
  .contact-container button {
    font-size: 14px;
  }

  header nav a {
    font-size: 14px;
    margin-right: 10px;
  }

  header .logo {
    font-size: 20px;
  }
}
