/* 日日潔清潔公司 — 頁面限定樣式表
   此檔案包含僅特定頁面使用的 CSS，不需在首頁載入。
   載入頁面：service-*.php、news-detail.php、contact.php、portfolio.php
   2026-02-08 從 style.css 拆分
*/

/* --- Page Title ---
   Used by: service-*.php, news.php, portfolio.php
*/
/* === Page Title === */
[class*="page-title"].bg-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(3, 43, 86, 0.4);
}

[class*="page-title"].bg-overlay:before {
    background: -webkit-gradient(linear, left top, left bottom, from(#021c37), color-stop(14%, #051c33), color-stop(62%, rgba(17, 27, 37, 0.1)), to(rgba(27, 26, 26, 0)));
    background: linear-gradient(to bottom, #021c37 0%, #051c33 14%, rgba(17, 27, 37, 0.1) 62%, rgba(27, 26, 26, 0) 100%);
    opacity: .4;
}

.page-title-light .pagetitle__heading,
.page-title-light .pagetitle__desc,
.page-title-light .breadcrumb-item a,
.page-title-light .breadcrumb-item.active,
.page-title-light .breadcrumb-item+.breadcrumb-item::before {
    color: #ffffff;
}

.page-title-layout2 .pagetitle__desc {
    max-width: 620px;
}

.page-title-layout3 .pagetitle__desc {
    max-width: 520px;
}

.page-title-layout6 .breadcrumb-item a,
.page-title-layout6 .breadcrumb-item.active,
.page-title-layout6 .breadcrumb-item+.breadcrumb-item::before {
    color: #063464;
}

@media (min-width: 1200px) {
    .pagetitle__heading {
        font-size: 75px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .pagetitle__desc {
        color: #ffffff;
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 32px;
    }

    [class*="page-title"] .btn__lg {
        padding: 0 20px;
        min-width: 220px;
    }

    .page-title-layout1,
    .page-title-layout2 {
        padding-top: 135px;
        padding-bottom: 40px;
    }

    .page-title-layout1 .breadcrumb,
    .page-title-layout2 .breadcrumb {
        margin-top: 90px;
    }

    .page-title-layout2 .btn {
        padding: 0 25px;
        min-width: 190px;
    }

    .page-title-layout3 {
        padding-top: 135px;
        padding-bottom: 150px;
    }

    .page-title-layout4 {
        padding-top: 190px;
        padding-bottom: 40px;
    }

    .page-title-layout4 .breadcrumb {
        margin-top: 90px;
    }

    .page-title-layout5 {
        padding-top: 190px;
        padding-bottom: 190px;
    }
}

@media (max-width: 1199px) {

    .page-title-layout1 .breadcrumb,
    .page-title-layout2 .breadcrumb,
    .page-title-layout4 .breadcrumb {
        margin-top: 40px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    [class*="page-title"] {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {
    [class*="page-title"] {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    [class*="page-title"] .pagetitle__subheading {
        font-size: 14px;
        margin-bottom: 10px;
    }

    [class*="page-title"] .pagetitle__desc {
        font-size: 14px;
        margin-bottom: 10px;
    }

    [class*="page-title"] .pagetitle__heading {
        font-size: 30px !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    [class*="page-title"] .btn:not(.btn__link) {
        height: 50px;
        min-width: 140px;
    }
}

/* --- Forms ---
   Used by: contact.php
*/
/* === Forms === */
label {
    color: #063464;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

label.error {
    color: red;
    font-size: 14px;
    font-weight: 400;
    margin: 7px 0 0 0;
}

.form-check-label {
    font-weight: 400;
    color: #616971;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    font-size: 14px;
    height: 60px;
    padding: 0 20px;
    border-radius: 5px;
    background-color: #eef3fa;
    border: 2px solid #eef3fa;
}

.form-control:focus {
    border-color: #2983fd;
    background-color: #eef3fa;
}

.form-control::-webkit-input-placeholder {
    color: #4b6d8f;
}

.form-control:-moz-placeholder {
    color: #4b6d8f;
}

.form-control::-moz-placeholder {
    color: #4b6d8f;
}

.form-control:-ms-input-placeholder {
    color: #4b6d8f;
}

textarea.form-control {
    min-height: 105px;
    padding-top: 10px;
}

.form__title {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 20px;
}

/* Radio */
.custom-control {
    min-height: 0;
    padding-left: 25px;
}

.custom-radio .custom-control-label:before {
    border-radius: 5px;
}

.custom-control-input {
    width: 17px;
    height: 17px;
}

.custom-control-label {
    font-weight: 400;
    color: #616971;
}

.custom-control-label:before {
    top: 0;
    width: 17px;
    height: 17px;
    border-color: #e6eaef !important;
}

.custom-control-label:after {
    position: absolute;
    top: calc(50% + 1px);
    left: -19px;
    width: 7px;
    height: 7px;
    border-radius: 3px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.custom-control-input:checked~.custom-control-label::before,
.custom-control-input:not(:disabled):active~.custom-control-label::before {
    color: inherit;
    border-color: inherit;
    background-color: inherit;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-image: none;
    background-color: #2983fd;
}

.custom-control-input:focus~.custom-control-label::before {
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type=checkbox],
input[type=radio] {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.nice-select {
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin-bottom: 30px;
}

.nice-select:hover {
    border-color: #eef3fa;
}

.nice-select .list {
    width: 100%;
}

.nice-select .current,
.nice-select .option {
    color: #063464;
}

.form-group-icon {
    position: absolute;
    top: 23px;
    left: 23px;
    z-index: 2;
    color: #d7d8da;
    pointer-events: none;
}

.form-group-icon+.form-control,
.form-group-icon+select+.form-control {
    padding-left: 45px;
}

.form-group-icon+.form-control[type="date"],
.form-group-icon+.form-control[type="time"] {
    padding: 0 15px;
}

.form-group-date .form-group-icon {
    top: 22px;
    left: auto;
    right: 14px;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: #ffffff;
}

::-webkit-inner-spin-button,
::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.increase-qty,
.decrease-qty {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 19px;
    height: 15px;
    position: absolute;
    right: 10px;
    font-size: 11px;
    border: 0;
    border-radius: 3px;
    color: #063464;
    background-color: #ffffff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.increase-qty {
    top: 16px;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.decrease-qty {
    bottom: 16px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.input-number::-webkit-inner-spin-button,
.input-number::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {

    .form-group,
    .nice-select {
        margin-bottom: 20px;
    }
}

/* --- Breadcrumb ---
   Used by: service-*.php, news-detail.php, portfolio.php
*/
/* === Breadcrumb === */
.breadcrumb {
    padding: 0;
    background-color: transparent;
}

.breadcrumb-item {
    position: relative;
    font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-family: icomoon;
    font-weight: normal;
    content: "\e916";
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {

    .breadcrumb-item a,
    .breadcrumb-item+.breadcrumb-item {
        font-size: 12px;
    }
}



/* --- Pagination ---
   Used by: news.php
*/
/* === Pagination === */
.pagination-area {
    margin-top: 50px;
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    /* gap replaces manual margins */
}

.pagination li a {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    color: #063464;
    border: 2px solid #e7ebef;
    background-color: #ffffff;
    text-decoration: none !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.pagination li a i {
    font-size: 20px;
    line-height: 1;
}

.pagination li a:hover {
    color: #2983fd;
    border-color: #063464;
    background-color: #f8f9fa;
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(6, 52, 100, 0.15);
}

.pagination li a.current {
    color: #ffffff;
    border-color: #063464;
    background-color: #063464;
    text-decoration: none !important;
    cursor: default;
    box-shadow: 0 2px 8px rgba(6, 52, 100, 0.2);
}

.pagination li a.current:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(6, 52, 100, 0.2);
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {
    .pagination-area {
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination li a {
        font-size: 16px;
        width: 42px;
        height: 42px;
    }

    .pagination li a i {
        font-size: 18px;
    }
}



/* --- Alerts ---
   Used by: contact.php, service-disinfection.php, service-pest-control.php
*/
/* === Alerts === */
.alert-primary {
    padding: 30px;
    color: #2983fd;
    background-color: #e8eff8;
    border-color: transparent;
    border-radius: 15px;
}

.alert-primary .alert__title {
    font-size: 19px;
}

/* --- Blog Single + Comments ---
   Used by: news-detail.php
*/
/* Blog: Single */
.blog-single .post-item .post__img {
    border-radius: 16px;
}

.blog-single .post-item:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* News detail */
.blog-single .post-item .post__meta {
    margin-bottom: 15px;
}

.blog-single .post-item .post__body {
    margin-top: 0;
}

.blog-single .post-item .post__desc h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

.blog-single .post-item .post__desc h2 {
    font-size: 1.5em;
    margin: 0.75em 0;
}

.blog-single .post-item .post__desc h3 {
    font-size: 1.17em;
    margin: 0.83em 0;
}

.blog-widget__title {
    font-size: 21px;
    margin-bottom: 24px;
}

.widget-nav .widget-nav__img {
    position: relative;
    max-width: 90px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 90px;
    flex: 0 0 90px;
    -ms-flex-item-align: baseline;
    align-self: baseline;
}

.widget-nav .widget-nav__img img {
    border-radius: 5px;
}

.widget-nav .widget-nav__img:before {
    font-family: icomoon;
    font-size: 10px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #063464;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.widget-nav .widget-nav__prev,
.widget-nav .widget-nav__next {
    position: relative;
    padding: 20px 40px;
    border-radius: 12px;
    border: 2px solid #e6e8eb;
    max-width: 48%;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.widget-nav .widget-nav__prev:hover,
.widget-nav .widget-nav__next:hover {
    border-color: #2983fd;
}

.widget-nav .widget-nav__prev:hover .widget-nav__ttile,
.widget-nav .widget-nav__prev:hover .widget-nav__img:before,
.widget-nav .widget-nav__next:hover .widget-nav__ttile,
.widget-nav .widget-nav__next:hover .widget-nav__img:before {
    color: #2983fd;
}

.widget-nav .widget-nav__next .widget-nav__img:before {
    content: "\e905";
    right: -20px;
}

.widget-nav .widget-nav__prev .widget-nav__img:before {
    content: "\e903";
    left: -20px;
}

.widget-nav .widget-nav__content {
    max-width: calc(100% - 90px);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(100% - 90px);
    flex: 0 0 calc(100% - 90px);
    padding: 0 10px;
}

.widget-nav .widget-nav__content span {
    font-size: 13px;
    color: #616161;
    display: block;
    margin-bottom: 1px;
}

.widget-nav .widget-nav__content .widget-nav__ttile {
    font-size: 15px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.widget-nav .widget-nav__all {
    font-size: 22px;
    line-height: 50px;
    display: block;
    text-align: center;
}

.blog-author {
    position: relative;
    padding: 50px;
    border-radius: 8px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 5px 83px 0px rgba(3, 43, 86, 0.13);
    box-shadow: 0px 5px 83px 0px rgba(3, 43, 86, 0.13);
}

.blog-author:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 4px;
    background-color: #2983fd;
}

.blog-author .blog-author__avatar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 150px;
    flex: 0 0 150px;
    max-width: 150px;
    overflow: hidden;
    margin-bottom: 20px;
    padding-right: 20px;
}

.blog-author .blog-author__avatar img {
    border-radius: 5px;
}

.blog-author .blog-author__content {
    -webkit-box-flex: calc(100% - 150px);
    -ms-flex: calc(100% - 150px);
    flex: calc(100% - 150px);
    max-width: calc(100% - 150px);
}

.blog-author .blog-author__name {
    font-size: 18px;
    margin-bottom: 12px;
}

.blog-author .blog-author__bio {
    font-size: 15px;
    margin-bottom: 13px;
}

.blog-author .social-icons li a {
    border: 0;
    width: auto;
    height: auto;
    background-color: transparent;
}

.blog-author .social-icons li a i {
    background-color: #2983fd;
}

.blog-author .social-icons li a:hover i {
    color: #ffffff;
    background-color: #063464;
}

.bordered-box {
    border-radius: 4px;
    border: 1px solid #e5e8ea;
}

.bordered-box .blog-share,
.bordered-box .blog-tags {
    padding: 25px;
}

.comments-list .comment__item {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 30px;
}

.comments-list .comment__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.comments-list .comment__item .comment__avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
}

.comments-list .comment__item .comment__avatar img {
    border-radius: 5px;
}

.comments-list .comment__item .comment__content {
    padding-left: 90px;
}

.comments-list .comment__item .comment__content .comment__author {
    font-size: 18px;
    margin-bottom: 11px;
}

.comments-list .comment__item .comment__content .comment__date {
    color: #1d65b9;
    font-size: 12px;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.comments-list .comment__item .comment__content .comment__desc {
    font-size: 15px;
    margin-bottom: 6px;
}

.comments-list .comment__item .comment__content .comment__reply {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #2983fd;
}

.comments-list .comment__item .comment__content .comment__reply:hover {
    color: #063464;
}

.comments-list .comment__item .nested__comment {
    border-top: 1px solid #eaeaea;
    padding: 30px 0 0 0;
    margin: 30px 0 0 90px;
}

.blog-comments-form .form-control {
    height: 60px;
}

.blog-comments-form .btn {
    height: 70px;
    line-height: 70px;
}

.blog-tags ul li a {
    position: relative;
    font-size: 14px;
    padding-right: 5px;
    color: #2983fd;
}

.blog-tags ul li a:hover {
    color: #063464;
}

.blog-tags ul li a:before {
    content: ',';
    position: absolute;
    top: -2px;
    right: 1px;
    color: #2983fd;
}

.blog-tags ul li:last-child a:before {
    display: none;
}

@media (min-width: 1200px) {
    .blog-single .post-item .post__title {
        font-size: 28px;
    }

    .blog-single .post-item .post__desc p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .blog-single .post-item .post__body {
        padding-right: 0;
        margin-right: 50px;
    }
}

@media (min-width: 768px) {
    .widget-nav__next {
        text-align: right;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {
    .post-item {
        margin-bottom: 15px;
    }

    .post-item .post__title {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .post-item .post__body {
        padding: 0 20px 10px 20px;
    }

    .post-item .btn__link.btn__secondary {
        height: 40px;
    }

    .comments-list .comment__item .comment__avatar {
        width: 40px;
        height: 40px;
    }

    .comments-list .comment__item .comment__content {
        padding-left: 50px;
    }

    .comments-list .comment__item .comment__content .comment__desc {
        font-size: 13px;
    }

    .widget-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 10px;
    }

    .widget-nav .btn {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        margin-bottom: 0;
        font-size: 14px;
        padding: 10px 15px;
    }

    .widget-nav .widget-nav__img {
        max-width: 70px;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 70px;
        flex: 0 0 70px;
    }

    .widget-nav .widget-nav__img:before {
        display: none;
    }

    .widget-nav .widget-nav__prev,
    .widget-nav .widget-nav__next {
        max-width: 100%;
        padding: 15px;
    }

    .widget-nav .widget-nav__prev {
        margin-bottom: 0;
    }

    .comments-list .comment__item .nested__comment {
        padding: 20px 0 0 0;
        margin: 20px 0 0 40px;
    }

    .bordered-box .blog-share,
    .bordered-box .blog-tags {
        padding: 10px;
    }

    .blog-carousel .heading-wrapper {
        margin-bottom: 60px !important;
    }

    .blog-carousel .btn__explore {
        position: relative;
        right: 0;
    }

    .blog-carousel .heading__title {
        font-size: 18px;
    }

    .blog-carousel .slick-arrow {
        top: -30px;
    }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 575px) {
    .blog-author {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 20px;
    }

    .blog-author:after {
        top: 20px;
        bottom: 20px;
    }

    .blog-author .blog-author__avatar,
    .blog-author .blog-author__content {
        -webkit-box-flex: 100%;
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

/* --- Contact Layouts ---
   Used by: contact.php
*/
/* === Contact === */
.contact-info .boxes-wrapper {
    position: relative;
    z-index: 3;
    margin-top: -40px;
    overflow: hidden;
    border-radius: 10px;
}

.contact-info .boxes-wrapper>[class*="col-"]:nth-of-type(1) .contact-box {
    background-color: #2983fd;
}

.contact-info .boxes-wrapper>[class*="col-"]:nth-of-type(2) .contact-box {
    background-color: #3851a2;
}

.contact-info .boxes-wrapper>[class*="col-"]:nth-of-type(3) .contact-box {
    background-color: #2d4990;
}

.contact-info .contact-box {
    position: relative;
    padding: 45px;
    height: 100%;
}

.contact-info .contact-box .contact__title {
    font-size: 19px;
}

.contact-info .contact-box .contact__icon {
    font-size: 50px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
    max-width: 80px;
}

.contact-info .contact-box .contact__title,
.contact-info .contact-box .contact__icon,
.contact-info .contact-box .time__list li,
.contact-info .contact-box .contact__desc {
    color: #ffffff;
}

.contact-info .contact-box .phone__number {
    font-size: 23px;
    margin-top: 5px;
    font-weight: 600;
    color: #ffffff !important;
}

.contact-info .contact-box .phone__number .icon-phone {
    font-size: 17px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    background-color: #1ebaae;
}

.contact-info .contact-box .btn__white.btn__outlined {
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-panel {
    position: relative;
    z-index: 2;
    padding: 70px;
    border-radius: 10px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 5px 83px 0px rgba(3, 43, 86, 0.12);
    box-shadow: 0px 5px 83px 0px rgba(3, 43, 86, 0.12);
}

.contact-panel__title {
    font-size: 24px;
}

.contact-panel__desc {
    font-size: 15px;
}

textarea.form-control {
    min-height: 120px;
    padding-top: 16px;
}

.contact-layout1 .contact-panel__info {
    position: relative;
    padding: 50px;
    border-radius: 10px;
    overflow: hidden;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
}

.contact-layout1 .contact-panel__info .contact__list li {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-layout1 .contact-panel__info .contact__list li a {
    color: #ffffff;
}

.contact-layout1 .contact-panel__info .contact__list li i {
    margin-right: 8px;
}

.contact-layout1 .contact-panel__form {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 67%;
    flex: 0 0 67%;
    max-width: 67%;
}

.contact-layout1 .contact-panel__subtitle {
    font-size: 25px;
    font-weight: 400;
}

.contact-layout3 .contact-panel {
    padding: 0;
    overflow: hidden;
}

.contact-layout3 .contact-panel .contact-panel__header {
    padding: 37px 50px;
}

.contact-layout3 .contact-panel .contact-panel__header .contact-panel__title {
    color: #ffffff;
}

.contact-layout3 .btn__white:hover {
    color: #063464;
}

.contact-layout3 .btn__white:before {
    background-color: #c5ddfb !important;
}

.contact-layout3 .contact-panel__title,
.contact-layout3 .fancybox-item .fancybox__title {
    font-size: 30px;
    font-weight: 400;
    color: #c5ddfb;
}

.contact-layout4 .total__price {
    line-height: 1;
    font-size: 24px;
    max-width: 350px;
    padding: 20px 25px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #2983fd;
}

.contact-layout5 .list-items-light.list-items-layout2 li:before {
    color: #063464;
    border-color: #ffffff;
    background-color: #ffffff;
}

.locations-panel {
    margin-bottom: 65px;
}

.locations-panel .locations__panel-header {
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 25px;
}

.locations-panel .locations__panel-title {
    font-size: 25px;
    margin-bottom: 25px;
}

.locations-panel ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.locations-panel ul li {
    line-height: 40px;
    -ms-flex-preferred-size: 25%;
    flex-basis: 25%;
}

.locations-panel ul li a {
    color: #063464;
    font-size: 14px;
    font-weight: 700;
}

.locations-panel ul li a:hover {
    color: #2983fd;
}

.locations-panel ul li a i {
    margin-right: 10px;
}

@media (min-width: 1600px) {

    .contact-layout2,
    .contact-layout3 {
        margin: 0 60px;
    }
}

@media (min-width: 1300px) {

    .contact-layout2,
    .contact-layout3 {
        margin: 0 20px;
        border-radius: 10px;
        overflow: hidden;
    }

    .contact-layout5 {
        margin-right: 50px;
        margin-left: 50px;
        overflow: hidden;
        border-radius: 20px;
    }
}

@media (min-width: 1200px) {
    .contact-layout1 .contact-panel__form {
        padding-right: 95px;
    }

    .contact-layout2 .contact-panel {
        padding: 50px;
        margin-right: 50px;
    }

    .contact-layout2 .btn__secondary {
        height: 78px;
    }

    .contact-layout3 .contact-panel {
        margin-left: 50px;
    }

    .contact-layout3 .contact-panel .contact-panel__form {
        padding: 50px;
    }

    .contact-layout3 .btn__secondary {
        height: 78px;
    }

    .contact-layout4 .contact-panel {
        padding: 50px;
    }

    .contact-layout5 .contact-panel {
        margin-left: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .contact-panel {
        padding: 40px;
    }

    .contact-layout1 .contact-panel__form {
        padding-right: 30px;
    }
}

@media (max-width: 1199px) {
    .contact-layout3 .contact-panel {
        margin-top: 30px;
    }

    .contact-layout3 .contact-panel .contact-panel__form {
        padding: 30px;
    }

    .contact-layout3 .contact-panel .contact-panel__header {
        padding: 20px 30px;
    }

    .contact-layout4 .contact-panel {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .contact-info .contact-box {
        padding: 25px;
    }

    .contact-panel {
        padding: 20px;
    }

    .contact-panel .contact-panel__desc {
        font-size: 13px;
        line-height: 23px;
    }

    .contact-layout1 .contact-panel__info {
        padding: 20px;
        margin-top: 30px;
    }

    .contact-layout1 .contact-panel__info:after {
        top: 20px;
        bottom: 20px;
    }

    .contact-layout1 .contact-panel__info,
    .contact-layout1 .contact-panel__form {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-layout2 .contact-panel {
        margin-bottom: 30px;
    }

    .locations-panel {
        margin-bottom: 70px;
    }

    .locations-panel ul li {
        -ms-flex-preferred-size: 33.33333333%;
        flex-basis: 33.33333333%;
    }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {
    .contact-info .boxes-wrapper {
        margin-top: -20px;
    }

    .contact-info .boxes-wrapper .contact-box {
        padding: 15px;
    }

    .contact-info .boxes-wrapper .contact-box .contact__icon {
        font-size: 40px;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50px;
        flex: 0 0 50px;
        max-width: 50px;
    }

    .contact-info .boxes-wrapper .contact-box .contact__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .locations-panel {
        margin-bottom: 40px;
    }

    .locations-panel .locations__panel-header {
        margin-bottom: 20px;
    }

    .locations-panel .locations__panel-title {
        margin-bottom: 15px;
    }

    .locations-panel ul li {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    }
}

/* Mobile */
@media only screen and (max-width: 450px) {
    .locations-panel {
        margin-bottom: 30px;
    }

    .locations-panel ul li {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
}

/* --- Sidebar + Widgets ---
   Used by: service-*.php, news-detail.php
*/
/* === Sidebar === */
.sidebar.sticky-top {
    top: 100px;
}

.widget {
    position: relative;
    padding: 40px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
    background-color: #f0f1f1;
}

.widget:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 4px;
    background-color: #063464;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget .widget__title {
    font-size: 20px;
    margin-bottom: 23px;
}

.widget-search:after {
    display: none;
}

.widget-services:after {
    display: none;
}

.widget-search .widget__form-search {
    position: relative;
}

.widget-search .widget__form-search .form-control {
    height: 55px;
    border-radius: 9px;
    background-color: #ffffff;
}

.widget-search .widget__form-search .form-control:focus {
    border-color: #eef3fa;
}

.widget-search .widget__form-search .btn {
    position: absolute;
    top: 0;
    right: 20px;
    width: auto;
    color: #063464;
    padding: 0;
    min-width: 0;
    height: 55px;
    line-height: 55px;
}

.widget-search .widget__form-search .btn:before {
    display: none;
}

.widget-search .widget__form-search .btn:hover {
    color: #063464;
}

.widget-categories ul li {
    margin-bottom: 9px;
}

.widget-categories ul li:last-child {
    margin-bottom: 0;
}

.widget-categories ul li a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 5px;
    text-transform: capitalize;
    color: #063464;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 3px 63px 0px rgba(6, 52, 100, 0.11);
    box-shadow: 0px 3px 63px 0px rgba(6, 52, 100, 0.11);
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.widget-categories ul li a:hover {
    color: #2983fd;
}

.widget-categories ul li a .cat-count {
    font-size: 13px;
    font-weight: 400;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    background-color: #2983fd;
}

.widget-categories-layout2 li a {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.widget-services ul li {
    margin-bottom: 4px;
}

.widget-services ul li:last-child {
    margin-bottom: 0;
}

.widget-services ul li a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    padding: 22px 30px;
    text-transform: capitalize;
    border-radius: 6px;
    color: #063464;
    background-color: #ffffff;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.widget-services ul li a:hover {
    color: #ffffff;
    background-color: #2983fd;
}

.widget-services ul li.active a {
    color: #ffffff;
    background-color: #2983fd;
}

.widget-tags ul {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.widget-tags ul li a {
    display: block;
    font-size: 14px;
    line-height: 1;
    text-transform: capitalize;
    padding: 6px 10px;
    margin: 0 10px 10px 0;
    border-radius: 6px;
    color: #ffffff;
    background-color: #2983fd;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.widget-tags ul li a:hover {
    color: #ffffff;
    background-color: #063464;
}

/* Widget: Posts */
.widget-post-item {
    padding: 20px;
    border-radius: 8px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.widget-post-item:hover {
    background-color: #ffffff;
}

.widget-post-item .widget-post__title {
    font-size: 16px;
    margin-bottom: 0;
}

.widget-post-item .widget-post__title a {
    color: #063464;
}

.widget-post-item:hover .widget-post__title a {
    color: #2983fd;
}

.widget-post-item .widget-post__img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
    max-width: 80px;
    margin-right: 15px;
}

.widget-post-item .widget-post__img img {
    border-radius: 5px;
}

.widget-post-item .widget-post__date {
    color: #1d65b9;
    line-height: 1;
    font-size: 13px;
    margin-bottom: 4px;
}

/* Widget: Products */
.widget-poducts .widget-product-item {
    margin-bottom: 20px;
}

.widget-poducts .widget-product-item:last-of-type {
    margin-bottom: 0;
}

.widget-poducts .widget-product-item .widget-product__title {
    font-size: 15px;
    margin-bottom: 0;
}

.widget-poducts .widget-product-item .widget-product__title a {
    color: #063464;
}

.widget-poducts .widget-product-item:hover .widget-product__title a {
    color: #2983fd;
}

.widget-poducts .widget-product-item .widget-product__img {
    margin-right: 20px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    max-width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 2px;
}

.widget-poducts .widget-product-item .widget-product__img img {
    border-radius: 5px;
}

.widget-poducts .widget-product-item .widget-product__price {
    color: #2983fd;
    font-size: 15px;
    font-weight: 700;
}

/* Widget: Help */
.widget-help:after {
    display: none;
}

.widget-help.bg-overlay.bg-overlay-secondary {
    background-color: #063464;
}

.widget-help .widget__icon,
.widget-help .widget__title,
.widget-help .widget__subtitle,
.widget-help .widget__desc {
    color: #ffffff;
}

.widget-help .widget__title {
    font-size: 24px;
}

.widget-help .widget__subtitle {
    font-size: 25px;
    font-weight: 400;
}

.widget-help .widget__desc {
    font-size: 16px;
}

.widget-help .phone__number {
    margin-top: 5px;
    color: #ffffff !important;
}

/* Widget: Filter */
.widget-filter .ui-slider {
    background-color: rgba(34, 34, 34, 0.06);
    border-radius: 0;
    height: 4px;
    margin-bottom: 18px;
}

.widget-filter .ui-slider-range {
    height: 4px;
    background-color: #2983fd;
}

.widget-filter .price-output {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.widget-filter label {
    color: #616971;
    font-size: 14px;
    margin-bottom: 0;
}

.widget-filter input {
    background-color: transparent;
    color: #2983fd;
    font-size: 14px;
    border: none;
}

.widget-filter .btn__filter {
    font-size: 14px;
    font-weight: 700;
    color: #063464;
}

.ui-slider {
    position: relative;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-widget.ui-widget-content {
    border: none;
}

.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
    -webkit-filter: inherit;
    filter: inherit;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
    width: 10px;
    height: 10px;
    border-radius: 4px;
    background-color: #2983fd;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}

.sidebar-layout2 .widget {
    padding: 0;
    background-color: transparent;
}

.sidebar-layout2 .widget:after {
    display: none;
}

@media (min-width: 1200px) {
    .sidebar.has-marign-right {
        margin-right: 40px;
    }

    .sidebar.has-marign-left {
        margin-left: 40px;
    }

    .widget-member.shifted-top {
        margin-top: -450px;
    }

    .widget-download .btn {
        height: 80px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .widget-download .btn i,
    .widget-download .btn span {
        margin: 0 10px;
    }
}

@media (min-width: 320px) and (max-width: 992px) {
    .widget {
        padding: 20px;
        margin-bottom: 30px;
    }

    .widget:after {
        left: 20px;
        right: 20px;
    }
}

/* Mobile */
@media (min-width: 320px) and (max-width: 767px) {
    .widget {
        padding: 15px;
    }

    .widget:after {
        top: 15px;
        bottom: 15px;
    }

    .widget .widget__title {
        margin-bottom: 20px;
    }

    .widget-categories ul {
        padding: 0;
    }

    .widget-categories ul li a {
        font-size: 13px;
    }
}

/* --- 病媒防治服務 (Alert/Cert/Steps/Highlight) ---
   Used by: service-pest-control.php, service-disinfection.php
*/
/* === 病媒防治服務 === */
/* Alert Box */
.alert-box {
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
    background-color: #fff3cd;
    border-radius: 4px;
}

.alert-box.warning {
    border-color: #ff6b6b;
    background-color: #ffe3e3;
}

.alert-box h3,
.alert-box h6 {
    margin-bottom: 10px;
    color: #333;
}

.alert-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.alert-box p:last-child {
    margin-bottom: 0;
}

/* Certification */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.cert-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-item .feature__icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.cert-item h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cert-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

.cert-item p:last-child {
    margin-bottom: 0;
}

.cert-item small {
    font-size: 12px;
    color: #999;
}

/* Steps */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-item {
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.step-item:hover {
    border-color: #007bff;
}

.step-item h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
    font-weight: bold;
}

/* Highlight */
.highlight-text {
    padding: 15px 20px;
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    margin: 20px 0;
    font-weight: 500;
    border-radius: 4px;
    line-height: 1.6;
}

.info-highlight {
    padding: 15px 20px;
    background: #f0f8ff;
    border-left: 4px solid #17a2b8;
    margin: 15px 0;
    border-radius: 4px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

/* Source Note */
.source-note {
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
}

/* --- 病媒防治服務 (Pricing/Frequency/Area/IPM/Dengue/Timeline/Medicine/Safety/Tracking) ---
   Used by: service-pest-control.php
*/
/* Pricing Factors */
.pricing-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pricing-factors .factor-card {
    padding: 25px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-factors .factor-card:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.pricing-factors .factor-card i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.pricing-factors .factor-card h3,
.pricing-factors .factor-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.pricing-factors .factor-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Frequency Table */
.frequency-table {
    margin: 30px 0;
    overflow-x: auto;
}

.frequency-table table {
    width: 100%;
    border-collapse: collapse;
}

.frequency-table table th {
    background: #007bff;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.frequency-table table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #555;
}

.frequency-table table tr:hover {
    background: #f8f9fa;
}

.frequency-table table tr:last-child td {
    border-bottom: none;
}

/* Service Area */
.service-area-info {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.service-area-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.service-area-info .area-list {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
}

.service-area-info .area-note {
    font-size: 14px;
    color: #666;
}

/* IPM Components */
.ipm-components {
    margin: 30px 0;
}

.ipm-components h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.ipm-components .component-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ipm-components .component-item {
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.ipm-components .component-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
}

.ipm-components .component-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.compliance-note {
    padding: 15px 20px;
    background: #d4edda;
    border-left: 4px solid #28a745;
    margin-top: 20px;
    border-radius: 4px;
}

.compliance-note p {
    margin-bottom: 0;
    color: #155724;
    font-weight: 500;
}

/* Dengue Section */
.dengue-prevention {
    margin: 40px 0;
    padding: 30px;
    background: #fff9e6;
    border-radius: 8px;
}

.dengue-prevention h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.dengue-prevention .prevention-steps {
    margin-top: 30px;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-methods .contact-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-methods .contact-item:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.contact-methods .contact-item i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.contact-methods .contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-methods .contact-item a {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-methods .contact-item a:hover {
    text-decoration: underline;
}

.qualification-badge {
    margin-top: 30px;
    padding: 20px;
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.qualification-badge p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.qualification-badge p:last-child {
    margin-bottom: 0;
}

.qualification-badge p strong {
    color: #007bff;
}

/* Verification */
.verification-info {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.verification-info p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.verification-info p:last-child {
    margin-bottom: 0;
}

.verification-info p strong {
    font-weight: 600;
    color: #333;
}

.verification-info a {
    color: #007bff;
    word-break: break-all;
}

.verification-info a:hover {
    text-decoration: underline;
}

/* Prevention Targets */
.prevention-targets {
    margin: 40px 0;
}

.prevention-targets .target-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.prevention-targets .target-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.prevention-targets .target-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.prevention-targets .target-item p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Service Methods */
.service-methods {
    margin: 40px 0;
}

.service-methods .method-item {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-methods .method-item:last-child {
    margin-bottom: 0;
}

.service-methods .method-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-methods .method-item .method-icon {
    text-align: center;
    margin-bottom: 20px;
}

.service-methods .method-item .method-icon i {
    font-size: 48px;
    color: #007bff;
}

/* Timeline */
.service-process {
    margin: 40px 0;
}

.service-process .timeline {
    position: relative;
    padding-left: 0;
}

.service-process .timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.service-process .timeline-item:last-child {
    margin-bottom: 0;
}

.service-process .timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.service-process .timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-process .timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.service-process .timeline-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-process .timeline-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 20px;
    line-height: 1.6;
}

/* Medicine Info */
.medicine-info {
    margin: 40px 0;
}

.medicine-info .factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.medicine-info .factor-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.medicine-info .factor-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.medicine-info .factor-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Safety Notices */
.safety-notices {
    margin: 40px 0;
}

.safety-notices .notice-box {
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.safety-notices .notice-box:last-child {
    margin-bottom: 0;
}

.safety-notices .notice-before {
    background: #e7f3ff;
    border-color: #007bff;
}

.safety-notices .notice-during {
    background: #fff3cd;
    border-color: #ffc107;
}

.safety-notices .notice-after {
    background: #d4edda;
    border-color: #28a745;
}

.safety-notices .notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.safety-notices .notice-header i {
    font-size: 24px;
    margin-right: 10px;
    color: #333;
}

.safety-notices .notice-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.safety-notices ul {
    list-style: none;
    padding-left: 0;
}

.safety-notices ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.safety-notices ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1.6;
}

/* Tracking Info */
.tracking-info {
    margin: 40px 0;
}

.tracking-info .table-responsive {
    margin: 30px 0;
}

/* RWD */
@media (max-width: 768px) {

    .cert-grid,
    .step-grid,
    .pricing-factors,
    .ipm-components .component-list,
    .contact-methods,
    .medicine-info .factors-grid {
        grid-template-columns: 1fr;
    }

    .frequency-table {
        font-size: 13px;
    }

    .frequency-table th,
    .frequency-table td {
        padding: 10px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }

    .service-process .timeline-item {
        padding-left: 60px;
    }

    .service-process .timeline-badge {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .alert-box,
    .highlight-text,
    .info-highlight {
        padding: 15px;
    }
}

/* --- Services (carousel + cards) ---
   Used by: portfolio.php, service-post-decoration-cleaning.php
*/
/* === Services === */
.service-item {
    position: relative;
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 40px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.05);
    box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.05);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.service-item .service__body {
    position: relative;
    z-index: 2;
}

.service-item .service__icon {
    position: relative;
    height: 80px;
    color: #1d65b9;
    font-size: 75px;
    line-height: 1;
    margin-bottom: 25px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.service-item .service__icon>i {
    position: relative;
    z-index: 1;
}

.service-item .service__title {
    font-size: 23px;
    margin-bottom: 31px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.service-item .service__desc {
    font-size: 15px;
    margin-bottom: 32px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

/* Service links */
.service-item .service__desc a {
    color: #004488;
    text-decoration: underline;
    font-weight: 600;
}

.service-item .service__desc a:hover {
    color: #003366;
}

/* Service title links */
.service-item .service__title a {
    color: #004488;
    text-decoration: underline;
}

.service-item .service__title a:hover {
    color: #003366;
}

.service-item .btn:not(.btn__link) {
    height: 65px;
}

.service-item .btn.btn__secondary:hover {
    color: #063464;
}

.service-item .btn.btn__secondary:before {
    background-color: #c5ddfb !important;
}

.service-item:hover .btn__secondary {
    color: #063464;
    background-color: #c5ddfb;
}

.services-layout1 .service-item {
    overflow: hidden;
}

.services-layout1 .service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: -1px;
    bottom: 0;
    z-index: 2;
    border-radius: 12px;
    background-color: #ffffff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 0);
    clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 0);
}

.services-layout1 .service-item .service__overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    -webkit-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

.services-layout1 .service-item .service__icon:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 84px;
    height: 80px;
    background-image: url(../images/icons/shape2.svg);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.services-layout1 .service-item:hover:before {
    background: rgba(41, 131, 253, 0.85);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}

.services-layout1 .service-item:hover .service__overlay {
    width: 100%;
    height: 100%;
}

.services-layout1 .service-item:hover .service__icon:before {
    opacity: 0;
}

.services-layout1 .service-item:hover .service__title,
.services-layout1 .service-item:hover .service__desc,
.services-layout1 .service-item:hover .service__icon {
    color: #ffffff;
}

.services-layout2 .service-item {
    padding: 0;
    background-color: transparent;
}

.services-layout2 .service-item .service__meta {
    position: relative;
    padding-bottom: 80px;
    overflow: hidden;
    border-radius: 0 0 7px 7px;
}

.services-layout2 .service-item .service__icon {
    position: absolute;
    top: -40px;
}

.services-layout2 .service-item .service__body {
    z-index: 3;
    padding: 50px 50px 30px;
    border-radius: 7px 7px 0 0;
    background-color: #ffffff;
}

.services-layout2 .service-item .service__body .service__desc {
    margin-bottom: 0;
}

.services-layout2 .service-item .service__features {
    margin-top: -20px;
    position: relative;
    z-index: 2;
    padding: 20px 50px 50px;
    background-color: #ffffff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.services-layout2 .service-item .service__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -120px;
    z-index: 1;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.services-layout2 .service-item .service__overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(#2983fd), color-stop(50%, rgba(142, 189, 253, 0.1)), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(to top, #2983fd 0%, rgba(142, 189, 253, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.services-layout2 .service-item .service__overlay .btn {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
}

.services-layout2 .service-item:hover .service__features {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.services-layout2 .service-item:hover .service__overlay {
    bottom: 0;
}

.services-layout2.services-carousel .service-item {
    margin-top: 40px;
}

.services-carousel .service-item {
    -webkit-box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.05);
    box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.05);
}

.services-carousel .service-item:hover {
    -webkit-box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.15);
    box-shadow: 0px 5px 83px 0px rgba(9, 29, 62, 0.15);
}

.services-carousel .slick-dots {
    text-align: center;
}

.services-carousel .slick-list {
    margin: -15px;
    overflow: visible;
}

.services-carousel .slick-slide {
    margin: 15px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.services-carousel .slick-slide.slick-active {
    opacity: 1;
    visibility: visible;
}

.services-carousel .slick-slide:not(.slick-active) {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 1199px) {
    .services-layout2 .service-item .service__body {
        padding: 50px 20px 20px;
    }

    .services-layout2 .service-item .service__features {
        padding: 20px;
    }

    .services-layout2 .service-item .service__title {
        margin-bottom: 10px;
    }

    .services-layout2 .service-item .service__overlay .btn {
        left: 20px;
        right: 20px;
    }
}

/* Mobile */
@media (max-width: 992px) {
    .service-item {
        padding: 20px;
    }

    .service-item .service__icon {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .service-item .service__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .service-item .service__desc {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .services-layout1 .service-item .service__icon {
        height: auto;
    }

    .services-layout1 .service-item .service__icon:before {
        display: none;
    }

    .services-layout1 .service-item .btn:not(.btn__link) {
        height: 50px;
    }

    .services-layout2 .service-item {
        margin-bottom: 30px;
    }

    .services-layout2 .service-item .service__body {
        padding: 15px 0 0 0;
    }

    .services-layout3 .service-item {
        padding: 20px;
    }
}

/* --- Services Carousel: pre-init layout (FOUC prevention) ---
   Before slick adds .slick-initialized, show only the visible slides
   in a CSS grid matching data-slick responsive breakpoints:
   ≥992 → 3 columns | <992 → 2 columns | <767 → 1 column
*/
.services-carousel .slick-carousel:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.services-carousel .slick-carousel:not(.slick-initialized)>.service-item {
    display: none;
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
    box-sizing: border-box;
}

.services-carousel .slick-carousel:not(.slick-initialized)>.service-item:nth-child(-n+3) {
    display: block;
}

@media (max-width: 991px) {
    .services-carousel .slick-carousel:not(.slick-initialized)>.service-item {
        flex-basis: calc(50% - 30px);
    }

    .services-carousel .slick-carousel:not(.slick-initialized)>.service-item:nth-child(3) {
        display: none;
    }
}

@media (max-width: 766px) {
    .services-carousel .slick-carousel:not(.slick-initialized)>.service-item {
        flex-basis: calc(100% - 30px);
    }

    .services-carousel .slick-carousel:not(.slick-initialized)>.service-item:nth-child(2) {
        display: none;
    }
}