/* Base Styles */
body {
  font-family: "Inter", sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); /* shadow-sm */
  /* padding: 1rem 1.5rem;  */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom-left-radius: 0.75rem; /* rounded-b-xl */
  border-bottom-right-radius: 0.75rem; /* rounded-b-xl */
  position: relative; /* Added for z-index context */
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem; /* space-x-2 */
}

.header-logo-text {
  font-size: 1rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: #1a202c; /* text-gray-800 */
}

.header-nav {
  display: none; /* hidden by default for mobile */
  gap: 2rem; /* space-x-8 */
}

.header-nav-link {
  color: #101828; /* text-gray-600 */
  font-weight: 500; /* font-medium */
  text-decoration: none;
  padding: 0.5rem 1rem; /* Added padding for a button feel */
  border: 1px solid transparent;
  border-radius: 5px; /* Slightly more rounded corners */
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out; /* Smooth transitions */
}

.header-nav-link:hover {
  color: #ff7810; /* Orange text to match the theme */
  background-color: #fff5eb;
  border-color: #ff7810; /* Orange border on hover */
}

.header-actions {
  display: none; /* hidden by default for mobile */
  gap: 1rem; /* space-x-4 */
  align-items: center;
}

.header-mobile-menu-button {
  display: block; /* block by default for mobile */
  color: #4a5568; /* text-gray-600 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative; /* Ensure z-index works */
  z-index: 20; /* Ensure it's above other elements */
}

.header-mobile-menu-button svg {
  width: 1.5rem; /* w-6 */
  height: 1.5rem; /* h-6 */
}

/* Gradient Button */
.gradient-button {
  background: linear-gradient(to right, #ff6b6b, #ffd166);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* rounded-full */
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.gradient-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hero Section */
.hero-section {
  padding-top: 6rem; /* Increased padding for more vertical space */
  padding-bottom: 6rem; /* Increased padding for more vertical space */
  background-color: #f9fafb; /* bg-gray-50 */
  display: flex;
  flex-direction: column; /* flex-col */
  align-items: center;
  justify-content: center; /* Vertically center content */
  text-align: center;
  height: auto;
}

.hero-content {
  /* margin-bottom: 3rem;  */
}
.hero-title {
  font-size: 1.875rem; /* text-3xl, reduced for better balance */
  font-weight: 800; /* font-extrabold */
  color: #1a202c; /* text-gray-900 */
  line-height: 1.25; /* leading-tight */
  margin-bottom: 1.5rem; /* mb-6 */
}

.hero-title-gradient {
  background: linear-gradient(
    to right,
    #ef4444,
    #f59e0b
  ); /* from-red-500 to-yellow-500 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/*
 * This is the definitive fix for the hero section layout shift.
 * It ensures the animated text container always reserves vertical space for one line of text,
 * preventing the container from collapsing when the text is deleted.
 */
#animated-text {
  min-height: 1.25em; /* Matches the line-height of the parent .hero-title */
  display: inline-block; /* Allows min-height to work on a span */
  vertical-align: bottom; /* Aligns text nicely with the line above */
}

/* Typing Caret Animation */
.typing-caret {
  border-right: 3px solid #f59e0b; /* Uses a color from the gradient */
  animation: blink-caret 0.75s step-end infinite;
}

/* Keyframes for the blinking cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #f59e0b;
  }
}

.hero-description {
  font-size: 1.125rem; /* text-lg */
  color: #4a5568; /* text-gray-600 */
  margin-bottom: 2rem; /* mb-8 */
  max-width: 42rem; /* max-w-xl */
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column; /* flex-col */
  gap: 1rem; /* space-y-4 */
  justify-content: center;
}

.hero-learn-more-button {
  background-color: white;
  color: #1a202c; /* text-gray-800 */
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* rounded-full */
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
  transition: box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.hero-learn-more-button:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-lg */
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem; /* Adjusted space above the image on mobile */
  margin-bottom: 0; /* Removed bottom margin as section padding now handles spacing */
}

.hero-image {
  width: auto;
  max-width: 28rem;
  height: auto;
  max-height: 20rem;
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
}

/* Features Section */
.features-section {
  background-color: #f9fafb; /* bg-gray-50 */
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  text-align: center;
}

.features-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 1rem; /* mb-4 */
}

