@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  /* 支持的权重范围 */
  font-stretch: 75% 125%;
  /* 支持的宽度范围 */
  src: url('/fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  src: url('/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 100 900;
  /* 支持的权重范围 */
  font-stretch: 75% 125%;
  /* 支持的宽度范围 */
  src: url('/fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  src: url('/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  /* 支持的权重范围 */
  font-stretch: 75% 125%;
  /* 支持的宽度范围 */
  src: url('/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  src: url('/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
}




/* 默认：大屏幕，1rem = 16px */
:root {
  font-size: 16px;
}

/* 平板设备：1rem = 14px */
@media (max-width: 1024px) {
  :root {
    font-size: 14px;
  }
}

/* 手机设备：1rem = 12px */
@media (max-width: 768px) {
  :root {
    font-size: 12px;
  }
}

/* 默认：大屏幕，正常字体粗细 */
body {
  font-weight: 400;
}


/* 手机端：字体更粗 */
@media (max-width: 768px) {
  body {
    font-weight: 500;
  }
}


/* 定义一个带透明背景图片的通用类 */
.subpagebg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/subpage_bg.jpg);
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  /* 设置透明度 */
  z-index: -1;
  /* 确保背景图片位于内容下方 */
}

/* 保证页面的内容不会受到影响 */
.subpagebg {
  position: relative;
  /* 为了让伪元素在页面内工作 */
}



/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50%;
}

.btn.btn-primary {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
  box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

.btn.btn-top {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-top:hover {
  box-shadow: inset 300px 0 0 0 var(--bs-dark) !important;
  color: var(--bs-primary) !important;
}

.btn.btn-light {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
  box-shadow: inset 300px 0 0 0 var(--bs-primary);
  color: var(--bs-light) !important;
}

.btn-hover {
  transition: 0.5s;
}

.btn-hover:hover {
  color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.section-title .sub-style {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.section-title .sub-style::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-left: -100px;
  border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: 5px;
  margin-left: -50px;
  border: 1px solid var(--bs-primary) !important;
}

.sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-right: -100px;
  border: 1px solid var(--bs-primary) !important;
}

.sub-title::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: 8px;
  margin-right: -50px;
  border: 1px solid var(--bs-primary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
  transition: 0.5s;
}

.topbar {
  padding: 2px 10px 2px 20px;
  background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: var(--bs-secondary) !important;
}

@media (max-width: 576px) {
  .topbar {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .topbar-shell,
  .container-fluid.bg-dark.px-5.d-block {
    min-height: 45px;
  }

  .topbar-shell .topbar-content-desktop,
  .container-fluid.bg-dark.px-5.d-block > .row > .col.align-self-end.text-end {
    display: none !important;
  }
}

/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  font-family: "Open Sans", sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  color: var(--bs-dark) !important;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  /* color: var(--dark) !important; */
  color: var(--bs-dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
  max-height: 50px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  transition: 0.5s;
  opacity: 1;
}

/* @media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white);
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--bs-dark) !important;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
} */


@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--bs-white);
  }

  /* 关键：给绝对定位的菜单一个定位上下文 */
  .navbar.navbar-expand-lg {
    position: relative;
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    position: relative;
    z-index: 1001;
  }

  /* 关键：让折叠菜单像下拉框一样挂在右上角按钮下面 */
  .navbar-light .navbar-collapse.mobile-nav-collapse {
    position: absolute !important;
    right: 18px !important;
    left: auto !important;
    top: calc(100% - 4px) !important;
    width: min(86vw, 260px) !important;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
  }

  .mobile-nav-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededed;
  }

  .mobile-nav-tools .btn,
  .mobile-nav-tools .mobile-account-link {
    border: 1px solid #dcdcdc;
    background: #f8f9fa;
    color: #2f4858;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
  }

  .mobile-nav-tools .mobile-tool-toggle,
  .mobile-nav-tools .mobile-account-toggle {
    color: #1f5c7a;
  }

  .mobile-nav-tools .mobile-account-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
  }

  .mobile-nav-tools .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    margin-top: 6px;
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }

  .mobile-nav-tools .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 12px;
    color: #1f5c7a !important;
    text-decoration: none;
    font-size: 16px !important;
    line-height: 1.25;
    font-weight: 400;
  }

  .mobile-nav-tools .dropdown-menu .dropdown-item:hover,
  .mobile-nav-tools .dropdown-menu .dropdown-item:focus,
  .mobile-nav-tools .dropdown-menu .dropdown-item.active {
    background: #eef7fb;
    color: #0f4c6b !important;
  }

  .mobile-account-menu {
    margin-top: 6px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
  }

  .mobile-account-menu .dropdown-item {
    display: block;
    padding: 10px 12px;
    color: #1f5c7a !important;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    font-size: 16px !important;
    line-height: 1.25;
    font-weight: 400;
  }

  .mobile-account-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .navbar-light .navbar-nav {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    display: block;
    padding: 10px 6px;
    margin: 0;
    color: var(--bs-dark) !important;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-light .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}


