﻿.features-section {
  width: 100%;
  background-color: var(--primary-color);
  padding: 2.5rem 0;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-feature {
  position: relative;
  padding: 2.5rem 0;
  overflow: hidden;
}

.features-hoverOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #f5f5f5 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.features-feature:hover .features-hoverOverlay {
  opacity: 1;
}

.features-icon {
  font-size: 2.5rem;
  line-height: 1.5;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
  padding-left: 2.5rem;
}

.features-title {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 10;
  padding-left: 2.5rem;
}

.features-decor {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5rem;
  width: 0.25rem;
  background-color: #ccc;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.features-feature:hover .features-decor {
  height: 2rem;
  background-color: var(--secondary-color);
}

.features-titleSpan {
  display: inline-block;
  transition: transform 0.2s;
}

.features-feature:hover .features-titleSpan {
  transform: translateX(0.5rem);
}

.features-text {
  font-size: 1.125rem;
  line-hight: 1.5;
  color: var(--text-color);
  max-width: 20rem;
  position: relative;
  z-index: 10;
  padding-left: 2.5rem;
  margin: 0;
}

.features-row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.features-column {
  box-sizing: border-box;
}

.features-featurePlaceholder {
  visibility: hidden;
}

@media (max-width: 768px) {
  .features-container {
    display: block;
  }
  .features-row {
    display: block !important;
    width: auto !important;
  }
  .features-column {
    width: 100% !important;
  }
}