/* body {
	background-color:var(--light-gray);
}  */

.contact-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
	background-color: var(--light-gray);
}

.contact-section {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
	/* gap: 30px; */
	margin: 120px 100px;
	max-height: fit-content;
}
.contact-info, .contact-form {
	flex: 1;
	min-width: 300px;
	padding: 20px;
	background: white;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	margin: 10px;
}
.contact-info h2, .contact-form h2 {
	color: #2c3e50;
	border-bottom: 2px solid #e74c3c;
	padding-bottom: 10px;
}
.info-item {
	margin-bottom: 20px;
}
.info-item i {
	color: #e74c3c;
	margin-right: 10px;
}
form {
	display: flex;
	flex-direction: column;
}
input, textarea {
	margin-bottom: 15px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}
button {
	background-color: #e74c3c;
	color: white;
	border: none;
	padding: 12px;
	cursor: pointer;
	border-radius: 4px;
	font-size: 16px;
}
button:hover {
	background-color: #c0392b;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 10px 20px 20px; 
    text-align: center;
    /*position: absolute; /* 或者使用 relative 和 bottom: 0 */
    bottom: 0; /* 或者使用 position: fixed; */
    width: 100%;
    position: absolute;
}


/* 响应式调整 */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-section{
        margin: 120px 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-section{
        margin: 350px 10px;
    }

	.footer {
		bottom: 1; /* 或者使用 position: fixed; */
		position: relative;
	}
}