.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 86vh;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%; /* 5 slides total */
  will-change: transform;
  transform: translateZ(0);
}

.carousel-item {
  flex: 0 0 100%;
  height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 10;
}

.carousel-controls button {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 24px;
  margin: 0 5px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  will-change: transform, background-color;
}

.carousel-controls button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-indicators .indicator {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.carousel-indicators .indicator.active {
  background-color: #ffffff;
}

.carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.2em;
  line-height: 1.5;
  align-content: center;
}

.carousel-caption h1 {
  font-size: 2.5em;
  margin: 0;
}

.carousel-caption p {
  margin: 10px 0 0;
}

.carousel-caption a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #009990;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
  will-change: transform, background-color;
}

.carousel-caption a:hover {
  background-color: #007a6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.who-are-we {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.who-are-we h1 {
  font-size: 2.5em;
  margin-bottom: 50px;
  font-family: "serif";
  color: #333;
  text-align: center;
  font-weight: 200;
}

.who-are-we-content {
  display: flex;
  flex-direction: row;
  text-align: center;
  font-family: "serif";
  color: #333;
  max-width: 1200px;
  gap: 60px;
  align-items: center;
}

.who-are-we-text {
  flex: 1.2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.who-are-we-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.who-are-we-text a {
  background-color: #009990;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  will-change: transform, background-color;
  align-self: flex-start;
  font-weight: 600;
}

.who-are-we-text a:hover {
  background-color: #007a6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.who-are-we-img {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 350px;
}

.who-are-we-img img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.who-are-we-img:hover img {
  transform: scale(1.05);
}

/* New styles for enhanced who-are-we content */
.company-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.highlight-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #009990;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 153, 144, 0.15);
  border-left-color: #007a6b;
}

