/*==========================================
   宁波聚虎智能科技 - 优化样式表
   美化：页头、菜单栏、页尾、移动端适配
==========================================*/

/* ========== 基础变量 ========== */
:root {
  --primary: #0052a4;
  --primary-dark: #003d7a;
  --primary-light: #0066cc;
  --accent: #e8a817;
  --accent-dark: #c78d0f;
  --dark: #1a2332;
  --darker: #0d1520;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --white: #ffffff;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* ========== 全局优化 ========== */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   页头 (Header) 美化
============================================= */
.header-area {
  padding: 12px 0;
  border-top: 4px solid var(--primary);
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-area .logo {
  padding: 5px 0;
}

.header-area .logo img {
  max-width: 220px;
  height: auto;
  transition: var(--transition);
}

/* 滚动后header阴影增强 */
.header-area.header-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

/* =============================================
   导航菜单 (Navigation) 美化
============================================= */
.main-menu {
  float: right;
}

.main-menu .navigation {
  display: flex;
  align-items: center;
}

.main-menu .navigation li a {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  position: relative;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

/* 下划线动画效果 */
.main-menu .navigation > li > a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a {
  color: var(--primary) !important;
}

.main-menu .navigation > li:hover > a::after,
.main-menu .navigation > li.current > a::after {
  transform: scaleX(1);
}

/* 下拉子菜单 */
.main-menu .navigation > li > ul {
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border: none;
  border-top: 3px solid var(--primary);
  width: 240px;
}

.main-menu .navigation > li > ul > li > a {
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}

.main-menu .navigation > li > ul > li:hover > a {
  color: #fff;
  background-color: var(--primary);
  padding-left: 28px;
}

.main-menu .navigation > li > ul > li > a i {
  margin-right: 6px;
}

/* =============================================
   轮播图 (Slider) 美化
============================================= */
.rev_slider_wrapper .slide-content-box h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.rev_slider_wrapper .slide-content-box p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.rev_slider_wrapper .slide-content-box .button a.bg-1 {
  background: var(--accent);
  border: 2px solid var(--accent);
  border-bottom: 3px solid var(--accent-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 4px;
  letter-spacing: 1px;
  transition: var(--transition);
}

.rev_slider_wrapper .slide-content-box .button a.bg-1:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* Slider 文字可读性增强遮罩 */
.rev_slider_wrapper .rev_slider ul li::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 60%);
  pointer-events: none;
  z-index: 1;
}

.rev_slider_wrapper .rev_slider ul li .tp-caption {
  z-index: 2 !important;
}

/* =============================================
   公司资讯区域美化
============================================= */
.categories-areas {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.categories-areas::before {
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(0, 82, 164, 0.85) 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.categories-areas .sec-title h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
}

/* 标题下划线 */
.title-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* 资讯卡片 */
.categories-areas .choose-us-content ul {
  list-style: none;
  padding: 0;
}

.categories-areas .choose-us-content ul li {
  margin-bottom: 20px;
}

.categories-areas .text-holders {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 22px 25px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.categories-areas .text-holders:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.3);
}

.categories-areas .text-holders h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.categories-areas .text-holders h4 a {
  color: #fff;
}

.categories-areas .text-holders h4 a:hover {
  color: var(--accent);
}

.categories-areas .text-holders p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* 视频区域 - 放大并添加装饰 */
/* 让视频所在行使用 flex，视频与右侧资讯卡对齐 */
.categories-areas .row > .col-md-6:first-child {
  display: flex;
  align-items: stretch;
}

.about-content {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.about-content video {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
  background: #000;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.about-content video:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(232,168,23,0.25), 0 0 0 2px rgba(232,168,23,0.3);
}

/* 视频懒加载占位 */
.video-placeholder-lazy {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.video-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: videoSpin 0.8s linear infinite;
}

@keyframes videoSpin {
  to { transform: rotate(360deg); }
}

/* 视频左右侧深色渐变蒙版 - 更大气 */
.about-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 25%, transparent 45%, transparent 55%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0.55) 100%);
}

/* 视频装饰标签 */
.about-content::before {
  content: '企业视频';
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 20px;
  z-index: 3;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.video-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(0,0,0,0.3);
}

