/* Start custom CSS for html, class: .elementor-element-2c9d636 *//* ASpace Custom Stylesheet 
   Bản phục hồi nguyên trạng - Chỉ tối ưu độ mượt của cuộn
*/

/* --- 1. CORE STRUCTURE --- */
:root {
    --asp-blue: #14375F;
    --asp-red: #E21818;
    --asp-white: #ffffff;
    --asp-blue-soft: #eef4f9;
}

body.page-template-landing-aspace { 
    height: 100vh; 
    overflow: hidden;
    background: var(--asp-blue); 
    margin: 0;
}

.asp-scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    /* Giúp cuộn trên mobile mượt hơn */
    -webkit-overflow-scrolling: touch;
}

.asp-scroll-container::-webkit-scrollbar { 
    display: none; 
}

.asp-section {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    /* CẢI TIẾN: Bắt buộc dừng lại ở mỗi section, không cho trượt lướt đi quá nhanh */
    scroll-snap-stop: always; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4vw;
    background: var(--asp-blue);
}

.asp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    z-index: 1;
}

/*.asp-s1::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.85));
}*/

.asp-new-intro,
.asp-new-exp,
.asp-new-diff,
.asp-gallery-section,
.asp-s6 {
    background: var(--asp-white);
}

.asp-new-top,
.asp-s4,
.asp-posts-section {
    background: var(--asp-blue);
}

/* --- 2. TYPOGRAPHY & ANIMATIONS --- */

.asp-content { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    max-width: 1200px; 
    color: var(--asp-white); 
}

.asp-new-intro .asp-content,
.asp-new-exp .asp-content,
.asp-new-diff .asp-content,
.asp-gallery-section .asp-content,
.asp-s6 .asp-content {
    color: var(--asp-blue);
}

.asp-content-wide {
    max-width: 1440px;
}

.asp-text-center { 
    text-align: center; 
}

.asp-main-title {
    font-size: clamp(45px, 6.5vw, 70px);
    font-weight: 1000;
    margin-bottom: 20px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--asp-white);
    font-family: Roboto;
    opacity: 0;
    transform: translateY(40px);
    /* Giữ nguyên cubic-bezier gốc của bạn nhưng tăng thời gian nhẹ để mượt hơn */
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.asp-active .asp-main-title {
    opacity: 1;
    transform: translateY(0);
}

.asp-main-title span,
.asp-title-red {
    color: var(--asp-red);
}

.asp-sub-title {
    font-size: clamp(18px, 1.8vw, 24px);
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    font-weight: 500;
}

.asp-active .asp-sub-title { 
    opacity: 1; 
    transform: translateY(0); 
}

.asp-exp-desc {
    color: rgba(255,255,255,0.88);
}

.asp-new-intro .asp-exp-desc,
.asp-new-exp .asp-exp-desc,
.asp-new-diff .asp-exp-desc,
.asp-gallery-section .asp-exp-desc,
.asp-s6 .asp-exp-desc {
    color: rgba(20, 55, 95, 0.82);
}

/* --- 3. BACKGROUND WRAPPERS --- */

.asp-bg-wrapper { 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
    /* CẢI TIẾN: Tăng thời gian transition lên 3.5s để hiệu ứng zoom nền cực kỳ mượt */
    transition: transform 3.5s cubic-bezier(0.16, 1, 0.3, 1); 
}

.asp-active .asp-bg-wrapper { 
    transform: scale(1.1); 
}

.asp-bg-img { 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    overflow: hidden;
}

.asp-img-fit { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center;
    display: block;
}

.asp-banner-mobile {
    display: none;
}

.asp-banner-desktop {
    object-position: center center;
}

.asp-s1 .asp-bg-wrapper,
.asp-s1 .asp-bg-img,
.asp-s1 .asp-img-fit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.asp-s1 .asp-img-fit {
    object-fit: cover;
}

