/* style/download.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register: #C30808;
  --button-login: #C30808;
  --button-register-login-text: #FFFF00;
}

.page-download {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color); /* Default light background */
}

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

.page-download__section {
  padding: 80px 0;
}

.page-download__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-download__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-download__text-center {
  text-align: center;
}

.page-download__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
  line-height: 1.2;
}

.page-download__section-intro {
  font-size: 19px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* 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); /* Ensure space below fixed header */
  overflow: hidden;
  min-height: 600px;
}

.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; /* Ensure content is above any potential background elements */
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 0;
}

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

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 30px;
  background: rgba(0, 0, 0, 0.55); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
  margin-top: -100px; /* Overlap with image for integrated look */
  padding-top: 120px; /* Adjust for overlap */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}