 
 html {
  scroll-behavior: smooth !important;
  border: none;
}
 
 /* Apply to entire website */
html {
  scroll-behavior: smooth;
}

/* Improve rendering performance */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent scroll lag caused by heavy repaint */
body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
 /* ===== UNIQUE CLASS NAMES FOR WATER DROPLET THEME ===== */
    .aqua-products-wrapper {
     background: #0B3D6E;
      padding: 4rem 0;
      position: relative;
      overflow: hidden;
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    }

    /* floating droplets background */
    .droplet-bg-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .floating-droplet {
      position: absolute;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
      animation: floatDroplet 8s infinite ease-in-out;
      opacity: 0.7;
      transform: scale(0.8);
    }

    .floating-droplet::after {
      content: "";
      position: absolute;
      top: 15%;
      left: 25%;
      width: 30%;
      height: 30%;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 50%;
      transform: rotate(20deg);
    }

    /* various droplet positions & delays */
    .droplet-1 { width: 50px; height: 50px; top: 10%; left: 5%; animation-delay: 0s; }
    .droplet-2 { width: 35px; height: 35px; top: 70%; left: 85%; animation-delay: 2s; }
    .droplet-3 { width: 60px; height: 60px; top: 40%; left: 92%; animation-delay: 4s; }
    .droplet-4 { width: 45px; height: 45px; top: 80%; left: 10%; animation-delay: 1s; }
    .droplet-5 { width: 30px; height: 30px; top: 15%; left: 75%; animation-delay: 3s; }
    .droplet-6 { width: 55px; height: 55px; top: 55%; left: 3%; animation-delay: 5s; }

    @keyframes floatDroplet {
      0% { transform: translateY(0px) scale(0.8); opacity: 0.5; }
      25% { transform: translateY(-25px) scale(1); opacity: 0.8; }
      50% { transform: translateY(-10px) scale(0.9); opacity: 0.6; }
      75% { transform: translateY(-35px) scale(1.05); opacity: 0.7; }
      100% { transform: translateY(0px) scale(0.8); opacity: 0.5; }
    }

    /* section title with ripple effect */
    .pool-section-title {
      position: relative;
      z-index: 3;
      font-weight: 700;
      color: #0c4a6e;
      text-shadow: 1px 1px 0 rgba(255,255,255,0.7);
      margin-bottom: 2.5rem;
      font-size: 2.5rem;
      display: inline-block;
    }

    .pool-section-title::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 80px;
      height: 4px;
      background: #0284c7;
      border-radius: 4px;
      box-shadow: 0 0 15px #38bdf8;
      animation: rippleUnderline 2s infinite;
    }

    @keyframes rippleUnderline {
      0% { width: 80px; opacity: 0.8; }
      50% { width: 130px; opacity: 1; box-shadow: 0 0 25px #0ea5e9; }
      100% { width: 80px; opacity: 0.8; }
    }

    /* product card unique class */
    .droplet-product-card {
      background: rgba(255, 255, 255);
      backdrop-filter: blur(12px);
      border-radius: 2.5rem 1.5rem 2.5rem 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.9);
      box-shadow: 0 20px 35px rgba(2, 132, 199, 0.25);
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      position: relative;
      z-index: 3;
      overflow: hidden;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
padding: 1rem 1rem 1rem;
      color: #0b3b5c;
    }

    /* water hover effect: droplet splatter */
    .droplet-product-card::before {
      content: "";
      position: absolute;
      top: -30%;
      left: -20%;
      width: 140%;
      height: 140%;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8) 5%, transparent 60%);
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
      z-index: 1;
    }

    .droplet-product-card:hover::before {
      opacity: 0.5;
      animation: dropletGlow 1s forwards;
    }

    @keyframes dropletGlow {
      0% { background-position: 30% 30%; }
      100% { background-position: 70% 70%; opacity: 0.3; }
    }

    /* water droplet falling effect on hover */
    .droplet-product-card::after {
      content: "💧";
      position: absolute;
      top: -25px;
      right: 25px;
      font-size: 28px;
      opacity: 0;
      transform: translateY(0);
      transition: all 0.4s ease-out;
      z-index: 5;
      filter: drop-shadow(0 8px 6px rgba(2,132,199,0.5));
      pointer-events: none;
    }

    .droplet-product-card:hover::after {
      opacity: 1;
      animation: fallDrip 1.2s ease-out forwards;
    }

    @keyframes fallDrip {
      0% { top: -20px; opacity: 0; transform: scale(0.5); }
      30% { opacity: 1; transform: scale(1.2); }
      70% { top: 70%; opacity: 0.9; transform: scale(0.9); }
      100% { top: 95%; opacity: 0; transform: scale(0.3); }
    }

    .droplet-product-card:hover {
      transform: translateY(-12px) scale(1.02);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 30px 45px rgba(3, 105, 161, 0.4);
      border-color: #7dd3fc;
    }

    /* icon container with water wave */
    .aqua-icon-circle {
      width: 60px;
      height: 60px;
      background: #e0f2fe;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 4;
      box-shadow: 0 12px 22px rgba(2, 132, 199, 0.35);
      transition: 0.3s;
      border: 2px solid white;
    }

    .droplet-product-card:hover .aqua-icon-circle {
      background: #bae6fd;
      box-shadow: 0 0 30px #0ea5e9;
      animation: pulseWave 1.8s infinite;
    }

    @keyframes pulseWave {
      0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6); }
      70% { box-shadow: 0 0 0 18px rgba(14, 165, 233, 0); }
      100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
    }

    .aqua-icon-circle i {
      font-size: 2rem;
      color: #0369a1;
      transition: transform 0.4s;
      filter: drop-shadow(0 6px 6px rgba(0,0,0,0.15));
    }

    .droplet-product-card:hover .aqua-icon-circle i {
      transform: rotate(8deg) scale(1.1);
      color: #075985;
    }

    .product-name {
      font-weight: 700;
      font-size: 1.4rem;
      letter-spacing: -0.2px;
      margin: 0.6rem 0 0.3rem;
      z-index: 4;
      color: #0c4a6e;
    }

    .product-desc {
      font-size: 18px;
      color: #155e75;
      opacity: 0.9;
      z-index: 4;

    }

    /* small water ripples inside card */
    .card-ripple-effect {
      position: absolute;
      bottom: 10px;
      left: 20%;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, transparent, #38bdf8, transparent);
      border-radius: 2px;
      opacity: 0;
      transition: 0.5s;
    }

    .droplet-product-card:hover .card-ripple-effect {
      opacity: 0.9;
      animation: rippleLine 1.4s infinite;
    }

    @keyframes rippleLine {
      0% { transform: scaleX(0.5); opacity: 0.6; }
      50% { transform: scaleX(1.2); opacity: 1; }
      100% { transform: scaleX(0.5); opacity: 0.6; }
    }

    /* responsive adjustments */
    @media (max-width: 768px) {
      .pool-section-title {
        font-size: 2rem;
      }
      .droplet-product-card {
        border-radius: 2rem 0.8rem 2rem 0.8rem;
        padding: 1.8rem 1rem;
      }
    }

    @media (max-width: 576px) {
      .aqua-products-wrapper {
        padding: 2.5rem 0;
      }
      .floating-droplet {
        transform: scale(0.6);
      }
    }
    /* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 576px) {
.droplet-product-card {
        border-radius: 2rem 0.8rem 2rem 0.8rem;
        padding: 1rem 1rem;
      }
      .aqua-icon-circle {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
      }
      .aqua-icon-circle i {
  font-size: 1rem;
      }
      .product-name {
  font-weight: 700;
  font-size: 1.3rem;
      }
      .product-desc {
  font-size: 16px;
  margin-bottom: 0px;
      }



    }



/* why choose section */
:root {
  --deep-navy: #0B3D6E;
  --medium-blue: #1F6FA8;
  --bright-cyan: #2BB3E6;
  --deep-navy-light: #0e4d8a;
  --navy-rgb: 11, 61, 110;
  --cyan-rgb: 43, 179, 230;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* ===== MAIN SECTION ===== */
.watertech-pills-section {
  background: linear-gradient(160deg, #e8f4fd 0%, #f4fafe 30%, #f8fcff 60%, #e0f0fb 100%);
  padding: 2rem 0 0rem 0;
  position: relative;
  overflow: hidden;
  min-height: 68vh;
  display: flex;
  align-items: center;
}

/* Animated background bubbles */
.bg-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--cyan-rgb), 0.15), rgba(var(--navy-rgb), 0.05));
  animation: bubbleFloat 12s ease-in-out infinite;
}

