/* style/download.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
}

.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Matches body background */
}

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

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

.page-download__section {
  padding: 60px 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

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

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

.page-download__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-download__dark-section .page-download__section-title {
  color: var(--text-light);
}

.page-download__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: inherit;
}

.page-download__dark-section .page-download__section-description {
  color: rgba(255, 255, 255, 0.9);
}

.page-download__card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: cover;
}

/* Buttons */
.page-download__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-download__btn-primary {
  background-color: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-download__btn-primary:hover {
  background-color: #d66f00; /* Darken login color */
  border-color: #d66f00; /* Darken login color */
  transform: translateY(-2px);
}

.page-download__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
  margin-left: 20px;
}

.page-download__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #007bff 100%); /* Example gradient */
}

.page-download__hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.page-download__hero-content {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.page-download__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-download__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-download__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-download__hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 400px; /* Minimum display size */
  min-height: 300px; /* Minimum display size */
}

/* Introduction Section */
.page-download__introduction-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-download__feature-item img {
  margin-bottom: 20px;
  max-width: 100%;
  min-width: 200px; /* Minimum display size */
  min- /* Minimum display size */
}