/* iso-certification.css
   Styles for ISO Certification Services page
   Mobile-first, semantic and accessible CSS (no frameworks)
   Fonts: Poppins (fallbacks provided). */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #0b63d4;
    --accent: #1e88e5;
    --gold: #c79b2b;
    --muted: #6b7280;
    --bg: #f7fbff
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    line-height: 1.45;
    color: var(--primary);
    background: #fff;
    margin: 0
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px
}

.section-head {
    margin-bottom: 14px
}

.section-head h2 {
    margin: 0;
    font-size: 20px
}

.muted {
    color: var(--muted)
}

.small {
    font-size: 13px
}

.kicker {
    display: inline-block;
    background: rgba(42, 157, 143, 0.08);
    color: var(--accent);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px
}

/* HERO: full-bleed with background image and dark overlay */
.hero.full-bleed {
    position: relative;
    overflow: hidden;
    padding: 48px 0 40px
}

.hero.full-bleed::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(0.95) contrast(0.95);
    z-index: 0
}

.hero.full-bleed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 31, 58, 0.62), rgba(7, 31, 58, 0.34));
    z-index: 1
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start
}

.hero-left,
.hero-copy {
    color: #fff
}

.hero-left h1,
.hero-copy h1 {
    font-size: 28px;
    margin: 8px 0;
    color: #fff
}

.lead {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px
}

.highlights {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    color: rgba(255, 255, 255, 0.9)
}

.highlights li {
    margin: 8px 0
}

.hero-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block
}

/* Hero right: compact form card */
.hero-right {
    display: block
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(3, 37, 79, 0.12);
    color: #07203a;
    border: 1px solid #eef6fb
}

.form-card h2 {
    margin: 0 0 8px;
    font-size: 18px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px
}

.form-grid .col {
    grid-column: span 1
}

.form-grid .full {
    grid-column: 1/-1
}

.form-card input,
.form-card select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e6eefb
}

.form-card .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    border: none
}

.privacy {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px
}

/* Form card */
.hero-form .form-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(3, 37, 79, 0.06);
    border: 1px solid #eef6fb
}

.form-card h2 {
    margin: 0 0 8px;
    font-size: 18px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px
}

.form-grid .col {
    grid-column: span 1
}

.form-grid .full {
    grid-column: 1/-1
}

.form-card input,
.form-card select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e6eefb;
    font-size: 14px
}

.form-card .btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer
}

.privacy {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px
}

/* OVERVIEW */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0
}

.overview-right .info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eef6fb;
    margin-bottom: 12px
}

.overview-right .info-card i {
    color: var(--primary);
    font-size: 20px;
    min-width: 36px
}

.fact-chip {
    background: #eef6ff;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid rgba(11, 99, 212, 0.06)
}

/* Force the Overview heading to black for contrast */
.overview .overview-left h2,
.overview-left h2 {
    color: #000
}

/* Make the overview lead paragraph black specifically */
.overview .overview-left .lead,
.overview-left .lead {
    color: #000
}

/* TYPES */
.types-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px
}

/* Add spacing below the Types section to separate it from the following section */
.types {
    margin-bottom: 36px
}

/* Force the 'Types of ISO' section heading to black for contrast */
.types .section-head h2 {
    color: #000
}

.type-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #eef6fb
}

.tc-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef6fb;
    color: var(--accent);
    font-size: 20px
}

.tc-icon i {
    font-size: 20px
}

.tc-body h4 {
    margin: 0 0 6px;
    font-size: 16px
}

/* Ensure headings inside Types cards are black for readability */
.type-card .tc-body h4 {
    color: #000
}

.type-eligibility {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px
}

.type-features {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 10px;
    color: var(--muted)
}

.type-features li {
    margin: 6px 0
}

.type-cta-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 6px
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none
}

.btn-outline:focus {
    outline: 3px solid rgba(42, 157, 143, 0.12)
}

.more {
    color: var(--muted);
    font-size: 13px;
    text-decoration: underline
}

@media(min-width:760px) {
    .types-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .type-card {
        grid-template-columns: 56px 1fr
    }

    .types {
        margin-bottom: 56px
    }
}

/* HOW ISO HELPS GRID */
.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px
}

.how-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef6fb
}

.hc-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef6fb
}

.hc-icon i {
    font-size: 22px;
    color: var(--accent)
}

.hc-body h4 {
    margin: 0 0 6px
}

/* Make the headings inside How ISO cards black for readability */
.how-card .hc-body h4 {
    color: #000
}

.how-intro p {
    margin: 10px 0;
    color: #000
}

/* Ensure the smaller/submenu text under 'How ISO helps your business' is black */
.how-intro p.small.muted {
    color: #000
}

/* Make the 'How ISO helps your business' subheading black for contrast and add spacing */
.overview .overview-left h3,
.overview-left h3 {
    color: #000;
    margin-top: 28px;
}

.how-cta .btn-primary {
    padding: 10px 14px;
    border-radius: 8px
}

/* WHO */
.who-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin: 12px 0
}

.who {
    margin-bottom: 36px
}

.who .section-head h2 {
    color: #000
}

.who-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #eef6fb
}

.wc-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef6fb;
    color: var(--primary);
    font-size: 20px
}

.wc-icon i {
    font-size: 20px
}

.wc-body h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #000
}

.wc-body p {
    margin: 0 0 8px
}

.examples {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px
}

.wc-cta {
    margin-top: 6px
}

