/* --- INDUSTRIES SECTION CONTAINER --- */
.industries-section {
    background-color: var(--white); /* Pure white to contrast with the grey section above */
    padding: 100px 0;
}

/* --- THE GRID LAYOUT --- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 6 cards fits perfectly */
    gap: 30px;
}

/* --- INDIVIDUAL INDUSTRY CARDS --- */
.industry-card {
    background-color: var(--light-bg); /* Very soft grey card */
    padding: 40px 30px;
    border-radius: 6px;
    border-left: 4px solid #d1d8ec; /* Inactive subtle blue/grey border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

/* The Hover Effect */
.industry-card:hover {
    background-color: var(--white);
    border-left: 4px solid var(--primary-blue); /* Lights up Navy Blue on hover */
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); /* Stronger shadow so it pops forward */
    transform: translateX(5px); /* Slides slightly to the right for a cool interactive feel */
}

/* Icons and Text Inside */
.ind-icon {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.industry-card:hover .ind-icon {
    transform: scale(1.1); /* Icon slightly grows on hover */
}

.ind-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.ind-desc {
    font-size: 15px;
    color: var(--secondary-grey);
    line-height: 1.6;
    margin: 0;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr); /* Drops to 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr; /* Stacks into 1 column on phones */
    }
    
    .industry-card:hover {
        transform: translateY(-5px); /* Change the slide direction for mobile */
    }
}