 :root {
    --primary: #333;
    --primary-dark: #0f2547;
    --accent: #c0392b;
    --accent-light: #e74c3c;
    --gold: #c9a96e;
    --bg-light: #f4f4f4;
    --text: #333;
    --text-light: #666;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
  }
  img { max-width: 100%; display: block; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* ===== NAV ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: linear-gradient(to right,#b10e2e,#13124e);
    backdrop-filter: blur(10px);
    padding: 14px 0;
  }
  nav .container { display: flex; justify-content: space-between; align-items: center; }
  nav .logo { color: #fff; font-size: 20px; font-weight: 700;  }
  nav .logo img { width: 220px;}
  nav ul { display: flex; list-style: none; gap: 50px; }
  nav ul a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 18px; transition: color .2s; }
  nav ul a:hover { color: var(--gold); }
  .nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

.footer{font-size: 14px; margin-top: 35px; padding: 20px; font-weight: 200; color: #ddd; text-align: center}

  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(19,18,78,0.8), rgba(19,18,78,0.8)),
                url('../images/school-gate.jpg') center/cover no-repeat;
    text-align: center;
    color: #fff;
    padding: 100px 20px 60px;
  }
  .hero-content { max-width: 800px; }
.hero-content p{ padding: 20px 0 50px 0;}
.hero .badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    padding: 8px 28px;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}
  .hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: 3px;
  }
  .hero .slogan {
    font-size: clamp(16px, 2.5vw, 22px);
    color: rgba(255,255,255,0.85);
    letter-spacing: 4px;
    margin-bottom: 36px;
    font-weight: 300;
  }
  .hero .cta {
    display: inline-block;
    background:#b10e2e;
    color: #fff;
    padding: 14px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 2px;
    transition: background .3s, transform .3s;
  }
  .hero .cta:hover { background: var(--accent-light); transform: translateY(-2px); }
  .hero-stats {
    display: flex; justify-content: center; gap: 50px; margin-top: 50px; flex-wrap: wrap;
  }
  .hero-stat .num { font-size: 32px; font-weight: 800; color: var(--gold); }
  .hero-stat .label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

  /* ===== SECTIONS ===== */
  section { padding: 80px 0; }
  .section-head { text-align: center; margin-bottom: 50px; }
  .section-head .en {
    font-size: 13px; letter-spacing: 3px; color: var(--gold);
    text-transform: uppercase; margin-bottom: 8px;
  }
  .section-head h2 {
    font-size: clamp(22px, 4vw, 30px);
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
  }
  .section-head h2::after {
    content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: var(--accent);
  }

  /* ===== ABOUT ===== */
  .about { background: var(--bg-light); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap:20px; align-items: center;
  }
  .about-text p {
    font-size: 16px; line-height: 2; color: #444; text-align: justify; margin-bottom: 16px; text-indent: 2em;
  }
  .about-imgs { display: grid;  }
  .about-imgs img {
    width: 100%; object-fit: cover;
    transition: transform .3s;
  }
  .about-imgs img:hover { transform: scale(1.03); }
  .about-imgs .tall { grid-row: span 2; height: 100%; }

  /* ===== COOPERATION ===== */
  .coop-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
  .coop-card {
    background: #fff; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform .3s, box-shadow .3s;
  }
  .coop-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
  .coop-card .img-wrap {  }
  .coop-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .coop-card .body { padding: 22px; }
  .coop-card .num {
    display: inline-block; background: var(--primary); color: #fff;
    width: 32px; height: 32px; line-height: 32px; text-align: center;
    border-radius: 50%; font-size: 15px; font-weight: 700; margin-bottom: 12px;
  }
  .coop-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
  .coop-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

  /* ===== FACILITIES GALLERY ===== */
  .facilities { background: var(--bg-light); }
  .gallery {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .gallery-item {
    position: relative;  overflow: hidden; height: 240px;
  }
  .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .gallery-item:hover img { transform: scale(1.08); }
  .gallery-item .caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff; padding: 30px 16px 14px; font-size: 15px; font-weight: 600;
  }
  .gallery-item.wide { grid-column: span 2; }

  /* ===== SUPPORT ===== */
  .support-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .support-card {
    background: #fff; border: 1px solid #e8ecf2; 
    padding: 28px 24px; border-top: 4px solid transparent; border-image: linear-gradient(90deg, #13124e, #b10e2e) 1;
    transition: box-shadow .3s;
  }
  .support-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
  .support-card .icon {
    width: 48px; height: 48px; 
    background: linear-gradient(135deg, var(--primary), #2a5a9f);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px;
  }
  .support-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
  .support-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

  /* ===== CONTACT ===== */
.contact {
    background: linear-gradient(rgba(19, 18, 78, 1), rgba(19, 18, 78, 0.9)), url(../images/school-gate.jpg) center / cover no-repeat;
    color: #fff;
}
  .contact .section-head h2 { color: #fff; }
  .contact .section-head .en { color: var(--gold); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  }
  .contact-info .row {
    display: flex; align-items: flex-start; margin-bottom: 22px; font-size: 16px;
  }
  .contact-info .label {
    color: var(--gold); font-weight: 700; min-width: 90px;
  }
  .contact-info .value { color: rgba(255,255,255,0.92); line-height: 1.8; }
  .contact-cta {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; padding: 30px;
  }
  .contact-cta h3 { font-size: 20px; margin-bottom: 14px; color: var(--gold); }
  .contact-cta p { color: rgba(255,255,255,0.85); line-height: 1.9; font-size: 15px; }

  /* ===== FOOTER ===== */
footer {
    background: #0000004f;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 24px 20px;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 40px;
}

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    nav ul { display: none; }
    nav ul.open {
      display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
      background: var(--primary-dark); padding: 20px; gap: 16px;
    }
    .nav-toggle { display: block; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .coop-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery-item.wide { grid-column: span 2; }
  }
  @media (max-width: 600px) {
    .coop-grid, .support-grid, .gallery { grid-template-columns: 1fr; }
    .gallery-item.wide { grid-column: span 1; }
    .hero-stats { gap: 24px; }
    section { padding: 50px 0; }
	    .coop-card .img-wrap { height: 180px; overflow: hidden; }
  }


.coop-card span {
    color: #b10e2e;
    font-size: 26px;
    font-style: oblique;
}