* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "微软雅黑", PingFangSC-Regular, sans-serif;
}
a {
  text-decoration: none;
  color: #333;
}
ul,
ol {
  list-style: none;
}
img {
  object-fit: cover;
}
.header {
  height: 100px;
  background-color: #284976;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1500px;
  min-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Banner Styles */
.banner {
  width: 100%;
}

.banner-inner {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.banner-inner img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 480px) {
  .banner-inner img {
    height: 200px;
    object-fit: cover;
  }
}

.logo {
  height: 70px;
  width: auto;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-item a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.1s;
  position: relative;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition:
    width 0.3s,
    left 0.3s;
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
  left: 0;
}

.nav-item.active a {
  opacity: 1;
}

.nav-item a:hover {
  opacity: 1;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Responsive Styles */
@media screen and (max-width: 1500px) {
  .header-inner {
    max-width: 100%;
    min-width: 1200px;
    padding: 0 40px;
  }
}

@media screen and (max-width: 1200px) {
  .header-inner {
    min-width: 100%;
    padding: 0 20px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-item a {
    font-size: 14px;
  }
}

@media screen and (max-width: 992px) {
  .header {
    height: auto;
    min-height: 100px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 15px;
  }

  .nav-list {
    gap: 15px;
  }

  .nav-item a {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    z-index: 100;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background-color: #1a3a5c;
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px;
  }

  .nav-item a {
    font-size: 18px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media screen and (max-width: 480px) {
  .logo {
    height: 50px;
  }

  .nav {
    width: 80%;
  }

  .nav-item a {
    font-size: 16px;
  }
}

/* Record Section Styles */
.record {
  width: 100%;
  padding: 100px 0;
  background-color: #fff;
}

.record .continer {
  max-width: 1500px;
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  box-sizing: border-box;
}

.record .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.record .left h2 {
  font-size: 32px;
  color: #000;
  margin-bottom: 20px;
  font-weight: normal;
}

.record .left h2 b {
  font-size: 42px;
  color: #1a4087;
  font-weight: bold;
}

.record .left p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record .left a {
  display: inline-block;
  padding: 10px 30px;
  background-color: #1a4087;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 30px;
  transition: background-color 0.3s;
  width: fit-content;
}

.record .left a:hover {
  background-color: #142f66;
}

.record .left .imgs {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.record .left .imgs img {
  width: 50%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.record .right {
  flex: 1;
}

.record .right img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

@media screen and (max-width: 1500px) {
  .record .continer {
    max-width: 100%;
    min-width: 1200px;
    padding: 0 40px;
  }
}

@media screen and (max-width: 1200px) {
  .record .continer {
    min-width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 992px) {
  .record .continer {
    flex-direction: column;
  }

  .record .right img {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .record {
    padding: 40px 0;
  }

  .record .continer {
    gap: 30px;
    padding: 0 15px;
  }

  .record .left h2 {
    font-size: 24px;
  }

  .record .left h2 b {
    font-size: 32px;
  }

  .record .left p {
    font-size: 14px;
  }

  .record .right img {
    height: 300px;
  }

  .record .left .imgs {
    flex-direction: column;
  }

  .record .left .imgs img {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .record {
    padding: 30px 0;
  }

  .record .continer {
    gap: 20px;
    padding: 0 10px;
  }

  .record .left h2 {
    font-size: 20px;
  }

  .record .left h2 b {
    font-size: 26px;
  }

  .record .right img {
    height: 250px;
  }
}

/* Teacher Section Styles */
.teacher {
  width: 100%;
  padding: 100px 0;
  background: url("../images/teach-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
}

.teacher::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.teacher-inner {
  max-width: 1500px;
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.teacher .head {
  text-align: center;
  color: #fff;
}

.teacher .head h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.teacher .head .line {
  width: 60px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 15px;
}

.teacher .head p {
  font-size: 18px;
  letter-spacing: 2px;
}

/* Likeness Section Styles */
.likeness {
  width: 100%;
  padding: 100px 0;
  background: url("../images/likeness-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
}

.likeness::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.likeness-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

@media screen and (min-width: 1200px) {
  .likeness-inner {
    min-width: 1200px;
  }
}

.likeness .head {
  text-align: center;
  color: #fff;
}

.likeness .head h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.likeness .head .line {
  width: 60px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 15px;
}

.likeness .head p {
  font-size: 18px;
  letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
  .likeness {
    padding: 60px 0;
  }

  .likeness-inner {
    min-width: 100%;
    padding: 0 20px;
  }

  .likeness .head h2 {
    font-size: 28px;
  }

  .likeness .head p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .likeness {
    padding: 40px 0;
  }

  .likeness .head h2 {
    font-size: 22px;
  }

  .likeness .head p {
    font-size: 14px;
  }
}

/* Likeness Carousel */
.likeness .content {
  margin-top: 60px;
  overflow: hidden;
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll 240s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  cursor: pointer;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .likeness .content {
    margin-top: 40px;
  }

  .carousel-track img {
    width: 240px;
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .likeness .content {
    margin-top: 30px;
  }

  .carousel-track img {
    width: 180px;
    height: 140px;
  }
}

/* 图片预览模态框 */
.image-preview-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.image-preview-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.image-preview-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.image-preview-close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
}
.image-preview-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .image-preview-content {
    max-width: 95vw;
    max-height: 85vh;
  }
  .image-preview-content img {
    max-height: 80vh;
  }
  .image-preview-close {
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
  }
}

/* Achievement Styles */
.achievement {
  padding: 80px 0;
  background: #faf9fe;
}

/* Poetic Section Styles */
.poetic {
  width: 100%;
  padding: 100px 0;
  background: url("../images/poetic-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
}

.poetic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.poetic-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

@media screen and (min-width: 1200px) {
  .poetic-inner {
    min-width: 1200px;
  }
}

.poetic .head {
  text-align: center;
  color: #fff;
}

.poetic .head h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.poetic .head .line {
  width: 60px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 15px;
}

.poetic .head p {
  font-size: 18px;
  letter-spacing: 2px;
}

/* 播放按钮 */
.poetic .content {
  display: flex;
  justify-content: center;
  margin-top: 120px;
  margin-bottom: 100px;
  padding-top: 30px;
}

/* 追思结语 */
.recollect {
  width: 100%;
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.recollect-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.recollect .head {
  text-align: center;
  color: #333;
}

.recollect .head h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.recollect .head .line {
  width: 60px;
  height: 3px;
  background-color: #333;
  margin: 0 auto 15px;
}

.recollect .head p {
  font-size: 18px;
  letter-spacing: 2px;
  color: #666;
}

.recollect-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
  text-align: left;
  max-width: 1200px;
  margin: 50px auto 0;
}

.recollect-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.recollect-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recollect-title {
  font-size: 20px;
  color: #1a4087;
  font-weight: bold;
  line-height: 1.5;
  padding-bottom: 20px;
}

.title-left {
  text-align: center;
}

.title-right {
  text-align: right;
}

.recollect-text {
  color: #333;
  line-height: 1.8;
  font-size: 15px;
}

.recollect-text p {
  margin-bottom: 12px;
  text-indent: 2em;
}

.recollect-text {
  display: block;
}

.recollect-more {
  margin-top: 10px;
}

.more-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #1a4087;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.more-btn:hover {
  background-color: #142f63;
}

@media screen and (max-width: 992px) {
  .recollect-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .recollect-left {
    width: 100%;
    max-width: none;
  }

  .recollect-left img {
    width: 100%;
  }

  .recollect-title {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .recollect-text {
    -webkit-line-clamp: 6;
  }

  .recollect {
    padding: 60px 0;
  }

  .recollect .head h2 {
    font-size: 28px;
  }

  .recollect .head p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .recollect {
    padding: 40px 0;
  }

  .recollect .head h2 {
    font-size: 22px;
  }

  .recollect .head p {
    font-size: 14px;
  }
}

.play-btn {
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  animation: heartbeat 1.5s ease-in-out infinite;
  transition: transform 0.3s;
}

.play-btn:hover {
  transform: scale(1.1);
}

.play-btn::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 30px solid #1a4087;
  margin-left: 8px;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* 视频弹窗 */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.video-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #ff6b6b;
}

@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
  }

  .play-btn {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #1a4087;
  }

  .poetic {
    padding: 60px 0;
  }

  .poetic-inner {
    min-width: 100%;
    padding: 0 20px;
  }

  .poetic .head h2 {
    font-size: 28px;
  }

  .poetic .head p {
    font-size: 16px;
  }

  .poetic .content {
    margin-top: 50px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .poetic {
    padding: 40px 0;
  }

  .poetic .head h2 {
    font-size: 22px;
  }

  .poetic .head p {
    font-size: 14px;
  }

  .poetic .content {
    margin-top: 40px;
  }
}

.achievement-inner {
  max-width: 1500px;
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

@media screen and (max-width: 1200px) {
  .achievement-inner {
    min-width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  .achievement {
    padding: 60px 0;
  }

  .achievement .head h2 {
    font-size: 28px;
  }

  .achievement .head p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .achievement {
    padding: 40px 0;
  }

  .achievement .head h2 {
    font-size: 22px;
  }

  .achievement .head p {
    font-size: 14px;
  }
}

.achievement .head {
  text-align: center;
  color: #333;
}

.achievement .head h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
}

.achievement .head .line {
  width: 60px;
  height: 3px;
  background-color: #333;
  margin: 0 auto 15px;
}

.achievement .head p {
  font-size: 18px;
  letter-spacing: 2px;
}

/* Achievement Content Grid */
.achievement .content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.achievement .item {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #1a4087;
  border-radius: 4px;
  position: relative;
}

.achievement .item .icon-paihang {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  font-size: 30px;
  color: #f1c40f;
}

.achievement .item .num {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #1a4087;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.achievement .item .txt {
  flex: 1;
  padding: 0 20px;
  font-size: 18px;
  color: #1a4087;
  line-height: 1.5;
}

/* 响应式 */
@media screen and (max-width: 1200px) {
  .achievement .content {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .achievement .content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .achievement .item .num {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
  }

  .achievement .item .txt {
    padding: 0 15px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .achievement .content {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.footer {
  width: 100%;
  background-color: #284976;
  color: #fff;
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 50px;
}

.footer-top .logo {
  flex-shrink: 0;
  height: 80px;
  width: auto;
}

.footer-top .logo img {
  height: 100%;
  width: auto;
  display: block;
}

.footer-top .content {
  flex: 1;
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.footer-top .left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-top .left a {
  color: #fff;
  font-size: 16px;
  text-decoration: underline;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.footer-top .left a:hover {
  opacity: 0.8;
}

.footer-top .right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-top .right .item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer-top .right .iconfont {
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-top .right .text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.footer-top .right .text p {
  margin-bottom: 8px;
}

.footer-top .right .mail {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.copyright a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  transition: color 0.3s;
}

.copyright a:hover {
  color: #fff;
}

@media screen and (max-width: 1200px) {
  .footer-top {
    gap: 40px;
  }

  .footer-top .content {
    gap: 40px;
  }
}

@media screen and (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-top .content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-top .left {
    align-items: center;
  }

  .footer-top .right .item {
    justify-content: center;
  }

  .footer-top .right .text {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer-top {
    padding-bottom: 30px;
  }

  .footer-top .logo {
    height: 60px;
  }

  .footer-top .left a {
    font-size: 14px;
  }

  .footer-top .right .text {
    font-size: 14px;
  }

  .copyright {
    font-size: 12px;
    padding: 20px 0;
  }
}

/* Tab Content Styles */
.teacher .content {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.tab-menu {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tab-item {
  flex: 1;
  padding: 40px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  border-radius: 8px;
}

.tab-item {
  position: relative;
}

.tab-item.active {
  background-color: #1a4087;
}

.tab-item.active::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.tab-item.active .tab-title,
.tab-item.active .tab-desc {
  color: #fff;
}

.tab-title {
  font-size: 30px;
  font-weight: bold;
  color: #1a4087;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.tab-desc {
  font-size: 22px;
  color: #333;
  transition: color 0.3s;
}

.tab-images {
  flex: 0 0 65%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.tab-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

.tab-img-wrap.active {
  display: block;
}

.tab-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tab-img-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: rgba(26, 64, 135, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tab-img-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-img-info a {
  display: inline-block;
  padding: 8px 24px;
  background-color: #fff;
  color: #1a4087;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
}

.tab-img-info a:hover {
  background-color: #f0f0f0;
}

@media screen and (max-width: 1500px) {
  .teacher-inner {
    max-width: 100%;
    min-width: 1200px;
    padding: 0 40px;
  }
}

@media screen and (max-width: 1200px) {
  .teacher-inner {
    min-width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 992px) {
  .teacher .content {
    flex-direction: column;
  }

  .tab-menu {
    flex: none;
    width: 100%;
  }

  .tab-images {
    flex: none;
    width: 100%;
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .teacher {
    padding: 60px 0;
  }

  .teacher .head h2 {
    font-size: 28px;
  }

  .teacher .head p {
    font-size: 16px;
  }

  .teacher .content {
    margin-top: 40px;
  }

  .tab-item {
    padding: 25px 20px;
  }

  .tab-item.active::after {
    right: 15px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
  }

  .tab-title {
    font-size: 22px;
  }

  .tab-desc {
    font-size: 16px;
  }

  .tab-images {
    height: 400px;
  }

  .tab-img-info {
    padding: 20px;
  }

  .tab-img-info p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .teacher {
    padding: 40px 0;
  }

  .teacher .head h2 {
    font-size: 22px;
  }

  .teacher .head p {
    font-size: 14px;
  }

  .tab-item {
    padding: 20px 15px;
  }

  .tab-item.active::after {
    right: 10px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
  }

  .tab-title {
    font-size: 18px;
  }

  .tab-desc {
    font-size: 14px;
  }

  .tab-images {
    height: 350px;
  }

  .tab-img-info {
    padding: 15px;
  }

  .tab-img-info p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .tab-img-info a {
    padding: 6px 18px;
    font-size: 12px;
  }
}

.innerMain {
  min-height: 500px;
  position: relative;
  padding: 0 20px;
}
.innerMain .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  top: 0;
  left: 0;
}
.innerMain .innerCon {
  position: relative;
  z-index: 3;
  min-height: 300px;
  max-width: 1200px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border: 1px solid #eee;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  min-height: 500px;
}

@media screen and (max-width: 1200px) {
  .innerMain .innerCon {
    max-width: 100%;
    padding: 30px;
    margin: 40px auto;
  }
}

@media screen and (max-width: 768px) {
  .innerMain {
    padding: 0 15px;
  }
  .innerMain .innerCon {
    padding: 25px;
    margin: 30px auto;
    min-height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .innerMain {
    padding: 0 10px;
  }
  .innerMain .innerCon {
    padding: 20px;
    margin: 20px auto;
  }
}

.inner-banner {
  width: 100%;
  overflow: hidden;
}

.inner-banner img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 992px) {
  .inner-banner img {
    height: 220px;
  }
}

@media screen and (max-width: 768px) {
  .inner-banner img {
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .inner-banner img {
    height: 140px;
  }
}

/* Detail Page Styles */
.detailcon {
  max-width: 900px;
  margin: 0 auto;
}

.detailcon .title {
  font-size: 32px;
  font-weight: bold;
  color: #1a4087;
  line-height: 1.4;
  margin-bottom: 25px;
  text-align: center;
}

.detailcon .info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.detailcon .info span {
  color: #555;
  margin-right: 15px;
}

.detailcon .content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.detailcon .content p {
  margin-bottom: 18px;
  text-align: justify;
}

.detailcon .content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px auto;
  display: block;
}

.detailcon .content h2,
.detailcon .content h3,
.detailcon .content h4 {
  color: #1a4087;
  margin: 30px 0 15px;
  font-weight: bold;
}

.detailcon .content h2 {
  font-size: 24px;
}

.detailcon .content h3 {
  font-size: 20px;
}

.detailcon .content h4 {
  font-size: 18px;
}

.detailcon .content ul,
.detailcon .content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.detailcon .content ul li,
.detailcon .content ol li {
  margin-bottom: 8px;
}

.detailcon .content a {
  color: #1a4087;
  text-decoration: underline;
}

.detailcon .content a:hover {
  color: #142f63;
}

.detailcon .content blockquote {
  border-left: 4px solid #1a4087;
  background: #f5f7fa;
  padding: 15px 20px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}

.detailcon .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.detailcon .content table th,
.detailcon .content table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
}

.detailcon .content table th {
  background-color: #f5f7fa;
  font-weight: bold;
  color: #1a4087;
}

@media screen and (max-width: 768px) {
  .detailcon .title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .detailcon .info {
    font-size: 13px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .detailcon .content {
    font-size: 15px;
    line-height: 1.8;
  }

  .detailcon .content h2 {
    font-size: 20px;
  }

  .detailcon .content h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .detailcon .title {
    font-size: 20px;
  }

  .detailcon .content {
    font-size: 14px;
  }

  .detailcon .content h2 {
    font-size: 18px;
  }

  .detailcon .content h3 {
    font-size: 16px;
  }
}
