/**
 * Custom Styles for Contact Info
 */

/* ========================================
   Page Content & Sidebar Layout
   ======================================== */
.page-content-sidebar .row {
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
}

.page-content-sidebar #content {
    padding-right: 30px;
}

.page-content-sidebar .large-3.col {
    padding-left: 30px;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .page-content-sidebar #content {
        padding-right: 15px;
    }

    .page-content-sidebar .large-3.col {
        padding-left: 15px;
        margin-top: 40px;
    }


}

/* ========================================
   Page KM Theme Full Width Template
   ======================================== */
.page-content {
    width: 100%;
    min-height: 60vh;
}

.page-body {
    width: 100%;
    padding: 40px 0;
}

.page-body-container {
    display: flex;
    /* gap: 30px; */
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-body-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    width: 100%;
    width: calc(100% - 360px);
    padding: 0 48px 0 0;
}

.page-body-content .entry-header {
    margin-bottom: 30px;
}

.page-body-content .entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Sidebar */
.page-content .sidebar {
    display: block;
    max-width: 100%;
    width: 360px;
    flex-shrink: 0;
    margin: 0;
}

.km-sidebar-content {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    position: sticky;
    top: calc(56px + 24px);
    border-color: #e2e8f0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.km-sidebar-content p {
    margin-bottom: 15px;
}

.km-sidebar-content p:last-child {
    margin-bottom: 0;
}

.ti-circle-check-bold:before {
    content: "\eb4f"
}

.section-subtitle.has-text-centered {
    margin-bottom: 12px;
    font-size: 1.125rem;
    line-height: 1.625rem;
    letter-spacing: -.38px;
    font-weight: 700;
}

.list-style__type:not(:last-child) {
    margin-bottom: 20px;
}

.list-style__type li {
    color: #aab7ca;
    list-style: none;
}

.list-style__type li {
    position: relative;
    padding-left: 28px;
    color: #475569;
    font-size: .875rem;
    line-height: 20px;
}

.list-style__type li:before {
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: middle;
    font-family: "tabler-icons";
    content: "\ea67";
    font-size: 20px;
    line-height: 1;
    color: #16a34a;
}

/* Full-width sections (navigation and slider) */
.page-header.phn-navigation,
.mps-section {
    width: 100%;
    max-width: 100%;
}

.list-style__type li strong {
    color: #475569;
}

