﻿.banner {
    width: 100%;
    height: auto;
    display: inline-block;
}

.banner img {
    width: 100%;
}

.header {
    width: 100%;
    height: auto;
    color: black;
    position: static;
    top: 0px;
}

.contact {
    width: 100%;
    height: auto;
    display: inline-block;
    background-image: url(../images/contactboom.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 3% 0;
    padding-bottom: 5%;
}

.con-one {
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 2%;
    border-bottom: 1px solid#dcdcdc;
    padding-bottom: 2%;
}

.pr-top {
    width: 100%;
    height: auto;
    display: inline-block;
    font-size: 20px;
    margin-bottom: 2%;
}

.pr-top span {
    width: 100%;
    height: auto;
    display: inline-block;
}

.con-one li {
    width: 50%;
    float: left;
}

.con-one li img {
    float: left;
    margin-right: 2%;
}

.con-one li p {
    color: #000000;
    font-size: 17px;
    letter-spacing: 1px;
}

.con-two {
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 2%;
    padding-bottom: 2%;
}

.con-two li {
    width: 50%;
    float: left;
    margin-bottom: 2%;
}

.con-two li img {
    float: left;
    margin-right: 2%;
}

.con-two li p {
    color: #000000;
    font-size: 16px;
    letter-spacing: 1px;
    height: 50px;
}
.con-there{

}
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.headers {
    text-align: center;
    margin-bottom: 4%;
}

.headers h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.headers h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.description {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.form-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid#3498db;
}

.form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 17px;
    position: relative;
    width: 45%;
    float: left;
    margin-right: 5%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.required:after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

input, textarea {
    width: 93%;
    padding: 14px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    width: 10;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 12px;
    margin-top: 4px;
}

.checkbox-group label {
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0;
    width: 100%;
    display: inline-block;
}

.checkbox-text {
    color: #5a6c7d;
    font-size: 14px;
}

.highlight {
    color: #3498db;
    font-weight: 600;
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2c80b9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1c5a7a);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(52, 152, 219, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.error-message {
    color: #e74c3c;
    font-size: 11px;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-message {
    display: block;
}

.form-group.success input,
.form-group.success textarea {
    border-color: #2ecc71;
}

.success-message {
    background-color: #2ecc71;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 25px;
    }

    h1 {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 25px 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-group input {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 1024px) and (min-width: 0px) {
    .banner {
        width: 100%;
        height: auto;
        display: inline-block;
        margin-top: 12%;
    }

    .pr-top {
        width: 100%;
        height: auto;
        display: inline-block;
        font-size: 15px;
        margin-bottom: 2%;
    }

    .con-one li {
        width: 100% !important;
        float: left;
        margin-bottom: 8%;
    }

    .con-one li img {
        float: left;
        margin-right: 2%;
        width: 8%;
    }

    .con-one li p {
        color: #000000;
        font-size: 15px;
        letter-spacing: 1px;
    }

    .pr-top {
        width: 100%;
        height: auto;
        display: inline-block;
        font-size: 15px;
        margin-bottom: 7%;
    }

    .con-two li p {
        color: #000000;
        font-size: 15px;
        letter-spacing: 1px;
        height: auto;
        width: 89%;
        float: left;
    }

    .con-two li {
        width: 100% !important;
        float: left;
        margin-bottom: 10%;
    }

    .con-two li img {
        float: left;
        margin-right: 2%;
        width: 8%;
    }
}