/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
  }
  
  /* Navbar */
 
.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;
  }

  /* Product Intro Section */
  .product-intro {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #004d66, #006680);
    color: white;
  }
  
  .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);
    }
  }
  
  /* 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;
  }
  
  .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: 300px;
    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;
    }
  }
  /* 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);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .product-details {
      flex-direction: column;
      text-align: center;
    }
  
    .product-image img {
      margin-top: 20px;
    }
  }/* 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);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-details {
    flex-direction: column;
    text-align: center;
  }

  .product-image img {
    margin-top: 20px;
  }
}


/* Technical Specifications Section */
.specifications {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.specifications h2 {
  font-size: 32px;
  color: #004d66;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.specifications h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #004d66;
  bottom: -10px;
  left: 25%;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.spec-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.spec-card h3 {
  color: #004d66;
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.spec-card ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

.spec-card ul li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  line-height: 1.6;
}

.spec-card ul li::before {
  content: '✓';
  color: #004d66;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .spec-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .specifications h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .specifications {
    padding: 40px 15px;
  }
  
  .spec-card {
    padding: 20px;
  }
}



/* 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);
}

/* Disable animations when user prefers reduced motion
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
} */

/* Responsive Design */
@media (max-width: 1024px) {
  .product-details {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .product-info ul li {
    justify-content: center;
  }
  
  .nav-links {
    gap: 15px;
  }
}

@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;
  }
  
  .product-intro h1 {
    font-size: 36px;
  }
  
  .product-intro p {
    font-size: 18px;
  }
  
  .product-info h2, .sub-products h2 {
    font-size: 28px;
  }
  
  .sub-product-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
}