.features-description {
  font-size: 1.125rem; /* text-lg */
  color: #4a5568; /* text-gray-600 */
  margin-bottom: 3rem; /* mb-12 */
  max-width: 48rem; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
}

.feature-card {
  background-color: white;
  border-radius: 1.5rem; /* rounded-3xl */
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  background-color: #fee2e2; /* bg-red-100 (example, will vary by card) */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; /* mb-4 */
}

.feature-icon-wrapper svg {
  width: 2rem; /* w-8 */
  height: 2rem; /* h-8 */
  color: #ef4444; /* text-red-500 (example, will vary by card) */
}
.feature-card:nth-child(2) .feature-icon-wrapper {
  background-color: #fffbeb;
} /* bg-yellow-100 */
.feature-card:nth-child(2) .feature-icon-wrapper svg {
  color: #f59e0b;
} /* text-yellow-500 */
.feature-card:nth-child(3) .feature-icon-wrapper {
  background-color: #ecfdf5;
} /* bg-green-100 */
.feature-card:nth-child(3) .feature-icon-wrapper svg {
  color: #22c55e;
} /* text-green-500 */
.feature-card:nth-child(4) .feature-icon-wrapper {
  background-color: #eff6ff;
} /* bg-blue-100 */
.feature-card:nth-child(4) .feature-icon-wrapper svg {
  color: #3b82f6;
} /* text-blue-500 */
.feature-card:nth-child(5) .feature-icon-wrapper {
  background-color: #f3e8ff;
} /* bg-purple-100 */
.feature-card:nth-child(5) .feature-icon-wrapper svg {
  color: #a855f7;
} /* text-purple-500 */
.feature-card:nth-child(6) .feature-icon-wrapper {
  background-color: #fdf2f8;
} /* bg-pink-100 */
.feature-card:nth-child(6) .feature-icon-wrapper svg {
  color: #ec4899;
} /* text-pink-500 */

.feature-card-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 0.5rem; /* mb-2 */
}

.feature-card-description {
  color: #4a5568; /* text-gray-600 */
}

/* Call to Action Section */
.cta-section {
  background-color: white;
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  display: flex;
  flex-direction: column; /* flex-col */
  align-items: center;
  justify-content: space-between;
}

.cta-content {
  margin-bottom: 3rem; /* mb-12 */
  text-align: center;
}

.cta-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 1rem; /* mb-4 */
}

.cta-description {
  font-size: 1.125rem; /* text-lg */
  color: #4a5568; /* text-gray-600 */
  margin-bottom: 2rem; /* mb-8 */
  max-width: 42rem; /* max-w-xl */
  margin-left: auto;
  margin-right: auto;
}

.cta-features-list {
  list-style: none;
  padding: 0;
  margin: 0 auto; /* mx-auto */
  max-width: 28rem; /* max-w-md */
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.cta-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space-x-3 */
}

.cta-features-icon-wrapper {
  width: 2rem; /* w-8 */
  height: 2rem; /* h-8 */
  background-color: #fee2e2; /* bg-red-100 (example) */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-features-icon-wrapper svg {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  color: #ef4444; /* text-red-500 (example) */
}
.cta-features-list li:nth-child(2) .cta-features-icon-wrapper {
  background-color: #fffbeb;
} /* bg-yellow-100 */
.cta-features-list li:nth-child(2) .cta-features-icon-wrapper svg {
  color: #f59e0b;
} /* text-yellow-500 */
.cta-features-list li:nth-child(3) .cta-features-icon-wrapper {
  background-color: #ecfdf5;
} /* bg-green-100 */
.cta-features-list li:nth-child(3) .cta-features-icon-wrapper svg {
  color: #22c55e;
} /* text-green-500 */

