/*
Theme Name: Flatsome Child
Description: AZWebsite.vn developed for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.12.2
*/

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

/* ===== Tokens ===== */
:root {
	--primary: #ce2825;
	--primary-dark: #a51613;
	--secondary: #D4AF37;
	--base: #FFFFFF;

	--text-dark: #18181B;
	--text-body: #52525B;
	--text-muted: #8A8A93;

	--bg-soft: #FAFAF9;
	--border: #ECECEC;

	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;

	--shadow-card: 0 2px 14px rgba(20, 20, 30, 0.05);
	--shadow-hover: 0 12px 28px rgba(229, 57, 53, 0.12);

	--container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--text-body);
	background: var(--base);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 48px 0; }
.bg-soft { background: var(--bg-soft); }

.text-primary { color: var(--primary); }
.text-secondary {color: var(--secondary);}
.text-center { text-align: center; }
.section_title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--primary);
	margin: 0 0 15px;
}
.section_title .underline {
	position: relative;
}
.section_title .underline::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -8px;
	height: 3px;
	background: var(--secondary);
	border-radius: 2px;
}
.is-divider{display: none !important;}

/* ===== Buttons ===== */
.btn ,.button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.01em;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
	min-height: auto !important;
}
.btn:hover ,.button:hover{ transform: translateY(-2px); }
.btn span { transition: transform .25s ease; }
.btn:hover span { transform: translateX(3px); }
.btn-primary {
	background: var(--primary);
	color: #fff;
	box-shadow: var(--shadow-hover);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff;}
.btn-secondary {
	background: #fff;
	color: var(--secondary);
	box-shadow: var(--shadow-hover);
}
.btn-secondary:hover { background: var(--secondary); color: #fff;}


.btn-outline {
	background: transparent;
	color: var(--text-dark);
	border-color: #E2E2E2;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-gold {
	background: var(--secondary);
	color: #fff;
}
.btn-gold:hover { background: #bd9530; color: #fff;}

.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; justify-content: center; }


/* ===== Header ===== */
.header-main {
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow .3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.header-main .header-button-1 .header-button > a.button {
	background: var(--primary) !important;
	color: #fff;
	box-shadow: var(--shadow-hover);
	border: 0 !important;
}

.header-main .header-button-1 .header-button > a.button:hover {
	background: var(--primary-dark) !important;
}
.header:not(.transparent) .header-nav-main.nav > li > a {
	font-size: 20px;
	padding: 0 7px;
}

/* ===== CTA banner ===== */
.cta-section { padding: 0 0 40px; }
.cta-banner > .col-inner {
    background: linear-gradient(90deg, var(--primary) 0%, #870704 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    overflow: hidden;
    padding: 30px !important;
}
.cta-btn-col { display: flex; align-items: center; }

.cta-content h3 {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 8px;
	color: #fff;
}
.cta-content p {
	font-size: 13.5px;
	margin: 0;
	opacity: 0.9;
	max-width: 360px;
}
.cta-contacts .col-inner {
	display: flex;
	flex-direction: row;
	gap: 15px;
	align-items: center;
	justify-content: flex-end;
	padding-right: 15px;
}
.cta-contact-item a{
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	padding: 15px 25px;
	border-radius: 10px;
	font-size: 14px;
	color: var(--primary);
	text-align: left;
}
.cta-agent {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 10% !important;
}
.cta-contact-item strong { display: block; font-size: 16px; }
.cta-icon { width: 30px; height: 25px; flex-shrink: 0; }
.cta-contact-item span{    color: var(--text-dark);}
/* ===== Footer ===== */
.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	padding: 52px 0 0;
}
.footer-brand p { font-size: 15px; margin: 14px 0 18px; max-width: 220px; }
.footer-col h4 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--secondary);
	margin: 0 0 14px;
}
.footer-col a {
	display: block;
	font-size: 16px;
	color: #333;
	margin-bottom: 9px;
	transition: color .2s;
	font-weight: 500;
}
.footer-col a:hover { color: var(--primary); }
.footer-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	margin: 0 0 14px;
	line-height: 1.5;
}
.footer-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
	width: 40px;
	height: 40px;
	background: #fff;
	border: 1px solid var(--primary) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	color: var(--primary);
}
.social-icons a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-form input, .footer-form select, .footer-form textarea {
	width: 100%;
	padding: 8px 12px;
	margin-bottom: 8px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 12.5px;
	background: #fff;
	resize: vertical;
	box-shadow: none !important;
	height: auto;
}
.footer-form input:focus, .footer-form select:focus, .footer-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.footer-form .wpcf7-not-valid-tip { font-size: 11px; margin: -4px 0 8px; }
.footer-form .wpcf7-response-output { font-size: 12px; margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; }
.footer-form .wpcf7-form-control.btn-primary {
	background: var(--primary);
}
.ph-map { aspect-ratio: 4/3; border-radius: var(--radius-sm); font-size: 12px; }
.ph-map span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ph-map-icon { width: 26px; height: 26px; }