@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: var(--bs-light) !important;
  }

  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--bs-primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: calc(100% - 2px);
    left: 1px;
  }

  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}

/*** Carousel Hero Header Start ***/
.header-carousel {
  position: relative;
}

.header-carousel .owl-nav .owl-prev {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

@media (max-width: 576px) {

  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    top: 630px;
    transition: 0.5s;
  }

  .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    width: 95% !important;
  }
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 95px;
  display: block;
  object-fit: cover;
  transition: 0.5s;
}

@media (max-width: 992px) {

  .header-carousel .header-carousel-item,
  .header-carousel .header-carousel-item img {
    margin-top: 0;
    transition: 0.5s;
  }
}

@media (min-width: 992px) {

  .header-carousel .owl-nav .owl-prev,
  .header-carousel .owl-nav .owl-next {
    margin-top: 50px;
  }
}

.header-carousel .header-carousel-item .carousel-caption {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
  position: relative;
  width: 75%;
}

/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),
    url(../img/sub_head_bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 160px 0 60px 0;
}

/* .bg-breadcrumb {
  background: url(../img/sub_head_bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 160px 0 60px 0;
} */

/* 小屏幕设备（比如手机）调整 padding */
@media (max-width: 576px) {
  .bg-breadcrumb {
    padding: 80px 0 30px 0;
    /* 比如减半，让它更适合手机 */
  }
}

.bg-breadcrumb .breadcrumb-item a {
  color: var(--bs-white) !important;
}

/*** Single Page Hero Header End ***/

/*** Service Start ***/
.service .service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item .service-img::before {
  width: 100%;
  height: 0;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  transition: 0.5s;
  z-index: 5;
}

.service .service-item:hover .service-img::before {
  height: 100%;
  /* background: rgba(21, 185, 217, .3); */
  background: rgba(253, 178, 55, 0.4);
}

.service .service-item .service-img:hover img {
  transform: scale(1.3);
}

.service .service-item .service-content {
  position: relative;
  z-index: 2;
}

.service .service-item .service-content::before {
  width: 100%;
  height: 8px;
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: rgba(253, 178, 55, 0.4);
  transition: 0.5s;
  z-index: 3;
}

.service .service-item:hover .service-content::before {
  background: rgba(253, 178, 55, 0.4);
  height: 100%;
}

.service .service-item .service-content .service-content-inner {
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
  position: relative;
  color: var(--bs-light) !important;
  z-index: 9;
}

.service .service-item:hover .service-content .service-content-inner h5 {
  color: var(--bs-white);
}

/*** Service End ***/

/*** About Start ***/
.about .about-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 10px;
}

.about .about-img .about-img-inner {
  position: absolute;
  left: 0;
  bottom: 0;
  border: 10px solid;
  border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
  border-radius: 50%;
}

.about .about-img .about-experience {
  position: absolute;
  top: 125px;
  left: -115px;
  transform: rotate(-90deg);
  background: transparent;
  color: var(--bs-primary);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
}

/*** About End ***/

/*** Feature Start ***/
.feature .feature-item {
  position: relative;
  display: flex;
  border: 1px solid var(--bs-primary);
  border-radius: 10px;
  background: var(--bs-light);
  transition: 0.5s;
}

.feature .feature-item::before {
  width: 0;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  transition: 0.5s;
}

.feature .feature-item:hover::before {
  width: 100%;
  background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
  display: inline-flex;
  border-radius: 10px;
  transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
  position: relative;
  z-index: 2;
}

.feature .feature-item:hover .feature-content {
  position: relative;
  color: var(--bs-light);
  z-index: 2;
}

.feature .feature-item:hover .feature-content h5 {
  color: var(--bs-white);
}

/*** Feature End ***/

/*** Appointment Start ***/
.appointment {
  background: linear-gradient(rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)),
    url(../img/carousel-2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.appointment .appointment-form {
  /* background: rgba(239, 162, 134, 0.3); */
  background: rgba(129, 196, 8, 0.1);
}

.appointment .appointment-form .btn.btn-primary {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
  box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
  color: var(--bs-primary) !important;
}

/*** Youtube Video start ***/
.video {
  position: relative;
}

.video .btn-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: content-box;
  display: block;
  width: 33px;
  height: 44px;
  border-radius: 50%;
  transition: 0.5s;
}

.video .btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 115px;
  height: 115px;
  background: var(--bs-primary);
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
  transition: 0.5s;
}

.video .btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 100px;
  height: 100px;
  background: var(--bs-secondary);
  border-radius: 50%;
  transition: all 300ms;
}

