/* =============================================
   DESIGN SYSTEM
   ============================================= */
:root {
  --primary:        #2D6A4F;
  --primary-dark:   #1B4332;
  --primary-light:  #52B788;
  --secondary:      #6B4226;
  --secondary-light:#A0522D;
  --bg-white:       #FFFFFF;
  --bg-light:       #F5F7F5;
  --bg-dark:        #6e5f4a;
  --text-dark:      #1E2B23;
  --text-mid:       #4A5568;
  --text-light:     #718096;
  --text-white:     #ffffff;
  --border:         #E2E8F0;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.18);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     all .3s ease;
  --nav-height:     72px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(45,106,79,.1);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* =============================================
   ALERT / FLASH MESSAGE
   ============================================= */
.alert {
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}
.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background:rgb(255 255 255 / 0%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 600;
  /* color: var(--text-dark); */
    color: #fff;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-contact-btn {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(45,106,79,.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =============================================
   HERO / SWIPER
   ============================================= */
.hero-section {
  /* margin-top: var(--nav-height); */
  position: relative;
  width: 100%;
  /* height: calc(100vh - var(--nav-height)); */
    height: 100vh;
  min-height: 560px;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  /* 非 active 時關閉動畫，避免切換時殘留 */
  animation: none;
}

/* 輪播底圖：zoom-in → zoom-out 反覆循環（僅在目前 active 的 slide 上播放） */
@keyframes bannerZoomBreath {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.swiper-slide-active .slide-bg {
  animation: bannerZoomBreath 12s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .swiper-slide-active .slide-bg {
    animation: none;
    transform: scale(1);
  }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    135deg,
    rgba(27,67,50,.75) 0%,
    rgba(45,106,79,.55) 50%,
    rgba(0,0,0,.4) 100%
  );*/
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  max-width: 1200px;
    align-items: center;
    height: 51vw;
}

.slide-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .2s, transform .6s ease .2s;
}

.slide-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease .35s, transform .6s ease .35s;
}

.slide-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease .5s, transform .6s ease .5s;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease .65s, transform .6s ease .65s;
}

.swiper-slide-active .slide-label,
.swiper-slide-active .slide-title,
.swiper-slide-active .slide-subtitle,
.swiper-slide-active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,255,255,.3);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 700;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255,255,255,.5) !important;
  opacity: 1 !important;
  transition: var(--transition);
}
.swiper-pagination-bullet-active {
  background: #fff !important;
  width: 28px !important;
  border-radius: 5px !important;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-image-placeholder {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(255,255,255,.9);
}

.about-image-placeholder i {
  font-size: 4rem;
  opacity: .7;
}

.about-image-placeholder span {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: .8;
}

.about-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--secondary);
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about-badge span {
  font-size: .75rem;
  opacity: .9;
}

.about-content .section-header {
  text-align: center;
  margin-bottom: 24px;
}

.about-content .section-header .section-desc {
  text-align: center;
  max-width: 100%;
}

.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 36px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(45,106,79,.06);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.value-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.value-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 100px 0;
  /* background: var(--bg-light); */
    background-image: url(../images/service.jpg);
    
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-top: 4px solid transparent;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,106,79,.03), rgba(45,106,79,.0));
  transition: var(--transition);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  background: linear-gradient(135deg, rgba(45,106,79,.06), rgba(45,106,79,.02));
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(45,106,79,.12), rgba(45,106,79,.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-icon-wrap i {
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap i {
  color: #fff;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--primary); }

.service-card p {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Left column */
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  /* flex-direction: column; */
  gap: 16px;
  margin-bottom: 36px;
    flex-wrap: wrap; /* 允許換行 */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
    width: calc((100% - 16px) / 2); 
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(45,106,79,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
}

.contact-item-body strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-item-body span,
.contact-item-body a {
  font-size: .95rem;
  color: var(--text-dark);
  line-height: 1.5;
  transition: var(--transition);
}
.contact-item-body a:hover { color: var(--primary); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: none;
}

/* Right column — form */
.contact-form-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group label .required {
  color: #E53E3E;
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}
.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,.35);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Turnstile 驗證區塊 */
.turnstile-wrap {
  margin-bottom: 8px;
}
.turnstile-wrap .cf-turnstile {
  display: inline-block;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.8;
  max-width: 300px;
  color: rgba(255,255,255,.6);
}

.footer-heading {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
}

.footer-contact-list i {
  color: #fff;
  margin-top: 3px;
  min-width: 14px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,1);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
#scrollTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   AOS CUSTOM
   ============================================= */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap img,
  .about-image-placeholder {
    height: 320px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Navbar */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    /* top: var(--nav-height); */
      top: 0;
    left: 0; right: 0;
    background: rgb(255 254 254 / 94%);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.open {
    transform: translateY(0);
      top: 62px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .nav-link::after { display: none; }
  .nav-link:hover { background: var(--bg-light); }

  .nav-contact-btn {
    margin: 8px 0 0;
    text-align: center;
    padding: 13px;
  }

  /* Hero */
  .slide-content { padding: 0 5%; }
  .slide-actions { flex-direction: column; gap: 12px; }
  .slide-actions .btn { text-align: center; justify-content: center; }

  /* About */
  .about-section { padding: 72px 0; }
  .about-content .section-header { text-align: center; }
  .about-content .section-header .section-desc { text-align: center; margin: 0 auto; }

  /* Services */
  .services-section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { text-align: left; display: flex; align-items: flex-start; gap: 20px; padding: 24px; }
  .service-icon-wrap { margin: 0; min-width: 60px; width: 60px; height: 60px; }

  /* Contact */
  .contact-section { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand p { max-width: 100%; }

  /* Scroll to top */
  #scrollTop { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
.map {margin-bottom: 20px;}
.map iframe {}
.mouse {
    max-width: 30px;
    width: 100%;
    animation: move .9s ease-in-out infinite alternate;
    z-index: 999;
    bottom: 20px;
    left: 50%;
    position: absolute;
    margin-left: -15px;
}

@-moz-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@-webkit-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@-o-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}
.scrolled {background: #fff!important;}
.scrolled .nav-link { color: var(--text-dark); }
.scrolled .nav-link:hover {color: var(--primary)!important;}
.navbar img {filter: brightness(0) invert(1);transition: filter 0.3s ease;}
.scrolled img {filter: none!important;}
.service-card:hover {transform: translateZ(0) scale(1.1)!important; transition: all .6s ease;transition-delay: 0s!important;}
[data-aos^=fade][data-aos^=fade] {transition-delay: 0s;}

.about-bg{
    position: relative;
}

.about-bg::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../images/bg1.svg);
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.3; /* 透明度 */
    pointer-events: none;
}


@media (max-width: 768px) {
.slide-content {height: 100vh;}
    .scrolled .hamburger span {background: #6e6452;}
    .open a {color: #000;}

}
    
    
@media (max-width: 480px) {
  .section-title { font-size: 1.6rem; }
  .hero-section { min-height: 500px; }
  .slide-title {font-size: clamp(1.5rem, 5vw, 3.75rem);}
    .mouse {bottom: 40px;margin-left: -20px;max-width: 20px;}
    .service-card:hover {transform: translateZ(0) scale(1)!important;}
    .service-card {display: block;text-align: center;}
    .service-icon-wrap {margin: 0 auto 10px;}
    .contact-item {width: calc((100% - 16px) / 1);}
}
