﻿/********** Template CSS **********/
:root {
    --primary: #65B530;
    --secondary: #9B9B9B;
    --light: #F5F5F5;
    --dark: #161616;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    
}

.btn.btn-primary {
    color: #FFFFFF;
    background-color: #e7a225 !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    color: #e7a225;
}

.fixed-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out;
    z-index: 999;
    display: none;
}

.fixed-bar img {
    height: 40px;
    max-width: 150px;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #e7a225;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: #e7a225 !important;
}


/*** Header ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(22, 22, 22, .7);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background:  #e7a225
    border-color:  #e7a225
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: #e7a225;
    border-color: #e7a225;
}

.page-header {
    position: relative;
    overflow: hidden; /* 避免图片溢出 */
    min-height: 400px; /* 设置最小高度 */
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片填充并保持比例 */
    z-index: -1; /* 图片置于背景层 */
}

/* 针对小屏幕优化 */
@media (max-width: 768px) {
    .bg-img {
        object-fit: contain; /* 小屏幕完整显示图片 */
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #958e75;
}
.bg-custom {
    background-color: #fff8db !important;
}
.bg-custom2 {
    background-color: #c7be95 !important;
}
.bg-customcardflip {
    background-color: #908967  !important;
}
.custom-color {
    color: #000 !important;

}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text {
    animation: fadeInUp 1s ease-out;
}



/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    margin-top: 20px;  
    margin-bottom: 20px; 
}

.service-item {
    border-color: rgba(0, 0, 0, .02) !important;
}


.service-item:hover .btn {
    width: 140px;
}
.service-item:hover {
        transform: translateY(-5px); 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
    }


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
        }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
        text-align: center;
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
        text-align: center;
    }
}



/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color:  #e7a225
    border-color:  #e7a225
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    max-width: 100%;  /* 保证容器的宽度不超出 */
}

.portfolio-inner img {
    transition: .5s;
    max-width: 100%;  /* 图片最大宽度 100% */
    height: auto;  /* 自动调整高度，保持比例 */
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .7);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color:  #e7a225
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color:  #e7a225
    letter-spacing: 1px;
    box-shadow: none;
}

.container-re {
            background: white;
            padding: 40px;
            border-radius: 20px;
            width: 600px;
            text-align: center;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease-in-out;
        }
.container-re:hover {
            background: rgba(200, 200, 200, 0.6);
            backdrop-filter: blur(8px);
            transform: scale(1.05);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        .header-re {
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: opacity 0.3s ease-in-out;
        }
        .title-re {
            font-size: 28px;
            font-weight: bold;
            color: #222;
            margin-top: 20px;
            transition: opacity 0.3s ease-in-out;
        }
        .divider-re {
            width: 80px;
            height: 5px;
            background-color: #333;
            margin: 15px auto;
            transition: opacity 0.3s ease-in-out;
        }
        .icon img-re {
            width: 120px;
            transition: opacity 0.3s ease-in-out;
        }
        .hover-text-re {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #000;
            font-size: 18px;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            text-align: center;
            width: 80%;
        }
        .container:hover .hover-text-re {
            opacity: 1;
        }
        .container:hover .header-re,
        .container:hover .title-re,
        .container:hover .divider-re,
        .container:hover .icon img-re {
            opacity: 0.2;
        }
        
.btn-square:hover .hover-text {
    opacity: 1;
}

.col-md-6:hover .h-100 {
    transform: scale(1.05); 
        transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-square img {
    object-fit: cover;
}

.col-md-6:hover .btn-square img {
    transform: translateY(-5px); 
    transition: all 0.3s ease-in-out;
    
}    
.btn-square{
	width: 100%;
max-width: 450px;

}




/* 整个容器，控制翻转 */
.flip-box {
    width: 100%;
     min-height: 450px; 
     perspective: 1000px; /* 3D 视角 */
}

/* 内部翻转容器 */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 250px; 
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out; }

/* 正面 & 背面 */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100% ;
    height: 100%;
    backface-visibility: hidden; 
    }

/* 正面 */
.flip-box-front {
    background: white;
}

