/* ============================================================
   崇实大学安全融合大学院中国中心  China Center
   Graduate School of Safety Convergence, Soongsil University
   ============================================================ */

:root {
  --navy: #0a367c;
  --navy-dark: #07265c;
  --navy-deep: #061d47;
  --blue: #1683f0;
  --cyan: #00a8c6;
  --cyan-dark: #008aa3;
  --text: #222831;
  --text-mid: #556070;
  --text-light: #9aa3b0;
  --bg-soft: #f4f7fb;
  --border: #e3e9f2;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 54, 124, 0.08);
  --shadow-hover: 0 16px 40px rgba(10, 54, 124, 0.16);
  --radius: 14px;
  --header-h: 86px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: -109px;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 14px rgba(10, 40, 90, .08);
}

/* 顶部品牌横幅（青色，照搬 grad.safety.ssu.ac.kr） */
.brand-bar {
  background: #00a4ca;
  text-align: center;
  padding: 20px 0 18px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-title {
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: 1px;
}

/* 滚动后的紧凑横幅（teal，白色 logo 组） */
.brand-compact { display: none; align-items: center; gap: 14px; }

.logo-img.dark { height: 32px; display: none; }

.brand-title-sm {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* 导航条 */
.nav-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.nav-inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header.scrolled .brand-bar { display: none; }
.header.scrolled { top: 0; background: #58c5c4; box-shadow: 0 2px 14px rgba(0, 60, 70, .18); }
.header.scrolled .nav-bar { background: #58c5c4; border-bottom: none; }
.header.scrolled .brand-compact { display: flex; }
.header.scrolled .nav-inner { justify-content: space-between; }
.header.scrolled .logo-img.dark { display: block; }
.header.scrolled .menu-toggle span { background: #fff; }
.header.scrolled .gnb > ul > li > a { color: #fff; }
.header.scrolled .gnb > ul > li:hover > a,
.header.scrolled .gnb > ul > li.active > a { color: #fff; }
.header.scrolled .gnb > ul > li > a::after { background: #fff; }

/* GNB */
.gnb > ul { display: flex; gap: 6px; }

.gnb > ul > li { position: relative; }

.gnb > ul > li > a {
  display: block;
  padding: 12px 18px;
  color: #444;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  transition: color .25s;
}

.gnb > ul > li:hover > a,
.gnb > ul > li.active > a { color: #00a4ca; }

.gnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.gnb > ul > li:hover > a::after,
.gnb > ul > li.active > a::after { transform: scaleX(1); }

.gnb .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 168px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(8, 30, 70, .18);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}

.gnb > ul > li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gnb .submenu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 6px;
  white-space: nowrap;
  transition: all .2s;
}

.gnb .submenu a:hover { background: var(--bg-soft); color: var(--navy); }

/* Hamburger */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #00a4ca;
  border-radius: 3px;
  margin: 5px auto;
  transition: all .3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 82vw);
  height: 100vh;
  background: #fff;
  z-index: 105;
  padding: 96px 26px 30px;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,.15);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu .m-item { border-bottom: 1px solid var(--border); }

.mobile-menu .m-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.mobile-menu .m-item .m-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.mobile-menu .m-item.expanded .m-sub { max-height: 260px; }

.mobile-menu .m-sub a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--text-mid);
}

.mobile-menu .m-item.expanded > a .m-arrow { transform: rotate(180deg); }
.m-arrow { transition: transform .3s; font-size: 12px; color: var(--text-light); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 48, .5);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.menu-overlay.open { opacity: 1; visibility: visible; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 45%, var(--navy) 100%);
  overflow: hidden;
  padding: 64px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(22,131,240,.35) 0%, rgba(22,131,240,0) 65%);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -12%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(0,168,198,.28) 0%, rgba(0,168,198,0) 62%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  display: block;
}

.hero-lines .ln-1 {
  top: 22%; right: -8%;
  width: 75%; height: 3px;
  background: linear-gradient(90deg, rgba(22,131,240,0), #1f8bff 55%, rgba(31,139,255,.3));
  transform: rotate(-14deg);
}

.hero-lines .ln-2 {
  top: 22%; right: 12%;
  width: 3px; height: 42%;
  background: linear-gradient(180deg, #1f8bff, rgba(31,139,255,0));
  transform: rotate(-14deg);
  transform-origin: top;
}

.hero-lines .ln-3 {
  bottom: 8%; left: -6%;
  width: 60%; height: 2px;
  background: linear-gradient(90deg, rgba(0,168,198,.5), rgba(0,168,198,0));
  transform: rotate(-10deg);
}

.hero-inner { position: relative; z-index: 2; padding: 60px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  color: #cfe4ff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.5px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #5db4ff, #4fd8ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  color: rgba(220, 235, 255, .88);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.8;
}

.hero-en {
  margin-top: 14px;
  color: rgba(180, 205, 240, .6);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo {
  position: absolute;
  right: -2%;
  bottom: -1px;
  width: min(46%, 560px);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.3);
  z-index: 2;
  opacity: .9;
}

/* inner page hero */
.hero.sm { min-height: 340px; }
.hero.sm .hero-inner { padding: 30px 0; }
.hero.sm h1 { font-size: clamp(30px, 4vw, 42px); }
.hero.sm .hero-photo { display: none; }

/* breadcrumb */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  font-size: 14.5px;
  color: var(--text-mid);
}

.breadcrumb .home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--navy);
}

