/* ============================================================
   RJMC — Our Vision Page Styles  v3.0
   Matches: Theme v3 · Red · Off-White · Soft Teal · Deep Teal
   #DB1A1A · #FFF6F6 · #8CC7C4 · #2C687B
   Fonts: Playfair Display (display) · DM Sans (body)
   ============================================================ */

/* ── Mini Hero / Page Banner ───────────────────────────── */
.rjmc-mini-hero {
    position: relative;
    background-image: linear-gradient( 145deg, rgba(22,55,69,.93) 0%, rgba(44,104,123,.87) 58%, rgba(140,199,196,.28) 100% ), url('../images/rjmc-mini-banner.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Decorative geometry — echoes Default.aspx hero */
.mini-hero-geo-1 {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1.5px solid rgba(140,199,196,.14);
    animation: geoSpin 22s linear infinite;
    pointer-events: none;
}

.mini-hero-geo-2 {
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(219,26,26,.10);
    animation: geoSpin 32s linear infinite reverse;
    pointer-events: none;
}

.mini-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(140,199,196,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(140,199,196,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

@keyframes geoSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Teal accent rule left of heading */
.mini-hero-accent {
    display: inline-block;
    width: 4px;
    height: 52px;
    background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 4px;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(140,199,196,.35);
}

.mini-hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0 56px;
}

/* Breadcrumb */
.mini-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

    .mini-hero-breadcrumb a {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: rgba(140,199,196,.7) !important;
        transition: color .25s;
    }

        .mini-hero-breadcrumb a:hover {
            color: var(--teal-light) !important;
        }

    .mini-hero-breadcrumb .bc-sep {
        font-size: 11px;
        color: rgba(255,255,255,.25);
    }

    .mini-hero-breadcrumb .bc-current {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: rgba(255,255,255,.45);
    }

/* Hero heading row */
.mini-hero-title-row {
    display: flex;
    align-items: center;
}

    .mini-hero-title-row h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3rem;
        font-weight: 700;
        color: var(--white);
        line-height: 1.15;
        letter-spacing: -.3px;
        margin: 0;
    }

        .mini-hero-title-row h1 em {
            font-style: italic;
            color: var(--teal-light);
        }

/* Tagline below heading */
.mini-hero-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(255,255,255,.52);
    margin-top: 12px;
    padding-left: 22px;
}

/* ── Vision Content Section ─────────────────────────────── */
.vision-section {
    background: var(--off-white);
    padding: 88px 0 96px;
}

/* Chip label */
.vision-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-ghost);
    border: 1px solid rgba(219,26,26,.18);
    padding: 6px 16px 6px 12px;
    border-radius: 50px;
    margin-bottom: 18px;
}

    .vision-chip::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--red);
        flex-shrink: 0;
    }

/* Section heading */
.vision-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

    .vision-heading em {
        font-style: italic;
        color: var(--red);
    }

/* Divider rule */
.vision-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--teal));
    border-radius: 3px;
    margin-bottom: 28px;
}

/* Vision statement card */
.vision-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 5px solid var(--red);
    border-radius: var(--radius-md);
    padding: 36px 36px 36px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

    .vision-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

    .vision-card::before {
        content: '\201C';
        font-family: 'Playfair Display', serif;
        font-size: 6rem;
        line-height: 1;
        color: rgba(219,26,26,.09);
        position: absolute;
        top: 12px;
        left: 18px;
        pointer-events: none;
    }

    .vision-card p {
        font-family: 'DM Sans', sans-serif;
        font-size: 15.5px;
        line-height: 1.9;
        color: var(--text-body);
        text-align: justify;
        position: relative;
        z-index: 1;
    }

/* Pillar cards grid */
.vision-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.pillar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 22px 24px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}

    .pillar-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--red), var(--teal));
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .35s var(--ease);
    }

    .pillar-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
        border-color: var(--teal);
    }

        .pillar-card:hover::after {
            transform: scaleX(1);
        }

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red-ghost);
    border: 1px solid rgba(219,26,26,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--red);
    margin: 0 auto 16px;
    box-shadow: var(--shadow-xs);
    transition: all .35s var(--ease-spring);
}

.pillar-card:hover .pillar-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: scale(1.12) rotate(-5deg);
}

.pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pillar-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Side Panel ─────────────────────────────────────────── */
.vision-side-panel {
    background: linear-gradient(155deg, var(--deep-deeper) 0%, var(--deep) 100%);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

    .vision-side-panel::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        border: 1.5px solid rgba(140,199,196,.12);
        pointer-events: none;
    }

    .vision-side-panel::after {
        content: '';
        position: absolute;
        bottom: -40px;
        left: -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        border: 1px solid rgba(219,26,26,.08);
        pointer-events: none;
    }

.vsp-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 12px;
    display: block;
}

.vsp-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 20px;
}

    .vsp-heading em {
        font-style: italic;
        color: var(--teal-light);
    }

.vsp-divider {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), transparent);
    margin-bottom: 22px;
}

.vsp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

    .vsp-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
        font-size: 14px;
        color: rgba(255,255,255,.72);
        line-height: 1.55;
    }

        .vsp-list li:last-child {
            border-bottom: none;
        }

.vsp-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: rgba(140,199,196,.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
    font-size: 12px;
    margin-top: 1px;
}

/* Highlighted rank text inside list */
.vsp-list li strong {
    color: var(--teal-light);
}

/* CTA button inside panel */
.btn-vsp {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white) !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: 50px;
    box-shadow: var(--shadow-red);
    transition: all .3s var(--ease);
    position: relative;
    z-index: 1;
}

    .btn-vsp:hover {
        background: var(--red-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-red-lg);
    }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .mini-hero-title-row h1 {
        font-size: 2.2rem;
    }

    .rjmc-mini-hero {
        background-attachment: scroll;
        min-height: 240px;
    }

    .vision-side-panel {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .vision-section {
        padding: 60px 0 68px;
    }

    .mini-hero-inner {
        padding: 52px 0 44px;
    }

    .vision-heading {
        font-size: 2rem;
    }

    .vision-card {
        padding: 28px 24px 28px 22px;
    }

    .vision-pillars {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .mini-hero-title-row h1 {
        font-size: 1.75rem;
    }

    .mini-hero-accent {
        height: 38px;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
    }
}
