/* Extra Custom CSS on top of Tailwind */

/* Smooth transitions */
nav a, .cta-btn {
  transition: all 0.3s ease-in-out;
}

/* Sticky header shadow effect */
header.sticky-active {
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  background: #0f0f14f2; /* semi-transparent dark */
  backdrop-filter: blur(8px);
}

/* Mobile menu slide down animation */
#mobile-menu {
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
#mobile-menu.active {
  max-height: 400px;
  opacity: 1;
}

/* CTA buttons */
.cta-btn {
  font-weight: 600;
  background: #3b82f6; /* blue-500 */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: inline-block;
  margin-top: 1rem;
}
.cta-btn:hover {
  background: #2563eb; /* blue-600 */
  transform: scale(1.05);
}

/* Product Cards Hover Effect */
.shadow-lg:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

/* Modal base */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-content {
  background: #1f2937; /* bg-gray-900 */
  border-radius: 1rem;
  max-width: 40rem;
  width: 90%;
  max-height: 80vh;
  padding: 1.5rem;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #9ca3af; /* gray-400 */
  background: none;
  border: none;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* Horizontal gallery inside modal */
.modal-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.modal-gallery img {
  flex-shrink: 0;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}
/* Hide scrollbar */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth scroll */
#carousel {
  scroll-behavior: smooth;
}
html {
  scroll-behavior: smooth;
}
/* Featured Products Card Enhancements */
main > div.bg-gray-900 {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

main > div.bg-gray-900:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 30px rgba(59, 130, 246, 0.3); /* blue shadow on hover */
}

/* Product image hover zoom */
main img {
  transition: transform 0.4s ease;
}

main img:hover {
  transform: scale(1.05);
}

/* Learn More button hover effect */
.cta-btn {
  transition: all 0.3s ease-in-out;
}

.cta-btn:hover {
  transform: scale(1.05);
  background: #1e40af; /* slightly darker blue-700 */
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Product title and specs spacing */
main h2 {
  margin-bottom: 0.5rem;
}

main ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  main > div.bg-gray-900 {
    flex-direction: column !important;
    text-align: center;
  }

  main > div.bg-gray-900 div.md\:w-1/2 {
    width: 100% !important;
  }
}
/* Floating animation for product */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Slow pulsing background circles */
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.1; }
}
.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}
.newsletter-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 40px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #007BFF, #00C6FF);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
}

.newsletter-container h2 {
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 600;
}

.newsletter-container p {
  margin-bottom: 25px;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 14px 20px;
  background-color: #fff;
  color: #007BFF;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e6e6e6;
}

.response-message {
  margin-top: 15px;
  font-weight: bold;
}
.footer {
  background-color: #007BFF;
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00C6FF;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* White icons */
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(0) invert(0.7);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }
}