/* 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;
  }

  /* 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);
    }
  }
  
  /* 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);
  }
  
  /* 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: 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: 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;
  }
}


[data-aos] {
  will-change: opacity, transform;
  backface-visibility: hidden;
  perspective: 1000px;
  transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-aos="fade"] {
  opacity: 0;
  transition-property: opacity;
}

[data-aos="fade"].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-aos="fade-down"] {
  opacity: 0;
  transform: translateY(-30px);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
}

[data-aos^="fade"][data-aos^="fade"].aos-animate {
  opacity: 1;
  transform: translate(0);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.6);
}

[data-aos="zoom-out"] {
  opacity: 0;
  transform: scale(1.2);
}

[data-aos^="zoom"][data-aos^="zoom"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

[data-aos="flip-left"] {
  transform: perspective(1000px) rotateY(-100deg);
  opacity: 0;
}

[data-aos="flip-right"] {
  transform: perspective(1000px) rotateY(100deg);
  opacity: 0;
}

[data-aos^="flip"][data-aos^="flip"].aos-animate {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}