.video .btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 33px solid var(--bs-white);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  margin-left: 5px;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal {
  z-index: 99999;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Youtube Video End ***/
/*** Appointment End ***/

/*** Team Start ***/
.team .team-item .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-item .team-img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  transition: 0.5s;
}

.team .team-item .team-img .team-icon {
  position: absolute;
  bottom: -125px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
}

.team .team-item .team-img:hover .team-icon {
  margin-bottom: 145px;
}

.team .team-item:hover .team-img::before {
  background: rgba(21, 185, 217, 0.3);
}

.team .team-item .team-content {
  color: var(--bs-primary);
  transition: 0.5s;
}

.team .team-item .team-content h5 {
  color: var(--bs-secondary);
  transition: 0.5s;
}

.team .team-item:hover .team-content h5 {
  color: var(--bs-dark);
}

.team .team-item:hover .team-content {
  background: var(--bs-primary);
  color: var(--bs-white);
}

/*** Team End ***/

/*** testimonial Start ***/
.testimonial {
  /* background: linear-gradient(rgba(21, 185, 217, 0.9), rgba(21, 185, 217, 0.9)), url(../img/carousel-1.jpg); */
  /* background: linear-gradient(rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.15)),
    url(../img/testimonial_bg.jpg); */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/testimonial_bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.testimonial .testimonial-item .testimonial-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  background: transparent;
}

.testimonial .testimonial-item .testimonial-inner .testimonial-inner-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid var(--bs-white);
}

.testimonial .testimonial-carousel.owl-carousel {
  position: relative;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bs-light);
  color: var(--bs-primary);
  transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--bs-light);
  color: var(--bs-primary);
  transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 100px 0 0 0 var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

@media (max-width: 900px) {
  .testimonial .testimonial-carousel .owl-nav .owl-prev {
    margin-top: -190px;
    margin-left: 40px;
  }

  .testimonial .testimonial-carousel .owl-nav .owl-next {
    margin-top: -190px;
    margin-right: 40px;
  }
}

.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 15px;
  border: 1px solid var(--bs-white);
  background: transparent;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 20px;
  height: 20px;
  background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
  position: relative;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
  transition: 0.5s;
}

@media (min-width: 900px) {
  .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    font-size: 20px;
  }
}

/* Testimonial Section Title Start */
.testimonial .section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.testimonial .section-title .sub-style {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.testimonial .section-title .sub-style::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-left: -100px;
  border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-style::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: 5px;
  margin-left: -50px;
  border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.testimonial .section-title .sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-right: -100px;
  border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: 8px;
  margin-right: -50px;
  border: 1px solid var(--bs-white) !important;
}

/*** Testimonial End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
  position: relative;
  overflow: hidden;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.blog .blog-item .blog-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  transition: 0.5s;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
  transform: scale(1.3);
}

.blog .blog-item:hover .blog-img::after {
  background: rgba(21, 185, 217, 0.5);
}

.blog .blog-item .blog-centent {
  background: var(--bs-light);
  border: 1px solid var(--bs-primary);
  border-top: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/*** Blog End ***/

/*** Contact Start ***/
.contact {
  background: linear-gradient(rgba(181, 196, 8, 0.1), rgba(129, 196, 8, 0.1));
  /* background: linear-gradient(rgba(21, 185, 217, 0.9), rgba(21, 185, 217, 0.9)),
    url(../img/carousel-1.jpg); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.contact .contact-form .btn.btn-light {
  box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .contact-form .btn.btn-light:hover {
  box-shadow: inset 600px 0 0 0 var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
  color: var(--bs-primary);
  /* color: var(--bs-light); */
}

