/* Industry Page Layout */

.industry-hero {

    padding: 160px 0 60px 0; /* Extra top padding for sticky header */

    background-color: #fff;

    text-align: center;

}



.industry-header-text {

    max-width: 900px;

    margin: 0 auto;

    padding: 0 50px;

}



.industry-header-text > span {

    color: #FF0000;

    font-size: 14px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 2px;

    display: block;

    margin-bottom: 15px;

}



.industry-grid-section {

    padding-bottom: 100px;

}



.industry-container {

    max-width: 2000px;

    margin: 0 auto;

    padding: 0 50px;

}



/* Update your industry-grid and industry-card sections */



.industry-grid {

    display: flex;

    flex-wrap: wrap;       /* Allows wrapping to next row */

    justify-content: center; /* Centers the 7th card on the bottom row */

    gap: 40px;

    max-width: 2000px;

    margin: 0 auto;

}



/* Ensure the <a> tag acts as the grid item */

.industry-card {

    text-decoration: none !important; /* Remove link underline */

    color: inherit; /* Keep text color black */

    width: calc(33.333% - 40px); /* 3 columns minus the gap */

    background: #fff;

    border: 1px solid #eee;

    transition: all 0.4s ease;

    display: flex;

    flex-direction: column;

    box-sizing: border-box; /* Crucial for width calculation */

    cursor: pointer;

}



.ind-image {

    height: 300px;

    overflow: hidden;

}



.ind-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;

}



.industry-card:hover .ind-image img {

    transform: scale(1.1);

}



/* Maintain hover effects */

.industry-card:hover {

    border-color: #FF0000;

    transform: translateY(-10px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

}



.industry-card:hover h3 {

    color: #FF0000;

}



.ind-content {

    padding: 30px;

    flex-grow: 1;

}



.ind-content h3 {

    font-size: 24px;

    margin-bottom: 15px;

    color: #000;

}



.ind-content p {

    color: #555;

    line-height: 1.6;

    margin-bottom: 25px;

    font-size: 16px;

}



.ind-tag {

    display: inline-block;

    padding: 5px 12px;

    background: #f8f8f8;

    color: #800000;

    font-size: 11px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-left: 3px solid #FF0000;

}



/* Responsive Fixes */

@media (max-width: 1100px) {

    .industry-card {

        width: calc(50% - 40px); /* 2 columns on tablets */

    }

}



@media (max-width: 768px) {

    .industry-card {

        width: 100%; /* 1 column on mobile */

        max-width: 500px;

    }

}