/* =============================
   ⚙️ FIBRE TECH — PRODUCT DETAIL (PREMIUM THEME)
============================= */

/* 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;
}

/* 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);
}


/* =============================
   🎯 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 DETAIL SECTION
============================= */
.product-detail {
  padding: 80px 10%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(3px);
}

.product-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

/* Product Image */
.product-image {
  flex: 1;
  min-width: 340px;
  text-align: center;
}

.product-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.25);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 35px rgba(0, 123, 255, 0.35);
}

/* Product Info */
.product-info {
  flex: 2;
  color: #dbe2f0;
}

.product-info h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  border-left: 4px solid #007bff;
  padding-left: 12px;
  margin-bottom: 20px;
  text-shadow: 0 3px 14px rgba(0, 123, 255, 0.3);
}

.product-info p {
  margin-bottom: 20px;
  color: #c0c8da;
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
}

.product-info h3 {
  font-size: 1.4rem;
  color: #4da6ff;
  margin: 25px 0 10px;
}

.product-info ul {
  list-style: none;
  padding-left: 0;
}

.product-info li {
  position: relative;
  margin: 8px 0;
  padding-left: 25px;
  color: #dce5f7;
}

.product-info li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 1.1rem;
}

/* =============================
   💬 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);
  }
}

/* 📱 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 */
  }
}

/* =============================
   💎 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;
}
/* =============================
   📱 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;
  }
}
/* =====================================================
   📱 FULL PREMIUM MOBILE OPTIMIZATION — FIBRE TECH
===================================================== */

@media (max-width: 768px) {

  /* --------------------------------------
     HEADER
  -------------------------------------- */
  header {
    padding: 14px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    width: 100%;
  }

  nav a {
    margin: 0 !important;
    font-size: 1rem;
    font-weight: 600;
  }

  /* --------------------------------------
     HERO SECTION
  -------------------------------------- */
  .hero {
    padding: 90px 15px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
    line-height: 1.5;
  }

  .hero .btn {
    margin-top: 15px;
    padding: 10px 28px;
    font-size: 0.9rem;
  }

  /* --------------------------------------
     PRODUCT DETAIL WRAPPER
  -------------------------------------- */
  .product-detail {
    padding: 50px 6%;
  }

  .product-container {
    flex-direction: column;
    gap: 35px;
  }

  /* PRODUCT IMAGE */
  .product-image {
    min-width: 100%;
  }

  .product-image img {
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
  }

  /* PRODUCT INFO */
  .product-info h2 {
    font-size: 1.8rem;
    padding-left: 10px;
  }

  .product-info p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .product-info h3 {
    font-size: 1.2rem;
    margin: 20px 0 8px;
  }

  .product-info li {
    font-size: 0.95rem;
    padding-left: 22px;
  }


  /* --------------------------------------
     WHATSAPP FLOAT BUTTON
  -------------------------------------- */
  .whatsapp-float {
    bottom: 12px !important;
    right: 12px !important;
  }

  .whatsapp-float a {
    width: 48px;
    height: 48px;
  }

  .whatsapp-float a img {
    width: 22px;
    height: 22px;
  }


  /* --------------------------------------
     FOOTER (CLEAN 1-COLUMN)
  -------------------------------------- */
  footer {
    padding: 40px 8%;
  }

  .footer-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-products h3 {
    margin-bottom: 10px;
  }

  .footer-products ul {
    align-items: center;
    gap: 6px;
  }

  .footer-brand h2 {
    font-size: 1.4rem;
  }

  .footer-brand p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .footer-iso img {
    width: 110px;
    margin-bottom: 6px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    margin-top: 15px;
  }
}


