

/* Industries Grid Section */
.industries-grid {
    padding: 100px 0;
    position: relative;
    /* No background - transparent */
}

.industries-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 30%, var(--color-secondary) 50%, transparent 70%);
}

.industries-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Industry Cards */
.industry-card {
    background: var(--color-secondary-accent);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--color-secondary);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.industry-card:hover::before {
    left: 100%;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Industry Image */
.industry-image {
    margin-bottom: 16px;
}

.industry-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    /* background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
}

.industry-card:hover .industry-img {
    /* transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Legacy placeholder styling for any remaining placeholders */
.industry-image .image-placeholder {
    width: 100%;
    height: 160px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.industry-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.industry-image .image-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.5) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.5) 60%, transparent 60%);
}

.industry-card:hover .image-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Industry Content */
.industry-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.industry-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-content p {
    font-size: 14px;
    color: rgba(251, 251, 251, 0.8);
    line-height: 1.6;
    margin-bottom: auto;
    flex: 1;
}

.industry-content .btn {
    margin-top: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .industries-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .industries-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
        gap: 24px;
    }
    
    .industry-card {
        padding: 24px 20px;
    }
    
    .industry-content h3 {
        font-size: 20px;
    }
    
    .industry-content p {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding: 60px 0;
    }
    
    .industry-card {
        padding: 20px 16px;
    }
    
    .industry-content h3 {
        font-size: 18px;
    }
    
    .industry-content p {
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
