
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}


/*** Topbar Start ***/
.site-topbar {
    background: #f0f1f5;
    border-bottom: 1px solid #e2e4ea;
    padding: 9px 0;
}

.topbar-text {
    color: #6b7280;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.topbar-email {
    color: #6b7280;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar-email i {
    color: #4361ee;
    font-size: 0.78rem;
}

.topbar-email:hover {
    color: #4361ee;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eef0f5;
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.site-nav {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 0;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 40px;
    text-decoration: none;
}

.nav-logo img {
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 0.85;
}

/* Nav Menu */
.nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-custom {
    display: flex;
    align-items: center;
}

.nav-link-custom {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link-custom:hover {
    color: #4361ee;
    background: rgba(67, 97, 238, 0.05);
}

.nav-link-custom.active {
    color: #4361ee;
    font-weight: 600;
    background: rgba(67, 97, 238, 0.07);
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2.5px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
    border-radius: 2px;
}

/* Phone CTA */
.nav-phone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 28px;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(67, 97, 238, 0.35);
}

.nav-phone-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
}

.nav-phone-num {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 10;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: #f3f4f6;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    .site-nav {
        height: 62px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        display: block;
        top: 62px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #eef0f5;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-menu.show {
        max-height: 500px;
        padding: 12px 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 0 20px;
        gap: 2px;
    }

    .nav-item-custom {
        width: 100%;
    }

    .nav-link-custom {
        width: 100%;
        padding: 13px 16px;
        border-radius: 8px;
        color: #374151;
    }

    .nav-link-custom.active {
        color: #4361ee;
        background: rgba(67, 97, 238, 0.06);
    }

    .nav-link-custom.active::after {
        display: none;
    }

    .nav-phone {
        display: none;
    }
}

@media (min-width: 992px) {
    .site-nav {
        height: 72px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        max-height: none;
        overflow: visible;
    }
}

/* Keep legacy dropdown compatibility */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Page Header — Modern Light Start ***/
.page-header {
    background: #f8f9fc;
    border-bottom: 1px solid #eef0f5;
    padding: 56px 0;
}

.page-header-content {
    text-align: center;
}

.page-header-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #11162b;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.page-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.25s ease;
}

.page-breadcrumb a:hover {
    color: #4361ee;
}

.breadcrumb-sep {
    color: #c4c9d4;
}

.page-breadcrumb .current {
    color: #4361ee;
    font-weight: 600;
}
/*** Page Header — Modern Light End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}
.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Feature End ***/


/*** Service Start ***/
.service .service-item {
    border-radius: 10px;
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--bs-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}
/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Article List Start ***/
.article-list-section {
    padding: 64px 0 80px;
    background: #ffffff;
}

/* Card */
.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 28px;
    height: calc(100% - 28px);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Image */
.article-img-link {
    display: block;
    text-decoration: none;
}

.article-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img img {
    transform: scale(1.06);
}

/* Category Badge */
.article-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 16px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 50px;
    letter-spacing: 0.03em;
    z-index: 2;
}

/* Info Body */
.article-info {
    padding: 24px;
}

/* Meta Row */
.article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.meta-item {
    font-size: 0.78rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #4361ee;
    font-size: 0.72rem;
}

/* Title */
.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-title a {
    color: #11162b;
    text-decoration: none;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a:hover {
    color: #4361ee;
}

/* Description */
.article-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4361ee;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.article-link:hover {
    color: #3a0ca3;
}

.article-link:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eef0f5;
}

.pagination-wrap .dede_pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrap .dede_pages li {
    list-style: none;
}

.pagination-wrap .dede_pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid transparent;
}

.pagination-wrap .dede_pages a:hover {
    color: #4361ee;
    background: rgba(67, 97, 238, 0.06);
    border-color: rgba(67, 97, 238, 0.15);
}

.pagination-wrap .dede_pages a[href] {
    cursor: pointer;
}

/* 当前页 */
.pagination-wrap .dede_pages .thisclass a {
    color: #fff;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    font-weight: 600;
    border: none;
}

/* 禁用状态（首页/末页无链接时） */
.pagination-wrap .dede_pages li:not(.thisclass) a:not([href]) {
    color: #c0c4cc;
    background: #f3f4f6;
    cursor: default;
}