/* 背面 */
.flip-box-back {
    background: #908967;
    min-height: 450px;  
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    position: relative; 
    }

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}



.nav-item.nav-link {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}

/* 悬停时，轻微上浮，增加立体感 */
.nav-item.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}


.nav-item.nav-link:active {
    transform: translateY(2px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600&display=swap');

.desc {
    font-size: 20px; 
    font-family: 'Playfair Display', serif; 
    font-weight: 600; 
    letter-spacing: 1.2px; 
    line-height: 1.6; 
    max-width: 80%;
    text-transform: capitalize; 
    color: #f5f5f5; 
}


.flip-logo {
     max-width: 100px;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
    margin-top: 250px; /* 让 Logo 始终在底部 */
    padding-bottom: 20px; /* 调整 Logo 和底部的间距 */
}
.flip-logo:hover {
    opacity: 1; /* 悬停时全显 */
}
.container-service {
    max-width: 1300px; 
    margin: auto;
}


.service-body {
            font-family: Arial, sans-serif;
            text-align: center;
            margin: 0;
            padding: 0;
        }
        .service-container {
            padding: 40px 20px;
        }
        .service-title {
            font-size: 24px;
            margin-bottom: 10px;
        }
        .service-underline {
            width: 50px;
            height: 2px;
            background-color: #0044cc;
            margin: 0 auto 30px auto;
        }
        .service-icons {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        .service-icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        .service-icon-item:hover {
            transform: scale(1.1);
            opacity: 0.8;
        }
        .service-icon-item img {
            width: 60px;
            height: 60px;
            margin-bottom: 10px;
            cursor: pointer;
        }
        .service-icon-item p {
            font-size: 16px;
            margin: 0;
            cursor: pointer;
        }
.about-text {
    text-align: center;          
    font-size: 22px;             
    font-family: "Georgia", serif; 
    font-weight: 500;            
    color: #222;                 
    max-width: 850px;            
    margin: 0 auto;              
    line-height: 2;              
    letter-spacing: 0.5px;       
    animation: fadeIn 1.5s ease-in-out;  
}

.office-img {
    height: 460px;               /* 固定高度 */
    max-width: 650px;            /* 限制最大宽度 */
    display: block;              /* 避免额外的间隙 */
    margin: 40px auto;           /* 上下间距 50px，左右自动居中 */
}



.vision-mission {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}


.vision-box, .mission-box {
    padding: 20px;
    border-radius: 10px;
}


.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}


.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background-color: #c7be95; /* 蓝色强调色 */
    margin: 5px auto 15px;
    border-radius: 3px;
}


.section-text {
    font-size: 18px;
    font-family: "Georgia", serif;
    font-weight: 500;
    line-height: 1.8;
    color: #444;
}


@media (max-width: 768px) {
    .vision-box, .mission-box {
        width: 100%;
        padding: 20px 10px;
    }
}


.partner-logos {
    gap: 40px; /* Logo 之间的间距 */
    padding: 20px 0;
}


.partner-logo {
    width: 150px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 悬停效果 */
}


.partner-logo img {
    width: 100%;
    height: auto; 
}


.partner-logo:hover {
    transform: scale(1.1); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

.service-icon img, .about-icon img {
    max-width: 100px;
    position: relative;
    z-index: 10;
}

/* 动画图标：固定在视窗内移动 */
.floating-icon {
    position: fixed;
    transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 999;
}

.elementor-background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* 确保视频在最底层 */
    pointer-events: none; /* 防止视频遮挡用户操作 */
}

/* 嵌入视频设置全屏 */
.elementor-background-video-container .elementor-background-video-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保视频填充整个容器 */
    transform: translate(-50%, -50%);
}

/* 确保 section 正常显示 */
.elementor-section {
    position: relative;
    overflow: hidden;
}

/* 背景覆盖层样式（可调整透明度） */
.elementor-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 半透明黑色遮罩 */
    z-index: 1; /* 叠加在视频之上 */
}

/* 隐藏手机端背景视频 */
@media (max-width: 768px) {
    .elementor-hidden-phone {
        display: none;
    }
}