.highlight-item h3 {
  color: #009990;
  font-size: 1.1em;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-item p {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.cta-section {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.about-btn, .products-btn {
  background-color: #009990;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95em;
  display: inline-block;
}

.products-btn {
  background-color: #074799;
}

.about-btn:hover {
  background-color: #007a6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 153, 144, 0.3);
}

.products-btn:hover {
  background-color: #063a7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 71, 153, 0.3);
}

.latest-products {
  padding: 60px 20px;
  background: #f8f9fa;
  will-change: transform;
  transform: translateZ(0);
}

.trending-header h1 {
  color: #000000;
}

.section-underline .line {
  width: 80px !important;
  height: 3px !important;
  background: #001a6e !important;
}

.section-underline .icon {
  font-size: 24px !important;
  color: #009990 !important;
}

/* Products Carousel Styles */
.latest-products .products-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 10px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  perspective: 1000px;
}

.latest-products .products-carousel {
  display: flex !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  gap: 0px;
  padding: 30px 5px;
  flex: 1;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  width: 100%;
  scroll-snap-type: x mandatory;
  align-items: center;
  position: relative;
}

.latest-products .products-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Smooth infinite scroll container */
.latest-products .products-carousel::before,
.latest-products .products-carousel::after {
  content: '';
  flex: 0 0 50px;
  height: 1px;
  pointer-events: none;
}

.latest-products .product-card {
  flex: 0 0 300px !important;
  min-width: 300px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-out;
  display: block !important;
  scroll-snap-align: center;
  transform: scale(0.7) translateY(15px);
  opacity: 0.7;
  z-index: 1;
  position: relative;
}

/* Middle/Active card styling */
.latest-products .product-card.active {
  transform: scale(1.1) translateY(0px);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Side cards styling */
.latest-products .product-card.side {
  transform: scale(0.9) translateY(5px);
  opacity: 0.9;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Outer cards styling */
.latest-products .product-card.outer {
  transform: scale(0.7) translateY(15px);
  opacity: 0.7;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Removed hover effect for cleaner look */

.latest-products .product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.latest-products .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.latest-products .product-card:hover .product-image img {
  transform: scale(1.15);
}

.latest-products .product-content {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.latest-products .product-content h3 {
  color: #333;
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.latest-products .product-card:hover .product-content h3 {
  color: #007bff;
}

.latest-products .product-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.latest-products .product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0056b3, #003d82);
  transition: left 0.4s ease;
  z-index: -1;
}

.latest-products .product-btn:hover::before {
  left: 0;
}

.latest-products .product-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.latest-products .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
  border: 2px solid rgba(0, 123, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 15;
  color: #007bff;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-products .carousel-btn:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.latest-products .carousel-btn:active {
  transform: translateY(-50%) scale(1.05);
}

.latest-products .carousel-btn-prev {
  left: 15px;
}

.latest-products .carousel-btn-next {
  right: 15px;
}

.latest-products .view-all-products {
  text-align: center;
  margin-top: 40px;
}

.latest-products .view-all-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.latest-products .view-all-btn:hover {
  background: linear-gradient(135deg, #20c997, #17a2b8);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Override any grid styles from products.css */
.latest-products .suggested-grid {
  display: none !important;
}

.latest-products .products-carousel {
  display: flex !important;
}

.latest-products .product-card {
  display: block !important;
  grid-column: unset !important;
  grid-row: unset !important;
}

section6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0;
  padding: 80px 20px;
  background-color: #f8f9fa;
  min-height: 100vh;
  will-change: transform;
  transform: translateZ(0);
}

.section6title {
  margin-bottom: 60px;
  width: 100%;
}

.section6title h2 {
  font-size: 2.5em;
  font-family: "serif";
  font-weight: 200;
  margin: 0;
  color: #333;
}

.things {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  gap: 60px;
  margin: 0 auto;
}

.things-text {
  flex: 1;
  text-align: left;
  transition: all 0.5s ease-in-out;
}

.things-text li {
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  margin-bottom: 16px;
}

.things-text li:hover {
  color: #001a6e;
  transform: translateX(10px);
}

.custom-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  font-family: "Open Sans", sans-serif;
  color: #444;
  font-weight: 500;
}

.custom-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #009990;
  font-weight: bold;
  font-size: 1.2em;
  top: 2px;
}

.things-img {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 400px;
  transition: all 0.5s ease-in-out;
  max-width: 500px;
}

.things-img img {
  width: 28%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
  border-radius: 12px;
  will-change: transform;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.things-img img:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.things-img img:nth-child(1) {
  position: relative;
  top: -20px;
}

.things-img img:nth-child(2) {
  position: relative;
  top: -40px;
}

.things-img img:nth-child(3) {
  position: relative;
  top: -60px;
}

@media (min-width: 780px) and (max-width: 1150px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Base styles with improved consistency */
.section-title {
  font-size: 2.5em;
  font-family: "serif";
  font-weight: 200;
  text-align: center;
  margin: 0 0 30px 0;
  color: #333;
}

.who-are-we h1 {
  font-size: 2.5em;
  margin-bottom: 50px;
  font-family: "serif";
  color: #333;
  text-align: center;
  font-weight: 200;
}

.section6title h2 {
  font-size: 2.5em;
  font-family: "serif";
  font-weight: 200;
  margin: 0;
  color: #333;
}

.section-underline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 15px;
}

.section-underline .line {
  width: 80px;
  height: 3px;
  background: #001a6e;
}

.section-underline .icon {
  font-size: 24px;
  color: #009990;
}

/* Common section spacing */
.hero section:not(.carousel-wrapper) {
  padding: 80px 20px;
}

@media (max-width: 1200px) {
  .hero section:not(.carousel-wrapper) {
    padding: 60px 20px;
  }
}

/* Tablet Portrait and Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Common section spacing for tablets */
  .hero section:not(.carousel-wrapper) {
    padding: 60px 30px;
  }

  .section-title,
  .who-are-we h1,
  .section6title h2 {
    font-size: 2.2em;
  }

  /* Hero Section */
  .carousel-wrapper {
    height: 80vh;
  }

  .carousel-item {
    height: 80vh;
  }

  .carousel-caption h1 {
    font-size: 2.2em;
  }

  .carousel-caption p {
    font-size: 1.1em;
    padding: 0 20px;
  }

  .carousel-caption a {
    padding: 12px 24px;
    font-size: 1em;
  }

  .carousel-controls {
    bottom: 25px;
    right: 30px;
  }

  .carousel-indicators {
    bottom: 25px;
  }

  /* Who Are We Section */
  .who-are-we {
    padding: 60px 30px;
    min-height: 80vh;
  }

  .who-are-we h1 {
    margin-bottom: 40px;
  }

  .who-are-we-content {
    gap: 40px;
  }

  .who-are-we-text p {
    font-size: 1em;
  }

  .company-highlights {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 25px 0;
  }

  .highlight-item {
    padding: 15px;
  }

  .highlight-item h3 {
    font-size: 1em;
  }

  .highlight-item p {
    font-size: 0.9em;
  }

  .cta-section {
    gap: 12px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    display: flex;
    align-items: center;
  }

  .about-btn, .products-btn {
    padding: 10px 20px;
    font-size: 0.9em;
    text-align: center;
  }

  .who-are-we-img {
    max-width: 300px;
  }

  .who-are-we-img img {
    max-width: 280px;
  }

  /* Latest Products Section */
  .latest-products {
    padding: 50px 30px;
  }

  /* Why Choose Us Section */
  section6 {
    padding: 60px 30px;
    min-height: 80vh;
  }

  .things {
    gap: 40px;
  }

  .custom-bullets li {
    font-size: 1em;
  }

  .things-img {
    height: 350px;
  }

  .things-img img {
    max-height: 240px;
  }
}

/* Small Desktop and Large Tablet */
@media (min-width: 1025px) and (max-width: 1366px) {
  .carousel-caption h1 {
    font-size: 2.3em;
  }

  .carousel-caption p {
    font-size: 1.15em;
  }
}

@media (max-width: 768px) {
  /* Common section spacing for mobile */
  .hero section:not(.carousel-wrapper) {
    padding: 50px 20px;
  }

  .section-title,
  .who-are-we h1,
  .section6title h2 {
    font-size: 1.8em;
  }

  .section-underline .line {
    width: 60px;
    height: 2px;
  }

  .section-underline .icon {
    font-size: 20px;
  }

  /* Hero Section Responsiveness */
  .carousel-wrapper {
    height: 70vh;
  }

  .carousel-item {
    height: 70vh;
  }

  .carousel-caption {
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
  }

  .carousel-caption h1 {
    font-size: 2em;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .carousel-caption p {
    font-size: 1em;
    padding: 0 10px;
    margin: 15px 0;
    line-height: 1.5;
  }

  .carousel-caption a {
    padding: 12px 20px;
    font-size: 0.9em;
    margin-top: 20px;
  }

  .carousel-controls {
    bottom: 15px;
    right: 20px;
  }

  .carousel-controls button {
    font-size: 18px;
    padding: 6px 10px;
    margin: 0 3px;
  }

  .carousel-indicators {
    bottom: 20px;
    gap: 8px;
  }

  .carousel-indicators .indicator {
    width: 30px;
    height: 3px;
  }

  /* Who Are We Section */
  .who-are-we {
    padding: 50px 20px;
    min-height: auto;
  }

  .who-are-we h1 {
    margin-bottom: 30px;
  }

  .who-are-we-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .who-are-we-text {
    order: 2;
    text-align: center;
    padding: 0;
  }

  .who-are-we-text p {
    font-size: 1em;
    text-align: center;
  }

  .company-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
  }

  .highlight-item {
    padding: 15px;
    text-align: left;
  }

  .highlight-item h3 {
    font-size: 1em;
    justify-content: center;
  }

  .highlight-item p {
    font-size: 0.9em;
    text-align: center;
  }

  .cta-section {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .about-btn, .products-btn {
    padding: 12px 24px;
    font-size: 0.9em;
    width: 200px;
    text-align: center;
    margin: 0 auto;
  }

  .who-are-we-img {
    order: 1;
    max-width: 60%;
  }

  .who-are-we-img img {
    max-width: 250px;
  }

  /* Latest Products Section */
  .latest-products {
    padding: 40px 20px;
  }

  .latest-products .products-carousel-wrapper {
    padding: 20px 10px;
  }

  .latest-products .products-carousel {
    padding: 20px 5px;
    gap: 20px;
  }

  .latest-products .product-card {
    flex: 0 0 260px !important;
    min-width: 260px;
  }

  .latest-products .product-card.active {
    transform: scale(0.95) translateY(0px);
  }

  .latest-products .product-card.side {
    transform: scale(0.75) translateY(8px);
  }

  .latest-products .product-card.outer {
    transform: scale(0.55) translateY(15px);
  }

  .latest-products .product-image {
    height: 180px;
  }

  .latest-products .product-content {
    padding: 18px;
  }

  .latest-products .product-content h3 {
    font-size: 1rem;
  }

  .latest-products .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .latest-products .carousel-btn-prev {
    left: 8px;
  }

  .latest-products .carousel-btn-next {
    right: 8px;
  }

  .latest-products .view-all-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Why Choose Us Section */
  section6 {
    padding: 50px 20px;
    min-height: auto;
  }

  .section6title {
    margin-bottom: 40px;
  }

  .things {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .things-text {
    order: 2;
    text-align: left;
  }

  .custom-bullets li {
    font-size: 1em;
    text-align: left;
  }

  .things-img {
    order: 1;
    height: 250px;
    justify-content: space-between;
    gap: 15px;
  }

  .things-img img {
    width: 30%;
    max-height: 180px;
  }

  .things-img img:nth-child(1) {
    top: 0px;
  }

  .things-img img:nth-child(2) {
    top: -20px;
  }

  .things-img img:nth-child(3) {
    top: 0px;
  }
}

@media (max-width: 480px) {
  /* Common section spacing for small mobile */
  .hero section:not(.carousel-wrapper) {
    padding: 40px 15px;
  }

  .section-title,
  .who-are-we h1,
  .section6title h2 {
    font-size: 1.5em;
  }

  .section-underline .line {
    width: 50px;
    height: 2px;
  }

  .section-underline .icon {
    font-size: 18px;
  }

  .section-underline {
    margin-bottom: 30px;
  }

  /* Hero Section Mobile Optimizations */
  .carousel-wrapper {
    height: 92vh;
  }

  .carousel-item {
    height: 92vh;
  }

  .carousel-caption {
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
  }

  .carousel-caption h1 {
    font-size: 1.6em;
    margin-bottom: 10px;
    line-height: 1.1;
  }

  .carousel-caption p {
    font-size: 0.9em;
    padding: 0 5px;
    margin: 10px 0;
    line-height: 1.4;
  }

  .carousel-caption a {
    padding: 10px 16px;
    font-size: 0.85em;
    margin-top: 15px;
  }

  .carousel-controls {
    display: none; /* Hide controls on small screens */
  }

  .carousel-indicators {
    bottom: 15px;
    gap: 6px;
  }

  .carousel-indicators .indicator {
    width: 25px;
    height: 2px;
  }

  /* Who Are We Section */
  .who-are-we {
    padding: 40px 15px;
  }

  .who-are-we h1 {
    margin-bottom: 25px;
  }

  .who-are-we-content {
    gap: 25px;
  }

  .who-are-we-text p {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .who-are-we-text a {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .who-are-we-img {
    max-width: 70%;
  }

  .who-are-we-img img {
    max-width: 200px;
  }

  /* Latest Products Section */
  .latest-products {
    padding: 30px 15px;
  }

  .latest-products .products-carousel-wrapper {
    padding: 15px 5px;
  }

  .latest-products .products-carousel {
    padding: 15px 5px;
    gap: 15px;
  }

  .latest-products .product-card {
    flex: 0 0 240px !important;
    min-width: 240px;
  }

  .latest-products .product-card.active {
    transform: scale(0.9) translateY(0px);
  }

  .latest-products .product-card.side {
    transform: scale(0.7) translateY(10px);
  }

  .latest-products .product-card.outer {
    transform: scale(0.5) translateY(20px);
  }

  .latest-products .product-image {
    height: 160px;
  }

  .latest-products .product-content {
    padding: 15px;
  }

  .latest-products .product-content h3 {
    font-size: 0.9rem;
  }

  .latest-products .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .latest-products .carousel-btn-prev {
    left: 5px;
  }

  .latest-products .carousel-btn-next {
    right: 5px;
  }

  .latest-products .view-all-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Why Choose Us Section */
  section6 {
    padding: 40px 15px;
  }

  .section6title {
    margin-bottom: 30px;
  }

  .things {
    gap: 30px;
  }

  .custom-bullets li {
    font-size: 0.9em;
    padding-left: 25px;
    margin-bottom: 15px;
  }

  .custom-bullets li::before {
    font-size: 1em;
  }

  .things-img {
    height: 200px;
    gap: 12px;
  }

  .things-img img {
    width: 30%;
    max-height: 140px;
  }

  .things-img img:nth-child(2) {
    top: -15px;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
  /* Common section spacing for extra small mobile */
  .hero section:not(.carousel-wrapper) {
    padding: 30px 10px;
  }

  .section-title,
  .who-are-we h1,
  .section6title h2 {
    font-size: 1.3em;
  }

  .section-underline .line {
    width: 40px;
  }

  .section-underline .icon {
    font-size: 16px;
  }

  /* Hero Section */
  .carousel-wrapper {
    height: 55vh;
  }

  .carousel-item {
    height: 55vh;
  }

  .carousel-caption {
    padding: 10px;
  }

  .carousel-caption h1 {
    font-size: 1.4em;
    margin-bottom: 8px;
  }

  .carousel-caption p {
    font-size: 0.8em;
    margin: 8px 0;
    padding: 0;
  }

  .carousel-caption a {
    padding: 8px 12px;
    font-size: 0.8em;
    margin-top: 12px;
  }

  .carousel-indicators .indicator {
    width: 20px;
    height: 2px;
  }

  /* Who Are We Section */
  .who-are-we {
    padding: 30px 10px;
  }

  .who-are-we h1 {
    margin-bottom: 20px;
  }

  .who-are-we-content {
    gap: 20px;
  }

  .who-are-we-text p {
    font-size: 0.85em;
    margin-bottom: 15px;
  }

  .who-are-we-text a {
    padding: 8px 16px;
    font-size: 0.85em;
  }

  .who-are-we-img {
    max-width: 75%;
  }

  .who-are-we-img img {
    max-width: 180px;
  }

  /* Latest Products Section */
  .latest-products {
    padding: 25px 10px;
  }

  .latest-products .product-card {
    flex: 0 0 220px !important;
    min-width: 220px;
  }

  .latest-products .product-image {
    height: 140px;
  }

  .latest-products .product-content {
    padding: 12px;
  }

  .latest-products .product-content h3 {
    font-size: 0.85rem;
  }

  .latest-products .view-all-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Why Choose Us Section */
  section6 {
    padding: 30px 10px;
  }

  .things {
    gap: 25px;
  }

  .custom-bullets li {
    font-size: 0.85em;
    padding-left: 20px;
    margin-bottom: 12px;
  }

  .things-img {
    height: 160px;
    gap: 10px;
  }

  .things-img img {
    width: 30%;
    max-height: 110px;
  }
}

/* Mobile Landscape Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
  /* Hero Section */
  .carousel-wrapper {
    height: 90vh;
  }

  .carousel-item {
    height: 90vh;
  }

  .carousel-caption {
    padding: 8px 15px;
  }

  .carousel-caption h1 {
    font-size: 1.5em;
    margin-bottom: 5px;
  }

  .carousel-caption p {
    font-size: 0.85em;
    margin: 5px 0;
    display: none; /* Hide description in landscape to save space */
  }

  .carousel-caption a {
    padding: 6px 12px;
    font-size: 0.8em;
    margin-top: 8px;
  }

  .carousel-indicators {
    bottom: 10px;
  }

  .carousel-indicators .indicator {
    width: 25px;
    height: 2px;
  }

  /* Other sections adjustment for landscape */
  .hero section:not(.carousel-wrapper) {
    padding: 40px 20px;
  }

  .who-are-we {
    min-height: auto;
    padding: 40px 20px;
  }

  section6 {
    min-height: auto;
    padding: 40px 20px;
  }

  .things-img {
    height: 200px;
  }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .carousel-caption {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .section-title,
  .who-are-we h1,
  .section6title h2 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Scroll Optimization and Performance Improvements */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: scroll-position;
}

/* Fade-in animation for sections when scrolling */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced hover effects for product cards */
.suggest-card {
  transition: all 0.3s ease;
  will-change: transform;
}

.suggest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.suggest-card img {
  transition: transform 0.3s ease;
}

.suggest-card:hover img {
  transform: scale(1.05);
}

.blue-btn {
  transition: all 0.3s ease !important;
}

.blue-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* GPU acceleration for better performance */
.carousel-wrapper,
.who-are-we,
.latest-products,
section6 {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: nowrap; /* Prevents buttons from wrapping to new line */
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  flex: 1; /* Equal width for both buttons */
  padding: 12px 20px;
  background-color: #00ac2b;
  color: white;
  border: none;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.hero-button:hover {
  background-color: #008a22;
}

/* 🔽 Mobile: stack vertically, buttons same width */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-button {
    flex: none;
    width: 100%;
    max-width: 200px; /* Prevent very wide buttons */
    font-size: 15px;
  }
}

