/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #002f6c;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.small-container {
  max-width: 900px;
}

/* ===== Header Styles ===== */
#header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#etw_logo img {
  height: 50px;
  width: auto;
}

.etw_language {
  display: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  padding: 10px 15px;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: #002f6c;
}

.pro_icon {
  font-size: 12px;
  margin-left: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-radius: 5px;
  padding: 20px;
  min-width: 800px;
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu ul {
  padding: 0;
}

.dropdown-menu li {
  margin-bottom: 8px;
}

.dropdown-menu li a {
  color: #666;
  font-size: 13px;
  padding: 5px 10px;
  display: block;
  border-radius: 3px;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #002f6c;
}

.dropdown-item {
  color: #002f6c;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.nav_btn a {
  background: #002f6c;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav_btn a:hover {
  background: #001a3d;
  color: #fff;
}

.navbtn {
  display: none;
}

.navbar-toggler {
  border: none;
  padding: 10px;
  font-size: 24px;
  color: #333;
}

/* ===== Banner Styles ===== */
.etw_banner {
  position: relative;
  overflow: hidden;
}

.etw_banner .swiper {
  width: 100%;
  height: 500px;
}

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

.etw_banner .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,47,108,0.7);
  display: flex;
  align-items: center;
}

.banner_hover2 {
  background: rgba(0,0,0,0.6);
}

.banner_hover content {
  color: #fff;
  max-width: 600px;
}

.banner_hover .h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.banner_more a {
  display: inline-block;
  background: #fff;
  color: #002f6c;
  padding: 12px 35px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.banner_more a:hover {
  background: #002f6c;
  color: #fff;
}

.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  font-size: 20px;
  color: #002f6c;
}

.prev-button:hover,
.next-button:hover {
  background: #002f6c;
  color: #fff;
}

.prev-button {
  left: 20px;
}

.next-button {
  right: 20px;
}

/* ===== Home Main Product ===== */
.bg-gray-light {
  background: #f8f9fa;
}

.home_main_pro {
  padding: 60px 0;
}

.home_main_pro .d-flex {
  gap: 40px;
}

.img-box {
  flex: 1;
  position: relative;
}

.img-box-bg img {
  width: 100%;
  border-radius: 10px;
}

.related_pic ul {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.related_pic li {
  flex: 1;
}

.related_pic img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.related_pic img:hover {
  opacity: 0.8;
}

.text-box {
  flex: 1;
}

.text-box .h3 {
  font-size: 28px;
  font-weight: 700;
  color: #002f6c;
  margin-bottom: 20px;
}

.text-box dl {
  margin-bottom: 20px;
}

.text-box dd {
  margin-bottom: 10px;
}

.text-box dd a {
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-box dd a span {
  color: #002f6c;
  font-weight: 600;
}

.text-box dd a:hover {
  color: #002f6c;
}

.text-box p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.more-icons-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #002f6c;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s;
}

.more-icons-links:hover {
  background: #001a3d;
  color: #fff;
  transform: translateX(5px);
}

/* ===== Featured Products ===== */
.featured-pro {
  padding: 60px 0;
}

.item4 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.item-col-flex {
  flex: 1;
  min-width: 200px;
  max-width: 25%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.item-col-flex:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.item-col-flex .links {
  display: block;
  overflow: hidden;
}

.item-col-flex .links img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
}

.item-col-flex:hover .links img {
  transform: scale(1.1);
}

.item-col-flex .text {
  padding: 15px;
}

.item-col-flex .text a {
  color: #002f6c;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
}

.item-col-flex .des {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

/* ===== Applications Section ===== */
.bg-light-gray {
  background: #f5f5f5;
}

.homeFactory {
  padding: 60px 0;
}

.homeFactory .h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #002f6c;
  margin-bottom: 15px;
}

.homeFactory > .container > p {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.app-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.app-icons li {
  text-align: center;
}

.app-icons .imgbox {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
}

.app-icons .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-icons .h6 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

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

.swiper-applications .swiper-wrapper {
  display: flex;
}

.swiper-applications .swiper-slide {
  flex-shrink: 0;
}

.swiper-applications img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.app_icon_links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.app_icon_links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #002f6c;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s;
}

.app_icon_links a:hover {
  background: #001a3d;
  color: #fff;
}

/* ===== Company Section ===== */
.home-company {
  padding: 60px 0;
  background: #fff;
}

.home-company .container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.company-flex {
  flex: 1;
  position: relative;
}

.swiper-company {
  overflow: hidden;
  border-radius: 10px;
}

.swiper-company .swiper-wrapper {
  display: flex;
}

.swiper-company .swiper-slide {
  flex-shrink: 0;
}

.swiper-company img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.alltxt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.icon_links {
  display: flex;
  gap: 10px;
}

.icon_links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #002f6c;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s;
}

