/* Industries Section Styles */
.industries-section {
    padding: 80px 0;
    background-color: #f0f4f8;
    /* Light blue-grey background */
}

.industries-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.industries-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.industries-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.industry-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.industry-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.industry-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.industry-card:hover .industry-image::before {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 102, 204, 0.6));
    z-index: 2;
    transition: background 0.4s ease;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 102, 204, 0.8));
}

.industry-content {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 3;
    position: relative;
    background: white;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -65px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(0, 94, 184, 0.3);
}

.industry-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-content h3 {
    color: var(--accent-blue);
}

.industry-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.industry-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.industry-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.industry-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Background Images (Using professional gradients as fallbacks) */
.industry-card.hvac .industry-image {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    /* Blue-Grey Gradient */
}

.industry-card.consumer .industry-image {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    /* Amber Gradient */
}

/* Specific styling for HVAC */
.industry-card.hvac .industry-icon {
    background-color: #3498db;
}

/* Specific styling for Consumer Durables */
.industry-card.consumer .industry-icon {
    background-color: #e67e22;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-image {
        height: 200px;
    }

    /* Ensure tabs are visible and scrollable if needed */
    .tabs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 30px;
    }

    .tab-btn {
        flex: 1 1 auto;
        min-width: 100px;
        padding: 10px;
        font-size: 0.9rem;
    }
}