
/* ========== Header #16 ========== */
#header-16 {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

#header-16 .navbar-brand img {
  max-height: 40px;
}

/* Nav-link chung */
#header-16 .navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  color: #333;
  transition: color 0.2s;
}
#header-16 .navbar-nav .nav-link.active,
#header-16 .navbar-nav .nav-link:hover {
  color: #007bff;
}

/* ========== Search Overlay ========== */
#searchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}
#searchOverlay.active {
  display: flex;
}
#searchOverlay .form-control {
  width: 70%;
  max-width: 400px;
}
#searchOverlay .btn-close {
  margin-left: 1rem;
}

/* ========== Offcanvas Mobile ========== */
#offcanvas16 .offcanvas-body {
  padding-top: 1rem;
}
#offcanvas16 .nav-link {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
  #header-16 .navbar-expand-lg .navbar-collapse {
    display: none !important;
  }
}
/* Hide mobile-only elements on desktop */
@media (min-width: 992px) {
  #header-16 .d-lg-none {
    display: none !important;
  }
}



#link-section-3 {
  background-color: var(--primary_color);
  color: var(--text_color);
  padding: 4rem 0;
  text-align: center;
}
#link-section-3 .section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
#link-section-3 .section-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}
#link-section-3 .row {
  max-width: 1100px;
  margin: 0 auto;
}
#link-section-3 .link-card {
  background-color: var(--card_color);
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  padding: 2rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#link-section-3 .link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
#link-section-3 .link-card i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}





/* Footer-4 Styles */
#footer-4 .footer-cta-section {
  background-color: var(--footer-cta-bg-color, #007bff);
  color: var(--footer-cta-text-color, #ffffff);
  padding: 2.5rem 1rem;
  text-align: center;
}
#footer-4 .footer-cta-section p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 300;
}
#footer-4 .footer-cta-section .btn-cta {
  background-color: var(--footer-cta-button-bg-color, #ffffff);
  color: var(--footer-cta-button-text-color, #007bff);
  border-color: var(
    --footer-cta-button-bg-color,
    #ffffff
  ); /* For consistent border */
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
}
#footer-4 .footer-cta-section .btn-cta:hover {
  background-color: var(--footer-cta-button-hover-bg-color, #f0f0f0);
  color: var(--footer-cta-button-hover-text-color, #0056b3);
  border-color: var(--footer-cta-button-hover-bg-color, #f0f0f0);
}
#footer-4 .footer-main-content {
  background-color: var(--footer-main-bg-color, #f8f9fa);
  color: var(--footer-main-text-color, #343a40);
  padding: 3rem 0;
  font-size: 0.9rem;
}
#footer-4 .footer-main-content .footer-logo {
  max-height: 50px;
  margin-bottom: 1rem;
}
#footer-4 .footer-main-content .footer-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--footer-main-text-color);
}
#footer-4 .footer-main-content .brand-description {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}
#footer-4 .footer-main-content .widget-links-list {
  list-style: none;
  padding-left: 0;
}
#footer-4 .footer-main-content .widget-links-list li {
  margin-bottom: 0.5rem;
}
#footer-4 .footer-main-content .widget-links-list a {
  color: var(--footer-main-link-color, #007bff);
  text-decoration: none;
  transition: color 0.2s ease;
}
#footer-4 .footer-main-content .widget-links-list a:hover,
#footer-4 .footer-main-content .widget-links-list a.active {
  color: var(--footer-main-link-hover-color, #0056b3);
  text-decoration: underline;
}
#footer-4 .footer-main-content .contact-item {
  margin-bottom: 0.5rem;
}
#footer-4 .footer-main-content .contact-item i {
  margin-right: 0.5rem;
  color: var(--footer-main-link-color, #007bff);
  width: 18px;
}
#footer-4 .footer-main-content .contact-item a {
  color: var(--footer-main-text-color);
  text-decoration: none;
}
#footer-4 .footer-main-content .contact-item a:hover {
  color: var(--footer-main-link-color, #007bff);
}
#footer-4 .footer-bottom-bar {
  background-color: var(--footer-bottom-bar-bg-color, #e9ecef);
  color: var(--footer-bottom-bar-text-color, #495057);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
#footer-4 .footer-bottom-bar .copyright-text {
  margin-bottom: 0;
  text-align: center;
}
#footer-4 .footer-bottom-bar .social-links-bottom a {
  color: var(--footer-bottom-bar-text-color, #495057);
  margin: 0 0.5rem;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}
#footer-4 .footer-bottom-bar .social-links-bottom a:hover {
  color: var(
    --footer-main-link-color,
    #007bff
  ); /* Use main link color for hover */
}
@media (min-width: 768px) {
  #footer-4 .footer-cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 2.5rem;
  }
  #footer-4 .footer-cta-section p {
    margin-bottom: 0;
    margin-right: 1.5rem; /* Space between text and button */
  }
  #footer-4 .footer-bottom-bar .copyright-text {
    text-align: left;
  }
  #footer-4 .footer-bottom-bar .social-links-bottom {
    text-align: right;
  }
}
@media (max-width: 767.98px) {
  #footer-4 .footer-main-content .footer-column {
    margin-bottom: 2rem;
  }
  #footer-4 .footer-bottom-bar .col-md-6 {
    /* Stack copyright and social on mobile */
    text-align: center !important;
    margin-bottom: 0.75rem;
  }
  #footer-4 .footer-bottom-bar .col-md-6:last-child {
    margin-bottom: 0;
  }
}


