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

@import url('assets/css/index.css');

/*************** ADD CUSTOM CSS HERE.   ***************/
/* 1. Ép toàn bộ thẻ, bao gồm cả menu Flatsome và text thường về Lato */
html, body, 
h1, h2, h3, h4, h5, h6, 
p, span, a, li, input, button, select, textarea,
.nav, .nav > li > a, .nav-dropdown, .nav-dropdown a,
.header-nav a,
font {
    font-family: 'Lato', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* 2. Triệt tiêu thẻ font do GTranslate/Google Translate tự chèn */
font[style], 
font[face] {
    font-family: 'Lato', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

/* 3. Khử lỗi rendering nét chữ */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


.txt-title h2 {
    font-size: 5em;
}

/* Button Styles */
.btn-bg,
.btn-no-bg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 28px !important;
    line-height: 1.2 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: 0.01em !important;
}

.btn-bg span,
.btn-no-bg span {
    color: inherit !important;
    text-transform: none !important;
}

/* Arrow Icon */
.btn-bg::after,
.btn-no-bg::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-bg:hover::after,
.btn-no-bg:hover::after {
    transform: translateX(5px);
}

/* Button 1: White background with blue text */
.btn-bg {
    background-color: #ffffff !important;
    color: #4f75e2 !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.btn-bg:hover {
    background-color: #f8faff !important;
    color: #3b5bdb !important;
    border-color: #f8faff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Button 2: Outline transparent with white border & text */
.btn-no-bg {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid #ffffff !important;
}

.btn-no-bg:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.col-di {
    padding-left: 0px;
    padding-right: 0px;
}

.col-di .divider {
    margin-top: 0px;
}



.btn-arrow span::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'%3E%3C/line%3E%3Cpolyline points='13 5 20 12 13 19'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-arrow span::after {
    flex-shrink: 0;
}

.button {
    border-radius: 5px !important;
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .btn-bg,
    .btn-no-bg {
        font-size: 14px !important;
    }

    .sec-banner-bottom-page h2 {
        font-size: 30px;
    }
}

.mw-50 {
	max-width: 65%;
}

.text-box-content .mw-50 {
	margin-left: 0px;
}

@media (max-width: 767px) {
  	.mw-50 {
		max-width: 100%;
	}
}