:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --accent-color-register-login: #C30808; /* Đăng ký/Đăng nhập */
  --text-color-register-login: #FFFF00; /* Đăng ký/Đăng nhập chữ */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --border-color-light: #e0e0e0;
  --bg-color-light: #f9f9f9;
}

.page-index-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--secondary-color);
}

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

.page-index-advantages__section {
  padding: 60px 0;
}

.page-index-advantages__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-index-advantages__subsection-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-index-advantages__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-advantages__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  font-size: 16px;
}

.page-index-advantages__list li {
  margin-bottom: 10px;
}

.page-index-advantages__image-wrapper {
  margin: 40px auto;
  text-align: center;
}

.page-index-advantages__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

/* Hero Section */
.page-index-advantages__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, var(--primary-color) 0%, #3a8e63 100%); /* Green gradient */
  color: var(--text-color-light);
}

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

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

.page-index-advantages__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-advantages__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-advantages__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-index-advantages__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color-register-login);
  color: var(--text-color-register-login);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-advantages__cta-button:hover {
  background: #a90707;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Light background section */
.page-index-advantages__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

/* Dark background section */
.page-index-advantages__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-index-advantages__dark-bg .page-index-advantages__section-title,
.page-index-advantages__dark-bg .page-index-advantages__subsection-title {
  color: var(--text-color-light);
}

/* Quick Access Section */
.page-index-advantages__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-index-advantages__btn-primary {
  display: block;
  padding: 15px 20px;
  background: var(--accent-color-register-login);
  color: var(--text-color-register-login);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.page-index-advantages__btn-primary:hover {
  background: #a90707;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}