body {
    overflow-x: hidden;
    color: #333 !important;
}

a {
    color: #333;
}

.mb-50 {
	margin-bottom: 50px;
}

.text-center {
	text-align: center;
}

.slide-one-item.home-slider {
    z-index: 0;
}

.publication-carousel .owl-stage-outer {
    padding-bottom: 30px;
}

.select2-dropdown {
    z-index: 99999 !important;
}

.social-media a {
    display: block;
    color: white;
    font-size: 16px;
    margin: 10px 0;
    text-align: center;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #ffd764;
    /* Màu khi hover */
}

/* CSS cho mỗi icon */
.social-media a i {
    width: 30px;
    height: 30px;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    background-color: #333;
    border-radius: 50%;
}

.bg-primary {
    background-color: #174898 !important;
}

.text-primary {
    color: #174898 !important;
}

.color-white {
    color: white !important;
}

.contact-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    padding-right: 0;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.contact-item [class^="icon-"] {
    color: #174898;
    font-size: 18px;
    min-width: 18px;
}

.contact-item strong {
    color: #174898;
    font-weight: 600;
}

.qr-code {
    margin-left: 20px;
    padding: 5px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.qr-code img {
    display: block;
    width: 80px;
    height: 80px;
}

@media (max-width: 1200px) {
    .contact-info {
        gap: 12px;
    }

    .contact-item {
        font-size: 13px;
    }

    .qr-code img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 992px) {
    .contact-info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .qr-code {
        margin-left: 0;
        align-self: flex-end;
    }
}

.logo-image {
    height: 100%;
    display: flex;
    align-items: center;
}

.site-navbar {
    padding-top: 0 !important;
    z-index: 1;
}

.section-heading h2 {
    color: #174898;
}

.custom-btn {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.map-btn {
    background: linear-gradient(135deg, #174898 0%, #2a6ad1 100%);
    color: white;
}

.business-btn {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
    color: white;
}

.custom-btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    font-size: 50px;
    margin-right: 30px;
    display: block;
}

.btn-text {
    font-size: 22px;
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .custom-btn {
        height: 150px;
    }

    .btn-icon {
        font-size: 40px;
    }

    .btn-text {
        font-size: 18px;
    }
}

.blog.site-cover,
.site-cover .same-height {
    padding: 2em 0;
}

.blog.site-cover.single-page h1 {
    font-size: 3em !important;
}

/* Màu chủ đạo */
:root {
    --primary-color: #174898;
    --primary-light: #5b9aff;
    --primary-dark: #0e3577;
    --white: #ffffff;
    --light-gray: #f5f8ff;
}

/* Top Header Styles */
.top-header {
    background-color: var(--light-gray);
    padding: 10px 0;
    color: white;
}

.top-header a {
    color: var(--primary-color);
    margin-right: 20px;
    font-size: 14px;
    transition: color 0.3s;
}

.top-header a:hover {
    text-decoration: none;
}

.top-header .left-links {
    display: flex;
    align-items: center;
}

.top-header .right-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-form {
    position: relative;
    margin-right: 15px;
}

.search-form input {
    border-radius: 20px;
    padding: 5px 15px;
    border: none;
    font-size: 14px;
    width: 180px;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
}

.entry4 h2 {
    padding-left: 15px;
    position: relative;
}

.entry4 h2::before {
    content: "";
    width: 7px;
    height: 7px;
    line-height: 7px;
    text-align: center;
    border-radius: 50%;
    background: black;
    position: absolute;
    top: 6px;
    left: 0;
}

.site-footer {
    padding-top: 2em !important;
    padding-bottom: 0 !important;
}

.line-white {
    height: 1px;
    background-color: white;
}

.site-footer a {
    color: white;
}

.btn-primary {
    background-color: #0e3577;
    outline: none;
    border: none;
}

.btn-primary:hover {
    background-color: #0e3577 !important;
    opacity: 0.8;
}

.three-line-ellipsis {
    display: -webkit-box;
    /* Use flexbox layout model for multiline */
    -webkit-box-orient: vertical;
    /* Set the box to be vertically oriented */
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    overflow: hidden;
    /* Hide the overflowing content */
    text-overflow: ellipsis;
    /* Display ellipsis (...) */
    line-height: 1.5;
    /* Adjust line height as needed */
    min-height: 4.5em;
    /* Set maximum height for 3 lines (line-height * 3) */
}

.two-line-ellipsis {
    display: -webkit-box;
    /* Use flexbox layout model for multiline */
    -webkit-box-orient: vertical;
    /* Set the box to be vertically oriented */
    -webkit-line-clamp: 2;
    /* Limit to 3 lines */
    overflow: hidden;
    /* Hide the overflowing content */
    text-overflow: ellipsis;
    /* Display ellipsis (...) */
    line-height: 1.5;
}

.three-line-ellipsis {
    display: -webkit-box;
    /* Use flexbox layout model for multiline */
    -webkit-box-orient: vertical;
    /* Set the box to be vertically oriented */
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    overflow: hidden;
    /* Hide the overflowing content */
    text-overflow: ellipsis;
    /* Display ellipsis (...) */
    line-height: 1.5;
}

.publication-info {
    font-size: 1.3em;
    font-weight: bold;
    background: white;
    padding: 10px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    top: 10;
    position: absolute;
    bottom: -45px;
    border-radius: 999px;
    color: white;
    background: var(--primary-color);
}

/* Quick Contact Bar */
.contact-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-bar a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    background-color: var(--primary-color);
}

.contact-bar a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.contact-bar a .tooltip {
    position: absolute;
    right: 60px;
    background: white;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-bar a:hover .tooltip {
    opacity: 1;
    right: 65px;
}

/* Social Media Styling */
.social-media {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.social-media a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-media a:nth-child(1) {
    background-color: #4267b2;
    /* Facebook color */
}

.social-media a:nth-child(2) {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
    /* Instagram gradient */
}

.social-media a:nth-child(3) {
    background-color: #000000;
    /* TikTok color */
}

.social-media a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Header contact items styling */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item i,
.contact-item span.fas {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 10px; */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover i,
.contact-item:hover span.fas {
    transform: rotate(15deg);
}

.contact-text {
    color: #333;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-text {
    color: var(--primary-color);
}

.emergency-icon {
    background-color: #dc3545 !important;
    color: white !important;
}

/* Slider Navigation Arrows - MORE PROMINENT VERSION */
.custom-slider-arrows {
    position: relative;
}

.custom-slider-arrows .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50px);
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    padding: 0;
    left: 0;
    right: 0;
}

.custom-slider-arrows .owl-prev,
.custom-slider-arrows .owl-next {
    width: 50px;
    height: 50px;
    background-color: #174898 !important;
    /* Solid primary color */
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px !important;
    color: white !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    pointer-events: auto;
}

/* Move owl-prev and owl-next outside for non-top slider carousels */
.reposition-owl-nav .owl-prev {
    position: absolute;
    left: -60px;
}

.reposition-owl-nav .owl-next {
    position: absolute;
    right: -60px;
}

/* Keep top slider navigation as is */
.slide-one-item.home-slider .owl-prev,
.slide-one-item.home-slider .owl-next {
    position: relative;
    left: auto;
    right: auto;
}

.slide-one-item.home-slider .owl-prev > span,
.slide-one-item.home-slider .owl-next > span,
.owl-prev span,
.owl-next span {
    display: none !important;
}

.custom-slider-arrows .owl-prev:hover,
.custom-slider-arrows .owl-next:hover {
    background-color: #0d2b5e !important;
    /* Darker shade on hover */
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.custom-slider-arrows .owl-prev.disabled,
.custom-slider-arrows .owl-next.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

/* Add arrow icons using CSS to guarantee visibility */
.custom-slider-arrows .owl-prev:after,
.custom-slider-arrows .owl-next:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
}

.custom-slider-arrows .owl-prev:after {
    content: "\f053";
    /* fa-chevron-left */
}

.custom-slider-arrows .owl-next:after {
    content: "\f054";
    /* fa-chevron-right */
}

/* Make dots more visible */
.owl-dots {
    text-align: center;
    margin-top: 15px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.owl-dot {
    display: inline-block !important;
    margin: 0 5px;
}

.owl-dot span {
    display: block !important;
    width: 12px;
    height: 12px;
    background-color: #dddddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active span {
    background-color: #174898 !important;
    transform: scale(1.2);
}

/* Responsive slider arrows */
@media (max-width: 768px) {
    .custom-slider-arrows .owl-prev,
    .custom-slider-arrows .owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }

    .custom-slider-arrows .owl-prev {
        left: 10px;
    }

    .custom-slider-arrows .owl-next {
        right: 10px;
    }
}

/* Make responsive for smaller screens */
@media (max-width: 768px) {
    .social-media,
    .contact-bar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background-color: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 1010;
    }

    .contact-bar {
        bottom: 70px;
    }

    .contact-bar a,
    .social-media a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-bar a .tooltip {
        top: -40px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-bar a:hover .tooltip {
        right: auto;
        top: -45px;
    }
}

/* Make contact info in header responsive */
@media (max-width: 992px) {
    .contact-info-container .row {
        flex-wrap: wrap;
    }

    .contact-info-container .col-6 {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Custom Carousel Navigation Arrows */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #174898;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-arrow:hover {
    background-color: #0d2b5e;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.custom-arrow i {
    font-size: 20px;
}

.custom-arrow-prev {
    left: 20px;
}

.custom-arrow-next {
    right: 20px;
}

@media (max-width: 768px) {
    .custom-arrow {
        width: 40px;
        height: 40px;
    }

    .custom-arrow i {
        font-size: 16px;
    }

    .custom-arrow-prev {
        left: 10px;
    }

    .custom-arrow-next {
        right: 10px;
    }
}

/* Make responsive for smaller screens */
@media (max-width: 768px) {
    .social-media,
    .contact-bar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        background-color: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 1010;
    }

    .contact-bar a,
    .social-media a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-bar a .tooltip {
        top: -40px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-bar a:hover .tooltip {
        right: auto;
        top: -45px;
    }
}

/* Hide default Owl Carousel navigation */
.owl-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
    left: 0;
    right: 0;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 50px !important;
    height: 50px !important;
    background-color: #174898 !important;
    /* Primary color */
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    margin: 0 !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: #0d2b5e !important;
    /* Darker shade on hover */
    transform: scale(1.1);
}

/* For mobile devices */
@media (max-width: 768px) {
    .owl-prev,
    .owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .owl-prev {
        left: 10px;
    }

    .owl-next {
        right: 10px;
    }
}

/* Make dots more visible */
.owl-dots {
    text-align: center;
    margin-top: 15px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.owl-dot {
    display: inline-block !important;
    margin: 0 5px;
}

.owl-dot span {
    display: block !important;
    width: 12px;
    height: 12px;
    background-color: #dddddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active span {
    background-color: #174898 !important;
    transform: scale(1.2);
}

.left-links .dropdown {
    display: inline-block;
    position: relative;
}

.left-links .dropdown-toggle {
    text-decoration: none;
    padding: 8px 15px;
}

.left-links .dropdown-toggle:hover,
.left-links .dropdown-toggle:focus {
    text-decoration: none;
}

.left-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    z-index: 1000;
    margin-top: 5px;
}

.left-links .dropdown:hover .dropdown-menu {
    display: block;
}

.left-links .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.left-links .dropdown-item i {
    margin-right: 10px;
    font-size: 12px;
    color: #666;
}

.left-links .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .left-links .dropdown-menu {
        position: static;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        background: #f8f9fa;
    }

    .left-links .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #174898;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #0d2b5e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .scroll-top {
        width: 40px;
        height: 40px;
    }

    .scroll-top i {
        font-size: 16px;
    }
    .contact-info-container {
        display: none;
    }

    .left-links,.right-tools {
       display: flex;
       align-items: center;
       justify-content: center !important;
    }
    .left-links {
       margin-bottom: 20px;
    }

    .logo-image {
        justify-content: center;
        padding: 20px 0;
    }

    ._df_thumb-wrapper {
        margin-bottom: 50px;
    }

    .site-footer .f-logo {
        display: flex;
        justify-content: center;
    }
    .website-visit {
        margin: 20px 0;
    }

    .custom-btn {
        height: 50px !important;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: relative;
    background: var(--primary-color);
    padding: 10px 0;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 5px 15px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list li a {
    color: white;
    padding: 12px 15px;
    display: block;
    text-decoration: none;
}

.mobile-menu-list li.has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    padding-left: 25px;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}


