/* ============================================================
   ROUSHAN ACADEMY — Signature Theme
   Palette: deep navy (prospectus) + gold nib + leaf green + orange rays
   ============================================================ */

:root {
    --primary: #0F7A44;            /* leaf green (book) */
    --secondary: #E8791A;          /* orange (rays) */
    --dark-blue: #0A1E46;          /* deep navy (prospectus) */
    --sky-blue: #1E9E5F;           /* mid green */
    --gold: #F5B70A;               /* pen-nib gold */
    --white: #FFFFFF;
    --light-bg: #F3F8F5;
    --ink: #14213B;
    --muted: #5A6B7C;
    --grad-gold: linear-gradient(135deg, #FFD34D 0%, #F5B70A 55%, #E8791A 100%);
    --grad-blue: linear-gradient(135deg, #0A1E46 0%, #0E3A5C 55%, #0F7A44 100%);
    --grad-green: linear-gradient(135deg, #0F7A44 0%, #1E9E5F 100%);
    --radius: 18px;
    --shadow-sm: 0 6px 18px rgba(10, 30, 70, .08);
    --shadow-md: 0 14px 34px rgba(10, 30, 70, .14);
    --shadow-lg: 0 22px 55px rgba(10, 30, 70, .20);
}

body { color: var(--ink); }
.bn, .sec-title .bn { font-family: 'Baloo Da 2', 'Hind Siliguri', 'Poppins', sans-serif; }
.bengali { font-family: 'Hind Siliguri', 'Poppins', sans-serif; }
.handwrite { font-family: 'Caveat', cursive; }

/* full-bleed inside the bootstrap container-fluid editor */
.ra-bleed { margin-left: calc(-1 * var(--bs-gutter-x, .75rem)); margin-right: calc(-1 * var(--bs-gutter-x, .75rem)); }

/* ============================================================
   PEN + LINE — signature "writing" animation
   pen icon slides, line draws itself, when .on is added
   ============================================================ */
.ra-penline { position: relative; height: 34px; width: 200px; }
.ra-penline .pl-line {
    position: absolute; left: 0; top: 50%;
    width: 100%; height: 4px; border-radius: 4px;
    background: var(--grad-gold);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.4s cubic-bezier(.7,0,.3,1) .15s;
    box-shadow: 0 3px 12px rgba(245, 183, 10, .55);
}
.ra-penline .pl-pen {
    position: absolute; left: 0; top: 0;
    font-size: 1.35rem; color: var(--gold);
    transform: translateX(-8px) rotate(0deg);
    transition: transform 1.4s cubic-bezier(.7,0,.3,1) .15s;
    text-shadow: 0 4px 10px rgba(0,0,0,.3);
    z-index: 2;
}
.on .ra-penline .pl-line, .ra-penline.on .pl-line { transform: scaleX(1); }
.on .ra-penline .pl-pen,  .ra-penline.on .pl-pen  { transform: translateX(192px) rotate(-18deg); }
.ra-penline.light .pl-line { background: linear-gradient(90deg, var(--gold), #fff); }

/* ============================================================
   HERO — diagonal navy panel + arch photo + floating chips
   ============================================================ */
.ra-hero {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(30,158,95,.35), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(245,183,10,.18), transparent 60%),
        var(--dark-blue);
}
/* faint ruled-page lines across hero (notebook feel) */
.ra-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 100% 46px;
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
/* margin line like a notebook */
.ra-hero::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: clamp(24px, 5vw, 70px);
    width: 2px;
    background: repeating-linear-gradient(to bottom, rgba(232,121,26,.5) 0 10px, transparent 10px 18px);
}
.ra-hero .container { position: relative; z-index: 3; }

.ra-hero-chip {
    display: inline-flex; align-items: center; gap: .55rem;
    background: rgba(245,183,10,.14);
    border: 1px solid rgba(245,183,10,.55);
    color: var(--gold);
    border-radius: 50px;
    padding: .42rem 1.25rem;
    font-size: .8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.ra-hero-chip .dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(245,183,10,.6);
    animation: chipPulse 1.8s infinite;
}
@keyframes chipPulse { 70% { box-shadow: 0 0 0 10px rgba(245,183,10,0); } 100% { box-shadow: 0 0 0 0 rgba(245,183,10,0); } }

.ra-hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.06;
    text-shadow: 0 8px 34px rgba(0,0,0,.4);
    margin: 1.1rem 0 .4rem;
}
.ra-hero-title .hl {
    background: var(--grad-gold);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ra-hero-tag {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--gold);
    min-height: 2.6em;
    display: block;
}
.ra-hero-tag .caret {
    display: inline-block; width: 3px; height: .95em;
    background: var(--gold); margin-left: 3px;
    vertical-align: -0.12em;
    animation: caretBlink .8s step-end infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.ra-hero-sub {
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    max-width: 580px;
}
.ra-hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.ra-hero-tag2 {
    border-radius: 50px; padding: .4rem 1.05rem;
    font-size: .82rem; font-weight: 600;
    background: rgba(30,158,95,.22);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff; backdrop-filter: blur(4px);
}
.ra-hero-tag2 i { color: var(--gold); margin-right: .35rem; }

/* arch photo frame */
.ra-hero-fig { position: relative; z-index: 3; }
.ra-arch {
    position: relative;
    border-radius: 200px 200px 26px 26px;
    overflow: hidden;
    border: 5px solid rgba(245,183,10,.85);
    box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 0 0 6px rgba(255,255,255,.12);
}
.ra-arch img { display: block; width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.ra-fade { position: relative; width: 100%; min-height: 460px; }
.ra-arch::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,30,70,.55), transparent 45%);
}
/* offset ring behind arch */
.ra-hero-fig::before {
    content: "";
    position: absolute; inset: 26px -22px -22px 26px;
    border: 3px dashed rgba(245,183,10,.5);
    border-radius: 210px 210px 30px 30px;
    z-index: -1;
}
/* floating chips over the photo */
.ra-float {
    position: absolute; z-index: 4;
    background: rgba(255,255,255,.94);
    border-radius: 16px;
    padding: .6rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .6rem;
    font-weight: 700; font-size: .82rem; color: var(--ink);
    animation: floatY 4.5s ease-in-out infinite;
}
.ra-float i {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-gold); color: #3a2200; font-size: .95rem;
}
.ra-float.f1 { top: 8%; left: -34px; animation-delay: .2s; }
.ra-float.f2 { bottom: 14%; right: -26px; animation-delay: 1.1s; }
.ra-float.f3 { bottom: -20px; left: 12%; animation-delay: 2s; }
.ra-float small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; letter-spacing: .4px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* bottom curved edge */
.ra-hero-edge { position: absolute; left: -5%; right: -5%; bottom: -2px; height: 52px; background: #fff; border-radius: 50% 50% 0 0; z-index: 4; }

/* hero entrance */
.ra-up { opacity: 0; transform: translateY(30px); animation: raUp .9s ease forwards; }
.ra-up.d1 { animation-delay:.15s } .ra-up.d2 { animation-delay:.35s }
.ra-up.d3 { animation-delay:.55s } .ra-up.d4 { animation-delay:.75s }
@keyframes raUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   BIG HIGHLIGHTED BUTTONS
   ============================================================ */
.ra-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--grad-gold);
    color: #2d1b00 !important;
    font-weight: 800; font-size: .95rem;
    letter-spacing: .8px; text-transform: uppercase;
    border: none; border-radius: 50px;
    padding: .95rem 2.4rem;
    box-shadow: 0 10px 26px rgba(232,121,26,.45), inset 0 -3px 0 rgba(0,0,0,.12);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.ra-btn::after {           /* shine sweep */
    content: "";
    position: absolute; top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%,60% { left: -80%; } 100% { left: 130%; } }
