/* ==========================================================================
   SAMUDRA POWER PRODUCTS - QUALITY ASSURANCE PAGE STYLES
   ========================================================================== */

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

/* 1. Hero Banner */
.samudra-qa-hero {
    background: linear-gradient(135deg, #091a2f 0%, #132d4b 50%, #1e406b 100%);
    padding: 75px 20px 85px;
    text-align: center;
    color: #ffffff;
    position: relative;
    border-bottom: 4px solid #22c55e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.samudra-qa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.samudra-qa-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

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

.samudra-qa-title span {
    color: #22c55e;
}

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

.samudra-qa-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-qa-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.samudra-qa-breadcrumb a:hover {
    color: #4ade80;
}

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

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

/* 2. Quality Policy Statement Card */
.samudra-qa-policy-section {
    margin-top: -45px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.samudra-qa-policy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.9);
    border-left: 6px solid #22c55e;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

.samudra-qa-policy-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.samudra-qa-policy-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 16px;
}

.samudra-qa-policy-quote {
    font-size: 16px;
    color: #334155;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 16px;
    border-left: 3px solid #e2e8f0;
    padding-left: 18px;
}

.samudra-qa-policy-author {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.samudra-qa-policy-badge-box {
    background: #f0fdf4;
    border: 1px dashed #86efac;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.samudra-qa-badge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

.samudra-qa-policy-badge-box strong {
    display: block;
    font-size: 16px;
    color: #14532d;
    margin-bottom: 4px;
}

.samudra-qa-policy-badge-box span {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

/* 3. Three Quality Pillars */
.samudra-qa-pillars-section {
    padding: 30px 0 50px;
}

.samudra-qa-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.samudra-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.samudra-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #22c55e;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.pillar-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 38px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    pointer-events: none;
}

.pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.pillar-icon.green {
    background: #f0fdf4;
    color: #16a34a;
}

.pillar-icon.red {
    background: #fee2e2;
    color: #dc2626;
}

.samudra-pillar-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.samudra-pillar-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 14px;
}

.pillar-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-checklist li {
    font-size: 13px;
    color: #334155;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
}

.pillar-checklist li i {
    color: #22c55e;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 4. Certificates Showcase */
.samudra-qa-certificates-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.samudra-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.samudra-cert-card {
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.samudra-cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.samudra-cert-thumb-wrap {
    position: relative;
    height: 360px;
    background: #e2e8f0;
    overflow: hidden;
    cursor: pointer;
}

.samudra-cert-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    display: block;
    transition: transform 0.4s ease;
}

.samudra-cert-thumb-wrap:hover img {
    transform: scale(1.04);
}

.samudra-cert-zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: background 0.2s;
}

.samudra-cert-badge-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.samudra-cert-badge-ribbon.cpri {
    background: #d32f2f;
}

.samudra-cert-badge-ribbon.iso {
    background: #0284c7;
}

.samudra-cert-badge-ribbon.erda {
    background: #16a34a;
}

.samudra-cert-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.samudra-cert-info h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.35;
}

.samudra-cert-info p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
    flex-grow: 1;
}

.samudra-cert-meta {
    font-size: 12px;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.samudra-cert-meta span strong {
    color: #0f172a;
}

/* 5. In-House LT Panels Routine Testing Checklist */
.samudra-qa-checklist-section {
    padding: 60px 0;
}

.samudra-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 35px;
}

.samudra-check-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.samudra-check-item:hover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: translateX(4px);
}

.check-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.4;
}

.check-item-body p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* 6. Third Party Inspection / FAT Strip */
.samudra-qa-fat-strip {
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 30px 40px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.samudra-qa-fat-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}

.samudra-qa-fat-text p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.fat-agency-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.fat-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

/* 7. Lightbox Modal */
.samudra-qa-lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 26, 0.94);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.samudra-qa-lightbox-modal.active {
    display: flex;
}

.samudra-modal-container {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.samudra-modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.samudra-modal-close-btn:hover {
    background: #d32f2f;
}

.samudra-modal-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.samudra-modal-caption {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 14px;
    text-align: center;
}

/* 8. Bottom CTA */
.samudra-qa-cta-section {
    padding: 40px 0 80px;
}

.samudra-qa-cta-card {
    background: linear-gradient(135deg, #062b1b 0%, #0f3e2a 100%);
    border-radius: 18px;
    padding: 50px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(74, 222, 128, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

.samudra-btn-success {
    background: #22c55e;
    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(34, 197, 94, 0.4);
}

.samudra-btn-success:hover {
    background: #16a34a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .samudra-qa-policy-card {
        grid-template-columns: 1fr;
    }
    .samudra-qa-pillars-grid {
        grid-template-columns: 1fr;
    }
    .samudra-cert-grid {
        grid-template-columns: 1fr;
    }
    .samudra-cert-thumb-wrap {
        height: 300px;
    }
    .samudra-checklist-grid {
        grid-template-columns: 1fr;
    }
    .samudra-qa-fat-strip {
        flex-direction: column;
        text-align: center;
    }
    .fat-agency-badges {
        justify-content: center;
    }
    .samudra-qa-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    .samudra-qa-cta-text p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .samudra-qa-title {
        font-size: 28px;
    }
    .samudra-qa-policy-card {
        padding: 24px;
    }
    .samudra-btn-success,
    .samudra-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
