/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
  }
  
 
.navbar {
  background-color: white;
  color: #004d66;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: 0;
  width: 100%;
  max-width: 100%; /* Ensures it doesn't exceed viewport width */
  box-sizing: border-box; /* Includes padding in width calculation */
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* overflow-x: hidden; Prevents horizontal scrolling */
}

  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #004d66; /* Changed to match navbar text color */
  }
  
  .logo img {
    height: 90px;
    width: 90px; /* Adjust as needed */
    margin-right: 10px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 2rem;
    position: relative;
  }
  
  .nav-links a {
    color: #004d66; /* Changed to original navbar color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
  }
  
  .nav-links a:hover {
    color: #ffa726; /* Changed hover color to match original logo color */
  }
  /* Dropdown Menu */
  .dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 0.5rem 0;
  z-index: 1;
  top: 100%;
  left: 0;
  }
  
  .dropdown:hover .dropdown-menu {
  display: block;
  }
  
  .dropdown-menu li {
  margin: 0;
  padding: 0;
  }
  
  .dropdown-menu a {
  color: #333;
  padding: 0.75rem 1rem;
  display: block;
  transition: background-color 0.3s ease;
  }
  
  .dropdown-menu a:hover {
  background-color: #f0f0f0;
  color: #004d66;
  }

  
  /* Tableware Product Page Styles */
  .product-intro {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #004d66, #006680);
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .product-intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .product-intro p {
    font-size: 20px;
    animation: fadeIn 2s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Product Details Section */
  .product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 1;
  }
  
  .product-info {
    flex: 1;
  }
  
  .product-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #004d66;
    font-weight: 700;
  }
  
  .product-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .product-info ul {
    list-style: none;
    padding: 0;
  }
  
  .product-info ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .product-info ul li strong {
    color: #004d66;
    margin-right: 10px;
  }
  
  .product-image {
    flex: 1;
    text-align: center;
  }
  
  .product-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }
  
  @media (max-width: 768px) {
    .product-details {
      flex-direction: column;
    }
  
    .security-compliance ul, .import-export ul {
      flex-direction: column;
    }
  } 
  
  .footer {
    background-color: #004d66;
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #ffd700; /* Golden color for hover */
  }
  
  .footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      padding: 15px;
      align-items: center; /* Center all navbar content */
    }
  
    .nav-links {
      flex-direction: column;
      width: 100%;
      margin-top: 15px;
      align-items: center; /* Center the nav items */
      padding: 0;
    }
  
    .nav-links li {
      margin: 10px 0;
      width: 100%; /* Full width for better touch targets */
      text-align: center; /* Center the text */
    } 
    .dropdown-menu {
      position: static;
      display: none;
      width: 100%;
      box-shadow: none;
    }
    
    .dropdown:hover .dropdown-menu {
      display: block;
    }
    
    .home-intro h1 {
      font-size: 32px;
    }
  
    .home-intro p {
      font-size: 18px;
    }
  
    .category-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  /* Sub-Products Section */
.sub-products {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .sub-products h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #004d66;
    font-weight: 700;
  }
  
  .sub-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .sub-product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .sub-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }
  
  .sub-product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .sub-product-card:hover .sub-product-image img {
    transform: scale(1.1);
  }
  
  .sub-product-info {
    padding: 20px;
    text-align: left;
  }
  
  .sub-product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #004d66;
  }
  
  .sub-product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }
  
  .sub-product-info p strong {
    color: #004d66;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .sub-product-grid {
      grid-template-columns: 1fr;
    }
  }
  
/* Scroll Animation Styles */
[data-aos] {
  will-change: opacity, transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Fade animations */
[data-aos="fade"] {
  opacity: 0;
  transition-property: opacity;
}

[data-aos="fade"].aos-animate {
  opacity: 1;
}

/* Fade with movement */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition-property: opacity, transform;
}

[data-aos="fade-down"] {
  opacity: 0;
  transform: translateY(-50px);
  transition-property: opacity, transform;
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(50px);
  transition-property: opacity, transform;
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-50px);
  transition-property: opacity, transform;
}

[data-aos^="fade"][data-aos^="fade"].aos-animate {
  opacity: 1;
  transform: translate(0);
}

/* Zoom animations */
[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.6);
  transition-property: opacity, transform;
}

[data-aos="zoom-out"] {
  opacity: 0;
  transform: scale(1.2);
  transition-property: opacity, transform;
}

[data-aos^="zoom"][data-aos^="zoom"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Flip animations */
[data-aos="flip-left"] {
  transform: perspective(1000px) rotateY(-100deg);
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos="flip-right"] {
  transform: perspective(1000px) rotateY(100deg);
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos^="flip"][data-aos^="flip"].aos-animate {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

/* Custom timing */
[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

@media (max-width: 768px) {
  /* Disable complex animations but keep basic fade effects */
  [data-aos^="fade"][data-aos^="fade"] {
    opacity: 0;
    transition-property: opacity;
  }
  
  [data-aos^="fade"][data-aos^="fade"].aos-animate {
    opacity: 1;
    transform: none !important;
  }
  
  /* Disable all other animations on mobile */
  [data-aos]:not([data-aos^="fade"]) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Keep the overlay animations working */
  .category-overlay {
    transition: opacity 0.4s ease !important;
  }
  
  /* Ensure hover states still work */
  .category-item:hover .category-image {
    transform: none;
  }
  
  .category-item:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 77, 102, 0.1);
  }
}

/* Add this to your existing animation styles */
/* Add this to your base styles */
html {
  scroll-behavior: smooth;
}

/* Keep your existing animation styles */
[data-aos] {
  transition: all 0.8s ease;
}

Add this to prevent animation flash
.no-animations [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
} */

[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"] {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

  @media (max-width: 768px) {
   .navbar {
    flex-direction: column;
    padding: 15px;
    align-items: center; /* Center all navbar content */
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    align-items: center; /* Center the nav items */
    padding: 0;
  }

  .nav-links li {
    margin: 10px 0;
    width: 100%; /* Full width for better touch targets */
    text-align: center; /* Center the text */
  }
  
  
    .dropdown-menu {
      position: relative;
      width: 100%;
      box-shadow: none;
    }
  
    .home-intro h1 {
      font-size: 32px;
    }
  
    .home-intro p {
      font-size: 18px;
    }
  
    .category-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 10px;
    }
  }
 


/* Add this to your existing media queries */
/* @media (max-width: 768px) {
  [data-aos] {
    /* Disable animations on mobile if needed */
    /* opacity: 1 !important;
    transform: none !important;
  }
} */ */

/* Add this to your existing animation styles */
/* Add this to your base styles */
html {
  scroll-behavior: smooth;
}

/* Keep your existing animation styles */
[data-aos] {
  transition: all 0.8s ease;
}

/* Add this to prevent animation flash */
.no-animations [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"] {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}




/* Mobile Animation Fixes */
@media (max-width: 768px) {
  /* Disable complex animations but keep basic fade effects */
  [data-aos^="fade"][data-aos^="fade"] {
    opacity: 0;
    transition-property: opacity;
  }
  
  [data-aos^="fade"][data-aos^="fade"].aos-animate {
    opacity: 1;
    transform: none !important;
  }
  
  /* Disable all other animations on mobile */
  [data-aos]:not([data-aos^="fade"]) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Keep the overlay animations working */
  .category-overlay {
    transition: opacity 0.4s ease !important;
  }
  
  /* Ensure hover states still work */
  .category-item:hover .category-image {
    transform: none;
  }
  
  .category-item:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 77, 102, 0.1);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .category-image, 
  .category-item,
  .category-overlay {
    transition: none !important;
  }
}




