/* ==========================================================
   mediation.css
   Styles for the PMA Mediation page.
   ========================================================== */


/* ── What is Mediation? Section ── */
.pma-what-mediation-section {
    background: #ffffff;
    overflow: hidden;
    padding: 0 60px;
}

.pma-what-mediation-inner {
    display: flex;
    align-items: stretch;
    min-height: 280px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

/* Left: icon + text */
.pma-what-mediation-left {
    flex: 0 0 48%;
    max-width: 48%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 52px 48px 52px 60px;
    background: #ffffff;
}

.pma-what-mediation-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.pma-what-mediation-icon i {
    font-size: 22px;
    color: var(--secondary-color);
}

.pma-what-mediation-text {
    flex: 1;
}

.pma-what-mediation-text h2 {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px;
    line-height: 1.3;
}

.pma-what-mediation-divider {
    width: 36px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin-bottom: 16px;
}

.pma-what-mediation-text p {
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--body-font-color);
    line-height: 1.8;
    margin: 0 0 14px;
}

.pma-what-mediation-text p:last-child {
    margin-bottom: 0;
}

/* Right: image */
.pma-what-mediation-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.pma-what-mediation-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Prev / Next arrows */
.pma-what-mediation-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 22px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    padding: 0;
}

.pma-what-mediation-arrow:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pma-what-mediation-arrow--prev {
    left: 12px;
}

.pma-what-mediation-arrow--next {
    right: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .pma-what-mediation-section {
        padding: 0 32px;
    }
}

@media (max-width: 991px) {
    .pma-what-mediation-section {
        padding: 0 20px;
    }

    .pma-what-mediation-inner {
        flex-direction: column;
    }

    .pma-what-mediation-left {
        flex: unset;
        max-width: 100%;
        padding: 40px 24px;
    }

    .pma-what-mediation-right {
        min-height: 240px;
        width: 100%;
    }

    .pma-what-mediation-arrow--prev { left: 8px; }
    .pma-what-mediation-arrow--next { right: 8px; }
}

@media (max-width: 600px) {
    .pma-what-mediation-section {
        padding: 0 12px;
    }

    .pma-what-mediation-left {
        flex-direction: column;
        gap: 16px;
        padding: 32px 20px;
    }

    .pma-what-mediation-text h2 {
        font-size: 22px;
    }
}


/* ==========================================================
   How Mediation Works Section
   ========================================================== */

.pma-how-mediation-section {
    padding: 48px 0 64px;
    background: #ffffff;
}

/* ── Top banner strip ── */
.pma-mediation-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 48px;
}

.pma-mediation-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pma-mediation-banner-icon i {
    font-size: 22px;
    color: var(--secondary-color);
}

.pma-mediation-banner-text {
    font-family: var(--body-font);
    font-size: 15px;
    color: var(--primary-color);
    line-height: 1.7;
    margin: 0;
}

.pma-mediation-banner-text strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* ── How Mediation Works body ── */
.pma-how-mediation-body {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-top: 20px;
}

/* Left column */
.pma-how-mediation-left {
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pma-how-mediation-left-heading {
    margin-bottom: 28px;
    max-width: 520px;
}

.pma-how-mediation-image-card {
    position: relative;
    width: 100%;
    max-width: 620px;
    align-self: flex-start;
    /* border-radius: 28px; */
    overflow: hidden;
    /* background: #a02e2e; */
}

.pma-how-mediation-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    animation: pma-image-float 1.5s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes pma-image-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.01);
    }
}

.pma-how-mediation-play {
    position: absolute;
    inset: auto auto 32px 32px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    background: rgba(20, 85, 170, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 18px 30px rgba(17, 39, 83, 0.18);
    cursor: pointer;
}

.pma-how-mediation-headline {
    margin-bottom: 36px;
}

.pma-how-mediation-label {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(21, 89, 210, 0.08);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.pma-how-mediation-headline h2 {
    font-family: var(--heading-font);
    font-size: 44px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.08;
    margin: 0;
}

.pma-mediation-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 0;
}

.pma-mediation-step--last {
    border-bottom: none;
    padding-bottom: 0;
}

.pma-mediation-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pma-mediation-step-body h4 {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 8px;
    line-height: 1.25;
}

.pma-mediation-step-body p {
    font-family: var(--body-font);
    font-size: 15px;
    color: var(--body-font-color);
    margin: 0;
    line-height: 1.75;
}

.pma-how-mediation-left h2,
.pma-how-mediation-divider,
.pma-orbit-graphic {
    display: none;
}

.pma-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(var(--secondary-color-rgb), 0.35);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pma-orbit--1 { width: 100px; height: 100px; }
.pma-orbit--2 { width: 155px; height: 155px; }
.pma-orbit--3 { width: 210px; height: 210px; }

.pma-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.pma-orbit-center i {
    font-size: 26px;
    color: var(--secondary-color);
}

/* Orbit dots */
.pma-orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.pma-orbit-dot--1 { top: 50%; left: 0; transform: translateY(-50%); }
.pma-orbit-dot--2 { top: 0; left: 50%; transform: translateX(-50%); }
.pma-orbit-dot--3 { bottom: 12px; left: 18px; }
.pma-orbit-dot--4 { bottom: 12px; right: 18px; }

/* Right column — steps */
.pma-how-mediation-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 24px;
}

.pma-mediation-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    padding-bottom: 28px;
    border-bottom: none;
}

.pma-mediation-step--last {
    padding-bottom: 0;
}