.asp-s1 .asp-banner-desktop {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: auto;
    height: 100%;
    min-width: 100%;
    max-width: none;
    transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
    .asp-s1 .asp-banner-desktop {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}

.asp-hide-text{
	display:none;
}

body.page-template-landing-aspace #site-logo,
body.page-template-landing-aspace #site-logo-inner,
body.page-template-landing-aspace #hide-bt,
body.page-template-landing-aspace .custom-logo-link,
body.page-template-landing-aspace .custom-logo,
body.page-template-landing-aspace .custom-breadcrumb,
body.home #site-logo,
body.home #site-logo-inner,
body.home #hide-bt,
body.home .custom-logo-link,
body.home .custom-logo,
body.home .custom-breadcrumb {
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

body.page-template-landing-aspace.asp-theme-logo-hidden #site-logo,
body.page-template-landing-aspace.asp-theme-logo-hidden #site-logo-inner,
body.page-template-landing-aspace.asp-theme-logo-hidden #hide-bt,
body.page-template-landing-aspace.asp-theme-logo-hidden .custom-logo-link,
body.page-template-landing-aspace.asp-theme-logo-hidden .custom-logo,
body.page-template-landing-aspace.asp-theme-logo-hidden .custom-breadcrumb,
body.home.asp-theme-logo-hidden #site-logo,
body.home.asp-theme-logo-hidden #site-logo-inner,
body.home.asp-theme-logo-hidden #hide-bt,
body.home.asp-theme-logo-hidden .custom-logo-link,
body.home.asp-theme-logo-hidden .custom-logo,
body.home.asp-theme-logo-hidden .custom-breadcrumb {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px);
}

body.page-template-landing-aspace .custom-breadcrumb,
body.home .custom-breadcrumb {
    display: none !important;
}


/* --- 4. SECTION GIỚI THIỆU --- */

.asp-flex-box { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    text-align: left; 
}

.asp-col-left { 
    flex: 1; 
    opacity: 0; 
    transform: translateX(-50px); 
    transition: 1s ease 0.4s; 
}

.asp-col-right { 
    flex: 1.2; 
    opacity: 0; 
    transform: translateX(50px); 
    transition: 1s ease 0.4s; 
    font-size: 18px; 
    line-height: 1.6; 
}

.asp-active .asp-col-left, 
.asp-active .asp-col-right { 
    opacity: 1; 
    transform: translateX(0); 
}

.asp-col-left img { 
    width: 100%; 
    border-radius: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
}

/* --- 5. GRID & BOX GLASS --- */

.asp-grid-3 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    margin-top: 30px; 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 1s ease 0.5s; 
}

.asp-active .asp-grid-3 { 
    opacity: 1; 
    transform: translateY(0); 
}

.asp-box-glass {
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px; 
    border-radius: 28px; 
    color: var(--asp-white); 
    font-weight: 700; 
    font-size: 25px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    text-decoration: none;
}

.asp-box-glass:hover { 
    transform: translateY(-15px) scale(1.05); 
    background: rgba(226, 24, 24, 0.2); 
    border-color: var(--asp-red); 
}

/* --- 6. KHÁC BIỆT THỰC HÀNH --- */

.asp-diff-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin-top: 40px; 
}

.asp-diff-item {
    background: var(--asp-blue-soft); 
    padding: 30px; 
    border-radius: 20px;
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
    text-align: left;
    transition: 0.4s; 
    border: 1px solid rgba(20, 55, 95, 0.12);
}

.asp-diff-item span { 
    font-size: 45px; 
    font-weight: 800; 
    color: var(--asp-red); 
    line-height: 1; 
}

.asp-diff-item p { 
    margin: 0; 
    font-size: 16px; 
    color: rgba(20, 55, 95, 0.9); 
}

.asp-diff-item:hover { 
    background: var(--asp-white); 
    border-color: rgba(226, 24, 24, 0.35); 
    transform: scale(1.02); 
}

/* --- 7. ACTION BOX & DROPDOWNS --- */

.asp-action-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    bottom: 45px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(35px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: 1s ease 0.7s;
}

