/* ── INDUSTRIES HUB STYLING ── */
.industries-hub-section {
    position: relative;
    padding-bottom: 80px;
}

.industries-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-hub-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
}

.industry-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.2);
}

/* Custom Icon Colors */
.industry-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.1);
}

.color-auto {
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary-blue);
}

.color-aero {
    background: rgba(0, 242, 254, 0.08);
    color: #008fcc;
}

.color-oil {
    background: rgba(245, 175, 25, 0.08);
    color: #f5af19;
}

.color-mfg {
    background: rgba(217, 35, 52, 0.08);
    color: var(--accent-crimson);
}

.color-bim {
    background: rgba(46, 196, 182, 0.08);
    color: #2ec4b6;
}

.color-it {
    background: rgba(108, 92, 231, 0.08);
    color: #6c5ce7;
}

.color-tractor {
    background: rgba(251, 176, 59, 0.08);
    color: #e65100;
}

.industry-hub-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.industry-tagline {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-crimson);
    margin-bottom: 15px;
    line-height: 1.4;
}

.industry-description {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.industry-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.industry-details-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.industry-details-list li strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.industry-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.btn-premium-industry {
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s ease, color 0.25s ease;
}

.btn-premium-industry i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.industry-hub-card:hover .btn-premium-industry {
    color: var(--accent-crimson) !important;
}

.industry-hub-card:hover .btn-premium-industry i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .industry-hub-card {
        padding: 30px 20px;
    }
}

/* ── VIEW MORE / VIEW LESS TOGGLE ── */

/* Hide cards beyond the 6th by default */
.industries-hub-grid .industry-hub-card:nth-child(n+7) {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

/* When grid is expanded, show all cards */
.industries-hub-grid.expanded .industry-hub-card:nth-child(n+7) {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: industryCardReveal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes industryCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View More Button Styling */
.btn-view-more-industries {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    letter-spacing: 0.3px;
}

.btn-view-more-industries:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0077e6, var(--primary-navy));
}

.btn-view-more-industries:active {
    transform: translateY(-1px);
}

.btn-view-more-industries .btn-icon {
    font-size: 0.8rem;
    transition: transform 0.35s ease;
}

.btn-view-more-industries.expanded .btn-icon {
    transform: rotate(180deg);
}
