
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #cfd8e3;
  background: linear-gradient(180deg, #0a0f1c 0%, #0e1628 100%);
  line-height: 1.7;
   overflow-x: hidden;
}

/* HEADER */
header {
  background: rgba(0, 36, 90, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

nav a {
  color: #dbe9ff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #00aaff;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
}

@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.2rem;
        flex-shrink: 0; /* stop shrinking */
    }

    .nav-menu {
        display: flex;
        gap: 16px;
        flex-shrink: 0; /* prevent squeezing */
    }

    .nav-menu a {
        font-size: 0.9rem;
        white-space: nowrap; /* keep text in one line */
    }
}


/* =============================
   🎯 HERO SECTION — GLASS EFFECT
============================= */
.hero {
  position: relative;
  background: url("herobannerproduct.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  overflow: hidden;
}

/* ✨ Glass + Gradient Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 70, 160, 0.55),
    rgba(0, 40, 90, 0.65)
  );
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: glassFlow 8s ease-in-out infinite alternate;
  z-index: 1;
  box-shadow: inset 0 0 80px rgba(0, 123, 255, 0.25);
}

/* Subtle light reflection sweeping effect */
@keyframes glassFlow {
  0% {
    background: linear-gradient(
      120deg,
      rgba(0, 70, 160, 0.55),
      rgba(0, 40, 90, 0.65)
    );
  }
  100% {
    background: linear-gradient(
      120deg,
      rgba(0, 40, 90, 0.6),
      rgba(0, 70, 160, 0.55)
    );
  }
}

/* Overlay text layer */
.hero-overlay {
  position: relative;
  z-index: 2;
}

/* Hero text */
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #b0d4ff, #66a8ff, #004aad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 74, 173, 0.4);
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.25rem;
  color: #e2e9f5;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Optional: call-to-action button */
.hero .btn {
  display: inline-block;
  background: rgba(0, 123, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 12px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.25);
}

.hero .btn:hover {
  background: rgba(0, 123, 255, 0.35);
  box-shadow: 0 6px 22px rgba(0, 123, 255, 0.45);
  transform: translateY(-2px);
}


/* =============================
   🪄 PRODUCT GRID (Premium)
============================= */
.products {
  padding: 80px 8%;
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

.section-title {
  font-size: 2.2rem;
  color: #002b80;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #004aad;
  display: block;
  margin: 10px auto 0;
  border-radius: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Premium Card */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 35px rgba(0, 91, 255, 0.2);
}

/* Dual image transition */
.image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.img-back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .img-front {
  opacity: 0;
  transform: scale(1.05);
}

.product-card:hover .img-back {
  opacity: 1;
  transform: scale(1.1);
}

.product-card h3 {
  margin: 20px 0 8px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #004aad;
  text-align: center;
}

.product-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
  padding: 0 20px 25px;
}

/* Scroll fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }



/* =============================
   💬 WHATSAPP FLOAT - FINAL FIX
============================= */
.whatsapp-float {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

/* Floating Button */
.whatsapp-float a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1fa855 0%, #0d4525 100%);
  box-shadow: 0 0 18px rgba(31, 168, 85, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bouncePulse 2.8s infinite ease-in-out;
}

/* WhatsApp Icon */
.whatsapp-float a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Hover Effect */
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(31, 168, 85, 0.6);
}

/* Label Tooltip */
.whatsapp-label {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #0d4525;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Animation */
@keyframes bouncePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(31, 168, 85, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(31, 168, 85, 0.5);
  }
}

/* =============================
   💎 PREMIUM FOOTER STYLE
============================= */
footer {
  background: #001d40;
  color: #dbe2f7;
  padding: 60px 10%;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

/* Left: Our Products */
.footer-products h3 {
  color: #00aaff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.footer-products ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-products li {
  margin-bottom: 6px;
}

.footer-products a {
  color: #cfd8e3;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-products a:hover {
  color: #00aaff;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

/* Center: Brand */
.footer-brand {
  text-align: center;
  flex: 1;
}

.footer-brand h2 {
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.footer-brand p {
  color: #b9c7e6;
  font-size: 1rem;
  line-height: 1.6;
}

/* Right: ISO */
.footer-iso {
  text-align: right;
}

.footer-iso img {
  width: 150px;
  filter: drop-shadow(0 0 10px rgba(0, 170, 255, 0.3));
}

.footer-iso p {
  color: #9db2d4;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* Bottom line */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 18px;
  color: #90a4c6;
  font-size: 0.9rem;
}
/* ============================================
   📱 UNIVERSAL MOBILE RESPONSIVE FIXES
=============================================== */

/* 🔹 Extra support for header on all mobiles */
@media (max-width: 768px) {
  header {
    padding: 12px 18px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .logo {
    font-size: 1.3rem !important;
    flex-shrink: 0;
  }

  nav {
    display: flex;
    gap: 14px;
  }

  nav a {
    margin: 0 !important;
    font-size: 0.95rem !important;
    white-space: nowrap; /* Prevent cutting off */
  }
}

/* 🔹 Very small phones: prevent nav overflow */
@media (max-width: 480px) {
  header {
    padding: 10px 14px !important;
  }

  .logo {
    font-size: 1.15rem !important;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 0.85rem !important;
  }
}

/* ============================================
   🎯 HERO SECTION FIXES
=============================================== */

@media (max-width: 768px) {
  .hero {
    padding: 85px 15px 70px !important;
    background-size: cover !important;
  }

  /* Reduce glass intensity */
  .hero::before {
    background: rgba(0, 40, 90, 0.55) !important;
    backdrop-filter: blur(6px) !important;
  }

  .hero h1 {
    font-size: 1.9rem !important;
  }

  .hero p {
    font-size: 1rem !important;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem !important;
  }

  .hero p {
    font-size: 0.9rem !important;
  }

  .hero .btn {
    font-size: 0.8rem !important;
    padding: 8px 20px !important;
  }
}

/* ============================================
   🏬 PRODUCT GRID ON SMALL SCREENS
=============================================== */

@media (max-width: 768px) {
  .products {
    padding: 50px 6% !important;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 25px !important;
  }

  .product-card h3 {
    font-size: 1.15rem !important;
  }

  .product-card p {
    font-size: 0.95rem !important;
    padding: 0 12px 18px !important;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .image-container {
    height: 200px !important;
  }
}

/* ============================================
   🟢 WHATSAPP BUTTON — works on all screens
=============================================== */
/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 10px !important;
    right: 10px !important;
  }

  .whatsapp-float a {
    width: 48px;
    height: 48px;
    box-shadow: 0 0 10px rgba(31, 168, 85, 0.3);
  }

  .whatsapp-float a img {
    width: 22px;
    height: 22px;
  }

  .whatsapp-label {
    display: none; /* hide label on small screens */
  }
}
/* =============================
   📱 CLEAN & COMPACT MOBILE FOOTER (1-Column for Long Names)
============================= */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    padding: 25px 15px;
  }

  /* --- Our Products --- */
  .footer-products {
    width: 100%;
    padding: 12px 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-products h3 {
    font-size: 1.2rem;
    color: #00aaff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  .footer-products ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    gap: 8px;
  }

  .footer-products li {
    margin: 0;
  }

  .footer-products a {
    font-size: 0.95rem;
    color: #cfdaf0;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    line-height: 1.4;
  }

  .footer-products a:hover {
    color: #00aaff;
    text-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
  }

  /* --- Brand Section --- */
  .footer-brand {
    padding: 10px 0 5px;
  }

  .footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
  }

  .footer-brand p {
    font-size: 0.9rem;
    color: #b6c6e6;
    padding: 0 10px;
    line-height: 1.45;
    max-width: 320px;
    margin: 0 auto;
  }

  /* --- ISO Section --- */
  .footer-iso {
    text-align: center;
    padding-top: 8px;
  }

  .footer-iso img {
    width: 100px;
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 0 6px rgba(0, 170, 255, 0.3));
  }

  .footer-iso p {
    font-size: 0.85rem;
    color: #9bb3da;
    line-height: 1.4;
  }

  /* --- Footer Bottom --- */
  .footer-bottom {
    font-size: 0.8rem;
    color: #8fa8d0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 18px;
    text-align: center;
  }
}





