/* cards.css - Feature card design from home page for consistent use across the site */

/* Feature Card - The primary card design used across the site */
.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 25px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: height 0.5s ease;
    z-index: -1;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(203, 213, 225, 0.3);
  }
  
  .feature-card:hover::before {
    height: 100%;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    font-size: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.15);
  }
  
  .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  .feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    flex-grow: 0;
  }
  
  .feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
    transition: all 0.3s ease;
  }
  
  .feature-card:hover h3::after {
    width: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  }
  
  .feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-top: auto;
    font-size: 0.95rem;
    flex-grow: 1;
  }
  
  /* Responsive adjustments */
  @media screen and (max-width: 768px) {
    .feature-card {
      padding: 20px 15px;
      min-height: 300px;
    }
    
    .feature-card h3 {
      font-size: 1.2rem;
    }
    
    .feature-icon {
      width: 50px;
      height: 50px;
      font-size: 1.3rem;
    }
  }