.background-clip{
	position:absolute;
	z-index:-1;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/*** Product Start ***/
.product .nav .nav-item {
    width: 75%;
    border: 1px solid ;
    background: var(--bs-light);
}

.product .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}
.product .nav-item a.active {
    background: #c7be95; 
}

.product .nav-item a span {
    color: var(--bs-dark);
}

.product .nav-item a.active span {
    color: var(--bs-white);
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    position: absolute;
    padding: 10px 35px;
    border: 1px solid var(--bs-black);
    color: var(--bs-dark);
    background: var(--bs-light);
    transition: 0.5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #c7be95;
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .product-carousel .owl-nav .owl-prev {
        top: 0;
        left: -115px;
    }
    
    .product-carousel .owl-nav .owl-next {
        bottom: 0;
        left: -115px;
    }
}

@media (max-width: 991px) {
    .owl-stage-outer {
        margin-bottom: 70px;
    }
    .product-carousel .owl-nav .owl-prev {
        bottom: -70px;
        left: 0;
    }

    .product-carousel .owl-nav .owl-next {
        bottom: -70px;
        right: 0;
    }

    .product.nav {
        display: flex;
        justify-content: center;
    }
}
/*** Service End ***/

/*** Projects Start ***/
.projects .nav-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .09);
}

.projects-item .projects-content {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.projects .nav-item a.active {
    background: var(--bs-primary);
}

.projects .nav-item a span {
    color: var(--bs-dark);
}

.projects .nav-item a.active span {
    color: var(--bs-white);
}

.projects .nav-item a.active .projects-icon {
    background: var(--bs-dark) !important;
}

.projects .nav-item a.active .projects-icon span {
    color: var(--bs-primary);
}
/*** Projects End ***/
.cctv-text {
    text-align: center;          
    font-size: 22px;             
    font-family: "Georgia", serif; 
    font-weight: 500;            
    color: #222;                 
    max-width: 850px;            
    margin: 0 auto;              
    line-height: 2;              
    letter-spacing: 0.5px;       
    animation: fadeIn 1.5s ease-in-out;  
}

/* 主容器样式 */
.cctv-text {
    font-family: Georgia, serif; /* 正式字体 */
    color: #333;                /* 深灰色文本，增强可读性 */
    font-size: 25px;
    line-height: 1.8;           /* 增大行距，提升文本清晰度 */
    text-align: center;         /* 内容居中 */
	animation: fadeIn 1.5s ease-in-out;  

}


/* 响应式调整：小屏幕设备 */
@media (max-width: 768px) {
    .logo-container img {
        max-height: 60px;       /* 小屏幕缩小 Logo */
    }

    .cctv-text {
        padding: 1.5rem;        /* 调整小屏幕内边距 */
    }
}

/* 服务模块主样式 */
.services-section {
    font-family: Georgia, serif; /* 正式字体 */
    color: #333;                 /* 深色字体，提升对比度 */
    line-height: 1.0;            /* 增大行高，增强可读性 */
}

/* 标题样式 */
.services-section h2 {
    font-size: 2.5rem;          /* 加大标题字体 */
    font-weight: bold;          /* 加粗标题 */
    margin-bottom: 2rem;        /* 增大标题下方间距 */
    opacity: 0;                 /* 初始透明度 */
    animation: fadeInUp 1s ease-in-out forwards;
}

/* 列表样式 */
.services-section ul {
    padding-left: 0;            /* 移除默认列表缩进 */
}

/* 列表项样式 */
.services-section li {
    font-size: 1.25rem;         /* 放大列表项字体 */
    margin-bottom: 1rem;        /* 增大列表项间距 */
    display: flex;              /* 使用 Flex 对齐图标和文本 */
    align-items: center;        /* 垂直居中 */
    opacity: 0;                 /* 初始透明度 */
    animation: fadeInLeft 0.8s ease-in-out forwards;
}

/* 图标样式 */
.services-section li i {
    font-size: 1.5rem;          /* 图标放大 */
    margin-right: 0.75rem;      /* 图标与文本的间距 */
}

/* 按钮样式 */
.services-section .btn-primary {
    font-size: 1.25rem;         /* 放大按钮字体 */
    padding: 0.75rem 2rem;      /* 增大按钮内边距 */
    border-radius: 8px;         /* 圆角按钮 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 按钮悬停效果 */
.services-section .btn-primary:hover {
    transform: translateY(-3px);         /* 上移效果 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* 添加阴影 */
}

/* 动画效果定义 */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* 延迟动画，逐个列表项依次出现 */
.services-section li:nth-child(1) { animation-delay: 0.3s; }
.services-section li:nth-child(2) { animation-delay: 0.5s; }
.services-section li:nth-child(3) { animation-delay: 0.7s; }
.services-section li:nth-child(4) { animation-delay: 0.9s; }
.services-section li:nth-child(5) { animation-delay: 1.1s; }

/* 响应式调整（适配小屏幕） */
@media (max-width: 768px) {
    .services-section h2 {
        font-size: 2rem;       /* 小屏幕缩小标题字体 */
    }

    .services-section li {
        font-size: 1rem;       /* 小屏幕缩小列表项字体 */
    }

    .services-section .btn-primary {
        font-size: 1rem;       /* 缩小按钮字体 */
    }
}


/* 图片容器样式 */
.network-image {
    max-width: 450px;         /* 图片最大宽度 */
    height: auto;             /* 保持图片宽高比 */
    border-radius: 16px;      /* 圆角效果 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* 阴影效果 */
    transition: transform 0.3s ease; /* 添加悬停动画 */
}

/* 图片悬停放大效果 */
.network-image:hover {
    transform: scale(1.05); /* 图片轻微放大 */
}

/* 响应式适配（适配小屏幕） */
@media (max-width: 768px) {
    .network-image {
        max-width: 300px; /* 小屏幕缩小图片 */
    }
}


.content-box {
            padding: 5rem;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            max-width: 900px;
            margin-bottom: 7rem;
            text-align: center;
        }
 .ag-text {
 			font-family: Georgia, serif; /* 正式字体 */
		    color: #333;                /* 深灰色文本，增强可读性 */
		    font-size: 25px;
		    line-height: 1.8;           /* 增大行距，提升文本清晰度 */
			animation: fadeIn 1.5s ease-in-out;  
            position: relative;
            padding-left: 2rem;
            text-align:left
        }
      
       
         @media (max-width: 768px) {
            .content-box {
                padding: 2rem;
            }

            h2 {
                font-size: 2rem;
            }

            li {
                font-size: 1.1rem;
            }
        }
        
        
        
.full-screen-bg {
    position: relative;
    width: 100%;
    height: auto; /* 图片按比例自适应 */
    display: flex;
    justify-content: flex-end; /* 内容靠右 */
    box-sizing: border-box;
}

.bg-img {
    width: 100%;
    height: auto; /* 保持图片比例 */
    object-fit: cover; /* 确保图片填充而不变形 */
}

.safe-content {
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        text-align: left;
        max-width: 500px;
        color: black;
    }

    /* 标题和段落字体自适应 */
    .safe-content h1 {
        font-size: clamp(10px, 4vw, 48px);
    }

    .safe-content p {
        font-size: clamp(5px, 2vw, 24px);
    }

    @media (max-width: 991px) {
    .safe-content {
        position: absolute;            /* 绝对定位，固定在背景图上 */
        right: 2%;                     /* 靠右边，调整数值控制与右边的距离 */
        top: 50%;                      /* 距离顶部 50% */
        transform: translateY(-50%);   /* 垂直居中 */
        
        background: rgba(255, 255, 255, 0.8); /* 半透明背景，增强对比度 */
        padding: 20px;                 /* 添加内边距，增强可读性 */
        box-sizing: border-box;         /* 避免 padding 影响布局 */
        
        max-width: 45%;                 /* 限制内容宽度，防止溢出 */
        text-align: left;               /* 文本左对齐 */
    }
}
    /* 适配手机屏幕 (小于 768px) */
    @media (max-width: 767px) {
        .safe-content {
            position: static;          /* 取消绝对定位，跟随文档流 */
            transform: none;           /* 移除垂直居中 */
            background: white;         /* 小屏幕加白色背景，提升对比度 */
            padding: 20px;             /* 添加内边距，增强可读性 */
            text-align: center;        /* 居中文本 */
            
        }    }


    

.office-container {
            position: relative;
            width: 80vw;
            height: 80vh;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            border: 2px solid #d9b8c4;
        }

        .office-image {
            position: absolute;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }

        .office-image1 {
            top: 40%;
            left: 45%;
            width: 300px;
            transform: rotate(0deg);
            border: 2px solid #7a5c77;
        }

        .office-image2 {
            top: 30%;
            left: 60%;
            width: 250px;
            transform: rotate(5deg);
        }

        .office-image3 {
            top: 55%;
            left: 55%;
            width: 280px;
            transform: rotate(-10deg);
        }

        .office-image2::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 50%;
            width: 20px;
            height: 20px;
            background: red;
            border-radius: 50%;
            transform: translateX(-50%);
        }
        
        
.office-section {
        text-align: left;
        font-size: 22px;
        font-family: "Georgia", serif;
        color: #333;
        line-height: 1.8;
    }

    .office-section h1 {
        font-size: 48px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .office-section h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }

.office-section p {
    margin-bottom: 20px;
    font-size: 32px;
    
}

    .logo-container {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }

     .service-content {
        max-width: 1000px;
        margin: 0 auto;
        padding: 60px;
        color:black;
        padding-right: calc(((100% - 960px) / 2) + .75rem);
        font-family:
        
        
    }
    .service-content h2 {
    text-align: left;
        font-size: 58px;

    }

.service-content p {
	text-align: left;
	font-family: Georgia, serif; 
	font-size: 18px;
    
}
 @media (min-width: 1200px) {
        .service-content {
            padding-right: calc(((100% - 1140px) / 2) + .75rem);
        }
    }

    /* 适配大型屏幕 (1400px 及以上) */
    @media (min-width: 1400px) {
        .service-content {
            padding-right: calc(((100% - 1320px) / 2) + .75rem);
        }
    }
    @media (max-width: 991px) {
    .service-content {
        position: absolute;            /* 绝对定位，固定在背景图上 */
        right: 2%;                     /* 靠右边，调整数值控制与右边的距离 */
        top: 50%;                      /* 距离顶部 50% */
        transform: translateY(-50%);   /* 垂直居中 */
        
        background: rgba(255, 255, 255, 0.8); /* 半透明背景，增强对比度 */
        padding: 20px;                 /* 添加内边距，增强可读性 */
        box-sizing: border-box;         /* 避免 padding 影响布局 */
        
        max-width: 45%;                 /* 限制内容宽度，防止溢出 */
        text-align: left;               /* 文本左对齐 */
    }
}
    /* 适配手机屏幕 (小于 768px) */
    @media (max-width: 767px) {
        .service-content {
            position: static;          /* 取消绝对定位，跟随文档流 */
            transform: none;           /* 移除垂直居中 */
            background: white;         /* 小屏幕加白色背景，提升对比度 */
            padding: 20px;             /* 添加内边距，增强可读性 */
            text-align: center;        /* 居中文本 */
            
        }    }

    
    
    
    .heathy_section {
 background-image: url('../img/dooraccess.jpg');
  background-size: cover;
  background-attachment: fixed;
  color:gainsboro
  text-align: center;
}

.heathy_section h2 {
  font-weight: bold;
}

.heathy_section p {
  margin-top: 35px;
}

.heathy_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.heathy_section .btn-box a {
  display: inline-block;
  padding: 8px 35px;
  background-color: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  text-transform: uppercase;
}

.heathy_section .btn-box a:hover {
  background-color: #ffffff;
  color: #000000;
}
.detail-box h2 {
    font-size:65px;
    font-weight: 700;
    color:black;
    margin-bottom: 1.5rem;
}

.detail-box p {
    font-size:large;
    color:black;
    line-height: 1.8;
    margin-bottom: 2rem;
}


.detail-box h3 {
    font-size: 40px;
    font-weight: 600;
    color:cornsilk;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.detail-box ul {
    padding: 0;
    list-style: none;
}

.detail-box ul li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.detail-box ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

@media (max-width: 768px) {
    .detail-box {
        padding: 2rem 1.5rem;
    }

    .detail-box h2 {
        font-size: 1.75rem;
    }

    .detail-box h4 {
        font-size: 1.25rem;
    }

    .detail-box p, .detail-box ul li {
        font-size: 1rem;
    }
}

.trainer_section {
  background-image: url('../img/dooraccess.jpg');
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}

.trainer_section .box {
  margin-top: 55px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.trainer_section .box .name h5 {
  font-weight: bold;
  margin-bottom: 15px;
}

.trainer_section .box .img-box {
  border-radius: 15px;
  overflow: hidden;
}

.trainer_section .box .img-box img {
  width: 100%;
}

.trainer_section .box .social_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 225px;
  padding: 12px 45px;
  background-color: #ffffff;
  border-radius: 50px;
  margin-top: -25px;
}
.container {
    width: 100%;
    overflow: hidden; 
}


/* 主容器 */
.furniture-container {
    width: 100%;
    height: auto;
    position: relative;
    box-sizing: border-box;
}

/* 背景图片样式 */
.furniture-bg {
    width: 100%;
    height: auto;          /* 保持纵横比，防止拉伸 */
    display: block;        /* 去除图片底部空白 */
}

/* 家具服务内容 */
.furniture-content {
    position: absolute;    /* 叠加在图片之上 */
    top: 50%;
    left: 5%;              /* 靠左对齐 */
    transform: translateY(-50%);
    max-width: 600px;      /* 限制内容最大宽度 */
    padding: 20px;         /* 内边距，确保内容不贴边 */
    color: black;          /* 保持文字可见性 */
}
.furniture-content h2 {
font-size:80px;
}
.furniture-content p {
font-size:20px;
}

/* 针对 991px 以下的屏幕适配 */
@media (max-width: 991px) {
    .furniture-content {
        position: static;          /* 取消绝对定位，内容跟随文档流 */
        transform: none;           /* 取消垂直居中 */
        max-width: 100%;           /* 宽度占满容器 */
        text-align: left;          /* 文字左对齐 */
        margin: 20px 10px;         /* 增加外边距，防止贴边 */
        background: white;         /* 让背景变白，增强对比度 */
    }
    .furniture-bg {
        height: 400px;             /* 设置固定高度，避免图片缩小过多 */
        object-fit: cover;         /* 图片自动裁切，保持良好视图 */
    }
}

/* ✅ 针对 768px 以下的更小屏幕适配 */
@media (max-width: 768px) {
    .furniture-content {
        text-align: center;         /* 内容居中 */
    }
    .furniture-bg {
        height: 300px;              /* 小屏幕下背景高度再减小 */
    }
}

/* 视频样式 */
.autogate-video {
    width: 750px;
    height: 600px;
    object-fit: cover; /* 保证视频按比例填充，避免拉伸 */
}

/* 自定义内容布局 */
.autogate-section {
    padding: 0;
    box-sizing: border-box;
}

/* ✅ 小屏幕适配：右侧内容下移 */
@media (max-width: 991px) {
    .autogate-content {
        display: flex;
        flex-direction: column; /* 将布局改为垂直方向堆叠 */
    }

    .video-container,
    .content-container {
        width: 100%; /* 让两部分在小屏幕下都占满整行 */
        height: auto; /* 自适应高度 */
    }

    .autogate-video {
        width: 100%; /* 小屏幕下，视频宽度适配父级 */
        height: auto; /* 高度自适应，保持原比例 */
    }

    .content-box {
        padding: 20px; /* 增加内边距，增强阅读性 */
        text-align: left; /* 文字左对齐，保持风格 */
    }
}
 @media (max-width: 991px) {
        .portfolio-item {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    @media (max-width: 768px) {
        .portfolio-item {
            flex: 0 0 100%;
            max-width: 100%;
        }
        .portfolio-text h5 {
            font-size: 14px;
        }
        .portfolio-inner img {
            height: auto;
        }
    }
