/* Trusted Section */
.trusted-section {
  padding: 40px 0;
  background-color: white;
}

.section-subtitle {
  color: var(--gray);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.trusted-logo {
  padding: 0 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.trusted-logo:hover {
  opacity: 1;
}

.trusted-logo img {
  max-height: 40px;
  width: auto;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-description {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Categories Section */
.categories-section {
  padding: 80px 0;
  background-color: var(--light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(5, 6, 76, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.category-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card span {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(5, 6, 76, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 24px;
}

.service-icon.blue {
  background-color: rgba(33, 150, 243, 0.1);
  color: var(--secondary);
}

.service-icon.yellow {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--accent);
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 24px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Featured Products Section */
.featured-section {
  padding: 80px 0;
  background-color: var(--light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-actions {
  display: none; /* Remove the hover effect */
}

.product-card:hover .product-actions {
  display: none; /* Remove the hover effect */
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-action-btn:hover {
  transform: translateY(-5px);
}

.product-action-btn.primary {
  background-color: var(--primary);
  color: white;
}

.product-info {
  padding: 24px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.product-category {
  background-color: rgba(33, 150, 243, 0.1);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.product-rating {
  color: var(--accent);
  font-size: 12px;
}

.product-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 18px;
}

.product-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.product-description {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* How It Works Section */
.how-section {
  padding: 80px 0;
  background-color: white;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  text-align: center;
  padding: 30px;
  border-radius: 16px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step-card h4 {
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card p {
  color: var(--gray);
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background-color: var(--light);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.search-box,
.category-filter {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input,
.category-filter select {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: none;
  border-radius: 50px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: var(--dark);
}

.search-box i,
.category-filter i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.main-products {
  margin-top: 30px;
}

.no-products {
  text-align: center;
  padding: 50px 0;
}

.no-products i {
  font-size: 60px;
  color: var(--gray);
  margin-bottom: 20px;
}

.no-products p {
  color: var(--gray);
  font-size: 18px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: white;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 16px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
  margin-bottom: 24px;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.testimonial-rating {
  color: var(--accent);
}

.testimonial-content i {
  font-size: 30px;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 16px;
}

.testimonial-content p {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.testimonial-content h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-content span {
  color: var(--gray);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary);
  padding: 20px;
  border-radius: 50%;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(5, 6, 76, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.feature-icon.blue {
  background-color: rgba(33, 150, 243, 0.1);
  color: var(--secondary);
}

.feature-icon.yellow {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--accent);
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-list li i {
  color: var(--success);
  margin-right: 10px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding-top: 80px;
  padding-bottom: 30px;
}

.footer h5,
.footer h6 {
  font-weight: 700;
  margin-bottom: 24px;
}

.footer p {
  opacity: 0.7;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-image-container {
    margin-top: 40px;
  }

  .section-header-flex {
    flex-direction: column;
    text-align: center;
  }

  .section-header-flex .btn {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .floating-card {
    display: none;
  }

  .categories-grid,
  .services-grid,
  .products-grid,
  .steps-container,
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .testimonial-card {
    padding: 20px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
  opacity: 1;
}
