.hero .carousel-item { height: 800px; background-size: cover; background-position: center; }
.hero .carousel-item:nth-child(1) { background-image: url(../../uploads/banner1.jpg); }
.hero .carousel-item:nth-child(2) { background-image: url(../../uploads/banner2.jpg); }
.hero .carousel-item:nth-child(3) { background-image: url(../../uploads/banner3.jpg); }
@media (max-width: 768px) { .hero .carousel-item { height: 320px; } }
@media (max-width: 576px) { .hero .carousel-item { height: 240px; } }

.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem; }
.section-title h2 { font-size: 1.6rem; margin: 0; }
.section-title a { color: var(--primary-color); font-weight: 500; }
.section-title a:hover { color: var(--accent); }

.products-area { padding: 4rem 0; }
.products-area .row { row-gap: 1.5rem; }
.products-area .col-card { margin-bottom: 1rem; }
.products-area .col-card a { display: block; background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: box-shadow 0.25s; }
.products-area .col-card a:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.products-area .pic { height: 220px; overflow: hidden; }
.products-area .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.products-area .col-card a:hover .pic img { transform: scale(1.05); }
.products-area .text { padding: 1rem; text-align: center; }
.products-area .text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.9rem; /* Fixed height for 2 lines */
}
.products-area .text span { font-size: 0.9rem; color: var(--primary-color); }

.company-section { padding: 4rem 0; background: #f8f9fa; }
.company-section .row { align-items: center; }
.company-section .left img { border-radius: 8px; width: 100%; height: auto; }
.company-section .right h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.company-section .right p { margin-bottom: 1rem; color: #444; line-height: 1.7; }
.advantage { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.advantage-text { text-align: center; }
@media (max-width: 576px) {
  .advantage { gap: 1rem; justify-content: space-between; }
  .advantage-text { flex: 0 0 calc(50% - 0.5rem); margin-bottom: 1rem; }
  .advantage-text .big { font-size: 1.5rem; }
  .advantage-text .small { font-size: 0.75rem; }
}
.advantage-text .big { font-size: 1.75rem; font-weight: 700; color: var(--primary-color); }
.advantage-text .small { font-size: 0.8rem; color: #666; text-transform: uppercase; margin-top: 0.25rem; }

.factory-section { padding: 0; }
.factory-section .pic-1 { margin-bottom: 1rem; border-radius: 8px; overflow: hidden; }
.factory-section .pic-1 img { width: 100%; height: 200px; object-fit: cover; }

@media (max-width: 767px) {
  .company-section .left img {
    height: 200px;
    object-fit: cover;
  }
  .factory-section .pic-1 img {
    height: 140px;
  }
}

.certificate-section { padding: 4rem 0; }
.certificate-section .section-title { margin-bottom: 1.5rem; }
.certificate-section .row { row-gap: 1rem; }
.certificate-section .pic-1 { border: none; overflow: hidden; }
.certificate-section .pic-1 img { width: 100%; object-fit: contain; display: block; margin: 0 auto; }
#certificateCarousel { position: relative; }
@media (max-width: 767px) {
  #certificateCarousel { overflow: hidden; }
  #certificateCarousel .carousel-control-prev,
  #certificateCarousel .carousel-control-next { display: none !important; }
  #certificateCarousel .carousel-item:not(.active) { display: none !important; }
}
#certificateCarousel .carousel-control-prev,
#certificateCarousel .carousel-control-next { width: 5%; opacity: 0.8; position: absolute; top: 0; bottom: 0; }
#certificateCarousel .carousel-control-prev { left: -6%; }
#certificateCarousel .carousel-control-next { right: -6%; }
#certificateCarousel .carousel-control-prev:hover,
#certificateCarousel .carousel-control-next:hover { opacity: 1; }

.news-section { padding: 4rem 0; }
.news-section .news-card { display: block; background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; transition: box-shadow 0.25s; }
.news-section .news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.news-section .news-card .pic { height: 180px; overflow: hidden; }
.news-section .news-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-section .news-card .text { padding: 1rem; }
.news-section .news-card em { font-size: 0.85rem; color: #888; }
.news-section .news-card .text-Features { margin: 0.5rem 0; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-section .news-card span { color: var(--primary-color); font-size: 0.9rem; }

