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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;600&display=swap');

/* ══════════════════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════════════════ */
:root {
    /* Brand Palette */
    --red: #DB1A1A;
    --red-dark: #b31212;
    --red-deeper: #8c0d0d;
    --red-light: #f04444;
    --red-pale: #fde8e8;
    --red-ghost: #fff0f0;
    --teal: #8CC7C4;
    --teal-dark: #6aadaa;
    --teal-deeper: #4e9490;
    --teal-light: #b0dbd9;
    --teal-pale: #e6f5f4;
    --deep: #2C687B;
    --deep-dark: #1f4e5f;
    --deep-deeper: #163745;
    --deep-light: #3d849a;
    --deep-pale: #dbedf2;
    --off-white: #FFF6F6;
    --white: #ffffff;
    /* Text */
    --text-dark: #1a1a2e;
    --text-body: #3d4a52;
    --text-muted: #7a8c94;
    /* Neutrals */
    --gray-50: #f9fafa;
    --gray-100: #f0f3f4;
    --gray-200: #dde4e7;
    --gray-300: #bac6cb;
    --gray-400: #8fa0a8;
    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 50px;
    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(44,104,123,.07);
    --shadow-sm: 0 4px 16px rgba(44,104,123,.10);
    --shadow-md: 0 12px 40px rgba(44,104,123,.15);
    --shadow-lg: 0 24px 72px rgba(44,104,123,.20);
    --shadow-red: 0 8px 32px rgba(219,26,26,.25);
    --shadow-red-lg: 0 16px 56px rgba(219,26,26,.35);
    /* Motion */
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --ease-out: cubic-bezier(0,0,.2,1);
    --transition: .3s var(--ease);
    --transition-lg: .5s var(--ease);
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none !important;
    transition: all var(--transition);
}

ul {
    list-style: none;
}

p {
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════════════════ */
#loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--deep-deeper);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity .6s var(--ease), visibility .6s;
}

.loader-ring {
    width: 56px;
    height: 56px;
    border: 3px solid rgba(140,199,196,.15);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(140,199,196,.55);
    font-family: 'DM Sans', sans-serif;
}

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

/* ══════════════════════════════
           TOP BAR  — Qeducato diagonal split
        ══════════════════════════════ */
.top-bar {
    height: 62px;
    font-size: 13px;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    background: #0f4c5c;
    font-family: var(--font-body);
}

    /* Full-width orange left background panel */
    .top-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 30%;
        height: 100%;
        background: #DB1A1A;
        clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%);
        z-index: 0;
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        position: relative;
        z-index: 1;
    }

/* LEFT: Follow us */
.top-follow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    flex-shrink: 0;
    padding-right: 64px; /* space for the diagonal overhang */
}

    .top-follow span {
        white-space: nowrap;
        text-transform: uppercase;
        font-size: 11.5px;
        letter-spacing: .8px;
        opacity: .9;
    }

    .top-follow .soc-icons {
        display: flex;
        gap: 7px;
    }

        .top-follow .soc-icons a {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255,255,255,.22);
            border: 1px solid rgba(255,255,255,.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 13px;
            text-decoration: none;
            transition: background .25s, transform .22s, border-color .25s;
        }

            .top-follow .soc-icons a:hover {
                background: rgba(255,255,255,.42);
                border-color: rgba(255,255,255,.6);
                transform: translateY(-3px);
            }

