/* Hero Section */
.digital-hero {
  position: relative;
  /* Keep the hero tall by default, but allow scrolling if content is taller */
  min-height: 100vh;
  padding: 8rem 0 4rem;
  /* Remove overflow: hidden so text is never clipped */
  /* overflow: hidden; */
  color: var(--malagasy-white);
}

.digital-hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/nya010.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.digital-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}

.digital-hero-content {
  position: relative;
  z-index: 1;
}

.digital-hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.digital-hero .lead {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.digital-hero-description {
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(5px);
}

.digital-hero-description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.digital-hero-description p:last-child {
  margin-bottom: 0;
}

/* Vision Section */
.vision-section {
  padding: 5rem 0;
}

/* Impact Section */
.impact-section {
  padding: 5rem 0;
}

.impact-card {
  text-align: center;
  padding: 2rem;
  background: var(--malagasy-white);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
}

.impact-card i {
  font-size: 2.5rem;
  color: var(--malagasy-green);
  margin-bottom: 1.5rem;
}

.impact-card h3 {
  color: var(--malagasy-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Help Section */
.help-section {
  padding: 5rem 0;
}

.help-card {
  text-align: center;
  padding: 2rem;
  background: var(--malagasy-white);
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(0, 126, 58, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon i {
  font-size: 2rem;
  color: var(--malagasy-green);
}

.help-card h3 {
  color: var(--malagasy-green);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.social-links .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .digital-hero {
    padding: 6rem 0 3rem;
  }

  .digital-hero h1 {
    font-size: 2.5rem;
  }

  .digital-hero .lead {
    font-size: 1.25rem;
  }

  .digital-hero-parallax {
    background-attachment: scroll;
  }

  .digital-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }
}

@media (max-width: 767.98px) {
  .digital-hero {
    padding: 5rem 0 2.5rem;
    min-height: auto;
  }

  .digital-hero h1 {
    font-size: 2rem;
  }

  .digital-hero-description {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .vision-section,
  .impact-section,
  .help-section {
    padding: 3rem 0;
  }

  .impact-card,
  .help-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .digital-hero h1 {
    font-size: 1.75rem;
  }

  .digital-hero-description {
    padding: 1.25rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon i {
    font-size: 1.5rem;
  }
}


.glossy-black {
  background: linear-gradient(
    140deg,
    #111 0%,
    #000 100%
  );
}

/* Wishlist Modal */
.wishlist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wishlist-item i {
  color: var(--malagasy-green);
  font-size: 1.25rem;
}