.bg-bubble:nth-child(1) { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.bg-bubble:nth-child(2) { width: 200px; height: 200px; top: 60%; right: -3%; animation-delay: 3s; }
.bg-bubble:nth-child(3) { width: 250px; height: 250px; bottom: 10%; left: 30%; animation-delay: 6s; }
.bg-bubble:nth-child(4) { width: 150px; height: 150px; top: 30%; right: 20%; animation-delay: 9s; }
.bg-bubble:nth-child(5) { width: 180px; height: 180px; top: 70%; left: 60%; animation-delay: 4s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(15px, -15px) scale(1.05); }
}

/* Grid pattern overlay */
.grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(var(--navy-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== CONTAINER ===== */
.watertech-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.watertech-header {
  text-align: center;
  margin-bottom: 2rem;
}

.watertech-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.8rem;
  position: relative;
}

.brand-water {
  color: var(--deep-navy);
  letter-spacing: 3px;
  position: relative;
}

.brand-tech {
  color: var(--bright-cyan);
  letter-spacing: 3px;
  animation: techGlow 2s ease-in-out infinite;
  position: relative;
}

.brand-tech::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bright-cyan);
  box-shadow: 0 0 15px rgba(var(--cyan-rgb), 0.6);
  animation: lineGlow 2s ease-in-out infinite;
}

