/* ===== JALDOOT WATER CONDITIONER - Custom Styles ===== */

/* Custom Properties */
:root {
  --primary-blue: #0066b3;
  --deep-blue: #134fa1;
  --sky-blue: #00adee;
  --leaf-green: #4db74a;
  --gray: #6d6e6f;
  --white: #ffffff;
  --light-bg: #f0f8ff;
  --dark-bg: #0a1628;
}

/* Base Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden; /* Prevent horizontal scroll globally */
  max-width: 100vw;   /* Ensure html never exceeds viewport width */
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
  max-width: 100vw;   /* Prevent body from causing horizontal scroll */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--deep-blue);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 102, 179, 0.12);
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.08);
}

/* Animated gradient accent line on top of the bar */
.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--deep-blue) 0%,
    var(--primary-blue) 25%,
    var(--sky-blue) 55%,
    var(--leaf-green) 100%
  );
  background-size: 250% 100%;
  animation: navAccent 7s linear infinite;
}

@keyframes navAccent {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 250% 0;
  }
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow:
    0 12px 40px rgba(0, 102, 179, 0.2),
    0 2px 8px rgba(10, 22, 40, 0.06);
}

/* Pill container for desktop links */
.nav-menu {
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(0, 173, 238, 0.07);
  border: 1px solid rgba(0, 102, 179, 0.08);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* Brand (logo has a white plate, so it must stay multiply-blended) */
.nav-brand img {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-brand:hover img {
  transform: scale(1.09) rotate(-1.5deg);
}

/* Nav links */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem !important;
  margin: 0 0.05rem;
  border-radius: 999px !important;
  font-family: "Outfit", "Poppins", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em;
  color: #37485c !important;
  background: transparent !important;
  overflow: hidden;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* Soft glow behind link on hover */
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(0, 173, 238, 0.28),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.nav-link:hover {
  color: var(--deep-blue) !important;
  background: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(0, 102, 179, 0.18),
    0 0 0 1px rgba(0, 173, 238, 0.35);
}

.nav-link:hover::before {
  opacity: 1;
}

/* Active / current page pill */
.nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--primary-blue) 50%,
    var(--sky-blue) 100%
  ) !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 26px rgba(0, 102, 179, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Shine sweep on the active pill */
.nav-link.active::before {
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 75%
  );
  opacity: 1;
  animation: navShine 3.6s ease-in-out infinite;
}

@keyframes navShine {
  0% {
    transform: translateX(-130%);
  }
  60%,
  100% {
    transform: translateX(130%);
  }
}

/* Gradient underline / dot indicator */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sky-blue), var(--leaf-green));
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active::after {
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.65));
}

/* Quote / CTA button */
.nav-cta {
  position: relative;
  overflow: hidden;
  font-family: "Outfit", "Poppins", sans-serif !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border-radius: 999px !important;
  box-shadow: 0 10px 26px rgba(0, 102, 179, 0.32);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 75%
  );
  transform: translateX(-130%);
  animation: navShine 4.2s ease-in-out infinite;
  pointer-events: none;
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px rgba(0, 102, 179, 0.45);
}

.nav-cta i {
  transition: transform 0.3s ease;
}

.nav-cta:hover i {
  transform: translateX(4px);
}

.mobile-nav-link {
  font-family: "Outfit", "Poppins", sans-serif !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.015em;
  color: #37485c !important;
  background: transparent !important;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
  min-width: 0;
}

.mobile-nav-link:hover {
  color: var(--deep-blue) !important;
  background: rgba(0, 173, 238, 0.12) !important;
  transform: translateX(6px);
}

.mobile-nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--primary-blue) 55%,
    var(--sky-blue) 100%
  ) !important;
  box-shadow: 0 10px 24px rgba(0, 102, 179, 0.3);
}

