/* Products Services Wrapper */
.products-services-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.products-box,
.services-box {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.products-box:hover,
.services-box:hover {
  transform: translateY(-5px);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 150px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

[data-theme="dark"] .product-image {
  background: #2563eb;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.product-image i {
  transition: transform 0.3s ease;
}

.products-box:hover .product-image i,
.services-box:hover .product-image i {
  transform: scale(1.1);
}

.section-heading {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.products-list {
  list-style-type: none;
  padding: 0;
  line-height: 1.8;
}

.products-list li {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: var(--background-color);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.products-list li:hover {
  background: var(--card-bg-hover);
  transform: translateX(5px);
}

.products-list li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Product Features */
.product-features {
  margin: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--border-color);
}

.feature-item .feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-item .feature-icon .custom-icon {
  width: 3rem;
  height: 3rem;
  color: var(--logo-color);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon .custom-icon {
  transform: scale(1.1);
}

.feature-item h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.products-box.fade-in {
  animation-delay: 0.3s;
}

.services-box.fade-in {
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .products-services-wrapper {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

html {
  scroll-behavior: smooth;
}
