/* ==========================================================================
   Industries Page Styles
   ONLY using: golden-green (#8B9A46), dark-red (#8B2C2C), pale-yellow (#FFF8DC)
   ========================================================================== */

/* Industries Hero */
.industries-hero {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg,
        rgba(139, 44, 44, 0.04) 0%,
        rgba(139, 154, 70, 0.06) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industries-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(139, 154, 70, 0.04) 0%,
        transparent 70%);
}

.industries-hero h1 {
    font-size: 3rem;
    color: var(--dark-red);
    margin-bottom: 1.5rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.industries-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-red);
    opacity: 0.85;
    max-width: 750px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.industries-hero .hero-tagline {
    font-size: 1.1rem;
    color: var(--golden-green);
    font-style: italic;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Industry Quick Nav (icon grid) */
.industry-nav-section {
    padding: 4rem 2rem;
    background: var(--pale-yellow);
}

.industry-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.industry-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 248, 220, 0.6);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.industry-nav-card:hover {
    border-color: var(--golden-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 44, 44, 0.1);
    background: rgba(255, 248, 220, 0.95);
}

.industry-nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--golden-green), rgba(139, 154, 70, 0.7));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.industry-nav-card:hover .industry-nav-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 154, 70, 0.3);
}

.industry-nav-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--pale-yellow);
    stroke: var(--pale-yellow);
}

.industry-nav-label {
    color: var(--dark-red);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Case Study Section */
.case-study-section {
    padding: 5rem 2rem;
    position: relative;
}

.case-study-section:nth-child(even) {
    background: linear-gradient(135deg,
        rgba(139, 154, 70, 0.04) 0%,
        rgba(139, 44, 44, 0.02) 100%);
}

.case-study-section:nth-child(odd) {
    background: var(--pale-yellow);
}

.case-study-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Case Study Header */
.case-study-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.case-study-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--golden-green), rgba(139, 154, 70, 0.7));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-study-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--pale-yellow);
    stroke: var(--pale-yellow);
}

.case-study-title-block h2 {
    font-size: 2rem;
    color: var(--dark-red);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.case-study-title-block .case-study-profile {
    font-size: 1rem;
    color: var(--dark-red);
    opacity: 0.7;
    font-style: italic;
}

/* Problem / Result Cards */
.case-study-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: rgba(255, 248, 220, 0.8);
    border: 2px solid rgba(139, 154, 70, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.overview-card.problem::before {
    background: var(--dark-red);
}

.overview-card.result::before {
    background: var(--golden-green);
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.overview-card.problem h3 {
    color: var(--dark-red);
}

.overview-card.result h3 {
    color: var(--golden-green);
}

.overview-card p {
    color: var(--dark-red);
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Module Table */
.module-table-wrapper {
    margin-bottom: 2rem;
}

.module-table-title {
    font-size: 1.25rem;
    color: var(--dark-red);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.module-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(139, 44, 44, 0.08);
}

.module-table thead th {
    background: var(--golden-green);
    color: var(--pale-yellow);
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: left;
    border: none;
}

.module-table thead th:first-child {
    width: 30%;
}

.module-table tbody td {
    padding: 0.875rem 1.5rem;
    color: var(--dark-red);
    border-bottom: 1px solid rgba(139, 154, 70, 0.12);
    font-size: 0.95rem;
    line-height: 1.6;
    background: var(--pale-yellow);
}

.module-table tbody tr:last-child td {
    border-bottom: none;
}

.module-table tbody tr:hover td {
    background: rgba(139, 154, 70, 0.06);
}

.module-table .module-name {
    font-weight: 600;
    color: var(--golden-green);
    white-space: nowrap;
}

/* Section Divider */
.section-divider {
    max-width: 200px;
    margin: 0 auto;
    height: 2px;
    background: linear-gradient(to right, var(--golden-green), var(--dark-red));
    border: none;
}

/* Industry Summary Table */
.summary-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg,
        rgba(139, 44, 44, 0.03) 0%,
        rgba(139, 154, 70, 0.05) 100%);
}

.summary-table-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
}

.summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(139, 44, 44, 0.1);
}

.summary-table thead th {
    background: var(--dark-red);
    color: var(--pale-yellow);
    padding: 1rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
    border: none;
    white-space: nowrap;
}

.summary-table tbody td {
    padding: 0.875rem 1.25rem;
    color: var(--dark-red);
    border-bottom: 1px solid rgba(139, 154, 70, 0.12);
    font-size: 0.9rem;
    background: var(--pale-yellow);
    vertical-align: top;
}

.summary-table tbody tr:last-child td {
    border-bottom: none;
}

.summary-table tbody tr:hover td {
    background: rgba(139, 154, 70, 0.06);
}

.summary-table .industry-name {
    font-weight: 600;
    color: var(--dark-red);
    white-space: nowrap;
}

.summary-table .modules-list {
    color: var(--golden-green);
    font-weight: 500;
}

.summary-table .decision-maker {
    font-style: italic;
    opacity: 0.85;
}

/* Industries CTA */
.industries-cta {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(139, 154, 70, 0.08) 0%,
        rgba(139, 44, 44, 0.05) 100%);
}

.industries-cta h2 {
    font-size: 2.25rem;
    color: var(--dark-red);
    margin-bottom: 1rem;
    font-weight: 400;
}

.industries-cta p {
    font-size: 1.15rem;
    color: var(--dark-red);
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.industries-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive */
@media (max-width: 968px) {
    .industries-hero h1 {
        font-size: 2.25rem;
    }

    .industry-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-overview {
        grid-template-columns: 1fr;
    }

    .case-study-header {
        flex-direction: column;
        text-align: center;
    }

    .module-table {
        font-size: 0.875rem;
    }

    .module-table thead th,
    .module-table tbody td {
        padding: 0.75rem 1rem;
    }

    .summary-table {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .industries-hero {
        padding: 4rem 1rem 3rem;
    }

    .industries-hero h1 {
        font-size: 1.75rem;
    }

    .industry-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .industry-nav-card {
        padding: 1.25rem 0.75rem;
    }

    .industry-nav-icon {
        width: 48px;
        height: 48px;
    }

    .industry-nav-label {
        font-size: 0.8rem;
    }

    .case-study-section {
        padding: 3rem 1rem;
    }

    .case-study-title-block h2 {
        font-size: 1.5rem;
    }

    .overview-card {
        padding: 1.5rem;
    }

    .module-table thead th:first-child {
        width: auto;
    }

    .industries-cta h2 {
        font-size: 1.75rem;
    }

    .industries-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .summary-table-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
}