.cta-features-list span {
  color: #374151; /* text-gray-700 */
  font-size: 1.125rem; /* text-lg */
}

.cta-button {
  margin-top: 2.5rem; /* mt-10 */
}

.cta-image-wrapper {
  display: flex;
  justify-content: center;
}

.cta-image {
  width: 100%;
  max-width: 28rem; /* max-w-md */
  height: auto;
  border-radius: 0.75rem; /* rounded-xl */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
}

/* Testimonials Section */
.testimonials-section {
  background-color: #f9fafb; /* bg-gray-50 */
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  text-align: center;
}

.testimonials-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 1rem; /* mb-4 */
}

.testimonials-description {
  font-size: 1.125rem; /* text-lg */
  color: #4a5568; /* text-gray-600 */
  margin-bottom: 3rem; /* mb-12 */
  max-width: 48rem; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}

.testimonials-cards-wrapper {
  display: flex;
  flex-direction: column; /* flex-col */
  justify-content: center;
  align-items: center;
  gap: 2rem; /* space-y-8 */
}

.testimonial-card {
  background-color: white;
  border-radius: 1.5rem; /* rounded-3xl */
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 28rem; /* max-w-md */
}

.testimonial-text {
  color: #374151; /* text-gray-700 */
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 1.5rem; /* mb-6 */
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  border-radius: 9999px; /* rounded-full */
  margin-right: 1rem; /* mr-4 */
}

.testimonial-author-info .name {
  font-weight: 600; /* font-semibold */
  color: #1a202c; /* text-gray-900 */
}

.testimonial-author-info .title {
  color: #6b7280; /* text-gray-500 */
  font-size: 0.875rem; /* text-sm */
}

/* Numbers Section */
.numbers-section {
  background-color: white;
  padding-top: 4rem; /* py-16 */
  padding-bottom: 4rem; /* py-16 */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  text-align: center;
}

.numbers-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 3rem; /* mb-12 */
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
}

