/* Base Grid Container */
.category-grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
max-width: 1200px;
margin: 40px auto;
padding: 0 16px;
box-sizing: border-box;
}
/* Card Container */
.category-card {
background-color: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 32px;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
text-decoration: none;
color: inherit;
}
/* Hover Interaction */
.category-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
border-color: #d1d5db;
}
/* Icon Wrapper */
.card-icon-wrapper {
width: 48px;
height: 48px;
border-radius: 8px;
background-color: #f3f4f6;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
margin-bottom: 20px;
}
/* Content Typography */
.card-title {
font-size: 20px;
font-weight: 700;
color: #111827;
margin: 0 0 12px 0;
line-height: 1.3;
}
.card-description {
font-size: 15px;
color: #4b5563;
line-height: 1.6;
margin: 0 0 24px 0;
}
/* CTA Link & Hover Arrow Movement */
.card-cta {
font-size: 14px;
font-weight: 600;
color: #4f46e5;
display: inline-flex;
align-items: center;
gap: 6px;
}
.card-cta-arrow {
transition: transform 0.2s ease;
}
.category-card:hover .card-cta-arrow {
transform: translateX(4px);
}
/* Responsive Breakpoint for Mobile Screens */
@media (max-width: 768px) {
.category-grid-container {
grid-template-columns: 1fr;
gap: 16px;
margin: 24px auto;
}
.category-card {
padding: 24px;
}
}