/* סגנון בסיס */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.filters input,
.filters select {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  min-width: 220px;
  transition: all 0.3s ease;
}

.filters input:focus,
.filters select:focus {
  border-color: #0077cc;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 119, 204, 0.3);
}

/* טפסים */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.form-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-item i {
  font-size: 50px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.form-item h3 {
  font-size: 18px;
  color: #333333;
  margin-bottom: 15px;
  min-height: 55px;
}

.form-item .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0077cc;
  color: #ffffff;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.form-item .cta-button:hover {
  background: #005fa3;
}

/* רספונסיביות */
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }
  
  .form-item h3 {
    font-size: 16px;
  }

  .form-item i {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .form-item {
    padding: 15px;
  }

  .form-item h3 {
    font-size: 14px;
    min-height: 50px;
  }

  .form-item .cta-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Loader */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #0077cc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.filters input,
.filters select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  min-width: 220px;
  transition: all 0.3s ease;
}

.filters input:focus,
.filters select:focus {
  border-color: #0077cc;
  box-shadow: 0 0 8px rgba(0, 119, 204, 0.3);
}

/* Forms */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.form-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-item i {
  font-size: 45px;
  color: #0077cc;
  margin-bottom: 15px;
}

.form-item h3 {
  font-size: 17px;
  color: #333;
  min-height: 55px;
  margin-bottom: 15px;
}

.form-item .cta-button {
  padding: 8px 16px;
  background: #0077cc;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.form-item .cta-button:hover {
  background: #005fa3;
}

/* Responsive */
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }
}


/* Hero Background */
.service-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/forms-hero.jpg') center center / cover no-repeat;
  opacity: 0.4; /* חצי שקוף */
  z-index: 1;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-hero p {
  font-size: 18px;
}


.forms-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.forms-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/forms-hero.jpg');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4; /* שקיפות עדינה */
  filter: blur(1px); /* טשטוש ממש עדין, אם בכלל רוצים */
  z-index: 1;
}

.forms-hero .container {
  position: relative;
  z-index: 2;
}

.forms-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.forms-hero p {
  font-size: 18px;
}