.number-box {
  background-color: white;
  border-radius: 1.5rem; /* rounded-3xl */
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.number-box .value {
  font-size: 3rem; /* text-5xl */
  font-weight: 800; /* font-extrabold */
  color: #1a202c; /* text-gray-900 */
  margin-bottom: 0.5rem; /* mb-2 */
}

.number-box .label {
  color: #4a5568; /* text-gray-600 */
  font-size: 1.125rem; /* text-lg */
}

/* Footer */
.footer {
  background-color: #1a202c; /* bg-gray-900 */
  color: #d1d5db; /* text-gray-300 */
  padding: 3rem 1rem; /* py-12 px-6 */
  border-top-left-radius: 0.75rem; /* rounded-t-xl */
  border-top-right-radius: 0.75rem; /* rounded-t-xl */
}

.footer-grid {
  display: grid;
  grid-template-columns:1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
}

.footer-logo-text {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: white;
}

.footer-description {
  color: #9ca3af; /* text-gray-400 */
  font-size: 0.875rem; /* text-sm */
}

.footer-social-links {
  display: flex;
  gap: 1rem; /* space-x-4 */
}

.footer-social-link {
  color: #9ca3af; /* text-gray-400 */
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: white;
}

.footer-social-link svg {
  width: 1.5rem; /* w-6 */
  height: 1.5rem; /* h-6 */
}

.footer-heading {
  color: white;
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}

.footer-link {
  color: #9ca3af; /* text-gray-400 */
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-contact-info {
  color: #9ca3af; /* text-gray-400 */
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 0.5rem; /* mb-2 */
}

.footer-bottom {
  border-top: 1px solid #374151; /* border-gray-700 */
  margin-top: 2rem; /* mt-8 */
  padding-top: 2rem; /* pt-8 */
  text-align: center;
  color: #6b7280; /* text-gray-500 */
  font-size: 0.875rem; /* text-sm */
}
.custom-footer {
  margin-left: 60px;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  /* md breakpoint */
  .header {
    padding-left: 3rem; /* md:px-12 */
    padding-right: 3rem; /* md:px-12 */
  }
  .header-nav {
    display: flex; /* md:flex */
  }
  .header-actions {
    display: flex; /* md:flex */
  }
  .header-mobile-menu-button {
    display: none; /* md:hidden */
  }

  .hero-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    flex-direction: row; /* lg:flex-row */
    text-align: left; /* lg:text-left */
  }
  .hero-content {
    width: 50%; /* lg:w-1/2 */
    margin-bottom: 0; /* lg:mb-0 */
  }
  .hero-description {
    margin-left: 0; /* lg:mx-0 */
  }
  .hero-buttons {
    flex-direction: row; /* sm:flex-row */
    gap: 0; /* sm:space-y-0 */
    margin-right: 1rem; /* sm:space-x-4 */
    justify-content: flex-start; /* lg:justify-start */
  }
  .hero-image-wrapper {
    width: 50%;
    margin: 0 0 0 0; /* Reset mobile margin and add space to the left */
    height: auto; /* lg:w-1/2 */
  }
  .hero-image {
    max-width: 100%;
    
  }

  .features-section {
    padding-top: 6rem; /* md:py-24 */
    padding-bottom: 6rem; /* md:py-24 */
  }
  .features-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }

  .cta-section {
    padding-top: 6rem; /* md:py-24 */
    padding-bottom: 6rem; /* md:py-24 */
    flex-direction: row; /* lg:flex-row */
  }
  .cta-content {
    width: 50%; /* lg:w-1/2 */
    margin-bottom: 0; /* lg:mb-0 */
    text-align: left; /* lg:text-left */
  }
  .cta-description {
    margin-left: 0; /* lg:mx-0 */
  }
  .cta-features-list {
    margin-left: 0; /* lg:mx-0 */
  }
  .cta-image-wrapper {
    width: 50%; /* lg:w-1/2 */
  }
  .cta-image {
    max-width: 36rem; /* md:max-w-lg */
  }

  .testimonials-section {
    padding-top: 6rem; /* md:py-24 */
    padding-bottom: 6rem; /* md:py-24 */
  }
  .testimonials-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
  .testimonials-cards-wrapper {
    flex-direction: row; /* lg:flex-row */
    gap: 2rem; /* lg:space-x-8 */
    gap: 0; /* lg:space-y-0 */
  }

  .numbers-section {
    padding-top: 6rem; /* md:py-24 */
    padding-bottom: 6rem; /* md:py-24 */
  }
  .numbers-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr); /* sm:grid-cols-2 */
  }

  .footer {
    padding-left: 3rem; /* md:px-12 */
    padding-right: 3rem; /* md:px-12 */
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
  }
  .custom-footer {
    margin-left: none;
  }
}

@media (min-width: 1024px) {
  /* lg breakpoint */
  .header {
    padding-left: 6rem; /* lg:px-24 */
    padding-right: 6rem; /* lg:px-24 */
  }
  .custom-footer {
    margin-left: none;
  }
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .hero-title {
    font-size: 3rem; /* lg:text-5xl, reduced from 3.75rem */
  }
  .hero-image {
    max-width: 100%;
    height: 20rem;
    padding-top: 1rem; /* lg:max-w-full */
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
  }

  .cta-image {
    max-width: 100%; /* lg:max-w-full */
  }

  .numbers-grid {
    grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
  }

  .footer {
    padding-left: 6rem; /* lg:px-24 */
    padding-right: 6rem; /* lg:px-24 */
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
  }
}

/* Mobile Navigation Specific Styles (Managed by JS toggle) */
.header-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; /* Position below header */
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1rem 0;
  gap: 1rem;
  align-items: center;
  z-index: 10; /* Ensure it's above other content */
}
/* --------------------------------------------------------- */