.footer-map-embed { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.footer-map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; }
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12.5px;
	color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--primary); }

/* ===== Ảnh thật [ux_image] lấp đầy khung kích thước đã định (thay cho box .ph-img placeholder) ===== */
.hero-full-bg,
.cta-banner-photo-bg {
	overflow: hidden;
}
.hero .section-bg.fill::before {
	background: linear-gradient(to right, #ffffff, transparent);
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 30%;
	z-index: 1;
}
/* Flatsome [col span] chỉ hỗ trợ các phân số /12 (nửa, ba, tư, sáu, mười hai) — không
có 1/7, vì 12 không chia hết cho 7. span="1/7" sinh ra class "large-1/7" không tồn
tại trong CSS thật của Flatsome nên cột bị mất luôn ràng buộc chiều rộng, giãn to hết
cỡ. 3 chỗ dùng span="1/7" (quốc gia, process-step, process-step-v2) cần ép chiều rộng
thủ công đúng 850px trở lên (đúng breakpoint "large" của Flatsome) — tablet/mobile đã
dùng span__md="1/3"/span__sm="1/2" hợp lệ nên không cần sửa. */
@media screen and (min-width: 850px) {
	.col.process-step,
	.col.process-step-v2 {
		flex-basis: 14.2857142857%;
		max-width: 14.2857142857%;
	}
	.col.country-card{
		flex-basis: 25%;
        max-width: 25%;
	}
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.main-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 24px 16px;
		box-shadow: 0 12px 20px rgba(0,0,0,0.06);
	}
	.main-nav.open { display: flex; }
	.main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
	.main-nav a:last-child { border-bottom: none; }
	.mobile-toggle { display: flex; }
	.header-cta span:last-child { display: none; }

	.hero-content h1 { font-size: 36px; }
	.ph-hero { border-radius: var(--radius-lg); min-height: 320px; }

	.cta-banner.row { text-align: center; }
	.cta-agent { display: none; }
	.cta-banner .cta-contacts{padding-top: 20px !important;}
	.cta-content .col-inner {
		text-align: left;
	}

	/* ===== Mobile menu (off-canvas native của Flatsome: li.nav-icon mở #main-menu qua
	magnific popup — .mfp-bg là lớp phủ tối, .mfp-content là panel trắng chứa #main-menu) ===== */
	.mobile-nav.nav-left .nav-icon > a { 
		color: var(--primary);
		transition: color .2s ease;
		padding: 2px 4px;
		border: 2px solid var(--primary);
		border-radius: 5px;
	}
	.header-main .mobile-nav.nav-left .nav-icon > a i,
	.header-main .mobile-nav.nav-left .nav-icon > a:hover { color: var(--primary) !important; }
	.mobile-nav .icon-menu { font-size: 22px; }

	/* .mfp-content mặc định opacity 0.95 khiến nội dung phía sau bị "bóng ma" nhẹ qua panel */
	.mfp-content { background: #fff !important; }

	#main-menu.mobile-sidebar { padding-top: 12px; }
	#main-menu .nav-sidebar > li { border-top: 1px solid var(--primary); }
	#main-menu .nav-sidebar > li:last-child { border-bottom: 1px solid var(--primary); }
	#main-menu .nav-sidebar > li > a {
		color: var(--text-dark);
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.04em;
		transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
	}
	#main-menu .nav-sidebar > li > a:hover,
	#main-menu .nav-sidebar > li.current-menu-item > a,
	#main-menu .nav-sidebar > li.current-menu-parent > a {
		color: var(--primary);
		background: #ffeeed;
		padding-left: 28px;
	}

	.mfp-close {
		transition: color .2s ease, transform .2s ease;
	}
	.mfp-close:hover { color: var(--secondary); transform: rotate(90deg); }

}

