/* Importing Google Font */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600&display=swap");

html {
  scroll-behavior: smooth;
}

/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f4f4f4;
  color: #1e4023;
  overflow-x: hidden;
}

/* Navbar styles */
header {
  background: linear-gradient(135deg, #c9f7b6, #7cb342);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.navbar {
  width: 100%;
  padding: 1rem 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e4023;
  font-size: 1.8rem;
  font-weight: 600;
}

.logo img {
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #1e4023;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: width 0.3s ease-in-out;
  z-index: -1;
}

.nav-links li a:hover::before {
  width: 100%;
}

.nav-links li a:hover {
  color: #2a5f2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  transition: all 0.3s ease-in-out;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1e4023;
  border-radius: 4px;
  transition: 0.3s ease;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #d4eac8, #b7dba5);
    flex-direction: column;
    align-items: center;
    display: none;
    gap: 1.2rem;
    padding: 1rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Intro Section */
.intro {
  background: linear-gradient(135deg, #efffe9, #e6f5d6);
  padding: 4rem 2rem;
}

.intro-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 500px;
  color: #1e4023;
}

.intro-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #3d5c35;
}

.intro-btn {
  background: #7cb342;
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.intro-btn:hover {
  background: #689f38;
  transform: translateY(-2px);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .intro-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1rem;
  }
}

/* Slider Styles */
.intro-slider {
  width: 100%;
  max-width: 600px; /* Fixed width */
  height: 400px; /* Fixed height */
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  margin: auto;
  position: relative;
  background-color: #fff;
}

.slides {
  display: flex;
  width: calc(600px * 5); /* width = slide width * number of slides */
  height: 400px;
  animation: slideAnimation 25s infinite;
}

.slide {
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the whole image fits */
  object-position: center;
  display: block;
}

@keyframes slideAnimation {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-600px);
  }
  35% {
    transform: translateX(-600px);
  }

  40% {
    transform: translateX(-1200px);
  }
  55% {
    transform: translateX(-1200px);
  }

  60% {
    transform: translateX(-1800px);
  }
  75% {
    transform: translateX(-1800px);
  }

  80% {
    transform: translateX(-2400px);
  }
  100% {
    transform: translateX(-2400px);
  }
}

/* Hide slider on small screens */
@media screen and (max-width: 768px) {
  .intro-slider {
    display: none;
  }
}

/* Top Products Section */
/* Top Products Section */
.top-products {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #efffe9, #e6f5d6);
  text-align: center;
  position: relative;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

.top-products h2 {
  font-size: 2.5rem;
  color: #1e4023;
  margin-bottom: 2rem;
}

/* Container for the Product Cards */
.product-cards-wrapper {
  display: flex;
  justify-content: center; /* Center the cards horizontally */
  align-items: center; /* Center the cards vertically (if they have varying height) */
  gap: 2rem;
  margin-top: 2rem;
  width: 100%; /* Make sure the container spans full width */
  max-width: 1200px; /* Keep it limited to 1200px max width */
  margin-left: auto;
  margin-right: auto; /* Center the entire wrapper */
}

.product-card {
  background: #fff;
  padding: 2rem;
  width: calc(33.33% - 2rem); /* Adjust width to fit 3 cards */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
}

/* Hover Animation for Product Cards */
.product-card:hover {
  transform: translateY(-10px); /* Slightly lift the card */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Ensures the image fits the space */
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Title Styling */
.product-card h3 {
  color: #1e4023;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

/* Product Description Styling */
.product-card p {
  font-size: 1rem;
  color: #3d5c35;
  margin-bottom: 1rem;
}

/* Button Styling */
.details-btn {
  background: #7cb342;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.details-btn:hover {
  background: #689f38;
  transform: scale(1.05); /* Slight scaling effect */
}

/* View Catalog Button */
.view-catalog-btn {
  display: inline-block;
  margin-top: 2rem;
  background: #7cb342;
  color: white;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.view-catalog-btn:hover {
  background: #689f38;
  transform: scale(1.05);
}

/* Optional Background Animation */
.bg-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 2%,
    transparent 70%
  );
  background-size: 40px 40px;
  animation: drip 8s linear infinite;
  z-index: 0;
  opacity: 0.3;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .product-cards-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .product-card {
    width: 90%; /* Ensure cards fit the screen on smaller devices */
    margin: auto;
  }
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  animation: fadeIn 0.5s ease;
}

.modal-details img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.modal h3 {
  font-size: 1.8rem;
  margin: 1rem 0;
}

.modal p {
  font-size: 1.2rem;
  color: #3d5c35;
}

.close-btn {
  font-size: 2rem;
  color: #1e4023;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #7cb342;
}

/* Fade-In Animation for Modal */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
  }
}

#rain-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-rainfall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.rain-drop {
  position: absolute;
  top: -10%;
  width: 2px;
  height: 40px;
  background: rgba(60, 90, 70, 0.2);
  animation: fall linear infinite;
  border-radius: 1px;
  filter: blur(0.5px);
}

@keyframes fall {
  to {
    transform: translateY(120vh);
    opacity: 0;
  }
}

/* About Us Section */
.about-us {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #efffe9, #e6f5d6);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1e4023;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.2rem;
  color: #3d5c35;
  line-height: 1.8;
}

.footer {
  background: linear-gradient(135deg, #e6f9e6, #c9f0c9);
  padding: 3rem 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2e7d32;
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.05);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}

.footer-left,
.footer-right {
  flex: 1 1 450px;
}

