/* AquaSoft — Common styles | Water-themed SaaS UI */

:root {
  --primary: #42c3ff;
  --secondary: #5adfff;
  --accent: #9cffed;
  --deep-blue: #0a6e9e;
  --wave-blue: #2bb3f3;
  --white: #ffffff;
  --light-bg: #f4fbff;
  --border: #e4f3fb;
  --text: #243642;
  --gradient-water: linear-gradient(135deg, #42c3ff 0%, #5adfff 45%, #9cffed 100%);
  --gradient-hero: linear-gradient(160deg, #0a6e9e 0%, #2bb3f3 40%, #42c3ff 70%, #9cffed 100%);
  --shadow-soft: 0 12px 40px rgba(10, 110, 158, 0.12);
  --shadow-card: 0 8px 32px rgba(66, 195, 255, 0.15);
  /* Taller bar so 612×408 (3:2) logo scales clearly without squashing */
  --nav-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--light-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--deep-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--wave-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ——— Hero & navbar waves (seamless marquee = ocean surface motion, GPU-friendly) ——— */
.wave-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(140px, 22vw, 200px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-wave-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: max-content;
}

.hero-wave-layer-a {
  animation: hero-wave-scroll 22s linear infinite;
}

.hero-wave-layer-b {
  bottom: -6px;
  opacity: 0.88;
  animation: hero-wave-scroll 32s linear infinite reverse;
}

.hero-wave-layer-c {
  bottom: -14px;
  opacity: 0.72;
  animation: hero-wave-scroll 40s linear infinite;
}

.hero-wave-svg {
  width: min(1440px, 200vw);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.hero-wave-shallow {
  width: min(1440px, 200vw);
}

@keyframes hero-wave-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-wave-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-wave-layer::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(156, 255, 237, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(90, 223, 255, 0.25) 0%, transparent 45%);
  animation: water-shimmer 8s ease-in-out infinite;
}

@keyframes water-shimmer {
  0%,
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
  50% {
    opacity: 0.85;
    transform: translate(2%, -1%);
  }
}

.hero-caustics {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% 100%, rgba(255, 255, 255, 0.45) 0%, transparent 52%),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 48px,
      rgba(255, 255, 255, 0.04) 48px,
      rgba(255, 255, 255, 0.04) 96px
    );
  mix-blend-mode: soft-light;
  animation: caustic-drift 14s ease-in-out infinite;
}

@keyframes caustic-drift {
  0%,
  100% {
    opacity: 0.24;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.32;
    transform: translate3d(1.5%, -0.5%, 0);
  }
}

.hero-ripple-surface {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-splash-ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 65%);
  transform: translate(-50%, -50%) scale(0.15);
  animation: hero-splash-expand 1.1s ease-out forwards;
  pointer-events: none;
}

@keyframes hero-splash-expand {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ——— Bubbles ——— */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.bubbles-soft {
  opacity: 0.45;
}

.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(156, 255, 237, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float-up linear infinite;
  opacity: 0.7;
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(20px) scale(0.6);
    opacity: 0;
  }
}

/* ——— Navbar ——— */
.navbar-aquasoft {
  min-height: var(--nav-height);
  padding: 0.65rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  z-index: 1040;
}