.mobile-nav-link i {
  color: var(--sky-blue);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav-link.active i {
  color: #ffffff;
}

/* Mobile menu CTA button */
.mobile-menu .nav-cta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure navbar inner content doesn't overflow on mobile */
@media (max-width: 640px) {
  .nav-brand img {
    max-width: 140px;
  }
  
  .hamburger {
    padding: 0.5rem !important;
  }
  
  .hamburger-line {
    width: 1.25rem !important;
  }
  
  .hamburger-line:nth-child(3) {
    width: 1rem !important;
  }
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Fully opaque: the panel must never let page content read through it. */
  background: #ffffff;
  /* Above the fixed navbar (z-index 1000) so the close button is clickable. */
  z-index: 1002;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Close (X) button inside the slide-in panel */
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--deep-blue);
  font-size: 1.05rem;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.mobile-menu-close:hover {
  background: linear-gradient(135deg, #00adee, #0066b3);
  color: #fff;
  transform: rotate(90deg);
}
.mobile-menu-close:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* ===== MOBILE MENU BACKDROP =====
   Sits under the slide-in panel (z-50) and above page content, so tapping
   the dimmed area closes the menu. */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 30, 66, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  /* Just under the panel, over the navbar and page content. */
  z-index: 1001;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Keep the backdrop out of the way on desktop, where the panel is hidden. */
@media (min-width: 1024px) {
  .mobile-menu-backdrop {
    display: none;
  }
}

/* Hamburger */
.hamburger-line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0a1628 0%,
    var(--deep-blue) 40%,
    var(--primary-blue) 70%,
    var(--sky-blue) 100%
  );
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 50%, var(--sky-blue) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, var(--sky-blue) 0.5px, transparent 0.5px);
  background-size:
    60px 60px,
    80px 80px,
    40px 40px;
}

/* Water Bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3),
    rgba(0, 173, 238, 0.1)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: floatBubble linear infinite;
}

@keyframes floatBubble {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Water Ripple */
.water-ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 173, 238, 0.3);
  animation: ripple 4s ease-out infinite;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 600px;
    height: 600px;
    opacity: 0;
  }
}

/* Wave Animation */
.wave-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.wave-svg {
  position: relative;
  width: 200%;
  height: 120px;
}

.wave-path-1 {
  animation: waveMove 8s linear infinite;
  fill: rgba(255, 255, 255, 0.3);
}

.wave-path-2 {
  animation: waveMove 6s linear infinite reverse;
  fill: rgba(255, 255, 255, 0.5);
}

.wave-path-3 {
  animation: waveMove 4s linear infinite;
  fill: rgba(255, 255, 255, 1);
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero Title Gradient */
.hero-title-gradient {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--sky-blue) 50%,
    var(--leaf-green) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-gradient {
  background: linear-gradient(90deg, var(--sky-blue), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 179, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 102, 179, 0.15);
  border-color: rgba(0, 102, 179, 0.2);
}

.glass-card-dark {
  background: rgba(19, 79, 161, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 173, 238, 0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.glass-card-dark:hover {
  background: rgba(19, 79, 161, 0.12);
  border-color: rgba(0, 173, 238, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 102, 179, 0.1);
}

/* ===== SECTION STYLES ===== */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--sky-blue),
    var(--leaf-green)
  );
  border-radius: 2px;
}

.section-title-left::after {
  left: 0;
  transform: none;
}

/* Gradient Backgrounds */
.bg-gradient-blue {
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--primary-blue) 100%
  );
}

.bg-gradient-sky {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--sky-blue) 100%
  );
}

.bg-gradient-water {
  background: linear-gradient(180deg, #f0f8ff 0%, #e0f0ff 50%, #f0f8ff 100%);
}

.bg-pattern-dots {
  background-image: radial-gradient(
    circle,
    rgba(0, 102, 179, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 179, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--sky-blue),
    var(--leaf-green)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 102, 179, 0.18);
}

.product-card:hover::before {
  opacity: 1;
}

/* ===== APPLICATION CARDS ===== */
.app-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0, 102, 179, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--sky-blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 102, 179, 0.12);
}

.app-card:hover::after {
  transform: scaleX(1);
}

/* ===== FEATURE LIST ===== */
.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.feature-check .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--leaf-green), #3da83a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===== STATS COUNTER ===== */
.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BEFORE/AFTER ===== */
.before-after-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.before-after-card.after {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.before-after-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== TECH PROCESS STEPS ===== */
.process-step {
  position: relative;
  padding-left: 3rem;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky-blue), rgba(0, 173, 238, 0.2));
}

.process-step:last-child::before {
  display: none;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 1;
}

/* ===== SPECIFICATIONS TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 179, 0.15);
}

.spec-table thead th {
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  color: var(--white);
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-align: left;
}

.spec-table tbody td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(0, 102, 179, 0.08);
}

.spec-table tbody tr:nth-child(even) {
  background: rgba(0, 102, 179, 0.03);
}

.spec-table tbody tr:hover {
  background: rgba(0, 102, 179, 0.06);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== CONTACT FORM ===== */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid rgba(0, 102, 179, 0.15);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 4px rgba(0, 173, 238, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--deep-blue);
  font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-blue), var(--primary-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 179, 0.35);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--leaf-green), #3da83a);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 183, 74, 0.35);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.float-btn .tooltip {
  position: absolute;
  right: 62px;
  background: #333;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.float-btn:hover .tooltip {
  opacity: 1;
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.call {
  background: var(--primary-blue);
}

