:root {
    --primary-color: #00276c;
    --max-width: 1500px;
    --section-spacing: 60px;
    --content-spacing: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.mainn .section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    color: var(--primary-color);
    font-size: 25px;
    margin-bottom: 25px;
    line-height: 50px;
    position: relative;
    text-align: left;
    font-weight: 600;
    padding-left: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.subsection-title {
    color: var(--primary-color);
    font-size:19px;
    margin: 3rem 0 2rem;
    position: relative;
    padding-left: 1rem;
    font-weight: 500;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.intro-text {
    text-align: left;
    margin: 0 auto var(--content-spacing);
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
}

.intro-text p {
    font-size: 18px;
    text-align: justify;
    text-indent: 2em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive grid layouts */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 0.5fr));
    gap: 15px;
    margin-top: var(--content-spacing);
}

/* Copy button styles */
.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    font-family: "Microsoft YaHei", sans-serif;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #003490;
    transform: translateY(-2px);
}

/* Add more specific styles for each section... */

/* Ã¥Â­Â¦Ã©â„¢Â¢Ã¤Â¸â€œÃ¤Â¸Å¡Ã¦Â â€¡Ã§Â­Â¾Ã©Â¡ÂµÃ¦Â Â·Ã¥Â¼Â */
.tabs-container {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 20px 15px;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.major-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 15px 0;
}

.major-card {
    background: white;
    padding: 15px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.major-card h4 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #000;
}

.major-card a {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.major-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: rgba(0,39,108,0.02);
}

.major-card:hover a {
    opacity: 1;
    transform: translateX(0);
}

.major-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.major-link:hover {
    color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Ã¦Â Â¡Ã¥â€ºÂ­Ã§Å½Â¯Ã¥Â¢Æ’Ã¥ÂÂ¡Ã§â€°â€¡Ã¦Â Â·Ã¥Â¼Â */
.campus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: var(--content-spacing);
}

.campus-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campus-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-more:hover {
    gap: 0.8rem;
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(3px);
}

/* Ã¥Â°Â±Ã¤Â¸Å¡Ã¥Ââ€¡Ã¥Â­Â¦Ã¥ÂÂ¡Ã§â€°â€¡Ã¦Â Â·Ã¥Â¼Â */
.employment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: var(--content-spacing);
}

.employment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.employment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Ã¥Â¾Â®Ã¤Â¿Â¡Ã¦Å½Â¨Ã¦â€“â€¡Ã¦Â Â·Ã¥Â¼Â */
.articles-section {
    margin-bottom: 50px;
}

.subsection-title {
    color: var(--primary-color);
    font-size: 19px;
    margin: 30px 0 20px;
    position: relative;
    padding-left: 10px;
    font-weight: 500;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.article-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.article-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-card i {
    color: var(--primary-color);
    font-size: 25px;
    flex-shrink: 0;
}

.article-card .content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-card .text-content {
    flex-grow: 1;
}

.article-card .subtitle {
    font-size: 16px;
    color: #666;
}

.article-card h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-card h4 a {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    background: rgba(0,39,108,0.02);
}

.article-card:hover h4 a {
    opacity: 1;
    transform: translateX(0);
}

/* Ã¥â€¦Â¶Ã¤Â»â€“Ã©Æ’Â¨Ã¥Ë†â€ Ã¦Â Â·Ã¥Â¼Â */
.other-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.other-card {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    color: white;
}

.card-bgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/style/images/mtgz.jpg') center/cover;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.card-bgr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/style/images/bklk.jpg') center/cover;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.other-card:hover .card-bg {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.other-card .card-content {
    position: relative;
    z-index: 1;
    padding: 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.other-card .card-content h1{font-size: 30px;
    font-weight: bold;
    padding-bottom: 15px;}

.other-card h3 {
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.other-card p {
    margin: 0;
    opacity: 0.8;
}

.other-card .card-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 30px;
    transition: all 0.3s ease;
}

.other-card .card-link:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(45deg);
}

/* Ã¥â€œÂÃ¥Âºâ€Ã¥Â¼ÂÃ¨Â°Æ’Ã¦â€¢Â´ */
@media (max-width: 768px) {
    .employment-cards,
    .other-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .article-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    :root {
        --section-spacing: 40px;
        --content-spacing: 20px;
    }
    
    .section-title {
        font-size: 25px;
    }
    
    .subsection-title {
        font-size:19px;
    }
    
    .intro-text p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
.card-container{grid-template-columns: repeat(auto-fit, minmax(100%, 0.5fr));}



   .mainn .section{
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 25px;
    }
    
    .intro-text p {
        font-size: 18px;
    }
}

/* Ã¥Â·Â¦Ã¤Â¾Â§Ã¦â€šÂ¬Ã¦ÂµÂ®Ã¥Â¯Â¼Ã¨Ë†ÂªÃ¦Â Â·Ã¥Â¼Â */
.floating-nav {
    position: fixed;
    right: 0px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 10px 0;
}

.nav-link {
    display: block;
    padding: 10px 12px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(0,39,108,0.1);
    color: var(--primary-color);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Ã¥â€œÂÃ¥Âºâ€Ã¥Â¼ÂÃ¨Â°Æ’Ã¦â€¢Â´ */
@media (max-width: 1400px) {
    .floating-nav {
        right: 0px;
        padding: 0.8rem;
    }
    
    .nav-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 1200px) {
    .floating-nav {
        display: none; /* Ã¥Å“Â¨Ã¥Â°ÂÃ¥Â±ÂÃ¥Â¹â€¢Ã¤Â¸Å Ã©Å¡ÂÃ¨â€”ÂÃ¥Â¯Â¼Ã¨Ë†Âª */
    }
}