.ra-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 38px rgba(232,121,26,.6); color: #2d1b00; }
.ra-btn.mega { padding: 1.1rem 3rem; font-size: 1.05rem; animation: megaPulse 2.2s infinite; }
.ra-btn.green { background: var(--grad-green); color: #fff !important; box-shadow: 0 10px 26px rgba(15,122,68,.45), inset 0 -3px 0 rgba(0,0,0,.15); }
.ra-btn.green:hover { box-shadow: 0 18px 38px rgba(15,122,68,.6); color: #fff; }

.ra-btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 2px solid rgba(255,255,255,.75);
    color: #fff !important;
    font-weight: 700; font-size: .9rem;
    letter-spacing: .6px; text-transform: uppercase;
    border-radius: 50px; padding: .85rem 2.1rem;
    backdrop-filter: blur(4px);
    transition: all .3s;
}
.ra-btn-ghost:hover { background: #fff; color: var(--dark-blue) !important; transform: translateY(-4px); }
.ra-btn-ghost.dark { border-color: var(--primary); color: var(--primary) !important; }
.ra-btn-ghost.dark:hover { background: var(--primary); color: #fff !important; }

/* ============================================================
   TICKER — announcement strip
   ============================================================ */
.ra-ticker {
    background: var(--grad-gold);
    color: #2d1b00; font-weight: 600;
    overflow: hidden; position: relative;
    display: flex; align-items: stretch;
}
.ra-ticker .tk-label {
    background: var(--primary); color: #fff;
    padding: .72rem 1.5rem;
    font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: .55rem;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    white-space: nowrap; z-index: 2;
}
.ra-ticker .tk-view { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ra-ticker .tk-track { display: flex; white-space: nowrap; animation: raTick 26s linear infinite; }
.ra-ticker:hover .tk-track { animation-play-state: paused; }
.ra-ticker .tk-track span { padding: .7rem 2.4rem; font-size: .92rem; }
.ra-ticker .tk-track i { color: #2d1b00; margin-right: .55rem; }
@keyframes raTick { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION HEADS — kicker + drawn underline
   ============================================================ */
.ra-section { padding: 86px 0; position: relative; }
.ra-section.alt { background: var(--light-bg); }
.ra-section.navy { background: var(--dark-blue); color: #fff; }

.ra-kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--secondary); font-weight: 700; font-size: .8rem;
    letter-spacing: 2.6px; text-transform: uppercase;
}
.ra-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.ra-kicker.center::after { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.ra-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--dark-blue); }
.ra-title .hl { color: var(--primary); }
.navy .ra-title, .ra-title.light { color: #fff; }
.navy .ra-title .hl, .ra-title.light .hl { color: var(--gold); }
.ra-sub { color: var(--muted); max-width: 660px; }
.navy .ra-sub { color: rgba(255,255,255,.75); }

/* SVG underline that draws itself when .on */
.ra-scribble { display: block; width: 190px; height: 16px; margin-top: .4rem; }
.ra-scribble path {
    fill: none; stroke: var(--gold); stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 300; stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.3s cubic-bezier(.6,0,.3,1) .2s;
}
.on .ra-scribble path, .ra-scribble.on path { stroke-dashoffset: 0; }

/* scroll reveal */
.ra-rev { opacity: 0; transform: translateY(38px); transition: opacity .8s ease, transform .8s ease; }
.ra-rev.on { opacity: 1; transform: translateY(0); }
.ra-rev.d1 { transition-delay: .12s } .ra-rev.d2 { transition-delay: .24s }
.ra-rev.d3 { transition-delay: .36s } .ra-rev.d4 { transition-delay: .48s }

/* ============================================================
   RA-CARD — hover: border draws itself + icon flip + lift
   ============================================================ */
.ra-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.7rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .4s ease, box-shadow .4s ease;
    z-index: 1;
}
/* four border segments that draw on hover */
.ra-card::before, .ra-card::after { content: ""; position: absolute; border-radius: 20px; pointer-events: none; }
.ra-card::before { /* top & bottom */
    inset: 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--secondary);
    transform: scaleX(0);
    transition: transform .5s ease;
}
.ra-card::after { /* left & right */
    inset: 0;
    border-left: 3px solid var(--gold);
    border-right: 3px solid var(--secondary);
    transform: scaleY(0);
    transition: transform .5s ease .18s;
}
.ra-card:hover::before { transform: scaleX(1); }
.ra-card:hover::after  { transform: scaleY(1); }
.ra-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }

.ra-ico {
    width: 64px; height: 64px; border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.55rem; color: #fff;
    background: var(--grad-green);
    box-shadow: 0 10px 22px rgba(15,122,68,.3);
    margin-bottom: 1.1rem;
    transition: transform .5s, background .5s;
}
.ra-card:hover .ra-ico { background: var(--grad-gold); color: #2d1b00; transform: rotateY(360deg); }
.ra-card h5 { font-weight: 700; margin-bottom: .55rem; }
.ra-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.ra-num {
    position: absolute; top: .9rem; right: 1.25rem;
    font-size: 2.4rem; font-weight: 800; line-height: 1;
    color: rgba(15,122,68,.1);
    transition: color .4s;
}
.ra-card:hover .ra-num { color: rgba(232,121,26,.3); }

/* ============================================================
   STUDY MODES — image-top cards with sliding underline
   ============================================================ */
.ra-mode {
    position: relative;
    border-radius: 22px; overflow: hidden;
    background: #fff; box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform .45s ease, box-shadow .45s ease;
}
.ra-mode:hover { transform: translateY(-10px) scale(1.015); box-shadow: var(--shadow-lg); }
.ra-mode .m-img { height: 190px; overflow: hidden; position: relative; }
.ra-mode .m-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ra-mode:hover .m-img img { transform: scale(1.12) rotate(-1deg); }
.ra-mode .m-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,30,70,.55), transparent 55%);
}
.ra-mode .m-tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--grad-gold); color: #2d1b00;
    font-size: .7rem; font-weight: 800; letter-spacing: 1px;
    padding: .25rem .85rem; border-radius: 50px; text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(232,121,26,.4);
}
.ra-mode .m-body { padding: 1.5rem 1.6rem 1.8rem; position: relative; }
.ra-mode .m-body h5 { font-weight: 800; color: var(--dark-blue); }
/* running underline below mode title */
.ra-mode .m-line {
    height: 4px; width: 46px; border-radius: 4px;
    background: var(--grad-gold); margin: .5rem 0 .8rem;
    position: relative; overflow: hidden;
}
.ra-mode:hover .m-line { width: 100%; transition: width .6s cubic-bezier(.6,0,.3,1); }
.ra-mode .m-body p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.ra-mode .m-fee { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.ra-mode .m-fee small { color: var(--muted); font-weight: 500; font-size: .72rem; }

/* ============================================================
   FLIP-BOOK — pure CSS page flipping
   ============================================================ */
.ra-bookwrap { perspective: 1400px; display: flex; justify-content: center; padding: 1rem 0 2rem; }
.ra-book {
    position: relative;
    width: 240px; height: 170px;
    transform-style: preserve-3d;
    transform: rotateX(18deg);
}
.ra-book .cover {
    position: absolute; inset: 0;
    background: var(--grad-green);
    border-radius: 6px 14px 14px 6px;
    box-shadow: 0 24px 45px rgba(10,30,70,.35);
    border-left: 10px solid #0B5A32;
}
.ra-book .leaf {
    position: absolute; top: 8px; left: 12px;
    width: calc(100% - 20px); height: calc(100% - 16px);
    background: #fffdf4;
    border-radius: 4px 10px 10px 4px;
    transform-origin: left center;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    animation: pageFlip 6s ease-in-out infinite;
    backface-visibility: hidden;
    overflow: hidden;
}
.ra-book .leaf::before { /* ruled lines on the page */
    content: "";
    position: absolute; inset: 14px 12px;
    background: repeating-linear-gradient(to bottom, rgba(15,122,68,.22) 0 2px, transparent 2px 15px);
}
.ra-book .leaf::after { /* a gold "heading" scribble */
    content: "";
    position: absolute; top: 8px; left: 14px;
    width: 55%; height: 6px; border-radius: 4px;
    background: var(--grad-gold);
}
.ra-book .leaf:nth-child(2) { animation-delay: -2s; }
.ra-book .leaf:nth-child(3) { animation-delay: -4s; }
@keyframes pageFlip {
    0%, 25%   { transform: rotateY(0deg); }
    50%, 100% { transform: rotateY(-178deg); }
}
.ra-book .spine {
    position: absolute; left: -8px; top: 0; bottom: 0; width: 14px;
    background: var(--grad-gold);
    border-radius: 6px 0 0 6px;
    transform: translateZ(-1px);
}

/* checklist */
.ra-check { list-style: none; padding: 0; margin: 0; }
.ra-check li { display: flex; gap: .75rem; align-items: flex-start; padding: .4rem 0; font-weight: 500; font-size: .95rem; }
.ra-check li i {
    flex: 0 0 26px; width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(15,122,68,.13); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .72rem; margin-top: 2px;
    transition: all .3s;
}
.ra-check li:hover i { background: var(--grad-gold); color: #2d1b00; transform: rotate(-10deg) scale(1.1); }
.navy .ra-check li, .ra-check.light li { color: rgba(255,255,255,.9); }
.ra-check.light li i { background: rgba(245,183,10,.2); color: var(--gold); }

/* ============================================================
   STATS — navy band, counters
   ============================================================ */
.ra-stats {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(245,183,10,.16), transparent 60%),
        var(--grad-blue);
    position: relative; overflow: hidden;
}
.ra-stats::before {
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 100% 40px;
}
.ra-stat { text-align: center; color: #fff; position: relative; z-index: 2; padding: .8rem .4rem; }
.ra-stat .s-ico {
    width: 56px; height: 56px; margin: 0 auto .7rem;
    border-radius: 50%;
    background: rgba(245,183,10,.16); border: 1px solid rgba(245,183,10,.5);
    color: var(--gold); font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform .4s;
}
.ra-stat:hover .s-ico { transform: rotate(-12deg) scale(1.12); }
.ra-stat .s-num { font-size: 2.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.ra-stat .s-num small { color: #fff; font-size: 1.4rem; }
.ra-stat .s-lbl { font-size: .85rem; color: rgba(255,255,255,.8); letter-spacing: .5px; margin-top: .35rem; }
.ra-stat + .ra-stat { border-left: 1px dashed rgba(255,255,255,.14); }

/* ============================================================
   TIMELINE — admission steps, moving dash line
   ============================================================ */
.ra-steps { position: relative; }
.ra-steps::before {   /* the running line */
    content: "";
    position: absolute; left: 0; right: 0; top: 46px;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px);
    background-size: 48px 3px;
    animation: lineRun 1.4s linear infinite;
    opacity: .75;
}
@keyframes lineRun { to { background-position: 48px 0; } }
.ra-step { text-align: center; position: relative; z-index: 2; }
.ra-step .st-dot {
    width: 92px; height: 92px; margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(245,183,10,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: var(--primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all .4s;
}
.ra-step .st-dot .st-n {
    position: absolute; top: -8px; right: -8px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--grad-gold); color: #2d1b00;
    font-size: .8rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(232,121,26,.4);
}
.ra-step:hover .st-dot { border-color: var(--gold); transform: translateY(-6px) scale(1.05); box-shadow: var(--shadow-md); color: var(--secondary); }
.ra-step h6 { font-weight: 700; color: var(--dark-blue); }
.ra-step p { color: var(--muted); font-size: .85rem; }

/* ============================================================
   GALLERY — hover zoom + caption slide + shine
   ============================================================ */
.ra-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ra-gal .g-item {
    position: relative; border-radius: 16px; overflow: hidden;
    height: 210px; cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.ra-gal .g-item.big { grid-column: span 2; grid-row: span 2; height: 436px; }
.ra-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ra-gal .g-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,30,70,.78), transparent 55%);
    opacity: 0; transition: opacity .45s;
}
.ra-gal .g-item:hover::after { opacity: 1; }
.ra-gal .g-item:hover img { transform: scale(1.14); }
.ra-gal .g-item::before {  /* shine sweep on hover */
    content: "";
    position: absolute; top: 0; left: -90%; z-index: 2;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .7s ease;
}
.ra-gal .g-item:hover::before { left: 130%; }
.ra-gal .g-cap {
    position: absolute; bottom: 14px; left: 16px; right: 14px; z-index: 3;
    color: #fff; font-weight: 600; font-size: .9rem;
    opacity: 0; transform: translateY(14px);
    transition: all .45s;
}
.ra-gal .g-cap small { display: block; color: var(--gold); font-weight: 700; font-size: .68rem; letter-spacing: 1.4px; text-transform: uppercase; }
.ra-gal .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }

/* ============================================================
   QUOTE / PRINCIPAL CARD
   ============================================================ */
.ra-quote {
    position: relative;
    background: var(--grad-blue);
    border-radius: 24px;
    color: #fff;
    padding: 2.6rem 2.4rem;
    overflow: hidden;
}
.ra-quote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: -18px; left: 26px;
    font-size: 6.5rem; color: rgba(245,183,10,.22);
}
.ra-quote::after {
    content: "";
    position: absolute; bottom: -70px; right: -70px;
    width: 220px; height: 220px; border-radius: 50%;
    border: 28px solid rgba(255,255,255,.06);
}
.ra-quote .q-text { font-size: 1.02rem; line-height: 1.9; position: relative; z-index: 2; }
.ra-quote .q-name { color: var(--gold); font-weight: 700; }
.ra-quote .q-role { font-size: .8rem; color: rgba(255,255,255,.65); letter-spacing: 1px; text-transform: uppercase; }