.navbar-aquasoft.transparent-top {
  background: rgba(244, 251, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

.navbar-aquasoft.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(10, 110, 158, 0.1);
}

/* Logo asset is 612×408 — keep that ratio in HTML attrs; size display here only */
.navbar-aquasoft .navbar-brand img.logo-nav {
  transition: transform 0.3s ease;
  height: clamp(62px, 13vw, 86px);
  width: auto;
  max-width: min(290px, 70vw);
  object-fit: contain;
}

.navbar-aquasoft .navbar-brand:hover img.logo-nav {
  transform: scale(1.02);
}

.site-footer img.logo-footer {
  height: clamp(56px, 11vw, 74px);
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.navbar-aquasoft .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.navbar-aquasoft.transparent-top .nav-link {
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.navbar-aquasoft.transparent-top .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.navbar-aquasoft.transparent-top .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-aquasoft .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 3px;
  background: var(--gradient-water);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  clip-path: polygon(0 40%, 15% 0, 30% 40%, 45% 10%, 60% 45%, 75% 15%, 90% 42%, 100% 30%, 100% 100%, 0 100%);
}

.navbar-aquasoft .nav-link:not(.dropdown-toggle):hover::after,
.navbar-aquasoft .nav-link:not(.dropdown-toggle).active::after {
  transform: scaleX(1);
}

.navbar-aquasoft .nav-link.active {
  color: var(--deep-blue) !important;
}

.navbar-aquasoft.transparent-top .nav-link.active {
  color: var(--accent) !important;
}

.navbar-aquasoft .dropdown-menu {
  z-index: 1050;
  margin-top: 0.35rem;
  padding: 0.4rem 0;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  min-width: 12rem;
}

.navbar-aquasoft .dropdown-item {
  padding: 0.5rem 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.navbar-aquasoft .dropdown-item:hover,
.navbar-aquasoft .dropdown-item:focus {
  background: rgba(66, 195, 255, 0.14);
  color: var(--deep-blue);
}

.navbar-aquasoft .dropdown-item.active {
  background: rgba(66, 195, 255, 0.18);
  color: var(--deep-blue);
}

.navbar-aquasoft .nav-link.dropdown-toggle.active {
  color: var(--deep-blue) !important;
}

.navbar-aquasoft.transparent-top .nav-link.dropdown-toggle.active {
  color: var(--accent) !important;
}

@media (max-width: 991.98px) {
  .navbar-aquasoft .navbar-nav .dropdown-menu {
    margin-top: 0;
    margin-left: 0.5rem;
    margin-bottom: 0.25rem;
    padding: 0.35rem 0;
    border-radius: 8px;
    box-shadow: none;
    background: rgba(10, 110, 158, 0.06);
    border-left: 3px solid rgba(66, 195, 255, 0.45);
  }

  .navbar-aquasoft .navbar-nav .nav-item.dropdown {
    width: 100%;
  }

  .navbar-aquasoft .navbar-nav .dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .navbar-aquasoft .navbar-nav .dropdown-menu {
    position: static !important;
    transform: none !important;
  }
}

/* ——— White header + floating bubbles + bottom waves ——— */
.navbar-aquasoft.navbar-water-header,
.navbar-aquasoft.navbar-water-header.scrolled {
  /* fixed-top must stay fixed — do not use position:relative here (it overrides Bootstrap and breaks sticky bar) */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  background: var(--white) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 24px rgba(10, 110, 158, 0.1);
  border-bottom: 1px solid rgba(66, 195, 255, 0.22);
  /* visible so dropdown menus are not clipped; decor uses its own overflow */
  overflow: visible;
  padding-bottom: 0.85rem;
  animation: nav-bar-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nav-bar-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-aquasoft.navbar-water-header .navbar-water-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.navbar-aquasoft.navbar-water-header .navbar-water-decor > .bubbles {
  inset: 0;
  z-index: 1;
}

.navbar-aquasoft.navbar-water-header .navbar-water-decor .bubble {
  animation-name: float-up-navbar;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  bottom: -6px;
  background: radial-gradient(circle at 30% 30%, rgba(66, 195, 255, 0.35), rgba(156, 255, 237, 0.28));
  border: 1px solid rgba(66, 195, 255, 0.22);
}

@keyframes float-up-navbar {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 0.7;
  }
  88% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-92px) translateX(10px) scale(0.55);
    opacity: 0;
  }
}

.navbar-aquasoft.navbar-water-header .navbar-nav-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nav-wave-marquee {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  width: max-content;
  height: 32px;
}

.nav-wave-marquee svg {
  width: 720px;
  min-width: 720px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.nav-wave-marquee-1 {
  animation: nav-wave-scroll 20s linear infinite;
}

.nav-wave-marquee-2 {
  opacity: 0.72;
  animation: nav-wave-scroll 28s linear infinite reverse;
}

@keyframes nav-wave-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.navbar-aquasoft.navbar-water-header .container,
.navbar-aquasoft.navbar-water-header .navbar-collapse {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.navbar-aquasoft.navbar-water-header .nav-item.dropdown {
  position: relative;
  z-index: 20;
}

.navbar-aquasoft.navbar-water-header .dropdown-menu {
  z-index: 1070;
}

.btn-demo-nav {
  background: var(--gradient-water);
  border: none;
  color: var(--deep-blue) !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(66, 195, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-demo-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(66, 195, 255, 0.55);
  color: var(--deep-blue) !important;
}

/* ——— Buttons ——— */
.btn-aqua-primary {
  background: var(--gradient-water);
  color: var(--deep-blue);
  font-weight: 600;
  border: none;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-aqua-primary:hover {
  transform: translateY(-2px);
  color: var(--deep-blue);
  box-shadow: 0 12px 36px rgba(43, 179, 243, 0.35);
}

.btn-aqua-primary:focus-visible,
.btn-aqua-outline:focus-visible,
.btn-aqua-secondary:focus-visible,
.btn-demo-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-aqua-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1.65rem;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.btn-aqua-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-aqua-secondary {
  background: var(--white);
  color: var(--deep-blue);
  font-weight: 600;
  border: 2px solid var(--border);
  padding: 0.6rem 1.65rem;
  border-radius: 50px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-aqua-secondary:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
  color: var(--deep-blue);
  transform: translateY(-2px);
}

/* ——— Sections ——— */
.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-title {
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text);
  opacity: 0.88;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light-aqua {
  background: linear-gradient(180deg, var(--light-bg) 0%, #e8f7fc 100%);
}

.bg-white-soft {
  background: var(--white);
}

.heading-aqua {
  color: var(--deep-blue);
}

.glass-module-row {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 251, 255, 0.75) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(10, 110, 158, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.glass-module-row:hover {
  border-color: rgba(66, 195, 255, 0.4);
  box-shadow: 0 8px 28px rgba(66, 195, 255, 0.1);
}

.icon-wave-aqua {
  color: var(--wave-blue) !important;
}

.blog-thumb {
  object-fit: cover;
  max-height: 200px;
}

.card-aqua-border {
  border: 1px solid var(--border) !important;
}

.footer-icon-accent {
  color: var(--accent);
}

.logo-footer-invert {
  filter: brightness(0) invert(1);
}

/* ——— Hero ——— */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-section-compact {
  min-height: 70vh;
  padding-bottom: 4rem;
}

.hero-container-z {
  z-index: 3;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  color: var(--white);
}

.hero-content h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.95);
}

.hero-image-wrap {
  position: relative;
  animation: hero-float 6s ease-in-out infinite;
}

.hero-glass-frame {
  padding: 0.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 48px rgba(6, 61, 90, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-glass-frame img {
  border-radius: 1rem;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(156, 255, 237, 0.4), rgba(66, 195, 255, 0.2));
  z-index: -1;
  filter: blur(20px);
  animation: ripple-glow 4s ease-in-out infinite;
}

@keyframes ripple-glow {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.hero-fade {
  animation: fade-in-up 1s ease forwards;
  opacity: 0;
}

.hero-fade.delay-1 {
  animation-delay: 0.15s;
}

.hero-fade.delay-2 {
  animation-delay: 0.3s;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Cards ——— */
.card-lift {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(66, 195, 255, 0.35);
}

.card-challenge {
  background: linear-gradient(145deg, #e8f7fc 0%, var(--white) 100%);
  border: 1px solid var(--border);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.icon-wrap.c1 {
  background: linear-gradient(135deg, #42c3ff, #9cffed);
  color: var(--deep-blue);
}
.icon-wrap.c2 {
  background: linear-gradient(135deg, #ff9ecd, #ffb8d9);
  color: #8b2252;
}
.icon-wrap.c3 {
  background: linear-gradient(135deg, #a8e6cf, #7fdbda);
  color: #0a5c4a;
}
.icon-wrap.c4 {
  background: linear-gradient(135deg, #ffd93d, #ff9a3c);
  color: #8b4513;
}
.icon-wrap.c5 {
  background: linear-gradient(135deg, #c9b1ff, #9d8cff);
  color: #3d2b7a;
}
.icon-wrap.c6 {
  background: linear-gradient(135deg, #7ee8fa, #5adfff);
  color: #0a6e9e;
}
.icon-wrap.c7 {
  background: linear-gradient(135deg, #ffa8a8, #ff6b6b);
  color: #6b1414;
}
.icon-wrap.c8 {
  background: linear-gradient(135deg, #b4f8c8, #42e695);
  color: #14532a;
}
.icon-wrap.c9 {
  background: linear-gradient(135deg, #fce38a, #f38181);
  color: #6b3030;
}

/* Ripple hover (features) */
.ripple-card {
  position: relative;
  overflow: hidden;
}

.ripple-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(66, 195, 255, 0.25) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ripple-card:hover::after {
  opacity: 1;
}

/* Why AquaSoft ripple cards */
.ripple-water-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ripple-water-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  left: -50%;
  top: -50%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(90, 223, 255, 0.15) 60deg, transparent 120deg);
  animation: ripple-spin 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ripple-water-card:hover::before {
  opacity: 1;
}

.ripple-water-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

@keyframes ripple-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ——— Fade in on scroll ——— */
.fade-in-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.fade-in-section.visible .row > [class*="col-"] {
  animation: col-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-in-section.visible .row > [class*="col-"]:nth-child(1) {
  animation-delay: 0.04s;
}
.fade-in-section.visible .row > [class*="col-"]:nth-child(2) {
  animation-delay: 0.1s;
}
.fade-in-section.visible .row > [class*="col-"]:nth-child(3) {
  animation-delay: 0.16s;
}
.fade-in-section.visible .row > [class*="col-"]:nth-child(4) {
  animation-delay: 0.22s;
}
.fade-in-section.visible .row > [class*="col-"]:nth-child(5) {
  animation-delay: 0.28s;
}
.fade-in-section.visible .row > [class*="col-"]:nth-child(6) {
  animation-delay: 0.34s;
}

@keyframes col-reveal {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

/* ——— Footer ——— */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
  color: rgba(36, 54, 66, 0.92);
  padding-top: 4.4rem;
  padding-bottom: 2rem;
  margin-top: 0;
  border-top: 1px solid rgba(66, 195, 255, 0.2);
  box-shadow: 0 -10px 30px rgba(66, 195, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(66, 195, 255, 0.05) 0%, rgba(90, 223, 255, 0.2) 62%, rgba(156, 255, 237, 0.28) 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  z-index: 1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='rgba(66,195,255,0.42)' d='M0,36L80,42C160,48,320,60,480,56C640,52,800,32,960,30C1120,28,1280,44,1360,52L1440,60L1440,80L0,80Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='rgba(156,255,237,0.34)' d='M0,48L72,42C144,36,288,24,432,28C576,32,720,52,864,54C1008,56,1152,40,1296,34C1368,31,1404,30,1440,30L1440,80L0,80Z'/%3E%3C/svg%3E");
  background-size: 880px 56px, 980px 56px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 100%, 0 100%;
  animation: footer-wave-scroll-a 17s linear infinite, footer-wave-scroll-b 26s linear infinite reverse;
}

.site-footer .container {
  position: relative;
  z-index: 3;
}

.site-footer .container::before {
  content: "";
  position: absolute;
  inset: -12px -14px 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 82%, rgba(66, 195, 255, 0.22) 0 9px, transparent 10px),
    radial-gradient(circle at 20% 76%, rgba(156, 255, 237, 0.28) 0 12px, transparent 13px),
    radial-gradient(circle at 35% 80%, rgba(66, 195, 255, 0.18) 0 8px, transparent 9px),
    radial-gradient(circle at 55% 74%, rgba(156, 255, 237, 0.24) 0 11px, transparent 12px),
    radial-gradient(circle at 72% 79%, rgba(66, 195, 255, 0.2) 0 9px, transparent 10px),
    radial-gradient(circle at 90% 77%, rgba(156, 255, 237, 0.2) 0 10px, transparent 11px);
  animation: footer-bubbles-drift 14s linear infinite;
}

.site-footer a {
  color: var(--deep-blue);
}

.site-footer a:hover {
  color: var(--wave-blue);
}

.site-footer .footer-title {
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(66, 195, 255, 0.18);
  color: var(--deep-blue) !important;
  border: 1px solid rgba(66, 195, 255, 0.22);
  margin-right: 0.5rem;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icons a:hover {
  background: var(--gradient-water);
  border-color: rgba(66, 195, 255, 0.4);
  transform: translateY(-3px);
  color: var(--deep-blue) !important;
}

.footer-icon-accent,
.site-footer .bi-envelope-fill,
.site-footer .bi-telephone-fill {
  color: var(--wave-blue) !important;
}

@keyframes footer-wave-scroll-a {
  from {
    background-position: 0 100%, 0 100%;
  }
  to {
    background-position: -880px 100%, 0 100%;
  }
}

@keyframes footer-wave-scroll-b {
  from {
    background-position: 0 100%, 0 100%;
  }
  to {
    background-position: 0 100%, -980px 100%;
  }
}

@keyframes footer-bubbles-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, -8px, 0);
  }
  100% {
    transform: translate3d(-32px, 0, 0);
  }
}

/* ——— Forms ——— */
.form-aqua .form-label {
  font-weight: 600;
  color: var(--deep-blue);
}

.form-aqua .form-control,
.form-aqua .form-select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-aqua .form-control:focus,
.form-aqua .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(66, 195, 255, 0.2);
}

.form-aqua .is-invalid {
  border-color: #dc3545;
}

.form-aqua .invalid-feedback {
  font-size: 0.875rem;
}

.word-counter {
  font-size: 0.875rem;
  color: var(--deep-blue);
  font-weight: 500;
}

/* ——— Reports list ——— */
.report-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.report-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.report-item i {
  font-size: 1.5rem;
  color: var(--wave-blue);
}

/* ——— Page header inner pages ——— */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  background: var(--gradient-hero);
  color: var(--white);
  overflow: hidden;
}

.page-header h1 {
  font-weight: 800;
}

/* ——— Blog listing & article ——— */
.blog-card-img {
  display: block;
  height: 200px;
  object-fit: cover;
}

.blog-card a:hover .fw-semibold {
  color: var(--deep-blue) !important;
}

.blog-article h2 {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.blog-article ul {
  padding-left: 1.25rem;
}

.blog-article li {
  margin-bottom: 0.5rem;
}

/* ——— Responsive ——— */
@media (max-width: 991.98px) {
  .navbar-aquasoft.transparent-top .nav-link {
    color: var(--text) !important;
    text-shadow: none;
  }

  .navbar-aquasoft.transparent-top .nav-link.active {
    color: var(--deep-blue) !important;
  }

  .navbar-aquasoft .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    border-radius: 16px;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-soft);
  }

  .navbar-aquasoft.transparent-top .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }
}

/* Extra small tweaks */
@media (max-width: 374.98px) {
  .btn-aqua-primary,
  .btn-aqua-outline,
  .btn-aqua-secondary {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    font-size: 0.9rem;
  }
}

/* ——— Click ripple (buttons) ——— */
[data-ripple] {
  position: relative;
  overflow: hidden;
}

.click-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple-expand 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-expand {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-wave-marquee,
  .nav-wave-marquee,
  .site-footer::after,
  .site-footer .container::before,
  .hero-caustics,
  .hero-wave-layer::before,
  .bubble,
  .navbar-aquasoft.navbar-water-header,
  .hero-image-wrap,
  .hero-image-wrap::before,
  .hero-fade {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .hero-wave-marquee,
  .nav-wave-marquee {
    transform: translate3d(-25%, 0, 0);
  }

  .fade-in-section {
    opacity: 1;
    transform: none;
  }

  .fade-in-section.visible .row > [class*="col-"] {
    animation: none !important;
  }

  .hero-fade {
    opacity: 1;
  }

  .hero-splash-ripple {
    animation-duration: 0.01ms !important;
  }
}
.navbar-collapse,
.collapsing {
  transition: none !important;
}
@media (max-width: 991.98px) {
  .bubbles,
  .hero-wave-marquee,
  .nav-wave-marquee,
  .navbar-water-decor {
    display: none !important;
  }

  .navbar-aquasoft {
    backdrop-filter: none !important;
  }
}
body {
  padding-top: 88px; /* same as navbar height */
}