.asp-active .asp-action-box { 
    opacity: 1; 
    transform: translateX(-50%) translateY(0); 
}

/* DROPDOWN */

.asp-dropdown { 
    position: relative; 
    min-width: 220px; 
    text-align: left; 
}

.asp-drop-selected { 
    height: 45px; 
    background: rgba(255, 255, 255, 0.08); 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    padding: 0 40px 0 20px; 
    color: var(--asp-white); 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer; 
}

.asp-drop-selected::after { 
    content: '▼'; 
    position: absolute; 
    right: 18px; 
    color: var(--asp-red); 
    font-size: 10px; 
}

.asp-drop-options { 
    position: absolute; 
    bottom: calc(100% + 12px); 
    left: 0; 
    width: 150%; 
    background: rgba(25, 25, 25, 0.95); 
    backdrop-filter: blur(20px); 
    border-radius: 20px; 
    padding: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px) scale(0.95); 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    z-index: 100; 
}

.asp-dropdown.is-open .asp-drop-options { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0) scale(1); 
}

.asp-option { 
    padding: 12px 16px; 
    border-radius: 12px; 
    color: var(--asp-white); 
    font-size: 14px; 
    transition: 0.2s; 
    cursor: pointer;
}

.asp-option:hover { 
    background: rgba(255, 255, 255, 0.1); 
}

/* TITLE OPTION */

.asp-title{
    font-weight:700;
    color:var(--asp-red);
    cursor:default !important;
    pointer-events:none;
    background:transparent !important;
    opacity:.9;
}

.asp-title:hover{
    background:transparent !important;
}

/* BUTTON */

.asp-btn-red { 
    background: var(--asp-red); 
    color: var(--asp-white); 
    height: 45px; 
    border-radius: 16px; 
    padding: 0 35px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    font-weight: 800; 
    text-transform: uppercase; 
    white-space: nowrap; 
    transition: 0.3s; 
}

.asp-btn-red:hover{
    transform:translateY(-2px);
}

/* --- 8. SECTION 6 NGHỀ --- */

.asp-grid-6 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: clamp(14px, 1.2vw, 24px); 
    margin-top: clamp(18px, 2vw, 50px); 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 1s ease 0.6s; 
}

.asp-active .asp-grid-6 { 
    opacity: 1; 
    transform: translateY(0); 
}

.asp-card { 
    position: relative; 
    height: clamp(180px, 24vh, 300px); 
    background: #111; 
    border-radius: 28px; 
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.08); 
    transition: 0.5s; 
    text-decoration: none; 
}

.asp-card-img { 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
}

.asp-card-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.8s; 
}

.asp-card:hover img { 
    transform: scale(1.1); 
}

.asp-card-info { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    padding: clamp(15px, 1.5vw, 30px) clamp(15px, 1.5vw, 25px); 
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); 
    z-index: 2; 
    text-align: left;
}

.asp-card h3 { 
    color: var(--asp-white); 
    font-size: clamp(16px, 1.5vw, 22px); 
    margin-bottom: 5px; 
    font-weight: 700; 
}

.asp-card span { 
    color: var(--asp-red); 
    font-size: 13px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* --- 9. FORM BOX --- */

.asp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(115px, 17vh, 185px);
    gap: clamp(10px, 1vw, 18px);
    margin-top: clamp(20px, 2vw, 34px);
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease 0.5s;
}

.asp-active .asp-gallery-grid {
    opacity: 1;
    transform: translateY(0);
}

.asp-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--asp-blue-soft);
    border: 1px solid rgba(20, 55, 95, 0.12);
    box-shadow: 0 18px 38px rgba(20, 55, 95, 0.12);
}

.asp-gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.asp-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.asp-gallery-item:hover img {
    transform: scale(1.08);
}

