/* Blur effect for section blocks */
.section-block-with-blur {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.section-block-with-blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
  transform: scale(1.1);
  z-index: 0;
}

.section-block-with-blur:hover::before {
  filter: blur(4px);
}

.section-block-with-blur:hover {
  transform: scale(1.02);
}

.section-block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1;
}

.section-block-with-blur:hover .section-block-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.section-block-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.section-block-content h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.section-block-content .section-block-subtitle {
  color: #fff;
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
  font-weight: 300;
  opacity: 0.95;
}

.section-block-with-blur:hover .section-block-content h2 {
  transform: scale(1.1);
}

/* Mobile styles */
@media (max-width: 768px) {
  .section-block-content h2 {
    font-size: 1.8rem;
  }
  .section-block-content .section-block-subtitle {
    font-size: 1rem;
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-block-content h2 {
    font-size: 2rem;
  }
  .section-block-content .section-block-subtitle {
    font-size: 1.1rem;
  }
}
