.page-download {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Text Main color for dark background */
  font-family: Arial, sans-serif; /* A common sans-serif font */
  line-height: 1.6;
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Consistent padding for content */
  box-sizing: border-box;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for separation */
  background-color: #0A4B2C; /* Deep Green from palette for hero background */
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure image wrapper does not overflow */
  margin-bottom: 30px; /* Space between image and content */
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Slightly rounded corners for aesthetics */
}

.page-download__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: #F2FFF6;
}

.page-download__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
}

.page-download__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary color */
}

.page-download__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-download__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-download__btn-secondary {
  background: #ffffff; /* White background for secondary button */
  color: #11A84E; /* Primary color text for secondary button */
  border: 2px solid #11A84E; /* Primary color border */
}

.page-download__btn-secondary:hover {
  background: #f0f0f0;
  color: #0e8c42;
}

/* General Section Styling */
.page-download__section {
  padding: 80px 0;
  background-color: #08160F; /* Default background for sections */
}

.page-download__section:nth-of-type(even) {
  background-color: #0A4B2C; /* Alternate section background */
}

.page-download__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for section titles */
}

.page-download__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #A7D9B8; /* Text Secondary color */
}

/* Feature Grid */
.page-download__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-download__feature-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Text Main for card content */
  border: 1px solid #2E7A4E; /* Border color */
}

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

.page-download__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px; /* Example size, ensuring min 200px display */
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-download__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for feature titles */
}

.page-download__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary color */
}

/* Guide Section */
.page-download__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-download__guide-block {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main for guide content */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-download__guide-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #22C768; /* Auxiliary color for guide titles */
  text-align: center;
}

.page-download__guide-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 25px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-download__guide-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary color */
}

.page-download__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #11A84E; /* Primary color for step numbers */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.page-download__guide-button {
  width: 100%;
  margin-top: 20px;
}

/* FAQ Section */
.page-download__faq-list {
  margin-top: 50px;
}

.page-download__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main for FAQ content */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Gold for FAQ questions */
  list-style: none; /* Remove default marker for summary */
}

.page-download__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-download__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary color */
  line-height: 1.7;
}

.page-download__faq-answer p {
  margin: 0;
}

.page-download__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #22C768; /* Auxiliary color for toggle icon */
}

/* Bottom CTA Section */
.page-download__cta-bottom-section .page-download__container {
  text-align: center;
  padding: 50px;
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-download__cta-bottom-section .page-download__section-title {
  margin-bottom: 25px;
  color: #F2C14E; /* Gold for CTA title */
}

.page-download__cta-bottom-section .page-download__section-description {
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary color */
}

.page-download__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__cta-button-bottom {
  max-width: 300px; /* Limit width for bottom CTA button */
  width: 100%;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__hero-section {
    padding-bottom: 40px;
  }
  .page-download__hero-content {
    padding: 0 15px;
  }
  .page-download__section {
    padding: 60px 0;
  }
  .page-download__section-description {
    margin-bottom: 40px;
  }
  .page-download__feature-card,
  .page-download__guide-block {
    padding: 25px;
  }
  .page-download__faq-question {
    padding: 18px 20px;
  }
  .page-download__faq-answer {
    padding: 0 20px 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
  .page-download__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-download__intro-text {
    font-size: 1rem;
  }
  .page-download__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download__guide-button,
  .page-download__cta-button-bottom {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-download__feature-grid,
  .page-download__guide-steps {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .page-download__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-download__faq-question {
    font-size: 1.1rem;
  }
  .page-download__faq-answer {
    font-size: 0.95rem;
  }

  .page-download__cta-bottom-section .page-download__container {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-download__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-download__section-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-download__feature-title {
    font-size: 1.3rem;
  }
  .page-download__guide-title {
    font-size: 1.4rem;
  }
  .page-download__faq-question {
    font-size: 1rem;
  }
  .page-download__feature-icon,
  .page-download__guide-image,
  .page-download__cta-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure they scale down but meet min size */
  }
}

/* Ensure images meet min size requirement */
.page-download img {
    min-width: 200px;
    min-height: 200px;
}
.page-download__feature-icon {
    max-width: 100%; /* Ensure it fits the card */
    width: auto; /* Allow natural width, but respect max-width */
}
.page-download__guide-image {
    max-width: 100%;
}
.page-download__cta-image {
    max-width: 100%;
}