.video-cover-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.video-poster:hover .video-cover-img {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  cursor: pointer;
}

.video-play-btn .play-icon {
  display: block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  font-size: 24px;
  color: var(--primary);
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.video-poster:hover .play-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.video-play-btn .play-text {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* =============================================
   解决方案区域美化
============================================= */
.categories-area {
  background: #f0f4f8;
  padding: 80px 0 60px;
}

.categories-area .sec-title h1 {
  color: var(--dark);
  font-size: 34px;
  font-weight: 700;
}

.categories-area .single-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 30px;
  padding-left: 0;
  display: flex;
  align-items: stretch;
  min-height: 150px;
}

.categories-area .single-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.categories-area .single-item::before {
  display: none;
}

.categories-area .single-item .icon-holder {
  position: relative !important;
  width: 90px;
  min-width: 90px;
  height: auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.categories-area .single-item .icon-holder::before {
  display: none !important;
}

.categories-area .single-item .icon-holder .icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}

.categories-area .single-item .icon-holder .icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  width: 100%;
}

.categories-area .single-item .icon-holder span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}

.categories-area .single-item .icon-holder span::before {
  color: #fff;
  font-size: 32px;
}

.categories-area .single-item .text-holder {
  padding: 22px 20px;
  flex: 1;
}

.categories-area .single-item .text-holder h5 {
  margin: 0 0 6px;
}