.list-style__type li {
    position: relative;
    padding-left: 28px;
    color: #aab7ca;
    font-size: .875rem;
    line-height: 20px;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .page-body {
        padding: 20px 0;
    }

    .page-body-container {
        flex-direction: column;
        padding: 0 15px;
        gap: 20px;
    }

    .page-content .sidebar {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
}

/* ========================================
   Contact Info Section
   ======================================== */
.container {
    width: 100%;

    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .page-body-content {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        -moz-box-flex: 1;
        flex: 1;
        width: 100%;
        padding: 0;
    }

    /* Hide sidebar on mobile */
    .page-body-container .sidebar {
        display: none !important;
    }

    .page-body-container {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.contact-info {
    margin: 0;
    padding: 0;
}

.contact-info__title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.contact-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

a,
p {
    font-size: 13px;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0;
    line-height: 1.6;
    color: #ffffff;
    font-size: 14px;
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

/* Icon styling - Font Awesome */
.contact-info__icon {
    flex-shrink: 0;
    width: 28px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
}

/* Text content */
.contact-info__text {
    flex: 1;
    margin: 0;
    color: #ffffff;
}

/* Label styling */
.contact-info__label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 8px;
}

/* Value styling */
.contact-info__value {
    color: #ffffff;
}

/* Link styling */
.contact-info__value a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info__value a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info {
        padding: 0;
    }

    .contact-info__title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .contact-info__list {
        padding: 0;
    }

    .contact-info__item {
        font-size: 14px;
        margin-bottom: 18px;
        gap: 12px;
        align-items: flex-start;
        line-height: 1.5;
    }

    .contact-info__item:last-child {
        margin-bottom: 0;
    }

    .contact-info__icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
        font-size: 18px;
        margin-top: 2px;
        /* Căn với dòng đầu tiên của text */
    }

    .contact-info__text {
        line-height: 1.5;
        word-wrap: break-word;
    }

    .contact-info__label {
        display: block;
        margin-bottom: 4px;
        margin-right: 0;
    }

    .contact-info__value {
        display: block;
        word-break: break-word;
    }

    /* Link trên mobile - dễ click hơn */
    .contact-info__value a {
        display: inline-block;
        padding: 2px 0;
        min-height: 44px;
        /* Touch target size */
        line-height: 1.5;
    }

    /* Mobile styles for .tittle-banner */
    .tittle-banner {
        color: inherit !important;
        font-size: 20px !important;
        letter-spacing: 10px !important;
        margin-bottom: 23px !important;
        line-height: 36px !important;
    }

}

/* Desktop styles for .tittle-banner */
@media (min-width: 769px) {
    .tittle-banner {
        color: inherit !important;
        font-size: 32px !important;
        letter-spacing: 10px !important;
        margin-bottom: 24px !important;
        line-height: 40px !important;
    }
}

.header-main .nav>li>a {
    line-height: 16px;
    color: white !important;
}

.header-full-width {
    border-bottom: 1px solid #e2e8f0;
}

header.header.transparent.has-transparent.header-full-width {
    border: none;
}

a.view-more {
    line-height: 35px;
    font-size: 12px;
    height: auto;
    text-transform: inherit;
    border: 1px solid #fff;
    padding: 10px 45px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

a.view-more:hover {
    opacity: 0.8;
}

/* Video Popup Styles */
.km-video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.km-video-popup.is-open {
    display: flex;
}

.km-video-popup.is-visible {
    opacity: 1;
}

.km-video-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.km-video-popup__container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 2;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.km-video-popup.is-visible .km-video-popup__container {
    transform: scale(1);
}

.km-video-popup__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.km-video-popup__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.km-video-popup__close i {
    font-size: 20px;
    line-height: 1;
}

.km-video-popup__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.km-video-popup__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .km-video-popup__container {
        width: 95%;
        max-height: 85vh;
    }

    .km-video-popup__close {
        top: -40px;
        width: 38px;
        height: 38px;
    }

    .km-video-popup__close i {
        font-size: 18px;
    }
}

/* Prevent body scroll when popup is open */
body.km-video-popup-open {
    overflow: hidden;
}

/* Scroll down button - smooth transitions */
.scroll-down {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.scroll-down {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
    cursor: pointer;
}

.scroll-down img.show-768 {
    max-width: 18px;
    margin-top: 20px;
    animation: scroll-down-bounce 2s ease-in infinite, scroll-pulse 2s ease-in-out infinite;
    transform: translateZ(0);
    /* Force hardware acceleration */
    backface-visibility: hidden;
    /* Prevent flickering */
}

/* Keyframe animation - nhảy lên xuống gợi ý scroll */
@keyframes scroll-down-bounce {
    0% {
        transform: translateY(0) translateZ(0);
    }

    15% {
        transform: translateY(-6px) translateZ(0);
        /* Đi lên nhanh (0% -> 15%) */
    }

    45% {
        transform: translateY(-6px) translateZ(0);
        /* Dừng lại ở trên (15% -> 45%) */
    }

    100% {
        transform: translateY(0) translateZ(0);
        /* Đi xuống chậm (45% -> 100%) - gợi ý scroll xuống */
    }
}

/* Keyframe animation - pulse nhẹ để thu hút */
@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
        /* Mờ nhẹ để tạo hiệu ứng nhấp nháy */
    }
}

p.show-768 {
    font-size: 12px;
    padding: 0;
    margin: 0;
}

.banner-1 p {
    margin: 0 !important;
}

