/* Technical Features Cards Styles - Modern Flat Design */
.technical-features-section {
  padding: 5rem 0;
  background-color: #f9fafb;
  position: relative;
  overflow: hidden;
}

/* Clean section divider */
.technical-features-section::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

.technical-features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.technical-section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.technical-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.02em;
}

/* Minimal subtitle style */
.technical-section-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 2xl;
  margin: 0 auto;
  line-height: 1.6;
}

/* Technical Features Grid with new layout */
.technical-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

/* Technical Feature Card - Clean Flat Design */
.technical-feature-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01), 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

/* Left side gradient accent */
.technical-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #00476B, #006699);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Slide-in hover effect */
.technical-feature-card:hover {
  transform: translateY(-3px) translateX(5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}

.technical-feature-card:hover::before {
  opacity: 1;
}

/* Card content */
.technical-feature-card > div {
  position: relative;
  z-index: 1;
}

/* Icon Style - Modern Minimal */
.technical-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 6px;
  margin: 0 0 1.25rem 0;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Icon subtle hover effect */
.technical-feature-card:hover .technical-feature-icon {
  background: #ffffff;
  border-color: #00476B;
  transform: translateX(8px);
}

.technical-feature-icon i {
  font-size: 1rem;
  color: #00476B;
  transition: all 0.3s ease;
}

.technical-feature-card:hover .technical-feature-icon i {
  color: #006699;
}

/* New decorative element */
.technical-feature-card .card-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 71, 107, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.4s ease;
}

.technical-feature-card:hover .card-accent {
  transform: scale(1.2);
}

/* Card Description with improved typography */
.technical-feature-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-weight: 400;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  transition: color 0.3s ease;
}

/* Text color shift on hover */
.technical-feature-card:hover .technical-feature-description {
  color: #111827;
}

/* New animation - Simple fade in */
@keyframes fadeInUpSimple {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.technical-feature-card {
  animation: fadeInUpSimple 0.6s ease-out forwards;
  opacity: 0;
}

/* More natural animation delays */
.technical-feature-card:nth-child(1) { animation-delay: 0.05s; }
.technical-feature-card:nth-child(2) { animation-delay: 0.1s; }
.technical-feature-card:nth-child(3) { animation-delay: 0.15s; }
.technical-feature-card:nth-child(4) { animation-delay: 0.2s; }
.technical-feature-card:nth-child(5) { animation-delay: 0.25s; }
.technical-feature-card:nth-child(6) { animation-delay: 0.3s; }

/* Active state for better feedback */
.technical-feature-card:active {
  transform: translateY(0) translateX(2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Additional interaction detail */
.technical-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #00476B, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 2;
}

.technical-feature-card:hover::after {
  transform: scaleX(1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .technical-features-section {
    padding: 3.5rem 0;
  }
  
  .technical-features-container {
    padding: 0 1.25rem;
  }
  
  .technical-section-header {
    margin-bottom: 3.5rem;
  }
  
  .technical-section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .technical-section-subtitle {
    font-size: 1rem;
  }
  
  .technical-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .technical-feature-card {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .technical-feature-card:hover {
    transform: translateY(-3px) translateX(3px);
  }
  
  .technical-feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
  }
  
  .technical-feature-icon i {
    font-size: 0.9375rem;
  }
  
  .technical-feature-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .technical-feature-card .card-accent {
    width: 60px;
    height: 60px;
    top: -15px;
    right: -15px;
  }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
  .technical-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .technical-feature-card {
    padding: 1.6rem;
  }
}

/* Ensure text and icon visibility */
.technical-feature-description, .technical-feature-icon {
  position: relative;
  z-index: 3;
}

/* Performance optimization */
.technical-feature-card {
  contain: layout style paint;
  backface-visibility: hidden;
}