.contact_poster{
    width: 100%;
    background: url('../images/contact/blog-post-bg.png');
    padding-top: 24.1%;
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.contact-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.contact-info {
    display: flex;
    /* flex-direction: column; */
    gap: 2rem;
    width: 100%;
}
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }
}
.contact-details {
    border-radius: 10px;
}

.contact-details h1 {
    font-family: Gilroy, Gilroy;
    font-weight: bold;
    font-size: 48px;
    color: #000000;
    border-bottom: 1px solid #707070;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    gap: 1rem;
    font-family: Gilroy, Gilroy;
    font-size: 18px;
    color: #171923;
}

.contact-item-title {
    font-family: Gilroy, Gilroy;
    font-weight: bold;
    font-size: 32px;
    color: #171923;
    margin-bottom: 1rem;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.contact-item a {
    color: #171923;
    text-decoration: underline;
}


.contact-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-form h2 {
    font-family: Gilroy, Gilroy;
    font-weight: bold;
    font-size: 24px;
    height: 70px;
    color: #000000;
    background: rgba(118,139,144,0.13);
    border-radius: 6px;
    /* padding: 25px auto 16px 22px; */
    padding-left: 22px;
    padding-top: 25px;
}

form{
    padding: 22px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #00bcd4;
    height: 48px;
    line-height: 48px;
    background: #01E0F9;
    box-shadow: 0px 2px 0px 1px rgba(0,0,0,0.4);
    border-radius: 5px 5px 5px 5px;
    border: 2px solid #01E0F9;
    font-family: Gilroy, Gilroy;
    font-weight: bold;
    font-size: 24px;
    color: #171923;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    /* background: #008c9e; */
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

.social-links a {
    /* 
    这个样式使用了flex属性的简写:
    - 第一个0表示flex-grow:0 - 元素不会伸展
    - 第二个0表示flex-shrink:0 - 元素不会收缩
    - calc(50% - 0.75rem)表示flex-basis - 元素的基础宽度
    
    整体效果是让每个社交链接占据父容器宽度的50%减去0.75rem的间距,
    这样可以在一行显示两个链接,并保持它们之间有一定的间隔
    */
    flex: 0 0 50%;
    margin-bottom: 60px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Gilroy, Gilroy;
    font-weight: 500;
    font-size: 18px;
    color: #171923;
}

.social-links a:hover {
    /* color: #00bcd4; */
}

/* .social-links img {
    width: 24px;
    height: 24px;
} */
