:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* 顶部导航 */
.navbar-brand img {
    height: 30px;
}


/* 英雄区域 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://example.com/mobile-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 二宫格布局 */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
}

@media (min-width: 576px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.grid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.grid-content {
    padding: 15px;
}

.grid-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 专业卡片 */
.major-card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.major-card img {
    height: 250px;
    object-fit: cover;
}

.major-card .card-body {
    padding: 15px;
}

.major-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 教师卡片 */
.teacher-card {
    text-align: center;
    margin-bottom: 20px;
}

.teacher-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--primary-color);
}

/* 数据统计 */
.stat-item {
    text-align: center;
    padding: 15px 0;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* 底部联系 */
.contact-section {
    background-color: #f8f9fa;
    padding: 30px 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}

/* 轮播图调整 */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 5px;
    bottom: 20px;
}

.carousel-caption h5 {
    font-size: 1rem;
}

.carousel-caption p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* 修改后的图片行样式 - 等比缩放 */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.image-card {
    width: calc(50% - 15px); /* 两列布局，留出间距 */
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: 200px; /* 等比缩放高度 */
    object-fit: cover;
    object-position: center;
}

.image-caption {
    padding: 15px;
}

.gl{
    font-weight: 700;
    color: #0d6efd;
}
.psj{
    text-indent: 2em;
}