/* style/index.css */
/* 
 * Màu sắc chính: #26A9E0
 * Màu sắc phụ: #FFFFFF
 * Màu sắc đăng nhập: #EA7C07
 * Màu sắc nền: #FFFFFF
 * Màu sắc đen: #000000
 */

/* Thiết lập chung cho trang chủ */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background: var(--background-color, #FFFFFF); /* Sử dụng biến từ shared.css hoặc mặc định trắng */
}

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

.page-index__section {
  padding: 60px 0;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-index__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index__dark-bg {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #333333; /* Default dark text */
}

.page-index__dark-bg .page-index__section-title {
  color: #ffffff; /* White text on dark background */
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-index__dark-bg .page-index__section-description {
  color: #f0f0f0; /* Light text on dark background */
}

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

.page-index__cta-button--primary {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index__cta-button--primary:hover {
  background: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #26A9E0;
}

.page-index__cta-button--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-index__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); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0, #a0d9f7); /* Light blue gradient */
  color: #ffffff;
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f8ff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}