/* Custom Colors */
:root {
  --orange: #ff8a00;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.text-orange {
  color: var(--orange);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

nav, section, footer {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  background-color: #fff9e6;
  padding: 80px 0;
}

/* Feature Icons */
.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Hover Effects */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-10px);
}

/* Product Item Styles */
.product-item {
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-item img {
  transition: all 0.5s ease;
  height: 250px;
  object-fit: cover;
}

.product-item:hover img {
  transform: scale(1.05);
}

/* List View Styles */
.list-view .product-card {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.list-view .product-item {
  display: flex;
  flex-direction: row;
}

.list-view .product-item img {
  max-width: 420px;
  width: 100%;
  height: 100%;
}

.list-view .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .list-view .product-item {
    flex-direction: column;
  }

  .list-view .product-item img {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .list-view .card-body {
    align-items: center;
    max-width: 25%;
  }
}

/* Pagination Styling */
.pagination .page-link {
  color: var(--orange);
  border-color: #ffd580;
}

.pagination .page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  color: white;
}

/* Testimonials Section */
.testimonials-section {
  background-color: #fffaf0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 138, 0, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.testimonial-card {
  transition: all 0.3s ease;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-img-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.testimonial-img-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 60px;
  color: var(--orange);
  font-family: serif;
  opacity: 0.3;
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #ffc107;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

.testimonial-name {
  font-weight: 600;
  color: #333;
}

.carousel-controls {
  text-align: center;
}

.carousel-control-icon {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.carousel-control-icon:hover {
  background-color: var(--orange) !important;
  transform: scale(1.1);
}

.carousel-control-next, .carousel-control-prev {
  width: 40px;
}

.carousel-caption {
  background-image: url("img/price.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  bottom: .5rem;
  color: #7505bf;
}

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

.blink {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

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