html {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Hero English footer
   -------------------------------------------------------------------------- */
:root {
    --hero-footer-bg: #262573;
    --hero-footer-bg-deep: #1d1c5a;
    --hero-footer-surface: #32318a;
    --hero-footer-text: #fff;
    --hero-footer-muted: rgba(255, 255, 255, .72);
    --hero-footer-line: rgba(255, 255, 255, .17);
}

.hero-footer {
    position: relative;
    overflow: hidden;
    background: var(--hero-footer-bg);
    color: var(--hero-footer-text);
}

.hero-footer::before {
    position: absolute;
    top: -160px;
    right: -90px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-footer-shell {
    position: relative;
    background:
        radial-gradient(circle at 76% 18%, rgba(107, 199, 255, .13), transparent 23rem),
        linear-gradient(135deg, var(--hero-footer-bg) 0%, var(--hero-footer-bg-deep) 100%);
}

.hero-footer-inner {
    position: relative;
    z-index: 1;
    padding: 56px 30px 52px;
}

.hero-footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(150px, .9fr) minmax(170px, .9fr) minmax(260px, 1.25fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: start;
}

.hero-footer-column {
    min-width: 0;
}

.hero-footer-logo {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
}

.hero-footer-logo img {
    display: block;
    width: min(178px, 100%);
    height: auto;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
}

.hero-footer h3,
.hero-footer h3:hover,
.hero-footer p,
.hero-footer p:hover {
    color: var(--hero-footer-text) !important;
}

.hero-footer-brand-description,
.hero-footer-brand-description:hover {
    max-width: 100%;
    margin: 17px 0 22px;
    color: rgba(218, 228, 243, .84) !important;
    font-size: .9rem;
    font-weight: 450;
    line-height: 1.65;
}

#footerBrandSection .hero-footer-brand-description,
#footerBrandSection .hero-footer-contact-list a,
#footerBrandSection .hero-footer-contact-list small,
#footerBrandSection .hero-footer-contact-list strong {
    font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif !important;
}

.hero-footer-contact-list {
    display: grid;
    gap: 12px;
}

.hero-footer-contact-list a,
.hero-footer-contact-list a:hover,
.hero-footer-contact-list a:focus-visible {
    display: grid;
    min-height: 74px;
    padding: 13px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: flex-start;
    gap: 13px;
    border: 1px solid rgba(148, 170, 201, .18);
    border-radius: 13px;
    background: rgba(6, 20, 42, .5);
    color: var(--hero-footer-text) !important;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(3, 11, 28, .09);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero-footer-contact-list a:hover,
.hero-footer-contact-list a:focus-visible {
    border-color: rgba(94, 203, 255, .42);
    background: rgba(10, 32, 64, .7);
    box-shadow: 0 12px 24px rgba(3, 11, 28, .18);
    transform: translateY(-2px);
}

.hero-footer-contact-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: rgba(59, 130, 246, .12);
    color: #60a5fa !important;
}

.hero-footer-contact-icon-location {
    background: rgba(14, 165, 233, .12);
    color: #38bdf8 !important;
}

.hero-footer-contact-icon svg {
    width: 21px;
    height: 21px;
}

.hero-footer-contact-copy {
    display: grid;
    align-self: center;
    gap: 4px;
    min-width: 0;
}

.hero-footer-contact-list small,
.hero-footer-contact-list strong {
    color: var(--hero-footer-text) !important;
}

.hero-footer-contact-list small {
    color: var(--hero-footer-muted) !important;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .085em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-footer-contact-list strong {
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.42;
}

.hero-footer h3 {
    margin: 6px 0 12px;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-footer-heading-line {
    display: block;
    width: 64px;
    height: 3px;
    margin-bottom: 21px;
    border-radius: 999px;
    background: linear-gradient(90deg, #70c8ff, rgba(112, 200, 255, .08));
}

.hero-footer-links {
    display: grid;
    gap: 12px;
}

.hero-footer-links a,
.hero-footer-links a:hover,
.hero-footer-links a:focus-visible {
    position: relative;
    display: block;
    padding-left: 17px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .82rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.hero-footer-links a::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #70c8ff !important;
    content: "›";
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.05;
}

.hero-footer-links a:hover,
.hero-footer-links a:focus-visible {
    padding-left: 21px;
    color: #fff !important;
}

.hero-footer-hours-card {
    display: grid;
    gap: 8px;
    margin-top: 2px;
    padding: 17px 18px;
    border: 1px solid var(--hero-footer-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .06);
}

.hero-footer-hours-card span,
.hero-footer-hours-card strong {
    color: #fff !important;
}

.hero-footer-hours-card span {
    color: var(--hero-footer-muted) !important;
    font-size: .79rem;
}

.hero-footer-hours-card strong {
    font-size: 1.03rem;
    letter-spacing: .03em;
}

.hero-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-footer-social-desktop {
    margin-top: 25px;
}

.hero-footer-social-mobile {
    display: none;
}

.hero-footer-social a,
.hero-footer-social a:hover,
.hero-footer-social a:focus-visible {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-footer-social a:hover,
.hero-footer-social a:focus-visible {
    border-color: #70c8ff;
    background: #1e73be;
    color: #fff !important;
    transform: translateY(-3px);
}

.footer-consult-card {
    padding: 21px 22px 22px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 22px;
    background: linear-gradient(150deg, #fff 0%, #f3efff 100%);
    box-shadow: 0 18px 34px rgba(8, 8, 56, .22);
}

.footer-consult-card-heading {
    margin-bottom: 15px;
    text-align: center;
}

.footer-consult-card-heading > span,
.footer-consult-card-heading h3,
.footer-consult-card-heading p,
.footer-consult-card-heading h3:hover,
.footer-consult-card-heading p:hover {
    color: #262573 !important;
}

.footer-consult-card-heading > span {
    display: block;
    margin-bottom: 4px;
    color: #1e73be !important;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-consult-card-heading h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: .02em;
    text-transform: none;
}

.footer-consult-card-heading p {
    margin: 4px 0 0;
    color: #e34e61 !important;
    font-size: .78rem;
    font-weight: 800;
}

.footer-consult-card .consult-form {
    gap: 8px;
}

.footer-consult-card .consult-field > label,
.footer-consult-card .consult-fieldset > legend,
.footer-consult-card .consult-optional {
    margin-bottom: 4px;
    color: #262573 !important;
    font-size: .69rem;
    font-weight: 750;
}

.footer-consult-card .consult-fieldset {
    margin: 0;
}

.footer-consult-card .consult-input-wrap input,
.footer-consult-card .consult-input-wrap select,
.footer-consult-card .consult-input-wrap textarea {
    border-color: #e1ddec !important;
    border-radius: 9px;
    background: rgba(255, 255, 255, .96) !important;
    color: #28273f !important;
    font-size: .72rem;
}

.footer-consult-card .consult-input-wrap input,
.footer-consult-card .consult-input-wrap select {
    min-height: 37px;
    padding: 8px 10px 8px 33px;
}

.footer-consult-card .consult-input-wrap textarea {
    min-height: 54px;
    padding: 9px 10px 8px 33px;
}

.footer-consult-card .consult-input-wrap > i {
    top: 12px;
    left: 12px;
    color: #1e73be !important;
    font-size: .68rem;
}

.footer-consult-card .consult-input-wrap textarea + i {
    top: 13px;
}

.footer-consult-card .consult-input-wrap input::placeholder,
.footer-consult-card .consult-input-wrap textarea::placeholder {
    color: #9694a5 !important;
}

.footer-consult-card .consult-location-grid {
    gap: 7px;
}

.footer-consult-card .consult-input-wrap select {
    background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px;
    background-size: 5px 5px;
}

.footer-consult-card .consult-submit,
.footer-consult-card .consult-submit:hover,
.footer-consult-card .consult-submit:focus-visible {
    min-height: 41px;
    margin-top: 3px;
    border-radius: 10px;
    background: #262573 !important;
    color: #fff !important;
    font-size: .76rem;
    box-shadow: 0 9px 18px rgba(38, 37, 115, .22);
}

.footer-consult-card .consult-submit:hover,
.footer-consult-card .consult-submit:focus-visible {
    background: #1e73be !important;
    color: #fff !important;
}

.hero-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(12, 12, 64, .22);
}

.hero-footer-bottom p,
.hero-footer-bottom p:hover {
    margin: 0;
    padding: 14px 30px;
    color: rgba(255, 255, 255, .62) !important;
    font-size: .72rem;
    text-align: center;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .hero-footer-inner {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-footer-grid {
        gap: 22px;
    }

    .footer-consult-card {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 1199.98px) {
    .hero-footer-inner {
        padding: 30px 20px 24px;
    }

    .hero-footer-grid {
        display: block;
    }

    .hero-footer-brand {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-footer-logo {
        justify-content: center;
    }

    .hero-footer-logo img {
        width: min(158px, 100%);
        max-height: 52px;
        object-position: center;
    }

    .hero-footer-brand-description,
    .hero-footer-brand-description:hover {
        max-width: 680px;
        margin: 10px auto 15px;
        font-size: .84rem;
        line-height: 1.55;
    }

    .hero-footer-slogan {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-footer-contact-list {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        text-align: left;
    }

    .hero-footer-programs,
    .hero-footer-hours,
    .hero-footer-consult {
        display: none;
    }

    .hero-footer-social-mobile {
        display: flex;
        justify-content: center;
        margin-top: 17px;
    }

    .hero-footer-social-desktop {
        display: none;
    }

    .hero-footer-bottom p {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .hero-footer-contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-left: 12px;
  padding-right: 12px;
  background: #ffffff !important;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hero English theme overrides */
:root {
	--bs-primary: #00274C;
	--bs-primary-rgb: 0, 39, 76;
	--bs-light: #F2F3FF;
	
	/* Hero English Palette */
	--hero-blue-light: #F2F3FF;
	--hero-blue-medium: #D4E3FF;
	--hero-blue-dark: #A4C9FF;
	--hero-blue-primary: #00274C;
	--hero-blue-darkest: #001C39;
}

/* Set Roboto as default font for entire website, but exclude icons */
*:not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(i):not(.hero-floating-font) {
  font-family: "Roboto", sans-serif !important;
}

/* Ensure FontAwesome icons use their proper font */
.fas, .far, .fab, .fa, .fa-solid, .fa-regular, .fa-brands, i[class*="fa-"] {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Additional icon font fixes */
i {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Bungee font class - keep for specific elements that need it */
.bungee-regular {
  font-family: "Bungee", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

/* Apply Bungee font to main headings when specifically requested */
h1.bungee-regular,
h2.bungee-regular,
h3.bungee-regular,
h4.bungee-regular,
h5.bungee-regular,
h6.bungee-regular,
.display-1.bungee-regular,
.display-2.bungee-regular,
.display-3.bungee-regular,
.display-4.bungee-regular,
.display-5.bungee-regular,
.display-6.bungee-regular {
  font-family: "Bungee", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

/* Header styling - Full width with light background */
.container-fluid.border-bottom {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.topbar {
	background: var(--hero-blue-primary) !important;
	position: relative;
	overflow: hidden;
	width: 100% !important;
	margin: 0 !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Navbar background - Light solid color */
.navbar {
    background: #ffffff !important;
	position: relative;
	width: 100% !important;
	margin: 0 !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Ensure navbar content is above the gradient overlay */
.navbar > * {
	position: relative;
	z-index: 1;
}

/* Full width container adjustments */
/* .container-fluid .container {
	max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
} */

/* Topbar full width adjustments */
.topbar .container {
	max-width: 100% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Navbar full width adjustments */
.navbar .container {
	max-width: 100% !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

/* Clean topbar styling */
.topbar {
	box-shadow: none;
	border: none;
}

.navbar {
	box-shadow: none;
	border: none;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
	.navbar .navbar-collapse {
	  background: #fff !important;
	  border-radius: 12px;
	  padding: 12px;
	  box-shadow: 0 8px 24px rgba(0,0,0,.06);
	}
  
	.navbar .nav-link { color: #1f2937 !important; }
	.navbar .nav-link:hover,
	.navbar .nav-link.active {
	  color: var(--bs-primary) !important;
	  background: rgba(var(--bs-primary-rgb), .08);
	  border-radius: 8px;
	}
  
	.navbar .navbar-toggler,
	.navbar .navbar-toggler .fa-bars {
	  color: var(--bs-primary) !important;
	  border-color: transparent !important;
	}
}
  

@media (max-width: 575.98px) {
	.navbar {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	
	.topbar {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	
	.container-fluid .container {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
}

/* Hover effects for navigation links */
.navbar-nav .nav-link {
	position: relative;
	display: inline-block;   /* chỉ dài bằng chữ */
	transition: all 0.3s ease;
	padding: 0 8px;          /* thêm padding ngang cho đẹp */
}

.navbar-nav .nav-link:hover {
	color: var(--bs-primary) !important;
	transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--bs-primary), #001C39);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
	width: 100%;   /* underline ngắn hơn chữ, căn giữa */
}

/* Active nav link state */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
    color: var(--bs-primary) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link[aria-current="page"]::after {
    width: 80%;   /* gạch chân cho active cũng chỉ bằng 60% chữ */
}

/* Dropdown menu gradient */
.dropdown-menu {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
	border: 1px solid rgba(0, 39, 76, 0.2);
	box-shadow: 0 4px 15px rgba(0, 39, 76, 0.15);
}

.dropdown-item {
	transition: all 0.3s ease;
}

.dropdown-item:hover {
	background: linear-gradient(90deg, rgba(0, 39, 76, 0.1), rgba(0, 39, 76, 0.05));
	color: var(--bs-primary);
	transform: translateX(5px);
}

/* Secondary remains as theme's blue, but adjust derived accents if needed */
.btn.btn-primary:hover {
	background: var(--bs-secondary);
	color: var(--bs-primary);
}

/* Components using hard-coded rgba of secondary overlays – keep as-is */
/* Update gradient sections with the Hero brand tints */
/* .BabyCare-override .service {
    background: #ffffff !important;
}
.BabyCare-override .program {
    background: #ffffff !important;
} */

/* Body sections - Unified light Hero background */
.about {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/home/background_about.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;	
}

/* Ensure About section respects 12px side padding */
.about .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
.about .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Add background image to video section */
.about .video {
    background-image: url('../img/home/about.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Equal height for program cards */
.program .row .col-lg-4 {
    display: flex;
}

.program .program-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Limit program description to 2 lines with ellipsis */
.program .program-text p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em; /* 2 lines * 1.5 line-height */
}

.service:not(.facilities-page) {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
    position: relative;
}

/* Force service background gradient - exclude facilities page */
.container-fluid.service:not(.facilities-page) {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Events section gradient background */
.events {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

.container-fluid.events {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Team section gradient background */
.team {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

.container-fluid.team {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Team item cards with white background */
.team-item {
    background: #ffffff !important;
}

/* Program section gradient background */
.program {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

.container-fluid.program {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Blog section gradient background */
.blog {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

.container-fluid.blog {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Testimonial section gradient background */
.testimonial {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

.container-fluid.testimonial {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Testimonial item cards with white background */
.testimonial-item {
    background: #ffffff !important;
}



/* Force blog gradient with higher specificity */
div.container-fluid.blog.py-5 {
    background: linear-gradient(135deg, var(--hero-blue-light) 0%, var(--hero-blue-medium) 50%, var(--hero-blue-dark) 100%) !important;
}

/* Moving Animation */
.hero-banner-container {
    position: relative; /* Ensure banner container is positioned */
}

.moving-animation-container {
    position: absolute;
    bottom: 0px; /* Bottom of banner */
    left: -150px; /* Start from left edge (50% of original size) */
    z-index: 10;
    pointer-events: none;
    transition: left 8s linear;
    transform: scale(0.5); /* 50% of original size */
}

.moving-animation-container.moving-right {
    left: calc(100% - 150px); /* Move to right edge of banner (50% of original size) */
    transform: scale(0.5) scaleX(1); /* 50% size + normal direction */
}

.moving-animation-container.moving-left {
    left: -150px; /* Move to left edge (50% of original size) */
    transform: scale(0.5) scaleX(-1); /* 50% size + flip horizontally */
}

@media (max-width: 768px) {
    .moving-animation-container {
        bottom: 15px;
        left: -100px; /* 50% of mobile size */
    }
    
    .moving-animation-container.moving-right {
        left: calc(100% - 100px);
    }
    
    .moving-animation-container.moving-left {
        left: -100px;
    }
}

.program {
    position: relative;
}

.events {
    background: #ffffff !important;
    position: relative;
}

.blog {
    position: relative;
}
/* Force white card backgrounds inside Blog section (bg-light overrides) */
.container-fluid.blog .bg-light,
.blog .bg-light {
    background-color: #ffffff !important;
}

.team {
    background: #ffffff !important;
    position: relative;
}

.testimonial {
    background: #ffffff !important;
    position: relative;
}

.footer {
	background: var(--hero-blue-primary) !important;
	position: relative;
}

.copyright {
	background: var(--hero-blue-darkest) !important;
	position: relative;
}

/* Ensure content is above gradient overlays */
.about > *,
.service > *,
.program > *,
.events > *,
.blog > *,
.team > *,
.testimonial > *,
.footer > *,
.copyright > * {
	position: relative;
	z-index: 1;
}

/* Enhanced section styling */
.about,
.service,
.program,
.events,
.blog,
.team,
.testimonial {
	box-shadow: none;
	border: none;
	transition: none;
}

/* Clean footer styling */
.footer {
	box-shadow: none;
	border: none;
}

.copyright {
	box-shadow: none;
	border: none;
}

/* Section transitions */
.about,
.service,
.program,
.events,
.blog,
.team,
.testimonial,
.footer,
.copyright {
	transition: all 0.5s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
	.about,
	.service,
	.program,
	.events,
	.blog,
	.team,
	.testimonial {
		box-shadow: 0 1px 10px rgba(0, 39, 76, 0.1);
	}
	
    /* All sections use white background on mobile */
	.about,
	.service,
	.program,
	.events,
	.team,
	.testimonial {
        background: #ffffff !important;
	}
	
	/* Facilities page background on mobile - keep white background like other sections */
	body[data-page="facilities"] .container-fluid.service,
	.facilities-page .container-fluid.service {
		background: #ffffff !important;
	}
}

/* Smooth scrolling for better UX */
html {
	scroll-behavior: smooth;
}

/* Section separators removed - Clean design */

/* Logo sizing */
.navbar .navbar-brand img {
	height: 48px;
	width: auto;
	display: block;
}

/* Public header logo states */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #ffffff !important;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header .topbar {
	max-height: 60px;
	transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.site-header .navbar {
	transition: background-color 0.25s ease, color 0.25s ease;
}

.site-header .navbar-brand {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.site-header .brand-logo {
	height: 48px;
	width: auto;
	max-width: min(360px, 52vw);
	object-fit: contain;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-header .navbar .brand-logo-scrolled {
	display: none;
	height: 54px;
	max-width: none;
}

.site-header.is-scrolled {
	background: var(--hero-blue-primary) !important;
	box-shadow: 0 5px 18px rgba(0, 39, 76, 0.18);
}

.site-header.is-scrolled .topbar {
	max-height: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0;
	pointer-events: none;
}

.site-header.is-scrolled .navbar {
	background: var(--hero-blue-primary) !important;
}

.site-header.is-scrolled .navbar .brand-logo-full {
	display: none;
}

.site-header.is-scrolled .navbar .brand-logo-scrolled {
	display: block;
}

.site-header.is-scrolled .navbar .nav-link,
.site-header.is-scrolled .navbar .navbar-toggler,
.site-header.is-scrolled .navbar .navbar-toggler .fa-bars {
	color: #ffffff !important;
}

.site-header.is-scrolled .navbar .nav-link:hover,
.site-header.is-scrolled .navbar .nav-link.active,
.site-header.is-scrolled .navbar .nav-link[aria-current="page"] {
	color: #ffffff !important;
}

.site-header.is-scrolled .navbar .nav-link::after {
	background: #ffffff;
}

.site-header.is-scrolled .navbar .btn-outline-primary {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.85);
}

.site-header.is-scrolled .navbar .btn-primary {
	color: var(--hero-blue-primary);
	background: #ffffff;
	border-color: #ffffff;
}

@media (max-width: 991.98px) {
	.site-header.is-scrolled .navbar .navbar-collapse {
		background: var(--hero-blue-primary) !important;
	}

	.site-header .brand-logo {
		height: 42px;
		max-width: min(260px, 60vw);
	}

	.site-header .brand-logo-scrolled {
		height: 48px;
	}
}

@media (max-width: 575.98px) {
	.site-header .brand-logo {
		height: 36px;
		max-width: 62vw;
	}

	.site-header .brand-logo-scrolled {
		height: 42px;
	}
}

/* Dotted borders that reference var(--bs-primary) will auto-update. */

/* Uniform aspect ratio for team images */
.team-item img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Hero Banner Carousel Styles */
.hero-banner-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
}

.hero-banner-carousel {
	position: relative;
	width: 100%;
	height: 0;
	/* Desktop aspect ratio: 1920x720 = 2.67:1 */
	padding-bottom: 37.5%; /* 720/1920 * 100% */
}

.hero-banner-placeholder {
	min-height: clamp(420px, 37.5vw, 720px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 24px;
	background:
		radial-gradient(circle at 15% 25%, rgba(37, 99, 235, 0.55), transparent 32%),
		radial-gradient(circle at 85% 75%, rgba(0, 96, 167, 0.5), transparent 34%),
		linear-gradient(135deg, var(--hero-blue-primary), var(--hero-blue-darkest));
	color: #fff;
	text-align: center;
}

.hero-banner-placeholder-content {
	max-width: 760px;
}

.hero-banner-placeholder-logo {
	width: min(560px, 82vw);
	height: auto;
	margin-bottom: 28px;
}

.hero-banner-placeholder h1 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 4rem);
	font-weight: 700;
	margin-bottom: 12px;
}

.hero-banner-placeholder p {
	font-size: clamp(1rem, 2vw, 1.35rem);
	margin-bottom: 28px;
}

.banner-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-slide.active {
	opacity: 1;
}

.banner-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Mobile responsive - 1080x1920 aspect ratio */
@media (max-width: 991.98px) {
	.hero-banner-carousel {
		/* Mobile aspect ratio: 1080x1920 = 9:16 */
		padding-bottom: 177.78%; /* 1920/1080 * 100% */
	}

	.hero-banner-placeholder {
		min-height: 70vh;
		padding: 48px 18px;
	}
	
	/* Hide desktop banners on mobile */
	.banner-slide[data-device="desktop"] {
		display: none;
	}
}

/* Show only desktop banners on desktop */
@media (min-width: 992px) {
	.banner-slide[data-device="mobile"] {
		display: none;
	}
}

/* Navigation Controls */
.banner-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.banner-nav-btn:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.banner-prev {
	left: 20px;
}

.banner-next {
	right: 20px;
}

/* Hide navigation on mobile for cleaner look */
@media (max-width: 767.98px) {
	.banner-nav-btn {
		display: none;
	}
}

/* Final header/social polish: keep Vietnamese text readable and brand links recognisable. */
.site-header .hero-topbar,
.site-header .hero-topbar button,
.site-header .hero-topbar a {
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif !important;
}

.site-header .hero-topbar .hero-topbar-inner {
    min-height: 46px;
}

#heroPageTop .site-header .hero-topbar .hero-topbar-title {
    max-width: none;
    padding: 4px 18px;
    font-size: clamp(.84rem, .92vw, .98rem);
    font-weight: 800;
    letter-spacing: .012em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.site-header .hero-topbar .hero-topbar-socials a {
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-header .hero-topbar .hero-topbar-socials .hero-social-facebook:hover,
.site-header .hero-topbar .hero-topbar-socials .hero-social-facebook:focus-visible {
    border-color: #1877f2;
    background: #1877f2;
    color: #fff;
    box-shadow: 0 6px 15px rgba(24, 119, 242, .34);
}

.site-header .hero-topbar .hero-topbar-socials .hero-social-instagram:hover,
.site-header .hero-topbar .hero-topbar-socials .hero-social-instagram:focus-visible {
    border-color: #d62976;
    background: linear-gradient(135deg, #feda75 0%, #d62976 48%, #4f5bd5 100%);
    color: #fff;
    box-shadow: 0 6px 15px rgba(214, 41, 118, .32);
}

.site-header .hero-topbar .hero-topbar-socials .hero-social-tiktok:hover,
.site-header .hero-topbar .hero-topbar-socials .hero-social-tiktok:focus-visible {
    border-color: #25f4ee;
    background: #090909;
    color: #fff;
    box-shadow: -3px 5px 14px rgba(37, 244, 238, .22), 3px 5px 14px rgba(254, 44, 85, .22);
}

.site-header .hero-topbar .hero-topbar-socials .hero-social-youtube:hover,
.site-header .hero-topbar .hero-topbar-socials .hero-social-youtube:focus-visible {
    border-color: #ff0000;
    background: #ff0000;
    color: #fff;
    box-shadow: 0 6px 15px rgba(255, 0, 0, .3);
}

#footerHoursSection .hero-footer-social-desktop {
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
}

#footerHoursSection .hero-footer-social-card > span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: center;
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-instagram:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-instagram:focus-visible {
    border-color: #e4549b;
    background: linear-gradient(145deg, #f58529 0%, #dd2a7b 50%, #515bd4 100%);
    box-shadow: 0 13px 24px rgba(221, 42, 123, .3);
}

@media (max-width: 1199.98px) {
    .site-header .hero-topbar .hero-topbar-inner {
        min-height: 44px;
    }

    .site-header .hero-topbar .hero-topbar-title {
        max-width: min(55vw, 390px);
        padding: 3px 8px;
        font-size: clamp(.66rem, 1.7vw, .82rem);
        white-space: normal;
    }
}

@media (max-width: 479.98px) {
    .site-header .hero-topbar .hero-topbar-title {
        max-width: 52vw;
        font-size: clamp(.61rem, 2.7vw, .72rem);
        line-height: 1.28;
    }
}

.events .events-text a.h4 {
    display: block;
    min-height: calc(1.35em * 3);
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
}

#footerProgramsSection .hero-footer-program-copy strong,
#footerProgramsSection .hero-footer-program-copy small {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: unset;
}

.hero-privacy-page {
    min-height: 56vh;
    padding: clamp(54px, 7vw, 96px) 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(43, 162, 226, .13), transparent 31%),
        linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}

.hero-privacy-card {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(20, 107, 185, .13);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(24, 76, 122, .11);
}

.hero-privacy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #1270bd;
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", sans-serif !important;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-privacy-card h1 {
    margin: 0;
    color: #103e67;
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.hero-privacy-card p {
    max-width: 720px;
    margin: 22px 0 0;
    color: #536b80;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.8;
}

.hero-privacy-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1476c6, #22a7df);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 11px 24px rgba(20, 118, 198, .23);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-privacy-contact:hover,
.hero-privacy-contact:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(20, 118, 198, .3);
}

/* Dots Indicator */
.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: white;
	transform: scale(1.2);
}

.dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for dots */
@media (max-width: 767.98px) {
	.banner-dots {
		bottom: 15px;
	}
	
	.dot {
		width: 10px;
		height: 10px;
	}
}

/* Login/Register buttons styling */
.navbar .d-flex .btn {
	font-size: 0.875rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.navbar .d-flex .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.navbar .d-flex .btn-outline-primary:hover {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	color: white;
}

/* Mobile responsive for login/register buttons */
@media (max-width: 991.98px) {
	.navbar .d-flex {
		flex-direction: column;
		gap: 0.5rem !important;
		width: 100%;
		margin-top: 1rem;
	}
	
	.navbar .d-flex .btn {
		width: 100%;
		justify-content: center;
	}
	
	.navbar .d-flex .btn-search {
		width: auto;
		align-self: center;
		margin-top: 0.5rem;
	}
}

@media (max-width: 575.98px) {
	.navbar .d-flex .btn {
		font-size: 0.8rem;
		padding: 0.5rem 1rem;
	}
}

/* Modal backdrop fix */
.modal-backdrop {
	z-index: 1040;
}

.modal {
	z-index: 1050;
}

/* Ensure proper modal cleanup */
body.modal-open {
	overflow: hidden;
}

/* Fix for multiple backdrops */
.modal-backdrop.show {
	opacity: 0.5;
}

/* Ensure modal content is properly positioned */
.modal-dialog {
	margin: 1.75rem auto;
}

@media (max-width: 575.98px) {
	.modal-dialog {
		margin: 0.5rem;
	}
}

/* Modal title styling */
.modal-header .modal-title {
	color: white !important;
	font-weight: 600;
	font-size: 1.25rem;
}

.modal-header .modal-title i {
	color: white !important;
}

/* Ensure modal header text is always white */
.modal-header.bg-primary .modal-title,
.modal-header.bg-primary .modal-title * {
	color: white !important;
}

/* Remove all animation rules (no-op) */

/* Fix hover effect for service buttons after layout change */
.service-item:hover .service-content .btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content .btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/* Ensure button is above overlay layer */
.service-item .service-content .btn-primary {
    position: relative;
    z-index: 3;
}

/* Facilities (Cơ sở) list: remove rounded corners ONLY inside the branch list */
#branchList .service-item {
  border-radius: 0 !important;
}

#branchList .service-item a,
#branchList .service-item .btn {
  border-radius: 0 !important;
}

/* Address list container rounding and item spacing cleanup */
#branchList {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

#branchList .service-item {
  border: 0 !important; /* remove individual card borders */
  border-bottom: 1px solid rgba(0,0,0,0.06) !important; /* divider between items */
  margin: 0 !important; /* remove any margins */
}

/* Wrapper for filters + list stacked vertically */
#branchPanel {
  border-radius: 8px;
  overflow: hidden;
}

.branch-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 12px;
}

.branch-filters .form-label { margin-bottom: .25rem !important; }
.branch-filters .form-select,
.branch-filters .form-control { margin: 0 !important; }

#branchList .row > [class^="col-"]:last-child .service-item {
  border-bottom: 0 !important; /* no divider after last item */
}

/* Map panel rounded corners to match list */
#mapPanel {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

/* Facilities page specific background image - following About section pattern */
/* Only apply on desktop screens with higher specificity */
@media (min-width: 992px) {
	.facilities-page.container-fluid.service,
	body[data-page="facilities"] .facilities-page.container-fluid.service {
		background: url('../img/background_position.png') !important;
		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		position: relative;
	}
	
	/* Additional rule with even higher specificity to override any conflicting styles */
	.container-fluid.service.facilities-page {
		background: url('../img/background_position.png') !important;
		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		position: relative;
	}
}

/* Ensure content is above background image - only on desktop */
@media (min-width: 992px) {
	.facilities-page.container-fluid.service > *,
	body[data-page="facilities"] .facilities-page.container-fluid.service > * {
		position: relative;
		z-index: 1;
	}
}
/* =========================
   BLOG – Equal height cards
   ========================= */
.blog .row > [class*="col-"] {
  display: flex;                   /* cột kéo cao theo card cao nhất trong hàng */
}
.blog .blog-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;                    /* bảo đảm full chiều cao */
}

/* Ảnh đầu bài đồng nhất tỉ lệ (tránh card cao/thấp do ảnh) */
.blog .blog-item .blog-img {
  aspect-ratio: 16 / 9;
}
.blog .blog-item .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* thumbnail list gọn đẹp */
  object-position: center;
}

/* Đẩy phần nội dung cuối (chứa nút) xuống đáy card */
.blog .blog-item > .px-4.pb-4 {
  margin-top: auto;
}

/* =========================
   PROGRAMS – Equal height cards (củng cố)
   ========================= */
/* Bạn đã có: .program .row .col-lg-4 { display:flex } – thêm tổng quát cho mọi breakpoint */
.program .row > [class*="col-"] {
  display: flex;
}
.program .program-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* (Tuỳ chọn) Đồng nhất tỉ lệ ảnh đầu card */
.program .program-item .program-img .img-border-radius {
  aspect-ratio: 16 / 9;
  display: block;

}
.program .program-item .program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ghim thanh thông tin cuối card xuống đáy (hàng có 3 badge nhỏ) */
.program .program-item > .d-flex.justify-content-between {
  margin-top: auto;
}

  


/* ===== Facilities polish (không đụng HTML) ===== */

/* 1) Kéo section "Cơ sở" áp sát banner + giảm khoảng trắng đầu */
.container-fluid.service.facilities-page {
	position: relative;
	margin-top: -40px;                 /* kéo lên đè khoảng trắng sau banner */
	padding-top: 60px !important;      /* vẫn chừa thở */
  }
  
  /* 2) Tạo lớp phủ dịu nền để quá trình chuyển từ banner → section mượt hơn */
  .container-fluid.service.facilities-page::before {
	content: "";
	position: absolute; inset: 0;
	pointer-events: none;
	/* lớp mờ nhẹ ở viền trên, giữ nền ảnh phía sau */
	background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 20%);
	z-index: 0;
  }
  /* bảo đảm nội dung nằm trên overlay */
  .container-fluid.service.facilities-page > * { position: relative; z-index: 1; }
  
  /* 3) Glassmorphism cho 2 panel (list + map) để “ăn” với nền */
  #branchPanel,
  #mapPanel {
	background: rgba(255,255,255,0.9);
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(0,0,0,0.12);
	backdrop-filter: blur(6px);
  }
  
  /* 4) Header bộ lọc dính trên cùng list khi cuộn, tạo cảm giác liên kết */
  .branch-filters {
	position: sticky;
	top: 0;
	z-index: 2;
	background: rgba(255,255,255,0.96);
	border-bottom: 1px solid rgba(0,0,0,0.06);
	border-radius: 16px 16px 0 0;
  }
  
  /* 5) List scroll mượt + scrollbar tinh tế */
  #branchList {
	max-height: 70vh;
	overflow-y: auto;
  }
  #branchList::-webkit-scrollbar { width: 8px; }
  #branchList::-webkit-scrollbar-thumb {
	background: rgba(var(--bs-primary-rgb), .35);
	border-radius: 8px;
  }
  #branchList::-webkit-scrollbar-track { background: transparent; }
  
  /* 6) Card trong list hover/selected gọn gàng */
  #branchList .service-item {
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  }
  #branchList .service-item:hover {
	transform: translateY(-2px);
	background: #f8fff9;
	border-color: rgba(var(--bs-primary-rgb), .35) !important;
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  #branchList .service-item.selected {
	border-color: var(--bs-primary) !important;
	box-shadow: 0 10px 24px rgba(var(--bs-primary-rgb), .18);
  }
  
  /* 7) Map panel bo góc và ẩn viền iframe cho đồng bộ */
  #mapPanel { border-radius: 16px; overflow: hidden; }
  #mapPanel iframe { display: block; border: 0; }
  
  /* 8) Khoảng cách dọc tổng thể gọn hơn để sát banner & liền mạch */
  .facilities-page .container.py-5 { padding-top: 2.5rem !important; }
  
  /* 9) Mobile: bỏ kéo âm để tránh đè notch, giữ bố cục sạch */
  @media (max-width: 767.98px) {
	.container-fluid.service.facilities-page {
	  margin-top: 0;
	  padding-top: 40px !important;
	}
  }
/* Our Team dots */
.team .owl-theme .owl-dots{
	display:flex; justify-content:center; gap:10px; margin-top:16px;
  }
  .team .owl-theme .owl-dots .owl-dot span{
	width:14px; height:14px; display:block;
	border-radius:999px; background:#2F7D32; /* xanh lá cho dot chưa chọn */
	opacity:1; transition:width .25s ease, background-color .25s ease;
  }
  .team .owl-theme .owl-dots .owl-dot.active span{
	height: 14px;
	width:36px;                      /* “viên ngang” khi active */
	background:#3B82F6;              /* xanh dương khi active */
  }
  /* (tuỳ chọn) khi hover cũng chuyển xanh dương */
  .team .owl-theme .owl-dots .owl-dot:hover span{
	background:#3B82F6;
  }
  
  .testimonial-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;   /* số dòng muốn giới hạn */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  }

/* BLOG: title 2 dòng */
.blog .blog-item .blog-text-inner .h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;          /* tối đa 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  line-height: 1.35;              /* chỉnh cho đẹp */
  min-height: calc(1.35em * 2);   /* giữ khung đều */
  margin: 12px 0 8px;
  color: #393d72;                  /* tím */
  font-weight: 600;
}

/* BLOG: Đảm bảo các card tin tức có chiều cao bằng nhau và sắp xếp đúng */
.blog .row > [class*="col-"] {
  display: flex;
  margin-bottom: 2rem;
}

.blog .blog-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Đảm bảo nội dung card được phân bố đều */
.blog .blog-item .px-4.pb-4 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog .blog-item .blog-text-inner {
  flex-grow: 1;
}

.blog .blog-item .text-center {
  margin-top: auto;
}

/* Trang chi tiết tin tức - Title */
.news-detail-title {
    font-size: 2rem !important;               /* chữ lớn */
    font-weight: 700;              /* đậm */
    color: #393d72;      /* dùng màu chủ đạo Hero English */
    /*text-align: center;   */         /* căn giữa */
    line-height: 1.4;
    margin: 1.5rem 0; 
	margin-bottom: 1rem;             /* khoảng cách trên dưới */
    position: relative;
}
  
.news-detail-img {
	margin-top: 1rem;      /* tạo khoảng cách trên ảnh */
	display: block;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng mượt */
	cursor: pointer; /* Con trỏ tay khi hover */
}

/* Hiệu ứng hover cho ảnh chi tiết tin tức */
.news-detail-img:hover {
    /* Không phóng to ảnh bìa để tránh che nội dung/tiêu đề */
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Đổ bóng khi hover */
}

.news-gallery, .event-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 24px;
  }
  
  .gallery-item {
	margin: 0;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
  }
  
  .gallery-item img {
 	width: 100%;
 	height: auto;                 /* hiển thị đủ nội dung ảnh */
 	object-fit: contain;          /* không cắt ảnh */
 	display: block;
 	background: #ffffff;          /* nền trắng nếu ảnh không phủ kín */
   }
  
  .gallery-item figcaption {
	padding: 8px 10px;
	font-size: 14px;
	font-weight: 700;            /* in đậm chú thích */
	text-align: center;
	color: #333;
	background: #f8f8f8;
	border-top: 1px solid #eee;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
	.news-gallery { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
	.news-gallery { grid-template-columns: 1fr; }
  }


/* Đảm bảo ảnh không chạm vào title khi hover */
.news-detail-title {
	margin-bottom: 1.5rem !important; /* Tăng khoảng cách với ảnh */
}

.news-gallery-banner {
    display: block;           /* bỏ grid */
    margin-top: 24px;
}

.news-gallery-banner .gallery-item {
    border: none;             /* tuỳ chọn: bỏ viền */
    border-radius: 0;         /* tuỳ chọn: bỏ bo góc */
    background: transparent;  /* tuỳ chọn: bỏ nền trắng */
}

.news-gallery-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;        /* ảnh full chiều ngang, giống banner */
    display: block;
}
.news-gallery-banner figcaption {
    text-align: center;
    margin-top: 8px;
    background: none;         /* nếu muốn bỏ nền xám */
    border-top: none;
}



  /* =========================
   EVENTS – fix avatar circle sizing
   ========================= */
/* Make all event thumbnails perfectly square so the rounded-circle clipping is uniform */
.events .events-item .events-img {
    aspect-ratio: 1 / 1;            /* always a square wrapper */
    width: 100%;
    display: block;
}

/* Ensure the image fully covers the circular frame without leaving green gaps */
.events .events-item .events-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;              /* fill frame */
    object-position: center;        /* center crop */
    display: block;                 /* remove descender gaps */
}

  
/* Moon detail page headings */
.moon-card h4,
.moon-card h5 {
    color: #393D72 !important;
}

.program-text {
    /*border-radius: 0 0 10px 10px;*/ /* chỉ bo góc dưới */
		border-radius:0;
}

/* Container nút play */
.btn-play {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00274C; /* xanh Hero */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Tam giác play */
.btn-play::before {
    content: "";
    position: relative;
    left: 3px;
    border-left: 20px solid #fff; /* màu trắng mặc định */
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: border-left-color 0.3s ease;
}

/* Sóng lan */
.btn-play::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 39, 76, 0.4);
    animation: pulse 1.5s infinite;
    z-index: -1;
}

/* Hover: đổi màu */
.btn-play:hover {
    background: #fff;
    transform: scale(1.1);
}
.btn-play:hover::before {
    border-left-color: #00274C; /* tam giác thành xanh */
}

/* Keyframes sóng lan */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Đảm bảo dùng chung biến thương hiệu */
:root { --btn-bg: var(--bs-primary); --btn-contrast: #fff; }

/* Cho toàn bộ cây con kế thừa màu (không chỉ con trực tiếp) */
.btn-dir, .btn-dir * { color: inherit !important; }

/* Trạng thái hover/active – ép màu chữ xanh, nền trắng */
.btn-dir:hover,
.btn-dir:active {
  color: var(--btn-bg, #198754) !important;
  background: var(--btn-contrast, #fff) !important;
  border-color: var(--btn-bg, #198754) !important;
}
.btn-dir:hover *, .btn-dir:active * { color: inherit !important; }

/* Nếu lỡ gắn text-white, vẫn đổi màu khi hover */
.btn-dir.text-white:hover,
.btn-dir.text-white:active { color: var(--btn-bg, #198754) !important; }
.btn-dir.text-white:hover *, 
.btn-dir.text-white:active * { color: inherit !important; }

/* Trang chi tiết sự kiện - Title */
.event-detail-title {
    font-size: 2rem !important;               /* chữ lớn */
    font-weight: 700;              /* đậm */
    color: #393d72;      /* dùng màu chủ đạo Hero English */
    /*text-align: center;   */         /* căn giữa */
    line-height: 1.4;
    margin: 1.5rem 0; 
	margin-bottom: 1rem;             /* khoảng cách trên dưới */
    position: relative;
}
  
.event-detail-img {
	margin-top: 1rem;      /* tạo khoảng cách trên ảnh */
	display: block;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng mượt */
	cursor: pointer; /* Con trỏ tay khi hover */
}

/* Hiệu ứng hover cho ảnh chi tiết tin tức */
.event-detail-img:hover {
    /* Không phóng to ảnh bìa để tránh che nội dung/tiêu đề */
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Đổ bóng khi hover */
}

/* EVENTS: title tối đa 2 dòng */
.events-text .h4 {
	display: -webkit-box;
	-webkit-line-clamp: 2;          /* giới hạn 2 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  
	line-height: 1.35;
	min-height: calc(1.35em * 2);   /* giữ chiều cao đều */
	margin: 12px 0 8px;
	color: #393d72;
	font-weight: 600;
}
  
  /* EVENTS: excerpt tối đa 3 dòng */
.events-text p {
	display: -webkit-box;
	-webkit-line-clamp: 3;          /* giới hạn 3 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
  
	line-height: 1.5;
	min-height: calc(1.5em * 3);    /* giữ khung đều */
	margin: 0;
	color: #555;
}

/* CARD + sweep overlay */
.service-items{
	position: relative;
	overflow: hidden;
	background: #fff !important;                 /* giữ bg-white của Bootstrap */
	border: 1px solid #198754 !important;
	border-radius: 30% / 15%;
	padding: 20px;
	text-align: center;
	transition: border-color .3s ease, color .3s ease;
	z-index: 0;                                  /* tạo stacking context */
  }
  
  /* Lớp phủ màu xanh – bắt đầu từ 0% chiều rộng, nằm TRÊN background nhưng DƯỚI nội dung */
  .service-items::before{
	content: "";
	position: absolute;
	inset: 0 auto 0 0;                           /* bám phải */
	width: 0;                                    /* ban đầu chưa phủ */
	height: 100%;
	background: #198754;
	border-radius: 30% / 15%;                    /* cùng border-radius với card */
	transition: width 0.8s ease;
	z-index: 0;                                  /* quan trọng: >=0 để phủ lên background */
  }
  
  /* Đảm bảo nội dung nổi trên overlay */
  .service-items > *{
	position: relative;
	z-index: 1;
  }
  
  /* Hover: lớp phủ chạy từ trái sang phải */
  .service-items:hover::before{
	width: 100%;
  }
  
  /* Màu chữ/icon */
  .service-items h5{ color:#198754; font-weight:600; }
  .service-items p{ color:#666; font-size:14px; }
  
  /* Icon đang có .text-primary (Bootstrap) → cần !important khi hover */
  .service-items:hover h5,
  .service-items:hover p,
  .service-items:hover i{
	color:#fff !important;
  }
  
  /* Tuỳ chọn: nét viền đậm hơn khi hover */
  .service-items:hover{
	border-color:#198754 !important;
  }
  
.footer-galary-img {
    width: 100px;          /* kích thước khung tròn */
    height: 100px;
    border-radius: 50%;    /* bo tròn */
    overflow: hidden;      /* cắt ảnh thừa ra ngoài */
    margin: 0 auto;        /* căn giữa */
}

.footer-galary-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* ảnh lấp đầy khung tròn */
    display: block;
}


  
  
  
  
/* Keep program bottom badges white on hover (override theme icon hover) */
.program .program-item:hover > .d-flex.justify-content-between i,
.program .program-item:hover > .d-flex.justify-content-between span,
.program .program-item:hover > .d-flex.justify-content-between small,
.program .program-item:hover > .d-flex.justify-content-between .text-white,
.program .program-item > .d-flex.justify-content-between i:hover,
.program .program-item > .d-flex.justify-content-between span:hover,
.program .program-item > .d-flex.justify-content-between small:hover {
    color: #fff !important;
    transform: none;
}

/* Pagination styling for News and Events pages - Hero Green Theme */
.events .pagination .page-link,
.blog .pagination .page-link {
    color: var(--hero-blue-primary) !important;
    border-color: rgba(0, 39, 76, 0.3);
    background-color: #fff;
    transition: all 0.3s ease;
}

.events .pagination .page-link:hover,
.blog .pagination .page-link:hover {
    color: #fff !important;
    background-color: var(--hero-blue-primary) !important;
    border-color: var(--hero-blue-primary) !important;
}

.events .pagination .page-item.active .page-link,
.blog .pagination .page-item.active .page-link {
    background-color: var(--hero-blue-primary) !important;
    border-color: var(--hero-blue-primary) !important;
    color: #fff !important;
}

.events .pagination .page-item.disabled .page-link,
.blog .pagination .page-item.disabled .page-link {
    color: rgba(0, 39, 76, 0.4) !important;
    background-color: #fff;
    border-color: rgba(0, 39, 76, 0.2);
}

/* Public header: fixed brand treatment for desktop and mobile. */
:root {
    --hero-header-blue: #262573;
    --hero-header-accent: #1e73be;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--hero-header-blue) !important;
    box-shadow: 0 3px 14px rgba(38, 37, 115, 0.2);
}

.site-header.is-scrolled {
    background: var(--hero-header-blue) !important;
    box-shadow: 0 3px 14px rgba(38, 37, 115, 0.2);
}

.site-header .hero-topbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(38, 37, 115, 0.14);
}

.hero-topbar-inner {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    min-height: 34px;
    padding: 5px 24px;
}

.hero-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 4px;
    color: var(--hero-header-blue);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.hero-language {
    min-width: 27px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--hero-header-blue);
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-language:hover,
.hero-language:focus-visible,
.hero-language.active {
    color: var(--hero-header-accent);
    opacity: 1;
}

.hero-topbar-title {
    margin: 0;
    color: var(--hero-header-blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.hero-topbar-socials {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 8px;
}

.hero-topbar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--hero-header-blue);
    font-size: 0.77rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-topbar-socials a:hover,
.hero-topbar-socials a:focus-visible {
    color: var(--hero-header-accent);
    transform: translateY(-1px);
}

.site-header .hero-navbar {
    min-height: 72px;
    margin: 0;
    padding: 0;
    background: var(--hero-header-blue) !important;
}

.hero-navbar-inner {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 8px 24px;
    gap: 22px;
}

.site-header .hero-navbar-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.site-header .hero-header-logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
}

.site-header .hero-navbar .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.25vw, 22px);
    margin: 0 auto;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    color: #ffffff !important;
    font-size: clamp(0.73rem, 0.9vw, 0.88rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: color 0.2s ease;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link::after {
    bottom: 2px;
    height: 2px;
    background: #ffffff;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link:hover,
.site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
.site-header .hero-navbar .hero-navbar-nav .nav-link.active {
    color: #ffffff !important;
    transform: none;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link:hover::after,
.site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible::after,
.site-header .hero-navbar .hero-navbar-nav .nav-link.active::after {
    width: 100%;
}

.hero-header-search,
.hero-mobile-search {
    display: flex;
    align-items: center;
    height: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: #ffffff;
}

.hero-header-search {
    flex: 0 0 210px;
    margin-left: auto;
}

.hero-header-search input,
.hero-mobile-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--hero-header-blue);
    font-size: 0.78rem;
}

.hero-header-search input::placeholder,
.hero-mobile-search input::placeholder {
    color: rgba(38, 37, 115, 0.62);
}

.hero-header-search button,
.hero-mobile-search button,
.hero-mobile-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--hero-header-blue);
    cursor: pointer;
}

.hero-header-search button,
.hero-mobile-search button {
    width: 36px;
    height: 100%;
    padding: 0;
    font-size: 0.79rem;
}

.hero-mobile-control,
.site-header .hero-navbar > .hero-mobile-search-wrap {
    display: none;
}

@media (max-width: 1199.98px) {
    .hero-topbar-inner {
        grid-template-columns: minmax(48px, 1fr) minmax(0, auto) minmax(48px, 1fr);
        min-height: 31px;
        padding: 4px 12px;
    }

    .hero-topbar-title {
        max-width: 245px;
        font-size: clamp(0.49rem, 1.9vw, 0.67rem);
        white-space: normal;
    }

    .hero-language-switcher {
        gap: 3px;
        font-size: 0.62rem;
    }

    .hero-language {
        min-width: 22px;
    }

    .hero-topbar-socials {
        display: none;
    }

    .site-header .hero-navbar {
        min-height: 64px;
    }

    .hero-navbar-inner {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 64px;
        padding: 7px 12px;
        gap: 0;
    }

    .hero-mobile-control {
        display: inline-flex;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        color: #ffffff !important;
        font-size: 1rem;
    }

    .site-header .hero-navbar .hero-mobile-control,
    .site-header .hero-navbar .hero-mobile-control i {
        color: #ffffff !important;
    }

    .hero-mobile-control:hover,
    .hero-mobile-control:focus-visible {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        outline: 0;
    }

    .hero-mobile-search-toggle {
        grid-column: 1;
        justify-self: start;
    }

    .site-header .hero-navbar-brand {
        grid-column: 2;
        justify-self: center;
    }

    .site-header .hero-header-logo {
        height: 41px;
        max-width: min(190px, 56vw);
    }

    .hero-menu-toggle {
        display: inline-flex !important;
        grid-column: 3;
        justify-self: end;
        margin: 0;
    }

    .site-header .hero-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 12px;
        left: 12px;
        z-index: 8;
        display: none !important;
        min-width: 0;
        padding: 9px !important;
        border: 1px solid rgba(38, 37, 115, 0.14);
        border-radius: 0 0 14px 14px;
        background: #ffffff !important;
        box-shadow: 0 12px 24px rgba(38, 37, 115, 0.17);
    }

    .site-header .hero-navbar .navbar-collapse.show {
        display: block !important;
    }

    .site-header .hero-navbar .hero-navbar-nav {
        display: flex;
        align-items: stretch;
        gap: 1px;
        width: 100%;
        margin: 0;
    }

    .site-header .hero-navbar .hero-navbar-nav .nav-link {
        justify-content: flex-start;
        padding: 10px 12px;
        border-radius: 8px;
        color: var(--hero-header-blue) !important;
        font-size: 0.92rem;
        text-align: left;
    }

    .site-header .hero-navbar .hero-navbar-nav .nav-link::after {
        display: none;
    }

    .site-header .hero-navbar .hero-navbar-nav .nav-link:hover,
    .site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
    .site-header .hero-navbar .hero-navbar-nav .nav-link.active {
        background: rgba(30, 115, 190, 0.1);
        color: var(--hero-header-accent) !important;
    }

    .hero-header-search {
        display: none;
    }

    .site-header .hero-navbar > .hero-mobile-search-wrap {
        padding: 0 12px 10px;
        background: var(--hero-header-blue);
    }

    .site-header .hero-navbar > .hero-mobile-search-wrap.is-open {
        display: block;
    }

    .hero-mobile-search {
        width: 100%;
        height: 38px;
    }
}

@media (max-width: 359.98px) {
    .hero-topbar-title {
        max-width: 210px;
        font-size: 0.46rem;
    }

    .site-header .hero-header-logo {
        height: 36px;
        max-width: 160px;
    }
}

/* Refined public header and global language translation layer. */
.site-header {
    isolation: isolate;
    box-shadow: 0 12px 30px rgba(20, 19, 77, 0.2);
}

.site-header .hero-topbar {
    position: relative;
    overflow: hidden;
    border-bottom: 0;
    background:
        radial-gradient(circle at 50% -60px, rgba(30, 115, 190, 0.14), transparent 46%),
        #ffffff;
}

.site-header .hero-topbar::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 115, 190, 0.58), transparent);
    content: "";
}

.hero-topbar-inner {
    grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
    min-height: 42px;
    padding: 6px 30px;
}

.hero-language-switcher {
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(38, 37, 115, 0.13);
    border-radius: 999px;
    background: rgba(244, 246, 255, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(38, 37, 115, 0.07);
    font-size: 0.72rem;
}

.hero-language-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 1px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--hero-header-accent);
    font-size: 0.72rem;
    box-shadow: 0 2px 5px rgba(38, 37, 115, 0.1);
}

.hero-language {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(38, 37, 115, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    opacity: 1;
}

.hero-language-code {
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-language-name {
    font-size: 0.68rem;
    font-weight: 700;
}

.hero-language:hover,
.hero-language:focus-visible {
    background: rgba(30, 115, 190, 0.09);
    color: var(--hero-header-accent);
    outline: 0;
}

.hero-language.active {
    background: var(--hero-header-blue);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(38, 37, 115, 0.25);
}

.hero-topbar-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 3px 16px;
    color: var(--hero-header-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: none;
}

.hero-topbar-title i {
    color: #f5ad2c;
    font-size: 0.66rem;
}

.hero-topbar-socials {
    gap: 7px;
}

.hero-social-label {
    margin-right: 3px;
    color: rgba(38, 37, 115, 0.62);
    font-size: 0.67rem;
    font-weight: 700;
}

.hero-topbar-socials a {
    width: 27px;
    height: 27px;
    border: 1px solid rgba(38, 37, 115, 0.12);
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(38, 37, 115, 0.08);
    color: var(--hero-header-blue);
    font-size: 0.72rem;
}

.hero-topbar-socials a:hover,
.hero-topbar-socials a:focus-visible {
    border-color: transparent;
    background: var(--hero-header-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.site-header .hero-navbar {
    position: relative;
    min-height: 78px;
    overflow: hidden;
    background:
        radial-gradient(circle at 77% -160%, rgba(96, 161, 255, 0.5), transparent 46%),
        radial-gradient(circle at 8% 160%, rgba(30, 115, 190, 0.38), transparent 44%),
        linear-gradient(112deg, #1d1c61 0%, #262573 48%, #302f8c 100%) !important;
}

.site-header .hero-navbar::before,
.site-header .hero-navbar::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.site-header .hero-navbar::before {
    top: 0;
    right: 10%;
    width: 170px;
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transform: skewX(-20deg);
}

.site-header .hero-navbar::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-navbar-inner {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: 10px 30px;
    gap: clamp(18px, 2vw, 34px);
}

.site-header .hero-navbar-brand {
    position: relative;
    padding-right: clamp(16px, 2vw, 30px);
}

.site-header .hero-navbar-brand::after {
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.38), transparent);
    content: "";
}

.site-header .hero-header-logo {
    height: 54px;
    max-width: 235px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.hero-navbar-nav {
    gap: clamp(8px, 0.9vw, 16px);
}

.site-header .hero-navbar .hero-navbar-nav .nav-link {
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    letter-spacing: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link::after {
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #9dc9ff;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link:hover,
.site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
.site-header .hero-navbar .hero-navbar-nav .nav-link.active {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-1px);
}

.site-header .hero-navbar .hero-navbar-nav .nav-link.active::after,
.site-header .hero-navbar .hero-navbar-nav .nav-link:hover::after,
.site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible::after {
    width: 38%;
}

.hero-header-search,
.hero-mobile-search {
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(12, 12, 57, 0.2);
}

.hero-header-search {
    flex-basis: 235px;
}

.hero-header-search:focus-within,
.hero-mobile-search:focus-within {
    border-color: #9dc9ff;
    box-shadow: 0 0 0 4px rgba(157, 201, 255, 0.18), 0 8px 18px rgba(12, 12, 57, 0.23);
}

.hero-header-search input,
.hero-mobile-search input {
    padding-left: 16px;
    font-size: 0.78rem;
}

.hero-header-search button,
.hero-mobile-search button {
    width: 38px;
    height: 30px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--hero-header-blue);
    color: #ffffff;
    font-size: 0.73rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-header-search button:hover,
.hero-header-search button:focus-visible,
.hero-mobile-search button:hover,
.hero-mobile-search button:focus-visible {
    background: var(--hero-header-accent);
    color: #ffffff;
    outline: 0;
    transform: scale(1.05);
}

#googleTranslateElement,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

html body iframe.skiptranslate,
html body iframe[class*="VIpgJd-ZVi9od-ORHb-OEVmcd"] {
    display: none !important;
}

/* Google Translate must not expose the source-language tooltip/highlight on
   hover. Language changes are controlled only by the VI/EN switcher. */
#goog-gt-tt,
.goog-tooltip,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Google uses this generated font class for the translated text under the
   pointer. Keep the translated text visible, but remove its gray highlight. */
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q,
#about .hero-value-card font[dir="auto"] {
    font: inherit !important;
    font-family: inherit !important;
    font-style: inherit !important;
    font-variant: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-transform: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}

body {
    top: 0 !important;
}

body.is-changing-language::before {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(17, 17, 67, 0.44);
    content: "";
    cursor: progress;
}

body.is-changing-language::after {
    position: fixed;
    z-index: 2001;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    content: "";
    animation: hero-language-spinner 0.65s linear infinite;
}

@keyframes hero-language-spinner {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1199.98px) {
    .hero-topbar-inner {
        grid-template-columns: minmax(88px, 1fr) minmax(0, auto) minmax(88px, 1fr);
        min-height: 40px;
        padding: 5px 12px;
    }

    .hero-language-switcher {
        padding: 2px;
    }

    .hero-language-icon {
        width: 22px;
        height: 22px;
        font-size: 0.62rem;
    }

    .hero-language {
        padding: 5px 7px;
    }

    .hero-language-name,
    .hero-social-label {
        display: none;
    }

    .hero-topbar-title {
        max-width: 250px;
        padding: 2px 7px;
        font-size: clamp(0.49rem, 1.85vw, 0.65rem);
    }

    .site-header .hero-navbar {
        min-height: 70px;
    }

    .hero-navbar-inner {
        min-height: 70px;
        padding: 8px 12px;
    }

    .site-header .hero-navbar-brand {
        padding-right: 0;
    }

    .site-header .hero-navbar-brand::after {
        display: none;
    }

    .site-header .hero-header-logo {
        height: 45px;
        max-width: min(210px, 58vw);
    }

    .hero-mobile-control {
        border: 1px solid rgba(255, 255, 255, 0.17);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(7, 7, 54, 0.16);
    }

    .site-header .hero-navbar .navbar-collapse {
        top: calc(100% - 1px);
        padding: 10px !important;
        border: 1px solid rgba(30, 115, 190, 0.18);
        border-radius: 0 0 18px 18px;
        box-shadow: 0 16px 32px rgba(18, 17, 78, 0.24);
    }

    .site-header .hero-navbar .hero-navbar-nav .nav-link {
        padding: 11px 13px;
        border: 0;
        font-size: 0.92rem;
    }

    .site-header .hero-navbar .hero-navbar-nav .nav-link:hover,
    .site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
    .site-header .hero-navbar .hero-navbar-nav .nav-link.active {
        border: 0;
        background: rgba(30, 115, 190, 0.1);
        transform: none;
    }

    .site-header .hero-navbar > .hero-mobile-search-wrap {
        padding: 0 12px 12px;
        background: #262573;
    }

    .hero-mobile-search {
        height: 42px;
    }
}

/* Header states: blue topbar + white navbar at the top, blue pinned navbar on scroll. */
:root {
    --hero-header-blue: #262573;
    --hero-header-accent: #1e73be;
    --hero-topbar-height: 46px;
}

.site-header {
    position: sticky;
    top: calc(-1 * var(--hero-topbar-height));
    z-index: 1030;
    isolation: isolate;
    background: transparent !important;
    box-shadow: 0 10px 26px rgba(38, 37, 115, 0.16);
}

.site-header .hero-topbar {
    min-height: var(--hero-topbar-height);
    border: 0;
    background: var(--hero-header-blue) !important;
    color: #ffffff;
}

.site-header .hero-topbar::after {
    display: none;
}

.site-header .hero-topbar .hero-language-switcher {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
}

.site-header .hero-topbar .hero-language-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: none;
}

.site-header .hero-topbar .hero-language {
    color: rgba(255, 255, 255, 0.78);
}

.site-header .hero-topbar .hero-language:hover,
.site-header .hero-topbar .hero-language:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.site-header .hero-topbar .hero-language.active {
    background: #ffffff;
    color: var(--hero-header-blue);
    box-shadow: none;
}

.site-header .hero-topbar .hero-topbar-title {
    color: #ffffff;
}

.site-header .hero-topbar .hero-topbar-title i {
    color: #ffd166;
}

.site-header .hero-topbar .hero-social-label {
    color: rgba(255, 255, 255, 0.78);
}

.site-header .hero-topbar .hero-topbar-socials a {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
}

.site-header .hero-topbar .hero-topbar-socials a:hover,
.site-header .hero-topbar .hero-topbar-socials a:focus-visible {
    background: #ffffff;
    color: var(--hero-header-blue);
}

.site-header .hero-navbar {
    position: relative;
    min-height: 78px;
    overflow: visible;
    border-bottom: 1px solid rgba(38, 37, 115, 0.12);
    background: #ffffff !important;
    box-shadow: 0 5px 18px rgba(38, 37, 115, 0.1);
}

.site-header .hero-navbar::before {
    display: none;
}

.site-header .hero-navbar::after {
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(38, 37, 115, 0.1);
}

.site-header .hero-navbar-inner {
    min-height: 78px;
}

.site-header .hero-navbar-brand {
    border-color: rgba(38, 37, 115, 0.16);
}

.site-header .hero-navbar-brand::after {
    background: linear-gradient(transparent, rgba(38, 37, 115, 0.22), transparent);
}

.site-header .hero-header-logo {
    width: auto;
    height: 54px;
    max-width: 235px;
    object-fit: contain;
    filter: none;
}

.site-header .navbar .hero-logo-scrolled {
    display: none !important;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link {
    color: var(--hero-header-blue) !important;
}

.site-header .hero-navbar .hero-navbar-nav .nav-link::after {
    background: var(--hero-header-accent);
}

.site-header .hero-navbar .hero-navbar-nav .nav-link:hover,
.site-header .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
.site-header .hero-navbar .hero-navbar-nav .nav-link.active {
    border-color: rgba(38, 37, 115, 0.1);
    background: rgba(38, 37, 115, 0.06);
    color: var(--hero-header-blue) !important;
}

.site-header .hero-header-search,
.site-header .hero-mobile-search {
    border-color: rgba(38, 37, 115, 0.28);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(38, 37, 115, 0.08);
}

.site-header .hero-header-search input,
.site-header .hero-mobile-search input {
    color: var(--hero-header-blue);
}

.site-header .hero-header-search input::placeholder,
.site-header .hero-mobile-search input::placeholder {
    color: rgba(38, 37, 115, 0.56);
}

.site-header .hero-header-search button,
.site-header .hero-mobile-search button {
    background: var(--hero-header-blue);
    color: #ffffff;
}

.site-header .hero-navbar .hero-mobile-control,
.site-header .hero-navbar .hero-mobile-control i {
    color: var(--hero-header-blue) !important;
}

.site-header .hero-navbar .hero-mobile-control {
    border-color: rgba(38, 37, 115, 0.16);
    background: rgba(38, 37, 115, 0.05);
}

.site-header .hero-navbar .hero-mobile-control:hover,
.site-header .hero-navbar .hero-mobile-control:focus-visible {
    background: rgba(38, 37, 115, 0.1);
    color: var(--hero-header-blue) !important;
}

.site-header .hero-navbar .navbar-collapse {
    border-color: rgba(38, 37, 115, 0.14);
    background: transparent !important;
}

.site-header .hero-navbar > .hero-mobile-search-wrap {
    background: #ffffff;
}

/* Scrolled state applies to the navbar while the topbar remains above the viewport. */
.site-header.is-scrolled .hero-navbar {
    border-bottom-color: rgba(255, 255, 255, 0.16);
    background: var(--hero-header-blue) !important;
    box-shadow: 0 6px 20px rgba(38, 37, 115, 0.25);
}

.site-header.is-scrolled .hero-navbar::after {
    background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .hero-navbar-brand::after {
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.38), transparent);
}

.site-header.is-scrolled .hero-logo-default {
    display: none;
}

.site-header.is-scrolled .navbar .hero-logo-default {
    display: none !important;
}

.site-header.is-scrolled .navbar .hero-logo-scrolled {
    display: block !important;
    filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.18));
}

.site-header.is-scrolled .hero-navbar .hero-navbar-nav .nav-link {
    color: #ffffff !important;
}

.site-header.is-scrolled .hero-navbar .hero-navbar-nav .nav-link::after {
    background: #9dc9ff;
}

.site-header.is-scrolled .hero-navbar .hero-navbar-nav .nav-link:hover,
.site-header.is-scrolled .hero-navbar .hero-navbar-nav .nav-link:focus-visible,
.site-header.is-scrolled .hero-navbar .hero-navbar-nav .nav-link.active {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff !important;
}

.site-header.is-scrolled .hero-navbar .hero-mobile-control,
.site-header.is-scrolled .hero-navbar .hero-mobile-control i {
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.site-header.is-scrolled .hero-navbar .hero-mobile-control:hover,
.site-header.is-scrolled .hero-navbar .hero-mobile-control:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
}

.site-header.is-scrolled .hero-navbar > .hero-mobile-search-wrap {
    background: var(--hero-header-blue);
}

@media (max-width: 1199.98px) {
    :root {
        --hero-topbar-height: 40px;
    }

    .site-header .hero-navbar,
    .site-header .hero-navbar-inner {
        min-height: 70px;
    }

    .site-header .hero-header-logo {
        height: 45px;
        max-width: min(210px, 58vw);
    }

    .site-header .hero-navbar .navbar-collapse,
    .site-header.is-scrolled .hero-navbar .navbar-collapse {
        background: #ffffff !important;
    }
}

/* Footer consultation card redesign */
@media (min-width: 992px) {
    .hero-footer .hero-footer-inner {
        width: 100%;
        max-width: none;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 1200px) {
    .hero-footer .hero-footer-inner {
        padding-right: clamp(18px, 2vw, 32px);
        padding-left: clamp(18px, 2vw, 32px);
    }

    .hero-footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(16px, 1.5vw, 24px);
    }

    .hero-footer-consult {
        width: 100%;
        max-width: none;
        justify-self: stretch;
    }
}

.footer-consult-card {
    width: 100%;
    padding: 28px 28px 25px;
    border: 1px solid rgba(219, 229, 241, .95);
    border-radius: 24px;
    background: #ffffff;
    color: #10213b;
    box-shadow: 0 22px 48px rgba(6, 17, 48, .28), 0 5px 14px rgba(6, 17, 48, .12);
}

#footerConsultCard,
#footerConsultCard *:not(i) {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif !important;
}

.footer-consult-card-heading {
    margin-bottom: 20px;
    padding-bottom: 21px;
    border-bottom: 1px solid #e9eef5;
    text-align: center;
}

.footer-consult-card-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    margin-bottom: 10px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #edf4ff;
    color: #135ee8 !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-footer .footer-consult-card-heading h3,
.hero-footer .footer-consult-card-heading h3:hover {
    margin: 0;
    color: #101828 !important;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
    text-transform: none;
}

.hero-footer .footer-consult-card-heading p,
.hero-footer .footer-consult-card-heading p:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 8px 0 0;
    padding: 4px 11px;
    border-radius: 7px;
    background: #fff8e9;
    color: #b85c00 !important;
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.2;
}

.footer-consult-card-heading p i {
    color: #f59e0b !important;
    font-size: .7rem;
}

.footer-consult-card .consult-form {
    gap: 12px;
}

.footer-consult-card .consult-field > label,
.footer-consult-card .consult-fieldset > legend {
    margin-bottom: 6px;
    color: #10213b !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.footer-consult-card .consult-optional {
    color: #10213b !important;
    font-size: inherit;
    font-weight: inherit;
}

.footer-consult-card .consult-fieldset {
    margin: 0;
}

.footer-consult-card .consult-input-wrap input,
.footer-consult-card .consult-input-wrap select,
.footer-consult-card .consult-input-wrap textarea {
    border-color: #d9e2ef !important;
    border-radius: 12px;
    background-color: #f8fafc !important;
    color: #10213b !important;
    font-size: .82rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(15, 35, 68, .04);
}

.footer-consult-card .consult-input-wrap input,
.footer-consult-card .consult-input-wrap select {
    min-height: 43px;
    padding: 10px 36px 10px 39px;
}

.footer-consult-card .consult-input-wrap textarea {
    min-height: 52px;
    padding: 11px 12px 10px 39px;
    line-height: 1.35;
    resize: vertical;
}

.footer-consult-card .consult-input-wrap > i {
    top: 15px;
    left: 14px;
    color: #91a5c1 !important;
    font-size: .78rem;
}

.footer-consult-card .consult-textarea-wrap > i {
    top: 14px;
}

.footer-consult-card .consult-input-wrap input::placeholder,
.footer-consult-card .consult-input-wrap textarea::placeholder {
    color: #97a8c0 !important;
    opacity: 1;
}

.footer-consult-card .consult-input-wrap input:focus,
.footer-consult-card .consult-input-wrap select:focus,
.footer-consult-card .consult-input-wrap textarea:focus {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .13), 0 4px 10px rgba(15, 35, 68, .07);
}

.footer-consult-card .consult-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.footer-consult-card .consult-location-grid .consult-input-wrap input {
    padding-right: 8px;
    padding-left: 34px;
    font-size: .74rem;
}

.footer-consult-card .consult-location-grid .consult-input-wrap > i {
    left: 12px;
    font-size: .7rem;
}

.footer-consult-card .consult-input-wrap select {
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
    background-repeat: no-repeat;
    background-size: 5px 5px;
}

.footer-consult-card .consult-submit {
    min-height: 48px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(100deg, #1f63e9 0%, #285fe9 52%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 12px 23px rgba(37, 99, 235, .3);
    animation: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.footer-consult-card .consult-submit > i {
    margin-left: 3px;
    font-size: .77rem;
    transition: transform .2s ease;
}

.footer-consult-card .consult-submit:hover,
.footer-consult-card .consult-submit:focus-visible {
    background: linear-gradient(100deg, #1554d1 0%, #1f54da 52%, #4338ca 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 28px rgba(37, 99, 235, .38);
    transform: translateY(-2px);
}

.footer-consult-card .consult-submit:hover > i,
.footer-consult-card .consult-submit:focus-visible > i {
    transform: translateX(4px);
}

.hero-footer .footer-consult-security,
.hero-footer .footer-consult-security:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 18px 0 0;
    color: #6c809c !important;
    font-size: .65rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.footer-consult-security i {
    color: #10b981 !important;
    flex: 0 0 auto;
    font-size: .9rem;
    line-height: 1;
}

@media (max-width: 1319.98px) and (min-width: 992px) {
    .hero-footer-grid {
        grid-template-columns: minmax(170px, .7fr) minmax(300px, 1.15fr) minmax(300px, 1.15fr);
        gap: 18px;
    }

    .hero-footer-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-footer-programs {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-footer-hours {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .hero-footer-consult {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 100%;
        max-width: 360px;
        justify-self: end;
    }

    .footer-consult-card {
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* Footer operating hours and social channels */
#footerHoursSection,
#footerHoursSection *:not(i) {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif !important;
}

#footerHoursSection .hero-footer-hours-card {
    position: relative;
    display: block;
    margin-top: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(141, 184, 231, .2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(15, 34, 69, .94) 0%, rgba(8, 25, 50, .88) 100%);
    box-shadow: 0 18px 34px rgba(7, 16, 43, .24), inset 0 1px 0 rgba(255, 255, 255, .035);
}

#footerHoursSection .hero-footer-hours-card::before {
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #48d8ff, transparent);
    content: "";
    opacity: .72;
}

.hero-footer-hours-summary {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.hero-footer-hours-icon {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid rgba(72, 216, 255, .28);
    border-radius: 13px;
    background: rgba(37, 99, 235, .14);
    color: #6edcff !important;
    font-size: 1.1rem;
    box-shadow: 0 0 18px rgba(56, 189, 248, .13);
}

.hero-footer-hours-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.hero-footer-hours-copy small {
    color: rgba(211, 225, 243, .66) !important;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

#footerHoursSection .hero-footer-hours-copy strong {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.hero-footer-hours-slot {
    display: grid;
    gap: 7px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 13px;
    background: rgba(2, 12, 29, .5);
    box-shadow: inset 0 1px 10px rgba(0, 0, 0, .13);
}

.hero-footer-hours-slot > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(211, 225, 243, .67) !important;
    font-size: .7rem;
    font-weight: 600;
}

.hero-footer-hours-slot > span i {
    color: #5fdcff !important;
    font-size: .75rem;
}

#footerHoursSection .hero-footer-hours-slot > strong {
    color: #ffffff !important;
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.hero-footer-hours-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hero-footer-online,
.hero-footer-open-badge {
    display: inline-flex;
    align-items: center;
}

.hero-footer-online {
    gap: 8px;
    color: rgba(224, 235, 248, .78) !important;
    font-size: .65rem;
    font-weight: 600;
}

.hero-footer-online > i {
    position: relative;
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .13), 0 0 11px rgba(16, 185, 129, .55);
}

.hero-footer-open-badge {
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(72, 216, 255, .24);
    border-radius: 999px;
    background: rgba(37, 99, 235, .14);
    color: #7bdfff !important;
    font-size: .61rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-footer-open-badge i {
    color: #7bdfff !important;
    font-size: .62rem;
}

.hero-footer-connect {
    margin-top: 23px;
}

#footerHoursSection .hero-footer-connect h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: rgba(231, 240, 251, .84) !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}

#footerHoursSection .hero-footer-connect h4::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #42e1ff;
    box-shadow: 0 0 10px rgba(66, 225, 255, .42);
    content: "";
}

#footerHoursSection .hero-footer-social-desktop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:focus-visible {
    display: flex;
    width: auto;
    height: 84px;
    min-width: 0;
    padding: 11px 7px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 170, 201, .2);
    border-radius: 13px;
    background: rgba(6, 20, 42, .66);
    color: rgba(229, 238, 250, .86) !important;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(3, 11, 28, .13);
    transform: none;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#footerHoursSection .hero-footer-social-card > i,
#footerHoursSection .hero-footer-social-card > strong {
    margin-bottom: 8px;
    color: inherit !important;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1;
    transition: transform .22s ease;
}

#footerHoursSection .hero-footer-social-card > span {
    overflow: hidden;
    color: inherit !important;
    font-size: .6rem;
    font-weight: 750;
    letter-spacing: .035em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:focus-visible {
    color: #ffffff !important;
    transform: translateY(-4px);
}

#footerHoursSection .hero-footer-social-card:hover > i,
#footerHoursSection .hero-footer-social-card:hover > strong,
#footerHoursSection .hero-footer-social-card:focus-visible > i,
#footerHoursSection .hero-footer-social-card:focus-visible > strong {
    transform: scale(1.1);
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-facebook:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-facebook:focus-visible {
    border-color: #4f8cff;
    background: linear-gradient(145deg, #3276ed, #1d5bd7);
    box-shadow: 0 13px 24px rgba(24, 119, 242, .36);
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-tiktok:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-tiktok:focus-visible {
    border-color: #25f4ee;
    background: linear-gradient(145deg, #10131a, #020409);
    box-shadow: -5px 8px 21px rgba(37, 244, 238, .18), 5px 8px 21px rgba(254, 44, 85, .18);
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-youtube:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-youtube:focus-visible {
    border-color: #ff5555;
    background: linear-gradient(145deg, #f12b2b, #c90808);
    box-shadow: 0 13px 24px rgba(255, 0, 0, .3);
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-zalo:hover,
#footerHoursSection .hero-footer-social-desktop .hero-footer-social-zalo:focus-visible {
    border-color: #55a7ff;
    background: linear-gradient(145deg, #168bff, #0068df);
    box-shadow: 0 13px 24px rgba(0, 104, 255, .32);
}

@media (min-width: 1200px) {
    .hero-footer-hours-slot {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    #footerHoursSection .hero-footer-hours-slot > strong {
        text-align: right;
    }
}

@media (max-width: 1319.98px) and (min-width: 992px) {
    #footerHoursSection .hero-footer-social-desktop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #footerHoursSection .hero-footer-social-desktop .hero-footer-social-card {
        height: 70px;
    }

    .hero-footer-hours-status {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Footer academic programs */
#footerProgramsSection,
#footerProgramsSection *:not(i) {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif !important;
}

.hero-footer-program-list {
    display: grid;
    gap: 9px;
}

#footerProgramsSection .hero-footer-program-card,
#footerProgramsSection .hero-footer-program-card:hover,
#footerProgramsSection .hero-footer-program-card:focus-visible {
    --footer-program-accent: #55d8ff;
    display: grid;
    min-width: 0;
    min-height: 64px;
    padding: 10px 11px;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148, 170, 201, .15);
    border-radius: 13px;
    background: rgba(6, 20, 42, .52);
    color: rgba(229, 238, 250, .88) !important;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(3, 11, 28, .09);
    transform: none;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

#footerProgramsSection .hero-footer-program-card--starter {
    --footer-program-accent: #34d399;
}

#footerProgramsSection .hero-footer-program-card--elite {
    --footer-program-accent: #fbbf24;
}

#footerProgramsSection .hero-footer-program-card--pro {
    --footer-program-accent: #fb923c;
}

#footerProgramsSection .hero-footer-program-card--ielts {
    --footer-program-accent: #818cf8;
}

.hero-footer-program-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--footer-program-accent) 28%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--footer-program-accent) 12%, transparent);
    color: var(--footer-program-accent) !important;
    font-size: .82rem;
    transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.hero-footer-program-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

#footerProgramsSection .hero-footer-program-copy strong {
    overflow: hidden;
    color: rgba(244, 248, 255, .94) !important;
    font-size: .74rem;
    font-weight: 750;
    letter-spacing: -.01em;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#footerProgramsSection .hero-footer-program-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(197, 214, 235, .62) !important;
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-footer-program-arrow {
    color: rgba(184, 204, 229, .42) !important;
    font-size: .62rem;
    transition: color .22s ease, transform .22s ease;
}

#footerProgramsSection .hero-footer-program-card:hover,
#footerProgramsSection .hero-footer-program-card:focus-visible {
    border-color: color-mix(in srgb, var(--footer-program-accent) 48%, transparent);
    background: linear-gradient(105deg, rgba(20, 56, 103, .78), rgba(7, 25, 51, .72));
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(3, 14, 37, .2), 0 0 18px color-mix(in srgb, var(--footer-program-accent) 14%, transparent);
    transform: translateX(4px);
}

#footerProgramsSection .hero-footer-program-card:hover .hero-footer-program-icon,
#footerProgramsSection .hero-footer-program-card:focus-visible .hero-footer-program-icon {
    border-color: var(--footer-program-accent);
    background: var(--footer-program-accent);
    color: #06142a !important;
    transform: scale(1.04);
}

#footerProgramsSection .hero-footer-program-card:hover .hero-footer-program-arrow,
#footerProgramsSection .hero-footer-program-card:focus-visible .hero-footer-program-arrow {
    color: var(--footer-program-accent) !important;
    transform: translateX(3px);
}

.hero-footer-program-standard {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid rgba(72, 216, 255, .22);
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(8, 29, 58, .78), rgba(16, 49, 91, .62));
    box-shadow: 0 10px 23px rgba(3, 13, 34, .14);
}

.hero-footer-program-standard-icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(251, 191, 36, .3);
    border-radius: 11px;
    background: rgba(251, 191, 36, .11);
    color: #fbd267 !important;
    font-size: .88rem;
    box-shadow: 0 0 15px rgba(251, 191, 36, .1);
}

.hero-footer-program-standard > span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

#footerProgramsSection .hero-footer-program-standard small {
    color: #65dcff !important;
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .065em;
    line-height: 1.25;
    text-transform: uppercase;
}

#footerProgramsSection .hero-footer-program-standard strong {
    color: rgba(245, 249, 255, .92) !important;
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.4;
}

@media (max-width: 1319.98px) and (min-width: 992px) {
    #footerProgramsSection .hero-footer-program-card {
        min-height: 62px;
    }
}

/* Brighter Hero Blue treatment for the public header and footer. */
:root {
    --hero-header-blue: #1e73be;
    --hero-header-accent: #7dd8ff;
    --hero-footer-bg: #1f73b8;
    --hero-footer-bg-deep: #15578f;
    --hero-footer-surface: #2d84c5;
    --hero-footer-muted: rgba(255, 255, 255, .84);
    --hero-footer-line: rgba(222, 243, 255, .25);
}

.site-header .hero-topbar,
.site-header.is-scrolled .hero-navbar {
    background: linear-gradient(100deg, #2178b6 0%, #1e73be 54%, #1763a7 100%) !important;
}

.site-header.is-scrolled {
    background: #1e73be !important;
    box-shadow: 0 7px 22px rgba(20, 91, 151, .24);
}

.site-header.is-scrolled .hero-navbar {
    border-bottom-color: rgba(255, 255, 255, .24);
    box-shadow: 0 6px 20px rgba(13, 76, 132, .2);
}

.site-header .hero-topbar .hero-language-switcher,
.site-header .hero-topbar .hero-topbar-socials a {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .14);
}

.site-header .hero-topbar .hero-language,
.site-header .hero-topbar .hero-social-label {
    color: rgba(255, 255, 255, .9);
}

.hero-footer {
    background: var(--hero-footer-bg);
}

.hero-footer::before {
    border-color: rgba(220, 244, 255, .15);
}

.hero-footer-shell {
    background:
        radial-gradient(circle at 74% 12%, rgba(115, 218, 255, .22), transparent 25rem),
        radial-gradient(circle at 12% 88%, rgba(103, 185, 241, .14), transparent 24rem),
        linear-gradient(135deg, #2178b6 0%, var(--hero-footer-bg) 48%, var(--hero-footer-bg-deep) 100%);
}

.hero-footer-heading-line {
    background: linear-gradient(90deg, #9ce8ff, rgba(156, 232, 255, .12));
}

.hero-footer .hero-footer-brand-description,
.hero-footer .hero-footer-contact-list small,
.hero-footer .hero-footer-contact-list strong {
    color: rgba(255, 255, 255, .94) !important;
}

#footerBrandSection .hero-footer-contact-list a {
    border-color: rgba(210, 239, 255, .25);
    background: rgba(12, 78, 132, .48);
    box-shadow: 0 9px 20px rgba(9, 66, 116, .15);
}

#footerBrandSection .hero-footer-contact-list a:hover,
#footerBrandSection .hero-footer-contact-list a:focus-visible {
    border-color: rgba(164, 229, 255, .65);
    background: rgba(35, 133, 197, .66);
    box-shadow: 0 14px 26px rgba(8, 69, 119, .23);
}

#footerProgramsSection .hero-footer-program-card {
    border-color: rgba(210, 239, 255, .2);
    background: rgba(11, 72, 125, .48);
    box-shadow: 0 8px 18px rgba(8, 62, 108, .13);
}

#footerProgramsSection .hero-footer-program-copy small {
    color: rgba(231, 244, 255, .78) !important;
}