/* Testimonial Section Title Start */
.contact .section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.contact .section-title .sub-style {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.contact .section-title .sub-style::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-left: -100px;
  border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-style::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  margin-bottom: 5px;
  margin-left: -50px;
  border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.contact .section-title .sub-title::before {
  content: "";
  width: 100px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: 8px;
  margin-right: -100px;
  border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
  content: "";
  width: 50px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-bottom: 8px;
  margin-right: -50px;
  border: 1px solid var(--bs-white) !important;
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url(../img/carousel-2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-body);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

.footer .footer-item a:hover {
  letter-spacing: 2px;
  color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  background: var(--bs-dark) !important;
}

/*** copyright end ***/

/** form validation start **/
.form-control.is-valid,
.form-control.is-invalid {
  padding-right: calc(1.5em + 0.75rem);
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23009944' class='bi bi-check' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/%3E%3C/svg%3E");
}

.form-control.is-invalid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FF0000' class='bi bi-x-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
}

/** form validation end **/

.dropdown-topbar {
  position: relative;
}

.dropdown-topbar .btn {
  background: none;
  border: none;
  color: white;
  /* 按钮文字颜色为红色 */

  font-weight: 400;
  /* 设置按钮字体粗细 */
  font-size: 16px;
  /* 设置按钮字体大小 */
  /* 按钮文字粗细度为400 */
  outline: none;
  /* 移除焦点时的轮廓 */
}

.dropdown-topbar .btn:focus {
  box-shadow: none;
  /* 移除点击时的阴影 */
  border: none;
  /* 确保点击时也没有边框 */
}

.dropdown-topbar .dropdown-toggle {
  white-space: nowrap;
}

.dropdown-topbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-topbar .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-topbar .dropdown-menu {
  /* background-color: yellow; */
  /* 下拉菜单背景色为黄色 */
  /* border: 1px solid blue; */
  /* 下拉菜单边框为蓝色 */
  /* left: 0;
    top: 0;
    z-index: 99999; */

  background-color: whitesmoke;
  /* 下拉菜单背景色为黄色 */
  border: 1px solid var(--bs-gray-100);
  /* 下拉菜单边框为蓝色 */
  left: 50%;
  /* 将下拉菜单开始点设置在按钮的中心 */
  transform: translateX(-50%);
  /* 向左平移50%，使下拉菜单中心与按钮中心对齐 */
  top: calc(100% + 2px);
  /* 设置下拉菜单的顶部与按钮的底部对齐，加2px以考虑可能的边框 */
  min-width: 150px;
  /* 设置下拉菜单宽度为50px */
  max-width: 150px;
  /* 设置下拉菜单宽度为50px */
  border-radius: 5px;
}

.dropdown-topbar .dropdown-menu a {
  color: black;
  /* 下拉菜单项文字颜色为红色 */
  font-weight: 400;
  /* 设置菜单项字体粗细 */
  font-size: 16px;
  /* 设置菜单项字体大小 */
  white-space: nowrap;
  /* 防止文字换行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 显示省略符号 */
}

.dropdown-topbar .dropdown-menu a:hover {
  background-color: darkgray;
  /* 鼠标悬停时下拉菜单项背景色为橙色 */
  color: white;
  /* 鼠标悬停时下拉菜单项文字颜色为绿色 */
}

.dropdown-topbar:hover .dropdown-menu {
  display: block;
  /* 鼠标悬停时显示下拉菜单  */
}

/* 文件上专按钮样式 */
/* 自定义文件上传按钮的样式 */
.file-input {
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 16px;
}

.file-input input[type="file"] {
  position: absolute;
  font-size: 100px;
  right: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

/* 悬停时改变文件上传按钮的样式 */
.file-input:hover {
  background-color: #45a049;
}

/* 分页表单 */
.form-step {
  display: none;
}

/* 教师申请表 */
table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  /* 鼠标悬停时显示手型光标 */
}

th {
  background-color: #f2f2f2;
}

td.selected,
span.selected {
  background-color: #b3e0ff;
  /* 选中的格子背景颜色 */
}

/* 不同日期列的背景颜色 */
/* .date-col-1 {
  background-color: #e6ffe6;
}

.date-col-2 {
  background-color: #ffffcc;
}

.date-col-3 {
  background-color: #ccffff;
}

.date-col-4 {
  background-color: #ffcccc;
}

.date-col-5 {
  background-color: #f0f0f0;
}

.date-col-6 {
  background-color: #ffe6cc;
}

.date-col-7 {
  background-color: #f2f2f2;
} */


.date-col-1 {
  background-color: #f9fff9;
}

.date-col-2 {
  background-color: #ffffe6;
}

.date-col-3 {
  background-color: #e6ffff;
}

.date-col-4 {
  background-color: #ffe6e6;
}

.date-col-5 {
  background-color: #fafafa;
}

.date-col-6 {
  background-color: #fff2e6;
}

.date-col-7 {
  background-color: #f9f9f9;
}

/* 防止用户选中文字 */
.time-slot {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.opentime-mobile {
  display: flex;
  flex-direction: column;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .opentime-desktop {
    display: none;
  }

  .opentime-mobile {
    display: block;
  }

  .container-desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .opentime-desktop {
    display: table;
  }

  .opentime-mobile {
    display: none;
  }

  .container-desktop {
    display: block;
  }
}

.diplay-mobile {
  display: flex;
  flex-direction: column;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .display-desktop {
    display: none;
  }

  .display-mobile {
    display: block;
  }
}

@media (min-width: 769px) {
  .display-desktop {
    display: block;
  }

  .display-mobile {
    display: none;
  }
}

.date-row {
  display: flex;
  flex-wrap: wrap;
}

.time-slot {
  flex: 1 1 25%;
  /* 每行显示4个 */
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  cursor: pointer;
}


.block-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  /* 字体大小 */
  display: inline-block;
  /* 只占文本区域 */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  /* 方块阴影 */
  padding: 3px;
  /* 内边距，确保阴影不贴着文字 */
  background: var(--bs-primary);
  /* 背景颜色，确保阴影在文本周围清晰可见 */
  /* text-decoration: underline; */
  /* border-bottom: 3px solid var(--bs-primary); */
}

/* .item-title {
  color: black;
  font-size: 18px;
  font-weight: bold;
  /* 字体大小 */
/* display: inline-block; */
/* 只占文本区域 */
/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
/* 方块阴影 */
/* padding: 3px; */
/* 内边距，确保阴影不贴着文字 */
/* background: var(--bs-primary); */
/* 背景颜色，确保阴影在文本周围清晰可见 */
/* text-decoration: underline; */
/* border-bottom: 3px solid var(--bs-primary); */
/* } */


.btn-none {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}


.item-title {
  position: relative;
  font-weight: 700 !important;
  display: inline-block;
  text-transform: capitalize;
  color: var(--bs-primary);
}

.outer-border {
  border-bottom: 4px solid var(--bs-primary);
  /* 粗线 */
  padding-bottom: 5px;
  /* 使内容与细线保持距离 */
}

.inner-border {
  border-bottom: 1px solid var(--bs-secondary);
  /* 细线 */
  padding-bottom: 10px;
  /* 使内容与边界保持距离 */
}

.btn-border-primary {
  all: unset;
  color: var(--bs-primary);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--bs-primary);
  border-radius: 5px;
  padding: 1px 5px;
  /* 设置固定宽度 */
  /* width: 60px; */
  /* 根据需要调整宽度 */

  /* 居中文字 */
  text-align: center;

  /* 为了保证按钮在不同情况下都有效 */
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-border-primary:hover {
  color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}

.btn-border-secondary {
  all: unset;
  color: var(--bs-secondary);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--bs-secondary);
  border-radius: 5px;
  padding: 1px 5px;
  /* 设置固定宽度 */
  /* width: 60px; */
  /* 根据需要调整宽度 */

  /* 居中文字 */
  text-align: center;

  /* 为了保证按钮在不同情况下都有效 */
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-border-secondary:hover {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-border-thirdly {
  all: unset;
  color: var(--bs-blue);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--bs-blue);
  border-radius: 5px;
  padding: 1px 5px;
  /* 设置固定宽度 */
  /* width: 60px; */
  /* 根据需要调整宽度 */

  /* 居中文字 */
  text-align: center;

  /* 为了保证按钮在不同情况下都有效 */
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-border-thirdly:hover {
  color: var(--bs-info);
  border-color: var(--bs-info);
}

.btn-border-dark {
  all: unset;
  color: var(--bs-gray-dark);
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--bs-gray-dark);
  border-radius: 5px;
  padding: 1px 5px;
  /* 设置固定宽度 */
  /* width: 60px; */
  /* 根据需要调整宽度 */

  /* 居中文字 */
  text-align: center;

  /* 为了保证按钮在不同情况下都有效 */
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-border-dark:hover {
  color: var(--bs-gray-dark);
  border-color: var(--bs-gray-dark);
}

/* 教师列表和教师详情页 */
.teacher-list-teachername {
  color: black;
  /* 字体颜色 */
  font-size: 1.2rem;
  /* 字体大小 */
  font-weight: 400;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
}

.teacher-list-teachergradetext {
  color: white;
  font-size: .8rem;
  /* 字体大小 */
  display: inline-block;
  /* 只占文本区域 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* 方块阴影 */
  padding: 3px;
  /* 内边距，确保阴影不贴着文字 */
  background: var(--bs-primary);
  /* 背景颜色，确保阴影在文本周围清晰可见 */
}

.teacher-list-teachinglanguage {
  /* color: black; */
  /* 字体颜色 */
  font-size: .9rem;
  /* 字体大小 */
  font-weight: 400;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
}

.teacher-list-selfintro {
  /* color: darkolivegreen; */
  /* 字体颜色 */
  font-size: 1rem;
  /* 字体大小 */
  font-weight: 400;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
  line-height: 1.8;
}


.teacher-list-price {
  color: var(--bs-secondary);
  /* 字体颜色 */
  font-size: 1rem;
  /* 字体大小 */
  font-weight: 500;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
  /* line-height: 1.2; */
}

.teacher-list-lesson {
  /* color: var(--bs-secondary); */
  /* 字体颜色 */
  font-size: .9rem;
  /* 字体大小 */
  font-weight: 300;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
  /* line-height: 1.2; */
}

.teacher-list-show {
  color: var(--bs-primary);
  /* 字体颜色 */
  font-size: .9rem;
  /* 字体大小 */
  font-weight: 400;
  /* 字体粗细 */
  font-style: normal;
  /* 斜体 */
}

/* 个人主页上的按钮 */
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1);
  outline: none;
}

