/* ==========================================================================
   ASSET POOLS LLC - MAIN STYLESHEET
   Luxury Dubai Aquatic Architecture & Swimming Pool Engineering
   Subsidiary of Asset Plus Technical Services LLC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #00d2ff;
  --color-primary-dark: #0066cc;
  --color-deep-ocean: #030a1a;
  --color-ocean-card: #081630;
  --color-ocean-light: #0f254e;
  --color-gold: #c59b27;
  --color-gold-light: #e5b842;
  --color-gold-glow: rgba(197, 155, 39, 0.35);
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: #1e293b;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #0a2540;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #020712;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d2ff, #0066cc);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Water Droplet Canvas Overlay */
#water-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Header & Glass Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 16px 0;
}

.site-header.scrolled {
  padding: 10px 0;
}

.navbar-glass-container {
  background: rgba(6, 17, 38, 0.75);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  padding: 8px 24px;
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled .navbar-glass-container {
  background: rgba(4, 12, 28, 0.88);
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 210, 255, 0.15);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.05);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name .brand-accent {
  background: linear-gradient(135deg, #00d2ff, #0077ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  font-weight: 600;
}

.nav-link-custom {
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 100px;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 40%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: contrast(1.1) brightness(0.85);
  transform: scale(1.02);
  animation: heroZoom 25s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(3, 10, 26, 0.75) 0%, 
    rgba(3, 10, 26, 0.88) 65%, 
    var(--color-deep-ocean) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(10, 30, 65, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.2);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 12px #00d2ff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
}

.gradient-text-ocean {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fff2be 0%, #e5b842 50%, #c59b27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 34px;
  line-height: 1.7;
}

/* Floating Dubai Climate Glass Card */
.dubai-status-glass-card {
  background: rgba(10, 26, 56, 0.7);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.status-metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}

.status-metric-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateX(4px);
}

/* Stats Counter Row */
.stats-counter-strip {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
}

.stat-item-number span {
  color: var(--color-primary);
}