.icon_links a:hover {
  background: #001a3d;
  color: #fff;
}

.alltxt .txt {
  font-size: 14px;
  color: #666;
}

.company-text {
  flex: 1;
}

.company-text .big-txt {
  font-size: 24px;
  color: #002f6c;
}

.company-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cer-icon {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.iconimg {
  width: 80px;
  height: 80px;
}

.iconimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Footer Styles ===== */
#footer {
  background: #1a1a2e;
  color: #fff;
  padding-top: 50px;
}

.footer {
  padding-bottom: 30px;
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
}

.footer .col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.footer_logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer_text {
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
}

.footer .h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  display: block;
}

.footer_list li {
  margin-bottom: 10px;
}

.footer_list a {
  color: #aaa;
  font-size: 14px;
}

.footer_list a:hover {
  color: #fff;
}

.footer_contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
  margin-bottom: 12px;
}

.footer_contact i {
  font-size: 18px;
  color: #fff;
}

.footer_contact a {
  color: #aaa;
}

.footer_contact a:hover {
  color: #fff;
}

.etw_root {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

#etw_coper coperright {
  color: #aaa;
  font-size: 13px;
}

#etw_coper coperright a {
  color: #aaa;
}

/* ===== Animations ===== */
@keyframes fadeInLeftBig {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRightBig {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ani {
  opacity: 0;
}

.ani.animated {
  opacity: 1;
}

.swiper-slide-active .ani {
  animation: fadeInLeftBig 0.5s forwards;
}

.swiper-slide-active .banner_more {
  animation: fadeInUp 0.5s 0.3s forwards;
}

/* ===== Page Banner ===== */
.page-banner {
  background: #002f6c;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
}

.breadcrumb-item {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ===== Product Category ===== */
.product-category {
  padding: 60px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-item a {
  display: block;
}

.category-img {
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-item:hover .category-img img {
  transform: scale(1.1);
}

.category-text {
  padding: 20px;
}

.category-text h3 {
  color: #002f6c;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.category-text p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== About Page ===== */
.about-content {
  padding: 60px 0;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-text h2 {
  color: #002f6c;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text .big-txt {
  color: #002f6c;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-features {
  padding: 60px 0;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: #002f6c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.feature-item h3 {
  color: #002f6c;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Service Page ===== */
.service-features {
  margin-top: 30px;
}

.service-item {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #002f6c;
}

.service-item h3 {
  color: #002f6c;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item h3 i {
  font-size: 24px;
}

.service-item p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ===== Contact Page ===== */
.contact-content {
  padding: 60px 0;
}

.contact-info h2,
.contact-form h2 {
  color: #002f6c;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info > p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: #002f6c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.contact-item a {
  color: #002f6c;
}

.contact-item a:hover {
  color: #001a3d;
}

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

.contact-form .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.contact-form .form-control:focus {
  border-color: #002f6c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,47,108,0.1);
}

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

.contact-form .btn-primary {
  background: #002f6c;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn-primary:hover {
  background: #001a3d;
  color: #fff;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
  .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
  }

  .navbar-nav.show {
    display: flex;
  }

  .navbtn {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 100%;
    display: none;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }

  .nav_btn {
    display: none;
  }

  .etw_banner .swiper {
    height: 300px;
  }

  .banner_hover .h2 {
    font-size: 24px;
  }

  .home_main_pro .d-flex {
    flex-direction: column;
  }

  .item-col-flex {
    max-width: 48%;
  }

  .home-company .container {
    flex-direction: column;
  }

  .footer .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }

  .app-icons {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .etw_banner .swiper {
    height: 250px;
  }

  .banner_hover .h2 {
    font-size: 20px;
  }

  .item-col-flex {
    max-width: 100%;
  }

  .footer .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .prev-button,
  .next-button {
    width: 40px;
    height: 40px;
  }
}