body {
  font-family: "Poppins", sans-serif;
  background-color: white;
}

/* Custom animation for slider text */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom class for applying the animation */
.slide-in-up {
  animation: slideInUp 0.8s ease-out forwards;
}

/* Fade in on scroll animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transform: translateY(20px);
}

.is-visible {
  opacity: 1;
  transform: none;
}

/* Product Carousel Styles */
.carousel-container {
  perspective: 1000px;
}

.carousel-track {
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Responsive adjustments for product section */
@media (max-width: 768px) {
  .carousel-item {
    padding: 0 0.5rem;
  }

  #products .grid {
    grid-template-columns: 1fr;
  }

  #products .md\:pl-8 {
    padding-left: 0;
    margin-top: 2rem;
  }
}

/* New FAQ Design */
.faq-card {
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
  padding: 20px;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 18px;
  color: #1e293b;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

.faq-card.active .faq-answer {
  max-height: 500px;
  transition: max-height 0s ease-in-out;
  padding: 20px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #f59e0b;
  font-size: 20px;
}

.faq-card.active .faq-icon {
  transform: rotate(180deg);
}

/* Mobile menu animation */
.mobile-menu {
  display: none;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    padding-top: 2rem;
  }

  .slider-features {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    margin-top: 1.5rem !important;
  }

  .slider-features li {
    justify-content: center;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .slider-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
  }

  .slider-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .slider-features span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  .slider-features .icon-container {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .slider-features i {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 640px) {
  .slider-content h1 {
    font-size: 2.2rem !important;
  }

  .slider-content h2 {
    font-size: 1.2rem !important;
  }

  .slider-features {
    gap: 0.6rem !important;
  }
}

/* Product Carousel Styles */
.carousel-container {
  perspective: 1000px;
  width: 100%;
}

.carousel-track {
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
}

/* Responsive adjustments for product section */
@media (max-width: 768px) {
  .carousel-item {
    padding: 0 0.5rem;
  }

  #products .grid {
    grid-template-columns: 1fr;
  }

  #products .md\:pl-8 {
    padding-left: 0;
    margin-top: 2rem;
  }

  .carousel-prev,
  .carousel-next {
    display: none;
  }
}

/* Carousel navigation arrows */
.carousel-prev,
.carousel-next {
  opacity: 0.7;
}

.carousel-prev:hover,
.carousel-next:hover {
  opacity: 1;
}

/* Navigation */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 100;
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background-color: #fffbeb;
  color: #f59e0b;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 1.5rem;
}

.mobile-dropdown-content.active {
  display: block;
}

/*  */
/*  */
/* Whatsapp button */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: auto;
  height: 50px;
  padding: 0 15px;
  background: #25d366;
  color: #ffffff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  filter: brightness(1.05);
}

.whatsapp-fab:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    transition: none;
  }
}
