/* כללי */
body {
  font-family: 'Heebo', sans-serif;
  background: url('images/reka2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
}

/* באנר עליון */
.top-banner {
  display: block;
  background-color: #004a99;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  text-decoration: none;
}

/* קונטיינר */
.container {
  max-width: 480px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.page-title {
  margin-bottom: 25px;
  font-size: 28px;
  color: #004a99;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  border-color: #004a99;
  outline: none;
}

.error-message {
  color: #d93025;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.required {
  color: #d93025;
  margin-left: 3px;
}

/* כפתור שליחה */
.btn-submit {
  background-color: #004a99;
  color: white;
  border: none;
  padding: 14px;
  font-size: 17px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* אייקון מטוס בכפתור */
.btn-submit .btn-icon {
  display: inline-block;
  font-size: 20px;
  transition: transform 0.3s;
  color: white;
}

/* אנימציית טיסה עדינה */
.btn-submit.loading .btn-icon {
  animation: fly 1.2s ease-in-out infinite;
}

@keyframes fly {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(6px) rotate(12deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

/* ספינר טעינה */
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-top: 3px solid #004a99;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-response {
  margin-top: 20px;
  font-weight: 600;
  font-size: 16px;
  min-height: 24px;
  text-align: center;
}

.form-response.success {
  color: #1a7a1a;
}

.form-response.error {
  color: #d93025;
}

/* כפתורי צד */
.side-buttons {
  position: fixed;
  top: 40%;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.side-btn img {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* להגדיל רק את הסמל של המייל */
.side-btn.mail img {
  width: 44px;
  height: 44px;
}

/* רספונסיביות */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  .side-buttons {
    top: auto;
    bottom: 20px;
    right: 10px;
    flex-direction: row;
    gap: 10px;
  }

  .side-btn img {
    width: 32px;
    height: 32px;
  }

  .side-btn.mail img {
    width: 38px;
    height: 38px;
  }
}