.btn-menu-1 {
  width: 100%;
  height: 100%;
  /* line-height: 42px; */
  padding: 0;
  border: none;
  background: rgb(255, 151, 0);
  background: linear-gradient(0deg, rgba(255, 151, 0, 1) 0%, rgba(234, 248, 24, 1) 100%);
}

.btn-menu-1:hover {
  color: rgb(255, 151, 0);
  background: transparent;
  box-shadow: none;
}

.btn-menu-1:before,
.btn-menu-1:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: rgb(255, 151, 0);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-1:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-1:hover:before,
.btn-menu-1:hover:after {
  width: 100%;
  transition: 800ms ease all;
}


.btn-menu-2 {
  width: 100%;
  height: 100%;
  /* line-height: 42px; */
  padding: 0;
  border: none;
  background: rgb(182, 46, 241);
  background: linear-gradient(0deg, rgba(182, 46, 241, 1) 0%, rgba(31, 209, 249, 1) 100%);
}

.btn-menu-2:hover {
  color: rgb(182, 46, 241);
  background: transparent;
  box-shadow: none;
}

.btn-menu-2:before,
.btn-menu-2:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: rgb(182, 46, 241);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-2:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-2:hover:before,
.btn-menu-2:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.btn-menu-3 {
  width: 100%;
  height: 100%;
  /* line-height: 42px; */
  padding: 0;
  border: none;
  background: rgb(0, 172, 238);
  background: linear-gradient(0deg, rgba(0, 172, 238, 1) 0%, rgba(2, 126, 251, 1) 100%);
}