.categories-area .single-item .text-holder h5 a {
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.categories-area .single-item:hover .text-holder h5 a {
  color: var(--primary);
}

.categories-area .single-item .text-holder p {
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   页尾 (Footer) 美化
============================================= */
.footer-area {
  background: #0c1933;
  padding: 60px 0 40px;
  color: #aaa;
}

/* 只给非空标题加下划线 (排除 &nbsp; 占位 h3) */
.footer-area .title h3:last-child {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-area .title h3:last-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* 隐藏占位用的 &nbsp; h3 */
.footer-area .title h3:not(:last-child) {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 0;
}

/* 网站地图链接 - 保留原始布局，仅美化颜色 */
.single-footer-widget .services-list li a {
  color: #bbb;
  transition: var(--transition);
}

.single-footer-widget .services-list li:hover a {
  color: var(--accent);
  text-decoration: none;
  padding-left: 6px;
}

/* 联系信息 - 保持原始布局，仅美化颜色 */
.single-footer-widget .footer-contact-info li .icon-holder span::before {
  color: var(--accent) !important;
}

.single-footer-widget .footer-contact-info li .text-holder h5 {
  color: #ccc;
}

/* Footer bottom - 全宽背景 */
.footer-bottom-area {
  background: #06132b;
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-bottom-area .container {
  max-width: 100%;
  padding: 0;
}

.footer-bottom-area .footer-bottom {
  background: transparent;
}

.footer-bottom {
  background: #06132b;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}

.footer-bottom .copyright-text {
  font-size: 13px;
  color: #ccc;
}

.footer-bottom .copyright-text span a {
  color: #ccc;
  transition: var(--transition);
}

.footer-bottom .copyright-text span a:hover {
  color: var(--accent);
}

.footer-bottom .copyright-text p {
  color: #bbb;
  font-family: "PingFang SC", "Microsoft YaHei", "Open Sans", sans-serif;
}

.footer-bottom .copyright-text p a {
  color: var(--accent);
}

.footer-bottom .copyright-text p a:hover {
  color: #fff;
}

/* =============================================
   回到顶部按钮
============================================= */
.scroll-to-top {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  bottom: 25px;
  color: #fff;
  font-size: 22px;
  height: 44px;
  width: 44px;
  line-height: 42px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,82,164,0.4);
  transition: var(--transition);
}

.scroll-to-top:hover {
  background: var(--accent);
  color: #fff;
  border: none;
}

/* =============================================
   响应式设计 - 平板端 (768px - 991px)
============================================= */
@media only screen and (max-width: 991px) {
  /* --- Header --- */
  .header-area .logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .header-area .logo img {
    max-width: 180px;
  }

  .main-menu {
    float: none;
  }

  /* --- 导航菜单平板端优化 --- */
  .main-menu .navigation {
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-menu .navigation li a {
    font-size: 13px;
    padding: 14px 10px;
  }

  /* 修正 ::after 下划线宽度匹配缩小后的 padding */
  .main-menu .navigation > li > a::after {
    left: 10px;
    right: 10px;
    bottom: 4px;
  }

  /* --- 轮播图 --- */
  .rev_slider .tp-caption,
  .rev_slider_wrapper .tp-caption {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .rev_slider_wrapper .slide-content-box h1 {
    font-size: 26px;
    line-height: 1.35;
  }

  .rev_slider_wrapper .slide-content-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .rev_slider_wrapper .slide-content-box .button a.bg-1 {
    font-size: 13px;
    padding: 10px 24px;
  }

  /* --- 公司资讯/关于区域 --- */
  .categories-areas .about-content {
    margin-bottom: 30px;
  }

  .categories-areas .row > .col-md-6:first-child {
    display: block;
  }

  .about-content {
    display: block;
  }

  .about-content video {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    object-fit: contain;
  }

  .video-placeholder-lazy {
    min-height: 250px;
  }

  .video-cover-img {
    height: 250px;
  }

  /* --- 分类卡片 --- */
  .categories-area .single-item {
    flex-direction: row;
    align-items: center;
  }

  .categories-area .single-item .icon-holder {
    width: 90px;
    min-width: 90px;
    height: 90px;
  }

  .categories-area .single-item .text-holder {
    padding: 18px 15px 18px 20px;
  }

  .categories-areas .text-holders h2 {
    font-size: 15px;
  }

  .categories-areas .text-holders p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* --- 页脚 --- */
  .footer-area .single-footer-widget {
    margin-bottom: 30px;
  }
}

/* =============================================
   响应式设计 - 手机端 (最大767px)
============================================= */
@media only screen and (max-width: 767px) {
  /* --- 轮播图：隐藏按钮，显示文字 --- */
  .rev_slider_wrapper .slide-content-box .button {
    display: none !important;
  }
  /* slide 3 "聚虎科技欢迎您" 手机端隐藏文字 */
  #slider1 > ul > li:nth-child(3) .tp-caption:first-of-type {
    display: none !important;
  }
  /* 手机端轮播文字统一右移 */
  .rev_slider_wrapper .tp-caption .slide-content-box {
    padding-left: 2em !important;
  }
  .rev_slider_wrapper .slide-content-box h1 {
    font-size: 11px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }
  .rev_slider_wrapper .slide-content-box p {
    font-size: 8px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* --- Header --- */
  .header-area {
    padding: 10px 0 6px;
    position: relative;
  }

  .header-area .container > .row > div:first-child {
    width: 100% !important;
    float: none !important;
    text-align: center;
  }
  .header-area .container > .row > div:last-child {
    width: 100% !important;
    float: none !important;
  }

  .header-area .logo {
    text-align: center;
    margin-bottom: 8px;
    padding: 0;
  }

  .header-area .logo img {
    max-width: 160px;
    height: auto;
  }

  .main-menu {
    width: 100% !important;
    padding: 0 !important;
  }

  /* 隐藏三条杠按钮，改用横向分隔符菜单 */
  .main-menu .navbar-header,
  .main-menu .navbar-header .navbar-toggle {
    display: none !important;
  }

  /* 始终可见的横向导航 */
  .main-menu .mobile-nav {
    background: transparent;
    border-radius: 0;
    padding: 4px 0;
    text-align: center;
  }

  .main-menu .mobile-nav > .navigation {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-menu .mobile-nav > .navigation > li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    display: inline !important;
    position: relative !important;
  }

  .main-menu .mobile-nav > .navigation > li > a {
    display: inline !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
    line-height: 22px !important;
    color: #333 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .main-menu .mobile-nav > .navigation > li.current > a,
  .main-menu .mobile-nav > .navigation > li > a:hover {
    color: var(--primary) !important;
    background: transparent !important;
  }

  /* 移除 PC 端的 ::after 下划线动画，避免与文字重合 */
  .main-menu .mobile-nav > .navigation > li > a::after {
    display: none !important;
  }

  /* 分隔符 | */
  .main-menu .mobile-nav > .navigation > li > a::before {
    content: '|';
    color: #ccc;
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
  }
  .main-menu .mobile-nav > .navigation > li:last-child > a::before {
    content: '';
  }
  .main-menu .mobile-nav > .navigation > li > a {
    position: relative;
  }

  /* 下拉子菜单 */
  .main-menu .mobile-nav > .navigation > li > ul {
    display: none !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
    z-index: 9999 !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    width: 200px !important;
    padding: 4px 0 !important;
    margin: 4px 0 0 0 !important;
  }

  .main-menu .mobile-nav > .navigation > li.dropdown.submenu-open > ul {
    display: block !important;
  }

  .main-menu .mobile-nav > .navigation > li > ul > li {
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .main-menu .mobile-nav > .navigation > li > ul > li > a {
    display: block !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    color: #555 !important;
    background: #fff !important;
    text-align: left !important;
  }

  .main-menu .mobile-nav > .navigation > li > ul > li > a:hover {
    background: #f0f6ff !important;
    color: var(--primary) !important;
  }

  /* --- 公司资讯 --- */
  .categories-areas {
    padding: 50px 0;
  }

  .categories-areas .sec-title h1 {
    font-size: 26px;
  }

  .categories-areas .row > .col-md-6:first-child {
    display: block;
  }

  .about-content {
    display: block;
  }

  .about-content video {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    object-fit: contain;
    border-width: 2px;
  }

  .video-placeholder-lazy {
    min-height: 200px;
  }

  .about-content::before {
    top: -12px;
    left: 12px;
    font-size: 11px;
    padding: 2px 10px;
  }

  .video-cover-img {
    height: 200px;
  }

  .video-play-btn .play-icon {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 20px;
  }

  .video-play-btn .play-text {
    font-size: 12px;
  }

  .categories-areas .text-holders {
    padding: 16px 18px;
  }

  .categories-areas .text-holders h4 {
    font-size: 14px;
  }

  .categories-areas .text-holders p {
    font-size: 12px;
  }

  /* --- 解决方案 --- */
  .categories-area {
    padding: 50px 0 30px;
  }

  .categories-area .sec-title h1 {
    font-size: 26px;
  }

  .categories-area .single-item {
    flex-direction: row;
    min-height: auto;
  }

  .categories-area .single-item .icon-holder {
    width: 65px;
    min-width: 65px;
  }

  .categories-area .single-item .icon-holder span::before {
    font-size: 24px;
  }

  .categories-area .single-item .text-holder {
    padding: 14px 15px;
  }

  .categories-area .single-item .text-holder h5 a {
    font-size: 14px;
  }

  .categories-area .single-item .text-holder p {
    font-size: 12px;
  }

  /* --- Footer --- */
  .footer-area {
    padding: 40px 0 20px;
  }

  .footer-area .title h3:last-child {
    font-size: 16px;
  }

  .single-footer-widget .services-list li a {
    font-size: 13px;
  }

  .footer-contact-info li .text-holder h5 {
    font-size: 13px;
  }

  .footer-bottom .copyright-text {
    font-size: clamp(8px, 2.5vw, 12px);
    white-space: nowrap;
  }

  .footer-bottom .copyright-text p {
    font-size: clamp(8px, 2.5vw, 12px);
    white-space: nowrap;
  }

  .footer-bottom .copyright-text img {
    width: 14px !important;
    height: auto;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 10px;
    height: 38px;
    width: 38px;
    line-height: 36px;
    font-size: 18px;
  }
}

/* =============================================
   小屏手机 (最大480px)
============================================= */
@media only screen and (max-width: 480px) {
  .header-area .logo img {
    max-width: 120px;
  }
}

/* =============================================
   入场动画
============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories-area .single-item {
  animation: fadeInUp 0.6s ease forwards;
}

.categories-area .col-md-4:nth-child(2) .single-item { animation-delay: 0.1s; }
.categories-area .col-md-4:nth-child(3) .single-item { animation-delay: 0.2s; }
.categories-area .col-md-4:nth-child(4) .single-item { animation-delay: 0.3s; }
.categories-area .col-md-4:nth-child(5) .single-item { animation-delay: 0.4s; }
.categories-area .col-md-4:nth-child(6) .single-item { animation-delay: 0.5s; }
