
#header-8 {
  /* position: sticky; */
  top: 0;
  width: 100%;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
#header-8 .navbar {
  padding: 0.75rem 1rem;
}
#header-8 .navbar-brand img {
  height: 42px;
}
#header-8 .navbar-nav .nav-link {
  color: #222;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
#header-8 .nav-link.active,
#header-8 .nav-link:hover {
  color: #007bff;
}
#header-8 .hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem 1rem;
  background-color: #f8f9fa;
}
#header-8 .hero-text {
  max-width: 540px;
}
#header-8 .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#header-8 .hero-subtitle {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 2rem;
}
#header-8 .cta-button {
  background-color: #007bff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}
#header-8 .cta-button:hover {
  background-color: #0056b3;
}
#header-8 .hero-image img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 767.98px) {
  #header-8 .hero {
    flex-direction: column;
    text-align: center;
  }
  #header-8 .hero-text {
    margin-bottom: 2rem;
  }
}



#link-section-9 {
  position: relative;
  background: var(--bottom-color);
  color: var(--text-color);
  text-align: center;
  overflow: hidden;
  padding: 6rem 0;
}

/* Lớp nền trên */
#link-section-9 .upper-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--top-color);
  z-index: 0;
}

/* Sóng chia giữa */
#link-section-9 .upper-bg .wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  overflow: hidden;
}
#link-section-9 .upper-bg .wave-bottom svg {
  display: block;
  width: calc(100% + 1px);
  height: 80px;
}
#link-section-9 .upper-bg .wave-bottom path {
  fill: var(--bottom-color);
}

/* Nội dung giữ nổi trên lớp nền */
#link-section-9 .container {
  position: relative;
  z-index: 1;
}

#link-section-9 .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#link-section-9 .section-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Các nút liên kết */
#link-section-9 .link-item {
  background: rgba(255,255,255,0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
#link-section-9 .link-item:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-4px);
}
#link-section-9 .link-item i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}





/* Footer-17 Styles - Background Image Footer */
#footer-17 {
  /* background-image is set inline via template from data.json */
  background-color: #333; /* Fallback background color */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 4rem 0;
  position: relative; /* For the overlay */
  color: #ffffff; /* Default text color, assuming dark overlay or dark parts of image */
  text-align: center;
  font-size: 0.95rem;
}
#footer-17::before {
  /* Overlay */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.65
  ); /* Dark semi-transparent overlay, adjust as needed */
  z-index: 1; /* Overlay is above background image, below content */
}
#footer-17 .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 2;
}
#footer-17 .footer-logo-f17 {
  max-height: 60px; /* Adjust as needed */
  margin-bottom: 1rem;
  /* Assuming the logo needs to be light against the overlay/image */
  /* filter: brightness(0) invert(1) opacity(0.9);*/
}
#footer-17 .site-name-text-f17 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 0.75rem;
  display: block;
}
#footer-17 .site-name-text-f17:hover {
  color: #eeeeee; /* Slightly different white on hover */
}
#footer-17 .main-heading-f17 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #f0f0f0; /* Slightly off-white */
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow for readability */
}
#footer-17 .footer-block-title-f17 {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-top: 2rem; /* Space between blocks */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block; /* So it doesn't take full width */
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#footer-17 .footer-links-list-f17 {
  list-style: none;
  padding-left: 0;
  margin: 0 auto 2rem auto; /* Centered list */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem; /* row-gap column-gap */
  max-width: 800px; /* Limit width of link lists for aesthetics */
}
#footer-17 .footer-links-list-f17 a {
  color: #d1d1d1; /* Lighter grey for links */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
#footer-17 .footer-links-list-f17 a:hover,
#footer-17 .footer-links-list-f17 a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
#footer-17 .footer-copyright-f17 {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Lighter separator */
  font-size: 0.85rem;
  color: #c0c0c0; /* Copyright text color */
  opacity: 0.9;
}
#footer-17 .footer-copyright-f17 p {
  margin-bottom: 0;
}


