body {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
}

.hidden {
  display: none;
}

/* -------------------------------- Header navigation styles -------------------------------- */
.navigation {
  background-color: #fff;
}

header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  margin-left: 5%;
  margin-right: 5%;
}
.header-logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.header-logo img {
  width: auto;
  height: 40px;
}
.header-menu {
  display: flex;
  gap: 1rem;
}
.header-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.header-menu a:hover {
  color: var(--header-hover-color, #007bff);
}

/* -------------------------------- Hero section styles -------------------------------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  background-color: #f0f0f0;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.hero-cta-preview {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero-cta-preview :hover {
  background-color: #0056b3;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content,
  .hero-image {
    flex: none;
    width: 100%;
    padding: 1rem 0;
  }
}

/* -------------------------------- USP section styles -------------------------------- */
.usp-section {
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
  background-color: #fff;
}

.usp-header {
  margin-bottom: 40px;
}

.usp-header h2 {
  font-size: 2.5rem;
}

.usp-header p {
  font-size: 1.2rem;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.usp {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.usp img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.usp-title {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 10px;
  margin-top: 10px;
}

.usp-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .usp {
    padding: 48px 20px;
  }

  .usp-title {
    font-size: 2rem;
  }
}

/* -------------------------------- List Product section styles -------------------------------- */
.product-header-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  padding-top: 12px;
  text-align: center;
}

.product-section {
  background-color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  background-color: #fff;
  padding: 10px;
}
.product-item {
  grid-column: span 2;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 15px;
}
.product-name {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}
.product-description {
  font-size: 1.1em;
  color: #666;
}
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  /* 📌 Small Screens (Mobile) */
  @media (max-width: 600px) {
    .product-grid {
      grid-template-columns: 1fr; /* Switch to 1 column */
    }
    .product-name {
      font-size: 1.5em; /* Reduce font size */
    }
    .product-description {
      font-size: 1em; /* Adjust text size */
    }

    /* 🔴 Disable orphan item fixes for mobile */
    .product-item:last-child:nth-child(3n - 1),
    .product-item:nth-last-child(2):nth-child(3n + 1),
    .product-item:last-child:nth-child(3n - 2) {
      grid-column-end: auto;
    }
  }
}

/* 📌 Fix orphan items (ONLY for tablets & desktops, NOT for mobile) */
@media (min-width: 601px) {
  .product-item:last-child:nth-child(3n - 1) {
    grid-column-end: -2;
  }
  .product-item:nth-last-child(2):nth-child(3n + 1) {
    grid-column-end: 4;
  }
  .product-item:last-child:nth-child(3n - 2) {
    grid-column-end: 5;
  }
}

/* -------------------------------- Gallery section styles -------------------------------- */

.gallery-section {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  padding: 10px;
  background-color: #fff;
}

.gallery-item {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  aspect-ratio: 3/4;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

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

/* Dealing with 2 orphan items */

.gallery-item:last-child:nth-child(3n - 1) {
  grid-column-end: -2;
}

.gallery-item:nth-last-child(2):nth-child(3n + 1) {
  grid-column-end: 4;
}

/* Dealing with single orphan */

.gallery-item:last-child:nth-child(3n - 2) {
  grid-column-end: 5;
}

/* -------------------------------- Footer section styles -------------------------------- */
.footer {
  background-color: #f3f4f6;
  padding: 4rem 0;
  color: #4b5563;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr;
  gap: 1rem;
  align-items: center;
  background-color: #d9d9d9;
  padding: 2.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 100px;
  object-fit: contain;
}

.company-name {
  font-size: 14px;
  font-weight: bold;
}

.description {
  font-size: 12px;
}

.footer-column h3 {
  font-size: larger;
  margin: 0;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 6px;
}

.social-link {
  color: #4b5563;
  text-decoration: none;
}

.social-link:hover {
  color: #1f2937;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* -------------------------------- Global styles -------------------------------- */
.notification-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #7eb088;
  color: white;
  text-align: center;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.notification-bar.show {
  transform: translateY(0);
}

.notification-bar button {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.primary-button {
  background-color: white;
  color: #7eb088;
}

.secondary-button {
  background-color: transparent;
  color: white;
  text-decoration: underline;
}

/* Add padding to body when notification is shown */
body.has-notification {
  padding-top: 52px;
}


/* floating whatsapp button*/
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  overflow: hidden;
}

.my-float {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    text-align: center;
  }
}
