/* css/industries.css */

/* --- Industries Page Hero Section --- */
.hero-industries {
    /* background-image is set inline in HTML */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 5); 
    color: var(--neutral-white);
    text-align: center;
    position: relative; 
}

.hero-industries .hero-overlay { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 60, 0.6); 
    z-index: 1;
}
.hero-industries .container { 
    position: relative;
    z-index: 2;
}

.hero-industries h1 {
    color: var(--neutral-white); /* Explicit for hero text */
    /* font-size: 2.8rem; -- Uses global h1 size, can be overridden if needed */
}

.hero-industries .hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: var(--spacing-unit) auto 0 auto;
}

/* --- Industries Intro Section --- */
.industries-intro p { /* Specific styling for intro p on this page */
    font-size: 1.1rem; 
    line-height: 1.7;
    text-align: center; /* Center the intro paragraph */
    max-width: 850px;   /* Constrain width */
    margin-left: auto;
    margin-right: auto;
}

/* --- Industries Showcase Section --- */
.industries-showcase h2 {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.industry-card {
    background-color: var(--neutral-white);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 2);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.industry-icon-wrapper {
    background-color: var(--primary-teal);
    color: var(--neutral-white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-unit);
    font-size: 1.2rem; /* Icon size within wrapper */
    box-shadow: 0 2px 5px rgba(0,128,128,0.3);
}

.industry-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--neutral-dark-gray);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    flex-grow: 1; /* Ensures cards with less text still align buttons at bottom */
}

.industry-card .btn-secondary {
    margin-top: auto; /* Pushes button to the bottom of the card */
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}
.industry-card .btn-secondary:hover {
    background-color: var(--primary-teal);
    color: var(--neutral-white);
}

/* --- Cross-Industry Capabilities Section --- */
.cross-industry-capabilities h2 {
    margin-bottom: calc(var(--spacing-unit) * 0.5); 
}
.cross-industry-capabilities > .container > p { /* Targeting the intro p for this section */
    text-align: center;
    max-width: 850px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: calc(var(--spacing-unit) * 2); /* More space after intro p */
}


.capabilities-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit); /* Spacing from section intro p */
}

.capability-item {
    background-color: var(--neutral-light-gray);
    padding: var(--spacing-unit);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.capability-item i {
    color: var(--primary-teal);
    margin-right: calc(var(--spacing-unit) * 0.75);
    font-size: 1.2rem;
}

/* --- Responsive Adjustments for Industries Page Specific Sections --- */
@media (max-width: 991px) {
    .hero-industries {
        padding: calc(var(--spacing-unit) * 4.5) 0 calc(var(--spacing-unit) * 4); 
    }
    /* .hero-industries h1 { font-size: 2.5rem; } -- Handled by global h1 */
    /* .hero-industries .hero-subtext { font-size: 1.15rem; } -- Generic enough, no override needed */
}

@media (max-width: 767px) {
    .hero-industries {
        padding: calc(var(--spacing-unit) * 3.5) 0 calc(var(--spacing-unit) * 3); 
    }
    /* .hero-industries h1 { font-size: 2.1rem; } -- Handled by global h1 */
    /* .hero-industries .hero-subtext { font-size: 1.05rem; } -- Generic enough */

    .industry-grid,
    .capabilities-list-grid { /* These are page-specific grids */
        grid-template-columns: 1fr; 
    }
}