@media (max-width: 600px) {
	.container { padding: 0 18px; }
	.section { padding: 64px 0; }
	.section_title { font-size: 26px; margin-bottom: 36px; }

	.header-inner { height: 66px; }
	.header-cta { padding: 10px 16px; }

	.hero { padding: 32px 0 56px; }
	.hero-content h1 { font-size: 30px; }
	.hero-badges { gap: 8px; }
	.badge { font-size: 12px; padding: 8px 14px; }
	.hero-cta { flex-direction: column; }
	.hero-cta .btn { width: 100%; justify-content: center; }

	.stat-item strong { font-size: 20px; }

	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.cta-contacts .col-inner{flex-wrap: wrap; justify-content: center;}
	.cta-contact-item{width: 100%; padding: 10px 15px;}
	.cta-contacts a.btn.btn-gold {
		width: 100%;
		justify-content: center;
	}

}
.absolute-footer{display: none !important;}


#realdev_main-cta {
    right: 10px;
    position: fixed;
    bottom: 0;
    z-index: 99999
}

#realdev_main-cta .realdev_btn {
    position: relative;
    margin-top: -5px
}

#realdev_main-cta .realdev_btn .realdev_phone-btn {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block
}

.realdev_phone-btn-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #2196f3;
    background-color: #2196f3;
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: realdev_phone-btn-circle-fill 2.3s infinite ease-in-out;
    animation: realdev_phone-btn-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
    opacity: .7
}

.realdev_phone-btn-img-circle {
    background-color: #2196f3;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: realdev_phone-btn-circle-fill 1s infinite ease-in-out
}

.realdev_phone-btn-img-circle a {
    display: block;
    line-height: 37px
}

.realdev_phone-btn-img-circle img {
    max-height: 30px;
    max-width: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%)
}

@-webkit-keyframes realdev_phone-btn-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

#realdev_zalo-btn .realdev_phone-btn-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33,150,243,.7)
}

#realdev_zalo-btn .realdev_phone-btn-img-circle {
    background-color: #2196F3
}

#realdev_main-btn #realdev_phone-btn {
    transition: 0.7s all;
    -moz-transition: 0.7s all;
    -webkit-transition: 0.7s all
}

#realdev_main-btn #realdev_zalo-btn {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all
}

#realdev_main-cta.active #realdev_main-btn .realdev_btn {
    margin-left: -100%
}

.realdev_phone-btn-img-circle img {
    max-height: 40px;
    max-width: 40px
}

.realdev_phone-btn-img-circle img {
    border-radius: 50%
}

@media (max-width: 767px) {
    #realdev_main-cta {
        right:auto;
        left: 0
    }
}

.st-daotao .section-lead {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
}
.st-airline .gallery-col .gallery-box{
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.st-daotao .value-card .col-inner ,
.airline-box > .col-inner{
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.box-list{
    display: flex;
    flex-wrap: wrap;
}
.st-daotao .check-list { 
    margin: 0 0 10px; 
    padding: 0; 
    list-style: none; 
    width: 50%;
}
.st-daotao .check-list li {
	position: relative;
	padding-left: 22px;
	font-size: 16px;
	color: var(--text-body);
	line-height: 1.3;
    font-weight: 500;
    text-align: left;
    margin-left: 0;
}
.st-daotao .check-list li::before {
	content: '✓';
	position: absolute;
	left: 0; top: 0;
	color: var(--secondary);
	font-weight: 800;
}
.st-airline .gallery-col .gallery-box .box-text {
    display: none;
}
@media (max-width: 767px) {
	.st-daotao .check-list { 
		width: 100%;
	}
	.hero-badges_badge{
		max-width: 48%;
		width: 48%;
	}
}



/* ===== Value grid item (Giá trị cốt lõi / Vì sao tin tưởng) ===== */
.value-card .col-inner{
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 20px;
	text-align: center;
	box-shadow: var(--shadow-card);
	transition: transform .25s ease, box-shadow .25s ease;
	height: 100%;
}
.value-card .col-inner:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card .icon-circle { margin: 0 auto 12px; width: 80px; height: 80px; }
.value-card .icon-circle svg { width: 40px; height: 40px; }
.value-card h4 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 0 0 8px; }
.value-card p { font-size: 17px; line-height: 1.45; color: var(--text-muted); margin: 0; }