/* RIGHT: Contact info */
.top-contact {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .top-contact-item .tc-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .top-contact-item .tc-icon i {
            color: #ff6b4a;
            font-size: 13px;
        }

    .top-contact-item .tc-text {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .top-contact-item .tc-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .7px;
        color: rgba(255,255,255,.6);
    }

    .top-contact-item a {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        transition: color .2s;
        white-space: nowrap;
    }

        .top-contact-item a:hover {
            color: #ff8c6e;
        }

.top-contact-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   HEADER — TOP BAR Old
══════════════════════════════════════════════════════ */
/*.header-top {
    background: var(--deep-deeper);
    border-bottom: 1px solid rgba(140,199,196,.12);
    padding: 7px 0;
}

    .header-top .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px;
    }

    .header-top ul.follow-us {
        display: flex;
        gap: 8px;
        align-items: center;
    }

        .header-top ul.follow-us li a {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid rgba(140,199,196,.25);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(140,199,196,.65);
            font-size: 13px;
            transition: all .25s var(--ease);
        }

            .header-top ul.follow-us li a:hover {
                background: var(--teal);
                border-color: var(--teal);
                color: var(--deep-deeper);
                transform: translateY(-2px) scale(1.1);
            }

    .header-top .right-block {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .header-top ul.top-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

        .header-top ul.top-nav li a {
            font-size: 11px;
            font-weight: 500;
            letter-spacing: .6px;
            text-transform: uppercase;
            color: rgba(255,255,255,.38);
            padding: 0 11px;
            border-right: 1px solid rgba(255,255,255,.07);
            line-height: 1;
        }

        .header-top ul.top-nav li:last-child a {
            border-right: none;
        }

        .header-top ul.top-nav li a:hover {
            color: var(--teal-light);
        }*/

/* ══════════════════════════════════════════════════════
   HEADER — BRAND BAR
══════════════════════════════════════════════════════ */
.clg-text {
    display: flex;
    flex-direction: column;
}

.nav-clg-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: -.01em;
    line-height: 2;
}

.nav-clg-hd {
    font-size: 20px;
    color: var(--red);
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.header-middle {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(44,104,123,.05);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: box-shadow .3s var(--ease);
}

    .header-middle.scrolled {
        box-shadow: 0 2px 24px rgba(44,104,123,.14);
    }

.logo-wrapper img {
    height: 72px;
    width: auto;
}

/* Student Login Button */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1.5px solid var(--deep);
    color: var(--deep) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

    .btn-login:hover {
        background: var(--deep);
        color: var(--white) !important;
        box-shadow: var(--shadow-sm);
        transform: translateY(-1px);
    }

/* Apply Now Nav Button */
.btn-apply-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-red);
    transition: all var(--transition);
}

    .btn-apply-nav:hover {
        background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-deeper) 100%);
        transform: translateY(-2px);
        box-shadow: var(--shadow-red-lg);
    }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.rjmc-nav {
    background: var(--deep);
    box-shadow: 0 4px 24px rgba(44,104,123,.4);
}

    .rjmc-nav .navbar {
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .rjmc-nav .navbar-toggler {
        border: 1.5px solid rgba(255,255,255,.25);
        padding: 6px 10px;
        border-radius: var(--radius-sm);
        color: var(--white);
    }

    .rjmc-nav .navbar-toggler-icon {
        filter: invert(1);
    }

    .rjmc-nav .navbar-nav .nav-link {
        font-size: 16.5px;
        font-weight: 600;
        letter-spacing: .3px;
        color: rgba(255,255,255) !important;
        padding: 18px 16px !important;
        position: relative;
        transition: color var(--transition);
    }

        .rjmc-nav .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 28px;
            height: 2px;
            background: var(--teal);
            border-radius: 2px;
            transition: transform .28s var(--ease);
        }

        .rjmc-nav .navbar-nav .nav-link:hover,
        .rjmc-nav .navbar-nav .nav-link.active {
            color: var(--white) !important;
        }

            .rjmc-nav .navbar-nav .nav-link:hover::after,
            .rjmc-nav .navbar-nav .nav-link.active::after {
                transform: translateX(-50%) scaleX(1);
            }

    .rjmc-nav .dropdown-menu {
        border: none;
        border-radius: var(--radius-sm);
        box-shadow: 0 16px 48px rgba(44,104,123,.22);
        background: var(--white);
        padding: 8px 0;
        min-width: 220px;
        animation: dropDown .2s var(--ease-out);
    }

@keyframes dropDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rjmc-nav .dropdown-item {
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-body);
    padding: 9px 20px;
    transition: all var(--transition);
}

    .rjmc-nav .dropdown-item:hover {
        background: var(--teal-pale);
        color: var(--deep);
        padding-left: 26px;
    }

/* ══════════════════════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════════════════════ */
.sec-pad {
    padding: 96px 0;
}

.sec-pad-sm {
    padding: 70px 0;
}

.sec-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-ghost);
    border: 1px solid rgba(219,26,26,.15);
    border-radius: var(--radius-pill);
    padding: 5px 16px;
    margin-bottom: 14px;
}

