/* Styling the download button with gradient and animation */
.download-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #9E2A1F, #F7931E); /* Red to orange gradient */
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px; /* Rounded corners */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15); /* Soft shadow */
  font-weight: bold; /* Bold text */
}

/* Hover effect with reverse gradient, zoom, and stronger shadow */
.download-button:hover {
  background: linear-gradient(45deg, #F7931E, #9E2A1F); /* Reverse the gradient on hover */
  transform: scale(1.1); /* Slight zoom on hover */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25); /* Stronger shadow on hover */
}

/* Styling the download icon */
.download-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  transition: transform 0.2s ease;
}

/* Icon spin effect on hover */
.download-button:hover .download-icon {
  transform: rotate(360deg); /* Icon spins on hover */
}

/* Optional: Styling for the h4 inside the button */
.download-button h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  color: white; /* Ensure text is white */
  font-weight: bold; /* Make the text bold */
  transition: transform 0.3s ease;
}

/* Adding a subtle bounce effect on hover for text */
.download-button:hover h4 {
  transform: translateY(-5px); /* Slight lift on hover */
}


/* Core layout */
.service-box {
  position: relative;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  max-width: 700px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.service-box:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Headings */
.service-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #222;
}

/* Button styles */
.toggle-btn {
  margin-top: 1rem;
  background-color: #F7931E;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #9E2A1F;
}

/* Hidden text block (collapsed state) */
.extra-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  display: block;
}

/* Visible text block (expanded state) */
.extra-text.show {
  max-height: 500px; /* Adjust based on your content */
  opacity: 1;
}

/* Optional: Style the extra content */
.extra-text strong {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #333;
}