/* pageinfo 记录信息 */
.pagination-wrap .dede_pages .pageinfo {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 8px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Article List Responsive */
@media (max-width: 767.98px) {
    .article-list-section {
        padding: 40px 0 50px;
    }

    .article-img {
        height: 200px;
    }

    .article-card {
        margin-bottom: 20px;
        height: calc(100% - 20px);
    }

    .article-info {
        padding: 18px;
    }
}

@media (max-width: 575.98px) {
    .article-img {
        height: 180px;
    }

    .article-title {
        font-size: 1rem;
    }
}
/*** Article List End ***/


/*** Article Detail Start ***/
.article-detail-section {
    padding: 60px 0 80px;
    background: #fff;
}

.article-detail-grid {
    max-width: 860px;
    margin: 0 auto;
}

/* Meta Bar */
.article-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f5;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #6b7280;
}

.detail-meta-item i {
    color: #4361ee;
    font-size: 0.82rem;
}

/* Feature Image */
.article-detail-img {
    margin-bottom: 36px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.article-detail-img:has(img[src=""]) {
    display: none;
}

/* Article Body Typography */
.article-detail-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #374151;
    word-break: break-word;
}

.article-detail-body h1,
.article-detail-body h2,
.article-detail-body h3,
.article-detail-body h4,
.article-detail-body h5,
.article-detail-body h6 {
    color: #11162b;
    font-weight: 700;
    margin: 1.6em 0 0.8em;
    line-height: 1.35;
}

.article-detail-body h2 {
    font-size: 1.45rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f5;
}

.article-detail-body h3 {
    font-size: 1.25rem;
}

.article-detail-body p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.article-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.article-detail-body a {
    color: #4361ee;
    text-decoration: none;
    border-bottom: 1px dashed rgba(67, 97, 238, 0.35);
    transition: all 0.25s ease;
}

.article-detail-body a:hover {
    color: #3a0ca3;
    border-bottom-style: solid;
}

.article-detail-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f8f9fc;
    border-left: 4px solid #4361ee;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
    font-style: italic;
}

.article-detail-body ul,
.article-detail-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.article-detail-body li {
    margin-bottom: 0.4em;
}

.article-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.article-detail-body table th,
.article-detail-body table td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}

.article-detail-body table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #11162b;
}

.article-detail-body table tr:nth-child(even) td {
    background: #fafbfc;
}

.article-detail-body code {
    background: #f1f3f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #e83e8c;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.article-detail-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-detail-body pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

.article-detail-body strong {
    color: #1f2937;
    font-weight: 600;
}

.article-detail-body hr {
    border: none;
    border-top: 1px solid #eef0f5;
    margin: 32px 0;
}

/* Company Intro */
.company-intro {
    margin-top: 48px;
}

.company-intro-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.company-intro-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #4361ee;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 50px;
    letter-spacing: 0.04em;
}

.company-intro-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #11162b;
    margin: 0;
}

.company-intro-card {
    background: #f8f9fc;
    border: 1px solid #eef0f5;
    border-radius: 16px;
    padding: 24px 26px;
}

.company-intro-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-intro-logo {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(67, 97, 238, 0.22);
    overflow: hidden;
}

.company-intro-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    z-index: 1;
}

.company-intro-identity {
    min-width: 0;
}

.company-intro-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.company-intro-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #11162b;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.company-intro-body {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e6e9f2;
}

.company-intro-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
}

.company-intro-text:empty {
    display: none;
}

.company-intro-body:has(.company-intro-text:empty) {
    display: none;
}

/* Article Footer */
.article-detail-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eef0f5;
}