.sec-chip--light {
    color: var(--teal-light);
    background: rgba(140,199,196,.12);
    border-color: rgba(140,199,196,.22);
}

.sec-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.22;
    letter-spacing: -.02em;
}

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

.sec-heading--white {
    color: var(--white);
}

    .sec-heading--white em {
        color: var(--teal-light);
    }

.sec-divider {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--teal));
    border-radius: 3px;
    margin: 20px 0 28px;
}

/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.banner-outer {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rjmc-hero {
    background: linear-gradient( 145deg, rgba(22,55,69,.93) 0%, rgba(44,104,123,.85) 55%, rgba(140,199,196,.3) 100% ), url('images/rjmc-banner.png') center/cover no-repeat;
}

/* Animated geometry */
.hero-geo-1, .hero-geo-2, .hero-geo-3 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-geo-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(219,26,26,.15) 0%, transparent 70%);
    top: -120px;
    right: -60px;
    animation: floatA 9s ease-in-out infinite;
}

.hero-geo-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(140,199,196,.18) 0%, transparent 70%);
    bottom: 60px;
    right: 22%;
    animation: floatB 12s ease-in-out infinite;
}

.hero-geo-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(219,26,26,.1) 0%, transparent 70%);
    top: 40%;
    left: 5%;
    animation: floatA 15s ease-in-out infinite reverse;
}

.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: 60px 60px;
    pointer-events: none;
}

.hero-diagonal {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(140,199,196,.06) 100%);
    pointer-events: none;
}

@keyframes floatA {
    0%,100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-28px) scale(1.04);
    }
}

@keyframes floatB {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(6deg);
    }
}

/* Hero content */
.hero-content {
    padding: 130px 0 110px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-eyebrow-line {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

.hero-eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal-light);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(219,26,26,.18);
    border: 1px solid rgba(219,26,26,.3);
    color: #ffc5c5;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

    .hero-badge i {
        color: var(--teal-light);
    }

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 22px;
}

    .hero-headline .italic {
        font-style: italic;
        color: var(--teal-light);
    }

.hero-sub {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.72);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 52px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white) !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-red);
    letter-spacing: .3px;
    transition: all var(--transition);
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 1.5px solid rgba(140,199,196,.55);
    color: var(--teal-light) !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    letter-spacing: .3px;
    transition: all var(--transition);
    backdrop-filter: blur(6px);
}

    .btn-hero-secondary:hover {
        background: rgba(140,199,196,.14);
        border-color: var(--teal);
        color: var(--white) !important;
        transform: translateY(-3px);
    }

/* Hero stat strip */
.hero-stat-strip {
    display: flex;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.06);
    max-width: 480px;
}

.hss-item {
    flex: 1;
    padding: 16px 18px;
    border-right: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

    .hss-item:last-child {
        border-right: none;
    }

.hss-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

    .hss-num em {
        font-size: .9rem;
        font-style: normal;
        color: var(--teal-light);
    }

.hss-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.48);
}

/* Hero visual accent */
.hero-visual-accent {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-accent-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: rotateRing 20s linear infinite;
}

.hero-accent-ring--1 {
    width: 320px;
    height: 320px;
    border-color: rgba(140,199,196,.22);
}

