/* style/download.css */
.page-download {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

.page-download__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-download__section-title,
.page-download__cta-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-description,
.page-download__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-download__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
}

.page-download__dark-section .page-download__section-title,
.page-download__dark-section .page-download__cta-title {
  color: #ffffff;
}

.page-download__dark-section .page-download__section-description,
.page-download__dark-section .page-download__cta-description {
  color: #f0f0f0;
}

.page-download__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

/* Hero Section */
.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-download__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-download__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-download__cta-buttons--center {
  margin-top: 60px;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-download__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-download__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-download__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-download__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Features Section */
.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-download__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-download__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-download__feature-text {
  font-size: 1em;
  color: #555555;
}

/* How to Download Section */
.page-download__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-download__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-download__step-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-download__step-text {
  font-size: 1em;
  color: #555555;
}

.page-download__qr-code {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-top: 20px;
  border: 5px solid #017439;
  border-radius: 5px;
}

/* Security Section */
.page-download__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-download__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-download__security-image {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__security-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-download__security-text {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-download__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-download__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: #d8eeda;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-download__faq-item.active .page-download__faq-toggle {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-download__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-download__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-download__cta-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-download__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__hero-description {
    font-size: 1.2em;
  }
  .page-download__section-title,
  .page-download__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-download__hero-title {
    font-size: 2.2em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__btn-primary,
  .page-download__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__content-area,
  .page-download__dark-section,
  .page-download__light-bg,
  .page-download__hero-section,
  .page-download__features-section,
  .page-download__how-to-download-section,
  .page-download__security-section,
  .page-download__faq-section,
  .page-download__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Images responsive */
  .page-download img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-download__hero-image-wrapper,
  .page-download__features-grid,
  .page-download__feature-card,
  .page-download__how-to-download-section,
  .page-download__step-card,
  .page-download__security-grid,
  .page-download__security-item,
  .page-download__faq-list,
  .page-download__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-download__feature-icon,
  .page-download__step-image,
  .page-download__security-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-download__qr-code {
    max-width: 150px !important;
  }

  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-download__faq-answer {
    padding: 0 20px;
  }

  .page-download__faq-item.active .page-download__faq-answer {
    padding: 15px 20px;
  }

  .page-download__section-title,
  .page-download__cta-title {
    font-size: 1.8em;
  }

  .page-download__section-description,
  .page-download__cta-description {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em;
  }
  .page-download__section-title,
  .page-download__cta-title {
    font-size: 1.5em;
  }
  .page-download__feature-title,
  .page-download__step-title,
  .page-download__security-title {
    font-size: 1.3em;
  }
  .page-download__faq-question {
    font-size: 1em;
  }
}