.elementor-kit-3611{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-3611 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* 轮播图容器样式 */
.text-overlay-carousel {
    position: relative;
}

/* 文本容器样式 */
.carousel-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 60%;
    opacity: 0;
    transform: translate(-50%, 50%);
    transition: all 0.8s ease-out;
} 

/* 激活状态的文本容器 */
.carousel-text-overlay.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* 主要文本样式 */
.carousel-text-primary {
    color: #FF6B00; /* 橙色 */
    font-size: 50px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 次要文本样式 */
.carousel-text-secondary {
    color: #FFFFFF; /* 白色 */
    font-size: 33px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* 轮播图图片添加半透明遮罩，增强文字可读性 */
.text-overlay-carousel .elementor-carousel-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 桌面端16:9比例 */
    overflow: hidden;
}

.text-overlay-carousel .elementor-carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}





/* 轮播容器需要设置相对定位，作为按钮绝对定位的参考 */
.text-overlay-carousel {
  position: relative; 
}

/* 按钮容器的样式，用于控制按钮位置 */
.carousel-btn-container {
    position: absolute;
    /* 改为水平居中 */
    left: 50%; 
    transform: translateX(-50%); 
    top: 43%; 
    z-index: 10; 
}



/* 按钮基础样式（如果之前写过，确保包含 position: relative 等不影响定位的属性，
   主要是配合父容器的绝对定位来显示）*/


/* 按钮基础样式 */
.get-in-touch-btn {
    position: relative;
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    color: #fff;
    /* 初始渐变背景 */
    background: linear-gradient(90deg, #0066cc, #0099ff);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* 文字抗锯齿 */
    -webkit-font-smoothing: antialiased;
}

/* 鼠标悬停渐变（背景、文字颜色同时渐变） */
.get-in-touch-btn:hover {
    background: linear-gradient(90deg, #0099ff, #0066cc);
    color: #fff;
    transform: translateY(-2px);
}

/* 点击反馈（可选） */
.get-in-touch-btn:active {
    transform: translateY(1px);
    opacity: 0.9;
}

/* 弹窗遮罩层 */
.contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* 确保覆盖Elementor其他弹窗 */
}

/* 弹窗表单容器 */
.contact-popup-form {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 关闭按钮 */
.contact-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

/* 表单项样式（适配设计图） */
.contact-popup-form h2 {
    margin-bottom: 16px;
    font-size: 22px;
    color: #333;
}
.contact-popup-form p {
    margin-bottom: 24px;
    color: #666;
}
.contact-popup-form input,
.contact-popup-form select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
}
.contact-popup-form input::placeholder {
    color: #999;
}
.contact-popup-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.contact-popup-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #0099ff, #0066cc);
}



/* 轮播图容器基础适配（已支持水平居中） */
.text-overlay-carousel {
    position: relative;
    max-width: 1200px; 
    margin: 0 auto;  
}

/* 轮播图文字响应式 */
.carousel-text-primary {
    font-size: clamp(24px, 5vw, 50px); 
}
.carousel-text-secondary {
    font-size: clamp(16px, 3.3vw, 33px); 
}

/* 按钮响应式 */
.get-in-touch-btn {
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px); 
    font-size: clamp(14px, 2vw, 16px); 
}

/* 轮播图图片比例适配 */
.text-overlay-carousel .elementor-carousel-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例，可根据实际调整 */
    overflow: hidden;
}
.text-overlay-carousel .elementor-carousel-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* 弹窗响应式 */
.contact-popup-form {
    max-height: 90vh; 
    overflow-y: auto; 
}




/* 清除Elementor父容器的默认样式，确保轮播居中 */
/* 找到轮播组件的直接父容器（根据你之前的HTML结构，是elementor-widget-container） */
.text-overlay-carousel .elementor-widget-container,
/* 同时处理Elementor的外层容器（如elementor-element） */
.elementor-element-541dfaf .elementor-widget-container { /* 541dfaf 是你轮播组件的ID，需核对！ */
    width: 100%; /* 让父容器宽度铺满，避免限制子元素居中 */
    margin: 0;
    padding: 0;
    text-align: center; /* 防止子元素默认左对齐 */
}

/* 确保轮播图的核心容器（swiper）也水平居中 */
.text-overlay-carousel .elementor-image-carousel-wrapper.swiper {
    margin: 0 auto;
    width: 100%; /* 让swiper容器铺满父级 */
}





/* 新增：控制分页器容器位置，使其叠在轮播图上方 */
.text-overlay-carousel .swiper-pagination {
    /* 1. 绝对定位：脱离文档流，基于轮播容器定位 */
    position: absolute !important; 
    /* 2. 控制垂直位置：这里是“图片上方偏下”的位置，可按需调整 */
    top:87.5%;
    /*bottom: 0px !important;*/  /* 距离轮播图底部30px（值越小越靠上，负值会超出轮播图顶部） */
    /* 3. 水平居中（保持原有居中特性） */
    left: 50% !important;
    transform: translateX(-50%) !important;
    /* 4. 提高层级：确保在图片上方，不被遮挡 */
    z-index: 20 !important; 
    /* 可选：清除默认内边距/外边距（避免位置偏移） */
    padding: 0 !important;
    margin: 0 !important;
}

/* 保留原有长条形样式（无需修改） */
.text-overlay-carousel .swiper-pagination-bullet {
    width: 60px !important;
    height: 6px !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    margin: 0 5px !important;
}
.text-overlay-carousel .swiper-pagination-bullet-active {
    background-color: #10B981 !important;
    width: 80px !important;
}



/* 移动端：轮播容器整体上移100px */
@media (max-width: 767px) {
    .text-overlay-carousel {
        margin-top: -100px !important; /* 向上移动100px，负值表示向上 */
        /* 可选：若上移后底部有间隙，可同时添加底部负边距 */
        /* margin-bottom: -50px !important; */
    }
        
    
    .carousel-text-overlay {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        text-align: center;
        width: 60%;
        opacity: 0;
        transform: translate(-50%, 50%);
        transition: all 0.8s ease-out;
    }
        
    /* 按钮容器的样式，用于控制按钮位置 */
    .carousel-btn-container {
        position: absolute;
        /* 改为水平居中 */
        left: 50%; 
        transform: translateX(-50%); 
        top: 30%; 
        z-index: 10; 
    }

}/* End custom CSS */