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

/*************** ADD CUSTOM CSS HERE.   ***************/
ul#header-contact span {
    text-transform: capitalize;
    font-weight: 500;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    border-color: rgb(181 31 35);
    border-radius: 20px;
    color: rgb(255 5 5) !important;
    height: 45px;
}
.searchform .button.icon i {
    color: #b51f23;
}
.container.section-title-container.title_qt h3 {
    font-size: 30px;
}
.container.section-title-container.title_qt b {
    color: transparent;
}


/******************QUY TRINH*******************************/
.icon-box.featured-box.box-count.icon-box-top.text-left {
    background: #b51f23;
    padding: 25px;
    border-radius: 4px;
}
span.count-up {
    color: #fff;
    font-size: 40px;
}
.vnpc_count p {
    color: #fff;
	font-size: 25px;
}
.container.section-title-container.title-count h1 {
    font-size: clamp(32px, 5vw, 40px);
	color: #0f2036;
}
.title-count .section-title b {
    color: transparent;
}
.vnpc-customer .col-inner {
    padding: 20px;
    border: 1px solid #b51f2342;
    border-radius: 10px;
    background: #fff;
}
.box-kh,
.box-kh h3{
    color: #b51f23;
}
.slide-kh .flickity-page-dots {
    bottom: 10px;
}
.slide-kh .icon-box-left{
	align-items: end;
}
.title-talk h2 {
    font-size: clamp(25px, 5vw, 35px);
	text-align: center;
    color: #0f2036;
	text-transform: capitalize !important;
}
.title-talk .section-title-normal span {
    text-transform: capitalize;
    font-weight: 500;
}
.container.section-title-container.title-talk {
    margin-bottom: 0;
}
.row-talk {
    display: flex;
    align-items: center;
}
.box.news h4 {
    text-align: center;
    font-size: clamp(25px, 5vw, 35px);
    color: #0f2036;
	margin-bottom: 20px;
}
.box-post h5.post-title.is-large a {
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-top: 10px;
}
.box-post .box-blog-post .is-divider{
	height: 0;
    margin-bottom: 0;
    margin-top: 0;
}

.box-post .cat-label {
    font-size: 9px;
    color: #fff;
    background: linear-gradient(90deg, #61c73f, #1f8538);
    padding: 5px 20px;
    border-radius: 50px;
    width: max-content;
    position: absolute;
    top: -16px;
    opacity: 1;
    font-weight: 500;
}
.box-post .box-text {
    border-top: 3px solid #61C63F;
    padding-top: 5px;
}
/* Container chính - Nền Gradient + Bo góc Glassmorphism */
.vnpc-ct {
    text-align: center;
    color: #ffffff;
    padding: 40px 20px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Tiêu đề H3 */
.vnpc-ct h3 {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Đoạn văn miêu tả */
.vnpc-ct p {
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 1.6;
    margin: 0 0 28px 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Khung chứa các nút kêu gọi hành động */
.vnpc-ctr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Định dạng chung cho 2 nút CTA */
.vnpc-ctr a {
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* -------------------------------------------
   1. NÚT GỌI NGAY (Nổi bật chính - Primary CTA)
------------------------------------------- */
a.ctr-tel {
    background: #ff4757;
    color: #ffffff !important;
    border: 2px solid #ff4757;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
    animation: pulse-glow 2s infinite;
}

a.ctr-tel:hover {
    background: #ff6b81;
    border-color: #ff6b81;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 71, 87, 0.6);
}

/* -------------------------------------------
   2. NÚT CHAT FACEBOOK (Nút phụ - Secondary CTA)
------------------------------------------- */
a.ctr-ms {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}

a.ctr-ms:hover {
    background: #ffffff;
    color: #0d324d !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
}

/* -------------------------------------------
   HIỆU ỨNG ÁNH SÁNG QUÉT NGANG (Shimmer Light)
------------------------------------------- */
.vnpc-ctr a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.vnpc-ctr a:hover::after {
    left: 130%;
}

/* Keyframe cho hiệu ứng nhịp đập phát sáng ở nút Gọi Ngay */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 71, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

.box-post .button.is-outline{
	border: 1px solid;
    border-radius: 30px;
	text-transform: capitalize;
	padding-top: 1px;
}
h5.post-title.is-large a {
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.entry-content.single-page h2 {
    background: hsl(206.76deg 38.95% 37.25% / 16%);
    padding: 10px;
    color: #000000;
    border-radius: 4px;
}
.recent-blog-posts a {
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-size: 14px;
}
/* -------------------------------------------
   RESPONSIVE CHO MOBILE
------------------------------------------- */
@media (max-width: 576px) {
    .vnpc-ct {
        padding: 30px 20px;
    }

    .vnpc-ctr {
        flex-direction: column;
        width: 100%;
    }

    .vnpc-ctr a {
        width: 100%;
        text-align: center;
    }
	.vnpc-ctr {
    	gap: 10px;
	}
}
