/*==================================================
NOBO SERVICES V2
Premium Design System
==================================================*/

/*==================================================
ENVIRONMENT
==================================================*/

/*==================================================
CONTENT LAYER
==================================================*/

/*==================================================
HERO
==================================================*/

.hero-paper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-paper h1{
    font-size:clamp(3rem,6vw,5.5rem);
    line-height:1.05;
    margin:1rem 0 2rem;
    color:#0f2f57;
}

.hero-paper p{
    max-width:700px;
    font-size:1.15rem;
    line-height:1.9;
    color:#5c6b7b;
}



/*==================================================
CTA
==================================================*/

.btn-primary{
    display:inline-block;
    margin-top:24px;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:900px){
    .hero-paper{
        min-height:70vh;
        margin-top: 70px;
    }
}









/* ========================================
   COMPLIANCE PAGE HERO
======================================== */

.compliance-hero {
    background: linear-gradient(
        135deg,
        var(--blue-primary),
        #1a2a4a
    );
    padding: 120px 20px 90px;
    text-align: center;
    color: #ffffff;
}


.compliance-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.compliance-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* ========================================
   INTRO
======================================== */
.compliance-intro {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.compliance-intro p {
    color: #64748b;
    line-height: 1.7;
}

.trust-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.trust-card-link:focus-visible .trust-card,
.trust-card-link:hover .trust-card {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

.card-cta {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--blue-accent);
    font-weight: 500;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.trust-card-link:hover .card-cta {
    transform: translateX(4px);
}

/* ========================================
   COMPLIANCE CONTENT SECTIONS
======================================== */
.compliance-intro h2 {
    text-align: center;
}

.compliance-intro h2::after {
    left: 50%;
    transform: translateX(-50%);
}
.compliance-intro h2::after {
    width: 50px;
}


.services-overview {
    padding: 100px 20px;
}

.services-overview h2{

    max-width:900px;

    margin:0 auto 24px;

    text-align:center;

    color:#ffffff;

    font-size:clamp(2.2rem,4vw,3.2rem);

    line-height:1.2;

}



.services-overview > p{

    max-width:760px;

    margin:0 auto 60px;

    text-align:center;

    font-size:1.1rem;

    line-height:1.9;

    color:rgba(255,255,255,.82);

}



/* ========================================
   COMPLIANCE GRID CARDS
======================================== */
.service-card.verified {
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: linear-gradient(180deg, #ffffff, #f6fff9);
}

/* ========================================
   MODERN TRUST GRID (FINAL VERSION)
======================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    max-width: 1100px;
    margin: 50px auto 80px;
}

.trust-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);

    /* NEW: enforce vertical structure */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-grid,
.service-grid {
    align-items: stretch;
}
.trust-card,
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.trust-meta,
.service-card p {
    margin-top: auto;
}

/* top accent = authority marker */
.trust-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--blue-primary), var(--gold-accent));
    border-radius: 16px 16px 0 0;
    opacity: 0.85;
}

.trust-card img {
    width: 120px;
    height: 90px;              /* NEW: forces consistent alignment */
    object-fit: contain;

    display: block;            /* removes inline baseline issues */
    margin: 0 auto 16px;       /* centers horizontally + spacing */

    opacity: 1;                /* remove grayscale effect */
    filter: none;              /* REMOVE hover grayscale logic */
}


.trust-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--blue-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.trust-type {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
}

.trust-meta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #94a3b8;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    line-height: 1.4;
}

/* hover = "verification activation" */
.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-color: rgba(37, 99, 235, 0.25);
}


.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    padding: 4px 8px;
    border-radius: 6px;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--gold-accent),
        var(--blue-accent)
    );
    opacity: 0.9;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: rgba(15, 23, 42, 0.14);
}

.service-card h3 {
    font-size: 1.08rem;
    margin-bottom: 12px;
    color: var(--blue-accent);
    line-height: 1.4;
}

.service-card p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* ========================================
   ACCREDITATION SECTION ENHANCEMENT
======================================== */

.accreditation-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 50px;
    justify-content: center;
}

.logo-item {
    padding: 16px 22px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue-primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ========================================
   SUPPORTING DOCUMENTATION BAND
======================================== */

.services-split-section {
    position: relative;
    overflow: visible;
}

.split-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.split-intro {
    position: sticky;
    top: 120px;
    align-self: start;
    padding-right: 10px;
}

.split-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-accent);
}

.split-intro h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--blue-primary);
    line-height: 1.15;
}

.split-intro p {
    max-width: 540px;
    margin-bottom: 18px;
}

.split-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.split-cards .service-card:nth-child(2) {
    margin-left: 20px;
}
.split-cards .service-card:nth-child(3) {
    margin-left: 40px;
}
.split-cards .service-card:nth-child(4) {
    margin-left: 60px;
}

/* ========================================
   SECTION DIVIDERS
======================================== */

.section-divider-chip {
    position: relative;
    width: min(1120px, calc(100% - 40px));
    height: 56px;
    margin: 0 auto;
    z-index: 2;
}

.section-divider-chip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(30, 58, 138, 0.10) 18%,
        rgba(212, 175, 55, 0.45) 50%,
        rgba(30, 58, 138, 0.10) 82%,
        transparent 100%
    );
}

.section-divider-chip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--gold-accent),
        #f0cf63
    );
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.95),
        0 8px 20px rgba(212, 175, 55, 0.20);
}




@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .split-intro {
        position: relative;
        top: auto;
        padding-right: 0;
    }

    .split-cards .service-card:nth-child(2),
    .split-cards .service-card:nth-child(3),
    .split-cards .service-card:nth-child(4) {
        margin-left: 0;
    }
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 992px) {
    .compliance-hero {
        padding: 100px 20px 75px;
    }

    .compliance-hero h1 {
        font-size: 2.2rem;
    }

    .services-overview {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .compliance-hero {
        padding: 90px 18px 70px;
    }

    .compliance-hero h1 {
        font-size: 1.95rem;
        margin-bottom: 16px;
    }

    .compliance-hero p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .services-overview {
        padding: 70px 18px;
    }

    .services-overview h2 {
        font-size: 1.65rem;
    }

    .services-overview > p {
        margin-bottom: 38px;
        font-size: 0.98rem;
    }

    .service-grid {
        gap: 20px;
    }

    .service-card {
        padding: 24px 22px;
        border-radius: 14px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.94rem;
    }

    .section-divider-chip {
        width: calc(100% - 32px);
        height: 44px;
    }

    .section-divider-chip::after {
        width: 12px;
        height: 12px;
        box-shadow:
            0 0 0 6px rgba(255, 255, 255, 0.95),
            0 6px 16px rgba(212, 175, 55, 0.18);
    }

    .section-divider-chip-light::after {
        box-shadow:
            0 0 0 6px rgba(255, 255, 255, 0.95),
            0 6px 16px rgba(212, 175, 55, 0.18);
    }
}

@media (max-width: 480px) {
    .compliance-hero h1 {
        font-size: 1.7rem;
    }

    .compliance-hero p {
        font-size: 0.95rem;
    }

    .services-overview h2 {
        font-size: 1.45rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 22px 18px;
    }
}

/* ========================================
   DESKTOP: FORCE 2x2 CARD LAYOUT
   (Accreditations + Regulatory Compliance + Health, Safety & Ethics)
======================================== */
@media (min-width: 993px) {
    .accreditation-section .service-grid,
    .accreditation-section + .section-divider-chip + .services-overview .service-grid,
    .services-split-section + .section-divider-chip + .services-overview .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }
}