@keyframes techGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(var(--cyan-rgb), 0.3); }
  50% { text-shadow: 0 0 25px rgba(var(--cyan-rgb), 0.7), 0 0 50px rgba(var(--cyan-rgb), 0.3); }
}

@keyframes lineGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(var(--cyan-rgb), 0.4); }
  50% { box-shadow: 0 0 30px rgba(var(--cyan-rgb), 0.8); }
}

.watertech-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0B3D6E, #1F6FA8, #2BB3E6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin: 0.5rem 0;
}

.watertech-subtitle {
  color: #5a7d9a;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* ===== FLOATING PILLS CONTAINER ===== */
.pills-ecosystem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Navigation Pills Row */
.pills-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 5;
}

.nav-pill {
  padding: 0.9rem 2rem;
  border-radius: 60px;
  background: white;
  border: 2px solid rgba(var(--navy-rgb), 0.12);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep-navy);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(var(--navy-rgb), 0.06);
  user-select: none;
}

.nav-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--deep-navy), var(--bright-cyan));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 60px;
  z-index: -1;
}

.nav-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(var(--navy-rgb), 0.15);
  border-color: var(--bright-cyan);
}

.nav-pill.active {
  background: linear-gradient(135deg, var(--deep-navy), var(--medium-blue));
  color: white;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(var(--navy-rgb), 0.3);
  animation: pillPulse 2s ease-in-out infinite;
}

.nav-pill.active::before {
  opacity: 1;
}

@keyframes pillPulse {
  0%, 100% { box-shadow: 0 20px 40px rgba(var(--navy-rgb), 0.3); }
  50% { box-shadow: 0 25px 50px rgba(var(--cyan-rgb), 0.4); }
}

.nav-pill i {
  font-size: 1.1rem;
  transition: transform 0.4s;
}

.nav-pill.active i {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.4); }
  60% { transform: scale(0.9); }
}

