/* 展会页面专用CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #0f2f8f;
    color: #fff;
    line-height: 1.6;
}

.countdown {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.time-box {
    background: rgba(0, 65, 192, 0.69);
    padding: 30px 20px; /* 原来的两倍 */
    border-radius: 20px; /* 原来的两倍 */
    text-align: center; /* 居中对齐 */
    min-width: 160px; /* 原来的两倍 */
    /* display: flex; 使用flex布局 */
     flex-direction: column; 
    align-items: center; /* 水平居中 */
    gap: 15px; /* 元素间距 */
}

.time-box span {
    font-size: 60px; /* 原来的两倍 */
    font-weight: 700;
    display: inline-block; /* 行内块元素 */
    margin-top: -15px; /* 数字和Days之间的间距 */
}

.time-box small {
    font-size: 24px; /* 原来的两倍 */
    opacity: 0.8;
    display: inline-block; /* 行内块元素 */
    vertical-align: baseline; /* 垂直对齐基准线 */
}

.countdown-text {
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* margin-top: 10px; */
}

.section {
    padding: 50px 15%;
}

/* 信息展示区域宽度设置 */
.info-section {
    padding: 20px 0 !important;
    max-width: 960px;
    margin: 0 auto;
}

.hero{
    background:url('/static/images/ShapeBG.webp') center/cover no-repeat;
    position:relative;
    text-align:left;
    padding:140px 10%;
    justify-content: center;
    display: grid;

}

.bodybg{
    font-family: 'Montserrat', sans-serif;
    background:
        linear-gradient(rgba(15,47,143,0.6), rgba(15,47,143,0.6)),
        url('/static/images/bgsum.webp') center top no-repeat;
    background-size: cover;
    color:#fff;
    line-height:1.6;
}
/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 47, 143, 0.95), rgba(46, 94, 255, 0.85));
} */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
}


.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 30px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #ff6b00;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

/* .btn:hover {
    background: #ff8c2f;
} */

.info-wrapper {
    width: 100%;
    max-width: 960px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-row {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(90deg, #2f5cff, #4c75ff);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-row.purple {
    background: linear-gradient(90deg, #4a2bd6, #6d3df0);
}

.info-row:last-child {
    border-bottom: none;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 20px;
}

.text {
    flex: 1;
    font-size: 16px;
}

.text.right {
    text-align: right;
}

.text strong {
    font-weight: 600;
}

.info-item {
    flex: 1 1 250px;
}

.about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.about img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
    font-size: 20px;
}

.title-center {
    text-align: center;
    margin-bottom: 40px;
}

.title-center h2 {
    font-size: 36px;
    font-weight: 600;
}

/* 邀请函区域宽度设置 */
.invitation-content {
    max-width: 960px !important;
    margin: 0 auto;
    text-align: left;
    font-size: 20px;
}

/* .map-section img {
    width: 100%;
    border-radius: 10px;
} */

.map-section img{
    width:100%;
    max-width:960px;
    display:block;
    margin:50px auto;
    border-radius:12px;
    box-shadow:0 20px 50px rgba(0,0,0,0.3);
}

.contact {
    /* background: linear-gradient(135deg, #2e5eff, #1b3db8); */
    padding: 10px 10%;
    padding-bottom: 100px;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
} */

.contact-left {
    flex: 1;
    color: #fff;
}

 .contact-left h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitle {
    opacity: 0.85;
    margin-bottom: 20px;
}

.line {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 25px 0;
}

 .contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info .label {
    font-weight: 600;
    font-size: 14px;
}

.contact-info p {
    margin-top: 5px;
    font-size: 16px;
}

.qr img {
    width: 130px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

/* 右侧表单 */
.contact-right {
    flex: 1;
}

.contact-right h2 {
    margin-bottom: 20px;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    background: #f3f3f3;
}

.contact-right button {
    background: #ff6b00;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-right button:hover {
    background: #ff8c2f;
}

.contact-right button:disabled {
    background: #cccccc;
    cursor: not-allowed;
} */

.form-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式 */
@media(max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}

/* .contact-form {
    max-width: 700px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
} */

/* .contact-form button {
    background: #ff6b00;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
} */

footer {
    text-align: center;
    padding: 20px;
    background: #0b2370;
    font-size: 14px;
}

/* 响应式 */
@media(max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .about {
        flex-direction: column;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .time-box {
        min-width: 70px;
        padding: 10px 15px;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }
    
    .time-box span {
        font-size: 24px;
    }
    
    .time-box small {
        font-size: 14px;
        display: flex;
    }
    
    .countdown-text {
        font-size: 12px;
        margin-top: 15px;
    }
}