.industries-grid {
    display: grid;
    /* Default to 4 columns as per design */
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
    /* Ensuring a clean font */
}

/* Responsive Columns */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Base Styles */
.industry-card {
    background: #ffffff;
    border-radius: 32px;
    /* Highly rounded corners as per image */
    padding: 32px;
    border: 1px solid #e1e7ef;
    /* Subtle blue-ish grey border */
    box-shadow: none;
    /* Default state appears flat/clean in image */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

/* Header: Icon + Badge */
.industry-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    height: 56px;
    /* Match icon height */
}

/* Icon Styles - Default State */
.industry-icon {
    width:41px;
    height: 41px;
    border-radius: 12px;
    /* Squircle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;

    /* Default: Very Light Pink Background, Red Outline Icon */
    background-color: #fff1f2;
    /* Rose 50/100ish */
    color: #f43f5e;
    /* Rose 500 */
}

/* Target both font icons and SVGs */
.industry-icon i,
.industry-icon svg,
.industry-icon svg path {
    /* Explicitly target paths for color override */
    color: inherit;
    fill: none;
    /* Important for SVGs */
    display: inline-block;
    line-height: 1;
    font-style: normal;

    /* Ensure sizing */
    width: 28px;
    height: 28px;
    max-width: 100%;
    max-height: 100%;
}


/* Badge Styles - Default State */
.industry-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    /* Pill shape padding */
    border-radius: 8px;
    /* Soft rounding */
    height: fit-content;

    /* Default: Very Light Blue/Grey Background */
    background-color: #f8fafc;
    color: #94a3b8;
    /* Slate 400 */
}

/* Title Styles */
.industry-title {
    font-size: 16px;
    font-weight: 800;
    /* Extra bold */
    margin: 16px 0 12px 0;
    color: #020617;
    /* Slate 950 - strict dark */
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

/* Description Styles */
.industry-description {
    font-size: 10px;
    line-height: 1.5;
    color: #64748b;
    /* Slate 500 */
    margin: 0;
    font-weight: 600;
    /* Slightly bolder than normal */
}

/* =========================================
   Hover State (Active)
   ========================================= */

.industry-card:hover {
    border: 1px solid #f43f5e;
    /* Red Border match icon */
}

/* Default state (keep red) */
.industry-icon svg * {
    fill: none;
    stroke: #f43f5e;
}

/* Hover: force white stroke */
.industry-card:hover .industry-icon svg * {
    stroke: #ffffff !important;
    fill: none !important;
}

/* Hover: Icon becomes Solid Red */
.industry-card:hover .industry-icon {
    background-color: #f43f5e;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}

/* Hover: Title Color */
.industry-card:hover .industry-title {
    color: #f43f5e;
}
.industry-card:hover .industry-badge {
    color: #f43f5e;
    background-color: #fff1f2;
    /* Optional: Keep bg consistent with icon or just leave/tint slightly */
}