/* Grid layout for product cards */
      .product-grid {
        display: grid;
        grid-template-columns: repeat(
          auto-fill,
          minmax(280px, 1fr)
        ); /* Responsive columns */
        gap: 20px; /* Space between cards */
        justify-content: center;
        
        align-content: center;
        align-items: center;
      }

      /* Individual Product Card Styling */
      .product-card {
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        display: flex;
        flex-direction: column;
        padding: 15px;
        box-sizing: border-box; /* Includes padding in the width calculation */
      }

      .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
      }

      /* Product Image Placeholder */
      .product-image {
        width: 100%;
        padding-top: 55%; /* Aspect ratio 290x160 (160/290 * 100) or similar */
        background-color: #e0e0e0; /* Gray background for image placeholder */
        border-radius: 8px;
        margin-bottom: 15px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #666;
        font-size: 1.2em;
        font-weight: bold;
      }

      .product-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%; /* Ensure image takes full width of its container */
        height: 100%; /* Ensure image takes full height of its container */
        object-fit: cover; /* This will make the image cover the area, cropping if necessary */
        display: block; /* Remove extra space below image */
      }

      /* Favorite Button */
      .favorite-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s ease;
      }

      .favorite-btn::before {
        content: "\2665"; /* Heart icon (Unicode) */
        font-size: 1.2em;
        color: #ccc; /* Default color */
      }

      .favorite-btn.active::before {
        color: #ff6b6b; /* Red heart when active */
      }

      .favorite-btn:hover {
        background-color: rgba(255, 255, 255, 1);
      }

      /* Product Title */
      .product-title {
        font-size: 1.1em;
        font-weight: 600;
        color: #333;
        margin: 0 0 10px 0;
        line-height: 1.4;
      }

      /* Product Meta (Author and Price) */
      .product-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        font-size: 0.9em;
      }

      .product-meta .author {
        color: #777;
      }

      .price-info {
        display: flex;
        align-items: baseline;
      }

      .current-price {
        font-size: 1.1em;
        font-weight: 700;
        color: #333;
        margin-right: 8px;
      }

      .old-price {
        color: #999;
        text-decoration: line-through;
        font-size: 0.85em;
      }

      /* Product Footer (Sales, Rating, Button) */
      .product-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto; /* Pushes footer to the bottom */
        padding-top: 15px;
        border-top: 1px solid #eee;
      }

      .sales-info {
        font-size: 0.9em;
        color: #555;
      }

      .rating {
        display: flex;
        align-items: center;
        font-size: 0.85em;
        color: #777;
      }

      .rating .star {
        color: #ffc107; /* Gold color for stars */
        margin-right: 2px;
      }

      /* Live Demo Button */
      .live-demo-btn {
        display: inline-block; /* Ensures anchor tags behave like buttons */
        text-decoration: none; /* Removes underline from links */
        background-color: #6a5acd; /* Purple color */
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 8px 15px;
        font-size: 0.9em;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.1s ease;
        box-shadow: 0 2px 6px rgba(106, 90, 205, 0.3);
      }

      .live-demo-btn:hover {
        background-color: #5a4bb8;
        transform: translateY(-1px);
      }

      .live-demo-btn:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(106, 90, 205, 0.4);
      }

      /* Specific adjustment for the 306x196 image placeholder */
      .product-card:nth-child(7) .product-image {
        padding-top: 64.05%; /* (196/306) * 100 */
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .product-grid {
          grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
          gap: 15px;
        }

        .product-card {
          padding: 12px;
        }

        .product-title {
          font-size: 1em;
        }

        .current-price {
          font-size: 1em;
        }

        .live-demo-btn {
          padding: 7px 12px;
          font-size: 0.85em;
        }
      }

      @media (max-width: 480px) {
        .product-grid {
          grid-template-columns: 1fr; /* Single column on very small screens */
          gap: 15px;
        }

        .product-card {
          max-width: 350px; /* Constrain width on single column */
          margin: 0 auto;
        }

        .product-footer {
          flex-direction: column;
          align-items: flex-start;
          gap: 8px;
        }

        .live-demo-btn {
          width: 100%;
          text-align: center;
        }
      }
