/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #2C3E50; /* Auxiliary color for general text */
  line-height: 1.6;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #C0392B; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-index-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-index-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: -1;
}

.page-index-hero-content {
  z-index: 1;
  color: #fff;
}

.page-index-hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #F39C12; /* Accent color for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-hero-actions .page-index-btn {
  margin: 0 10px;
}

.page-index-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index-btn-primary {
  background-color: #C0392B; /* Main color */
  color: #fff;
}

.page-index-btn-primary:hover {
  background-color: #A93226;
  transform: translateY(-2px);
}

.page-index-btn-secondary {
  background-color: #2C3E50; /* Auxiliary color */
  color: #fff;
}

.page-index-btn-secondary:hover {
  background-color: #1A242F;
  transform: translateY(-2px);
}

.page-index-btn-outline {
  background-color: transparent;
  color: #C0392B; /* Main color */
  border: 2px solid #C0392B;
}

.page-index-btn-outline:hover {
  background-color: #C0392B;
  color: #fff;
}

.page-index-btn-text {
  background-color: transparent;
  color: #C0392B; /* Main color */
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-index-btn-text:hover {
  color: #A93226;
}

.page-index-about {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-index-grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index-about-content p {
  margin-bottom: 20px;
  color: #555;
}

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

.page-index-features {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index-feature-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
  transform: translateY(-10px);
}

.page-index-feature-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-feature-item h3 {
  font-size: 1.5em;
  color: #C0392B; /* Main color */
  margin-bottom: 15px;
}

.page-index-feature-item p {
  color: #555;
  margin-bottom: 20px;
}

.page-index-promo-app {
  padding: 80px 0;
  background-color: #2C3E50; /* Auxiliary color */
  color: #fff;
}

.page-index-promo-content h2 {
  color: #F39C12; /* Accent color */
  text-align: left;
}

.page-index-promo-content p {
  margin-bottom: 20px;
}

.page-index-promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-promo-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-index-promo-list li::before {
  content: '✔';
  color: #F39C12; /* Accent color */
  position: absolute;
  left: 0;
  top: 0;
}

.page-index-promo-actions .page-index-btn {
  margin-right: 15px;
}

.page-index-promo-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-index-deep-content {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-index-deep-content h2 {
  color: #C0392B; /* Main color */
  text-align: center;
  margin-bottom: 40px;
}

.page-index-deep-content h3 {
  font-size: 1.8em;
  color: #2C3E50; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #C0392B;
  padding-left: 15px;
}

.page-index-deep-content p {
  margin-bottom: 15px;
  color: #444;
  text-align: justify;
}

.page-index-detail-pages {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index-detail-item {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-detail-item h3 {
  font-size: 1.3em;
  color: #2C3E50; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-index-detail-item h3 a {
  color: #2C3E50;
  text-decoration: none;
}

.page-index-detail-item h3 a:hover {
  color: #C0392B;
}

.page-index-detail-item p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-cta-bottom {
  padding: 80px 0;
  background-color: #C0392B; /* Main color */
  color: #fff;
  text-align: center;
}

.page-index-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #F39C12; /* Accent color */
}

.page-index-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-grid-2-col {
    grid-template-columns: 1fr;
  }

  .page-index-hero {
    height: 500px;
  }

  .page-index-hero-title {
    font-size: 3em;
  }

  .page-index-hero-subtitle {
    font-size: 1.3em;
  }

  .page-index-promo-image {
    order: -1; /* Image appears above content on smaller screens */
  }

  .page-index-promo-content h2 {
    text-align: center;
  }

  .page-index-promo-actions {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    height: 400px;
  }

  .page-index-hero-title {
    font-size: 2.5em;
  }

  .page-index-hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-hero-actions .page-index-btn {
    display: block;
    margin: 15px auto;
    width: 80%;
  }

  .page-index-section-title {
    font-size: 2em;
  }

  .page-index-feature-grid {
    grid-template-columns: 1fr;
  }

  .page-index-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-index-cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }

  .page-index-hero-subtitle {
    font-size: 1em;
  }

  .page-index-section-title {
    font-size: 1.8em;
  }
}