.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Explicitly set for consistency with body */
}

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

.page-download__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #017439; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-download__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-download__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* CTA Button Styles */
.page-download__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
}

.page-download__btn-primary {
  background: #C30808; /* Custom color for Register/Login, used for primary CTA */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.3);
}

.page-download__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(195, 8, 8, 0.4);
}

.page-download__btn-secondary {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  box-shadow: 0 4px 12px rgba(1, 116, 57, 0.3);
}

.page-download__btn-secondary:hover {
  background: #005f2c;
  border-color: #005f2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(1, 116, 57, 0.4);
}

/* Image base styles */
.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Section background colors for contrast */
.page-download__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-download__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* HERO Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  overflow: hidden;
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__hero-section h1 {
  font-size: 48px;
  color: #FFFF00; /* Custom font color for titles in dark sections */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-download__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Guide Section */
.page-download__guide-section .page-download__section-title {
  color: #FFFF00;
}

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

.page-download__guide-item {
  background: #005f2c; /* Darker green for guide items */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-download__guide-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-download__guide-image {
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-download__guide-list {
  list-style: decimal;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

.page-download__guide-list li {
  margin-bottom: 10px;
}

.page-download__qr-section {
  background: #005f2c;
}

.page-download__qr-image {
  max-width: 200px;
  margin: 20px auto;
}

/* Benefits Section */
.page-download__benefits-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-download__benefits-text {
  flex: 1;
}

.page-download__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-download__benefits-list li {
  background: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

.page-download__benefits-list li strong {
  color: #017439;
}

.page-download__benefits-image {
  flex: 0 0 500px;
}

.page-download__benefits-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-download__feature-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-download__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-download__card-title {
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-download__feature-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-download__card-link {
  display: inline-block;
  background: #C30808;
  color: #FFFF00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-download__card-link:hover {
  background: #a30606;
}

/* Security Section */
.page-download__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-download__security-text {
  flex: 1;
}

.page-download__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-download__security-list li {
  background: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 16px;
}

.page-download__security-list li strong {
  color: #017439;
}

.page-download__security-image {
  flex: 0 0 500px;
}

.page-download__security-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-download__promotions-section .page-download__section-title {
  color: #FFFF00;
}

.page-download__promotions-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-download__promotions-list li {
  background: #005f2c;
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 17px;
  line-height: 1.7;
  border-left: 5px solid #FFFF00;
}

.page-download__promotions-list li strong {
  color: #FFFF00;
}

.page-download__promotions-section .page-download__cta-button {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}