.volunteers {
  background-image: url('../images/svg/Recurso\ 2.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 40px;
  color: var(--black);
}

.volunteers__content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.volunteers__text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.volunteers__title {
  font-size: 48px;
  line-height: 1.2;
  color: var(--black);
}

.volunteers__description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--black);
}

.volunteers__cta {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.volunteers__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--white);
  color: var(--black);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 18px;
}

.volunteers__button:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.volunteers__icon {
  width: auto;
  height: 25px;
  transition: transform 0.3s ease;
  border-radius: 5px;
  padding: 2px;
}

.volunteers__button:hover .volunteers__icon {
  transform: scale(1.1);
}

.volunteers__preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.volunteers__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.volunteers__image:hover {
  transform: translateY(-10px);
}

/* Media queries */
@media screen and (max-width: 1200px) {
  .volunteers {
    padding: 60px 30px;
  }

  .volunteers__title {
    font-size: 40px;
  }

  .volunteers__description {
    font-size: 18px;
  }
}

@media screen and (max-width: 992px) {
  .volunteers__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .volunteers__text {
    order: 2;
  }

  .volunteers__preview {
    order: 1;
  }

  .volunteers__cta {
    justify-content: center;
  }

  .volunteers__image {
    max-width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .volunteers {
    padding: 40px 20px;
  }

  .volunteers__title {
    font-size: 32px;
  }

  .volunteers__description {
    font-size: 16px;
  }

  .volunteers__button {
    padding: 12px 24px;
    font-size: 16px;
    gap: 8px;
  }

  .volunteers__icon {
    width: auto;
    height: 20px;
  }

  .volunteers__image {
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .volunteers {
    padding: 30px 15px;
  }

  .volunteers__title {
    font-size: 28px;
  }

  .volunteers__description {
    font-size: 15px;
  }

  .volunteers__button {
    padding: 10px 20px;
    font-size: 14px;
    gap: 6px;
  }

  .volunteers__icon {
    width: auto;
    height: 18px;
  }

  .volunteers__image {
    max-width: 250px;
  }
}