.pma-mediation-step-num {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pma-mediation-step-num::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 47px;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 22px);
    background: #ffbe2e;
    border-radius: 999px;
    z-index: 0;
}

.pma-mediation-step--last .pma-mediation-step-num::after {
    display: none;
}

.pma-mediation-step-body {
    flex: 1;
}

.pma-mediation-step-body h4 {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 4px;
    line-height: 1.3;
}

.pma-mediation-step-body p {
    font-family: var(--body-font);
    font-size: 13px;
    color: var(--body-font-color);
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .pma-how-mediation-body {
        flex-direction: column;
        gap: 40px;
    }

    .pma-how-mediation-left {
        flex: unset;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .pma-how-mediation-divider {
        margin: 0 auto 32px;
    }
}

@media (max-width: 600px) {
    .pma-mediation-banner {
        flex-direction: column;
        text-align: center;
    }

    .pma-how-mediation-left h2 {
        font-size: 26px;
    }
}


/* ==========================================================
   Who We Serve Section
   ========================================================== */

.pma-who-we-serve-section {
    background: var(--primary-color);
    padding: 56px 0 60px;
}

.pma-who-we-serve-header {
    text-align: center;
    margin-bottom: 40px;
}

.pma-who-we-serve-header h2 {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
}

.pma-who-we-serve-divider {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    margin: 0 auto;
}

/* 5-column grid */
.pma-who-we-serve-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pma-serve-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: background 300ms ease, border-color 300ms ease, transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms cubic-bezier(.2,.8,.2,1);
}

.pma-serve-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 190, 46, 0.12);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 10px 24px rgba(31,50,72,0.06);
}

.pma-serve-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1.5px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pma-serve-icon i {
    font-size: 22px;
    color: var(--secondary-color);
}

.pma-serve-card h4 {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

.pma-serve-card p {
    font-family: var(--body-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1100px) {
    .pma-who-we-serve-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .pma-who-we-serve-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pma-who-we-serve-grid {
        grid-template-columns: 1fr;
    }
}

/* ── What is Mediation Section — Mediation Page Override ── */
#pma-mediation.pma-mediation-section {
    background-color: #f0f3f7;
    background-image: none;
    background-attachment: scroll;
    padding: 90px 0 100px;
    margin-top: 0;
}

/* ── Eyebrow label ── */
.pma-mediation-eyebrow {
    display: inline-block;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(33, 52, 73, 0.08);
    border: 1px solid rgba(33, 52, 73, 0.15);
    border-radius: 4px;
    padding: 5px 12px;
    margin-bottom: 20px;
}

/* ── Content column ── */
#pma-mediation .pma-mediation-content {
    background: transparent;
    padding: 0;
    min-height: unset;
}

#pma-mediation .pma-mediation-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

#pma-mediation .pma-mediation-text {
    color: #5a6573;
    font-size: 15px;
    line-height: 1.8;
}

/* ── Image card ── */
.pma-mediation-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(33, 52, 73, 0.14);
    line-height: 0;
}

.pma-mediation-img-card {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    #pma-mediation.pma-mediation-section {
        padding: 64px 0 72px;
    }
    #pma-mediation .pma-mediation-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .pma-mediation-img-wrap {
        margin-top: 32px;
    }
}


/* ==========================================================
   Why Choose Mediation with PMA? Section
   ========================================================== */

#pma-why-mediation.pma-why-mediation-section {
    background-color: var(--primary-color);
    padding: 64px 0 72px;
}

/* ── Header ── */
.pma-why-mediation-header {
    text-align: center;
    margin-bottom: 52px;
}

.pma-why-mediation-header h2 {
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    line-height: 1.25;
}

.pma-why-mediation-divider {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    margin: 0 auto;
    position: relative;
}

.pma-why-mediation-divider::before,
.pma-why-mediation-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    opacity: 0.5;
    border-radius: 1px;
}

.pma-why-mediation-divider::before { right: calc(100% + 6px); }
.pma-why-mediation-divider::after  { left:  calc(100% + 6px); }

/* ── Grid ── */
.pma-why-mediation-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* ── Card ── */
.pma-why-mediation-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 28px;
    transition: transform 0.25s ease;
}

.pma-why-mediation-card:hover {
    transform: translateY(-4px);
}

/* ── Icon ── */
.pma-why-mediation-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 163, 89, 0.4);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.pma-why-mediation-card:hover .pma-why-mediation-icon {
    border-color: var(--secondary-color);
    background: rgba(212, 163, 89, 0.08);
}

.pma-why-mediation-icon i {
    font-size: 28px;
    color: var(--secondary-color);
    line-height: 1;
}

/* ── Card Title ── */
.pma-why-mediation-card h4 {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.35;
}

/* ── Card Description ── */
.pma-why-mediation-card p {
    font-family: var(--body-font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0;
}

/* ── Vertical Separator ── */
.pma-why-mediation-separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    align-self: stretch;
    flex-shrink: 0;
    margin: 8px 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .pma-why-mediation-card {
        padding: 20px 18px;
    }
}

@media (max-width: 991px) {
    .pma-why-mediation-grid {
        flex-wrap: wrap;
        gap: 0;
    }

    .pma-why-mediation-separator {
        display: none;
    }

    .pma-why-mediation-card {
        flex: 1 1 33.333%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 28px 20px;
    }

    .pma-why-mediation-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .pma-why-mediation-header h2 {
        font-size: 26px;
    }

    .pma-why-mediation-card {
        flex: 1 1 50%;
    }
}

@media (max-width: 480px) {
    .pma-why-mediation-card {
        flex: 1 1 100%;
    }
}
