/* ==========================================================================
   SAMUDRA POWER PRODUCTS - ADVANCED INFRASTRUCTURE PAGE STYLES
   ========================================================================== */

.samudra-infra-page-wrap {
    background: #f8fafc;
    color: #1e293b;
    font-family: inherit;
    line-height: 1.6;
    overflow-x: hidden;
}

.samudra-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.samudra-infra-hero {
    background: linear-gradient(135deg, #0a1322 0%, #112240 50%, #1a365d 100%);
    padding: 75px 20px 85px;
    text-align: center;
    color: #ffffff;
    position: relative;
    border-bottom: 4px solid #d32f2f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.samudra-infra-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(211, 47, 47, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.samudra-infra-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.samudra-infra-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.22);
    border: 1px solid rgba(211, 47, 47, 0.45);
    color: #ff6b6b;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.samudra-infra-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.samudra-infra-title span {
    color: #ff4d4f;
}

.samudra-infra-subtitle {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 auto 24px;
    line-height: 1.65;
    max-width: 760px;
}

.samudra-infra-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.samudra-infra-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.samudra-infra-breadcrumb a:hover {
    color: #ff6b6b;
}

.samudra-infra-breadcrumb .sep {
    color: #64748b;
}

.samudra-infra-breadcrumb .curr {
    color: #ffffff;
}

/* ==========================================================================
   2. PLANT KEY METRICS BAR
   ========================================================================== */
.samudra-infra-metrics-strip {
    margin-top: -45px;
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

.samudra-infra-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.samudra-metric-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #d32f2f;
}

.samudra-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -5px rgba(0, 0, 0, 0.12);
}

.samudra-metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fee2e2;
    color: #d32f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.samudra-metric-info strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 3px;
}

.samudra-metric-info span {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* ==========================================================================
   3. OVERVIEW & PLANT INTRODUCTION
   ========================================================================== */
.samudra-infra-overview-section {
    padding: 50px 0 60px;
}

.samudra-infra-overview-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.samudra-infra-tag {
    display: inline-block;
    color: #d32f2f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.samudra-infra-section-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 16px;
}

.samudra-infra-body-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

.samudra-infra-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.samudra-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.samudra-pill-badge i {
    color: #d32f2f;
}

.samudra-infra-overview-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.samudra-infra-overview-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.samudra-infra-overview-img-wrap:hover img {
    transform: scale(1.03);
}

.samudra-img-floating-stat {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.samudra-img-floating-stat i {
    font-size: 22px;
    color: #22c55e;
}

.samudra-img-floating-stat strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.samudra-img-floating-stat span {
    font-size: 12px;
    color: #94a3b8;
}

/* ==========================================================================
   4. IN-DEPTH DEPARTMENT SECTIONS
   ========================================================================== */
.samudra-dept-section {
    padding: 40px 0;
}

.samudra-dept-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.samudra-dept-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.samudra-dept-card.reverse .samudra-dept-content {
    order: 1;
}

.samudra-dept-card.reverse .samudra-dept-media {
    order: 2;
}

.samudra-dept-content {
    padding: 45px;
}

.samudra-dept-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.samudra-dept-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 14px;
}

.samudra-dept-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Machinery Spec Grid */
.samudra-equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.samudra-equip-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s ease;
}

.samudra-equip-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.samudra-equip-item i {
    color: #d32f2f;
    font-size: 14px;
    flex-shrink: 0;
}

/* Department Media */
.samudra-dept-media {
    position: relative;
    height: 100%;
    min-height: 380px;
    background: #0f172a;
    overflow: hidden;
}

.samudra-dept-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.samudra-dept-media:hover img {
    transform: scale(1.05);
}

.samudra-media-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    padding: 30px 25px 20px;
    color: #ffffff;
}

.samudra-media-caption-overlay span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
}

.samudra-media-caption-overlay small {
    font-size: 12px;
    color: #94a3b8;
}

/* ==========================================================================
   5. 8-TANK POWDER COATING INFOGRAPHIC
   ========================================================================== */
.samudra-8tank-infographic-wrap {
    margin-top: 30px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #cbd5e1;
}

.samudra-8tank-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.samudra-8tank-title i {
    color: #d32f2f;
}

.samudra-8tank-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.samudra-tank-step {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.2s ease;
}

.samudra-tank-step:hover {
    border-color: #d32f2f;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tank-num {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.tank-process-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
}

.tank-desc {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.samudra-powder-addons {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.samudra-addon-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.samudra-addon-item i {
    color: #22c55e;
}

/* ==========================================================================
   6. IN-HOUSE PERFORMANCE TESTING SECTION
   ========================================================================== */
.samudra-infra-testing-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 40px 0;
}

.samudra-section-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.samudra-section-head-center .samudra-infra-tag {
    margin-bottom: 10px;
}

.samudra-section-head-center h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
}

.samudra-section-head-center p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.samudra-testing-apparatus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.samudra-test-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.samudra-test-card:hover {
    background: #ffffff;
    border-color: #d32f2f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.samudra-test-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fee2e2;
    color: #d32f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.samudra-test-card-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.35;
}

.samudra-test-card-body p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   7. PACKAGING & DISPATCH SECTION
   ========================================================================== */
.samudra-packaging-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.samudra-packaging-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.samudra-packaging-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.samudra-packaging-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.samudra-packaging-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.samudra-packaging-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   8. BOTTOM CTA
   ========================================================================== */
.samudra-infra-cta-section {
    padding: 60px 0 80px;
}

.samudra-infra-cta-card {
    background: linear-gradient(135deg, #0e1b2e 0%, #1a2b49 100%);
    border-radius: 18px;
    padding: 50px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.samudra-infra-cta-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.samudra-infra-cta-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}

.samudra-infra-cta-text p {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0;
    max-width: 600px;
}

.samudra-infra-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.samudra-btn-primary {
    background: #d32f2f;
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
}

.samudra-btn-primary:hover {
    background: #b71c1c;
    color: #ffffff;
    transform: translateY(-2px);
}

.samudra-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.samudra-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .samudra-infra-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .samudra-dept-card,
    .samudra-dept-card.reverse {
        grid-template-columns: 1fr;
    }
    .samudra-dept-card.reverse .samudra-dept-content {
        order: 2;
    }
    .samudra-dept-card.reverse .samudra-dept-media {
        order: 1;
    }
    .samudra-dept-media {
        min-height: 300px;
    }
    .samudra-8tank-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    .samudra-testing-apparatus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .samudra-packaging-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .samudra-infra-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    .samudra-infra-cta-text p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .samudra-infra-title {
        font-size: 28px;
    }
    .samudra-infra-metrics-grid {
        grid-template-columns: 1fr;
    }
    .samudra-infra-overview-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .samudra-dept-content {
        padding: 24px;
    }
    .samudra-equipment-grid {
        grid-template-columns: 1fr;
    }
    .samudra-8tank-flow {
        grid-template-columns: 1fr;
    }
    .samudra-testing-apparatus-grid {
        grid-template-columns: 1fr;
    }
    .samudra-packaging-grid {
        grid-template-columns: 1fr;
    }
    .samudra-infra-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .samudra-btn-primary,
    .samudra-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
