/* Custom Style for CÔNG TY TNHH MTV VIỆT LỆ THANH */

:root {
    --primary-color: #0b5ed7; /* Corporate Blue */
    --primary-dark: #0a369d;
    --primary-light: #eef2ff;
    --accent-color: #f59e0b; /* Amber accent */
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-navbar-rgba: rgba(255, 255, 255, 0.95);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: var(--bg-light);
}

.home-partners-section {
    border-top: 1px solid rgba(var(--primary-rgb), 0.12);
}

.text-primary-color {
    color: var(--primary-color);
}

/* Force Bootstrap primary ecosystem to follow runtime theme preset */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.page-item.active .page-link,
.pagination .active > .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.page-link,
.nav-link.text-primary,
a.text-primary {
    color: var(--primary-color) !important;
}

.page-link:hover,
a.text-primary:hover {
    color: var(--primary-dark) !important;
}

/* Custom Buttons */
.btn-custom {
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
}

.btn-custom-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-custom-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

/* Section Title */
.section-title-wrapper {
    margin-bottom: 50px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title-left {
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Sticky Header */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--bg-navbar-rgba);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header-wrapper.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 15px !important;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* ===== SWIPER HERO BANNER ===== */
.hero-slider {
    height: 88vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
}

.hero-slide-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    overflow: hidden;
}

/* Ken Burns zoom effect on background */
.hero-slide-item::before {
    content: '';
    position: absolute;
    inset: -8%;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: heroBgZoom 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroBgZoom {
    from { transform: scale(1);   filter: brightness(0.75); }
    to   { transform: scale(1.08); filter: brightness(0.65); }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-slide-content .hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 5px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    animation: heroSlideUp 0.7s ease both;
}

.hero-slide-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    animation: heroSlideUp 0.8s ease 0.1s both;
}

.hero-slide-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 35px;
    color: rgba(255,255,255,0.88);
    max-width: 560px;
    line-height: 1.7;
    animation: heroSlideUp 0.8s ease 0.2s both;
}

.hero-slide-content .btn {
    animation: heroSlideUp 0.8s ease 0.35s both;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.hero-slide-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Navigation Buttons */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    transition: background 0.25s, transform 0.25s;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 900;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255,255,255,0.32);
    transform: scale(1.1);
}

/* Swiper Pagination Dots */
.hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 440px;
    }
    .hero-slide-overlay {
        background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 100%);
    }
}

/* Why Choose Us Cards */
.why-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    background-color: var(--primary-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.why-card:hover .why-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Statistics Counter */
.stat-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-title {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Service Card */
.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-icon-badge {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.service-info {
    padding: 35px 25px 25px;
}

.service-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-info h3 a:hover {
    color: var(--primary-color);
}

/* Gallery Item */
.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--primary-rgb), 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
    color: var(--bg-white);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 2;
}

.gallery-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

/* News Card */
.news-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-title a:hover {
    color: var(--primary-color);
}

/* Mega Footer */
.footer {
    background-color: #0b1d33;
    color: rgba(255,255,255,0.75);
    padding: 70px 0 20px;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-map-container {
    height: 180px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
}

/* Contact CTA Block */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 50px 0;
    border-radius: var(--border-radius-md);
    margin-top: -40px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-md);
}

/* Breadcrumbs Banner */
.page-header {
    background: linear-gradient(rgba(var(--primary-dark-rgb), 0.8), rgba(var(--primary-rgb), 0.8)), url('../images/page-header-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--bg-white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* Admin Dashboard Styles */
.admin-sidebar {
    min-height: 100vh;
    background-color: #0b1d33;
    color: rgba(255,255,255,0.8);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px !important;
    border-radius: 0;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover, 
.admin-sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.05);
    color: var(--bg-white) !important;
    border-left-color: var(--primary-color);
}

.admin-sidebar .nav-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.admin-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 30px;
}

.admin-content {
    background-color: #f3f4f6;
    min-height: calc(100vh - 72px);
    padding: 30px;
}