.hero-accent-ring--2 {
    width: 240px;
    height: 240px;
    border-color: rgba(219,26,26,.18);
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-accent-emblem {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--deep) 0%, var(--deep-dark) 100%);
    border: 2px solid rgba(140,199,196,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: var(--teal-light);
    box-shadow: 0 0 60px rgba(140,199,196,.15);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-hint-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,100% {
        opacity: .4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

.scroll-hint-text {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════════════════
   QUICK LINKS SECTION
══════════════════════════════════════════════════════ */
.quick-wrap {
    background: var(--off-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

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

.qc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.qci-navy {
    background: var(--deep-pale);
    color: var(--deep);
}

.qci-gold {
    background: var(--red-ghost);
    color: var(--red);
}

.qci-green {
    background: var(--teal-pale);
    color: var(--teal-deeper);
}

.quick-card:hover .qc-icon {
    transform: scale(1.08);
    transition: all var(--transition);
}

.qc-body {
    flex: 1;
}

    .qc-body h3 {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 2px;
    }

    .qc-body p {
        font-size: 12.5px;
        color: var(--text-muted);
    }

.qc-arrow {
    font-size: 16px;
    color: var(--teal);
    opacity: .5;
    transition: all var(--transition);
}

.quick-card:hover .qc-arrow {
    opacity: 1;
    transform: translateX(4px);
    color: var(--deep);
}

/* ══════════════════════════════════════════════════════
   ABOUT / WELCOME SECTION
══════════════════════════════════════════════════════ */
.about-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* IMAGE WRAP */
.about-img-wrap {
    position: relative;
    padding: 20px 0;
}

/* Decorative circle accent */
.about-bg-accent {
    position: absolute;
    top: -20px;
    left: -25px;
    width: 130px;
    height: 130px;
    border: 2px dashed rgba(140,199,196,.35);
    border-radius: 50%;
    z-index: 0;
}

/* 3 IMAGE COLLAGE */
.about-collage {
    position: relative;
    min-height: 520px;
}

/* Common image style */
.about-img {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    transition: all .45s cubic-bezier(.22,1,.36,1);
}

    .about-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Main image */
.img-large {
    width: 68%;
    height: 430px;
    left: 0;
    top: 50px;
    z-index: 1;
}

/* Top right */
.img-top {
    width: 42%;
    height: 195px;
    right: 0;
    top: 0;
    z-index: 2;
    border: 4px solid var(--white);
}

/* Bottom right */
.img-bottom {
    width: 42%;
    height: 195px;
    right: 0;
    bottom: 25px;
    z-index: 2;
    border: 4px solid var(--white);
}

/* Hover Effects */
.about-img:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: var(--shadow-red);
}

/* EXPERIENCE BOX */
.about-accent-box {
    position: absolute;
    bottom: 0;
    left: 28px;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    text-align: center;
    box-shadow: var(--shadow-red);
    z-index: 3;
}

    .about-accent-box .num {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1;
        display: block;
        margin-bottom: 5px;
    }

    .about-accent-box .label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.6px;
        opacity: .9;
    }

/* TEXT COLUMN */
.welcome-col {
    padding-left: 42px;
}

/* Heading */
.sec-heading {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

    .sec-heading em {
        color: var(--red);
        font-style: normal;
        position: relative;
    }

        .sec-heading em::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--red), transparent);
            border-radius: 4px;
        }

/* Text */
.welcome-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 16px;
    max-width: 95%;
}

/* Pills */
.cred-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 34px;
}

.cred-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--deep);
    background: var(--deep-pale);
    border: 1px solid rgba(44,104,123,.15);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    transition: all .3s ease;
}

    .cred-pill:hover {
        transform: translateY(-2px);
        border-color: rgba(165,18,38,.2);
    }

    .cred-pill i {
        color: var(--red);
        font-size: 13px;
    }

/* CTA BUTTONS */
.welcome-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-cta-navy,
.btn-cta-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.btn-cta-navy {
    background: var(--deep);
    color: var(--white) !important;
    box-shadow: var(--shadow-sm);
}

    .btn-cta-navy:hover {
        background: var(--deep-dark);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.btn-cta-red {
    background: transparent;
    border: 1.5px solid var(--red);
    color: var(--red) !important;
}

    .btn-cta-red:hover {
        background: var(--red);
        color: var(--white) !important;
        transform: translateY(-3px);
        box-shadow: var(--shadow-red);
    }

/* RESPONSIVE */
@media (max-width: 991px) {
    .welcome-col {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-collage {
        min-height: 560px;
    }
}

@media (max-width: 768px) {
    .about-collage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        min-height: auto;
    }

    .about-img {
        position: relative;
        width: 100%;
        height: 220px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .img-large {
        grid-column: span 2;
        height: 290px;
    }

    .about-accent-box {
        left: 18px;
        bottom: -18px;
        padding: 18px 22px;
    }

    .welcome-text {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-collage {
        grid-template-columns: 1fr;
    }

    .img-large {
        grid-column: span 1;
        height: 240px;
    }

    .about-img {
        height: 200px;
    }

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

    .welcome-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ══════════════════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════════════════ */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, var(--deep-deeper) 0%, var(--deep) 60%, var(--deep-light) 100%);
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(140,199,196,.12) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(219,26,26,.1) 0%, transparent 40%);
    pointer-events: none;
}

.stats-inner {
    position: relative;
    z-index: 1;
}

.stats-subtext {
    color: rgba(255,255,255,.55);
    font-size: 15px;
    margin-top: 12px;
}

.stat-card {
    position: relative;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all var(--transition);
    overflow: hidden;
}

    .stat-card:hover {
        background: rgba(255,255,255,.12);
        border-color: rgba(140,199,196,.3);
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(0,0,0,.25);
    }

.stat-card-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: radial-gradient(circle, rgba(140,199,196,.2), transparent);
    pointer-events: none;
    transition: all .4s;
}