.footer-left p,
.footer-right p {
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #2e7d32;
}

.footer-left .copyright {
  font-weight: 600;
  color: #1b5e20;
}

.footer-left .address {
  color: #2e7d32;
}

.footer-left i,
.footer-right i {
  color: #43a047;
  margin-right: 8px;
  font-size: 1rem;
}

.footer-right .contact-info a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-right .contact-info a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }
}

/* Cool scroller */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 5px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 9999;
  overflow: hidden;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #85c88a, #4caf50, #2e7d32);
  transition: width 0.25s ease;
  border-radius: 0 10px 10px 0;
}

.scroll-progress-bar {
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 10px #7cb342;
  }
  to {
    box-shadow: 0 0 20px #1e4023;
  }
}

/* Product Catalog styling */
.product-catalog {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #efffe9, #e6f5d6);
}

.product-catalog h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #222;
}

.catalog-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.details-btn {
  padding: 0.5rem 1.2rem;
  background-color: #007b55;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.details-btn:hover {
  background-color: #005f40;
}

/* Pop up for catalog page */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  width: 90%;
  max-width: 500px;
}

.modal-content img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

#modal-image {
  max-height: 80vh; /* Limits height to 80% of the viewport height */
  object-fit: contain;
  overflow: auto; /* Scroll if the image is too tall */
}

/* Responsive */
@media (max-width: 768px) {
  .slide {
    min-width: 180px;
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/* Search Bar Styling */
.search-container {
  text-align: center;
  margin-bottom: 20px;
  overflow-y: hidden;
}

#searchBar {
  width: 70%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: 2px solid #ccc;
  outline: none;
  transition: all 0.3s ease;
  background-color: #fff;
}

#searchBar:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* === CONTACT US SECTION STYLES === */

.contact-us {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #eafaf1, #d6f5e4);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Optional floating blobs */
.contact-us::before,
.contact-us::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.15;
}

.contact-us::before {
  width: 300px;
  height: 300px;
  background: #a5d6a7;
  top: -50px;
  left: -80px;
  animation: float 10s ease-in-out infinite;
}

.contact-us::after {
  width: 250px;
  height: 250px;
  background: #81c784;
  bottom: -80px;
  right: -60px;
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.contact-us h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #2e7d32;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-info,
.contact-form {
  flex: 1 1 350px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(76, 175, 80, 0.2);
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #388e3c;
}

.contact-info p {
  margin-bottom: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: #4caf50;
  margin-right: 10px;
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 0.5rem 0 0.3rem;
  color: #2e7d32;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: 1px solid #b2dfdb;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #f7fff7;
  transition: all 0.3s ease;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
  outline: none;
  background-color: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.submit-btn {
  margin-top: 1.5rem;
  padding: 0.9rem;
  background: linear-gradient(to right, #66bb6a, #43a047);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
  transition: background 0.3s, transform 0.2s ease-in-out;
}

.submit-btn:hover {
  background: linear-gradient(to right, #4caf50, #388e3c);
  transform: translateY(-2px);
}

.required {
  color: #d32f2f;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}

/* === SUCCESS TOAST === */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: #4caf50;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.8rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  animation: fadeInOut 4s ease forwards;
  z-index: 1000;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .contact-us h2 {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Bounce Animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Whatsapp Tooltip Styling */
.fancy-tooltip {
  position: relative;
}

.tooltip-text {
  width: 120px;
  background-color: #25d366;
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 6px;
  position: absolute;
  bottom: 70px;
  left: -10px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fancy-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.required {
  color: red;
}

/* products individual pages */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  margin-top: 2rem;

  max-width: 1200px; /* NEW */
  margin-left: auto; /* NEW */
  margin-right: auto; /* NEW */
  padding: 0 1rem; /* NEW, for small screen side space */
}

/* Gallery (left) */
.product-gallery {
  flex: 1;
  max-width: 500px;
}

.product-gallery .main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thumbnails {
  display: flex;
  margin-top: 10px;
  gap: 10px;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
}

.thumbnails img:hover {
  transform: scale(1.05);
}

/* Right Section (Tab Content) */
.product-details {
  flex: 1.5;
  min-width: 300px;
  margin-bottom: 10px;
}

/* Tab Buttons */
.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 10px 20px;
  background-color: #f1f1f1;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background-color: #7cb342;
  color: #fff;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Rating */
.rating {
  font-size: 1.2rem;
  color: #ffb703;
}

/* Description */
.description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Features List */
.features {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.features li {
  margin-bottom: 8px;
  padding-left: 1.5em;
  position: relative;
}

.features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* Applications Section */
.applications {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 20px;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.applications:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Application Items */
.application-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.application-item i {
  color: #4a90e2;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

/* Call to Action */
.call-to-action {
  background: #ff914d;
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s;
}

.call-to-action:hover {
  background: #ff6f1a;
}

.call-to-action a.order-link {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.call-to-action a.order-link:hover {
  color: #ffe0b2;
}

/* Specifications Table */
.specifications-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.specifications-table th,
.specifications-table td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: center;
}

.specifications-table th {
  background-color: #7cb342;
  color: #fff;
}

.specifications-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bounce Animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Related Products */
.related-products {
  padding: 2rem;
  background: linear-gradient(135deg, #efffe9, #e6f5d6);
  border-radius: 20px;
  animation: fadeIn 1s ease forwards;
}

.related-products h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .product-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .product-details {
    width: 100%;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }

  .product-info {
    text-align: center;
  }
}

#currentImage {
  height: 400px;
}
