
  #boxContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Feature Box */
  .feature-box {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  /* Outline Animation */
  .feature-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
  }
  
  .feature-outline svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .feature-outline rect {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 2px;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
  
  /* Image Section */
  .feature-image {
    height: 220px;
    overflow: hidden;
    position: relative;
  }
  
  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .feature-box:hover .feature-image img {
    transform: scale(1.05);
  }
  
  .image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    height: 100%;
    color: white;
  }
  
  /* Content Section */
  .feature-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
  }
  
  .feature-content h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
  }
  
  .feature-content h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3b82f6;
  }
  
  .feature-content p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
  }
  
  /* Extended Text */
  .feature-extended-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-top: 0;
  }
  
  .feature-extended-text.show {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
  }
  
  /* Button */
  .feature-btn {
    background: transparent;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
  }
  
  .feature-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
  }
  
  /* Glow Effects */
  .feature-glowing {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  
  .feature-active-glow {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.7);
  }
  
  /* Ambient Animation */
  .feature-box::before,
  .feature-box::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .feature-box:hover::before {
    animation: pulse 3s infinite;
    opacity: 1;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(0.8);
      opacity: 0.3;
    }
    50% {
      transform: scale(1);
      opacity: 0.5;
    }
    100% {
      transform: scale(0.8);
      opacity: 0.3;
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    #boxContainer {
      grid-template-columns: 1fr;
      padding: 1rem;
    }
  
    .feature-box {
      min-height: 400px;
    }
  
    .feature-image {
      height: 180px;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    #boxContainer {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  