/*-------------------------------
  BUTTON
  --------------------------------*/
.maha-site-footer .button-wrapper {
  position: relative;
  padding: 1.5rem 0;
  -webkit-filter: url("#goo");
  filter: url("#goo");
}


/*-------------------------------
  邮件订阅表单样式（修复版）
  --------------------------------*/
/* 提高选择器权重，确保匹配HTML结构 */
.maha-site-footer .foot-form {
  width: 345px;
  padding: 1.5rem 0;
  box-sizing: border-box;
  /* 确保和其他列对齐 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 提示文本样式 - 适配页脚文字风格 */
.maha-site-footer .foot-form p {
  color: #9c9c9c !important; /* 强制生效，匹配页脚文字色 */
  font-size: 1rem;
  margin-bottom: 0.9375rem;
  line-height: 1.5;
  font-weight: 500;
  margin-top: 0; /* 移除默认margin，对齐布局 */
  text-align: left;
  padding: 0 0 0 10px;
}

/* 输入框容器样式 */
.maha-site-footer .foot-form .input-box {
  margin-bottom: 0.625rem;
  width: 100%;
}

/* 输入框核心样式 - 适配深色背景风格 */
.maha-site-footer .foot-form .c_name {
  width: 100% !important;
  padding: 0.75rem 0.9375rem !important;
  border: 1px solid #333 !important; /* 深色背景下更适配的边框色 */
  border-radius: 1em !important; /* 匹配现有按钮的圆角风格 */
  font-size: 0.8125rem !important;
  color: #fff !important; /* 白色文字适配深色背景 */
  background-color: rgba(255, 255, 255, 0.1) !important; /* 半透明白色背景 */
  box-sizing: border-box !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important; /* 匹配现有过渡时长 */
  outline: none !important;
}

/* 输入框聚焦状态 - 用主色变量 */
.maha-site-footer .foot-form .c_name:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.1) !important;
}

/* 输入框占位符样式 - 适配深色背景 */
.maha-site-footer .foot-form .c_name::placeholder {
  color: #7e7e80 !important; /* 匹配页脚分隔线颜色 */
  font-size: 0.75rem !important;
}

/* 提交按钮样式 - 匹配现有按钮风格 */
.maha-site-footer .foot-form .submit.create-form-submit {
  width: 100% !important;
  padding: 0.75rem 1.25rem !important;
  background-color: var(--color-primary) !important; /* 使用现有主色变量 */
  color: #fff !important;
  border: none !important;
  border-radius: 1em !important; /* 匹配现有按钮圆角 */
  font-size: 0.875rem !important;
  font-weight: 600 !important; /* 匹配现有按钮字重 */
  cursor: pointer !important;
  transition: background-color 0.4s ease !important; /* 匹配现有过渡时长 */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-family: var(--title-font-family) !important; /* 匹配现有按钮字体 */
}

/* 按钮hover效果 - 用次要色变量 */
.maha-site-footer .foot-form .submit.create-form-submit:hover {
  background-color: var(--color-second) !important;
}

/* 按钮图标样式 */
.maha-site-footer .foot-form .submit.create-form-submit i.qico-right2 {
  font-size: 0.75rem !important;
  transition: transform 0.4s ease !important; /* 匹配现有过渡时长 */
}

/* hover时图标微动效果 */
.maha-site-footer .foot-form .submit.create-form-submit:hover i.qico-right2 {
  transform: translateX(2px) !important;
}

/* 响应式适配 - 对齐现有媒体查询写法 */
@media only screen and (max-width: 991px) {
  .maha-site-footer .foot-form {
    padding: 0.9375rem 0.625rem !important;
    width: 100% !important; /* 小屏幕自适应宽度 */
    margin: 0 auto !important;
  }
  
  .maha-site-footer .foot-form p {
    font-size: 0.8125rem !important;
  }
  
  .maha-site-footer .foot-form .c_name,
  .maha-site-footer .foot-form .submit.create-form-submit {
    padding: 0.625rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
}


.maha-site-footer .footer-top .row {
   display: flex;
   align-items: center;
}

.maha-site-footer .footer-top .footer-widget {
   width: 120px;
   display: none;
   
}

.maha-site-footer .button {
  /*display: inline-block;*/
  position: relative;
  
  min-width: 200px;
  font-family: var(--title-font-family);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--title-text-color);
  background: #fff;
  border-radius: 1em;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
  padding: 1.03em 1.32em;
  line-height: 1;
  display: none;
}
.maha-site-footer .button:before,
.maha-site-footer .button:after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 4.4em;
  height: 2.95em;
  background: #fff;
  border-radius: 50%;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 1s ease;
  transition: -webkit-transform 1s ease;
  transition: transform 1s ease, -webkit-transform 1s ease;
  z-index: -1;
}

.maha-site-footer .button-yellow {
  background: var(--color-primary);
  color: #fff;
}
.maha-site-footer .button-yellow:before,
.maha-site-footer .button-yellow:after {
  background: var(--color-primary);
}

.maha-site-footer .button:before {
  top: -25%;
  left: 20%;
}

.maha-site-footer .button:after {
  bottom: -25%;
  right: 20%;
}