.btn-menu-3:hover {
  color: rgb(0, 172, 238);
  background: transparent;
  box-shadow: none;
}

.btn-menu-3:before,
.btn-menu-3:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: rgb(0, 172, 238);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-3:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-3:hover:before,
.btn-menu-3:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.btn-menu-4 {
  width: 100%;
  height: 100%;
  /* line-height: 62px; */
  padding: 0;
  border: none;
  background: rgb(3, 200, 168);
  /* 浅色边 */
  background: linear-gradient(0deg, rgba(3, 200, 168, 1) 0%, rgba(137, 216, 211, 1) 100%);
}

.btn-menu-4:hover {
  /* 鼠标经过时字的颜色 */
  color: rgb(3, 200, 168);
  background: transparent;
  box-shadow: none;
}

.btn-menu-4:before,
.btn-menu-4:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  /* 上下线的颜色 */
  background: rgb(3, 200, 168);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-4:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-4:hover:before,
.btn-menu-4:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.btn-menu-5 {
  width: 100%;
  height: 100%;
  /* line-height: 42px; */
  padding: 0;
  border: none;
  background: rgb(247, 150, 192);
  background: linear-gradient(0deg, rgba(247, 150, 192, 1) 0%, rgba(118, 174, 241, 1) 100%);
}

.btn-menu-5:hover {
  color: rgb(247, 150, 192);
  background: transparent;
  box-shadow: none;
}

.btn-menu-5:before,
.btn-menu-5:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: rgb(247, 150, 192);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-5:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-5:hover:before,
.btn-menu-5:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.btn-menu-6 {
  width: 100%;
  height: 100%;
  /* line-height: 62px; */
  padding: 0;
  border: none;

  background: rgb(251, 75, 2);
  /* 浅色边 */
  background: linear-gradient(0deg, rgba(251, 75, 2, 1) 0%, rgba(255, 151, 0, 1) 100%);
}

.btn-menu-6:hover {
  /* 鼠标经过时字的颜色 */
  color: rgb(251, 75, 2);
  background: transparent;
  box-shadow: none;
}

.btn-menu-6:before,
.btn-menu-6:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  /* 上下线的颜色 */
  background: rgb(251, 75, 2);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-6:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-6:hover:before,
.btn-menu-6:hover:after {
  width: 100%;
  transition: 800ms ease all;
}

.recharge-button.thirdly {
  background: blue;
  background: linear-gradient(to bottom, #75d2d9, #caebf0);
}

.btn-menu-7 {
  width: 100%;
  height: 100%;
  /* line-height: 62px; */
  padding: 0;
  border: none;

  background: rgb(117, 210, 217);
  /* 浅色边 */
  background: linear-gradient(0deg, rgba(117, 210, 217, 1) 0%, rgba(202, 235, 240, 1) 100%);
}

.btn-menu-7:hover {
  /* 鼠标经过时字的颜色 */
  color: rgb(117, 210, 217);
  background: transparent;
  box-shadow: none;
}

.btn-menu-7:before,
.btn-menu-7:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  /* 上下线的颜色 */
  background: rgb(117, 210, 217);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-7:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-7:hover:before,
.btn-menu-7:hover:after {
  width: 100%;
  transition: 800ms ease all;
}


.btn-menu-8 {
  width: 100%;
  height: 100%;
  /* line-height: 62px; */
  padding: 0;
  border: none;

  background: rgb(255, 150, 48);
  /* 浅色边 */
  background: linear-gradient(0deg, rgba(255, 210, 75, 1) 0%, rgba(255, 150, 48, 1) 100%);
}

.btn-menu-8:hover {
  /* 鼠标经过时字的颜色 */
  color: rgb(255, 150, 48);
  background: transparent;
  box-shadow: none;
}

.btn-menu-8:before,
.btn-menu-8:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  /* 上下线的颜色 */
  background: rgb(255, 150, 48);
  box-shadow:
    -1px -1px 5px 0px #fff,
    7px 7px 20px 0px #0003,
    4px 4px 5px 0px #0002;
  transition: 400ms ease all;
}