.stat-item-label {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Section Common Styling */
.section-padding {
  padding: 110px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 680px;
}

/* About Us Section */
.about-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image-card:hover img {
  transform: scale(1.04);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(5, 16, 38, 0.82);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Services Section */
.service-nav-tabs {
  border-bottom: none;
  gap: 10px;
  justify-content: center;
  margin-bottom: 45px;
}

.service-nav-link {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 100px !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-nav-link.active,
.service-nav-link:hover {
  background: linear-gradient(135deg, #0099ff 0%, #0055d4 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 10px 25px rgba(0, 150, 255, 0.45);
  transform: translateY(-2px);
}

.service-feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-feature-card .card-thumb {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease;
}

.service-feature-card:hover .card-thumb {
  transform: scale(1.03);
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.service-checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.service-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1rem;
}

/* Chemicals Specification Table Card */
.chemical-spec-card {
  background: rgba(8, 22, 48, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 20px;
  padding: 24px;
  margin-top: 25px;
}

.table-custom-glass {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-custom-glass th {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-custom-glass td {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.table-custom-glass tr td:first-child {
  border-radius: 10px 0 0 10px;
  font-weight: 600;
  color: #38bdf8;
}

.table-custom-glass tr td:last-child {
  border-radius: 0 10px 10px 0;
}

/* Projects & Filter */
.project-filter-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.project-filter-btn:hover,
.project-filter-btn.active {
  background: var(--color-primary);
  color: #030a1a;
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
  font-weight: 700;
}

.project-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #081630;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 210, 255, 0.25);
}

.project-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 10, 26, 0.95) 100%);
}

.project-info-box {
  padding: 22px 24px;
  background: rgba(8, 22, 48, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Before and After Interactive Slider */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 480px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 210, 255, 0.2);
  user-select: none;
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
  transition: width 0.05s linear;
}

.before-after-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px; /* matched container max width */
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.8);
  pointer-events: none;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #030a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px #00d2ff;
  border: 2px solid #00d2ff;
  cursor: ew-resize;
}

.before-badge, .after-badge {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.before-badge {
  left: 20px;
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.after-badge {
  right: 20px;
  background: rgba(16, 185, 129, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Interactive Cost & AMC Estimator */
.estimator-card {
  background: linear-gradient(135deg, rgba(12, 28, 60, 0.8) 0%, rgba(6, 16, 36, 0.95) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 210, 255, 0.12);
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 20px;
  color: #ffffff;
  text-align: left;
  transition: all 0.25s ease;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.4);
}

.calc-option-btn.selected {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.calc-option-btn.selected .calc-radio-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.calc-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.calc-checkbox-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-checkbox-card.selected {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--color-primary);
}

.estimate-output-glass {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.25) 0%, rgba(0, 210, 255, 0.1) 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.estimate-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 800;
  color: #38bdf8;
  margin: 10px 0;
  text-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

/* Why Choose Us 6 Pillars Grid */
.pillar-badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.6;
}

/* Client Marquee Carousel */
.client-logo-strip {
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.client-logo-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollClients 28s linear infinite;
}

.client-logo-track:hover {
  animation-play-state: paused;
}

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

.client-logo-badge {
  background: rgba(14, 32, 65, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 26px;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.client-logo-badge i {
  color: var(--color-gold);
}

/* FAQ Accordion */
.accordion-glass-item {
  background: rgba(10, 26, 54, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-glass-item:hover {
  border-color: rgba(0, 210, 255, 0.35);
}

.accordion-glass-button {
  background: transparent !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 22px 26px !important;
  box-shadow: none !important;
}

.accordion-glass-button:not(.collapsed) {
  color: var(--color-primary) !important;
  background: rgba(0, 210, 255, 0.05) !important;
}

.accordion-glass-button::after {
  filter: invert(1);
  transition: transform 0.3s ease;
}

.accordion-glass-body {
  padding: 0 26px 24px !important;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Contact & Quote Form */
.glass-input-group {
  margin-bottom: 20px;
}

.glass-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.glass-input option {
  background: #081630;
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #020712;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 30px;
  position: relative;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 10px;
}

.footer-link-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.subsidiary-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
  margin-top: 40px;
}

/* Modal Styling */
.modal-glass-content {
  background: rgba(6, 18, 42, 0.95);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 210, 255, 0.2);
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 130px;
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .before-after-container {
    height: 340px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 110px;
  }
  .estimator-card {
    padding: 24px 18px;
  }
  .before-after-container {
    height: 260px;
  }
}

/* ==========================================================================
   HERO POOL IMAGE CAROUSEL — MOBILE RESPONSIVE FIXES
   ========================================================================== */
.pool-image-carousel {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: #0f172a; /* Sleek dark fallback behind images, prevents white blank flash */
}

.pool-image-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.pool-image-carousel .carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.pool-image-carousel .carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}

.pool-image-carousel .carousel-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pool-image-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.pool-image-carousel .carousel-prev {
  left: 12px;
}

.pool-image-carousel .carousel-next {
  right: 12px;
}

.pool-image-carousel .carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.pool-image-carousel .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pool-image-carousel .carousel-dot.active {
  width: 22px;
  border-radius: 100px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  .pool-image-carousel {
    border-width: 2px !important;
    border-radius: 20px !important;
  }

  .pool-image-carousel .carousel-slide img,
  .pool-image-carousel img.hero-parallax-img {
    height: 280px !important; /* Mobile responsive height */
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important; /* Disable parallax vertical shift on mobile to remove white blank space gaps */
  }

  .pool-image-carousel .carousel-caption {
    bottom: 10px;
    left: 12px;
    right: 55px; /* Leave space for dots on right */
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pool-image-carousel .carousel-nav {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .pool-image-carousel .carousel-prev {
    left: 8px;
  }

  .pool-image-carousel .carousel-next {
    right: 8px;
  }

  .pool-image-carousel .carousel-dots {
    bottom: 10px;
    right: 10px;
    gap: 4px;
  }

  .pool-image-carousel .carousel-dot {
    width: 6px;
    height: 6px;
  }

  .pool-image-carousel .carousel-dot.active {
    width: 16px;
  }
}

@media (max-width: 480px) {
  .pool-image-carousel .carousel-slide img,
  .pool-image-carousel img.hero-parallax-img {
    height: 250px !important;
  }

  .pool-image-carousel .carousel-caption {
    font-size: 0.7rem;
    bottom: 8px;
    left: 10px;
  }
}
