/* Base section styling */
.ecotel-feature-section {
  background-color: #fecd59;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Background overlay */
.ecotel-feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

/* Bubbles container */
.ecotel-feature-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Bubble styling */
.ecotel-feature-bubble {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  filter: blur(40px);
}

.ecotel-feature-bubble-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation: ecotel-feature-float 15s infinite ease-in-out;
}

.ecotel-feature-bubble-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  animation: ecotel-feature-float 20s infinite ease-in-out reverse;
}

.ecotel-feature-bubble-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ecotel-feature-pulse 10s infinite ease-in-out;
}

/* Container styling */
.ecotel-feature-container {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid layout */
.ecotel-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

/* Feature item styling */
.ecotel-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.ecotel-feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Icon wrapper */
.ecotel-feature-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

/* Icon styling */
.ecotel-feature-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ecotel-feature-icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0);
  transition: transform 0.3s ease;
}

/* Icon background */
.ecotel-feature-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #71e6af;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Title styling */
.ecotel-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: black;
  line-height: 1.4;
  margin-top: 10px;
  position: relative;
}

/* Hover effects */
.ecotel-feature-item:hover .ecotel-feature-icon-bg {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ecotel-feature-item:hover .ecotel-feature-icon img {
  transform: scale(1.1);
}

/* Particle styling */
.ecotel-feature-particle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.03);
}

/* Wave styling */
.ecotel-feature-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 50px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 100%;
  animation: ecotel-feature-wave 15s infinite linear;
  z-index: 1;
  transform-origin: 50% 100%;
}

/* Animation keyframes */
@keyframes ecotel-feature-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(50px, 50px) rotate(10deg);
  }
  66% {
    transform: translate(-30px, 20px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes ecotel-feature-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.05;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.03;
  }
}

@keyframes ecotel-feature-icon-pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes ecotel-feature-particle-float {
  0% { transform: translate(0, 0); }
  25% { transform: translate(20px, -15px); }
  50% { transform: translate(0, -30px); }
  75% { transform: translate(-20px, -15px); }
  100% { transform: translate(0, 0); }
}

@keyframes ecotel-feature-wave {
  0% { transform: translateX(0) scale(1, 0.3); }
  50% { transform: translateX(-25%) scale(1, 0.2); }
  100% { transform: translateX(-50%) scale(1, 0.3); }
}

/* Responsive styles */
@media (max-width: 992px) {
  .ecotel-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 576px) {
  .ecotel-feature-section {
    padding: 60px 0;
  }
  
  .ecotel-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
  
  .ecotel-feature-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .ecotel-feature-icon-bg {
    width: 60px;
    height: 60px;
  }
  
  .ecotel-feature-title {
    font-size: 1rem;
  }
}