
#header-14 {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
#header-14 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
#header-14 .navbar {
  background: transparent;
  z-index: 2;
}
#header-14 .navbar-brand img {
  max-height: 45px;
}

#header-14 .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 0;
}
@media (max-width: 767.98px) {
  #header-14 .hero-content {
    padding: 60px 0;
  }
  #header-14 .hero-content h1 {
    font-size: 2rem;
  }
  #header-14 .hero-content p {
    font-size: 1rem;
  }
}



#link-section-7 {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--link_color);
  text-align: center;
}

/* lớp sọc chéo động */
#link-section-7::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--stripe_color) 10px,
    var(--stripe_color) 20px
  );
  background-size: 200% 200%;
  /* animation: moveStripes 10s linear infinite; */
  z-index: 0;
}

@keyframes moveStripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100% 100%;
  }
}

#link-section-7 .container {
  position: relative;
  z-index: 1;
}

#link-section-7 .section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

#link-section-7 .section-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* các nút liên kết */
#link-section-7 .link-item {
  color: var(--link_color);
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.3s;
}

#link-section-7 .link-item i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

/* hiệu ứng đường viền dưới khi hover */
#link-section-7 .link-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: transparent;
  transition: background 0.3s, width 0.3s, left 0.3s;
}

#link-section-7 .link-item:hover::after {
  background: var(--link_hover_border);
  width: 100%;
  left: 0;
}



/* Footer-8 Styles */
#footer-8 {
  /* Background image will be set inline from data.json */
  background-color: var(--footer-bg-fallback-color, #eef2f5);
  background-size: cover;
  background-position: center center;
  position: relative; /* For overlay */
  color: var(--footer-text-color, #333);
  padding: 3.5rem 0 0 0; /* No bottom padding, bottom bar handles it */
  text-align: center;
}
#footer-8::before {
  /* Optional overlay for readability over background image */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--footer-bg-overlay-color, rgba(255, 255, 255, 0.8));
  z-index: 1;
}
#footer-8 .container {
  position: relative; /* To sit above the overlay */
  z-index: 2;
}
#footer-8 .footer-logo-f8 {
  max-height: 60px; /* Adjust as needed */
  margin-bottom: 1rem;
}
#footer-8 .footer-welcoming-msg {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--footer-text-color, #333);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}
#footer-8 .footer-block-title-f8 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--footer-text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#footer-8 .footer-horizontal-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem; /* row-gap column-gap */
  max-width: 900px; /* Limit width of horizontal lists for better centering */
}
#footer-8 .footer-horizontal-list li a {
  color: var(--footer-link-color, #d63384);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem; /* Give some clickable area */
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
#footer-8 .footer-horizontal-list li a:hover,
#footer-8 .footer-horizontal-list li a.active {
  color: var(--footer-link-hover-color, #b02a6c);
  background-color: rgba(0, 0, 0, 0.05); /* Subtle hover background */
  text-decoration: none;
}
#footer-8 .footer-bottom-bar-f8 {
  background-color: var(--footer-bottom-bar-bg, rgba(0, 0, 0, 0.05));
  color: var(--footer-bottom-bar-text, #555);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}
#footer-8 .footer-bottom-bar-f8 .social-icons-f8 a {
  color: var(
    --footer-bottom-bar-text,
    #555
  ); /* Match text color or define new social color */
  margin: 0 0.7rem;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}
#footer-8 .footer-bottom-bar-f8 .social-icons-f8 a:hover {
  color: var(--footer-link-color, #d63384); /* Use main link color for hover */
}
#footer-8 .footer-bottom-bar-f8 .copyright-f8 {
  margin-top: 1rem; /* Space above copyright if social is present */
  opacity: 0.9;
}
#footer-8 .footer-bottom-bar-f8 .copyright-f8 p {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  #footer-8 .footer-bottom-bar-f8 .row > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #footer-8 .footer-bottom-bar-f8 .copyright-f8 {
    margin-top: 0;
    text-align: right; /* Or left, depends on desired layout */
  }
  #footer-8 .footer-bottom-bar-f8 .social-icons-f8 {
    text-align: left;
  }
}
@media (max-width: 767.98px) {
  #footer-8 .footer-bottom-bar-f8 .social-icons-f8 {
    margin-bottom: 0.75rem;
  }
}