/* ============================================================
   FEE TABLE — prospectus style
   ============================================================ */
.ra-fee {
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
}
.ra-fee table { margin: 0; }
.ra-fee thead th {
    background: var(--grad-blue);
    color: #fff; font-weight: 700;
    border: none !important;
    padding: .95rem 1rem;
    font-size: .92rem;
}
.ra-fee thead th:first-child { border-radius: 0; }
.ra-fee td { padding: .7rem 1rem; font-size: .92rem; vertical-align: middle; }
.ra-fee tbody tr { transition: background .25s; }
.ra-fee tbody tr:hover { background: rgba(245,183,10,.09); }
.ra-fee .std { font-weight: 700; color: var(--dark-blue); }
.ra-fee .amt { font-weight: 700; color: var(--primary); }
.ra-fee .dash { color: var(--muted); }
.ra-fee-note {
    background: rgba(245,183,10,.12);
    border-left: 4px solid var(--gold);
    padding: .8rem 1.2rem;
    font-size: .88rem; color: var(--ink);
}
.ra-admfee {
    border-radius: 16px; padding: 1.1rem 1.3rem;
    background: var(--light-bg);
    border: 1px dashed rgba(15,122,68,.35);
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .7rem;
    transition: all .3s;
}
.ra-admfee:hover { border-color: var(--gold); background: rgba(245,183,10,.1); transform: translateX(6px); }
.ra-admfee b { color: var(--dark-blue); font-size: .95rem; }
.ra-admfee span { color: var(--primary); font-weight: 800; font-size: 1.05rem; }