.stat-card:hover .stat-card-glow {
    bottom: -20px;
    background: radial-gradient(circle, rgba(140,199,196,.35), transparent);
}

.stat-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(140,199,196,.12);
    border: 1px solid rgba(140,199,196,.22);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--teal-light);
    margin: 0 auto 18px;
    transition: all var(--transition);
}

.stat-card:hover .stat-icon-wrap {
    background: rgba(140,199,196,.2);
    transform: scale(1.1);
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

    .stat-num sup {
        font-size: 1.4rem;
        color: var(--teal-light);
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
    }

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,.48);
}

/* ══════════════════════════════════════════════════════
   NEWS & NOTICES SECTION
══════════════════════════════════════════════════════ */
.news-section {
    background: var(--off-white);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--red) !important;
    letter-spacing: .3px;
    transition: all var(--transition);
}

    .view-all-link:hover {
        gap: 10px;
    }

/* News card */
.news-section .inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

    .news-section .inner:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: var(--teal);
    }

.news-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-ghost);
    border: 1px solid rgba(219,26,26,.15);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
}

.news-section .inner h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    flex: 1;
}

    .news-section .inner h3 a {
        color: inherit !important;
    }

        .news-section .inner h3 a:hover {
            color: var(--deep) !important;
        }

.news-item-footer {
    margin-top: auto;
}

.ni-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep) !important;
    transition: all var(--transition);
}

    .ni-link:hover {
        color: var(--red) !important;
        gap: 9px;
    }

/* ══════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════ */
.why-us-section {
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
    height: 100%;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--red-ghost);
    border: 1px solid rgba(219,26,26,.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--red);
    margin: 0 auto 20px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1) rotate(-4deg);
    border-color: var(--red);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.68;
}

/* ═══════════════════════════════════════════════
                    WELCOME BANNER
    ═══════════════════════════════════════════════ */
.welcome-banner-section {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background image */
.wb-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/abouts.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.03);
}

/* Dark overlay — left heavier, right lighter like Qeducato */
.wb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 100deg, rgba(8, 58, 56, 0.88) 0%, rgba(8, 58, 56, 0.72) 35%, rgba(255, 255, 255, 0.18) 70%, rgba(255, 255, 255, 0.04) 100% );
    background-attachment: fixed;
    z-index: 1;
}

/* Inner layout */
.wb-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT — text content */
.wb-content {
    flex: 1;
    max-width: 620px;
    animation: wbSlideIn .8s cubic-bezier(.22,1,.36,1) both;
}

@keyframes wbSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wb-sub-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
}

    .wb-sub-label::before {
        content: '';
        width: 28px;
        height: 2px;
        background: var(--red);
        border-radius: 2px;
        flex-shrink: 0;
    }

.wb-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 18px;
}

    .wb-content h2 span {
        color: var(--red);
        position: relative;
        font-style: normal;
    }

        .wb-content h2 span::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--red), transparent);
            border-radius: 2px;
        }

.wb-content p {
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.85;
    max-width: 500px;
    margin: 0 0 32px;
}

/* Stats row inside banner */
.wb-stats {
    display: flex;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-wrap: wrap;
}

.wb-stat {
    text-align: left;
}

    .wb-stat .ws-num {
        font-family: 'DM Sans', sans-serif;
        font-size: 26px;
        font-weight: 900;
        color: var(--red);
        line-height: 1;
        display: block;
    }

    .wb-stat .ws-lbl {
        font-size: 11px;
        color: rgba(255,255,255,.55);
        margin-top: 4px;
        font-weight: 500;
        letter-spacing: .3px;
    }

/* RIGHT — play button */
.wb-play-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wbPlayIn .9s cubic-bezier(.34,1.56,.64,1) .2s both;
}

