/* style/download.css */

/* Base styles for page-download specific content */
.page-download {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
}

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

.page-download__section-title,
.page-download__video-title,
.page-download__cta-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 font size with clamp */
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__section-description,
.page-download__video-description,
.page-download__hero-description,
.page-download__cta-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for initial content */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  overflow: hidden;
}

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

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

.page-download__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-download__main-title {
  font-size: clamp(32px, 5vw, 56px); /* H1 font size with clamp */
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 25px;
  line-height: 1.1;
}

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

/* Buttons */
.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: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Main text color */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  filter: brightness(1.1);
}

.page-download__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green Gold main color */
  border: 2px solid #2AD16F; /* Green Gold main color */
}

.page-download__btn-secondary:hover {
  background: #2AD16F; /* Green Gold main color */
  color: #F2FFF6; /* Main text color */
  transform: translateY(-3px);
}

.page-download__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Video Section */
.page-download__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green background */
  box-sizing: border-box;
}

.page-download__video-container {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for video */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-download__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

.page-download__video,
.page-download__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  cursor: pointer;
}

/* Download Options Section */
.page-download__download-options {
  background-color: #11271B; /* Card BG color */
  padding: 80px 20px;
}

.page-download__options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__option-card {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

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

.page-download__option-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-download__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-download__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Features Section */
.page-download__features {
  padding: 80px 20px;
  background-color: #08160F; /* Custom Background */
}

.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__feature-item {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-download__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Installation Guide Section */
.page-download__installation-guide {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green background */
}

.page-download__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-download__step-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.page-download__step-number {
  min-width: 50px;
  height: 50px;
  background-color: #2AD16F; /* Green Gold main color */
  color: #08160F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.5);
}

.page-download__step-content {
  flex-grow: 1;
}

.page-download__step-title {
  font-size: 26px;
  font-weight: 700;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 10px;
}

.page-download__step-text {
  font-size: 18px;
  color: #A7D9B8; /* Secondary text color */
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-download__step-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 15px;
}

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 20px;
  background-color: #11271B; /* Card BG color */
}

.page-download__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-download__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-download__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  transition: background-color 0.3s ease;
}

.page-download__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-download__faq-item summary:hover {
  background-color: rgba(42, 209, 111, 0.1);
}

.page-download__faq-qtext {
  flex-grow: 1;
}

.page-download__faq-toggle {
  font-size: 28px;
  font-weight: 500;
  margin-left: 15px;
  color: #2AD16F; /* Green Gold main color */
}

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

/* CTA Bottom Section */
.page-download__cta-bottom {
  padding: 80px 20px;
  background-color: #08160F; /* Custom Background */
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-image-wrapper {
    padding: 0 20px;
  }
  .page-download__hero-content {
    padding: 20px;
  }
  .page-download__options-grid {
    grid-template-columns: 1fr;
  }
  .page-download__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-download__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-download__step-number {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-download__container,
  .page-download__hero-content,
  .page-download__video-container,
  .page-download__options-grid,
  .page-download__features-grid,
  .page-download__guide-steps,
  .page-download__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-download__hero-section,
  .page-download__video-section,
  .page-download__download-options,
  .page-download__features,
  .page-download__installation-guide,
  .page-download__faq-section,
  .page-download__cta-bottom {
    padding-left: 0;
    padding-right: 0;
  }

  .page-download img,
  .page-download__option-icon,
  .page-download__feature-icon,
  .page-download__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download video,
  .page-download__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-download__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-download__cta-button,
  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download a[class*="button"],
  .page-download a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__cta-buttons,
  .page-download__button-group,
  .page-download__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-download__main-title {
    font-size: 32px; /* Smaller H1 on mobile */
  }

  .page-download__section-title,
  .page-download__video-title,
  .page-download__cta-title {
    font-size: 28px;
  }

  .page-download__card-title,
  .page-download__step-title {
    font-size: 22px;
  }

  .page-download__faq-item summary {
    font-size: 18px;
    padding: 15px 20px;
  }

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

@media (max-width: 480px) {
  .page-download__main-title {
    font-size: 28px;
  }
  .page-download__section-title,
  .page-download__video-title,
  .page-download__cta-title {
    font-size: 24px;
  }
  .page-download__hero-description,
  .page-download__section-description,
  .page-download__video-description,
  .page-download__cta-description {
    font-size: 15px;
  }
  .page-download__btn-primary,
  .page-download__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-download__option-card,
  .page-download__feature-item {
    padding: 20px;
  }
  .page-download__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .page-download__step-title {
    font-size: 20px;
  }
  .page-download__step-text {
    font-size: 15px;
  }
}