/* =========================================================
   Reliance Plastics – Shared Stylesheet
   ========================================================= */

/* Smooth in-page scrolling + offset for fixed header */
html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 80px;
}

/* Fade-up animation (JS adds .visible on scroll) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  background: #1ebe5c;
}
.whatsapp-float i {
  line-height: 1;
}

/* Frosted-glass navigation bar */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0a2a44 0%, #1b4a7a 100%);
}

/* WhatsApp call-to-action buttons */
.btn-wa {
  background: #25D366;
  transition: all 0.2s;
}
.btn-wa:hover {
  background: #1ebe5c;
  transform: scale(1.02);
}

/* Soft card shadow with hover lift */
.card-shadow {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}
.card-shadow:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

/* Active navigation link (applied by inline JS per page) */
.nav-link-active {
  color: #1d4ed8 !important;
  border-bottom-color: #1d4ed8 !important;
}