.breadcrumb .sep { color: var(--text-light); font-size: 12px; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 15.5px;
  font-weight: 600;
  transition: all .3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 131, 240, .35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22,131,240,.45); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
}

.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--navy-dark); transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ---------------- Sections ---------------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 60px 0; }

.section-head { margin-bottom: 54px; }

.section-head.center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--cyan-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
  line-height: 1.35;
}

.section-head.center .section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 22px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.section-desc {
  margin-top: 18px;
  color: var(--text-mid);
  font-size: 16.5px;
  max-width: 760px;
}

.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  transition: gap .25s;
}
.more-link:hover { gap: 10px; }

/* ---------------- Welcome ---------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.welcome-photo {
  position: relative;
}

.welcome-photo img.main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.welcome-photo .badge-card {
  position: absolute;
  right: -18px; bottom: -24px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 26px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.welcome-photo .badge-card .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.welcome-photo .badge-card .num em { font-style: normal; color: var(--cyan); }
.welcome-photo .badge-card .lbl { font-size: 13px; color: var(--text-mid); margin-top: 2px; }

.welcome-text .lead-quote {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
}

.welcome-text p {
  margin-top: 22px;
  color: var(--text-mid);
  font-size: 16px;
}

.welcome-text .divider {
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(0,168,198,0));
  margin: 30px 0;
  border-radius: 2px;
}

.sign {
  margin-top: 26px;
  font-size: 15px;
  color: var(--text-mid);
}
.sign strong { color: var(--navy); font-size: 16px; }

/* ---------------- Stats strip ---------------- */
.stats-strip {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  padding: 46px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: #fff;
}
.stat-item .num em { font-style: normal; color: #52c6e8; }
.stat-item .lbl {
  margin-top: 6px;
  color: rgba(210,228,250,.75);
  font-size: 14.5px;
}

/* ---------------- Department cards ---------------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.dept-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dept-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.dept-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: transparent; }
.dept-card:hover::before { transform: scaleX(1); }

.dept-icon {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22,131,240,.12), rgba(0,168,198,.14));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--navy);
}

.dept-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.dept-card .en {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: .3px;
}

.dept-card p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-mid);
  flex-grow: 1;
}

.dept-card .card-arrow {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.dept-card .card-arrow svg { transition: transform .3s; }
.dept-card:hover .card-arrow svg { transform: translateX(5px); }

/* ---------------- Features ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 38px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0,168,198,.4);
}

.feature-item .fi-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}

.feature-item h3 { font-size: 18px; font-weight: 700; }
.feature-item p { margin-top: 10px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* checklist feature variant */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 34px;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 16.5px;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 16px;
  width: 7px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------------- Notice ---------------- */
.home-notice {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.home-notice .hn-title {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-notice .hn-title h3 { font-size: 26px; font-weight: 800; }
.home-notice .hn-title p { font-size: 14px; color: rgba(220,235,255,.8); margin-top: 8px; }
.home-notice .hn-title .more-link { color: #9fd8f5; margin-top: 20px; justify-content: flex-start; }

.home-notice .hn-list { padding: 12px 30px; }

.notice-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 6px;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--bg-soft); padding-left: 14px; }

.notice-date {
  flex-shrink: 0;
  text-align: center;
  width: 62px;
}
.notice-date .day { display: block; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.notice-date .ym { font-size: 12px; color: var(--text-light); }

.notice-body { min-width: 0; flex-grow: 1; }
.notice-body .t {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-body .d {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(0,168,198,.12);
  color: var(--cyan-dark);
}
.tag.academic { background: rgba(22,131,240,.12); color: var(--blue); }

/* notice page list */
.notice-page-item {
  display: flex;
  gap: 26px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.notice-page-item:hover { background: var(--bg-soft); padding-left: 18px; }
.notice-page-item .notice-date { width: 78px; }
.notice-page-item .notice-body .t { font-size: 17px; white-space: normal; }
.notice-page-item .notice-body .d { font-size: 14px; margin-top: 6px; white-space: normal; }

/* calendar */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cal-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px;
  border-top: 4px solid var(--cyan);
}
.cal-card .date-range { font-size: 15px; font-weight: 700; color: var(--navy); }
.cal-card h4 { margin-top: 10px; font-size: 17px; font-weight: 600; }

/* ---------------- Tabs (departments) ---------------- */
.dept-tabs { margin-top: 10px; }

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding: 8px;
  background: var(--bg-soft);
  border-radius: 14px;
}

.tab-btn {
  flex: 1;
  min-width: 150px;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  transition: all .3s ease;
  line-height: 1.4;
}

.tab-btn .en {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: .2px;
  opacity: .7;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  box-shadow: 0 8px 20px rgba(10,54,124,.28);
}

.tab-panel { display: none; animation: fadeUp .45s ease; }
.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.dept-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: start;
}

.dept-detail-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 120px; }
.dept-detail-photo img { width: 100%; height: 320px; object-fit: cover; }
.dept-detail-photo .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(6,25,60,.85), transparent);
  color: #fff; padding: 34px 22px 16px;
  font-size: 13px;
}