@keyframes wbPlayIn {
    from {
        opacity: 0;
        transform: scale(.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dashed rotating ring */
.wb-play-ring {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

    .wb-play-ring::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px dashed rgba(255,255,255,.55);
        animation: ringRotate 12s linear infinite;
    }

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wb-play-ring::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(4px);
    transition: background .3s;
}

.wb-play-ring:hover::after {
    background: rgba(255,107,74,.25);
}

/* Inner play circle */
.wb-play-btn {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(255,107,74,.55);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
}

.wb-play-ring:hover .wb-play-btn {
    transform: scale(1.12);
    box-shadow: 0 14px 44px rgba(255,107,74,.7);
}

.wb-play-btn i {
    color: #fff;
    font-size: 20px;
    margin-left: 4px; /* optical centering for play icon */
}

/* Pulse rings */
.wb-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,107,74,.4);
    animation: wbPulse 2.4s ease-out infinite;
    z-index: 1;
}

    .wb-pulse:nth-child(2) {
        animation-delay: .8s;
    }

    .wb-pulse:nth-child(3) {
        animation-delay: 1.6s;
    }

@keyframes wbPulse {
    0% {
        transform: scale(.9);
        opacity: .7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wb-content h2 {
        font-size: 32px;
    }

    .wb-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 24px;
        gap: 36px;
    }

    .wb-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .wb-content h2 {
        font-size: 26px;
    }

    .welcome-banner-section {
        min-height: 400px;
    }
}

/* ══════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 60%, var(--red-deeper) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
    }

    .cta-banner h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.4rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 16px;
        position: relative;
    }

    .cta-banner p {
        font-size: 16px;
        color: rgba(255,255,255,.78);
        margin-bottom: 36px;
        position: relative;
    }

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--red) !important;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    transition: all var(--transition);
    position: relative;
}

    .btn-cta-white:hover {
        background: var(--off-white);
        transform: translateY(-3px);
        box-shadow: 0 16px 48px rgba(0,0,0,.3);
    }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.rjmc-footer {
    background: var(--deep-deeper);
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-col-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(140,199,196,.2);
}

.footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.f-social {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5) !important;
    font-size: 14px;
    transition: all var(--transition);
}

    .f-social:hover {
        background: var(--red);
        border-color: var(--red);
        color: var(--white) !important;
        transform: translateY(-3px);
        box-shadow: var(--shadow-red);
    }

.footer-links li {
    margin-bottom: 10px;
}

    .footer-links li a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13.5px;
        color: rgba(255,255,255,.48) !important;
        transition: all var(--transition);
    }

        .footer-links li a::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--teal);
            flex-shrink: 0;
            opacity: .6;
            transition: all var(--transition);
        }

        .footer-links li a:hover {
            color: var(--teal-light) !important;
            padding-left: 6px;
        }

            .footer-links li a:hover::before {
                opacity: 1;
                background: var(--red);
            }

.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.f-contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(140,199,196,.08);
    border: 1px solid rgba(140,199,196,.16);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 15px;
    transition: all var(--transition);
}

.f-contact-item:hover .f-contact-icon {
    background: rgba(140,199,196,.16);
    transform: scale(1.08);
}

.f-contact-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255,255,255,.44);
}

    .f-contact-text strong {
        display: block;
        font-size: 9.5px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: rgba(255,255,255,.26);
        margin-bottom: 3px;
    }

.footer-logo-col {
    text-align: center;
}

    .footer-logo-col img {
        max-height: 148px;
        width: auto;
        margin: 0 auto 12px;
        filter: drop-shadow(0 4px 18px rgba(140,199,196,.18));
        opacity: 1;
        transition: opacity var(--transition);
    }

        .footer-logo-col img:hover {
            opacity: 1;
        }

    .footer-logo-col .est {
        font-size: 10px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: rgba(255,255,255,.24);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

    .footer-bottom-inner p {
        font-size: 12px;
        color: rgba(255,255,255,.28);
    }

    .footer-bottom-inner a {
        color: var(--teal-light) !important;
    }

        .footer-bottom-inner a:hover {
            color: var(--teal) !important;
        }

/* ══════════════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════════════ */
a.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--deep), var(--deep-dark));
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid rgba(140,199,196,.4);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all .38s var(--ease-spring);
}

    a.scroll-top.visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    a.scroll-top:hover {
        background: var(--red);
        border-color: var(--red);
        transform: translateY(-4px);
        box-shadow: var(--shadow-red);
    }

