* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #007d39, #ffffff);
  /* color: #333; */
}

.form-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 1000px;
  width: 100%;
  padding: 10px;
  margin: 20px auto;
  border-top: 5px solid #007d39;
}

.form-container h2 {
  text-align: center;
  font-size: 23px;
  color: #007d39;
  margin-bottom: 20px;
  font-family: "Georgia", serif;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #007d39;
  box-shadow: 0 0 5px rgba(0, 125, 57, 0.3);
}

.form-container button {
  width: 100%;
  background: #007d39;
  color: #fff;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-container button:hover {
  background: #005b2c;
  box-shadow: 0 5px 15px rgba(0, 125, 57, 0.4);
}

.footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #555;
  font-family: "Georgia", serif;
}

.footer-note a {
  color: #007d39;
  text-decoration: none;
  font-weight: bold;
}

.footer-note a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.header-logo {
  width: 100px;
  margin-right: 15px;
}

.header-text {
  text-align: center;
}

.header-arabic {
  font-family: "Amiri", serif;
  font-size: 28px;
  margin: 0;
  color: #333;
}

.header-title {
  font-family: Arial, sans-serif;
  font-size: 22px;
  margin: 0;
  color: #000;
}

.header-reg {
  font-family: Arial, sans-serif;
  font-size: 22px;
  margin: 0;
  color: #333;
}

@media (max-width: 499px) {
  .footer-note a {
    color: #007d39;
    text-decoration: none;
    font-weight: bold;
  }

  .footer-note a:hover {
    text-decoration: underline;
  }

  .hidden {
    display: none;
  }

  .header-bottom {
    border-bottom: 1px solid #008000;
    margin-bottom: 10px;
  }

  .header-container {
    display: contents;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
  }

  .header-logo {
    width: 100px;
    margin: auto;
    display: block;
  }

  .header-text {
    text-align: center;
  }

  .header-arabic {
    font-family: "Amiri", serif;
    font-size: 24px;
    margin: 0;
    color: #333;
  }

  .header-title {
    font-family: Arial, sans-serif;
    font-size: 17px;
    margin: 0;
    color: #333;
  }

  .header-reg {
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin: 7px;
    color: #333;
  }
}

@media (max-width: 768px) {
  .form-container{
    max-width: 95% !important;
  }
  .responsive-image {
    display: none;
  }
}

@media (min-width: 500px) {
  .responsive-image {
    display: block;
    width: 100px;
  }
}

.success-message,
.error-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 9999;
  color: white;
  font-size: 14px;
}

.success-message {
  background-color: #28a745;
}

.error-message {
  background-color: #dc3545;
}

.mini-form-container {
  padding: 10px;
}