/* ============================================================
   RULES — styled accordion
   ============================================================ */
.ra-rules .accordion-item {
    border: none; border-radius: 16px !important;
    overflow: hidden; margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}
.ra-rules .accordion-button {
    font-weight: 700; color: var(--dark-blue);
    background: #fff; padding: 1.05rem 1.4rem;
    font-size: .98rem;
}
.ra-rules .accordion-button:not(.collapsed) {
    background: var(--grad-green); color: #fff;
    box-shadow: none;
}
.ra-rules .accordion-button:not(.collapsed) .rl-ico { background: rgba(255,255,255,.2); color: var(--gold); }
.ra-rules .accordion-button:focus { box-shadow: 0 0 0 3px rgba(245,183,10,.35); }
.ra-rules .rl-ico {
    width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: 11px; margin-right: .8rem;
    background: rgba(15,122,68,.12); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .3s;
}
.ra-rules .accordion-body { background: #fff; color: var(--muted); font-size: .92rem; }
.ra-rules .accordion-body ol { padding-left: 1.15rem; margin: 0; }
.ra-rules .accordion-body ol li { padding: .3rem 0; }

/* ============================================================
   INFO CHIPS / SUBJECT TAGS
   ============================================================ */
.ra-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.ra-tags span {
    background: #fff;
    border: 1px solid rgba(15,122,68,.25);
    color: var(--dark-blue);
    font-size: .82rem; font-weight: 600;
    padding: .42rem 1rem; border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
}
.ra-tags span:hover { background: var(--grad-gold); border-color: transparent; color: #2d1b00; transform: translateY(-3px); }
.ra-tags span i { color: var(--secondary); margin-right: .35rem; }
.ra-tags span:hover i { color: #2d1b00; }

/* ============================================================
   ABOUT FEATURE BLOCKS
   ============================================================ */
.ra-vm {
    position: relative; border-radius: 22px;
    padding: 2.2rem 2rem; height: 100%;
    color: #fff; overflow: hidden;
    transition: transform .4s;
}
.ra-vm:hover { transform: translateY(-8px); }
.ra-vm.green { background: var(--grad-green); }
.ra-vm.navy  { background: var(--grad-blue); }
.ra-vm.gold  { background: var(--grad-gold); color: #2d1b00; }
.ra-vm .v-ico {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.1rem;
}
.ra-vm.gold .v-ico { background: rgba(10,30,70,.12); border-color: rgba(10,30,70,.25); color: var(--dark-blue); }
.ra-vm h4 { color: inherit; }
.ra-vm p { opacity: .94; font-size: .93rem; }
.ra-vm::after {
    content: "";
    position: absolute; bottom: -55px; right: -55px;
    width: 170px; height: 170px; border-radius: 50%;
    background: rgba(255,255,255,.09);
}
.ra-vm.gold::after { background: rgba(10,30,70,.08); }

/* about intro photos */
.ra-collage { position: relative; }
.ra-collage .c-main { border-radius: 22px; box-shadow: var(--shadow-lg); }
.ra-collage .c-sub {
    position: absolute; bottom: -30px; right: -14px;
    width: 52%; border-radius: 18px;
    border: 6px solid #fff; box-shadow: var(--shadow-md);
    transition: transform .5s;
}
.ra-collage:hover .c-sub { transform: rotate(-3deg) scale(1.03); }
.ra-collage .c-badge {
    position: absolute; top: -20px; left: -18px; z-index: 4;
    background: var(--grad-gold); color: #2d1b00;
    border-radius: 16px; padding: .8rem 1.2rem;
    text-align: center; box-shadow: 0 12px 28px rgba(232,121,26,.4);
    animation: floatY 5s ease-in-out infinite;
}
.ra-collage .c-badge b { font-size: 1.6rem; display: block; line-height: 1; }
.ra-collage .c-badge span { font-size: .68rem; font-weight: 700; letter-spacing: .8px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.ra-cta {
    background:
        radial-gradient(500px 300px at 92% 10%, rgba(245,183,10,.28), transparent 60%),
        radial-gradient(400px 300px at 5% 100%, rgba(30,158,95,.35), transparent 60%),
        var(--dark-blue);
    border-radius: 26px;
    padding: 3.2rem 2.8rem;
    color: #fff;
    position: relative; overflow: hidden;
}
.ra-cta h2 { color: #fff; }
.ra-cta h2 .hl { color: var(--gold); }
.ra-cta .cta-ph {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px; padding: .55rem 1.3rem;
    color: #fff; font-weight: 600; font-size: .92rem;
    backdrop-filter: blur(6px);
    transition: all .3s;
}
.ra-cta .cta-ph:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.ra-cta .cta-ph i { color: var(--gold); }

/* ============================================================
   ADDRESS STRIP (contact mini)
   ============================================================ */
.ra-addr {
    background: var(--grad-blue);
    border-radius: 20px; padding: 1.6rem 1.8rem;
    color: #fff; position: relative; overflow: hidden;
}
.ra-addr::after {
    content: ""; position: absolute; top: -55px; right: -55px;
    width: 170px; height: 170px; border-radius: 50%;
    background: rgba(245,183,10,.16);
}
.ra-addr .a-item { display: flex; gap: .8rem; align-items: flex-start; position: relative; z-index: 2; font-size: .9rem; }
.ra-addr .a-item i {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px;
    background: rgba(245,183,10,.16); border: 1px solid rgba(245,183,10,.5);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.ra-addr .a-item small { display: block; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .6px; text-transform: uppercase; }

/* ============================================================
   INNER-PAGE BANNER — unified with classic .page-banner look:
   dotted pattern + navy→green gradient + gold glow + wave edge
   ============================================================ */
.ra-banner {
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        var(--grad-blue);
    background-size: 100% 42px, cover;
    padding: 76px 0 96px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
/* same ruled-line pattern on the classic .page-banner too —
   replaces the old dotted texture so every banner matches */
.page-banner {
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        var(--grad-blue);
    background-size: 100% 42px, cover;
}
/* soft gold glow — top right */
.ra-banner::before {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 183, 10, .30), rgba(245, 183, 10, 0) 70%);
}
/* decorative ring — bottom left */
.ra-banner .container::before {
    content: "";
    position: absolute; bottom: 8px; left: -60px;
    width: 190px; height: 190px; border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, .07);
}
/* curved wave edge into the next section */
.ra-banner::after {
    content: "";
    position: absolute; left: -5%; right: -5%; bottom: -2px;
    height: 46px;
    background: #fff;
    border-radius: 50% 50% 0 0;
}
.ra-banner h1 {
    color: #fff; font-weight: 800;
    position: relative; display: inline-block; z-index: 2;
    animation: raUp .8s ease both;
}
/* gold accent bar under the title */
.ra-banner h1::after {
    content: "";
    display: block;
    width: 74px; height: 4px;
    border-radius: 4px;
    background: var(--grad-gold);
    margin: .55rem auto 0;
    box-shadow: 0 4px 14px rgba(232, 121, 26, .55);
}
/* glassmorphism breadcrumb pill */
.ra-banner .crumb {
    display: inline-flex; align-items: center;
    position: relative; z-index: 2;
    margin-top: .9rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem; font-weight: 500;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    animation: raUp .8s .15s ease both;
    gap: .5rem;
}
.ra-banner .crumb a { color: var(--gold); font-weight: 600; }
.ra-banner .crumb a:hover { text-decoration: underline; }
.ra-banner .crumb i { color: rgba(245, 183, 10, .8); font-size: .6rem; }

/* wide emblem logo — fit inside round nav badge */
.nav-logo-img { object-fit: contain; padding: 1px; }
.wl-head img, .login-logo { object-fit: contain; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .ra-section { padding: 62px 0; }
    .ra-hero { min-height: auto; padding: 90px 0 120px; }
    .ra-arch img, .ra-fade { min-height: 380px; }
    .ra-gal { grid-template-columns: repeat(2, 1fr); }
    .ra-gal .g-item.big { height: 300px; }
    .ra-steps::before { display: none; }
    .ra-step { margin-bottom: 2rem; }
    .ra-float.f1 { left: -8px; }
    .ra-float.f2 { right: -8px; }
    .ra-stat + .ra-stat { border-left: none; }
}
@media (max-width: 576px) {
    .ra-gal { grid-template-columns: 1fr; }
    .ra-gal .g-item.big { grid-column: auto; grid-row: auto; height: 220px; }
    .ra-gal .g-item { height: 220px; }
    .ra-cta { padding: 2.2rem 1.4rem; }
    .ra-hero::after { display: none; }
    .ra-float { padding: .45rem .7rem; font-size: .72rem; }
    .ra-float i { width: 28px; height: 28px; font-size: .75rem; }
    .ra-collage .c-sub { position: static; width: 72%; margin-top: 1rem; }
    .ra-btn.mega { padding: .95rem 2rem; font-size: .95rem; }
    .ra-ticker .tk-label { font-size: .68rem; padding: .72rem 1rem; }
}