#footerProgramsSection .hero-footer-program-card:hover,
#footerProgramsSection .hero-footer-program-card:focus-visible {
    border-color: color-mix(in srgb, var(--footer-program-accent) 65%, #ffffff 10%);
    background: linear-gradient(105deg, rgba(54, 146, 207, .82), rgba(19, 100, 164, .78));
    box-shadow: 0 14px 27px rgba(8, 63, 112, .22), 0 0 18px color-mix(in srgb, var(--footer-program-accent) 18%, transparent);
}

.hero-footer-program-standard {
    border-color: rgba(146, 225, 255, .36);
    background: linear-gradient(110deg, rgba(16, 93, 151, .65), rgba(33, 124, 183, .55));
}

#footerHoursSection .hero-footer-hours-card {
    border-color: rgba(183, 231, 255, .3);
    background: linear-gradient(145deg, rgba(28, 112, 177, .92) 0%, rgba(16, 82, 143, .88) 100%);
    box-shadow: 0 18px 34px rgba(8, 65, 113, .2), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-footer-hours-copy small,
.hero-footer-hours-slot > span,
.hero-footer-online {
    color: rgba(240, 248, 255, .86) !important;
}

.hero-footer-hours-slot {
    border-color: rgba(220, 242, 255, .15);
    background: rgba(7, 61, 111, .42);
}

