/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark gray for text on light background */
  background-color: #f8f8f8;
}

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

.page-index-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-section-title {
  font-size: 2.5em;
  color: #000080; /* Deep blue for titles */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-index-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-index-sub-title {
  font-size: 1.8em;
  color: #000080;
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: left;
}

.page-index-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
  text-align: left;
}

.page-index-text-light {
  color: #ffffff;
}

.page-index-text-dark {
  color: #000080;
}

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

.page-index-mt-30 {
  margin-top: 30px;
}

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.05em;
  text-align: center;
  white-space: nowrap;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep blue text */
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #00005a;
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-index-btn-tertiary {
  background-color: #000080; /* Deep blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #000080;
}

.page-index-btn-tertiary:hover {
  background-color: #00005a;
  border-color: #00005a;
  color: #e6c200;
}

.page-index-btn-dark {
  background-color: #000080; /* Deep blue */
  color: #FFD700; /* Gold text */
  border: 2px solid #000080;
}

.page-index-btn-dark:hover {
  background-color: #00005a;
  border-color: #00005a;
  color: #FFD700;
}

.page-index-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index-btn-large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-hero-bg-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, 128, 0.7), rgba(255, 215, 0, 0.4)); /* Deep blue to gold overlay */
  z-index: -1;
}

.page-index-hero-content {
  z-index: 1;
  text-align: center;
}

.page-index-hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title on dark overlay */
}

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

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

/* About Section */
.page-index-about .page-index-text {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-index-about .page-index-btn-tertiary {
  margin-top: 20px;
}

.page-index-image-inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.page-index-features {
  background-color: #000080; /* Deep blue background */
  color: #ffffff;
}

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

.page-index-feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 215, 0, 0.2);
}

.page-index-feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for feature titles */
}

.page-index-feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* How-To Section */
.page-index-how-to .page-index-text {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index-step-item:hover {
  transform: translateY(-8px);
}

.page-index-step-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 128, 0.3));
}

.page-index-step-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

.page-index-step-description {
  font-size: 0.95em;
  color: #666666;
}

.page-index-how-to-actions {
  margin-top: 40px;
}

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

/* Promotions Section */
.page-index-promotions {
  background-color: #FFD700; /* Gold background */
  color: #000080;
}

.page-index-promotions .page-index-section-title::after {
  background-color: #000080;
}

.page-index-promotions .page-index-text {
  color: #000080;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-index-promo-item {
  background-color: rgba(0, 0, 128, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-promo-item:hover {
  transform: translateY(-8px);
  background-color: rgba(0, 0, 128, 0.2);
}

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

.page-index-promo-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 10px;
}

.page-index-promo-description {
  font-size: 0.95em;
  color: #333333;
}

/* Tips Section */
.page-index-tips .page-index-text {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-tips .page-index-sub-title {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-list {
  list-style: disc inside;
  text-align: left;
  max-width: 900px;
  margin: 15px auto 25px auto;
  padding-left: 20px;
  color: #555555;
}

.page-index-list li {
  margin-bottom: 8px;
}

/* Discover Section (Detail Pages) */
.page-index-discover {
  background-color: #f0f0f0;
}

.page-index-discover .page-index-text {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-index-detail-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-index-detail-item:hover {
  transform: translateY(-8px);
}

.page-index-detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index-detail-title a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-detail-title a:hover {
  color: #FFD700;
}

.page-index-detail-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Bottom CTA */
.page-index-cta-bottom {
  padding: 80px 0;
  background-color: #000080; /* Deep blue background */
  color: #ffffff;
}

.page-index-cta-bottom .page-index-section-title {
  color: #FFD700;
}

.page-index-cta-bottom .page-index-section-title::after {
  background-color: #FFD700;
}

.page-index-cta-bottom .page-index-text {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Floating CTA Button */
.page-index-floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700; /* Gold */
  color: #000080; /* Deep blue text */
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 1.1em;
  white-space: nowrap;
}

.page-index-floating-cta:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-hero-subtitle {
    font-size: 1.3em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    height: 500px;
  }
  .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;
  }
  .page-index-section {
    padding: 40px 0;
  }
  .page-index-feature-grid, .page-index-step-grid, .page-index-promo-grid, .page-index-detail-pages-grid {
    grid-template-columns: 1fr;
  }
  .page-index-floating-cta {
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-hero {
    height: 400px;
  }
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-subtitle {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-btn-primary, .page-index-btn-secondary {
    width: 90%;
    margin: 10px auto;
  }
}