.btn-menu-8:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}

.btn-menu-8:hover:before,
.btn-menu-8:hover:after {
  width: 100%;
  transition: 800ms ease all;
}


/* 2025年4月19日新增按钮css */
/* 基础按钮样式 */
/* .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  margin: 0 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 80px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
} */

/* 悬停和活动状态 */
/* .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
} */

/* 按钮颜色变体 */
/* .btn-primary {
  background-color: #4CAF50;
  color: white;
}

.btn-secondary {
  background-color: #2196F3;
  color: white;
}

.btn-neutral {
  background-color: #F5F5F5;
  color: #333;
  border: 1px solid #E0E0E0;
}

.btn-warning {
  background-color: #F44336;
  color: white;
}

.btn-special {
  background-color: #FF9800;
  color: white;
} */

/* 禁用状态 */
/* .btn:disabled {
  background-color: #E0E0E0;
  color: #9E9E9E;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
} */

/* 基础按钮样式 - 无背景，仅边框和文字 */
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: transparent;
  /* 无背景 */
  border: 1px solid currentColor;
  /* 边框颜色跟随文字颜色 */
  margin: 0 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 80px;
}

/* 悬停效果：轻微背景色 + 边框加深 */
.btn-text:hover {
  background-color: rgba(0, 0, 0, 0.03);
  /* 极浅的悬停背景 */
  border-color: currentColor;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 点击效果：轻微下沉 */
.btn-text:active {
  transform: translateY(1px);
}

/* 不同按钮的文字颜色 */
.btn-edit {
  color: #2196F3;
}

/* 修改 - 蓝色 */
.btn-cancel {
  color: #F44336;
}

/* 取消 - 红色 */
.btn-start {
  color: #4CAF50;
}

/* 上课 - 绿色 */
.btn-back {
  color: #607D8B;
}

/* 返回 - 深灰色 */
.btn-view {
  color: #673AB7;
}

/* 查看 - 紫色 */
.btn-summary {
  color: #FF9800;
}

/* 总结 - 橙色 */
.btn-close {
  color: #9E9E9E;
}

/* 关闭 - 灰色 */
.btn-submit {
  color: #00BCD4;
}

/* 提交 - 青色 */
.btn-more {
  color: #795548;
}

/* 更多 - 棕色 */
.btn-review {
  color: #9C27B0;
}

/* 审核 - 紫红色 */

/* 20种深色文字颜色 - 英文命名版 */
.btn-navy {
  color: #1565C0;
}

/* Navy Blue - 海军蓝 */
.btn-sapphire {
  color: #0D47A1;
}

/* Sapphire - 蓝宝石色 */
.btn-teal {
  color: #00838F;
}

/* Teal - 凫蓝色 */
.btn-pine {
  color: #00695C;
}

/* Pine Green - 松绿色 */
.btn-forest {
  color: #2E7D32;
}

/* Forest Green - 森林绿 */
.btn-olive {
  color: #558B2F;
}

/* Olive - 橄榄绿 */
.btn-moss {
  color: #9E9D24;
}

/* Moss Green - 苔藓绿 */
.btn-amber {
  color: #F9A825;
}

/* Amber - 琥珀色 */
.btn-orange {
  color: #FF8F00;
}

/* Orange - 橙色 */
.btn-rust {
  color: #EF6C00;
}

/* Rust - 铁锈色 */
.btn-cinnamon {
  color: #D84315;
}

/* Cinnamon - 肉桂色 */
.btn-crimson {
  color: #C62828;
}

/* Crimson - 深红色 */
.btn-berry {
  color: #AD1457;
}

/* Berry - 浆果色 */
.btn-grape {
  color: #6A1B9A;
}

/* Grape - 葡萄紫 */
.btn-royal {
  color: #4527A0;
}

/* Royal Purple - 皇家紫 */
.btn-indigo {
  color: #283593;
}

/* Indigo - 靛蓝色 */
.btn-slate {
  color: #37474F;
}

/* Slate - 石板灰 */
.btn-charcoal {
  color: #263238;
}

/* Charcoal - 炭灰色 */
.btn-mocha {
  color: #5D4037;
}

/* Mocha - 摩卡棕 */
.btn-espresso {
  color: #4E342E;
}

/* Espresso - 咖啡色 */

/* 悬停效果 */
[class^="btn-"]:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* 禁用状态 */
.btn-text:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 图标按钮基础样式 */
/* .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: white;
  border: 1px solid #E0E0E0;
  margin: 0 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  gap: 8px;
  color: #333;
} */

.btn-icon {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  margin: 8px;
  border-radius: 6px;
  border: 1px solid #eee;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  min-width: 160px;
}

.btn-icon i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* 图标样式 */
.btn-icon .icon {
  font-size: 16px;
  line-height: 1;
  display: flex;
}

/* 悬停和活动状态 */
.btn-icon:hover {
  background-color: #F5F5F5;
  border-color: #BDBDBD;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-icon:active {
  background-color: #EEEEEE;
}

/* 按钮颜色变体 */
.btn-icon.btn-edit {
  color: #2196F3;
  border-color: #BBDEFB;
  background-color: #E3F2FD;
}

.btn-icon.btn-cancel {
  color: #F44336;
  border-color: #FFCDD2;
  background-color: #FFEBEE;
}

.btn-icon.btn-start {
  color: #4CAF50;
  border-color: #C8E6C9;
  background-color: #E8F5E9;
}

.btn-icon.btn-view {
  color: #673AB7;
  border-color: #D1C4E9;
  background-color: #EDE7F6;
}

/* 禁用状态 */
.btn-icon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #FAFAFA;
}


