/* CSS Variables */
:root {
  --primary-color: #38b6ff;
  --secondary-color: #28a745;
  --background-color: #f9f9f9;
  --text-color: #333;
  --white: #fff;
  --black: #000;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 100px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.cart-icon {
  font-size: 1.5em;
  position: relative;
}

.cart-icon span {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  padding: 5px 8px;
  font-size: 0.8em;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 15px;
  border-bottom: 1px solid #ccc;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 4px 0;
}

/* About Us Section */
#about {
  padding: 60px 20px;
  background: var(--white);
  text-align: center;
}

#about h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content img {
  width: 100%;
  max-width: 576px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
  text-align: left;
  max-width: 800px;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--text-color);
  font-weight: 600;
}

/* Responsive Design for About Section */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  .about-content img {
    margin-bottom: 0;
    flex: 1;
  }

  .about-text {
    flex: 2;
  }
}

@media (max-width: 480px) {
  #about h2 {
    font-size: 2rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* Slideshow Section */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f0f0f0;
}

.slide.active {
  opacity: 1;
}
/* Slideshow Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust for the height of the arrow */
  width: auto;
  padding: 16px;
  color: var(--white);
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  z-index: 100; /* Ensure arrows are above the slides */
}

.prev {
  left: 10px; /* Position from the left */
}

.next {
  right: 10px; /* Position from the right */
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .prev, .next {
    font-size: 18px; /* Smaller arrows for mobile */
    padding: 12px; /* Smaller padding for mobile */
  }

  .prev {
    left: 5px; /* Adjust position for mobile */
  }

  .next {
    right: 5px; /* Adjust position for mobile */
  }
}
/* Products Section */
.products, .product-details, .video-section {
  padding: 80px 20px;
  text-align: center;
  background: var(--white);
}

.products h2, .product-details h2, .video-section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.product-grid, .details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

.product, .details-card {
  background: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product img {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

.product h3, .details-card h3 {
  margin: 15px 0;
  font-size: 1.5em;
}

.product p, .details-card ul li {
  font-size: 0.9em;
  color: #555;
  margin: 5px 0;
}

.product .price {
  font-size: 1.2em;
  color: var(--secondary-color);
}

.product .cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.product .cta:hover {
  background: #e0a800;
}

/* Benefits Section */
.details-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.details-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.details-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.details-card:hover img {
  transform: scale(1.1);
}

.details-text {
  flex: 1;
}

.details-text h3 {
  font-size: 2em;
  margin-bottom: 15px;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--primary-color);
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

.details-text ul {
  list-style: none;
  padding: 0;
}

.details-text ul li {
  font-size: 1em;
  color: #555;
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.details-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2em;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delay for List Items */
.details-text ul li:nth-child(1) {
  animation-delay: 0.5s;
}

.details-text ul li:nth-child(2) {
  animation-delay: 1s;
}

.details-text ul li:nth-child(3) {
  animation-delay: 1.5s;
}

.details-text ul li:nth-child(4) {
  animation-delay: 2s;
}

.details-text ul li:nth-child(5) {
  animation-delay: 2.5s;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
/* Modal Product Image */
.modal-product-image {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content label {
  margin-top: 10px;
}

.modal-content input,
.modal-content select,
.modal-content button {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content button {
  background-color: #28a745;
  color: white;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #218838;
}

.video-container {
  width: 70%;
  margin: 0 auto;
  position: relative;
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Enquiry Form Section */
.enquiry-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 20px;
  background: var(--white);
}

.enquiry-form h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

.contact-details {
  flex: 1;
  background: var(--background-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-details p {
  margin: 10px 0;
  font-size: 1em;
  color: #555;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.enquiry-form form {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.enquiry-form label {
  font-size: 1em;
  color: #555;
}

.enquiry-form input,
.enquiry-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.enquiry-form button {
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.enquiry-form button:hover {
  background: #e0a800;
}


/* Benefits Container */
.benefits-container {
  position: relative;
  width: 600px; /* Container size */
  height: 600px; /* Container size */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center Image */
.center-image img {
  width: 150px; /* Retain original PNG size */
  height: auto; /* Retain aspect ratio */
}

/* Feature Circles */
.feature-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  animation: flicker 2s infinite ease-in-out;
}

/* Colorful Circles */
.feature-1 { background-color: #ff6b6b; } /* Red */
.feature-2 { background-color: #4ecdc4; } /* Teal */
.feature-3 { background-color: #ffe66d; } /* Yellow */
.feature-4 { background-color: #6b5b95; } /* Purple */
.feature-5 { background-color: #ff9f1c; } /* Orange */
.feature-6 { background-color: #2ecc71; } /* Green */

.circle p {
  font-size: 14px;
  color: var(--white);
  margin: 0;
}

/* Arrows */
.arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  animation: point 1.5s infinite ease-in-out;
}

/* Circle Positioning */
.feature-circle {
  --radius: 200px; /* Distance from the center */
  --angle: 0deg; /* Initial angle */
  top: calc(50% + var(--radius) * sin(var(--angle)) - 60px); /* Adjust for circle height */
  left: calc(50% + var(--radius) * cos(var(--angle)) - 60px); /* Adjust for circle width */
}

.feature-1 { --angle: 0deg; }
.feature-2 { --angle: 60deg; }
.feature-3 { --angle: 120deg; }
.feature-4 { --angle: 180deg; }
.feature-5 { --angle: 240deg; }
.feature-6 { --angle: 300deg; }

/* Arrow Positioning */
.feature-circle .arrow {
  top: calc(100% + 10px); /* Position below the circle */
  left: 50%;
  transform: translateX(-50%) rotate(calc(var(--angle) + 90deg));
}

/* Animations */
@keyframes flicker {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes point {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.2);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .benefits-container {
    width: 300px;
    height: 300px;
  }

  .center-image img {
    width: 100px; /* Smaller for mobile */
  }

  .feature-circle {
    width: 80px;
    height: 80px;
    --radius: 120px; /* Adjusted for smaller screens */
  }

  .circle p {
    font-size: 10px;
  }
}


/* Customer Feedback Carousel */
.feedback-carousel {
  padding: 80px 20px;
  background: var(--background-color);
  text-align: center;
}

.feedback-carousel h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.feedback-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.feedback-slide {
  display: none;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 1s ease-in-out;
}

.feedback-slide.active {
  display: block;
}

.feedback-slide p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 10px;
}

.feedback-slide span {
  font-size: 1em;
  color: var(--primary-color);
  font-weight: bold;
}

.feedback-prev,
.feedback-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.feedback-prev {
  left: 10px;
}

.feedback-next {
  right: 10px;
}

.feedback-prev:hover,
.feedback-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Footer */
footer {
  background: var(--text-color);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-address, .social-links {
  text-align: left;
  margin-bottom: 20px;
}

.footer-address h3, .social-links h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.footer-address p {
  margin: 5px 0;
  font-size: 0.9em;
}

.footer-address a, .social-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-address a:hover, .social-links a:hover {
  text-decoration: underline;
}

.social-links {
  text-align: right;
}

.social-links a {
  margin: 0 10px;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

footer p {
  margin: 10px 0;
  font-size: 0.9em;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .slideshow-container {
    height: 300px;
  }

  .product img {
    max-width: 100%;
  }

  .video-section video {
    width: 80%;
  }

  .enquiry-form {
    flex-direction: column;
    gap: 20px;
  }

  .contact-details, .enquiry-form form {
    flex: 1;
    width: 100%;
  }

  .details-card {
    flex-direction: column;
    text-align: center;
  }

  .details-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
}