
@media(min-width:1720.98px){
    .contact-us-detail-wrap { gap: 0; }
}
@media(max-width:1620.98px){
    h1, .h1 { font-size: 44px; }
    h1.detail, .h1.detail { font-size: 54px; }    
    h2, .h2 { font-size: 42px; }
    h4, .h4 { font-size: 22px; }
    .title-h2 { font-size: 48px; }
    p { font-size: 16px; line-height: 1.4; }
    .primary-btn { font-size: 16px; }
    .secondary-btn { font-size: 16px; }
    .primary-btn-full { font-size: 16px; }
    .secondary-btn-full { font-size: 16px; }
    .form-group input { font-size: 16px; }
    .form-group textarea { font-size: 16px; }
    .form-group.date input { font-size: 16px; }
    header .header-wrap .right .info .info-col .icon { width: 34px; height: 34px; padding: 0px; }
    header .header-wrap .right .info .info-col .icon a svg { width: 15px; height: 15px; }
    header .header-wrap .right .info .info-col .caption .label { font-size: 12px; }
    header .header-wrap .right .info .info-col .caption a { font-size: 14px; }
    section.inner-header { padding: 14px 0; }
    section.inner-header .inner-header-wrap .menu nav ul { gap: 28px; }
    section.inner-header .inner-header-wrap .menu nav ul li a { font-size: 14px; }
    section.inner-header .inner-header-wrap .cta a { font-size: 14px; padding: 10.8px 20.357px 10.2px; }
    section.footer footer .footer-wrap { padding: 58px 0; }
    section.footer footer .footer-wrap .right-col .menu-info { gap: 30px; }
    section.footer footer .footer-bottom { padding: 34px 0; }
    section.hero-banner .banner-wrap .content-col { padding-left: calc(50% - 1320px / 2); padding-bottom: 68px;  margin: 40px 0 108px; }
    section.hero-banner .banner-wrap .content-col .content .cta a { font-size: 18px; padding: 15px 32px 15px 32px; }
    section.funeral-services { padding: 60px 0 70px; }
    section.funeral-services:after { background-size: 125px; }
    section.funeral-services .main-title { margin: 0px auto 30px; }
    section.funeral-services .main-title p { max-width: 650px; }
    section.funeral-services .fs-wrap { width: calc(100% + 20px); row-gap: 20px; margin: 0 -10px; }
    section.funeral-services .fs-wrap .fs-col { width: calc(100% / 3 - 20px); padding: 19px 20px 40px; }
    section.img-content .img-content-wrap .content-col { padding: 70px 0 80px 94px; padding-right: calc(50% - 1320px / 2); }
    section.parallax .parallax-container { padding: 86px 20px; }
    section.parallax .parallax-content p { max-width: 650px; }
    section.detail-form { padding: 0 0 80px; }
    section.detail-form .detail-form-wrap { padding: 50px 70px 64px 70px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .cta a { width: 150px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .cta button { width: 150px; }
    .mortuary-services .ms-wrap .ms-col .image-title .title { font-size: 18px; }
    section.services { padding: 0 0 80px; }
    #popup-image { height: 100%; }
    section.invoice { padding: 0 0 80px; }
    select#graveyard { font-size: 16px; }
    .block-wrapper { padding: 40px 0; }
    section.ecosystem-choose-sec .ec-wrap .funeral-ecosystem ul li, section.ecosystem-choose-sec .ec-wrap .why-choose-us ul li, section.why-choose-us-sec .wcu-wrap ul li { font-size: 16px; line-height: 1.4; }
} 

@media(max-width:1440.98px){
    .title-h2 { font-size: 42px; }
    section.hero-banner .banner-wrap .content-col { padding-left: calc(50% - 1320px / 2); }
    section.img-content .img-content-wrap .content-col { padding-right: calc(50% - 1320px / 2); }
    section.services { padding: 0 0 60px; }
    .progress-container { padding: 43px 20px 37px; }
    .mortuary-services .ms-wrap .ms-col .image-title img { height: 190px; }
    .mortuary-services .ms-wrap .ms-col .image-title .title { font-size: 16px; padding: 0 0 0 12px; }
    /* .category-types.caskets-wrap .category-wrap .category-col a .image-icon .image { aspect-ratio: 16 / 9; }
    .category-types.caskets-wrap .category-wrap .category-col a .image-icon .image img { width: 100%; height: 100%; object-fit: contain; } */
    section.invoice { padding: 0 0 60px; }
    .cap-price-btn .cpb-wrap .left-col { width: 730px; }
    .block-wrapper p, .block-wrapper li { font-size: 16px; line-height: 1.4; }
}

@media(min-width:1366.98px) and (max-width:1440.98px){ 
    section.footer footer .footer-wrap { column-gap: 40px; }
}

@media(max-width:1366.98px){
    .title-h2 { font-size: 40px; }
    section.footer footer .footer-wrap .left-col { width: 300px; }
    section.footer footer .footer-wrap .right-col { width: calc(100% - 350px); }
    section.footer footer .footer-wrap .right-col .menu-info .link-col { width: 200px; margin: 0; }
    section.footer footer .footer-wrap .right-col .menu-info .git-col { width: 300px; margin: 0; }
    section.footer footer .footer-wrap .right-col .menu-info .social-col { margin: 0; }
    section.footer footer .footer-bottom ul li { font-size: 14px; }
    section.hero-banner .banner-wrap .content-col { padding-left: calc(50% - 1140px / 2); margin: 40px 0 85px; }
    section.funeral-services .fs-wrap .fs-col .image img { height: 215px; }
    section.img-content .img-content-wrap .content-col { padding: 65px 0 80px 60px; padding-right: calc(50% - 1140px / 2); }
    .category-types .category-wrap { gap: 20px; }
    .category-types .category-wrap .category-col { width: calc(100% / 4 - 15px); }
    .category-types .category-wrap .category-col a .content .title { font-size: 16px; margin: 0 auto 20px; }
    .category-types .category-wrap .category-col a .content .price { font-size: 18px; }
    .category-types .category-wrap .category-col a .content .counter label { font-size: 14px; }
    #popup-content { max-height: 600px; }
   header .header-wrap .left .logo a img { height: 50px; } 
}

@media (max-width: 1199.98px) {
    h1, .h1 { font-size: 46px; } 
    h1.detail, .h1.detail { font-size: 46px; }  
    h2, .h2 { font-size: 36px; }
    .title-h2 { font-size: 34px; }
    section.footer footer .footer-wrap .left-col { width: 200px; }
    section.footer footer .footer-wrap .left-col .logo-caption .caption p { font-size: 14px; }
    section.footer footer .footer-wrap .right-col { width: calc(100% - 250px); }
    section.footer footer .footer-wrap .right-col .menu-info .title { font-size: 22px; }
    section.footer footer .footer-wrap .right-col .menu-info .git-col { width: 280px; }
    section.footer footer .footer-wrap .right-col .menu-info .link-col ul li a { font-size: 14px; }
    section.footer footer .footer-wrap .right-col .menu-info .git-col ul li span { font-size: 14px; }
    section.footer footer .footer-bottom ul { gap: 20px; }
    section.footer footer .footer-bottom ul li { font-size: 12px; }
    section.footer footer .footer-bottom ul li:after { left: -11px;}
    section.hero-banner .banner-wrap .content-col { padding-left: calc(50% - 960px / 2); margin: 40px 0 60px; }
    section.funeral-services .fs-wrap .fs-col { padding: 19px 20px 30px; }
    section.funeral-services .fs-wrap .fs-col .image img { height: 170px; }
    section.funeral-services .fs-wrap .fs-col .caption p { font-size: 16px; }
    section.img-content .img-content-wrap .content-col { width: 52%; padding: 60px 0 50px 40px; padding-right: calc(50% - 960px / 2); }
    section.img-content .img-content-wrap .image-col { width: 48%; }
    section.parallax .parallax-content  { width: 100%; }  
    .progress-container .progressbar li span { font-size: 16px; }  
    .mortuary-services .ms-wrap .ms-col .image-title img { height: 145px; }
    .mortuary-services .ms-wrap .ms-col .image-title .title { font-size: 14px; }
    #popup-content { max-width: 700px; height: max-content; max-height: 100%; padding: 70px; }
    #popup-image { height: auto; }
    section.invoice.confirm-payment .invoice-container { padding: 50px 80px; }
    section.invoice.confirm-payment .footer { margin-top: 50px; }
    .cap-price-btn .cpb-wrap .left-col { width: 550px; }
    .contact-us-detail-wrap .contact-us-right-content { width: 45%; }
}

@media (max-width: 991.98px) {
    h1, .h1 { font-size: 34px; }
    h1.detail, .h1.detail { font-size: 34px; }  
    h2, .h2 { font-size: 32px; }
    h4, .h4 { font-size: 20px; }
    p { font-size: 16px; }
    section.inner-header { position: relative; z-index: 9; }
    section.inner-header .inner-header-wrap { flex-direction: row; }
    .menu { display: none; flex-direction: column; width: 100%; margin-top: 10px; }
    .menu nav ul { flex-direction: column; gap: 10px; }
    .menu-icon { display: flex; margin: 0; }
    .menu-icon-action .bar:nth-child(1) { transform: rotate(45deg) translate(7px, 4px); }
    .menu-icon-action .bar:nth-child(2) { opacity: 0; }
    .menu-icon-action .bar:nth-child(3) { transform: rotate(-45deg) translate(8px, -4px); }
    .menu.menu-open { display: flex; animation: slideDown 0.3s ease-in-out; }
    section.inner-header .inner-header-wrap .menu { width: 100%; background-color: #f6f6f6; margin: 0; position: absolute; top: 100%; left: 0; }
    section.inner-header .inner-header-wrap .menu nav { width: 100%; padding: 0 20px 20px; padding-left: calc(50% - 720px / 2); padding-right: calc(50% - 720px / 2); margin: 0; }
    section.inner-header .inner-header-wrap .menu nav ul li a { width: 100%; }
    section.inner-header .inner-header-wrap .menu nav ul li { width: 100%; }
    section.footer footer .footer-wrap { padding: 40px 0; }
    section.footer footer .footer-wrap { flex-direction: column; gap: 30px; }
    section.footer footer .footer-wrap .left-col { width: 100%; } 
    section.footer footer .footer-wrap .left-col .logo-caption { gap: 20px; }
    section.footer footer .footer-wrap .right-col { width: calc(100% - 0px); }
    section.footer footer .footer-bottom { padding: 24px 0; }
    section.footer footer .footer-bottom ul { flex-wrap: wrap; }
    section.hero-banner .banner-wrap .content-col { padding-left: calc(50% - 720px / 2); }
    section.hero-banner .banner-wrap .content-col .content .cta a { font-size: 16px; }
    section.funeral-services { padding: 40px 0; }
    section.funeral-services .fs-wrap .fs-col { width: calc(100% / 2 - 20px); }
    section.img-content .img-content-wrap .content-col { padding-right: calc(50% - 720px / 2); }
    section.parallax .parallax-container { padding: 68px 20px; }
    section.detail-banner:before, section.detail-banner:after { width: 183.5px; height: 160px; }
    section.detail-form { padding: 0 0 40px; }
    section.detail-form .detail-form-wrap { padding: 30px; }
    section.detail-form .detail-form-wrap form .h3 { margin: 0 auto 30px; }
    section.services { padding: 0 0 40px; }
    .progress-container .icon-container { width: 36px; height: 36px; padding: 6px; }
    .progress-container .progressbar li .icon-container svg { width: 14px; height: 14px; }
    .progress-container .progressbar li span { font-size: 12px; }
    .progress-container .progressbar::before { top: 30%; }
    .cap-price-btn .cpb-wrap { flex-direction: column; gap: 25px; }
    .cap-price-btn .cpb-wrap .left-col { width: 100%; }
    .cap-price-btn .cpb-wrap .right-col { width: 100%; }
    .cap-price-btn .cpb-wrap .right-col .price-btn { justify-content: flex-start; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .price { width: max-content; }
    .mortuary-services .ms-wrap { flex-wrap: wrap; }
    .mortuary-services .ms-wrap .ms-col { width: calc(100% / 3 - 20px); }
    .mortuary-services .ms-wrap .ms-col .image-title img { height: 180px; }
    .cap-price-btn .cpb-wrap .left-col .caption p { font-size: 14px; }
    .category-types .category-wrap .category-col { width: calc(100% / 2 - 15px); }
    section.invoice { padding: 0 20px 40px; }
    section.invoice .footer { margin-top: 50px; }
    .contact-us-detail-wrap { flex-direction: column; width: 100%; margin: 0 auto; }
    .contact-us-detail-wrap .enter-form-contact { width: 100%; margin: 0 auto; }
    section.detail-form .detail-form-wrap.contact-us-wrap { max-width: 100%; margin: 0 auto; padding: 30px; }
    .contact-us-detail-wrap .contact-us-right-content { width: 100%; }
    .contact-us-detail-wrap .contact-us-right-content .col-md-12 { width: 100%; }
    section.small-banner-img .banner-img { max-width: 100%; }

    .inner-cap-img-wrap { flex-direction: column-reverse; }
    .inner-cap-img-wrap .left-side { width: 100%; }
    .inner-cap-img-wrap .right-side { width: 100%; }
    section.small-banner-img { position: unset; margin: 0; }
    .contact-us-detail-wrap .contact-us-right-content ul.list-unstyled li { line-height: 1.6; }
    .cpb-wrap.casket-step .price { width: 100%; }
    .cpb-wrap.casket-step .pq-col { width: max-content; margin: 0; }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
 }

 @media(max-width:767.98px){
    h2, .h2 { font-size: 28px; }
    .title-h2 { font-size: 28px; }
    section.inner-header .inner-header-wrap .menu nav { padding-left: calc(50% - 540px / 2); padding-right: calc(50% - 540px / 2); }
    section.footer footer .footer-wrap .right-col .menu-info { flex-direction: column; }
    section.footer footer .footer-wrap .right-col .menu-info .link-col { width: 100%; }
    section.footer footer .footer-wrap .right-col .menu-info .link-col ul { margin: 20px 0 0; }
    section.footer footer .footer-wrap .right-col .menu-info .git-col { width: 100%; }
    section.footer footer .footer-wrap .right-col .menu-info .git-col ul { margin: 20px 0 0; }
    section.footer footer .footer-wrap .right-col .menu-info .social-col { width: 100%; }
    section.hero-banner .banner-wrap { flex-direction: column-reverse; }
    section.hero-banner .banner-wrap .content-col { width: 100%; padding-left: calc(50% - 540px / 2); margin: 0; }
    section.hero-banner .banner-wrap .image-col { width: 100%; padding-bottom: 40px; }
    section.hero-banner .banner-wrap .image-col .image { height: 350px; }
    section.funeral-services .main-title p { max-width: 100%; }
    section.funeral-services .fs-wrap .fs-col { width: calc(100% / 1 - 20px); }
    section.funeral-services .fs-wrap .fs-col .caption { gap: 12px; padding: 0; }
    section.img-content .img-content-wrap { flex-direction: column; }
    section.img-content .img-content-wrap .content-col { width: 100%; padding: 40px 20px; padding-left: calc(50% - 540px / 2); padding-right: calc(50% - 540px / 2); }
    section.img-content .img-content-wrap .image-col { width: 100%; }
    section.img-content .img-content-wrap .image-col .image { height: 350px; }
    /* section.parallax .parallax-container { background-size: cover; background-position: bottom left; } */
    section.parallax .parallax-content p { max-width: 100%; }
    section.detail-banner .detail-banner-wrap p { max-width: 100%; }
    .progress-container { padding: 34px 15px 30px; }
    .progress-container .progressbar::before { top: 25%; }
    .mortuary-services .ms-wrap .ms-col { width: calc(100% / 2 - 20px); }
    #popup-content { width: calc(100% - 30px); max-width: 100%; padding: 40px; margin: 0 auto; }
    #popup-close { width: 30px; height: 30px; top: 10px; right: 10px; }
    .category-types .category .h5 { position: relative; z-index: 1; }
    .category-types .category .h5:after { content: ""; width: 24px; height: 24px; display: flex; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='24' viewBox='0 0 25 24' fill='none'%3E%3Cpath d='M5.5 12H19.5M12.5 5V19' stroke='%23252972' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; background-position: center; position: absolute; top: 0; right: 0; transform: rotate(0deg); transition: transform 0.3s ease-in-out; }
    .category-types .category .h5.active:after { transform: rotate(135deg); }
    .category-types .category-wrap { display: none; }
    section.invoice { padding: 0 20px 40px; }
    section.invoice .table-wrap { width: 100%; display: block; overflow-x: scroll; -webkit-overflow-scrolling: touch; }
    section.invoice .invoice-container{ max-width: max-content; padding: 20px; }  
    section.invoice .table-container { width: 100%; overflow-x: auto;  }
    section.invoice .table { width: 100%; min-width: 600px; display: block; margin: 30px 0 0; }
    section.invoice .table th, section.invoice .table td { padding: 10px 15px; font-size: 14px; }
    section.invoice .table tr.total td { font-size: 16px; }
    section.invoice .header img { height: 40px; }
    section.invoice .header .invoice-title { font-size: 32px; }
    section.invoice .header .invoice-info { font-size: 12px; }
    section.invoice .info-address .invoice-info { gap: 4px; }
    section.invoice .info-address .address p, section.invoice .info-address .invoice-info span { font-size: 14px; }
    section.invoice .footer button { width: 150px; height: 40px; padding: 8px 16px; font-size: 14px; }
    section.invoice .footer { margin-top: 30px; }
    section.invoice.confirm-payment .invoice-container { max-width: 455px; padding: 20px; }
    section.invoice.confirm-payment .invoice-container table { width: 100%; min-width: 100%; }
    section.invoice.confirm-payment .footer { margin-top: 30px; }
    .form-group.date .date-input { padding: 10.5px 12px; }
    .form-group.date .date-input .icon { left: 15px; }
    .form-group.date .date-input .icon svg { width: 20px; height: 20px; }
    select#graveyard { padding: 10.5px 12px; }
 }

@media(max-width:575.98px){
    .form-group input, .form-group textarea { padding: 15px; }
    .form-group-wrap { flex-direction: column; gap: 0px; margin: 0 0 -10px; }
    .form-group-wrap .form-group { width: 100%; }
    .form-group-wrap .form-group:first-child { margin: 0 0 20px; }
    .form-group-wrap #client_surname-error { width: 100%; position: relative; top: -20px; right: unset; left: 0; }
    section.inner-header .inner-header-wrap .menu nav { padding-left: 20px; padding-right: 20px; }
    header .header-wrap { gap: 20px; }
    header .header-wrap .left .logo a img { height: 45px; }
    header .header-wrap .right .info { gap: 20px; }
    header .header-wrap .right .info .info-col .caption a { font-size: 12px; }
    section.hero-banner .banner-wrap .content-col { padding-left: 15px; padding-right: 15px; }
    section.hero-banner .banner-wrap .image-col { padding-bottom: 20px; }
    section.hero-banner .banner-wrap .image-col .image { height: 250px; }
    section.img-content .img-content-wrap .content-col { padding: 40px 15px; }
    section.img-content .img-content-wrap .image-col .image { height: 250px; }
    section.detail-banner { padding: 40px 0 135px; }
    #time-grid button.time-slot { font-size: 16px; padding: 16px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn { align-items: center; gap: 20px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .price { padding: 12px 10px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .price .pq-col label { width: max-content; font-size: 14px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .price .pq-col span { font-size: 14px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .cta button { height: 40.8px; font-size: 14px; padding: 10px; }
    #popup-content { padding: 40px 20px; }
    section.invoice .header .invoice-title { font-size: 24px; }
    section.invoice .info-address .address { width: 60%; }
    section.invoice .table { width: 100%; min-width: max-content; }
    section.invoice .table th, section.invoice .table td { font-size: 12px; }
    section.invoice .table td:first-child ul ul { padding-left: 25px; }
    section.invoice .table tr.total td { font-size: 14px; }
    section.invoice.confirm-payment .invoice-container { max-width: max-content; }
    section.invoice.confirm-payment th:nth-child(1), section.invoice.confirm-payment td:nth-child(1) { padding-left: 20px; }
    section.invoice.confirm-payment .invoice-container .title-date { gap: 15px; }
    .radio-group { flex-direction: column; gap: 15px; }
    .form-group.date .date-input .arrow svg { width: 18px; height: 18px; }
    select#graveyard { font-size: 14px; background-size: 18px; }
    section.vision-concept-sec .vc-wrap { flex-direction: column; }
    section.vision-concept-sec .vc-wrap .our-vision { width: 100%; } 
    section.vision-concept-sec .vc-wrap .our-concept { width: 100%; }
    section.invoice .info-address .address { width: 100%; display: flex; align-items: center; }
    section.invoice .info-address { flex-direction: column-reverse; row-gap: 15px; }
    section.invoice .info-address .address .icon { margin: 0 0 0 -3px; }
    section.detail-banner .detail-banner-wrap .breadcrumbs ul li:after { padding: 0 0 0 4px; }
    section.detail-form .detail-form-wrap.contact-us-wrap { padding: 20px; }
    .contact-us-detail-wrap .contact-us-right-content .col-md-12 { padding: 20px; }
 }

@media(max-width:481.98px){ 
    h1, .h1 { font-size: 32px; }
    h1.detail, .h1.detail { font-size: 32px; }  
    .form-group input { font-size: 14px; }
    .form-group textarea { font-size: 14px; }
    .form-group.date input { font-size: 14px; padding: 0; }
    header .header-wrap .right .info { gap: 10px; }
    header .header-wrap .right .info .info-col .caption { display: none; }
    section.detail-form .detail-form-wrap { padding: 20px; }
    #time-grid { width: calc(100% + 8px); column-gap: 8px; row-gap: 12px; } 
    #time-grid button.time-slot { width: calc(100% / 5 - 8px); font-size: 12px; padding: 5px; }
    section.detail-banner .detail-banner-wrap .breadcrumbs ul li { font-size: 12px; }
    .progress-container .progressbar li span { font-size: 10px; }
    .mortuary-services .ms-wrap { gap: 15px; }
    .mortuary-services .ms-wrap .ms-col { width: calc(100% / 2 - 7.5px); }
    .mortuary-services .ms-wrap .ms-col .image-title img { height: 140px; }
    section.detail-banner .detail-banner-wrap p { font-size: 14px; }
    .mortuary-services .ms-wrap .ms-col .image-title .title { font-size: 12px; padding: 0 0 0 8px; } 
    .category-types .category-wrap .category-col { width: calc(100% / 1 - 0px); }
    .cap-price-btn .cpb-wrap .right-col .price-btn .cta button { width: 128px; }
    section.invoice .header a img { height: 38px; } 
    section.invoice .header { margin: 0 0 15px; }
    section.invoice .info-address .address .icon { width: 16px; }
    section.invoice .info-address .invoice-info { gap: 2px; }
    section.invoice .info-address .address p, section.invoice .info-address .invoice-info span { font-size: 12px; }
    section.invoice .table { margin: 20px 0 0; }
    section.invoice .footer button { width: 130px; }
}


@media(max-width:470.98px){ 
    .cap-price-btn .cpb-wrap .right-col .price-btn { gap: 15px; }
    .cap-price-btn .cpb-wrap .right-col .price-btn .price .pq-col label { font-size: 12px; }
}

@media (max-width: 381.98px) {
    section.detail-banner .detail-banner-wrap .breadcrumbs ul li {
        font-size: 11px;
    }
}


@media(min-width:360px){
    .container { width:100%; }
}
@media(min-width:576px){
    .container { width:570px; }
}
@media(min-width:768px){
    .container { width:750px; }
}
@media(min-width:992px){
    .container { width:990px; }
}
@media(min-width:1200px){
    .container { width:1170px; }
}
@media(min-width:1400px){
    .container { width:1350px; }
} 
@media(min-width:1620px){
    .container { width:1440px; }
}

