/*----------------------------------
  SECTION TITLE 
  -----------------------------------*/
.maha-project-wrap .section-title-wrap {
  position: relative;
  margin-bottom: 40px;
}
    body * {
      margin: 0;
      padding: 0;
      outline: none !important;
      line-height: 1.2;
    }
.maha-project-wrap .section-title-wrap .section-title {
  display: inline-block;
  position: relative;
  margin: 5px 0 40px;
  font-size: clamp(24px, 2.7vw, 50px);
  color:#000000;
  line-height: 1.2;
  font-weight: 700;
  text-transform: capitalize;
}
.maha-project-wrap .section-title-wrap .section-title .section-title-text {
  font-family: var(--title-font-family);
}

@media (min-width: 1200px) {
  .maha-project-wrap .section-title-wrap .section-title {
    font-size: 50px;
  }
}

.maha-project-wrap .section-title-wrap .section-title::before,
.maha-project-wrap .section-title-wrap .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 20px;
  height: 8px;
  border-radius: 4px;
  background-clip: padding-box;
  /* stops bg color from leaking outside the border: */
  background-color: var(--color-primary);
  -webkit-animation: animate 6s linear infinite;
  animation: animate 6s linear infinite;
}

.maha-project-wrap .section-title-wrap .section-title::before {
  right: 50%;
  margin-right: 4px;
}

.maha-project-wrap .section-title-wrap .section-title::after {
  left: 50%;
  margin-left: 4px;
}

.maha-project-wrap .section-title-wrap p {
  display: inline-block;
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 500;
  margin-bottom: 0;
  max-width: 1200px;
  font-family: var(--font-family);
}

@-webkit-keyframes animate {
  0% {
    width: 20px;
  }

  25% {
    width: 50px;
  }

  50% {
    width: 50px;
  }

  75% {
    width: 100px;
  }

  100% {
    width: 100px;
  }
}

@keyframes animate {
  0% {
    width: 20px;
  }

  25% {
    width: 50px;
  }

  50% {
    width: 50px;
  }

  75% {
    width: 100px;
  }

  100% {
    width: 100px;
  }
}

/*-------------------------------
  PROJECT
  --------------------------------*/
.maha-project-wrap  {
  padding: clamp(30px, calc( (80 / 1920) * 100vw ), 80px) 0;
  background-color: #f8f6f3;
}

@media (min-width: 1200px) {
  .maha-project-wrap {
    padding: 100px 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .maha-project-wrap {
    padding: 80px 0;
  }
}
@media (max-width: 991px) {
  .maha-project-wrap {
  }
}

.maha-project-wrap .project-slide {
  position: relative;
  background-color: #fff;
  border-radius: var(--button-radius);
  padding-bottom: 50px;
}

.maha-project-wrap .project-slide .project-image {
  position: relative;
  aspect-ratio: 17 / 11;
}

@media only screen and (min-width: 992px) {
  .maha-project-wrap .project-slide .project-image {
    padding-left: 0;
  }
}

.maha-project-wrap .project-slide .project-image .swiper-project-pagination {
  bottom: -40px;
}

@media only screen and (min-width: 768px) {
  .maha-project-wrap .project-slide .project-image .swiper-project-pagination {
    bottom: 0;
  }
}

.maha-project-wrap .project-slide .project-image img {
  border-radius: 15px;
  width: inherit !important;
}

@media only screen and (min-width: 992px) {
  .maha-project-wrap .project-slide .project-image img {
    
    background-clip: padding-box;
    border-radius: 15px;
  }
}

.maha-project-wrap .swiper-pagination-bullet {
  background-color: var(--color-primary);
}

.maha-project-wrap .project-content {
  overflow: hidden;
  padding-bottom: 60px;
}

@media only screen and (min-width: 992px) {
  .maha-project-wrap .project-content {
    margin-right: 30px;
    padding-bottom: 0;
  }
}

.maha-project-wrap .project-content-single {
  text-align: center;
  padding: 30px 12px;
}

.maha-project-wrap .project-content-single .project-content-text {
  margin: 0;
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.5;
  font-family: var(--font-family);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

@media only screen and (max-width: 992px) {
  .maha-project-wrap .project-content {
    -webkit-line-clamp: 12;
  }
}

.maha-project-wrap .project-content-single .project-content-title {
  display: inline-block;
  margin: 0 0 35px;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: #FFF;
  background-color: var(--color-second);
  text-decoration: none;
  border-radius: 1em 
}

.maha-project-wrap .project-content-single .project-content-line {
  display: block;
  height: 4px;
  width: 100%;
  margin-top: 40px;
  clear: both;
  background-color: var(--color-second);
}

/* ========== 按钮已替换为气泡悬浮效果 ========== */
.maha-project-wrap .project-content-single .btn-project {
  display: inline-block;
  position: relative;
  padding: 1.03em 1.32em;
  min-width: 200px;
  font-size: 16px;
  font-weight: 600;
  /* text-transform: uppercase; */
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  border: none;
  cursor: pointer;
  outline: none !important;
  background-color: var(--color-primary);
  color: #fff;
  margin-top: 30px;
  border-radius: 1em;
  line-height: 1;
  -webkit-filter: url("#goo");
  filter: url("#goo");
}

/* 按钮上方气泡 */
.maha-project-wrap .project-content-single .btn-project:before {
  content: "";
  position: absolute;
  top: -25%;
  left: 20%;
  width: 4.4em;
  height: 2.95em;
  background: var(--color-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.8s ease;
  z-index: -1;
}

/* 按钮下方气泡 */
.maha-project-wrap .project-content-single .btn-project:after {
  content: "";
  position: absolute;
  bottom: -25%;
  right: 20%;
  width: 4.4em;
  height: 2.95em;
  background: var(--color-primary);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.8s ease;
  z-index: -1;
}

/* 鼠标悬浮动画 */
.maha-project-wrap .project-content-single .btn-project:hover:before,
.maha-project-wrap .project-content-single .btn-project:hover:after {
  transform: scale(1);
}
/* ========== 按钮替换结束 ========== */

.maha-project-wrap .project-filter .btn-filter {
  padding: 5px 15px;
  min-width: 100px;
  font-size: 18px;
  border-radius: var(--button-radius);
  margin-bottom: 20px;
}

.maha-project-wrap .project-filter .active {
  background-color: var(--color-second);
  color: #FFF;
}

.maha-project-wrap .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 20px;
}

.maha-project-wrap .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: #999; /* 改为灰色 */
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.maha-project-wrap .swiper-pagination-bullet-active {
  width: 55px;
  border-radius: 15px;
  background-clip: padding-box;
  background-color: var(--color-primary);
}

@media(max-width:991px){
  .maha-project-wrap .project-content-single {
    padding: 0 10px;
  }
  .maha-project-wrap .project-content-single .project-content-title {
    margin: 0 0 20px;
  }
  .maha-project-wrap .project-content-single .project-content-line {
    margin-top: 20px;
  }
  .maha-project-wrap .project-content-single .btn-project {
    padding: 10px 20px;
    min-width: auto;
    font-size: 14px;
  }
}