.admin-content .admin-pagination-nav .pagination {
    gap: 6px;
}

.admin-content .admin-pagination-nav .page-item .page-link {
    min-width: 36px;
    height: 36px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color) !important;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    transition: var(--transition-fast);
}

.admin-content .admin-pagination-nav .page-item .page-link:hover {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-1px);
}

.admin-content .admin-pagination-nav .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 10px 18px rgba(var(--primary-rgb), 0.28);
}

.admin-content .admin-pagination-nav .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVBAR DROPDOWN MENUS ===== */
.navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 220px;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.navbar .dropdown-menu .dropdown-item {
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    border-radius: 6px;
    margin: 0 4px;
    width: calc(100% - 8px);
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding-left: 22px;
}

.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
    color: #fff !important;
}

.navbar .dropdown-menu .dropdown-item:hover i {
    color: #fff !important;
}

.navbar .dropdown-menu hr.dropdown-divider {
    margin: 4px 12px;
    border-color: rgba(0,0,0,0.07);
}

/* On desktop, show dropdown on hover */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar .dropdown-toggle::after {
        transition: transform 0.2s;
    }
    .navbar .nav-item.dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* ===== FLOATING ACTION BUTTONS ===== */
.floating-buttons {
    position: fixed;
    right: 22px;
    bottom: 100px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.float-btn-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
    flex-shrink: 0;
}

.float-btn:hover .float-btn-icon {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.float-btn-zalo .float-btn-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    animation: floatPulse 2.5s infinite;
}

.float-btn-contact .float-btn-icon {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-dark) 100%);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.4); }
    50%       { box-shadow: 0 4px 28px rgba(var(--primary-rgb), 0.7); }
}

.float-btn-label {
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    order: -1;
}

.float-btn:hover .float-btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SCROLL-TO-TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    right: 22px;
    bottom: 30px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(30, 60, 114, 0.55);
}

/* ===== HERO WAVE DIVIDER ===== */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.hero-wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Certificate document placeholder */
.certificate-doc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 25%, rgba(var(--primary-rgb), 0.08), transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(var(--primary-dark-rgb), 0.08), transparent 44%),
        linear-gradient(145deg, #f8faff 0%, #eef3ff 100%);
}

.certificate-doc-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(var(--primary-rgb), 0.14);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-doc-icon-wrap i {
    font-size: 2.1rem;
}

.certificate-doc-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.certificate-doc-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(var(--primary-rgb), 0.12);
}

.certificate-doc-sub {
    font-size: 0.82rem;
    color: #5f6b7b;
    font-weight: 500;
}