.float-btn.back-to-top {
  background: var(--deep-blue);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.float-btn.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #0a1628 0%, #091220 100%);
  color: rgba(255, 255, 255, 0.7);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.footer-link:hover {
  color: var(--sky-blue);
  transform: translateX(4px);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delay Classes */
.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}
.delay-600 {
  transition-delay: 0.6s;
}

/* ===== WATER DROP ICON ===== */
.water-drop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 173, 238, 0.1),
    rgba(0, 102, 179, 0.1)
  );
  border-radius: 50%;
  margin-bottom: 1rem;
}

.water-drop-sm {
  width: 44px;
  height: 44px;
}

/* ===== CERTIFICATION BADGE ===== */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(77, 183, 74, 0.1),
    rgba(77, 183, 74, 0.05)
  );
  border: 1px solid rgba(77, 183, 74, 0.3);
  border-radius: 50px;
  color: var(--leaf-green);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ===== TABS ===== */
.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 50px;
  background: rgba(0, 102, 179, 0.05);
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
  color: var(--white);
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT CARDS ===== */
.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 102, 179, 0.08);
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 102, 179, 0.12);
  border-color: rgba(0, 173, 238, 0.3);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  background: linear-gradient(
    135deg,
    #0a1628 0%,
    var(--deep-blue) 50%,
    var(--primary-blue) 100%
  );
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 173, 238, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(77, 183, 74, 0.1) 0%,
      transparent 50%
    );
}

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid rgba(0, 102, 179, 0.1);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(0, 102, 179, 0.2);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--deep-blue);
  font-size: 1rem;
  text-align: left;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(0, 102, 179, 0.03);
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-header .arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(0, 102, 179, 0.02);
}

.accordion-item.open .accordion-body {
  max-height: 2000px;
}

.accordion-body-inner {
  padding: 0 1.5rem 1.5rem;
}

/* ===== ICON BADGE ===== */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.pulse-ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulse-ring 2s ease-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }

  .hero-title-gradient {
    font-size: 2.5rem !important;
  }

  .spec-table {
    font-size: 0.85rem;
  }

  .spec-table thead th,
  .spec-table tbody td {
    padding: 0.625rem 0.875rem;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .float-btn .tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title-gradient {
    font-size: 2rem !important;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ===== SOLAR PRODUCT SECTION ===== */
.solar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(
    135deg,
    rgba(77, 183, 74, 0.15),
    rgba(77, 183, 74, 0.05)
  );
  border: 1px solid rgba(77, 183, 74, 0.3);
  border-radius: 50px;
  color: var(--leaf-green);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
  background: linear-gradient(
    135deg,
    rgba(0, 173, 238, 0.08),
    rgba(0, 102, 179, 0.08)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--primary-blue);
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

/* ===== HERO BREADCRUMB =====
   One shared rule for every inner page (index.html has no breadcrumb).
   The wrapper is pinned to the exact geometric centre of the hero image and
   the pill is solid white so the black text stays legible over both the light
   banner image and the dark gradient heroes. */
.hero-crumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 2rem);
}
.hero-crumb .hero-breadcrumb {
  pointer-events: auto;
}
.hero-breadcrumb {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
  line-height: 1.2;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.18);
  white-space: nowrap;
}
.hero-breadcrumb a {
  color: #4a5568;
  transition: color 0.2s ease;
}
.hero-breadcrumb a:hover {
  color: #000000;
}
.hero-breadcrumb .hero-crumb-sep {
  color: #9aa5b1;
  font-size: 0.75rem;
}
.hero-breadcrumb .hero-crumb-current {
  color: #000000;
  font-weight: 600;
}
@media (max-width: 480px) {
  .hero-breadcrumb {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .floating-buttons,
  .mobile-menu {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    color: #000;
  }
}

/* Hindi font support - applied to all text, but Font Awesome icon
   elements are excluded so their glyph font is not overridden. */
html[lang="hi"] {
  font-family: "Noto Sans Devanagari", sans-serif !important;
}
html[lang="hi"] *:not(.fa):not(.fas):not(.far):not(.fab):not(.fad):not(.fal):not([class^="fa-"]):not([class*=" fa-"]) {
  font-family: "Noto Sans Devanagari", sans-serif !important;
}
.cta-kit-img {
  mix-blend-mode: multiply;
}

div#langMenu.absolute::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 24px;
  right: 0;
  height: 12px;
  pointer-events: auto;
}