.asp-posts-shortcode {
    margin-top: clamp(20px, 2vw, 34px);
    padding: clamp(18px, 2vw, 32px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: clamp(340px, 50vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.asp-posts-shortcode > * {
    width: 100%;
}

.asp-posts-shortcode .oceanwp-row,
.asp-posts-shortcode .slick-list,
.asp-posts-shortcode .slick-track {
    min-height: inherit;
}

.asp-register-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
}

.asp-form-box { 
    background: var(--asp-blue-soft); 
    padding: clamp(30px, 3vw, 50px); 
    border-radius: 35px; 
    max-width: 550px; 
    width: 100%; 
    backdrop-filter: blur(40px); 
    margin: 0; 
    border: 1px solid rgba(20, 55, 95, 0.12); 
}

.asp-form-box h2 {
    margin: 0 0 20px;
    color: var(--asp-blue);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
}

.asp-video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #0b1f36;
    border: 1px solid rgba(20, 55, 95, 0.12);
    box-shadow: 0 24px 60px rgba(20, 55, 95, 0.18);
}

.asp-video-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- 10. RESPONSIVE --- */

@media (max-width: 1024px) {
    .asp-grid-6 { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .asp-main-title { 
        font-size: 60px; 
    }
}

@media (max-width: 768px) {
    body.page-template-landing-aspace {
        height: auto;
        overflow: auto;
    }

    .asp-banner-desktop {
        display: none;
    }

    .asp-banner-mobile {
        display: block;
        object-position: center top;
    }
    
    .asp-section {
        height: auto !important;
        min-height: 100vh;
        padding: 60px 15px !important;
    }

    .asp-s1 {
        height: 100vh !important;
        padding: 0 15px !important;
    }

    .asp-flex-box { 
        flex-direction: column; 
        text-align: center; 
    }

    .asp-grid-3,
    .asp-grid-6,
    .asp-diff-grid,
    .asp-gallery-grid,
    .asp-register-grid { 
        grid-template-columns: 1fr !important; 
    }

    .asp-gallery-grid {
        grid-auto-rows: 190px;
    }

    .asp-gallery-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .asp-form-box {
        margin: 0 auto;
        max-width: none;
    }
    
    .asp-action-box {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 20px 20px 0 0;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 9999;
        opacity: 1 !important;
    }

    .asp-action-box.asp-action-hidden {
        opacity: 0 !important;
        pointer-events: none;
        transform: translateY(110%) !important;
    }

    .asp-dropdown {
        min-width: unset !important;
        width: 100% !important;
    }

    .asp-drop-selected {
        height: 45px;
        font-size: 12px;
        padding: 0 25px 0 10px;
        border-radius: 12px;
    }

    .asp-btn-red {
        grid-column: span 2;
        height: 45px;
        border-radius: 12px;
        justify-content: center;
        font-size: 14px;
    }

    .asp-drop-options {
        position: absolute !important;
        bottom: calc(100% + 10px) !important; 
        top: auto !important;
        width: 180%;
        left: 0;
        max-height: 300px;
        overflow-y: auto;
    }
    
    .asp-dropdown:nth-child(2) .asp-drop-options {
        left: auto;
        right: 0;
    }

    .asp-main-title {
        font-size: 32px !important;
        margin-bottom: 10px;
    }
}

/* --- 11. MODERN CARD STYLES --- */

.asp-card-modern {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.asp-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.asp-card-bg {
    width: 100%;
    height: 100%;
}

.asp-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.asp-card-modern:hover .asp-card-bg img {
    transform: scale(1.15);
}

.asp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 30px;
}

.asp-card-text {
    color: var(--asp-white);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* --- 12. GLASS BOX WITH IMAGE --- */

.asp-box-glass.has-img {
    position: relative;
    padding: 0;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.asp-box-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.asp-box-glass.has-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: 0.3s;
}

.asp-box-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.asp-box-glass.has-img:hover .asp-box-bg {
    transform: scale(1.1);
}

.asp-box-glass.has-img:hover::after {
    background: rgba(226, 24, 24, 0.4);
}

.asp-new-intro .asp-main-title,
.asp-new-exp .asp-main-title,
.asp-new-diff .asp-main-title,
.asp-gallery-section .asp-main-title {
    color: var(--asp-blue);
}/* End custom CSS */