/*
    hero
*/
.banner-section {
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.banner-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.banner-overlay div {
    font-family: "Source-Sans-Pro-Bold-2";
    color: #ffffff;
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: clamp(2rem, 4.6vw, 3.5rem);
    font-weight: bold;
    text-align: center;
}

.banner-section .slick-carousel .slick-dots {
    background: #ffffff77;
    border-radius: 40px;
    width: fit-content;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
}

.banner-section .slick-carousel .slick-arrow {
    z-index: -1;
}

.banner-section .slick-carousel .slick-prev {
    left: 25px;
}

.banner-section .slick-carousel .slick-next {
    right: 25px;
}

.banner-section .slick-carousel .slick-prev,
.banner-section .slick-carousel .slick-next {
    width: 60px;
    height: 60px;
}

.banner-section .slick-carousel .slick-prev:before,
.banner-section .slick-carousel .slick-next:before {
    font-size: 60px;
}

/* 大于1024px, ipad、pc */
@media (min-width: 1024px) {
    .banner-section .swiper {
        height: calc(100vw * 0.27);
    }

    .banner-section .slick-carousel .slick-arrow {
        z-index: 1;
    }
}


/**
 * 信息栏
 */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 5rem 0;
}

.contact-section .section-title {
    font-family: "AbrilFatface-Regular-2", sans-serif !important;
    font-size: 3rem;
    font-weight: 350;
    text-align: center;
    color: var(--brand-dark);
    margin: 1rem 0 3rem 0;
}

.contact-section .content-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}


.contact-section .content-block .title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem 5rem 1.5rem;
}

.contact-section .content-block .title-block .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.7rem;
    font-weight: bold;
    color: #262626;
}

.contact-section .content-block .title-block .title span {
    font-weight: normal;
}

.contact-section .content-block .title-block .title img {
    width: 100%;
}

.contact-section .content-block .title-block .sub-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 1rem;
}

.contact-section .content-block .info-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-section .content-block .info-block .card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 23px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-section .content-block .info-block .card .label {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 30%;
}

.contact-section .content-block .info-block .card .label div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin-bottom: 20px;
    background: var(--brand-main);
    font-size: 50px;
    color: #ffffff;
}

.contact-section .content-block .info-block .card .label div:nth-child(2) {
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.contact-section .content-block .info-block .card > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1px;
    flex-grow: 1;
    font-size: 1.5rem;
    padding-left: 20px;
    min-height: 130px;
}

.contact-section .content-block .info-block .card img {
    width: 130px;
    height: 130px;
}

/* 留言表单样式 - 简约线条风格 */
.message-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #ffffff;
    margin-top: 10rem;
    width: 100%;
    gap: 3rem;
}

.message-description {
    flex-grow: 1;
    width: 1px;
}

.message-description h3 {
    color: var(--brand-dark);
    font-size: 3rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 3rem;
}

.message-description p {
    color: #afafaf;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    white-space: break-spaces;
}

#messageForm {
    width: 45%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--brand-dark);
    font-size: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 0;
    border: 0px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    background-color: #fff;
    border-bottom: 2px solid;
    border-bottom-color: var(--brand-gray);
    font-family: sans-serif;
    border-radius: 0;
}

.form-control:focus {
    border-bottom: 4px solid;
    border-bottom-color: var(--brand-theme-light);
    outline: none;
}

/* 设置placeholder颜色 */
.form-control::placeholder {
    color: var(--brand-gray);
    opacity: 1; /* Firefox */
}

.form-control::-webkit-input-placeholder {
    color: var(--brand-gray);
}

.form-control::-moz-placeholder {
    color: var(--brand-gray);
}

.form-control:-ms-input-placeholder {
    color: var(--brand-gray);
}

.form-control:-moz-placeholder {
    color: var(--brand-gray);
}

#messageContent {
    min-height: 1.25rem;
    resize: none;
    overflow: hidden;
    line-height: 1.5;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 1023px) {

    .message-description {
        width: 100%;
    }

    #messageForm {
        width: 100%;
    }
}

@media (min-width: 768px) {

    .contact-section .content-block .info-block .card {
        width: calc((100% - 20px) / 2 - 2px);
    }

    .contact-section .content-block .info-block .card .label div:nth-child(2) {
        height: 2rem;
    }

    .contact-section .content-block .title-block .title {
        font-size: 2rem;
    }

}


@media (min-width: 1200px) {

    .contact-section .content-block .info-block {
        padding: 0;
    }

    .contact-section .content-block .info-block .card {
        flex-direction: column;
        width: calc((100% - 72px) / 4 - 2px);
        padding: 23px;
    }

    .contact-section .content-block .info-block .card:last-child {
        margin-right: 0px;
    }


    .contact-section .content-block .info-block .card .label {
        width: 100%;
    }

    .contact-section .content-block .info-block .card .label div:nth-child(2) {
        font-size: 1.25rem;
        margin-bottom: 10px;
        height: unset;
    }

    .contact-section .content-block .info-block .card > div:last-child {
        justify-content: flex-start;
        font-size: 1.25rem;
        padding-left: 0px;
        width: 100%;
    }

}