.wc-cta .btn-outline {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    text-decoration: none
}

.wc-cta .btn-outline:focus {
    outline: 3px solid rgba(42, 157, 143, 0.12)
}

@media(min-width:760px) {
    .who-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .who-card {
        grid-template-columns: 56px 1fr
    }
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px
}

/* Documents section heading and card headings should be black for contrast */
.docs .section-head h2 {
    color: #000
}

.doc-card .dc-body h4 {
    color: #000
}

/* Add spacing below Documents to separate it from Benefits */
.docs {
    margin-bottom: 36px
}

.doc-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef6fb
}

.dc-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef6fb;
    color: var(--accent);
    font-size: 20px
}

.dc-icon i {
    font-size: 20px
}

.dc-body h4 {
    margin: 0 0 6px;
    font-size: 15px
}

.dc-body p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.doc-sample {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-size: 13px;
    text-decoration: underline
}

@media(min-width:760px) {
    .docs-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .doc-card {
        grid-template-columns: 56px 1fr
    }

    .docs {
        margin-bottom: 56px
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px
}

.benefit-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef6fb
}

.bc-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fff7f0);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3eadc;
    color: var(--accent);
    font-size: 20px
}

.bc-icon i {
    font-size: 20px
}

.bc-body h4 {
    margin: 0 0 6px;
    font-size: 16px
}

/* Benefits section heading and card headings should be black for contrast */
.benefits .section-head h2 {
    color: #000
}

.benefit-card .bc-body h4 {
    color: #000
}

.benefits {
    margin-bottom: 36px
}

.bc-body p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px
}

.bc-kpi {
    color: var(--muted);
    font-size: 13px
}

@media(min-width:760px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .benefit-card {
        grid-template-columns: 56px 1fr
    }

    .benefits {
        margin-bottom: 56px
    }
}

/* PLANS */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
    padding: 12px 0
}

.plan.card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eef6fb;
    display: grid;
    gap: 10px
}

.plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.plan-price {
    font-weight: 800;
    font-size: 22px;
    color: var(--primary)
}

.packages .section-head h2 {
    color: #000
}

.plan.card .plan-top h3 {
    color: #000
}

.plan-badge {
    display: inline-block;
    background: #f5f7fb;
    color: var(--muted);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 6px
}

.plan-features {
    list-style: disc;
    padding-left: 18px;
    margin: 8px 0;
    color: var(--muted)
}

.plan-features li {
    margin: 6px 0
}

.plan-meta {
    font-size: 13px;
    color: var(--muted)
}

.plan-footer .btn-primary {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px
}

.recommended {
    position: relative;
    border: 2px solid rgba(42, 157, 143, 0.06);
    box-shadow: 0 14px 40px rgba(42, 157, 143, 0.04);
    transform: translateY(-6px)
}

.recommended .ribbon {
    position: absolute;
    right: 18px;
    top: -14px;
    background: linear-gradient(90deg, var(--accent), #2ecc71);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px
}

@media(min-width:760px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* PROCESS */
.process {
    background: linear-gradient(90deg, #0b63d4 0%, #073069 100%);
    padding: 24px 0;
    border-radius: 10px;
    margin: 18px 0
}

.process .section-head h2 {
    margin-bottom: 6px;
    color: #fff
}

.process .section-head p {
    color: rgba(255, 255, 255, 0.9)
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px
}

.process-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    border: 1px solid #eef6fb
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 9px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef6fb;
    color: var(--accent);
    font-size: 20px
}

.step-icon i {
    font-size: 20px
}

.step-body h4 {
    margin: 0 0 6px;
    font-size: 15px
}

.step-tat {
    font-weight: 700;
    font-size: 12px;
    background: #f3f9ff;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px
}

.process-cta {
    text-align: center;
    margin-top: 14px
}

.process .btn-primary {
    background: #fff;
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 8px
}

@media(min-width:760px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* FAQ accordion (CSS only) */
.accordion .acc-item {
    margin: 8px 0;
    border-radius: 8px;
    overflow: hidden
}

.accordion input {
    display: none
}

.accordion label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid #eef6fb;
    cursor: pointer
}

.accordion .acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    padding: 0 12px
}

.accordion input:checked+label+.acc-panel {
    max-height: 400px;
    padding: 12px
}

.chev {
    margin-left: 12px
}

/* TESTIMONIALS & BLOG */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px
}

.testi {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eef6fb
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px
}

/* Accessibility focus */
:where(a, button, input, select) {
    outline-offset: 2px
}

:where(a:focus, button:focus, input:focus, select:focus) {
    outline: 3px solid rgba(42, 157, 143, 0.14)
}

/* Responsive layout for larger screens */
@media(min-width:760px) {
    .hero-grid {
        grid-template-columns: 1fr 420px;
        gap: 28px
    }

    .overview-grid {
        grid-template-columns: 1fr 320px;
        gap: 20px
    }

    .types-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .overview .overview-left h3 {
        margin-top: 36px
    }

    .who-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .who {
        margin-bottom: 56px
    }

    .docs-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .plans-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .form-grid {
        grid-template-columns: 1fr 1fr
    }

    .form-grid .full {
        grid-column: 1/-1
    }
}

/* Small utility */
.small {
    font-size: 13px
}

.muted {
    color: var(--muted)
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none
}

/* Ensure the 'How ISO helps your business' subheading is always rendered black */
.overview .overview-left h3 {
    color: #000 !important
}

/* End of file */