/* Dark Mode Overrides and Adjustments */
[data-theme="dark"] {
    --bg-navbar-rgba: rgba(11, 19, 41, 0.95);
}
[data-theme="dark"] body {
    color: var(--text-color);
}
[data-theme="dark"] .navbar-brand span.text-muted {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .navbar .dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .navbar .dropdown-menu .dropdown-item {
    color: var(--text-color);
}
[data-theme="dark"] .navbar .dropdown-menu .dropdown-item:hover {
    color: #ffffff;
}
[data-theme="dark"] .navbar .dropdown-menu .dropdown-divider {
    border-color: var(--border-color);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-color) !important;
}
[data-theme="dark"] .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}
[data-theme="dark"] .floating-buttons .float-btn-zalo,
[data-theme="dark"] .floating-buttons .float-btn-contact {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .scroll-top-btn {
    background-color: var(--bg-card);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
[data-theme="dark"] .scroll-top-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}
[data-theme="dark"] .section-title {
    color: #ffffff !important;
}
[data-theme="dark"] .section-title-left {
    color: #ffffff !important;
}
[data-theme="dark"] .lead {
    color: var(--text-color) !important;
}
[data-theme="dark"] .bg-light-gray, 
[data-theme="dark"] .bg-light {
    background-color: var(--bg-light) !important;
}
[data-theme="dark"] .service-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .why-card {
    border-color: var(--border-color) !important;
    background-color: var(--bg-card) !important;
}
[data-theme="dark"] .news-card .card-body {
    background-color: var(--bg-card) !important;
}
[data-theme="dark"] .why-card .why-icon {
    background-color: rgba(59, 130, 246, 0.1) !important;
}
[data-theme="dark"] .why-card:hover .why-icon {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
[data-theme="dark"] .home-partners-section {
    border-top: 1px solid var(--border-color) !important;
}
[data-theme="dark"] .news-title a {
    color: var(--text-color) !important;
}
[data-theme="dark"] .news-title a:hover {
    color: var(--primary-color) !important;
}
[data-theme="dark"] .form-control {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-color);
}
[data-theme="dark"] .form-control:focus {
    background-color: var(--bg-light);
    color: var(--text-color);
    border-color: var(--primary-color);
}
[data-theme="dark"] .modal-content {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-color);
}
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: var(--border-color);
}
[data-theme="dark"] .breadcrumb-item a {
    color: var(--primary-color) !important;
}
[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-color) !important;
}
[data-theme="dark"] .about-feat-item {
    background: var(--bg-light);
    border-color: var(--border-color);
}
[data-theme="dark"] .about-feat-item:hover {
    background: var(--primary-color);
    color: #ffffff;
}
[data-theme="dark"] .vmv-card {
    background: var(--bg-card) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .vmv-card .vmv-title {
    color: #ffffff !important;
}
[data-theme="dark"] .vmv-card .vmv-text {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .vmv-card .vmv-list li {
    color: var(--text-color);
}
[data-theme="dark"] .sector-card {
    background: var(--bg-card) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .sector-card h4 {
    color: #ffffff !important;
}
[data-theme="dark"] .sector-card p {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .about-img-badge {
    background: var(--bg-card) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .about-img-badge small {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .about-img-years {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .stat-item {
    border-right-color: var(--border-color) !important;
}
[data-theme="dark"] .text-black, [data-theme="dark"] .text-dark {
    color: #ffffff !important;
}

/* ===== HUONG VIET SINH CSS OVERRIDES ===== */
.navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 10px 15px !important;
    transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Redesign Section Titles */
.section-title::after {
    background-color: var(--accent-color) !important;
    width: 53px;
    height: 4px;
    border-radius: 0;
}

.section-title-left::after {
    background-color: var(--accent-color) !important;
    width: 53px;
    height: 4px;
    border-radius: 0;
}

/* Button & Hover transitions */
.btn-primary, .btn-custom-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff !important;
}

.btn-primary:hover, .btn-custom-primary:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #111111 !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Light Footer Styles to match target */
.footer {
    background-color: #f3f5f5 !important;
    color: #111111 !important;
    padding: 70px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer h4 {
    color: var(--primary-dark) !important;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer h4::after {
    background-color: var(--accent-color) !important;
    width: 40px;
    height: 3px;
    border-radius: 0;
}

.footer-links a {
    color: #333333 !important;
    transition: all 0.2s ease-in-out;
}

.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.footer-contact-info p {
    color: #111111 !important;
}

.footer-contact-info i {
    color: var(--primary-color) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.footer-bottom p {
    color: #555555 !important;
}

/* Clean up card roundings and borders */
.card, .service-card, .news-card, .why-card, .gallery-item {
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.card:hover, .service-card:hover, .news-card:hover, .why-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* Float items style */
.float-btn {
    border-radius: 4px !important;
}

/* Custom play button animation on Intro card */
.play-btn-wrapper {
    transition: all 0.3s ease-in-out !important;
}
.play-btn-wrapper:hover {
    transform: scale(1.1);
    background-color: var(--accent-color) !important;
}
.play-btn-wrapper:hover i {
    color: #ffffff !important;
}

/* Force body styling to match huongvietsinh typography exactly */
body {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    color: #000000 !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Helvetica, Arial, sans-serif !important;
}
p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}



