/* Products Page Styles */
.logo img{
    filter: brightness(0) invert(1);
}

.header.scrolled .logo img{
    filter: none;
} 
.search-btn,.nav-link{
    color: white;
}
.nav-link:hover, .nav-link.active{
    color: var(--secondary-color);
}
.header.scrolled .search-btn,
.header.scrolled .nav-link{
    color: var(--text-dark);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active{
    color: var(--primary-color);
}
/* Main Layout */
.products-container {
  display: flex;
  gap: 40px;
  position: relative;
  padding: 30px 3vw;
}

/* Content Area (Right) */
.content-area {
  flex: 1;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Product Card - List View specific modifications */
.products-grid .mini-product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.products-grid .mini-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.products-grid .mini-product-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.products-grid .mini-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.products-grid .mini-product-card:hover .mini-product-img img {
  transform: scale(1.1);
}

.products-grid .mini-product-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.products-grid .mini-product-cat {
  font-size: 0.85rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.products-grid .mini-product-body h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.products-grid .mini-product-body h3 a {
  color: inherit;
  text-decoration: none;
}

.products-grid .mini-product-body p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
    display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.products-grid .btn {
  align-self: flex-start;
  padding: 8px 25px;
  font-size: 0.9rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  border-radius: 30px;
  margin-left: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.products-grid .btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 44, 145, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-container {
    flex-direction: column;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* --- New Sections --- */

/* Advantages Section */
.advantages-section {
  background: #fdfdfd;
  padding: 40px 0 20px;
}

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

.adv-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.13);
  transition: var(--transition);
}

.adv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(106, 44, 145, 0.15);
}

.adv-icon {
  width: 70px;
  height: 70px;
  background: rgba(106, 44, 145, 0.05);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.adv-card:hover .adv-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(360deg);
}

.adv-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.adv-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Solutions Section */
.solutions-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.solution-item {
  display: flex;
  background: var(--white);
  border-radius: 20px;
  /*height: 300px;*/
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.solution-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.solution-img {
  flex: 0 0 45%;
  overflow: hidden;
}

.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.solution-info {
  flex: 1;
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  word-wrap: break-word;
  color: var(--text-dark);
}
.solution-info h3 a {
  color: inherit;
  text-decoration: none;
}

.solution-info p {
  color: var(--text-gray);
  margin-bottom: 25px;
}

/* Service Section */
.service-section {
  padding: 80px 0;
  background: #fff;
}

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

.service-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  background: #fdfbff;
  border: 1px solid rgba(106, 44, 145, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(106, 44, 145, 0.08);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 32px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.service-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.95rem;
  color: var(--text-gray);
}
.solution-item .img-link {
  flex: 0 0 45%;
}
@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-item {
    height: auto;
  }
  .solution-img {
    flex: auto;
  }
  .solution-info {
    padding: 20px;
  }
  .service-card {
    min-height: auto;
  }
}
.page-banner h1{
    font-size: 2.5rem;
}
.page-banner p{
    margin-bottom: 15px;
}
@media (max-width: 600px) {
    .page-banner h1{
    font-size: 1.5rem;
}
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .solution-item {
    flex-direction: column;
  }
  .solution-img {
    height: 200px;
  }
}
.adv-card i {
  margin-bottom: 0;
  font-size: 2rem;
}
.adv-card:hover h3,
.adv-card:hover p {
  color: white;
}
.faq-section {
  background: var(--bg-light);
}