/* ══════════════════════════════════════════════════════
   FADE-UP ANIMATION
══════════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

.fade-up-delay-1 {
    transition-delay: .1s;
}

.fade-up-delay-2 {
    transition-delay: .2s;
}

.fade-up-delay-3 {
    transition-delay: .3s;
}

.fade-up-delay-4 {
    transition-delay: .4s;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .header-top ul.top-nav {
        display: none !important;
    }

    .rjmc-hero {
        min-height: 78vh;
    }

    .hero-content {
        padding: 90px 0 70px;
        text-align: center;
    }

    .hero-eyebrow, .hero-badge {
        justify-content: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stat-strip {
        justify-content: center;
    }

    .hero-scroll-hint {
        display: none;
    }

    .welcome-col {
        padding-left: 0;
        padding-top: 36px;
    }

    .about-bg-accent {
        display: none;
    }

    .rjmc-nav .navbar-collapse {
        background: rgba(22,55,69,.97);
        margin: 0 -15px;
        padding: 10px 20px 20px;
        backdrop-filter: blur(14px);
    }

    .rjmc-nav .navbar-nav .nav-link {
        padding: 11px 4px !important;
    }

        .rjmc-nav .navbar-nav .nav-link::after {
            display: none;
        }

    .rjmc-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,.05);
        border-left: 3px solid var(--teal);
        border-radius: 0;
        margin-left: 10px;
        padding: 4px 0;
    }

    .rjmc-nav .dropdown-item {
        color: rgba(255,255,255,.65);
    }

        .rjmc-nav .dropdown-item:hover {
            background: rgba(255,255,255,.06);
            color: var(--teal-light);
        }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .sec-pad {
        padding: 70px 0;
    }

    .sec-pad-sm {
        padding: 56px 0;
    }

    .hss-item {
        flex: 0 0 50%;
        border-right: none;
        padding: 14px 18px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

        .hss-item:nth-child(odd) {
            border-right: 1px solid rgba(255,255,255,.08);
        }

        .hss-item:nth-child(3),
        .hss-item:nth-child(4) {
            border-bottom: none;
        }

    .hero-stat-strip {
        flex-wrap: wrap;
        margin-top: 44px;
    }

    .footer-main {
        padding: 56px 0 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-col {
        display: none;
    }

    .nav-clg-name {
        font-size: 20px;
    }

    .nav-clg-hd {
        font-size: 13px;
    }

    .welcome-col {
        padding-left: 0;
    }

    .logo-wrapper img {
        height: 56px;
    }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 575px) {
    .hero-headline {
        font-size: 2.3rem;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .welcome-ctas {
        flex-direction: column;
    }

    .btn-cta-navy, .btn-cta-red {
        justify-content: center;
    }

    .cred-pills {
        gap: 8px;
    }
}

/* ══════════════════════════════════════════════════════
   LEADERSHIP SECTION
══════════════════════════════════════════════════════ */
.leadership-section {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.leadership-grid {
    margin-top: 10px;
}

.leader-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}

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

.leader-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--gray-100);
}

    .leader-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
        transition: transform .5s var(--ease);
    }

.leader-card:hover .leader-img-wrap img {
    transform: scale(1.06);
}

.leader-img-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(22,55,69,0) 0%, rgba(22,55,69,.55) 100%);
    pointer-events: none;
}

.leader-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(219,26,26,.92);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    backdrop-filter: blur(4px);
}

.leader-body {
    padding: 26px 24px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leader-title-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal-deeper);
    margin-bottom: 8px;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 6px;
}

.leader-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0;
}

.leader-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--teal));
    border-radius: 2px;
    margin: 14px auto 0;
}

@media (max-width: 767.98px) {
    .leader-img-wrap {
        aspect-ratio: 3 / 4;
    }

    .leader-body {
        padding: 22px 18px 26px;
    }

    .leader-name {
        font-size: 17px;
    }
}

@media (max-width: 575.98px) {
    .leader-img-wrap {
        aspect-ratio: 1 / 1;
    }
}