/* Prev / Next Navigation */
.article-prevnext {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.article-prevnext a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #f8f9fc;
    border: 1px solid #eef0f5;
    border-radius: 12px;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-prevnext a:hover {
    background: rgba(67, 97, 238, 0.04);
    border-color: rgba(67, 97, 238, 0.2);
    color: #4361ee;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.08);
}

.article-prevnext a[href]:only-child {
    grid-column: 1 / -1;
}

/* DedeCMS prevnext 原始输出容错：隐藏 "上一篇：" 文字前缀，已通过内容处理 */
.article-prevnext::before {
    display: none;
}

/* Article Detail Responsive */
@media (max-width: 767.98px) {
    .article-detail-section {
        padding: 40px 0 60px;
    }

    .article-detail-meta {
        gap: 6px 14px;
    }

    .detail-meta-item {
        font-size: 0.8rem;
    }

    .article-detail-img {
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .article-detail-img img {
        max-height: 300px;
    }

    .article-detail-body {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .article-detail-body h2 {
        font-size: 1.25rem;
    }

    .article-detail-body h3 {
        font-size: 1.1rem;
    }

    .article-prevnext {
        grid-template-columns: 1fr;
    }

    .article-detail-footer {
        margin-top: 32px;
        padding-top: 24px;
    }

    .company-intro {
        margin-top: 32px;
    }

    .company-intro-card {
        padding: 18px;
    }

    .company-intro-logo {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 1.15rem;
    }

    .company-intro-name {
        font-size: 1.02rem;
    }
}

@media (max-width: 575.98px) {
    .article-detail-section {
        padding: 32px 0 48px;
    }

    .article-detail-body {
        font-size: 0.9rem;
    }

    .article-detail-body blockquote {
        padding: 14px 16px;
        margin: 16px 0;
    }

    .article-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
/*** Article Detail End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/


/*** Footer Start ***/
.site-footer {
    background: #11162b;
    padding: 64px 0 48px;
    color: rgba(255, 255, 255, 0.7);
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
}

/* About Column */
.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo img {
    max-height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.3);
}

/* Heading */
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
    border-radius: 2px;
}

/* Link Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover::before {
    background: #4361ee;
}

/* Contact Column */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon-box {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.12);
    border-radius: 10px;
    color: #4361ee;
    font-size: 0.85rem;
}

.contact-label {
    display: block;
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

a.contact-value:hover {
    color: #4361ee;
}

.address-text {
    line-height: 1.6;
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .footer-col-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding: 48px 0 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/*** Copyright Start ***/
.site-copyright {
    background: #0d1124;
    padding: 16px 0;
}

.copyright-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.35);
}

.copyright-icp a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.25s ease;
}

.copyright-icp a:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 575.98px) {
    .copyright-inner {
        flex-direction: column;
        text-align: center;
    }
}
/*** Copyright End ***/


/* ========================================================
   Homepage Hero Section - Light Dynamic
   ======================================================== */
.home-hero {
    position: relative;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef3ff 48%, #f8faff 100%);
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-gradient-shift {
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(99, 140, 255, 0.34), transparent 52%),
        radial-gradient(ellipse at 82% 12%, rgba(167, 139, 250, 0.26), transparent 46%),
        radial-gradient(ellipse at 72% 78%, rgba(56, 189, 248, 0.22), transparent 50%),
        radial-gradient(ellipse at 12% 84%, rgba(165, 180, 252, 0.28), transparent 42%);
    animation: heroMeshMove 18s ease-in-out infinite alternate;
}

@keyframes heroMeshMove {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-5%, 4%) scale(1.08); }
    100% { transform: translate(4%, -3%) scale(1.03); }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    animation: heroOrbFloat 16s ease-in-out infinite;
    will-change: transform;
}

.hero-orb-1 {
    width: 420px;
    height: 420px;
    background: #93c5fd;
    opacity: 0.5;
    top: -120px;
    right: 6%;
    animation-duration: 14s;
}

.hero-orb-2 {
    width: 340px;
    height: 340px;
    background: #c4b5fd;
    opacity: 0.42;
    bottom: -80px;
    left: -40px;
    animation-duration: 18s;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 220px;
    height: 220px;
    background: #7dd3fc;
    opacity: 0.38;
    top: 38%;
    left: 42%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.hero-orb-4 {
    width: 180px;
    height: 180px;
    background: #a5b4fc;
    opacity: 0.45;
    top: 18%;
    right: 28%;
    animation-duration: 20s;
    animation-delay: -8s;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(28px, -36px) scale(1.08); }
    66% { transform: translate(-22px, 18px) scale(0.94); }
}

.hero-beam {
    position: absolute;
    width: 920px;
    height: 920px;
    right: -18%;
    top: -28%;
    border-radius: 50%;
    background: conic-gradient(from 180deg, transparent 0deg, rgba(67, 97, 238, 0.1) 36deg, transparent 88deg);
    animation: heroSpin 28s linear infinite;
    opacity: 0.85;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(67, 97, 238, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 97, 238, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: heroGridDrift 32s linear infinite;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 28%, transparent 76%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 28%, transparent 76%);
}

@keyframes heroGridDrift {
    from { background-position: 0 0; }
    to { background-position: 56px 56px; }
}

.hero-particles,
.hero-particles::before,
.hero-particles::after {
    position: absolute;
    inset: 0;
}

.hero-particles::before,
.hero-particles::after {
    content: "";
    background-image: radial-gradient(circle, rgba(67, 97, 238, 0.38) 1.4px, transparent 1.8px);
    background-size: 92px 92px;
    animation: heroParticleDrift 22s linear infinite;
    opacity: 0.55;
}

.hero-particles::after {
    background-size: 128px 128px;
    background-position: 40px 20px;
    animation-duration: 34s;
    animation-direction: reverse;
    opacity: 0.35;
}

