/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Background cho body */
html, body {
    background-image: url('/wp-content/uploads/2025/05/bg.png') !important;
    background-repeat: repeat !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-color: transparent !important;
    background-size: 100% 100%;
    background-color: #13141a;
    font-size: 14px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

#wrapper, #main {
    background-color: transparent !important;
}

.text-intro .col {
    padding-bottom: 0;
}

/* Khai báo font custom */
@font-face {
    font-family: 'UTM';
    src: url('fonts/UTM.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM';
    src: url('fonts/UTMBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.page-wrapper {
    padding: 0;
}

.middle-btn .col-inner>.img:not(:last-child) {
    margin-bottom: 5px;
}

.text-intro {
    color: silver;
}

h1 {
    color: #fff60d;
}

h2 {
    color: #fff;
}

h3 {
    color: #fff;
}

h4 {
    color: #fff;
}

h5 {
    color: #fff;
}

h6 {
    color: #fff;
}

a {
    color: #f89e22;
}

a:hover {
    color: #f89e22;
}

/* Hidden content styles */
.hidden-content {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

/* Sticky block bên trái */
.left-sticky-block {
    position: fixed;
    left: 3%;
    top: 35%;
    transform: translateY(-50%);
    z-index: 999;
    width: auto;
    max-width: 22%;
}

/* Sticky block bên phải */
.right-sticky-block {
    position: fixed;
    right: 1%;
    top: 35%;
    transform: translateY(-50%);
    z-index: 999;
    width: auto;
    max-width: 22%;
}

.right-sticky-block img {
    margin: .7rem 0;
}

/* Sticky block bên trái */
.left-sticky-mb-block {
    position: absolute;
    left: 20px;
    top: 80px;
    transform: translateY(-50%);
    z-index: 999;
    width: auto;
    max-width: 15%;
    display: none;
}

.right-sticky-mb-block {
    position: absolute;
    right: 20px;
    top: 80px;
    transform: translateY(-50%);
    z-index: 999;
    width: auto;
    max-width: 17.424%;
    display: none;
}

.home-section .section-content {
    max-width: 62%;
    margin: 0 auto;
    padding: 0 15px;
}


/* Footer mobile block */
.footer-mobile-block {
    display: none;
}

.btn-img .img-inner:hover {
    -webkit-filter: drop-shadow(2px 2px 8px #f6ce75) brightness(1.3) !important;
    filter: drop-shadow(2px 2px 8px #f6ce75) brightness(1.3) !important;
}

/* Responsive cho mobile */
@media only screen and (max-width: 48em) {
    .left-sticky-block {
        display: none; /* Ẩn trên mobile */
    }

    .right-sticky-block {
        display: none; /* Ẩn trên mobile */
    }

    .home-section .section-content {
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .left-sticky-mb-block {
        display: block;
        top: 80px !important;
    }

    .right-sticky-mb-block {
        display: block;
        top: 60px !important;
    }

    .footer-mobile-block {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 99;
        background: transparent;
        height: auto;
        padding-bottom: env(safe-area-inset-bottom);
        pointer-events: none;
    }

    #wrapper {
        padding-bottom: 120px; /* Additional wrapper padding */
    }
    
    .footer-mobile-block > * {
        pointer-events: auto; /* Re-enable clicks on footer content */
    }

    
    .home-section {
        padding-bottom: 120px !important; /* Increased space for mobile footer */
    }
}


/* Responsive cho tablet */
@media only screen and (max-width: 1024px) {
    .left-sticky-block,
    .right-sticky-block {
        display: none; /* Ẩn trên tablet */
    }

    .left-sticky-mb-block {
        display: block;
        top: 180px;
    }

    .right-sticky-mb-block {
        display: block;
        top: 120px;
    }
}