/**
 * Custom CSS for kmtheme Child Theme
 * 
 * Add your custom styles here
 */

/* ==========================================================================
   Font Configuration (SVN-Gilroy Custom Fonts)
   ========================================================================== */

/* 1. Declare Font Faces */
@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-Gilroy.woff2') format('woff2');
    font-weight: 400;
    /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyMedium.woff2') format('woff2');
    font-weight: 500;
    /* Medium */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyMediumItalic.woff2') format('woff2');
    font-weight: 500;
    /* Medium Italic */
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroySemiBold.woff2') format('woff2');
    font-weight: 600;
    /* Semi Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroySemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    /* Semi Bold Italic */
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyBold.woff2') format('woff2');
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyXBold.woff2') format('woff2');
    font-weight: 800;
    /* Extra Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyXBoldItalic.woff2') format('woff2');
    font-weight: 800;
    /* Extra Bold Italic */
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Gilroy';
    src: url('../fonts/SVN-GilroyHeavy.woff2') format('woff2');
    font-weight: 900;
    /* Heavy / Black */
    font-style: normal;
    font-display: swap;
}

.bg-city p {
    background: #46C0BD;
    width: 40%;
    margin: 0px auto 20px auto;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    font-size: 22px;
}

/* 2. Apply globally to the website (Safely avoiding icon font breakage) */
body,
input,
textarea,
button,
select,
h1,
h2,
h3,
h4,
h5,
h6,
.nav>li>a,
.button,
.page-title,
.normal-font,
.alt-font {
    font-family: "SVN-Gilroy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Example: Custom body styles */
/* 
body {
    font-family: 'Your Custom Font', sans-serif;
}
*/

/* Example: Custom button styles */
/*
.custom-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-button:hover {
    background-color: #005a87;
}
*/

/* Add your custom CSS below */

/* ==========================================================================
   Custom Gradient Header with Accent Line
   ========================================================================== */

.header-gradient-line {
    position: relative;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    /* Extra Bold */
    font-size: 42px;
    /* Large prominent size */
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 18px;
    /* Room for the accent underline */
    line-height: 1.3;

    /* Elegant Purple to Dark Blue gradient text */
    background: linear-gradient(90deg, #7f3f98 0%, #201c3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* Fallback for browsers supporting clip but not fill-color */
}

/* Accent teal line underneath the title */
.header-gradient-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    /* Line length */
    height: 3px;
    /* Line thickness */
    background: #10a396 !important;
    /* Premium Teal color matching the design image */
    border-radius: 99px;

    /* Reset webkit attributes to guarantee visibility across Chrome/Safari mobile */
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    background-clip: border-box !important;

    /* Micro-animation transition on hover */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Micro-interaction on title hover */
.header-gradient-line:hover::after {
    width: 130px;
}

/* Accent header style: Teal first word(s) + White rest + Underline */
.header-teal-white-line {
    position: relative;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    /* Extra Bold */
    font-size: 42px;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 18px;
    line-height: 1.3;
    color: #ffffff;
    /* Default rest is white */
}

/* First word(s) in span colored Teal */
.header-teal-white-line span {
    color: #46c0bd;
    /* Teal color matching city tag background */
}

/* White accent line underline */
.header-teal-white-line::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: #ffffff !important;
    /* Thin white underline */
    border-radius: 99px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover micro-interaction */
.header-teal-white-line:hover::after {
    width: 130px;
}

/* Custom Register Button on Homepage (Flatsome override) */
.btn-custom-home {
    background-color: #ffffff !important;
    /* White background */
    color: #3b2361 !important;
    /* Dark Purple text color */
    border-radius: 99px !important;
    /* Rounded pill shape */
    border: none !important;
    /* Remove borders */
    padding: 10px 15px 10px 30px !important;
    /* Spacing text & after icon */
    font-family: 'SVN-Gilroy', sans-serif !important;
    font-weight: 800 !important;
    /* Extra Bold */
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: auto !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
}

.btn-custom-home span {
    color: #3b2361 !important;
    /* Dark purple */
    font-weight: 800 !important;
}

/* Accent circular arrow icon using FontAwesome */
.btn-custom-home::after {
    content: "\f061" !important;
    /* FontAwesome arrow-right code */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #46c0bd !important;
    /* Teal circular background */
    color: #ffffff !important;
    /* White arrow */
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    margin-left: 15px !important;
    font-size: 14px !important;
    transform: rotate(-45deg) !important;
    /* Rotate to point top-right */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
}

/* Hover effects */
.btn-custom-home:hover {
    background-color: #fcfcfc !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

.btn-custom-home:hover::after {
    background-color: #319e93 !important;
    /* Darker teal on hover */
    transform: rotate(-45deg) scale(1.08) !important;
}

/* ==========================================================================
   Event Information Box Style (Banner Custom)
   ========================================================================== */
.event-info-box {
    color: #ffffff;
    font-family: 'SVN-Gilroy', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

.event-subtitle {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.95;
    text-align: left;
}

.event-title {
    font-size: 38px;
    font-weight: 800;
    /* Extra Bold */
    text-transform: uppercase;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff !important;
    text-align: left;
}

.event-title .highlight {
    color: #46c0bd !important;
    /* Teal green */
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.event-detail-item {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    font-size: 15px;
    font-weight: 600;
    /* SemiBold */
    line-height: 1.5;
}

.event-detail-item i {
    color: #46c0bd;
    /* Teal icon */
    font-size: 22px;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.event-detail-item span {
    color: #ffffff;
    text-align: left;
}

.event-detail-item a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.event-detail-item a:hover {
    color: #46c0bd !important;
}

.event-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 50px;
    /* Space between phone and email */
    margin-top: 5px;
    margin-bottom: 20px;
}

/* Premium Purple Gradient Button */
.btn-purple-gradient {
    background: linear-gradient(90deg, #1b092c 0%, #682c75 100%) !important;
    color: #ffffff !important;
    font-family: 'SVN-Gilroy', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(27, 9, 44, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
}

.btn-purple-gradient span {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Hover effects */
.btn-purple-gradient:hover {
    background: linear-gradient(90deg, #270e3f 0%, #7d358c 100%) !important;
    /* Sáng hơn nhẹ khi hover */
    box-shadow: 0 6px 20px rgba(104, 44, 117, 0.4) !important;
}

/* ==========================================================================
   Floating Contact Bar Style (Zalo, Messenger, Phone)
   ========================================================================== */
.floating-contact-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 99999;
    pointer-events: auto;
}

.floating-contact-bar .float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.floating-contact-bar .float-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Hover effects */
.floating-contact-bar .float-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Premium Pricing Table Design & Responsive Mobile Cards
   ========================================================================== */
.custom-pricing-table-wrapper {
    width: 100% !important;
    font-family: 'SVN-Gilroy', sans-serif !important;
    box-sizing: border-box !important;
}

.premium-pricing-table {
    width: 100% !important;
    border-collapse: collapse !important;
    /* Cho phép bo tròn các góc bảng */
    border-spacing: 0 !important;
    background: rgba(30, 21, 51, 0.7) !important;
    /* Tím mờ tối cao cấp */
    border: 1px solid #ffffff !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    backdrop-filter: blur(10px) !important;
}

.premium-pricing-table th,
.premium-pricing-table td {
    padding: 22px 28px !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    font-family: 'SVN-Gilroy', sans-serif !important;
    box-sizing: border-box !important;
}

.premium-pricing-table th:last-child,
.premium-pricing-table td:last-child {
    border-right: 1px solid #ffffff !important;
}

.premium-pricing-table tbody tr:last-child td {
    border-bottom: 1px solid #ffffff !important;
}

.premium-pricing-table thead tr {
    background-color: #31184a !important;
    /* Header tím đậm */
}

.premium-pricing-table th {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
}

.premium-pricing-table th.col-item-title {
    text-align: left !important;
    font-size: 16px !important;
    color: #bfa6ff !important;
    /* Tím ánh sáng */
}

.premium-pricing-table th .pricing-header-main {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.premium-pricing-table th .pricing-header-sub {
    font-size: 11px !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
    margin-top: 4px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
}

/* Nổi bật cột Early Bird */
.premium-pricing-table th.col-early-bird {
    background-color: rgba(70, 192, 189, 0.12) !important;
}

.premium-pricing-table td.highlighted-cell {
    background-color: rgba(70, 192, 189, 0.04) !important;
}

.premium-pricing-table th.col-early-bird .badge-pop {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #46c0bd !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(70, 192, 189, 0.4) !important;
}

.premium-pricing-table td.col-item-title {
    text-align: left !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    width: 35% !important;
}

.premium-pricing-table .price-value {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.premium-pricing-table .price-value.teal-highlight,
.premium-pricing-table td.highlighted-cell .price-value {
    color: #46c0bd !important;
    /* Xanh ngọc */
}

.premium-pricing-table .price-value .currency {
    font-size: 13px !important;
    font-weight: 600 !important;
    opacity: 0.8 !important;
    margin-left: 3px !important;
}

.premium-pricing-table .price-desc {
    font-size: 11px !important;
    font-style: italic !important;
    opacity: 0.7 !important;
    margin-top: 5px !important;
}

.premium-pricing-table tr.row-colspan td.col-price-colspan {
    background-color: rgba(255, 255, 255, 0.01) !important;
}

.premium-pricing-table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.06) !important;
}

/* Lưu ý dạng hộp mờ tinh xảo */
.custom-pricing-note {
    border-radius: 16px !important;
    margin-top: 35px !important;
    text-align: left !important;
    backdrop-filter: blur(10px) !important;
}

.custom-pricing-note .note-title {
    color: #46c0bd !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.custom-pricing-note .note-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.custom-pricing-note .note-list li {
    position: relative !important;
    padding-left: 24px !important;
    font-size: 15.5px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
}

/* Biểu tượng dấu check xanh ngọc */
.custom-pricing-note .note-list li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #46c0bd !important;
    font-weight: 900 !important;
    font-size: 15px !important;
}

.custom-pricing-note .note-list li .hotline-text {
    color: #46c0bd !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Responsive styles for mobile (Mobile First & Adaptive approach) */
@media (max-width: 768px) {
    .header-gradient-line {
        font-size: 42px;
        padding-bottom: 12px;
        margin-bottom: 2rem;
    }

    .header-gradient-line::after {
        width: 70px;
        height: 2.5px;
    }

    .header-gradient-line:hover::after {
        width: 100px;
    }

    .bg-city p {
        width: 50%;
    }

    .header-teal-white-line {
        font-size: 32px;
        /* Smaller font on mobile devices */
        padding-bottom: 12px;
        margin-bottom: 2rem;
    }

    .header-teal-white-line::after {
        width: 70px;
        height: 2px;
    }

    .header-teal-white-line:hover::after {
        width: 100px;
    }

    /* Responsive mobile spacing for Custom Register Button */
    .btn-custom-home {
        font-size: 14px !important;
        padding: 8px 12px 8px 20px !important;
    }

    .btn-custom-home::after {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
        margin-left: 10px !important;
    }

    /* Responsive mobile spacing for Event Information Box */
    .event-info-box {
        padding: 15px 10px;
        /* Thu nhỏ padding tương ứng với nền phẳng */
        border-radius: 0;
    }

    .event-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .event-title {
        font-size: 24px;
    }

    .event-detail-item {
        font-size: 14px;
        align-items: center;
    }

    .event-detail-item i {
        font-size: 18px;
        margin-top: 4px;
    }

    .event-contact-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Responsive custom purple gradient button */
    .btn-purple-gradient {
        font-size: 15px !important;
        padding: 12px 35px !important;
        border-radius: 10px !important;
    }

    /* Responsive floating contact bar */
    .floating-contact-bar {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-contact-bar .float-icon {
        width: 42px;
        height: 42px;
    }

    /* Responsive pricing table -> Bảng ngang tối giản */
    .premium-pricing-table {
        display: table !important;
        background: rgba(30, 21, 51, 0.8) !important;
        border: 1px solid #ffffff !important;
        width: 100% !important;
    }

    .premium-pricing-table thead {
        display: table-header-group !important;
    }

    .premium-pricing-table tbody {
        display: table-row-group !important;
        width: 100% !important;
    }

    .premium-pricing-table tbody tr {
        display: table-row !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .premium-pricing-table th,
    .premium-pricing-table td {
        display: table-cell !important;
        padding: 12px 10px !important;
        font-size: 13px !important;
        border: 1px solid #ffffff !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    .premium-pricing-table th:last-child,
    .premium-pricing-table td:last-child {
        border-right: 1px solid #ffffff !important;
    }

    .premium-pricing-table tbody tr:last-child td {
        border-bottom: 1px solid #ffffff !important;
    }

    .premium-pricing-table th.col-item-title {
        font-size: 13px !important;
        padding-left: 10px !important;
        text-align: left !important;
    }

    .premium-pricing-table td.col-item-title {
        font-size: 13px !important;
        padding-left: 10px !important;
        text-align: left !important;
        background-color: transparent !important;
        width: 38% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-bottom: 0 !important;
        font-weight: 700 !important;
    }

    .premium-pricing-table td::before {
        display: none !important;
    }

    /* Huy hiệu ưu đãi nhỏ lại */
    .premium-pricing-table th.col-early-bird .badge-pop {
        top: -10px !important;
        font-size: 8px !important;
        padding: 2px 8px !important;
    }

    .premium-pricing-table th .pricing-header-main {
        font-size: 13px !important;
    }

    .premium-pricing-table th .pricing-header-sub {
        font-size: 9px !important;
        margin-top: 2px !important;
        line-height: 1.1 !important;
    }

    .premium-pricing-table .price-value {
        font-size: 13.5px !important;
        line-height: 1.2 !important;
    }

    /* Đưa VNĐ xuống hàng để tiết kiệm diện tích ngang */
    .premium-pricing-table .price-value .currency {
        font-size: 10px !important;
        display: block !important;
        margin-top: 2px !important;
        margin-left: 0 !important;
    }

    .premium-pricing-table .price-desc {
        font-size: 10px !important;
        margin-top: 3px !important;
    }

    /* Tối ưu hóa Lưu ý trên mobile */
    .custom-pricing-note {
        margin-top: 20px !important;
    }

    .custom-pricing-note .note-title {
        font-size: 16px !important;
    }

    .custom-pricing-note .note-list li {
        font-size: 14px !important;
        padding-left: 20px !important;
    }
}

.border-radius-map iframe {
    border-radius: 20px;
}

/* ==========================================================================
   Diagonal Cell SVG Configuration (Table Header)
   ========================================================================== */
.diagonal-cell {
    position: relative;
    padding: 0 !important;
    width: 130px;
    height: 65px;
    vertical-align: top;
}

.diagonal-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.diagonal-cell .label {
    position: absolute;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
}

.diagonal-cell .top-right {
    top: 8px;
    right: 10px;
}

.diagonal-cell .bottom-left {
    bottom: 8px;
    left: 10px;
}

/* Mobile Overrides (Phải đặt SAU Desktop Base để font-size: 11px !important có hiệu lực) */
@media (max-width: 768px) {
    .diagonal-cell {
        width: 105px !important;
        height: 52px !important;
    }

    .diagonal-cell .label {
        font-size: 11px !important;
        letter-spacing: 0 !important;
    }

    .diagonal-cell .top-right {
        top: 4px !important;
        right: 6px !important;
    }

    .diagonal-cell .bottom-left {
        bottom: 4px !important;
        left: 6px !important;
    }
}