.header-main .nav>li>a {
    line-height: 16px;
    font-weight: 100;
}

/* ========================================
   Submenu Navigation Styles
   ======================================== */

/* Submenu Container */
.sub-menu,
.nav-dropdown,
.nav-dropdown-default {
    background: #fff !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    min-width: 180px !important;
    max-width: 220px !important;
    width: auto !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Submenu Items */
.sub-menu li,
.nav-dropdown li,
.nav-dropdown-default li {
    border: none !important;
    border-radius: 0 !important;
    padding: 2px !important;
}

.sub-menu li a,
.nav-dropdown li a,
.nav-dropdown-default li a {
    color: #334155 !important;
    font-size: .875rem !important;
    padding: 5px !important;
    font-weight: 600;
    display: block;
    transition: color 0.3s ease;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

/* Hover Effect - Chỉ đổi màu chữ */
.sub-menu li:hover>a,
.nav-dropdown li:hover>a,
.nav-dropdown-default li:hover>a,
.sub-menu li a:hover,
.nav-dropdown li a:hover,
.nav-dropdown-default li a:hover {
    background-color: #F1F5F9 !important;
    color: #334155 !important;
    border-radius: 5px !important;
}

/* Active State */
.sub-menu li.current-menu-item>a,
.nav-dropdown li.current-menu-item>a,
.nav-dropdown-default li.current-menu-item>a {
    background-color: #F1F5F9 !important;
    color: #334155 !important;
    border-radius: 5px !important;
}

.nav-size-medium>li>a {
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: math-auto !important;
}

.sec-footer {
    background-color: #fff;
    color: #334155;
}

.sec-footer h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: inherit;
    text-transform: inherit;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    padding: 7px;
}

.sec-footer a {
    color: #334155;
}

.copyright .row {
    border-top: 1px solid;
    padding-top: 30px;
}

.copyright {
    font-size: 11px;
    background-color: #F5F1E6;
    color: #061C58;
}

.copyright h3.widget-title a {

    color: #fff;
}

.sec-footer .col {
    padding: 0 15px 0px;
}

.sec-footer .col p {
    margin: 0;
}

h5.efch-2.ef-tx-t {
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #334155;
    text-align: center;
    font-size: 24px;
}

.copyright .col {
    padding-bottom: 0;
}

.copyright .col p {
    margin: 0;
}

.absolute-footer {
    display: none;
}

.section-du-an .box-text .box-text-inner h2 {
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
    color: #fff;
    letter-spacing: 8px;
    font-size: 28px;
    text-transform: uppercase;
}

.sec-project .text1 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    text-align: center;
    z-index: 4;
}

.sec-project .text1 .title {
    color: #fff;
    margin-bottom: 116px;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.sec-project .title {
    text-align: center;
    border-bottom: solid 1px #CB9552;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: #CB9552;
    font-size: 28px;
}

.sec-project .text1 .readmore a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sec-project .text1 .readmore a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sec-project .text1 .readmore a:hover {
    color: #a96b11;
}

.sec-project .text1 .readmore a:hover i {
    transform: translateX(5px);
}

.readmore a {
    text-transform: uppercase;
    color: #a96b11;
    display: inline-block;
}

.readmore a i {
    display: inline-block;
}

.readmore a i:last-child {
    margin-left: 10px;
}

.readmore a i:first-child {
    margin-right: 10px;
}

.readmore a:hover {
    color: #886d48;
}

.readmore a:hover i:first-child {
    -ms-transform: translateX(-5px);
    transform: translateX(-5px);
    -webkit-transform: translateX(-5px);
}

.readmore a:hover i:last-child {
    -ms-transform: translateX(5px);
    transform: translateX(5px);
    -webkit-transform: translateX(5px);
}

.header-main .nav>li>a {
    line-height: 16px;
    font-weight: 600;
}

/* ========================================
   Section Project - Image Border
   ======================================== */

.divtext {
    position: relative;
}

.divtext:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -25px;
    right: -25px;
    bottom: 20px;
    border: 1px solid #C9943E;
}

