.footer-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer {
    background-color: #ffffff;
    padding: 6rem 0 3rem;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer .footer-left {
    flex-shrink: 0;
}

.footer .footer-logo {
    margin-bottom: 2rem;
}

.footer .footer-logo img {
    width: 6rem;
    height: auto;
    display: block;
}

.footer .footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer .footer-social .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #008F63;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.footer .footer-social .social-icon:hover {
    background-color: #007050;
}

.footer .footer-social .social-icon img {
    width: 1rem;
    height: 1rem;
    opacity: 0.9;
}

.footer .footer-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer .footer-links,
.footer .footer-info,
.footer .footer-contact {
    flex: 1;
}

.footer .footer-links-title,
.footer .footer-info-title,
.footer .footer-contact-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer .footer-links-list li {
    margin-bottom: 0;
    padding: 0;
}

.footer .footer-links-list a {
    font-size: 0.875rem;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.75rem 0;
    line-height: 1.4;
}

.footer .footer-links-list a:hover {
    color: #008F63;
}

.footer .footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0;
}

.footer .footer-info-item img {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    opacity: 1;
    border: none;
}

.footer .footer-info-item span {
    font-size: 0.8125rem;
    color: #666666;
    line-height: 1.6;
}

.footer .footer-contact-desc {
    font-size: 0.8125rem;
    color: #666666;
    margin-bottom: 1.25rem;
}

.footer .footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 覆盖 Contact Us.css 中 .contact__form 的多列布局 */
.footer .footer-contact-form .form-horizontal {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
}

.footer .footer-contact-form .form-horizontal > * {
    display: block !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body {
    display: block !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body > *,
.footer .footer-contact-form .form-horizontal .fc-form-body > div > * {
    display: block !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body .form-group {
    flex: none !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .control-label,
.footer .footer-contact-form .form-horizontal .fc-form-body .form-group > label {
    display: none !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 输入框样式 — 必须覆盖 Contact Us.css :nth-last-of-type(1) 的 display:none !important */
.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="text"],
.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="email"] {
    display: block !important;
    width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 999px !important;
    font-size: 0.8125rem !important;
    color: #333333 !important;
    background-color: #f8f9fa !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="text"]:focus,
.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="email"]:focus {
    border-color: #008F63 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(0, 143, 99, 0.1) !important;
}

.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="text"]::placeholder,
.footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input[type="email"]::placeholder {
    color: #999999 !important;
}

/* 按钮容器 */
.footer .footer-contact-form .form-horizontal .portlet-body.form.myfooter {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .footer-contact-form .form-horizontal .form-actions {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
}

.footer .footer-contact-form .form-horizontal .form-actions > div {
    width: 14rem;
    background-color: #008F63;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer .footer-contact-form .form-horizontal .form-actions > div:hover {
    background-color: #007050;
}

.footer .footer-contact-form .form-horizontal .form-actions > div a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 1.75rem !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.footer .footer-contact-form .form-horizontal .form-actions > div a span {
    margin-left: 0.25rem;
}

.footer .footer-bottom {
    margin-top: 4rem;
}

.footer .footer-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 2rem;
}

.footer .footer-copyright {
    font-size: 0.75rem;
    color: #999999;
    text-align: center;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-container {
        width: 92%;
        padding: 0 0.75rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer .footer-left {
        text-align: center;
    }
    
    .footer .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer .footer-logo img {
        width: 5rem;
        margin: 0 auto;
    }
    
    .footer .footer-social {
        justify-content: center;
        gap: 0.625rem;
    }
    
    .footer .footer-social .social-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .footer .footer-social .social-icon img {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .footer .footer-right {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer .footer-links-title,
    .footer .footer-info-title,
    .footer .footer-contact-title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .footer .footer-links-list a {
        font-size: 0.8125rem;
        padding: 0.5rem 0;
    }
    
    .footer .footer-info-item {
        gap: 0.625rem;
        margin-bottom: 0.75rem;
    }
    
    .footer .footer-info-item img {
        width: 1.125rem;
        height: 1.125rem;
    }
    
    .footer .footer-info-item span {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .footer .footer-contact-desc {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .footer .footer-contact-form {
        width: 100%;
        gap: 0.75rem;
    }
    
    .footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input {
        padding: 0.75rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .footer .footer-contact-form .form-horizontal .form-actions > div {
        width: 100%;
    }
    
    .footer .footer-contact-form .form-horizontal .form-actions > div a {
        padding: 0.75rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .footer .footer-bottom {
        margin-top: 2.5rem;
    }
    
    .footer .footer-divider {
        margin-bottom: 1.5rem;
    }
    
    .footer .footer-copyright {
        font-size: 0.6875rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer .footer-content {
        gap: 2rem;
    }
    
    .footer .footer-logo img {
        width: 4rem;
    }
    
    .footer .footer-social .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .footer .footer-social .social-icon img {
        width: 1rem;
        height: 1rem;
    }
    
    .footer .footer-right {
        gap: 1.5rem;
    }
    
    .footer .footer-links-title,
    .footer .footer-info-title,
    .footer .footer-contact-title {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    
    .footer .footer-links-list a {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .footer .footer-info-item {
        gap: 0.5rem;
    }
    
    .footer .footer-info-item img {
        width: 1rem;
        height: 1rem;
    }
    
    .footer .footer-info-item span {
        font-size: 0.6875rem;
    }
    
    .footer .footer-contact-desc {
        font-size: 0.6875rem;
    }
    
    .footer .footer-contact-form .form-horizontal .fc-form-body .form-group .col-md-10 input {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.7rem !important;
    }
    
    .footer .footer-contact-form .form-horizontal .form-actions > div a {
        padding: 0.625rem 1rem !important;
        font-size: 0.6875rem !important;
    }
    
    .footer .footer-bottom {
        margin-top: 2rem;
    }
    
    .footer .footer-copyright {
        font-size: 0.625rem;
    }
}






