/* Industries Section - Redesigned with BestArchitecture Style */
.industries-section {
    width: 100%;
    background-color: #000000;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.industries-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
}

.industries-header {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto 50px auto;
}

.industries-title {
    font-size: 42px;
    /* Reduced to balance with header */
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    width: 100%;
    max-width: 1080px;
    line-height: 48px;
}

.industries-title .text-highlight {
    color: #54b248;
}

.industries-subtitle {
    font-size: 18px;
    font-family: var(--font-body);
    color: white;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Stats Row - People/Stat Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns as in image */
    gap: 15px;
    margin-bottom: 50px;
    width: 100%;
}

.stat-card {
    background-color: #ffffff;
    border: 2.5px dashed #54b248;
    /* Dashed green border as per image */
    border-radius: 15px;
    padding: 25px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    /* Heavy shadow from screenshot */
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(84, 178, 72, 0.2);
}

.stat-custom-img {
    width: 65px;
    height: 64px;
    margin-bottom: 15px;
    object-fit: contain;
}

.stat-number {
    font-size: 26px;
    font-family: var(--font-body);
    /* Lora */
    color: #1a1a1a;
    /* Switched to Black as requested */
    margin-top: 0;
    margin-bottom: 0px;
    font-weight: 700;
}

.stat-text {
    font-size: 18px;
    font-family: var(--font-body);
    /* Lora */
    color: #000000;
    margin: 0;
    font-weight: 600;
}

/* Redesigned Cards to match BestArchitecture */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.value-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 270px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Right Line Effect */
.value-card::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: #54b248;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
}

/* Bottom Line Effect - Right to Left */
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 6px;
    background-color: #54b248;
    transition: width 0.4s ease;
    z-index: 5;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover::after {
    width: 100%;
}

.value-icon {
    width: 69px;
    height: 59px;
    margin-bottom: 20px;
    color: #54b248;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon img {
    transform: scale(1.1);
}

.value-title {
    font-size: 26px;
    font-family: var(--font-body);
    color: #54b248;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.value-desc {
    font-size: 18px;
    font-family: var(--font-body);
    color: #1a1a1a;
    line-height: 1.5;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1100px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
        display: grid;
        gap: 15px;
        justify-content: center;
    }

    .stat-card {
        padding: 20px 10px;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
    }

    .stat-custom-img {
        width: 50px;
        height: 50px;
    }

    .industries-title {
        font-size: 32px;
    }

    .industries-section {
        padding: 40px 0 !important;
    }

    .industries-header {
        margin-bottom: 25px;
    }

    .stats-row {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .value-title {
        font-size: 22px;
    }

    .stat-number {
        font-size: 24px;
    }
}