/* 不同功能的颜色方案 */
.btn-profile {
  color: #3f51b5;
  border-color: #c5cae9;
  background-color: #e8eaf6;
}

.btn-teachers {
  color: #009688;
  border-color: #b2dfdb;
  background-color: #e0f2f1;
}

.btn-students {
  color: #ff5722;
  border-color: #ffccbc;
  background-color: #fbe9e7;
}

.btn-users {
  color: #673ab7;
  border-color: #d1c4e9;
  background-color: #ede7f6;
}

.btn-scheduled {
  color: #4caf50;
  border-color: #c8e6c9;
  background-color: #e8f5e9;
}

.btn-history {
  color: #795548;
  border-color: #d7ccc8;
  background-color: #efebe9;
}

.btn-payment {
  color: #f44336;
  border-color: #ffcdd2;
  background-color: #ffebee;
}

.btn-billing {
  color: #607d8b;
  border-color: #cfd8dc;
  background-color: #eceff1;
}

.btn-availability {
  color: #00bcd4;
  border-color: #b2ebf2;
  background-color: #e0f7fa;
}

.btn-expertise {
  color: #8bc34a;
  border-color: #dcedc8;
  background-color: #f1f8e9;
}

.btn-recharge {
  color: #ff9800;
  border-color: #ffe0b2;
  background-color: #fff3e0;
}

.btn-book {
  color: #9c27b0;
  border-color: #e1bee7;
  background-color: #f3e5f5;
}

.btn-calendar {
  color: #2196f3;
  border-color: #bbdefb;
  background-color: #e3f2fd;
}

/* 教师应聘 - 深蓝色系 */
.btn-teacher-apply {
  color: #303f9f;
  border-color: #b6bde0;
  background-color: #e8eaf6;
}

/* 马上学习 - 活力橙色系 */
.btn-learn-now {
  color: #ff6f00;
  border-color: #ffcc80;
  background-color: #fff3e0;
}

.btn-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




/* 基础按钮 - 用伪元素生成中括号 */
.btn-bracket {
  display: inline-block;
  position: relative;
  padding: 0 8px;
  margin: 0 6px;
  color: #333;
  /* 默认文字颜色 */
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

/* 通过伪元素添加中括号 */
.btn-bracket::before,
.btn-bracket::after {
  content: "";
  position: absolute;
  top: 0;
  color: currentColor;
  /* 括号颜色跟随文字 */
}

.btn-bracket::before {
  content: "[";
  left: 0;
}

.btn-bracket::after {
  content: "]";
  right: 0;
}

/* 悬停效果：文字颜色加深 */
.btn-bracket:hover {
  color: var(--hover-color);
  /* 通过变量控制悬停色 */
}

/* 不同按钮的文字颜色 */
.btn-edit {
  color: #2196F3;
  --hover-color: #1976D2;
  /* 悬停时蓝色加深 */
}

.btn-cancel {
  color: #F44336;
  --hover-color: #D32F2F;
}

.btn-start {
  color: #4CAF50;
  --hover-color: #388E3C;
}

.btn-back {
  color: #607D8B;
  --hover-color: #455A64;
}
