/*
======================================================
3. INDUSTRIES SECTION
======================================================
*/

/* Header is handled by global.css */
/* .section-container and .container are handled by global.css */

/* --- Add this for section separation --- */
#industries {
    background: var(--bg-white); /* WHITE */
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

/* 🚨 NEW/CORRECTED STYLING FOR "Our Expertise" BADGE IN THE INDUSTRIES SECTION 🚨 */
/* Assuming the "Our Expertise" badge uses the class .section-badge or similar, 
   and is inside the header of the #industries section. */
#industries .section-header .section-badge {
    /* Style based on Option 1 refined: Bigger font, Bold, Solid Background, No Shadow */
    background-color: var(--primary-accent-dark); 
    color: #FFFFFF;         
    border: 1px solid var(--primary-accent-dark); 
    
    /* Bigger font and padding */
    padding: 0.6rem 1.8rem; 
    font-size: 1.1rem; 
    font-weight: 700;
    
    /* No shadow as requested */
    
    border-radius: 25px; 
    display: inline-block; 
    margin-bottom: 1rem; /* Added margin to push it away from the main title */
}

/* Industry Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-light-gray); /* Use global var */
    border-radius: 20px;
    border: 1px solid var(--border-gray); /* Use global var */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use new orange theme */
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(234, 88, 12, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card:hover::after {
    opacity: 1;
    animation: shimmer 0.8s ease;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.industry-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(249, 115, 22, 0.3); /* Use new orange theme */
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.25); /* Use new orange theme */
}

.industry-icon {
    width: 90px;
    height: 90px;
    /* Use new orange theme */
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4); /* Use new orange theme */
}

.industry-icon svg {
    width: 45px;
    height: 45px;
    stroke: white;
    fill: none;
}

.industry-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-name {
    color: var(--primary-accent); /* Use new orange theme */
    transform: translateY(-3px);
}

.industry-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-description {
    color: var(--text-dark);
}

/* Trust Badges */
.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    border: 1px solid var(--border-gray); /* Use global var */
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    border-color: var(--primary-accent); /* Use new orange theme */
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.12); /* Use new orange theme */
}

.badge-icon {
    width: 32px;
    height: 32px;
    /* Use new orange theme */
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.trust-badge span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .industries-header h2 {
        font-size: 1.8rem;
    }
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .industry-card {
        padding: 2rem 1.5rem;
    }
    .industry-icon {
        width: 80px;
        height: 80px;
    }
    .industry-icon svg {
        width: 40px;
        height: 40px;
    }
    .industry-name {
        font-size: 1.2rem;
    }
    .industry-description {
        font-size: 0.9rem;
    }
    .trust-badges-row {
        gap: 1rem;
    }
    .trust-badge {
        padding: 0.8rem 1.5rem;
    }
    .trust-badge span {
        font-size: 0.85rem;
    }
}