.banner-1 h2,
.banner-1 h4 {
    color: #C9943E;
}

.header:not(.transparent) .header-nav-main.nav>li>a {
    color: #334155 !important;
}

/* Header Menu Active State */
.header-nav-main.nav>li.current-menu-item>a,
.header-nav-main.nav>li.current_page_item>a,
.header-nav-main.nav>li.current-menu-ancestor>a,
.header-nav-main.nav>li.current-menu-parent>a,
.header-nav.nav>li.current-menu-item>a,
.header-nav.nav>li.current_page_item>a,
.header-nav.nav>li.current-menu-ancestor>a,
.header-nav.nav>li.current-menu-parent>a,
.nav.header-nav>li.current-menu-item>a,
.nav.header-nav>li.current_page_item>a,
.nav.header-nav>li.current-menu-ancestor>a,
.nav.header-nav>li.current-menu-parent>a,
ul.header-nav li.current-menu-item>a,
ul.header-nav li.current_page_item>a,
ul.header-nav li.current-menu-ancestor>a,
ul.header-nav li.current-menu-parent>a,
.header .nav>li.current-menu-item>a,
.header .nav>li.current_page_item>a,
.header .nav>li.current-menu-ancestor>a,
.header .nav>li.current-menu-parent>a {
    color: #2e438f !important;
    font-weight: 600 !important;
}

/* ========================================
   Custom Menu Shortcode Styles
   ======================================== */

/* Menu Container - Căn giữa màn hình */
.menu-container {
    border-top: 1px solid #ececec;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #ececec;
    text-align: center;
}

/* Menu List - Nằm ngang căn giữa */
.menu-container .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu Items */
.menu-container .menu li {
    margin: 0;
    padding: 0;
}

/* Menu Links */
.menu-container .menu li a {
    display: inline-block;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.footer-wrapper {
    position: relative;
    width: 100%;
    background: #fff;
}

/* Hover Effect - Underline animation */
.menu-container .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2e438f;
    transition: width 0.3s ease;
}

.menu-container .menu li a:hover {
    color: #2e438f;
}

.menu-container .menu li a:hover::after {
    width: 100%;
}

/* Active Menu Item */
.menu-container .menu li.current-menu-item>a,
.menu-container .menu li.current_page_item>a {
    color: #2e438f;
    font-weight: 600;
}

.menu-container .menu li.current-menu-item>a::after,
.menu-container .menu li.current_page_item>a::after {
    width: 100%;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .menu-container {
        padding: 15px 10px;
    }

    h5.efch-2.ef-tx-t {
        font-weight: 600;
        margin-bottom: 0px;
        text-transform: uppercase;
        color: #334155;
        text-align: center;
        font-size: 24px;
    }

    .menu-container .menu {
        flex-direction: row;
        gap: 15px;
    }

    .sec-footer .col {
        padding: 10px 10px;
    }

    .menu-container .menu li a {
        font-size: 14px;
        padding: 10px 0;
        min-height: 44px;
        /* Touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Footer Menu Variant - Nếu dùng trong footer */
.sec-footer .menu-container,
footer .menu-container {
    padding: 15px 0;
}

.sec-footer .menu-container .menu,
footer .menu-container .menu {
    gap: 20px;
}

.sec-footer .menu-container .menu li a,
footer .menu-container .menu li a {
    color: #334155;
    font-size: 14px;
}

.sec-footer .menu-container .menu li a:hover,
footer .menu-container .menu li a:hover {
    color: #2e438f;
}

.widget>ul>li+li,
ul.menu>li+li {
    border-top: none !important;
}

.sec-footer .km-sitemap-heading a,
.sec-footer .km-sitemap-heading span {
    color: #061C58 !important;
    font-weight: 600 !important;
}

.sec-footer .km-sitemap-children a {
    color: #334155 !important;
    font-size: 13px !important;
}