/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-index__hero-section {
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #fff;
  padding: 100px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.page-index__hero-content {
  max-width: 600px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.page-index__brand-name {
  font-weight: bold;
  color: #ffe0b2; /* A lighter, contrasting color for emphasis */
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-index__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__btn--primary {
  background-color: #0056b3; /* Darker blue for contrast */
  color: #fff;
  border: 2px solid #0056b3;
}

.page-index__btn--primary:hover {
  background-color: #004085;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-index__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-index__btn--text {
  background-color: transparent;
  color: #007bff;
  border: none;
  padding: 8px 0;
  text-decoration: underline;
}

.page-index__btn--text:hover {
  color: #0056b3;
}

.page-index__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
}

.page-index__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index__bg--light {
  background-color: #f8f9fa;
}

.page-index__section-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index__section-subtitle {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__content-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.page-index__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-index__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-index__text-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444;
}

.page-index__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-index__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index__feature-description {
  color: #666;
}

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

.page-index__detail-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__detail-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #007bff;
  text-decoration: none;
}

.page-index__detail-title a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index__detail-description {
  color: #555;
  margin-bottom: 20px;
}

.page-index__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-index__promo-banner {
  background: linear-gradient(90deg, #007bff, #28a745);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 80px;
}

.page-index__promo-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

.page-index__promo-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__promo-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #fff;
}

.page-index__promo-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-section {
    flex-direction: column;
    padding: 80px 20px;
  }
  .page-index__hero-image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__promo-title {
    font-size: 2.2em;
  }
  .page-index__content-grid {
    flex-direction: column;
  }
  .page-index__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__section {
    padding: 60px 15px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__promo-title {
    font-size: 1.8em;
  }
  .page-index__detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__btn {
    padding: 10px 20px;
    width: 100%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__promo-title {
    font-size: 1.6em;
  }
  .page-index__feature-item {
    padding: 20px;
  }
}