/*
 * test.css — Navbar + Hero + Scroll reveal
 * Bootstrap 5, vanilla JS
 */

```css
/* =========================================
   1. 现代全局重置 (Modern Reset)
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box; /* 统一盒模型，防止布局溢出 */
  margin: 0;              /* 清除默认外边距 */
  padding: 0;             /* 清除默认内边距 */
}

/* =========================================
   2. 语义化变量与根元素设置
   ========================================= */
:root {
  /* 原始调色板 */
  --color-navy: #1d293e;
  --color-green: #35ac39;
  --color-white: #ffffff;
  --color-text: #444444;

  /* 语义化变量（推荐使用这些） */
  --text-heading: var(--color-navy);
  --text-body: var(--color-text);
  --bg-primary: var(--color-white);
  --accent-color: var(--color-green);
/* bizland */
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #106eff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */




  /* 字体栈与高级排版特性 */
  font-family: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "calt" 1; /* 开启连字 */

  /* bizland  */
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Open Sans",  sans-serif;





  /* 移动端优先的基准字号：1rem = 16px */
  font-size: 100%; 
}

/* =========================================
   3. 基础排版 (Mobile First 核心)
   ========================================= */
html {
  scroll-behavior: smooth; /* 锚点平滑滚动 */
  height: 100%;            /* 确保全屏布局可用 */
}

body {
  min-height: 100%;
  /* 移动端基础字号：最小 1rem(16px)，理想 4.5vw，最大 1.125rem(18px) */
  font-size: clamp(1rem, 4.5vw, 1.125rem); 
  color: var(--text-body);
  line-height: 1.75;       /* 移动端长文阅读需要更宽松的行高 */
  background-color: var(--bg-primary);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  line-height: 1.2;        /* 标题需要紧凑的行高 */
  margin-bottom: 0.75em;   /* 使用 em 确保间距随标题字号自适应 */
}

/* 段落与列表样式 */
p {
  margin-bottom: 1.25em;   /* 恢复段落的呼吸感 */
}

ul, ol {
  list-style-position: inside; /* 保持列表符在内部，避免移动端溢出 */
  margin-bottom: 1.25em;
}

/* =========================================
   4. 链接与交互 (无障碍优先)
   ========================================= */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8; /* 鼠标悬停反馈 */
}

/* 键盘焦点样式：保障无障碍访问 */
a:focus-visible, 
button:focus-visible, 
input:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* =========================================
   5. 桌面端增强 (Desktop Enhancements)
   ========================================= */
/* 当屏幕宽度 >= 768px 时，逐步增强排版 */
@media (min-width: 768px) {
  body {
    /* 桌面端理想字号：最小 1.0625rem(17px)，理想 1.2vw，最大 1.1875rem(19px) */
    font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
    line-height: 1.6;     /* 桌面端可视距离更远，行高可略微收紧 */
  }

  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1em;   /* 桌面端标题间距微调 */
  }
}

/* 当屏幕宽度 >= 1200px 时，进一步放大 */
@media (min-width: 1200px) {
  body {
    font-size: clamp(1.125rem, 1.2vw, 1.25rem); /* 最大可达 20px */
  }
}



/* ----------------------------------------------------
   Navbar
   ---------------------------------------------------- */

   /*--------------------------------------------------------------
# Site Navbar (适配全局设计系统)
--------------------------------------------------------------*/
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background-color: transparent;
  /* 仅过渡背景色和阴影，避免性能损耗 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 997;
}

/* Logo 区域 */
.site-logo { 
  font-size: 1.5rem; /* 24px -> 1.5rem */
}

.site-logo img { 
  width: 8.75rem; /* 140px -> 8.75rem */
  max-width: 100%; 
}

/* 桌面端菜单 */
.site-navigation .site-menu { 
  margin-bottom: 0; 
  list-style: none; 
}

.site-navigation .site-menu > li > a {
  padding: 1rem 1.25rem; /* 15px 20px -> 1rem 1.25rem */
  /* 流式排版：最小 0.875rem(14px)，理想 1.2vw，最大 1.125rem(18px) */
  font-size: clamp(0.875rem, 1.2vw, 1.125rem); 
  text-transform: capitalize;
  color: var(--text-heading); /* 使用全局标题色 */
  transition: color 0.2s ease; /* 增加颜色过渡，悬停更丝滑 */
}

.site-navigation .site-menu > li > a:hover { 
  color: var(--accent-color); /* 悬停使用全局强调色 */
}

/* 移动端汉堡按钮 */
.site-menu-toggle { 
  color: var(--color-white); 
  display: inline-block; 
  transition: color 0.2s ease;
}

.site-menu-toggle:hover { 
  color: var(--accent-color); 
}

.site-menu-toggle .h3 { 
  margin: 0; 
  font-size: 1.75rem; 
}

/* --- Sticky (滚动后状态) --- */
.site-navbar.scrolled {
  /* 使用 rgba 实现 96% 透明度的白色背景，保留轻微毛玻璃感 */
  background-color: rgba(255, 255, 255, 0.96); 
  border-bottom-color: #eee;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}

.site-navbar.scrolled .site-menu > li > a { 
  color: var(--text-heading); 
}

.site-navbar.scrolled .site-menu > li > a:hover { 
  color: var(--accent-color);
}


.site-navbar.scrolled .site-menu-toggle { 
  color: var(--text-heading); 
}



/*--------------------------------------------------------------
# Offcanvas 动画优化
--------------------------------------------------------------*/
/* 将动画时长调慢至 0.8s，并使用自定义缓动曲线让滑入更自然 */
.offcanvas {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}







/*--------------------------------------------------------------
# Card  Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Card */

:root {
  --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --card-hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --primary-color: #0d6efd;
  --card-border-radius: 0.375rem;
  --card-border-color: rgba(0, 0, 0, 0.125);
  --transition-duration: 0.3s;
  --image-transition-duration: 0.2s;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          background-color: #ffffff;
        }



.product-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--card-border-color);
  border-radius: var(--card-border-radius);
  font-family: var(--default-font);
  font-weight: 500;
  transition: transform var(--transition-duration), 
              box-shadow var(--transition-duration);
  padding-top: 5px;              
}


.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
  border: 1px solid  rgba(0, 0, 0, 0.125);
}



.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: none;
  transition: transform var(--image-transition-duration) ease;
}

.product-detail-img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

.product-link .card-title {
  margin-bottom: 0.5rem;
  transition: color var(--image-transition-duration) ease;
}

.product-link:hover .product-image {
  transform: scale(1.02);
}

.product-link:hover .card-title {
  color: var(--primary-color);
}


/* 移动端响应式适配（通用） */
@media (max-width: 768px) {
    .product-image {
        height: 160px;
    }
    .product-detail-img {
        max-height: 300px;
    }
}

/* 按钮区域备用样式（若后续加按钮） */
.product-card .pt-0 {
    padding-top: 0 !important;
}






/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 600;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 78px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}


.light-background {
  --background-color: #f5f9ff;
  --surface-color: #ffffff;
}

/*--------------------------------------------------------------
# Hero Section (适配全局设计系统)
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh; /* 移动端默认80vh，避免被固定导航遮挡 */
  position: relative;
  padding: 5rem 0 4rem; /* 使用 rem 替代 px，保持全局节奏 */
  display: flex;
  align-items: center;
  background: url(../images/hero-bg.png) top center no-repeat;
  background-size: cover;
}

/* 1. 标题流式排版 */
.hero h1 {
  margin: 0;
  /* 最小 2rem(32px)，理想 5vw，最大 3rem(48px) */
  font-size: clamp(2rem, 5vw, 3rem); 
  /* 行高使用 em，随字号自动缩放 */
  line-height: 1.15; 
  
  color: var(--text-heading);
}

/* 2. 描述文字流式排版 */
.hero p {
  /* 最小 1rem(16px)，理想 2vw，最大 1.25rem(20px) */
  font-size: clamp(1rem, 2vw, 1.25rem); 
  color: var(--text-body); /* 使用全局正文色，通过透明度控制对比度 */
  opacity: 0.8; /* 替代原来的 color-mix，更轻量且兼容性好 */
  margin: 0.5rem 0 2rem;
  font-weight: 400;
  line-height: 1.6;
}

/* 3. 主 CTA 按钮 */
.hero .btn-get-started {
  color: var(--color-white); /* 按钮文字使用纯白，确保在绿色背景上的对比度 */
  background: var(--accent-color);
  font-family: var(--heading-font, inherit); /* 如果全局未定义 heading-font，则继承 */
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em; /* 使用 em 替代 px，更优雅 */
  display: inline-flex; /* 改为 inline-flex，避免在移动端独占一行 */
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem; /* 使用 rem 替代 px */
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* 确保作为 <a> 标签时没有下划线 */
}

.hero .btn-get-started i {
  margin-left: 0.5rem;
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.hero .btn-get-started:hover {
  color: var(--color-white);
  background: color-mix(in srgb, var(--accent-color), #000 15%); /* 悬停时加深颜色，而非变透明 */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.hero .btn-get-started:hover i {
  transform: translateX(4px);
}

/* 4. 观看视频按钮 */
.hero .btn-watch-video {
  font-size: 1rem;
  transition: color 0.3s ease;
  color: var(--text-body);
  font-weight: 600;
  margin-left: 1.5rem; /* 与主按钮保持间距 */
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 2rem;
  transition: color 0.3s ease;
  line-height: 0;
  margin-right: 0.5rem;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

/* 5. 浮动动画 */
.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
  0% { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}

/* 6. 桌面端布局增强 (Desktop Enhancements) */
@media (min-width: 768px) {
  .hero {
    min-height: 100vh; /* 桌面端恢复全屏高度 */
    padding: 6rem 0;   /* 桌面端增加上下留白 */
  }
  
  /* 桌面端按钮组横向排列 */
  .hero .btn-group {
    display: flex;
    align-items: center;
  }
}


/*--------------------------------------------------------------
# Featured Section
--------------------------------------------------------------*/
.featured .service-item {
  height: 100%;
 padding: 10px 0px; 
  overflow: hidden;
  border: 1px solid var(--card-border-color);
  border-radius: var(--card-border-radius);
  transition: transform var(--transition-duration), 
              box-shadow var(--transition-duration);
}


.featured .service-item h5 {
  font-weight: 550;
  margin: 10px 0 15px 0;
  font-size: 18px;
  transition: 0.3s;
  font-family: var(--default-font);

}

.featured .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  font-family: var(--heading-font);

}

.featured .service-item:hover  {
  border-color:  var(--accent-color);

}

.featured .service-item:hover h5 {
  color: var(--accent-color);
}

.featured .service-item:hover p {
  color: var(--accent-color);
}



/*--------------------------------------------------------------
# Showcase Section
--------------------------------------------------------------*/




/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #eee;
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  padding-top: 50px;  
}



.footer h5 {
  font-size: 16px;
/* --font-weight: bold; */
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
  font-size: 15px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}






/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}


.contact .php-email-form {
  background-color: var(--surface-color);
  height: auto;
  padding: 30px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}


.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}



 /* 面包屑导航样式 - 通用且美观 */
        .breadcrumb {
            padding: 10px 15px;
            margin: 10px 0;
            list-style: none;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .breadcrumb-item {
            display: inline-block;
        }

        /* 分隔符样式 */
        .breadcrumb-item + .breadcrumb-item::before {
            content: ">";
            padding: 0 8px;
            color: #6c757d;
        }

        /* 链接样式 */
        .breadcrumb-item a {
            color: #007bff;
            text-decoration: none;
        }

        .breadcrumb-item a:hover {
            text-decoration: underline;
        }

        /* 当前页样式（无链接） */
        .breadcrumb-item.active {
            color: #6c757d;
            pointer-events: none;
        }