


/* 保证标题更清晰层次 */
h1{
  font-family: 'Poppins', sans-serif;
  font-size:65px;
  line-height: 70;
  font-weight: 600;
}

/* ===============================
   Wdev – custom styles and micro animations
   Safe to use with Tailwind
   =============================== */
html, body { overflow-x: hidden; }
.hero-bg { overflow: hidden; }  /* 只对 hero 区做裁切更稳妥 */
/* 定义从左边淡入的动画 */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 通用 class，添加到要动画的元素上 */
.fade-in-left {
  opacity: 0; /* 初始隐藏 */
  animation: fadeInLeft 1s ease forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   Floating Header Style
   =============================== */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: none;
  box-shadow: none;
  transition: all 0.35s ease;
}

/* 当滚动时（JS 会加 .is-floating） */
header.is-floating {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.bg-white.py-4.px-6.md\:px-12.shadow-sm.sticky.top-0.z-50 {
  position: fixed;
  width: 100%;
}
.md\:px-12{
  padding-top: 1rem;
}

.text-gray-600.mb-8 {
  width: 90%;
}
.font-bold {
  font-weight: 700;
}
.text-xl {
  font-size: 25px;
  line-height: 1.75rem;
}

.accordion-header.w-full.text-left.p-6.flex.items-center.gap-4 {
  padding-bottom: 10px;
}
.accordion-content.px-6.pb-6.pl-16 {
  padding-left: 80px;
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: black;
}

/* 团队卡片 Overlay 渐层效果 */
.team-overlay {
  background: linear-gradient(
    to top,
    rgba(37, 99, 235, 0.9) 0%,    /* 深蓝底部 */
    rgba(37, 99, 235, 0.6) 30%,   /* 中段渐层 */
    rgba(255, 255, 255, 0) 70%    /* 顶部透明 */
  );
  opacity: 1;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-card img {
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}


/* ====== NAVIGATION FONT FIX (Poppins + 20px + spacing) ====== */
nav a {
  font-size: 20px;
  color:black;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-12 {
  margin-bottom: 0;
}
.py-20.bg-light-gray-blue {
  padding-bottom: 0;
}

.md\:px-12 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.text-blue-600.font-semibold.mb-2 {
  font-family: 'Open Sans', sans-serif;
}



.font-semibold.text-blue-600.uppercase {
  font-weight: 500;
}

.font-semibold-small{
  font-size: 20px;
}
  .md\:px-12 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .text-3xl.font-bold.mb-6 {
  line-height: 1.2;
}

.text-xl.italic.text-gray-300.border-l-4.border-blue-500.pl-6.mb-6 {
  font-size: 18px;
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: white;
}

.text-blue-600-team{
  font-size: 20px;
  font-weight: 500;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.font-semibold.text-blue-600.uppercase{
    font-size: 20px;
  font-weight: 500;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

span {
  font-size: 20px;
}

.pt-20.pb-0.bg-light-gray-contact {
  padding-top: 0;
}

.font-semibold.text-blue-600 {
  font-weight: 500;
}

.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
  font-size: 20px;
}

.contact-info .contact-link {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info .contact-link:hover {
  color: #2563eb; /* 蓝色 hover */
  transform: translateX(4px);
}

.location {
  font-size: 18px;
}

.contact-info li span,
.contact-info li a {
  font-size: 18px;
line-height: 1.6;
}
.contact-link {
  padding-top: 5px;
}
.h-8 {
  height: 40px;
  width: 40px;
}

.text-lg {
  font-size: 25px !important;
  line-height: 1.75rem;
  padding-bottom: 10px;
}

.contact-info.text-gray-800 {
  padding-left: 80px;
}

.text-sm {
  font-size: 18px !important;
  width: 80%;
  text-align: center;
  margin: 0 auto; /* ✅ 让 80% 宽度在中间居中 */
}

h2{
  font-size: 40px !important;
}


.text-4xl.md\:text-5xl.font-semibold.text-gray-900.mb-6 {
  font-size: 40px;
  font-weight: 700;
}

nav a:hover {
  color: #2563eb;
  transform: translateY(-1px);
}

/* 修正导航与按钮整体垂直居中 */
header .container {
  align-items: center;
}

section.bg-light-gray-text {
  padding-bottom: 20px !important;
  padding-top: 0 !important;
}

.rounded-lg.shadow-2xl {
  width: 80%;
}


.container.mx-auto.grid.md\:grid-cols-2.gap-8.items-center.py-20.px-6.md\:px-12 {
  height: 700px;
}
.text-4xl.md\:text-6xl.font-extrabold.leading-tight.mb-4.fade-in-left.show {
  padding-top: 80px;
}

.rounded-lg.shadow-2xl {
  border-radius: 20px;
}

.rounded-lg.shadow-2xl {
  margin-top: 100px;
  margin-left: 100px;
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: white;
}

.perspective {
  perspective: 1000px;
}
.team-inner {
  transform-style: preserve-3d;
}
.backface-hidden {
  backface-visibility: hidden;
}
.rotate-y-180 {
  transform: rotateY(180deg);
}

/* ✨ Fade-in animation for the back content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeIn {
  animation: fadeIn 0.8s ease-in-out;
}


.no-top-padding {
  padding-top: 0 !important;
}

@media (max-width: 767px) {
  .about-section .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .rounded-lg.shadow-2xl {
    width: 100%;
    bottom: 16%;
    position: relative;
  }
}
@media (max-width: 767px) {
  .no-mobile-gap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}


/* 导航栏按钮间距微调，视觉更平衡 */


/* 在小屏幕时缩小字体以避免换行 */
@media (max-width: 768px) {
  nav a {
    font-size: 18px;
    padding: 6px 0;
  }
  .padding-bottom{
    padding-bottom: 40px;
  }
}

.stat-item {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
/* 外观和状态颜色 */
#accordion .accordion-item { background:#fff; }
#accordion .accordion-item .num { color:#2563eb; min-width:2.5rem; text-align:left; }
#accordion .accordion-item.open { background:#2563eb; color:#fff; box-shadow:0 10px 24px rgba(37,99,235,.25); }
#accordion .accordion-item.open .num { color:#fff; }

/* 内容收起展开动画 只会有一个打开所以用 max-height 过渡最稳 */
#accordion .accordion-content {
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .35s ease, opacity .25s ease;
}
#accordion .accordion-item.open .accordion-content {
  max-height:320px;   /* 足够容纳内容 可按需调大 */
  opacity:1;
}

/* 可点击态 */
#accordion .accordion-header { cursor:pointer; width:100%; }
/* 内容区域初始状态 */
#accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.simple-footer {
  background-color: #23364d;
  color: #fff;
  position: relative;
  padding: 35px 0;
  text-align: center; /* ✅ copyright 保持在中间 */
}

.simple-footer .footer-logo {
  position: absolute; /* ✅ logo 固定在左侧 */
  left: 60px;         /* 调整与左边的距离 */
  top: 50%;
  transform: translateY(-50%); /* 垂直居中 */
    height: 60px;            /* ✅ 放大 logo */
  width: auto;             /* 维持比例 */
}


/* 打开时 */
#accordion .accordion-item.open .accordion-content {
  max-height: 500px;   /* 足够容纳内容的值，可以调大 */
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  opacity: 0; /* 初始隐藏 */
  transform: translateX(-50px);
}

.fade-in-left.show {
  animation: fadeInLeft 1s ease forwards;
}
.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}

/* 展开状态：柔和下滑 */
.accordion-item.open .accordion-content {
  max-height: 500px;   /* 根据内容高度调整，设大一点保证能容纳内容 */
  opacity: 1;
  transform: translateY(0);
}
.accordion-item {
  overflow: hidden;
  transition: all 0.4s ease;
  border-radius: 0.5rem; /* 保持圆角 */
}

/* 默认关闭状态 */
.accordion-item:not(.open) {
  max-height: 89px; /* 只显示 header 的高度，可调 */
}

/* 打开状态 */
.accordion-item.open {
  max-height: 300px; /* 足够显示内容的高度，可调 */
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* Design tokens */
:root{
  --brand-blue:#3b82f6;
  --dark-1:#0b1e32;
  --dark-2:#102a43;
  --ink-1:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --ring:#93c5fd;
}
.hero-bg {
  background-color: #102a43;
  background-image: linear-gradient(160deg, #102a43 0%, #243b55 100%);
}
/* Smooth base transitions */
a, button, .btn, .card, .group img, .faq-question i{
  transition: all .25s ease;
}
.section-title {
  font-size: 50px;       /* 默认 Desktop 大标题 */
  font-weight: 700;
  line-height: 1.2;
}

/* Laptop 尺寸 (约1024px以下) */
@media (max-width: 1024px) {
  .section-title {
    font-size: 40px;
  }
}

/* 平板尺寸 (约768px以下) */
@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

/* 手机尺寸 (约480px以下) */
@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }
}

/* 导航 hover 蓝色效果 */
header nav a {
  color: #374151; /* 默认灰色 text-gray-600 */
  transition: color 0.3s ease, border-color 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

/* 鼠标滑过时变蓝色并出现底线 */
header nav a:hover {
  color: #2563eb !important; /* 蓝色 (Tailwind text-blue-600) */
}

.copyright{
  font-size: 16px;
}

.accent-blue{
    color: #3b82f6;
    font-size: 40px;
}
/* 通用 hover 上浮 */
.hover-lift {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* 卡片式统计样式 */
section.bg-light-gray .border {
  background: #fff;
  border-width: 1.5px;
  transition: all 0.3s ease;
}
section.bg-light-gray .border:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
section.bg-light-gray p.text-5xl {
  font-size: 50px;
}


.text-gray-600 {
  --tw-text-opacity: 1;
  color: black !important;
}
/* 统计卡 hover 效果 */
section .border {
  border-width: 1.5px;
  transition: all 0.3s ease;
  background: #fff;
}
section .border:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Hero decorative glow */
.hero-bg{
  position: relative;
  isolation: isolate;
}
.hero-bg::before{
  content:"";
  position: absolute;
  inset:-10% -20% auto -20%;
  height: 140%;
  background:
    radial-gradient(40rem 20rem at 80% 20%, rgba(59,130,246,.25), transparent 60%),
    radial-gradient(30rem 18rem at 10% 60%, rgba(14,165,233,.18), transparent 65%);
  filter: blur(12px);
  animation: heroFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero-bg > *{ position: relative; z-index: 1; }

@keyframes heroFloat{
  0%   { transform: translateY(0) scale(1); opacity:.9; }
  100% { transform: translateY(-12px) scale(1.03); opacity:1; }
}

/* Header – subtle shadow when sticky area is present */
header.sticky{
  backdrop-filter: saturate(140%) blur(4px);
}

/* Buttons hover lift */

a.bg-blue-600:hover,
button.bg-blue-600:hover{
  transform: translateY(-2px);
}

/* Stats icons gentle bobbing */
section.bg-light-gray .p-6 i{
  display: inline-block;
}
section.bg-light-gray .p-6 i {
  display: inline-block;
}

/* Hover 时才触发一次动画 */
section.bg-light-gray .p-6 i:hover {
  animation: bob 1s ease-in-out 1;
}
.bg-dark-blue {
  background-color: #102a43;
}
/* 定义动画 */
@keyframes bob {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Cards hover */
.group:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(2,6,23,.10);
}
.group:hover img{
  transform: scale(1.05);
}

.footer-link {
  color: orange;           /* 默认橘色 */
  text-decoration: none;   /* 去掉下划线 */
  transition: color 0.3s ease; /* 平滑过渡 */
}

.footer-link:hover {
  color: #fff;             /* hover 时变白色 */
}


/* Pricing section */
[aria-label="POPULAR"], .absolute.bg-blue-600{
  animation: pulseBand 2.2s ease-in-out infinite;
}
@keyframes pulseBand{
  0%  { transform: translate(-50%, -50%) scale(1); opacity:1; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity:.9; }
  100%{ transform: translate(-50%, -50%) scale(1); opacity:1; }
}

/* Pricing cards hover */
section .border.rounded-lg:hover,
section .border-2.rounded-lg:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(2,6,23,.12);
}

/* Testimonial quote badge bob */
.bg-dark-blue .absolute.bg-blue-600{
  animation: badgeBob 3.5s ease-in-out infinite;
}
@keyframes badgeBob{
  0%,100%{ transform: translate(0,0); }
  50%    { transform: translate(0,-8px); }
}

/* FAQ accordion – icon rotation and answer reveal feel */
.faq-question i{
  transition: transform .3s ease;
}
.faq-question:hover{ color: var(--brand-blue); }

/* For nicer reveal when JS toggles .hidden:
   we fade in the block on first paint */
.faq-answer{
  animation: answerAppear .28s ease both;
}
@keyframes answerAppear{
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form – nice focus rings */
input[type="text"],
input[type="email"],
textarea{
  outline: none;
  box-shadow: 0 0 0 0 rgba(147,197,253,0);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus{
  box-shadow: 0 0 0 3px var(--ring);
}
.h-8 {
  height: 2.5rem;
  width: auto !important;
}
/* Footer socials */
footer a:hover{
  transform: translateY(-2px);
}

.bg-white.py-4.px-6.md\:px-12.shadow-sm.sticky.top-0.z-50 {
  padding: 10px;
}

/* Utilities you can sprinkle in HTML if needed */
.reveal-up{ opacity:0; transform: translateY(12px); transition: all .5s ease; }
.reveal-up.is-inview{ opacity:1; transform: translateY(0); }

.logo.w-auto {
  height: 50%;
  width: 12%;
}

#contact {
  margin-bottom: 40px;
}

/* 仅限 contact section 的布局调整 */
#contact .container {
  display: grid;
}

/* 小屏幕时（默认）让联系信息在上，表单在下 */
#contact .container > div:first-child {
  order: 2;
}
#contact .container > div:last-child {
  order: 1;
}

/* 桌面端（md: 768px 以上）恢复原本顺序 */
@media (min-width: 768px) {
  #contact .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #contact .container > div:first-child {
    order: 1;
  }
  #contact .container > div:last-child {
    order: 2;
  }
}