/* ===== MAIN DISPLAY PILL ===== */
.pill-display-container {
  width: 100%;
  max-width: 850px;
  position: relative;
  min-height: 315px;
  perspective: 1000px;
}

.pill-display {
  background: white;
  border-radius: 120px;
  padding: 3rem 3rem;
  box-shadow: 0 25px 60px rgba(var(--navy-rgb), 0.1);
  border: 2px solid rgba(var(--navy-rgb), 0.08);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: pillFloat 6s ease-in-out infinite;
  min-height: 230px;
  display: flex;
  align-items: center;
}

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.pill-display::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  transition: all 0.6s;
}

.pill-display::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--navy-rgb), 0.08), transparent 70%);
  border-radius: 50%;
}

.pill-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

/* Icon side */
.pill-icon-display {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--navy-rgb), 0.08), rgba(var(--cyan-rgb), 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.pill-icon-display i {
  font-size: 3.5rem;
  color: var(--deep-navy);
  transition: all 0.6s;
}

.active-display .pill-icon-display {
  background: linear-gradient(135deg, var(--deep-navy), var(--bright-cyan));
  animation: iconRotate 0.8s ease;
  box-shadow: 0 20px 40px rgba(var(--navy-rgb), 0.3);
}

.active-display .pill-icon-display i {
  color: white;
  animation: iconPop 0.8s ease;
}

@keyframes iconRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes iconPop {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

/* Text side */
.pill-text-content {
  flex: 1;
}

.pill-display-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1rem;
  transition: all 0.4s;
}

.pill-display-desc {
  color: #5a7d9a;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.pill-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-feature-item {
  background: linear-gradient(135deg, rgba(var(--navy-rgb), 0.06), rgba(var(--cyan-rgb), 0.08));
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--deep-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.4s;
  cursor: default;
}

.pill-feature-item:hover {
  background: linear-gradient(135deg, var(--deep-navy), var(--medium-blue));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--navy-rgb), 0.2);
}

.pill-feature-item i {
  color: var(--bright-cyan);
  transition: color 0.3s;
}

.pill-feature-item:hover i {
  color: white;
}

/* ===== FLOATING MINI PILLS (Background decoration) ===== */
.mini-pills-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.mini-pill {
  position: absolute;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--navy-rgb), 0.1);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--medium-blue);
  animation: miniPillFloat 8s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(var(--navy-rgb), 0.05);
}

.mini-pill:nth-child(1) { top: 36%;
  left: -13%; animation-delay: 0s; }
.mini-pill:nth-child(2) { top: 60%;
  left: -10%; animation-delay: 2s; }
.mini-pill:nth-child(3) { bottom: 28%;
  right: -8%; animation-delay: 4s; }
.mini-pill:nth-child(4) { top: 41%;
  right: 15%; animation-delay: 6s; }
.mini-pill:nth-child(5) { top: 90%;
  left: 25%; animation-delay: 3s; }
.mini-pill:nth-child(6) { top: 7%;
  right: -3%; animation-delay: 1s; }

@keyframes miniPillFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(3deg); }
  50% { transform: translate(-10px, 15px) rotate(-3deg); }
  75% { transform: translate(8px, -8px) rotate(2deg); }
}

