  /* GLOBAL RESET: NO BORDER-RADIUS ANYWHERE */
    *,
    *::before,
    *::after {
      border-radius: 0px !important;
    }
    body {
      font-family: 'Inter', sans-serif;
      background: #ffffff;
      color: #1e2a3e;
      line-height: 1.5;
      scroll-behavior: smooth;
    }
	a{text-decoration:none}
	.project-title a{    color: #002b7e;}
    h1, h2, h3, h4, .academic-title {
      font-family: 'Merriweather', serif;
      font-weight: 700;
      letter-spacing: -0.2px;
    }
    :root {
      --primary: #002b7e;
      --secondary-bg: #f7f6f2;
      --white: #ffffff;
      --gray-dark: #666666;
    }
    /* buttons & containers */
    .btn-primary-solid {
      background: var(--primary);
      border: none;
      color: white;
      font-weight: 700;
      padding: 0.6rem 1.8rem;
      transition: 0.2s;
    }
    .btn-primary-solid:hover {
      background: #001a5a;
    }
    .btn-outline-primary-custom {
      border: 2px solid var(--primary);
      background: transparent;
      color: var(--primary);
      font-weight: 700;
      padding: 0.4rem 1rem;
    }
    .btn-outline-primary-custom:hover {
      background: var(--primary);
      color: white;
    }
    /* Top header */
    .top-header-border {
      border-bottom: 4px solid var(--primary);
      background: white;
    }
    /* Navbar Sticky */
    .main-navbar {
      background: white;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
      border-bottom: 1px solid rgba(0,43,126,0.2);
    }
    .sticky-nav {
      position: sticky;
      top: 0;
      z-index: 1040;
    }
    /* Desktop menu */
    .desktop-menu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      margin: 0;
      padding: 0;
      width: 100%;
    }
    .desktop-menu > li {
      position: relative;
      padding: 0.5rem 0;
    }
    .desktop-menu > li > a {
      font-weight: 700;
      padding: 0.5rem 0.75rem;
      text-decoration: none;
      color: #1e2a3e;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .desktop-menu > li > a:hover, .desktop-menu > li.active > a {
      color: var(--primary);
    }
    .dropdown-menu-custom {
      position: absolute;
      background: white;
      min-width: 240px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      padding: 0.5rem 0;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transition: 0.2s;
      top: 100%;
      left: 0;
      z-index: 1100;
      border: 1px solid #e9ecef;
      border-top: 3px solid var(--primary);
    }
    .desktop-menu li:hover > .dropdown-menu-custom {
      opacity: 1;
      visibility: visible;
    }
    .dropdown-menu-custom a {
      display: block;
      padding: 0.6rem 1.5rem;
      text-decoration: none;
      color: #2c3e4e;
      font-weight: 500;
    }
    .dropdown-menu-custom a:hover {
      background: #f7f6f2;
      color: var(--primary);
    }
    .dropdown-submenu {
      position: absolute;
      top: 0;
      left: 100%;
      min-width: 220px;
      background: white;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      padding: 0.5rem 0;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transition: 0.2s;
      border-left: 3px solid var(--primary);
    }
    .has-submenu:hover > .dropdown-submenu {
      opacity: 1;
      visibility: visible;
    }
    .has-submenu > a {
      display: flex;
      justify-content: space-between;
    }
    /* Mobile offcanvas */
    @media (max-width: 992px) {
      .desktop-only-menu { display: none; }
      .mobile-toggle-btn { display: block; }
	  /* 隐藏顶部社交图标 */
  .top-header-border .text-end {
    display: none;
  }
  
  /* 调整顶部行内元素对齐 */
  .top-header-border .row {
    justify-content: space-between;
    align-items: center;
  }
  
  /* 微调菜单按钮样式 */
  .mobile-toggle-btn .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    border-width: 2px;
  }
}

/* Offcanvas 菜单美化（全局，不限宽度） */
.offcanvas {
  background: #ffffff;
  border-right: 1px solid #efede7;
}

.offcanvas-header {
  background: #f7f6f2;
  border-bottom: 1px solid #e0dfd9;
  padding: 1rem 1.2rem;
}

.offcanvas-title {
  font-weight: 800;
  color: #002b7e;
  letter-spacing: -0.2px;
}

.offcanvas .list-group-item {
  border: none;
  padding: 0.8rem 1.2rem;
  font-weight: 500;
  color: #1e2a3e;
  background: transparent;
  transition: all 0.2s;
}

.offcanvas .list-group-item.active,
.offcanvas .list-group-item:active {
  background-color: rgba(0, 43, 126, 0.08);
  border-left: 3px solid #002b7e;
  color: #002b7e;
  font-weight: 700;
}

.offcanvas .list-group-item:hover {
  background-color: #f7f6f2;
  padding-left: 1.4rem;
}

/* 子菜单链接样式 */
.offcanvas .collapse a {
  display: block;
 
 
  color: #4a5b6e;
  text-decoration: none;
  transition: 0.1s;
}

.offcanvas .collapse a:hover {
  background-color: #f7f6f2;
  color: #002b7e;
  padding-left: 2.2rem;
}

/* 折叠图标旋转效果 */
.offcanvas [data-bs-toggle="collapse"] i {
  transition: transform 0.2s ease;
}

.offcanvas [data-bs-toggle="collapse"][aria-expanded="true"] i {
  transform: rotate(180deg);
}
  
    }
    @media (min-width: 993px) {
      .mobile-toggle-btn { display: none; }
      .desktop-only-menu { display: block; width: 100%; }
    }
	
	    .footer-bg {
      background-color: #666666;
      color: #f0f0f0;
      border-top: 5px solid #002b7e;
    }
    .footer-link-list {
      list-style: none;
      padding-left: 0;
    }
    .footer-link-list li {
      margin-bottom: 0.6rem;
    }
    .footer-link-list a {
      color: #e0e0e0;
      text-decoration: none;
    }
    .footer-link-list a:hover {
      color: white;
      text-decoration: underline;
    }
    .social-icon-square {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      background: rgba(255,255,255,0.15);
      transition: 0.2s;
      color: white;
      margin-right: 8px;
      text-decoration: none;
    }
    .social-icon-square:hover {
      background: var(--primary);
      transform: translateY(-2px);
    }
    .copyright {
      font-size: 0.8rem;
      border-top: 1px solid rgba(255,255,255,0.2);
      padding-top: 1.5rem;
    }
	
	
	
    @media (max-width: 992px) {
      .desktop-only-menu {
        display: none;
      }
      .mobile-toggle-btn {
        display: block;
		    position: absolute;
    right: 10px;
    top: -80px;
      }
      .swiper-slide img {
        height: 240px;
      }
    }
    @media (min-width: 993px) {
      .mobile-toggle-btn {
        display: none;
      }
      .desktop-only-menu {
        display: block;
        width: 100%;
      }
    }