/* =========================================================
   INDUSTRIES SUB-PAGES STYLES (Shared)
   ========================================================= */

.industry-subpage-content {
    background-color: var(--navy-dark);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* --- Fade Up --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* --- Hero --- */
.industry-hero {
    position: relative;
    padding: 220px 20px 140px;
    margin-top: -30px;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-green);
}
.industry-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 48, 71, 0.9) 0%, rgba(18, 34, 51, 0.85) 100%);
    z-index: 1;
}
.industry-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.industry-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(139, 195, 74, 0.15);
    border: 1px solid rgba(139, 195, 74, 0.4);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.industry-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.industry-hero h1 span { color: var(--accent-green); }
.industry-hero p {
    font-size: 19px;
    color: #D1DCE8;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- Section Layouts (Reduced Padding) --- */
.industry-content-section {
    padding: 40px 20px; /* Reduced from 70px */
}
.industry-content-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-heading-center {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 30px; /* Reduced from 40px */
}
.section-heading-center h2 {
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}
.section-heading-center h2 span { color: var(--accent-green); }
.section-heading-center p {
    font-size: 16px;
    color: #A0B2C6;
    line-height: 1.6;
}

/* --- Services Grid --- */
.industry-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px; 
}
.industry-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 16px;
    padding: 30px 25px; 
    transition: all 0.3s ease;
}
.industry-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.industry-service-card .icon-box {
    width: 55px;
    height: 55px;
    background: rgba(139, 195, 74, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-green);
    margin-bottom: 18px;
}
.industry-service-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}
.industry-service-card p {
    font-size: 14.5px;
    color: #A0B2C6;
    line-height: 1.6;
}

/* --- Text-Heavy Section --- */
.why-matters-section {
    background-color: var(--navy-bg);
    padding: 40px 20px; /* Reduced from 70px */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.why-matters-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.why-matters-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 15px;
}
.why-matters-content h2 span { color: var(--accent-green); }
.why-matters-content p {
    font-size: 16.5px;
    color: #A0B2C6;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- Challenges List Section --- */
.challenges-section {
    padding: 40px 20px; /* Reduced from 70px */
}
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}
.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    padding: 18px 20px; 
}
.challenge-item i {
    color: #F87171;
    font-size: 16px;
    margin-top: 4px;
}
.challenge-item span {
    font-size: 15px;
    color: #E2E8F0;
    line-height: 1.5;
}

/* --- Strategies Section --- */
.strategies-section {
    background-color: var(--navy-bg);
    padding: 40px 20px; /* Reduced from 70px */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}
.strategy-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(139, 195, 74, 0.2);
    border-radius: 14px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}
.strategy-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.strategy-card h3 i {
    color: var(--accent-green);
    font-size: 17px;
}
.strategy-card p {
    font-size: 14.5px;
    color: #A0B2C6;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA Section (No Card) --- */
.industry-cta-section {
    text-align: center;
    padding: 50px 20px 20px; /* Reduced space */
    background: transparent;
    border: none;
    border-radius: 0;
    margin-top: 0;
    max-width: 100%;
}

.industry-cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.industry-cta-section p {
    font-size: 17px;
    color: #A0B2C6;
    margin-bottom: 25px;
}

/* --- Button --- */
.industry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-green);
    color: var(--navy-bg);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.35);
}
.industry-btn:hover {
    background-color: var(--accent-green-hover);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 195, 74, 0.5);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .industry-hero { padding: 210px 20px 140px; }
    .industry-hero h1 { font-size: 38px; }
    .industry-services-grid { grid-template-columns: repeat(2, 1fr); }
    .challenges-grid, .strategies-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .industry-hero { padding: 180px 20px 110px; }
    .industry-hero h1 { font-size: 30px; }
    .industry-hero p { font-size: 16px; }
    .industry-content-section, .why-matters-section, .challenges-section, .strategies-section { padding: 30px 20px; }
    .industry-services-grid { grid-template-columns: 1fr; }
    .section-heading-center h2, .why-matters-content h2, .industry-cta-section h2 { font-size: 26px; }
    .industry-cta-section { padding: 40px 20px 20px; }
}