.maha-site-footer .button:hover:before,
.maha-site-footer .button:hover:after {
  -webkit-transform: none;
  transform: none;
}

.maha-site-footer .loading-button .drops {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  opacity: 0;
  -webkit-filter: url("#liquid");
  filter: url("#liquid");
  -webkit-animation: fade-in 0.1s linear 0.4s forwards;
  animation: fade-in 0.1s linear 0.4s forwards;
}
.maha-site-footer .medias_icon{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
}
.maha-site-footer .loading-button .drop1,
.maha-site-footer .loading-button .drop2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 21px;
  height: 24px;
  border-radius: 50%;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
  background-color: var(--color-primary);
}
.maha-site-footer .loading-button .drop1 {
  width: 90px;
  height: 16px;
  bottom: 2px;
  border-radius: 0;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
}
.maha-site-footer .loading-button .drop2 {
  -webkit-animation: drop 1.3s cubic-bezier(1, 0.19, 0.66, 0.12) 0.5s infinite;
  animation: drop 1.3s cubic-bezier(1, 0.19, 0.66, 0.12) 0.5s infinite;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
}
@-webkit-keyframes drop {
  0% {
    bottom: 0px;
    opacity: 1;
    filter: alpha(opacity=100);
  }
  80% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
    bottom: -200px;
  }
}
@keyframes drop {
  0% {
    bottom: 0px;
    opacity: 1;
    filter: alpha(opacity=100);
  }
  80% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
    bottom: -200px;
  }
}
/*-------------------------------
  FOOTER
  --------------------------------*/
.maha-site-footer {
  position: relative;
  background-color: #18212e;
}
.maha-site-footer .footer-top {
  padding-bottom: 0;
  /*padding-top: 10px;*/
}

.maha-site-footer .footer-top .footer-logo {
  display: inline-block;
  padding-left: 0;
  margin-top: 20px;
}

.maha-site-footer .footer-top .footer-address {
  display: inline-block;
  padding-left: 0;
  margin-top: 20px;
}
.maha-site-footer .footer-top .footer-address li {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  color: #9c9c9c;
  font-size: 16px;
  /* border-right: 1px solid #7e7e80; */
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: wrap;
  align-content: center;

}
.maha-site-footer .footer-top .footer-address li:last-child {
  border-right: 0;
}
.maha-site-footer .footer-top .button-block {
  position: relative;
  /*display: inline-block;*/
  width: 100%;
  padding-top: 90px;
  display: none;
}
@media only screen and (min-width: 992px) {
  .maha-site-footer .footer-top .button-block {
    padding-top: 0;
  }
  .maha-site-footer .footer-top .footer-logo {
  display: inline-block;
  padding-left: 0;
  
}
}
.maha-site-footer .footer-top .button-block .btn-tagline {
  position: absolute;
  top: 30px;
  right: 35%;
  color: #fff;
  text-transform: uppercase;
}
@media only screen and (min-width: 992px) {
  .maha-site-footer .footer-top .button-block .btn-tagline {
    top: -70px;
    right: 10px;
    display: none;
  }
}
.maha-site-footer .footer-top .button-block .btn-tagline img {
  position: absolute;
  right: 0;
  margin-top: 20px;
  font-size: 27px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 2;
  -webkit-animation: btnIconMove 2s linear infinite;
  animation: btnIconMove 2s linear infinite;
}
.maha-site-footer .footer-bottom {
  padding-bottom: 10px;
}
.maha-site-footer .footer-bottom .container {
  padding-top: 20px;
  border-top: 2px solid var(--text-color);
}
.maha-site-footer .footer-bottom .social li {
  display: inline-block;
  margin-bottom: 10px;
}
.maha-site-footer .footer-bottom .social li a {
  display: block;
  position: relative;
  height: 42px;
  width: 42px;
  margin-right: 7px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: #fff;
  text-align: center;
  border-radius: 100%;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
}
.maha-site-footer .footer-bottom .social li a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}
.maha-site-footer .footer-bottom .social li a .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 100%;
  background-clip: padding-box; /* stops bg color from leaking outside the border: */
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.maha-site-footer .footer-bottom .social li a:hover {
  border-color: transparent;
}
.maha-site-footer .footer-bottom .social li a:hover .bg,
.maha-site-footer .footer-bottom .social li a:focus .bg {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  transform: scale(1);
  background-color: var(--color-second);
}
.maha-site-footer .footer-bottom .copyright {
  display: inline-block;
  color: #9c9c9c;
  font-size: 16px;
}

.footer-bg {
  background: #17262d url(./pics/footer-bg.jpeg) center center no-repeat fixed;
  background-color: rgb(23, 38, 45);
  
  background-size: cover;
}

@-webkit-keyframes btnIconMove {
  0% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
  }
  50% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(10px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(10px, 0px);
  }
  100% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
  }
}

@keyframes btnIconMove {
  0% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
  }
  50% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(10px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(10px, 0px);
  }
  100% {
    -webkit-transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
    transform: rotateX(20deg) scale(1, -1) translate(3px, 0px);
  }
}

@media (min-width: 768px) {
  .text-md-start {
    text-align: left !important;
  }
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
}