/* ============================================================
   RJMC — NCC Page Styles  v2.0
   Matches: style.css  · Red · Teal · Deep palette
   Mini Hero: mirrors ourmission.css  (ncc- prefix)
   Body sections: reuse Default.aspx shared classes
   Fonts: Playfair Display (display) · DM Sans (body)
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   § 1 — MINI HERO  (mirrors om-mini-hero from ourmission.css)
══════════════════════════════════════════════════════════ */
.ncc-mini-hero {
    position: relative;
    background-image: linear-gradient(145deg, rgba(22,55,69,.95) 0%, rgba(44,104,123,.88) 55%, rgba(140,199,196,.30) 100%), url('../images/rjmc-mini-banner.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 310px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Geometry rings */
.ncc-hero-geo {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ncc-hero-geo--1 {
    top: -70px;
    right: -70px;
    width: 340px;
    height: 340px;
    border: 1.5px solid rgba(140,199,196,.12);
    animation: nccGeoSpin 24s linear infinite;
}

.ncc-hero-geo--2 {
    bottom: -90px;
    left: 8%;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(219,26,26,.08);
    animation: nccGeoSpin 36s linear infinite reverse;
}

.ncc-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 nccGeoSpin {
    to {
        transform: rotate(360deg);
    }
}

.ncc-hero-inner {
    position: relative;
    z-index: 2;
    padding: 68px 0 60px;
}

/* Breadcrumb */
.ncc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

    .ncc-breadcrumb a {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: rgba(140,199,196,.65) !important;
        transition: color .25s;
    }

        .ncc-breadcrumb a:hover {
            color: var(--teal, #8CC7C4) !important;
        }

    .ncc-breadcrumb .bc-sep {
        font-size: 11px;
        color: rgba(255,255,255,.22);
    }

    .ncc-breadcrumb .bc-current {
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: rgba(255,255,255,.40);
    }

/* Title row */
.ncc-hero-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.ncc-hero-accent {
    display: inline-block;
    width: 5px;
    height: 56px;
    background: linear-gradient(180deg, var(--red, #DB1A1A) 0%, var(--red-dark, #b31212) 100%);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(219,26,26,.35);
}

.ncc-hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white, #fff);
    line-height: 1.15;
    letter-spacing: -.3px;
    margin: 0 0 6px;
}

    .ncc-hero-h1 em {
        font-style: italic;
        color: #8CC7C4;
    }

.ncc-hero-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(255,255,255,.50);
    margin: 0;
}

/* Pill tags */
.ncc-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ncc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .5px;
    color: rgba(255,255,255,.70);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    transition: all .25s var(--ease);
}

    .ncc-pill i {
        color: #8CC7C4;
        font-size: 12px;
    }

    .ncc-pill:hover {
        background: rgba(140,199,196,.15);
        border-color: rgba(140,199,196,.30);
        color: #fff;
    }

/* ══════════════════════════════════════════════════════════
   § 2 — SIDEBAR: LOGO + PROFILE CARD
══════════════════════════════════════════════════════════ */
.ncc-sidebar-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* NCC Logo card */
.ncc-logo-card {
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-200, #dde4e7);
    border-radius: var(--radius-lg, 22px);
    padding: 36px 24px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .ncc-logo-card::before {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(219,26,26,.05) 0%, transparent 70%);
        pointer-events: none;
    }

    .ncc-logo-card img {
        max-height: 160px;
        width: auto;
        filter: drop-shadow(0 8px 20px rgba(44,104,123,.18));
        margin-bottom: 16px;
    }

.ncc-logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-deeper, #163745);
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.ncc-logo-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red, #DB1A1A);
}

/* NCC Profile / care-taker card — mirrors Default.aspx principal card */
.ncc-profile-card {
    background: var(--white, #ffffff);
    border-radius: var(--radius-xl, 26px);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.ncc-profile-banner {
    background: linear-gradient(155deg, var(--deep-deeper, #163745) 0%, var(--deep, #2C687B) 100%);
    padding: 36px 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .ncc-profile-banner::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 160px;
        height: 160px;
        background: radial-gradient(circle, rgba(140,199,196,.14) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

.ncc-photo-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--red, #DB1A1A) 0%, var(--red-dark, #b31212) 100%);
    position: relative;
    z-index: 1;
}

    .ncc-photo-ring img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--white, #fff);
    }

.ncc-profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white, #fff);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.ncc-profile-role {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8CC7C4;
    position: relative;
    z-index: 1;
}

.ncc-profile-body {
    padding: 24px;
}

.ncc-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .ncc-contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 13.5px;
        color: var(--text-body, #3a4a52);
        line-height: 1.55;
        margin-bottom: 14px;
    }

        .ncc-contact-list li:last-child {
            margin-bottom: 0;
        }

.ncc-cl-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal-pale, #e6f5f4);
    border: 1px solid rgba(140,199,196,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--deep, #2C687B);
    margin-top: 1px;
}

.ncc-contact-list li a {
    color: var(--red, #DB1A1A) !important;
    text-decoration: none !important;
    transition: color .2s;
}

    .ncc-contact-list li a:hover {
        color: var(--red-dark, #b31212) !important;
    }

/* ══════════════════════════════════════════════════════════
   § 3 — AIM & MOTTO CARDS
══════════════════════════════════════════════════════════ */
.ncc-info-card {
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-200, #dde4e7);
    border-radius: var(--radius-lg, 22px);
    padding: 36px 30px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .35s var(--ease);
    display: flex;
    flex-direction: column;
}

    .ncc-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--red, #DB1A1A), var(--red-light, #f04444));
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

.ncc-info-card--teal::before {
    background: linear-gradient(90deg, var(--deep, #2C687B), #8CC7C4);
}

.ncc-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(219,26,26,.15);
}

.ncc-info-card--teal:hover {
    border-color: rgba(140,199,196,.30);
}

.ncc-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red, #DB1A1A) 0%, var(--red-dark, #b31212) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(219,26,26,.25);
    flex-shrink: 0;
}

.ncc-info-icon--teal {
    background: linear-gradient(135deg, var(--deep, #2C687B) 0%, var(--deep-deeper, #163745) 100%);
    box-shadow: 0 6px 20px rgba(44,104,123,.25);
}

.ncc-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--deep-deeper, #163745);
    margin-bottom: 14px;
}

.ncc-info-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted, #7a8c94);
    flex: 1;
    margin-bottom: 20px;
}

.ncc-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red, #DB1A1A);
    background: var(--red-pale, #fde8e8);
    border: 1px solid rgba(219,26,26,.18);
    padding: 5px 14px;
    border-radius: 50px;
    align-self: flex-start;
}

.ncc-info-badge--teal {
    color: var(--deep, #2C687B);
    background: var(--teal-pale, #e6f5f4);
    border-color: rgba(140,199,196,.35);
}

/* ══════════════════════════════════════════════════════════
   § 4 — CORE VALUES GRID
══════════════════════════════════════════════════════════ */
.ncc-values-intro {
    font-size: 15px;
    color: var(--text-muted, #7a8c94);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.ncc-value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white, #fff);
    border: 1px solid var(--gray-200, #dde4e7);
    border-radius: var(--radius-md, 14px);
    padding: 18px 20px;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: all .25s var(--ease);
    font-size: 13.5px;
    color: var(--text-body, #3a4a52);
    line-height: 1.65;
}

    .ncc-value-item:hover {
        border-color: rgba(219,26,26,.18);
        box-shadow: var(--shadow-sm);
        transform: translateY(-3px);
    }

.ncc-val-icon {
    font-size: 18px;
    color: var(--red, #DB1A1A);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   § 5 — CTA BANNER OUTLINE BUTTON
══════════════════════════════════════════════════════════ */
.ncc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.55);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    background: transparent;
    transition: all .3s var(--ease);
    text-decoration: none !important;
}

    .ncc-btn-outline:hover {
        background: rgba(255,255,255,.12);
        border-color: #fff;
        transform: translateY(-2px);
    }

/* ══════════════════════════════════════════════════════════
   § 6 — RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .ncc-mini-hero {
        background-attachment: scroll;
        min-height: 260px;
    }

    .ncc-hero-h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .ncc-hero-inner {
        padding: 52px 0 44px;
    }

    .ncc-hero-h1 {
        font-size: 1.9rem;
    }

    .ncc-info-card {
        padding: 28px 22px 24px;
    }
}

@media (max-width: 480px) {
    .ncc-hero-h1 {
        font-size: 1.65rem;
    }

    .ncc-hero-accent {
        height: 42px;
    }
}
