﻿  :root {
      --primary-red: #B92824;
      --dark-red: #7a1526;
      --light-red: #c43a4a;
      --bg-beige: #f8f4ef;
      --bg-cream: #fdfbf7;
      --text-dark: #333333;
      --text-gray: #666;
      --text-light: #999;
      --border-color: #e8e0d5;
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      --shadow-hover: 0 12px 40px rgba(164, 30, 46, 0.18);
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
      color: var(--text-dark);
      background: #fff;
      line-height: 1.6;
      overflow-x: hidden;
  }

  a {
      text-decoration: none;
      color: inherit;
  }

  ul,
  ol {
      list-style: none;
  }

  img {
      max-width: 100%;
      display: block;
  }

  .container {
      margin: 0 5%;
      position: relative;
  }

  /* Header - overlay on hero */
  .main-header {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
      color: #fff;
      transition: background 0.3s, box-shadow 0.3s, color 0.3s;
  }

  .main-header .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 120px;
      padding: 20px 3%;
  }

  .logo {
      display: flex;
      align-items: center;
      gap: 14px;
  }

  .logo-icon {
      width: 52px;
      height: 52px;
      background: transparent;
      border: 2px solid rgba(255, 255, 255, 0.6);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 24px;
      font-weight: bold;
      flex-shrink: 0;
  }

  .logo-text h1 {
      font-size: 24px;
      color: #fff;
      letter-spacing: 3px;
      font-weight: 700;
  }

  .logo-text p {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.75);
      letter-spacing: 1px;
      text-transform: uppercase;
  }

  .header-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
  }

  .header-links {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.8);
  }

  .header-links a {
      transition: color 0.3s;
  }

  .header-links a:hover {
      color: #fff;
  }

  .header-links .divider {
      width: 1px;
      height: 12px;
      background: rgba(255, 255, 255, 0.3);
  }

  .header-search {
      width: 18px;
      height: 18px;
      cursor: pointer;
      opacity: 0.8;
      transition: opacity 0.3s;
  }

  .header-search:hover {
      opacity: 1;
  }

  .main-header.scrolled {
      position: fixed;
      background: #fff;
      color: #333;
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  }

  .main-header.scrolled .container {
      min-height: 80px;
      padding: 10px 0;
  }

  .main-header.scrolled .logo-icon {
      border-color: var(--primary-red);
      color: var(--primary-red);
  }

  .main-header.scrolled .logo-text h1 {
      color: var(--primary-red);
  }

  .main-header.scrolled .logo-text p {
      color: #666;
  }

  .main-header.scrolled .header-links {
      color: #666;
  }

  .main-header.scrolled .header-links a:hover {
      color: var(--primary-red);
  }

  .main-header.scrolled .header-links .divider {
      background: rgba(0, 0, 0, 0.15);
  }

  .main-header.scrolled .header-search {
      color: #333;
      opacity: 0.7;
  }

  .main-header.scrolled .main-nav>li>a {
      color: #333;
  }

  .main-header.scrolled .main-nav>li>a:hover {
      color: var(--primary-red);
  }

  .main-header.scrolled .main-nav>li>a.active {
      color: var(--primary-red);
  }

  .main-header.scrolled .main-nav>li>a.active::after {
      background: var(--primary-red);
  }

  .main-nav {
      display: flex;
      gap: 0;
      flex-wrap: nowrap;
  }

  .main-nav>li {
      position: relative;
  }

  .main-nav>li>a {
      display: block;
      padding: 0 17px;
      line-height: 44px;
      font-size: 15px;
      color: #fff;
      transition: all 0.3s;
      position: relative;
      font-weight: 500;
      white-space: nowrap;
  }

  .main-nav>li>a:hover {
      color: var(--primary-red);
  }

  .main-nav>li:hover>a {
      color: var(--primary-red);
  }

  .main-nav>li>a.active {
      color: #fff;
  }

  .main-nav>li>a::after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 50%;
      width: 0;
      height: 3px;
      background: var(--primary-red);
      transition: all 0.3s;
      transform: translateX(-50%);
      border-radius: 2px;
  }

  .main-nav>li:hover>a::after {
      background: var(--primary-red);
  }

  .main-nav>li>a.active::after {
      background: #fff;
  }

  .main-nav>li:hover>a::after,
  .main-nav>li>a.active::after {
      width: 60%;
  }

  .sub-nav {
      position: absolute;
      top: 100%;
      left: 50%;
      min-width: 150px;
      background: rgba(255, 255, 255, 0.98);
      border-radius: 4px;
      border-top: 2px solid var(--primary-red);
      border-bottom: 2px solid var(--primary-red);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      opacity: 0;
      visibility: hidden;
      transform: translateX(-50%) translateY(10px);
      transition: all 0.3s;
      overflow: hidden;
      z-index: 1001;
  }

  .main-nav>li:hover .sub-nav {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
  }

  .sub-nav li {
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sub-nav li:last-child {
      border-bottom: none;
  }

  .sub-nav a {
      display: block;
      padding: 11px 18px;
      line-height: 1.5;
      font-size: 14px;
      color: #333;
      text-align: center;
      white-space: nowrap;
      transition: all 0.3s;
  }

  .sub-nav a:hover {
      background: var(--primary-red);
      color: #fff;
  }

  /* Hero Banner Carousel */
  .hero-banner {
      position: relative;
      height: 100vh;
      overflow: hidden;
  }

  .hero-slider {
      position: relative;
      width: 100%;
      height: 100%;
  }

  .hero-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
      z-index: 1;
  }

  .hero-slide.active {
      opacity: 1;
      z-index: 2;
  }

  .hero-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
      z-index: 2;
  }

  .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #fff;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      width: 80%;
      z-index: 3;
  }

  .hero-content h2 {
      font-size: 38px;
      font-weight: 700;
      letter-spacing: 4px;
      margin-bottom: 12px;
  }

  .hero-content p {
      font-size: 24px;
      letter-spacing: 2px;
  }

  .hero-dots {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 4;
  }

  .hero-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s;
  }

  .hero-dot.active {
      background: #fff;
      width: 24px;
      border-radius: 5px;
  }

  .hero-arrows {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 30px;
      z-index: 4;
      pointer-events: none;
  }

  .hero-arrow {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 28px;
      cursor: pointer;
      transition: all 0.3s;
      pointer-events: auto;
  }

  .hero-arrow:hover {
      background: rgba(255, 255, 255, 0.4);
  }

  /* Section titles */
  .section-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 28px;
      position: relative;
  }

  .section-title h3 {
      font-size: 24px;
      color: var(--text-dark);
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
  }

  .section-title h3::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 24px;
      background: var(--primary-red);
      border-radius: 3px;
  }

  .section-title .more {
      font-size: 13px;
      color: var(--text-light);
      display: flex;
      align-items: center;
      gap: 4px;
      transition: color 0.3s;
  }

  .section-title .more:hover {
      color: var(--primary-red);
  }

  /* News Section */
  .news-section {
      padding: 50px 0 120px;
      background: url(/images/xyxiBgm.png) no-repeat center center / 100% 100%;
  }

  .news-grid {
      display: grid;
      grid-template-columns: 4.5fr 2fr;
      gap: 72px;
      align-items: start;
  }

  .news-left {
      display: flex;
      flex-direction: column;
  }

  .news-left-header {
      margin-bottom: 47px;

  }


  .news-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
  }

  .news-card {
      background: transparent;
      border-radius: 0;
      overflow: visible;
      box-shadow: none;
      transition: transform 0.3s;
      cursor: pointer;
  }

  .news-card:hover {
      transform: translateY(-4px);
  }

  .news-card-img {
      position: relative;
      aspect-ratio: 560 / 315;
      overflow: hidden;
  }

  .news-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
  }

  .news-card:hover .news-card-img img {
      transform: scale(1.05);
  }

  .news-card-date {
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--primary-red);
      color: #fff;
      padding: 6px 8px;
      border-radius: 4px;
      text-align: center;
      min-width: 44px;
  }

  .news-card-date .day {
      display: block;
      font-size: 20px;
      font-weight: 700;
      line-height: 1;
  }

  .news-card-date .month {
      display: block;
      font-size: 10px;
      line-height: 1.2;
      margin-top: 2px;
  }

  .news-card-body {
      padding: 14px 0 14px 14px;
      margin-left: 24px;
      border-left: 1px solid var(--primary-red);
  }

  .news-card-body h4 {
      font-size: 14px;
      color: var(--text-dark);
      line-height: 1.6;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: color 0.3s;
  }

  .news-card:hover .news-card-body h4 {
      color: var(--primary-red);
  }

  .news-card-body p {
      font-size: 12px;
      color: var(--text-light);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }

  .news-right {
      position: relative;
      background: transparent;
      border-radius: 0;
      padding: 0;
      height: 100%;
      box-shadow: none;
  }

  .timeline-header {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      height: 36px;
  }

  .timeline-more {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      min-width: 72px;
      padding: 6px 14px;
      border: 1px solid var(--primary-red);
      border-radius: 20px;
      font-size: 12px;
      color: var(--primary-red);
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.3s;
      background: #fff;
  }

  .timeline-more svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
  }

  .timeline-more:hover {
      background: var(--primary-red);
      color: #fff;
  }

  .more-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 72px;
      padding: 6px 14px;
      font-size: 16px;
      color: var(--primary-red);
      font-weight: 700;
      letter-spacing: 1px;
      cursor: pointer;
      transition: all 0.3s;

  }

  .more-btn:hover {
      background: rgba(217, 151, 65, 0.2);
      border-radius: 23px;

  }

  .news-timeline {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      height: 100%;
      padding-left: 0;
      padding-top: 100px;
      padding-bottom: 79px;

      flex: 1;
  }

  .news-timeline::before {
      content: '';
      position: absolute;
      left: 9px;
      top: 20px;
      bottom: -42px;
      width: 1px;
      background: rgba(185, 40, 36, 0.5);
  }

  .timeline-item {
      position: relative;
      padding-left: 28px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 14px;
  }

  .timeline-item:last-child {
      margin-bottom: 0;
  }

  .timeline-dot {
      position: absolute;
      left: 4px;
      top: 50%;
      transform: translateY(-50%);
      width: 12px;
      height: 12px;
      background: var(--primary-red);
      border: 2px solid #fff;
      border-radius: 50%;
      z-index: 1;
      transition: all 0.3s;
      flex-shrink: 0;
      box-shadow: 0 0 0 1px #d4c8bc;
  }

  .timeline-item:hover .timeline-dot {
      transform: translateY(-50%) scale(1.15);
      background: var(--primary-red);
  }

  .timeline-date {
      position: relative;
      min-width: 56px;
      padding: 7px 10px;
      background: rgba(185, 40, 36, 0.1);
      border-radius: 6px;
      text-align: center;
      flex-shrink: 0;
      transition: background 0.3s;
  }

  .timeline-date::before {
      content: '';
      position: absolute;
      left: -8px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-right: 8px solid rgba(185, 40, 36, 0.1);
      transition: border-right-color 0.3s;
  }

  .timeline-item:hover .timeline-date {
      background: var(--primary-red);
  }

  .timeline-item:hover .timeline-date::before {
      border-right-color: var(--primary-red);
  }

  .timeline-date .day {
      display: block;
      font-size: 20px;
      font-weight: 800;
      color: var(--primary-red);
      line-height: 1.2;
      transition: color 0.3s;
  }

  .timeline-date .month {
      display: block;
      font-size: 14px;
      color: var(--primary-red);
      line-height: 1.2;
      margin-top: 2px;
      font-weight: 800;
      transition: color 0.3s;
  }

  .timeline-item:hover .timeline-date .day,
  .timeline-item:hover .timeline-date .month {
      color: #fff;
  }

  .timeline-content {
      flex: 1;
  }

  .timeline-item:last-child .timeline-content {
      padding-bottom: 0;
      border-bottom: none;
  }

  .timeline-content h4 {
      font-size: 16px;
      color: var(--text-dark);
      line-height: 1.6;
      transition: color 0.3s;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
  }

  .timeline-item:hover .timeline-content p {
      color: var(--primary-red);
  }

  .timeline-bottom {
      width: 93%;
      height: 1px;
      background-color: #CECECE;
      margin-left: 34px;
  }

  /* Notice & Students Section */
  .notice-students-section {
      margin-top: -80px;
      padding: 120px 0;
      background: url(/images/tzxzBgm.png) no-repeat center center / 100% 100%;
      position: relative;
  }


  .notice-students-wrap {
      display: flex;
      position: relative;
      min-height: 420px;
      z-index: 1;
  }

  .ns-card {
      padding: 64px 74px 83px 83px;
      transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
      cursor: pointer;
      position: relative;
      overflow: hidden;
  }

  .ns-card.notice {
      width: 54%;
      margin-right: -3%;
      padding-right: 7%;
      background: url(/images/xueziBgm.png) no-repeat center center / 100% 100%;
      color: var(--text-dark);
      transform: translateY(0);
      z-index: 2;
  }

  .ns-card.students {
      width: 60%;
      margin-left: -3%;
      padding-left: 9%;
      background: url(/images/xueziBgm.png) no-repeat center center / 100% 100%;
      color: var(--text-dark);
      transform: translateY(0);

      z-index: 2;
  }

  .ns-card.notice.active,
  .ns-card.students.active {
      /* background: var(--primary-red); */
      background: url(/images/gonggaoBgm.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
      color: #fff;
      transform: translateY(-60px);
      z-index: 4;
  }

  .ns-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 50px;
      position: relative;
  }

  .ns-header h3 {
      font-size: 22px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
  }

  .ns-header h3 .icon {
      width: 28px;
      height: 28px;
      border: 2px solid currentColor;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
  }

  .ns-header .more {
      font-size: 12px;
      opacity: 0.8;
      transition: opacity 0.3s;
      display: flex;
      align-items: center;
      gap: 4px;
  }

  .ns-header .more:hover {
      opacity: 1;
  }

  .ns-list .ns-item {
      display: flex;
      gap: 16px;
      padding-right: 10px;
      height: 133px;
      margin-bottom: 40px;
      background: url(/images/ggnr.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
      border-radius: 12px;
      transition: all 0.3s;

  }

  .ns-card.students .ns-list .ns-item {
      background: url(/images/xzfcnr.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
  }

  .ns-card.students .ns-list .ns-item:hover {
      background: url(/images/xzfcnrHove.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
  }

  .ns-list .ns-item:last-child {
      margin-bottom: 0;
  }

  .ns-list .ns-item:hover {
      transform: translateX(6px);
      background: url(/images/ggnrHove.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
  }

  .ns-date {
      flex-shrink: 0;
      width: 100px;
      text-align: center;
      color: var(--primary-red);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding-right: 12px;
  }

  .ns-card.students .ns-date {
      color: var(--primary-red);
  }

  .ns-date .day {
      font-size: 26px;
      font-weight: 700;
      line-height: 1;
      display: block;
  }

  .ns-date .month {
      font-size: 11px;
      margin-top: 2px;
  }

  .ns-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-left: 20px;
  }

  .ns-content .ns-title {
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 6px;
      line-height: 1.5;
      color: var(--text-dark);
  }

  .ns-content .ns-desc {
      font-size: 14px;
      color: var(--text-gray);
      line-height: 1.5;
      font-weight: 400;
  }

  .ns-card.students.active .ns-content h4,
  .ns-card.students:hover .ns-content h4,
  .ns-card.notice .ns-content h4 {
      color: var(--text-dark);
  }

  .ns-card.students.active .ns-content p,
  .ns-card.students:hover .ns-content p,
  .ns-card.notice .ns-content p {
      color: var(--text-gray);
  }

  /* Programs Section */
  .programs-section {
      margin-top: -10px;
      padding: 10px 0 70px;
      background: url(/images/xmjsMgm.png);
      background-size: 100% 100%;
      position: relative;
  }

  .programs-bg {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 300px;
      background: linear-gradient(to top, rgba(164, 30, 46, 0.08) 0%, transparent 100%);
      border-radius: 50% 50% 0 0 / 80px 80px 0 0;
      pointer-events: none;
  }

  .program-top-row {
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 30px;
      position: relative;
      z-index: 2;
      margin-bottom: 50px;
  }

  .program-top-card {
      position: relative;
      transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s;
      cursor: pointer;
      flex-shrink: 0;
  }

  .program-top-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s;
  }



  .program-top-card.active {
      margin-bottom: -35px;
      z-index: 2;
  }

  .program-top-card.active .program-top-overlay h4 {
      font-size: 24px;
  }

  .program-top-card:not(.active):hover {
      transform: translateY(-12px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
      z-index: 2;
  }

  .program-top-card.active .program-top-overlay .program-top-btn {
      font-size: 16px;
  }

  .program-top-overlay {
      position: absolute;
      bottom: 20%;
      left: 0;
      right: 0;
      padding: 24px 50px 20px;
      color: #fff;
      text-align: center;
  }

  .program-top-overlay h4 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 12px;
      line-height: 1.4;
  }

  .program-top-btn {
      display: inline-block;
      background: rgba(184, 37, 33, 0.5);
      color: #fff;
      padding: 5px 10px;
      border-radius: 12px;
      font-size: 14px;
      transition: background 0.3s;
  }

  .program-content-wrap {
      position: relative;
      z-index: 1;
      margin-top: -80px;
      margin-left: 30px;
      margin-right: 30px;
      padding: 110px 13% 51px 13%;
      background: rgba(185, 40, 36, 0.2);
      border-radius: 223px;
      min-height: 445px;
  }

  .program-content {
      display: none;
      opacity: 0;
      transition: opacity 0.4s;
  }

  .program-content.active {
      display: block;
      opacity: 1;
  }

  .program-detail-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 70px;
  }

  .program-detail-card {
      overflow: hidden;
      transition: transform 0.3s;
  }

  .program-detail-card:hover {
      transform: translateY(-6px);

  }

  .program-detail-card:hover h4 {
      color: var(--primary-red);
  }

  .program-detail-card:hover .program-detail-date {
      color: rgba(0, 0, 0, 0.5);
  }

  .program-detail-card:hover p {
      color: rgba(184, 37, 33, 0.5);
  }

  .program-detail-img {
      /* height: 158px; */
      /* width: 280px; */
      aspect-ratio: 280 / 158;
      overflow: hidden;
  }

  .program-detail-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s;
  }

  .program-detail-card:hover .program-detail-img img {
      transform: scale(1.08);
  }

  .program-detail-body {
      padding: 14px;
      display: flex;
      flex-direction: column;
  }

  .program-detail-date {
      font-size: 14px;
      color: #B82521;
      margin-bottom: 6px;
      order: -1;
  }

  .program-detail-body h4 {
      font-size: 16px;
      color: #333;
      margin-bottom: 17px;
      line-height: 1.4;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
  }

  .program-detail-body p {
      font-size: 12px;
      color: var(--text-gray);
      line-height: 1.5;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
  }

  /* Services Section */
  .services-section {
      aspect-ratio: 1920 / 994;
      padding: 60px 0;
      background: url(/images/fwdhBgm.png);
      background-size: 100% 100%;
      position: relative;
      padding-bottom: 100px;
  }

  .services-section .section-title {
      padding-left: 45%;
      padding-right: 93px;
      justify-content: space-between;
      margin-bottom: 80px;
  }

  .services-section .section-title h3::before {
      display: none;
  }

  .services-section .section-title h3 {
      position: relative;
      padding-bottom: 12px;
  }

  .services-section .section-title h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 3px;
      background: var(--primary-red);
  }

  .services-carousel {
      position: relative;
      width: 83%;
      margin: 0 auto;
      overflow: hidden;
  }

  .services-track {
      display: flex;
      transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .service-card {
      flex: 0 0 22%;
      aspect-ratio: 290 / 283;
      box-sizing: border-box;
      padding: 0 7.5px;
      flex-shrink: 0;
      background: url(/images/jyb.png) no-repeat center center / 100% 100%;
      background-size: 100% 100%;
      margin: 0 30px;
  }

  .service-card:nth-child(1):hover {
      background: url(/images/jybActive.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(2) {
      background: url(/images/lxjjwyh.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(2):hover {
      background: url(/images/lxjjwyhActive.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(3) {
      background: url(/images/zwhz.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(3):hover {
      background: url(/images/zwhzActive.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(4) {
      background: url(/images/wsbmh.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(4):hover {
      background: url(/images/wsbmhActive.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(5) {
      background: url(/images/jyt.png) no-repeat center center / 100% 100%;
  }

  .service-card:nth-child(5):hover {
      background: url(/images/jytActive.png) no-repeat center center / 100% 100%;
  }

  .service-inner {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      text-align: center;
      transition: all 0.4s;
      cursor: pointer;
  }

  .service-inner h4 {
      font-size: 16px;
  }

  .service-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s;
  }



  .service-inner:hover .service-icon {
      color: #fff !important;
      transform: scale(1.1) rotate(5deg);
  }

  .service-icon svg {
      width: 32px;
      height: 32px;
  }

  .service-inner h4 {
      font-size: 15px;
      color: var(--text-dark);
      transition: color 0.3s;
  }

  .service-inner:hover h4 {
      color: var(--primary-red);
  }

  .service-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 30px;
  }

  .service-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #D9D9D9;
      cursor: pointer;
      transition: all 0.3s;
  }

  .service-dot.active {
      background: #986060;
      width: 60px;
      border-radius: 5px;
  }

  @media (max-width: 1200px) {
      .service-card {
          flex: 0 0 50%;
          padding: 0 10px;
      }
  }

  @media (max-width: 600px) {
      .service-card {
          flex: 0 0 100%;
          padding: 0 10px;
      }
  }

  /* Building silhouette */
  .building-silhouette {
      height: 180px;
      background: var(--bg-cream);
      position: relative;
      overflow: hidden;
  }

  .building-silhouette svg {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.15;
  }

  /* Footer */
  .main-footer {
      background: var(--primary-red);
      color: #fff;
      padding: 50px 0;
  }

  .footer-content {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 80px;
      flex-wrap: wrap;
  }

  .footer-logo {
      flex: 0 0 auto;
  }

  .footer-logo img {
      display: block;
      height: 80px;
      width: auto;
  }

  .footer-info {
      text-align: left;
      font-size: 14px;
      line-height: 2;
      color: #fff;
  }

  .footer-info p {
      margin: 0;
  }

  @media (max-width: 768px) {
      .footer-content {
          flex-direction: column;
          gap: 30px;
          text-align: center;
      }

      .footer-info {
          text-align: center;
      }
  }

  /* Decorative elements */
  .deco-line {
      width: 40px;
      height: 2px;
      background: var(--primary-red);
      margin: 10px 0;
  }