#footerHoursSection .hero-footer-social-desktop .hero-footer-social-card {
    border-color: rgba(211, 239, 255, .24);
    background: rgba(10, 69, 121, .5);
    color: rgba(248, 252, 255, .94) !important;
}

.hero-footer-bottom {
    border-top-color: rgba(222, 243, 255, .2);
    background: rgba(8, 61, 108, .24);
}

.hero-footer-bottom p,
.hero-footer-bottom p:hover {
    color: rgba(255, 255, 255, .82) !important;
}

/* Compact wide-screen footer: keep every column balanced within roughly half a viewport. */
@media (min-width: 1200px) {
    .hero-footer .hero-footer-inner {
        padding-top: 30px;
        padding-bottom: 27px;
    }

    .hero-footer-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(410px, 1.35fr);
        gap: clamp(14px, 1vw, 19px);
    }

    .hero-footer-brand,
    .hero-footer-programs,
    .hero-footer-hours,
    .hero-footer-consult {
        width: 100%;
        max-width: none;
        grid-column: auto;
        grid-row: auto;
        justify-self: stretch;
    }

    .hero-footer-logo {
        min-height: 46px;
    }

    .hero-footer-logo img {
        width: min(154px, 100%);
        max-height: 50px;
    }

    .hero-footer-brand-description,
    .hero-footer-brand-description:hover {
        margin: 10px 0 14px;
        font-size: .81rem;
        line-height: 1.52;
    }

    .hero-footer-contact-list {
        gap: 8px;
    }

    .hero-footer-contact-list a,
    .hero-footer-contact-list a:hover,
    .hero-footer-contact-list a:focus-visible {
        min-height: 58px;
        padding: 9px 10px;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
    }

    .hero-footer-contact-icon {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .hero-footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-footer-contact-copy {
        gap: 2px;
    }

    .hero-footer h3 {
        margin-top: 2px;
        margin-bottom: 7px;
    }

    .hero-footer-heading-line {
        height: 2px;
        margin-bottom: 12px;
    }

    .hero-footer-program-list {
        gap: 6px;
    }

    #footerProgramsSection .hero-footer-program-card,
    #footerProgramsSection .hero-footer-program-card:hover,
    #footerProgramsSection .hero-footer-program-card:focus-visible {
        min-height: 50px;
        padding: 6px 8px;
        grid-template-columns: 32px minmax(0, 1fr) 12px;
        gap: 8px;
        border-radius: 11px;
    }

    .hero-footer-program-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: .74rem;
    }

    .hero-footer-program-copy {
        gap: 1px;
    }

    #footerProgramsSection .hero-footer-program-copy strong {
        font-size: .71rem;
    }

    #footerProgramsSection .hero-footer-program-copy small {
        font-size: .65rem;
        line-height: 1.25;
        -webkit-line-clamp: 1;
    }

    .hero-footer-program-standard {
        gap: 9px;
        margin-top: 9px;
        padding: 8px 9px;
        border-radius: 11px;
    }

    .hero-footer-program-standard-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
        font-size: .76rem;
    }

    #footerProgramsSection .hero-footer-program-standard strong {
        font-size: .65rem;
        line-height: 1.3;
    }

    #footerHoursSection .hero-footer-hours-card {
        padding: 14px;
        border-radius: 14px;
    }

    .hero-footer-hours-summary {
        gap: 10px;
        margin-bottom: 10px;
    }

    .hero-footer-hours-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
        font-size: .95rem;
    }

    .hero-footer-hours-copy {
        gap: 2px;
    }

    .hero-footer-hours-slot {
        gap: 6px;
        padding: 9px 11px;
        border-radius: 10px;
    }

    #footerHoursSection .hero-footer-hours-slot > strong {
        font-size: 1.08rem;
    }

    .hero-footer-hours-status {
        gap: 8px;
        margin-top: 9px;
        padding-top: 9px;
    }

    .hero-footer-connect {
        margin-top: 14px;
    }

    #footerHoursSection .hero-footer-connect h4 {
        margin-bottom: 8px;
    }

    #footerHoursSection .hero-footer-social-desktop {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .hero-footer-hours-status {
        align-items: center;
        flex-direction: row;
    }

    #footerHoursSection .hero-footer-social-desktop .hero-footer-social-card,
    #footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:hover,
    #footerHoursSection .hero-footer-social-desktop .hero-footer-social-card:focus-visible {
        height: 62px;
        padding: 8px 5px;
        border-radius: 11px;
    }

    #footerHoursSection .hero-footer-social-card > i,
    #footerHoursSection .hero-footer-social-card > strong {
        margin-bottom: 5px;
        font-size: 1.08rem;
    }

    .footer-consult-card {
        padding: 14px 16px 12px;
        border-radius: 20px;
    }

    .footer-consult-card-heading {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .footer-consult-card-heading > span {
        min-height: 21px;
        margin-bottom: 3px;
        padding: 3px 10px;
        font-size: .65rem;
    }

    .hero-footer .footer-consult-card-heading h3,
    .hero-footer .footer-consult-card-heading h3:hover {
        font-size: 1.28rem;
    }

    .hero-footer .footer-consult-card-heading p,
    .hero-footer .footer-consult-card-heading p:hover {
        gap: 5px;
        margin-top: 5px;
        padding: 3px 8px;
        font-size: .65rem;
    }

    .footer-consult-card .consult-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .footer-consult-card .consult-form > .consult-field:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-consult-card .consult-form > .consult-field:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-consult-card .consult-form > .consult-field:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-consult-card .consult-form > .consult-field:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .footer-consult-card .consult-form > .consult-field:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-consult-card .consult-submit {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .footer-consult-card .consult-field > label,
    .footer-consult-card .consult-fieldset > legend {
        margin-bottom: 4px;
        font-size: .65rem;
        line-height: 1.2;
    }

    .footer-consult-card .consult-field:nth-child(5) .consult-optional {
        font-size: .55rem;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .footer-consult-card .consult-input-wrap input,
    .footer-consult-card .consult-input-wrap select {
        min-height: 38px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: .74rem;
    }

    .footer-consult-card .consult-input-wrap textarea {
        height: 46px;
        min-height: 46px;
        max-height: 46px;
        padding-top: 9px;
        padding-bottom: 7px;
        font-size: .72rem;
        overflow: hidden;
        resize: none;
    }

    .footer-consult-card .consult-input-wrap > i,
    .footer-consult-card .consult-textarea-wrap > i {
        top: 13px;
    }

    .footer-consult-card .consult-location-grid {
        gap: 8px;
    }

    .footer-consult-card .consult-input-wrap select {
        height: 38px;
        max-height: 38px;
        background-position: calc(100% - 18px) 15px, calc(100% - 13px) 15px;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footer-consult-card .consult-submit {
        min-height: 40px;
        margin-top: 1px;
        border-radius: 10px;
        font-size: .76rem;
    }

    .hero-footer .footer-consult-security,
    .hero-footer .footer-consult-security:hover {
        gap: 6px;
        margin-top: 7px;
        font-size: .59rem;
        line-height: 1.28;
    }

    .footer-consult-security i {
        font-size: .82rem;
    }

    .hero-footer-bottom p,
    .hero-footer-bottom p:hover {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Cascade guard for the final responsive footer/header rules above. */
#heroPageTop .site-header .hero-topbar .hero-topbar-title {
    max-width: none;
    font-family: "Plus Jakarta Sans", "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif !important;
    font-size: clamp(.94rem, 1.05vw, 1.05rem);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

#footerHoursSection .hero-footer-social-desktop {
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
}

#footerHoursSection .hero-footer-social-card > span {
    overflow: visible;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
}

@media (max-width: 1199.98px) {
    #heroPageTop .site-header .hero-topbar .hero-topbar-title {
        max-width: min(55vw, 390px);
        font-size: clamp(.66rem, 1.7vw, .82rem);
        white-space: normal;
    }
}

@media (max-width: 479.98px) {
    #heroPageTop .site-header .hero-topbar .hero-topbar-title {
        max-width: 52vw;
        font-size: clamp(.61rem, 2.7vw, .72rem);
    }
}

.events .events-text a.h4 {
    display: block;
    min-height: calc(1.35em * 3);
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
}

#footerProgramsSection .hero-footer-program-copy strong,
#footerProgramsSection .hero-footer-program-copy small {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: unset;
}
