.hero-section {
    background-color: var(--primary-green-bright);
}

.hero-content {
    background-color: #8aca8d;
}

/* Utility Classes */
.bg-light-green {
    background-color: #e8f5e9;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #f5f5f5;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}


/* Main Content Section */

.contact-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
}

/* Contact Info Card */
.contact-info {
    background: #f9f9fb;
    padding: 30px;
    border-radius: 8px;
}

.section-header {
    border-bottom: 2px solid var(--primary-green-light);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    color: #222;
    display: flex;
    align-items: center;
}

.section-header h2 i {
    margin-right: 10px;
    color: var(--primary-green-light);
}

.info-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-green-light);
    border-radius: 4px;
}

.info-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.info-card h3 i {
    margin-right: 10px;
    font-size: 16px;
}

.info-card p {
    font-size: 16px;
}

.map-container {
    width: 100%;
    border: 12px solid white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.title-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Contact Form */
.contact-form {
    background: #f9f9fb;
    padding: 30px;
    border-radius: 8px;
    width: 60%;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green-light);
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.form-group select {
    appearance: none;
    background-color: #fff;
    padding-right: 30px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-green-light);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Connect Section */
.connect {
    padding: 50px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #eee;
}

.connect-content {
    text-align: center;
}

.connect h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 15px;
}

.connect p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 25px;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-green-light);
    color: white;
    font-size: 18px;
    transition: transform 0.3s;
}

.social-link img {
    width: 75%;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* ============================================
   Country 下拉框样式
   ============================================ */

/* 外层容器 */
.select_pro {
    position: relative;
    width: 100%;
    cursor: pointer;
}

/* 主输入框样式 - 显示选中的值 */
.select_pro .select_input {
    width: 100%;
    height: 46px;
    padding: 0 35px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 输入框 hover 效果 */
.select_pro .select_input:hover {
    border-color: #b3b3b3;
}

/* 输入框 focus 效果 */
.select_pro .select_input:focus {
    outline: none;
    border-color: var(--primary-green-light);
}

/* 下拉箭头图标（用 CSS 伪元素实现） */
.select_pro .select_input {
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* 隐藏的辅助输入框 */
.select_pro .textbox {
    display: none;
}

/* 下拉选项列表容器 */
.select_pro .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
    display: none;
}

/* 显示状态 */
.select_pro .options.show {
    display: block;
}

/* 下拉选项 */
.select_pro .options li {
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

/* 最后一个选项去掉边框 */
.select_pro .options li:last-child {
    border-bottom: none;
}

/* 选项 hover 效果 */
.select_pro .options li:hover {
    background-color: #f5f7fa;
    color: var(--primary-green-light);
}

/* 选项选中效果（可选） */
.select_pro .options li.selected {
    background-color: #e8f0fe;
    color: var(--primary-green-light);
    font-weight: 500;
}

/* 滚动条样式 - Webkit 浏览器 */
.select_pro .options::-webkit-scrollbar {
    width: 6px;
}

.select_pro .options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.select_pro .options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.select_pro .options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 带有滚动条高度的特殊样式 */
.select_pro .heightScroll {
    max-height: 280px;
}

/* 禁用状态 */
.select_pro.disabled .select_input {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

/* 错误状态（用于表单验证） */
.select_pro.error .select_input {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

/* 成功状态 */
.select_pro.success .select_input {
    border-color: var(--primary-green-light)
}

/* ============================================
   响应式适配 - 移动端
   ============================================ */
@media (max-width: 768px) {
    .select_pro .select_input {
        height: 40px;
        font-size: 14px;
        padding: 0 30px 0 12px;
    }

    .select_pro .options li {
        padding: 12px 15px;
        font-size: 14px;
    }

    .contact-form {
        width: 90%;
    }

}

/* ============================================
   可选：带动画的展开效果
   ============================================ */
.select_pro .options {
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding: 50px 20px;
    }


    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 26px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .contact-grid {
        gap: 30px;
    }

    .info-card {
        padding: 15px;
    }

    .social-link img {
        width: 60%;
    }
}

/* 复选框容器样式调整 */
#channel-box .label-box {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 24px;
    margin-top: 8px;
}

/* 隐藏原生复选框，使用自定义样式 */
#channel-box .label-box label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 8px;
}

#channel-box .label-box label p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-weight: normal;
}

/* 自定义复选框 - 未选中状态 */
#channel-box .label-box input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
}

