
/* 第一页样式 */
.section-1 {
    padding: 50px 10px;
    color: white;
    text-align: left;
}

.contact-form {
    margin: 0 auto;
    padding: 10px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group.half {
    flex: 1;
}

.submit-btn {
    width: 100%;
    background-color: #1e2460;
    color: white;
    border: none;
    border-top-right-radius:24px;
    border-bottom-left-radius: 24px;
    padding: 14px 24px;
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.contact-info {
    margin: 20px auto 0 auto; /* 距离表单20px，左右自动居中 */
    padding: 0 20px; /* 与表单内边距对齐 */
    line-height: 1.5; /* 行间距1.5 */
}

.contact-info p {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 10px 0; /* 每个p标签底部间距10px */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.contact-info p:hover {
    transform: scale(1.05);
    color: #0056b3;
    transform-origin: left center; 
}



.section-2 {
    padding: 0 20px;
    color: white;
}

.contacts-title {
    text-align: left;
    margin-bottom: 30px;
    width: 20%;
}

.contacts-title h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: white;
}

.title-line {
    width: 100%;
    height: 8px;
    background-color: #1e2460;
    border-radius: 4px;
}

.contact-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card {
    flex: 1;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
    color: white;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
    color: #ccc;
}


.section-3 {
    padding: 0 20px;
    color: white;
    margin-top: 50px;
}

.section-3 .contacts-title {
    text-align: left;
    margin-bottom: 30px;
    width: 60%;
}

.section-3 .contacts-title h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: white;
}

.section-3 .title-line {
    width: 70%;
    height: 8px;
    background-color: #1e2460;
    border-radius: 4px;
}

.section-3 .contact-cards {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.section-3 .contact-cards.single-card {
    justify-content: flex-start;
}

.section-3 .contact-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.section-3 .contact-card:hover {
    transform: translateY(-5px);
}

.section-3 .card-image {
    height: 400px;
    background-size: cover;
    background-position: center;
}

.section-3 .card-content {
    padding: 20px;
    color: white;
}

.section-3 .card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.section-3 .card-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
    color: #fff;
}