.dept-detail h3 { font-size: 28px; font-weight: 800; line-height: 1.4; }
.dept-detail h3 .en { display: block; font-size: 13px; color: var(--text-light); font-weight: 500; margin-top: 8px; letter-spacing: .3px; }

.goal-list { margin: 26px 0; }
.goal-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px dashed var(--border);
  font-size: 15.5px;
  color: var(--text-mid);
}
.goal-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.course-block-title {
  margin: 34px 0 18px;
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.course-block-title::before {
  content: "";
  width: 5px; height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.sem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--cyan);
  border-radius: 0 0 14px 0;
  padding: 16px 20px;
  transition: all .25s;
}
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course-card h5 { font-size: 15.5px; font-weight: 700; }
.course-card .sem-tag { float: right; font-size: 11px; font-weight: 700; color: var(--cyan-dark); }
.course-card p { font-size: 13px; color: var(--text-light); margin-top: 6px; line-height: 1.65; }

/* ---------------- Tables (admission) ---------------- */
.adm-block { margin-bottom: 56px; }

.adm-block > h3 {
  font-size: 23px;
  font-weight: 800;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 2.5px solid var(--navy);
  position: relative;
}
.adm-block > h3::after {
  content: "";
  position: absolute;
  bottom: -2.5px; left: 0;
  width: 90px; height: 2.5px;
  background: var(--cyan);
}

.tbl-wrap { overflow-x: auto; border-radius: 10px; }

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

table.tbl th, table.tbl td {
  border: 1px solid var(--border);
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

table.tbl thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

table.tbl tbody th {
  background: var(--bg-soft);
  font-weight: 700;
  width: 170px;
  text-align: center;
  vertical-align: middle;
  color: var(--navy);
}

table.tbl td .hl { color: var(--navy); font-weight: 700; }

.doc-list { counter-reset: doc; }
.doc-list li {
  position: relative;
  padding: 13px 0 13px 44px;
  border-bottom: 1px dashed var(--border);
  font-size: 15.5px;
  counter-increment: doc;
}
.doc-list li::before {
  content: counter(doc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--cyan);
}

.scholar-box {
  background: linear-gradient(130deg, rgba(22,131,240,.08), rgba(0,168,198,.1));
  border: 1px solid rgba(0,168,198,.3);
  border-radius: var(--radius);
  padding: 34px 38px;
}
.scholar-box h4 { font-size: 19px; color: var(--navy); font-weight: 800; }
.scholar-box ul { margin-top: 16px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 30px; }
.scholar-box li { position: relative; padding-left: 22px; font-size: 15.5px; }
.scholar-box li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--cyan-dark);
  font-weight: 800;
}