@keyframes heroParticleDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-92px); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.min-vh-80 {
    min-height: 70vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4361ee;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(67, 97, 238, 0.16);
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.08);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4361ee;
    border-radius: 50%;
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.35); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #11162b;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.28);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(67, 97, 238, 0.4);
    color: #fff;
}

.hero-btn-outline {
    color: #4361ee;
    border: 1px solid rgba(67, 97, 238, 0.22);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.hero-btn-outline:hover {
    border-color: #4361ee;
    color: #3a0ca3;
    background: #fff;
    box-shadow: 0 8px 22px rgba(67, 97, 238, 0.12);
}

.hero-visual {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-visual-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(67, 97, 238, 0.28);
    border-radius: 50%;
    animation: heroSpin 20s linear infinite;
}

.hero-visual-ring-sm {
    width: 75%;
    height: 75%;
    border-color: rgba(124, 58, 237, 0.18);
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes heroSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-visual-center {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(67, 97, 238, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(67, 97, 238, 0.12);
}

.hero-logo-img {
    max-width: 90px;
    max-height: 90px;
}

.hero-visual-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(67, 97, 238, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4361ee;
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(67, 97, 238, 0.12);
    animation: heroFloat 3s ease-in-out infinite;
}

.hero-visual-icon-1 { top: 10px; right: 30px; animation-delay: 0s; }
.hero-visual-icon-2 { bottom: 40px; right: 5px; animation-delay: 0.5s; }
.hero-visual-icon-3 { bottom: 40px; left: 5px; animation-delay: 1s; }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-scroll span {
    font-size: 0.72rem;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(67, 97, 238, 0.28);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.hero-scroll-wheel {
    width: 3px;
    height: 8px;
    background: #4361ee;
    border-radius: 2px;
    animation: heroScrollWheel 2s ease-in-out infinite;
}

@keyframes heroScrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 100px 0 80px;
    }
    .hero-visual {
        display: none;
    }
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        padding: 80px 0 60px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .hero-orb-1,
    .hero-orb-2 {
        width: 240px;
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-gradient-shift,
    .hero-orb,
    .hero-beam,
    .hero-grid-pattern,
    .hero-particles::before,
    .hero-particles::after,
    .hero-visual-ring,
    .hero-visual-icon,
    .badge-dot,
    .hero-scroll-wheel {
        animation: none;
    }
}


/* ========================================================
   Homepage Stats Section
   ======================================================== */
.home-stats {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    padding: 0 0 60px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(67, 97, 238, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4361ee;
    font-size: 1.3rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b0f1c;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: #6c757d;
    font-weight: 500;
}

/* Stats Responsive */
@media (max-width: 575.98px) {
    .home-stats {
        margin-top: -30px;
    }
    .stat-card {
        padding: 20px 14px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
}


/* ========================================================
   Homepage Shared Section Header
   ======================================================== */
.home-section {
    padding: 80px 0;
}

.bg-light-subtle {
    background: #f8f9fc;
}

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 5px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4361ee;
    background: rgba(67, 97, 238, 0.08);
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #0b0f1c;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1rem;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
}


/* ========================================================
   Homepage Cards (Service / Blog)
   ======================================================== */
.home-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09);
}

.home-card-img {
    position: relative;
    overflow: hidden;
}

.home-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-card:hover .home-card-img img {
    transform: scale(1.06);
}

.home-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 14px;
    font-size: 0.73rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 50px;
}

.home-card-body {
    padding: 22px 22px 26px;
}

.home-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

.home-card-title a {
    color: #0b0f1c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.home-card-title a:hover {
    color: #4361ee;
}

.home-card-text {
    font-size: 0.88rem;
    color: #6c757d;
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef0f5;
}

.home-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #9ca3af;
}

.home-card-meta-item i {
    color: #4361ee;
    font-size: 0.72rem;
}

/* Larger card variant (for 3-col) */
.home-card-lg .home-card-img img {
    height: 250px;
}

/* More Button */
.home-btn-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4361ee;
    border: 2px solid #4361ee;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-btn-more:hover {
    background: #4361ee;
    color: #fff;
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.3);
}

.home-btn-more i {
    font-size: 0.8rem;
}

/* Home Cards Responsive */
@media (max-width: 991.98px) {
    .home-section {
        padding: 50px 0;
    }
    .section-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 767.98px) {
    .home-card-img img {
        height: 200px;
    }
    .home-card-lg .home-card-img img {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .home-section {
        padding: 40px 0;
    }
    .home-card-img img {
        height: 180px;
    }
    .home-card-lg .home-card-img img {
        height: 200px;
    }
}