/* ===== RIPPLE EFFECT ===== */
@keyframes pillRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .watertech-title {
    font-size: 2.5rem;
  }
  
  .pill-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .pill-display {
    border-radius: 80px;
    padding: 2.5rem 2rem;
  }
  
  .pill-features-list {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .watertech-pills-section {
    padding: 3rem 0;
  }
  
  .watertech-brand {
    font-size: 1.4rem;
  }
  
  .watertech-title {
    font-size: 2rem;
  }
  
  .nav-pill {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }
  
  .pill-display {
    border-radius: 60px;
    padding: 2rem 1.5rem;
    min-height: 300px;
  }
  
  .pill-icon-display {
    width: 90px;
    height: 90px;
  }
  
  .pill-icon-display i {
    font-size: 2.5rem;
  }
  
  .pill-display-title {
    font-size: 1.4rem;
  }
  
  .pill-display-desc {
    font-size: 0.95rem;
  }
  
  .mini-pills-decoration {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
    .watertech-pills-section {
    padding: 2rem 0;
  }

  .pill-icon-display {
    width: 60px;
    height: 60px;
  }

.active-display .pill-icon-display{
  margin-bottom: -17px;
}

  .pill-icon-display i {
    font-size: 1.5rem;
  }

  .pills-navigation {
    gap: 0.6rem;
  }
    .pill-display-title {
    font-size: 1.2rem;
  }
  
  .nav-pill {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  
  .nav-pill i {
    font-size: 0.9rem;
  }
  
  .pill-display {
    border-radius: 40px;
    padding: 1.5rem 1.2rem;
  }
  
  .pill-features-list {
    gap: 0.5rem;
  }
  
  .pill-feature-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

}


/* Apply ONLY for mobile screens */
@media (max-width: 576px) {

  #mainPillDisplay {
    min-height: 280px; /* adjust based on your content */
    height: auto;
    overflow: hidden;
    transition: height 0.4s ease;
  }

  /* Smooth content animation */
  #mainPillDisplay.active-display {
    animation: mobileFadeSlide 0.4s ease;
  }

  @keyframes mobileFadeSlide {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Prevent feature items from breaking layout */
  .pill-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pill-feature-item {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

}




/* Wrapper */
.vs-modern-slider{
  width:100%;
}

/* Carousel container */
.vs-modern-carousel{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
  position:relative;
}

/* IMPORTANT: smoother fade override */
.carousel-fade .carousel-item{
  opacity:0;
  transition: opacity 1.2s ease-in-out !important;
  transform: scale(1.02);
  will-change: opacity, transform;
}

.carousel-fade .carousel-item.active{
  opacity:1;
  transform: scale(1);
}

/* Image (smooth zoom) */
.vs-modern-img{
  width:100%;
  height:520px;
  object-fit:cover;
  transform:scale(1.12);
  transition: transform 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* active zoom correction */
.carousel-item.active .vs-modern-img{
  transform:scale(1);
}

/* glass overlay */
.vs-modern-glass{
  position:absolute;
  inset:0;

}

/* remove harsh control flicker */
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter:invert(1);
  opacity:0.6;
  transition:0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover{
  opacity:1;
}

/* REMOVE indicators for clean modern look */
.carousel-indicators{
  display:none;
}

/* Responsive */
@media(max-width:992px){
  .vs-modern-img{ height:380px; }
}

@media(max-width:768px){
  .vs-modern-img{ height:280px; }
}

@media(max-width:480px){
  .vs-modern-img{ height:210px; }
}



.hero-title-stroke {
    color: #ffffff; /* Text color */
    -webkit-text-stroke: 2px #000000; /* Black stroke */
    text-shadow:
        1px 1px 0 #000,
       -1px 1px 0 #000,
        1px -1px 0 #000,
       -1px -1px 0 #000;
}
/* Mobile Version */
@media (max-width: 576px) {
    .hero-title-stroke {
        -webkit-text-stroke: 1px #000000;
        text-shadow:
            0.5px 0.5px 0 #000,
           -0.5px 0.5px 0 #000,
            0.5px -0.5px 0 #000,
           -0.5px -0.5px 0 #000;
    }
    .vs-footer__desc {
    text-align: left;
  }
}
/* Desktop */
.hero-text-outline {
    color: #ffffff;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.9),
       -1px -1px 2px rgba(0, 0, 0, 0.9),
        1px -1px 2px rgba(0, 0, 0, 0.9),
       -1px 1px 2px rgba(0, 0, 0, 0.9);
}

/* Mobile */
@media (max-width: 576px) {
    .hero-text-outline {
        text-shadow:
            0.5px 0.5px 1px rgba(0, 0, 0, 0.9),
           -0.5px -0.5px 1px rgba(0, 0, 0, 0.9);
    }
}