.method-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.method-card {
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.method-card .mc-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.method-card h4 { font-size: 18px; font-weight: 700; }
.method-card p { font-size: 14.5px; color: var(--text-mid); margin-top: 6px; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: start;
}

.info-cards { display: grid; gap: 18px; }

.info-card {
  display: flex;
  gap: 22px;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s;
}
.info-card:hover { box-shadow: var(--shadow); border-color: rgba(22,131,240,.4); }

.info-card .ic-icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.info-card h4 { font-size: 15px; color: var(--text-light); font-weight: 600; }
.info-card .v { font-size: 18px; font-weight: 700; margin-top: 4px; line-height: 1.5; }
.info-card .v.sm { font-size: 16px; font-weight: 600; }
.info-card .note { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.qr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.qr-card img.qr {
  width: 200px; height: 200px;
  margin: 0 auto 18px;
  border-radius: 10px;
}
.qr-card h3 { font-size: 21px; font-weight: 800; }
.qr-card p { color: var(--text-mid); font-size: 14.5px; margin-top: 8px; }
.qr-card .wechat-id {
  margin-top: 16px;
  padding: 10px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.contact-map {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 60%, #0e57a8 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; top: -40%; right: -5%;
  width: 400px; height: 400px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-inner p { color: rgba(220,235,255,.85); margin-top: 8px; font-size: 16px; }

/* ---------------- About page ---------------- */
.about-photo-wide {
  margin: -30px 0 70px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo-wide img { width: 100%; height: 380px; object-fit: cover; }

.prose-block { margin-bottom: 60px; }
.prose-block h3 {
  font-size: 24px; font-weight: 800; margin-bottom: 20px;
  padding-left: 16px;
  border-left: 5px solid var(--cyan);
}
.prose-block p { color: var(--text-mid); font-size: 16px; margin-bottom: 16px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.value-card {
  text-align: center;
  padding: 36px 26px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.value-card .num {
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.value-card h4 { margin-top: 10px; font-size: 18px; font-weight: 700; }
.value-card p { margin-top: 8px; font-size: 14px; color: var(--text-mid); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(200, 216, 240, .75);
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer .footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; }
.footer .footer-logo .logo-img { height: 34px; }

.footer-about p { line-height: 1.8; font-size: 13.5px; }

.footer h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .2s; font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: #6fa8dc; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(180, 200, 230, .55);
}

.related-links { display: flex; gap: 18px; flex-wrap: wrap; }
.related-links a { color: rgba(200,216,240,.75); }
.related-links a:hover { color: #fff; }

/* ---------------- Floating ---------------- */
.float-contact {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-contact a {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(10,40,90,.35);
  transition: all .3s;
}
.float-contact a:hover { background: var(--cyan-dark); transform: translateY(-3px); }
.float-contact a span {
  position: absolute;
  right: 62px;
  background: var(--navy);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.float-contact a:hover span { opacity: 1; }

#toTop { opacity: 0; visibility: hidden; transition: all .3s; }
#toTop.show { opacity: 1; visibility: visible; }

/* ---------------- Animations on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .gnb { display: none; }
  .menu-toggle { display: block; }
  .nav-inner { justify-content: flex-end; }

  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .welcome-grid { grid-template-columns: 1fr; gap: 50px; }
  .home-notice { grid-template-columns: 1fr; }
  .dept-detail { grid-template-columns: 1fr; }
  .dept-detail-photo { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .cal-grid { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .scholar-box ul { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .dept-grid, .feature-grid, .stats-grid, .feature-list,
  .sem-grid, .method-cards, .footer-top, .value-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero.sm { min-height: 280px; }
  .brand-bar { padding: 14px 0 12px; }
  .logo-img { height: 30px; }
  .brand-title { font-size: 17px; }
  .header .logo-img.logo-partner, .brand-title-sm { display: none; }
  .header.scrolled .logo-img.dark { height: 26px; }
  .notice-page-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .notice-page-item .notice-date { width: auto; display: flex; gap: 8px; align-items: baseline; }
  .home-notice .hn-list { padding: 8px 18px; }
  .tab-btn { min-width: calc(50% - 5px); flex: none; width: calc(50% - 5px); font-size: 13.5px; }
  .float-contact { right: 14px; bottom: 16px; }
  .about-photo-wide img { height: 240px; }
  .info-card { padding: 20px; gap: 16px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
