/* Benefits Cards Styling */ .benefits-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin: 3rem auto; } .benefit-card { background: rgba(30, 40, 60, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 25px; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; height: 100%; } .benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .benefit-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary-color); } .benefit-card::after { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 4px; background: linear-gradient(90deg, transparent, var(--primary-color)); } .benefit-card h3 { font-size: 1.2rem; color: #ffffff; margin-bottom: 15px; padding-left: 10px; } .benefit-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; padding-left: 10px; } .benefit-card-icon { margin-bottom: 20px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(var(--primary-color-rgb), 0.15); border-radius: 50%; margin-left: 10px; } .benefit-card-icon i { font-size: 1.5rem; color: var(--primary-color); } /* Responsive adjustments */ @media (max-width: 768px) { .benefits-cards-grid { grid-template-columns: 1fr; } } /* Animation for cards */ .benefit-card { animation: fadeIn 0.6s ease-out forwards; opacity: 0; } .benefit-card:nth-child(1) { animation-delay: 0.1s; } .benefit-card:nth-child(2) { animation-delay: 0.2s; } .benefit-card:nth-child(3) { animation-delay: 0.3s; } .benefit-card:nth-child(4) { animation-delay: 0.4s; } .benefit-card:nth-child(5) { animation-delay: 0.5s; } .benefit-card:nth-child(6) { animation-delay: 0.6s; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }