@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
   font-family: "Red Hat Text", sans-serif;
}

.container{
    /* max-width: 1200px !important; */
}

input:focus {
    outline: none !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
    font-size: 30px;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
    font-size: 30px;
}

#fixed-zalo img{
    animation: pulse 2s infinite; /* Gọi animation */
}
#fixed-phone img{
    animation: pulsephone 2s infinite; /* Gọi animation */
}
/* Animation lan tỏa */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(52, 152, 219, 0); /* Lan tỏa ra */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}
/* phone */
@keyframes pulsephone {
    0% {
        box-shadow: 0 0 0 0 rgba(219, 52, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(208, 12, 58, 0); /* Lan tỏa ra */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(158, 3, 31, 0);
    }
}

/* custom fonts family */
.font-times {
    font-family: 'Times New Roman', serif;
}

.font-roboto {
    font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Times New Roman', serif; */
}

.text-shadow {
    text-shadow: 0 0 2px #000;
}

/* ================ header =============== */

/* start header top fixed style */
header .header-menu__wrapper.fixed{
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    background-color: #fff;
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.1);
    padding: 0 100px;
}
header .header-menu__wrapper.fixed .container{
    margin-bottom: 0;
}
header .header-menu__wrapper.fixed .logo-main{
    height: 100%;
}
header .header-menu__wrapper.fixed .logo-main img{
    width: 60px;
}
header .header-menu__wrapper.fixed .logo-main div{
    font-size: 20px;
}
/* end header top fixed style */

#menu-item__news-update.active{
    color: #822E2C;
}

#modal-category.active{
    display: block;
}
.header-menu__box ul li a.active, .header-menu__box ul li button.active span{
    color: #822E2C !important;
}
/* .header-menu__box ul li:hover > ul.sub-menu{
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.header-menu__box ul.sub-menu {
    top: 90%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block; /* Luôn là block để transition hoạt động */
    position: absolute; /* Đảm bảo sub-menu nổi lên */
    z-index: 10;
    pointer-events: none;
}

.header-menu__box ul li:hover > ul.sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

#header-main__menu.active {
    padding-top: 50px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 15px;
    background-color: white;
    box-shadow: -8px 0 8px -11px #555;
    transition: ease-in-out 0.3s all !important; 
}

@media (max-width: 767px) {
    #header-main__menu {
      position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 80%;
        display: flex;
        justify-content: start;
        flex-direction: column;
        gap: 15px;
        background-color: white;
        box-shadow: -8px 0 8px -11px #555;
        transition: ease-in-out 0.3s all !important;
    }
 }

/* ================= override swiper ========== */
 .swiper-pagination.banner {
    bottom: 20px !important;
}
.swiper-pagination.banner .swiper-pagination-bullet {
    display: block;
    width: 100px !important;
    height: 4px !important;
    border-radius: unset !important;
}
.swiper-pagination.banner .swiper-pagination-bullet-active{
    background-color: #822E2C;
} 

section.feedback .swiper-pagination-bullet-active{
    position: relative;
    background-color: #f28124;
    border-radius: 50%;
    border: 1px solid #f28124;
}
section.feedback .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 11px;
     border: 1px solid #f28124;
}

.swiper-pagination.custom{
    
}

/*=======override wordpress paginate=====*/
.paginate .page-numbers{
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: #791e1d;
    border: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}
.paginate a.page-numbers:hover{
    background-color: #791E1D;
    color: #fff;
}
.paginate .page-numbers.next, .paginate .page-numbers.prev{
    width: auto;
    padding: 0 10px;
}
.paginate span.page-numbers{
    color: #fff;
    background-color: #791E1D;
}

/* modal */
.modal {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    position: fixed; /* Đổi từ absolute sang fixed để modal luôn ở giữa màn hình khi scroll */
    padding: 50px 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
.modal-close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    padding: 5px;
}
/** Overlay */
.overlay {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}
.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.box-shadow-master{
    /* box-shadow: rgba(10, 10, 10, 0.08) 0px 0px 15px; */
    box-shadow: 0 0 32px rgba(10, 10, 10, 0.08);
    -moz-box-shadow: 0 0 32px rgba(10, 10, 10, 0.08);
    -webkit-box-shadow: 0 0 32px rgba(10, 10, 10, 0.08);
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}



/* ========main========= */
 .statistial{
    background-image: url('https://hanoiluat.vn/image/catalog/banner/bg-head.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

section.feedback {
    background-image: url('../img/bg2-about-us.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

section#contact {
    background-image: url('../img/bg2-about-us.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

section#contact form {

}
section#contact input, section#contact textarea {
    width: 100%;
    padding: 20px 30px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #333;
}
section#contact #submit-contact {
    background: #791E1D;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: ease-in-out .3s;
}
section#contact #submit-contact:hover{
    background: #975352;
    transition: ease-in-out .3s;
}
section#contact .wpcf7-response-output{
    margin-top: 0 !important;
}

/*about us page*/
.about-us__wrapper .about-us__content p, .about-us__wrapper .about-us__content div {
    color: #333;
}

/*contact page*/
main.contact-page-wrapper #form-contact form input, main.contact-page-wrapper #form-contact form textarea {
        width: 100%;
        background-color: #f5f5f5;
        padding: 20px 22px;
        margin-bottom: 20px;
}
main.contact-page-wrapper #form-contact #submit-contact {
    background: #791E1D;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: ease-in-out .3s;
}
main.contact-page-wrapper #form-contact #submit-contact:hover{
    background: #975352;
    transition: ease-in-out .3s;
}
main.contact-page-wrapper #form-contact .wpcf7-response-output{
    margin-top: 0 !important;
}


/* footer */
footer .footer-widget{
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}
h4.footer-widget-title{
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
}
footer .footer-widget ul li{
    margin-bottom: 5px;
}
footer .footer-widget ul li a, footer .footer-widget ul li{
    color: #ababab;
}
footer .footer-widget ul li a:hover{
    color: #cc8800;
}


/*prose*/
.prose {
    max-width: unset;
}