/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Header Styles */
.header {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 28px;
  color: #1e90ff;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 0;
  display: inline-block;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #1e90ff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1e90ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 15px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  border-radius: 8px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  margin: 0;
}

.dropdown-item a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dropdown-item a:hover {
  background-color: #f0f8ff;
  color: #1e90ff;
  padding-left: 25px;
}

/* Mobile Dropdown Show Class */
.dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Hero Section Styles */
.hero {
  color: #fff;
  text-align: center;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* About Section Styles */
.about {
  padding: 80px 0;
  background-color: #fff;
}

.about-content h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #0066cc;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #0052a3;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* Products Section Styles */
.products {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.products h3 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 60px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 20px;
}

.products h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1e90ff;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.product-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
  border: none;
  position: relative;
  height: 810px;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e90ff, #4169e1);
}

.product-image {
  height: 400px;
  /* background-color: #f0f8ff; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.placeholder-image {
  width: 200px;
  height: 200px;
  background-color: transparent;
  border-radius: 8px;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: transparent;
}

.product-item:hover .placeholder-image {
  transform: scale(1.1);
  background-color: transparent;
}

.product-info {
  padding: 40px;
  /* height: 1220px; */
  /* height: calc(100% - 410px); */
  height: 300px;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  /* overflow: hidden; */
}

.product-info:hover {
  overflow-y: auto;
}

.product-info h4 {
  font-size: 20px;
  color: #1a1a2e;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #1e90ff;
  padding-bottom: 8px;
}

.product-info p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a6a;
  margin-bottom: 20px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.btn:hover {
  background: transparent;
  color: #1e90ff;
  border-color: #1e90ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-sm:hover {
  transform: translateY(-1px);
}

/* About Section Enhancement */
.about {
  padding: 90px 0;
  background-color: #fff;
}

.about-content h3 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  font-size: 16px;
  line-height: 2;
  color: #5a6c7d;
  max-width: 1000px;
  margin: 0 auto 35px;
  text-align: center;
  padding: 0 20px;
}

/* Hero Section with Carousel */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 82, 163, 0.9) 100%);
}

.carousel-slide .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
  max-width: none;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content p {
  font-size: 20px;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 144, 255, 0.7);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(30, 144, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover,
.indicator.active {
  background: #1e90ff;
  transform: scale(1.2);
  border-color: #fff;
}

/* Contact Section Styles */
.contacts-section {
  padding: 80px 0;
  background-color: #fff;
}

.contacts-section h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Info Styles */
.contact-info {
  background-color: #f8f9fa;
  padding: 40px;
  border: 1px solid #e8e8e8;
}

.contact-info h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
}

.address-group {
  margin-bottom: 30px;
}

.address-group p {
  margin-bottom: 10px;
  color: #5a6c7d;
  line-height: 1.6;
}

.address-group strong {
  color: #2c3e50;
  font-weight: 700;
}

.contact-details p {
  margin-bottom: 15px;
  color: #5a6c7d;
  line-height: 1.6;
}

.contact-details strong {
  color: #2c3e50;
  font-weight: 700;
}

.wechat-section {
  margin-top: 40px;
}

.wechat-section h4 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.wechat-qr {
  display: flex;
  justify-content: center;
}

.wechat-qr img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.whatsapp-section {
  margin-top: 40px;
}

.whatsapp-section h4 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.whatsapp-qr {
  display: flex;
  justify-content: center;
}

.whatsapp-qr img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.placeholder-qr {
  width: 150px;
  height: 150px;
  background-color: #dee2e6;
  border: 1px solid #ced4da;
}

/* Contact Form Styles */
.contact-form-section {
  background-color: #f8f9fa;
  padding: 40px;
  border: 1px solid #e8e8e8;
}

.contact-form-section h3 {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 30px;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  color: #495057;
  background-color: #fff;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* Form Validation Styles */
.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-group input:focus.error,
.form-group textarea:focus.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* Success State (optional) */
.form-group input.success,
.form-group textarea.success {
  border-color: #28a745;
}

.form-group input:focus.success,
.form-group textarea:focus.success {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

/* Container Enhancement */
.container {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-info h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-info p,
.footer-contact p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 14px;
}

/* Footer Social Icons Styles */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1e90ff;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #4169e1;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    margin: 0 15px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .about,
  .products {
    padding: 60px 0;
  }

  .about-content h3,
  .products h3 {
    font-size: 24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Contact Section Responsive */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info,
  .contact-form-section {
    padding: 30px 20px;
  }

  .contacts-section {
    padding: 60px 0;
  }

  .contacts-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* About Banner Styles */
.about-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(0, 68, 153, 0.8) 0%, rgba(30, 144, 255, 0.6) 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-title {
  font-size: 56px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* About Section Adjustments */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  text-align: justify;
}

.about-text strong {
  color: #333;
  font-weight: 600;
}

.about-products-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  margin: 15px 0 25px;
  padding-left: 0;
  list-style: none;
}

.about-products-list li {
  font-size: 15px;
  color: #666;
  position: relative;
  padding-left: 18px;
}

.about-products-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-size: 10px;
  top: 6px;
}

/* Stats Section Styles */
.stats-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #1e90ff;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #1e90ff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-grid {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .about-products-list {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    flex-direction: column;
    gap: 30px;
  }
}

/* Application Feature Section Styles */
.application-section {
  padding: 60px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.feature-reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-width: 0;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.feature-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.feature-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background-color: #1e90ff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.feature-button:hover {
  background-color: #0068c9;
}

@media (max-width: 992px) {
  .feature-item {
    flex-direction: column;
    gap: 40px;
  }

  .feature-reverse {
    flex-direction: column;
  }

  .feature-text h3 {
    font-size: 24px;
  }
}

/* FAQ Section Styles */
.services-section {
  padding: 60px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #1e90ff;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.faq-question h3 {
  font-size: 21px;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.faq-answer {
  padding-left: 39px;
}

.faq-answer p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