/* Motion safety */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* ===============================
   📱 Mobile (max-width: 767px)
================================*/
@media (max-width: 767px) {

  .bg-white.py-4.px-6.md\:px-12.shadow-sm.sticky.top-0.z-50 {
    padding: 10px 20px;
  }
  .logo.w-auto {
    height: 50%;
    width: 15%;
  }
  /* 1️⃣ 图片去掉外距 */
  .rounded-lg.shadow-2xl {
    margin: 0 !important;
  }

  /* 2️⃣ Hero Section 高度固定 */
  .container.mx-auto.grid.md\:grid-cols-2.gap-8.items-center.py-20.px-6.md\:px-12 {
    height: 765px !important;
  }

  /* 3️⃣ 减少 section padding */
  .py-20 {
    padding-top: 20px !important;
    padding-bottom: 0;
  }
  span {
    font-size: 18px;
    padding-right: 10px;
  }
  /* 4️⃣ Contact Info 贴左边 */
  .contact-info.text-gray-800 {
    padding-left: 0 !important;
  }

  .text-gray-600.mb-8 {
  margin-bottom: 10px;
}

  /* 5️⃣ Footer 版面：logo 在上，文字在下 */
  .simple-footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .simple-footer .footer-logo {
    position: static;
    transform: none;
    height: 70px;        /* logo 稍大一点 */
    margin-bottom: 10px;
  }

  .simple-footer p {
    font-size: 14px;
    line-height: 1.4;
  }
}


/* 页面淡入 */
body {
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Section 上浮淡入 */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.is-inview {
  opacity: 1;
  transform: translateY(0);
}
/* Hero 背景动态光影 */
.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 60%);
  animation: heroLight 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroLight {
  0% { transform: translateX(-20px) translateY(-10px); }
  100% { transform: translateX(20px) translateY(10px); }
}
.team-card img,
.hero-bg img {
  transition: transform 0.4s ease;
}

/* 初始高度（高一点，看起来大气） */
header {
  height: 110px;
  display: flex;
  align-items: center;
  transition: height 0.35s cubic-bezier(.4,0,.2,1),
              background 0.35s ease,
              box-shadow 0.35s ease;
}

/* 滚动后：明显收紧，更专业 */
header.header-tight {
  height: 70px;   /* ←←← 这个会很明显！ */
  background: rgba(255,255,255,0.92);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

header .logo.w-auto {
  height: 80px;    /* 固定高度，让动画最稳最美 */
  width: auto;     /* 自动维持比例 */
  transition: height 0.3s ease;
}

/* Header 缩小时 Logo 跟着柔和变小一点 */
header.header-tight .logo.w-auto {
  height: 55px;
}
