:root { --primary-color: #007bff; --accent: #ffa800; --dark: #001e42; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.navbar-top {
  background: #fff;
  min-height: 80px;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.navbar-top .left { display: flex; align-items: center; gap: 1rem; flex-shrink: 1; min-width: 0; }
.navbar-top .navbar-brand img { width: auto; max-width: 80px; object-fit: contain; }
.header-search { max-width: 420px; }
.header-search form { display: flex; width: 100%; }
.search-input {
  width: 100%;
  border: 1px solid #ddd;
  border-right: 0;
  border-radius: 20px 0 0 20px;
  padding: 8px 14px;
  font-size: 15px;
}
.search-button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0 20px 20px 0;
  padding: 8px 14px;
  cursor: pointer;
  color: #fff;
}
.navbar-top .right { display: flex; flex-grow: 1; justify-content: flex-end; align-items: center; gap: 1rem; }
.navbar-top .phones { display: flex; flex-direction: column; gap: 0.25rem; font-size: 18px; color: #333; font-weight: 400; }
.navbar-top .phones span { display: flex; align-items: center;}
.navbar-top .phones .iconfont { color: #333; }
.navbar-top .email { font-size: 18px; color: #333; font-weight: 300 !important; }
.navbar-top .links ul { display: flex; gap: 0.5rem; margin-bottom: 0; }
.navbar-top .links li {
  width: 40px; height: 40px;
  border: 1px solid #003366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.navbar-top .links li .iconfont {
    font-size: 22px;    /* 添加这行，放大图标，原图标大概 16-18px */
}

.navbar-top .links li:hover { background: var(--accent); border-color: var(--accent); }
.navbar-top .links li a { color: #003366; display: flex; align-items: center; justify-content: center; }
.navbar-top .links li:hover a { color: #fff; }
.navbar-second { background: #003366; padding: 0.5rem 0; position: relative; }
.navbar-second .navbar-toggler { border-color: rgba(255,255,255,0.2); border-width: 2px; }
.navbar-second .navbar-toggler-icon { filter: invert(1) brightness(100); }
.navbar-second .container { display: flex; justify-content: space-between; align-items: center; padding-left: 0 !important; }
.navbar-second .nav-link { font-size: 1.05rem; color: #ffffff !important; padding: 0.5rem 0.75rem !important; }
.navbar-second .nav-link:hover { color: var(--accent) !important; }
.navbar-second .dropdown-item:hover { background: #f8f9fa; }

@media (max-width: 991px) {
  .header-search { 
    display: none; 
    width: 100%; 
    padding: 10px 15px; 
    background: #003366;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  .header-search.active { display: block; }
  .header-search .search-input { height: 40px; }
  .navbar-top .phones { display: none; }
  .navbar-top .email { display: block; font-size: 13px; }
  .navbar-top .links { display: none; }
}

.newsletter-footer-area {
  /* padding-bottom: 3rem; */
  margin-bottom: 3rem;
}
.newsletter-footer-area h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.newsletter-footer-area p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin: 0;
  color: #fff;
}
.footer-divider {
  margin-top: 3rem;
  border-color: rgba(255,255,255,0.1);
  opacity: 1;
}
.newsletter-footer-form .input-group {
  max-width: 500px;
  margin-left: auto;
}
@media (max-width: 991px) {
  .newsletter-footer-form .input-group { margin-left: 0; }
  .newsletter-footer-area { margin-bottom: 2rem; }
}
.newsletter-footer-form .form-control {
  padding: 12px 20px;
  border-radius: 30px 0 0 30px;
  border: none;
}
.newsletter-footer-form .btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: 0 30px 30px 0;
  font-weight: 600;
  border: none;
}
.newsletter-footer-form .btn-accent:hover {
  background: #e69700;
}

.footer {
  margin-top: 3rem;
  min-height: 320px;
  background: #003366;
  color: #fff;
  padding: 3rem 0 2rem;
}
.footer .row { row-gap: 2rem; }
.footer .foot-logo-first img { max-width: 220px; height: auto; margin-bottom: 1rem; }
.footer .foot-logo-first .small-p { font-size: 0.8rem; opacity: 0.9; margin-bottom: 1rem; }
.footer .foot-logo-first .big-p { font-size: 0.95rem; margin-top: 1rem; }
.footer .foots-links ul { display: flex; gap: 0.5rem; padding: 0; margin: 1rem 0 0; }
.footer .foots-links li {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.footer .foots-links li:hover { background: var(--accent); }
.footer .foots-links li a { color: #fff; }
.newsletter-form { display: flex; margin: 0.5rem 0; max-width: 280px; }
.newsletter-form .bdk { flex: 1; padding: 8px 12px; border-radius: 6px 0 0 6px; font-size: 14px; }
.newsletter-form input[type="submit"] {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 500;
}


.foot-links-second dl, .foot-links-thirdly dl { padding: 0; }
.foot-links-second dt, .foot-links-thirdly dt { font-size: 1.1rem; margin-bottom: 0.75rem; }
.foot-links-second dd, .foot-links-thirdly dd { margin: 0.4rem 0; }
.foot-links-second dd a, .foot-links-thirdly dd a { color: rgba(255,255,255,0.85); }
.foot-links-second dd a:hover, .foot-links-thirdly dd a:hover { color: var(--accent); }




.WhatsApp-fourthly .foot-contact dd { margin: 0.5rem 0; display: flex; align-items: flex-start; gap: 0.5rem; }
.WhatsApp-fourthly .foot-contact .iconfont { margin-right: 0.25rem; }

.Copyright { background: #003366; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.1);}
.Copyright p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.7); text-align: center; word-break: break-word; overflow-wrap: break-word; }

@media (max-width: 767px) {
  .footer { text-align: center; }

  .footer .row > div { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; }
  .newsletter-form { max-width: 100%; justify-content: center; }
  .newsletter-footer-form .input-group { margin-left: auto; margin-right: auto; }
  .WhatsApp-fourthly .foot-contact dl { width: 100%; }
  .WhatsApp-fourthly .foot-contact dd { justify-content: center; }
  .footer .foots-links ul { justify-content: center; width: 100%; }
  .footer dl dt { text-align: center; }
}

.footer a[href^="tel"] {
  color: inherit !important;
  text-decoration: none;
}

/* Breadcrumb */
.breadcrumb-wrap {
  background-color: #f8f9fa;
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}
.breadcrumb-wrap .breadcrumb { margin-bottom: 0; font-size: 0.95rem; }
.breadcrumb-wrap .breadcrumb-item a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.breadcrumb-wrap .breadcrumb-item a:hover { text-decoration: underline; color: var(--accent); }
.breadcrumb-wrap .breadcrumb-item.active { color: #6c757d; }
.breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before { color: #ccc; }


/* WhatsApp 按钮 - 右下角 + 上下弹跳 */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    /* 上下弹跳动画 */
    animation: bounce 0.8s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    animation: none;
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
    display: block;
    filter: brightness(0) invert(1);
}

/* 上下弹跳动画 */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  transform: translateY(20px);
}
.back-to-top.show {
  opacity: 0.8;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { opacity: 1; color: #fff; }