/* 自定义复选框 - 悬停状态 */
#channel-box .label-box input[type="checkbox"]:hover {
    border-color: var(--primary-green-bright);
    background-color: #f0f9ff;
}

/* 自定义复选框 - 选中状态 */
#channel-box .label-box input[type="checkbox"]:checked {
    background-color: var(--primary-green-light);
    border-color: var(--primary-green-light);
}

/* 自定义复选框 - 选中后的勾选标记（使用伪元素绘制对勾） */
#channel-box .label-box input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 自定义复选框 - 聚焦状态（提升可访问性） */
#channel-box .label-box input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-green-bright);
    outline-offset: 2px;
    border-color: transparent;
}

/* 自定义复选框 - 禁用状态（可选，以防后续需要） */
#channel-box .label-box input[type="checkbox"]:disabled {
    background-color: #f5f5f5;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

#channel-box .label-box input[type="checkbox"]:disabled:checked {
    background-color: #9ca3af;
}

#channel-box .label-box input[type="checkbox"]:disabled+p {
    color: #9ca3af;
    cursor: not-allowed;
}

/* 调整表单组样式，保持整体美观 */
#channel-box {
    margin-bottom: 20px;
}


/* 验证码区域 - 让输入框和图片在同一横排 */
.form-group .code-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group .code-input-wrapper input {
    flex: 1;
    min-width: 150px;
}

.form-group .verify_img {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group .verify_img .ver_img {
    height: 42px;
    width: auto;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 提示文字变小，并换行显示在下方 */
.form-group .verify-tip {
    display: flex;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    margin-left: 0;
    justify-content: flex-end;
}

/* 错误提示弹窗 - 柔和橙色（不是红色了） */
.error-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.error-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.error-modal-header {
    background: #f5a623;
    /* 温和的橙色 */
    color: white;
    padding: 18px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-modal-header i {
    font-size: 22px;
}

.error-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.error-modal-body {
    padding: 25px 20px;
    color: #333;
    line-height: 1.5;
}

.error-modal-body p {
    margin: 0;
    font-size: 15px;
}

.error-modal-footer {
    padding: 15px 20px 20px;
    text-align: center;
}

.error-modal-btn {
    background: #f5a623;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.error-modal-btn:hover {
    background: #e09100;
}

/* 成功提示弹窗 - 绿色主题 */
.success-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.success-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.success-modal-header {
    background: #27ae60;
    /* 绿色 */
    color: white;
    padding: 18px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-modal-header i {
    font-size: 22px;
}

.success-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.success-modal-body {
    padding: 25px 20px;
    color: #333;
    line-height: 1.5;
}

.success-modal-body p {
    margin: 0;
    font-size: 15px;
}

.success-modal-footer {
    padding: 15px 20px 20px;
    text-align: center;
}

.success-modal-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.success-modal-btn:hover {
    background: #1e8e4a;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 表单字段错误高亮（柔和边框） */
.form-group.error input,
.form-group.error textarea,
.form-group.error .select_input,
input.error-field,
textarea.error-field {
    border-color: #f5a623 !important;
    background-color: #fffaf0 !important;
}


.info-card h3 i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    vertical-align: middle;
}

.contact-info-icon {
    background-image: url('../images/location.png');
}

.contact-phone-icon {
    background-image: url('../images/telephone.png');
}

.contact-tech-icon {
    background-image: url('../images/Technical support.png');
}