/* ==========================================================================
   RCR Modern - public school website theme  (c) RCR Edutech
   Mobile first. Loaded after bootstrap + the legacy style.css so it wins.
   ========================================================================== */
:root {
    --navy: #0B2254; --navy-2: #17306B; --blue: #0A6CFF; --blue-600: #0856CC; --teal: #12D6A8; --orange: #FFA51F;
    --ink: #1B2B4B; --muted: #62728F; --line: #E3E9F5; --bg: #F4F7FC; --white: #fff;
    --grad: linear-gradient(135deg, #0A6CFF 0%, #12D6A8 100%);
    --radius: 16px; --shadow: 0 1px 2px rgba(11,34,84,.05), 0 8px 30px rgba(11,34,84,.08);
    --wrap: 1180px;
}
html { scroll-behavior: smooth; }
body.rs-body { margin: 0; font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.rs-body a { color: var(--blue-600); text-decoration: none; }
.rs-body a:hover { color: var(--blue); }
.rs-body img { max-width: 100%; height: auto; }
.rs-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.rs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.rs-btn:hover { transform: translateY(-2px); text-decoration: none; }
.rs-btn-primary { background: var(--blue); color: #fff !important; box-shadow: 0 8px 20px rgba(10,108,255,.3); }
.rs-btn-primary:hover { background: var(--blue-600); }
.rs-btn-light { background: #fff; color: var(--navy) !important; box-shadow: 0 8px 20px rgba(11,34,84,.18); }
.rs-btn-ghost { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.5); }
.rs-btn-ghost:hover { background: rgba(255,255,255,.22); }
.rs-btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.rs-btn-line { background: #fff; color: var(--navy) !important; border-color: var(--line); }
.rs-btn-line:hover { border-color: var(--blue); }

/* ---------- Header ---------- */
.rs-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow .2s; }
.rs-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,34,84,.10); }
.rs-top { background: var(--navy); color: #C9D6F2; font-size: 13px; display: none; }
.rs-top .rs-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.rs-top a { color: #E7EEFF; }
.rs-top ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.rs-top i { color: var(--teal); margin-right: 6px; }
.rs-bar .rs-wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.rs-brand { display: flex; align-items: center; gap: 12px; color: var(--navy) !important; font-weight: 800; min-width: 0; }
.rs-brand img { height: 46px; width: auto; max-width: 130px; object-fit: contain; flex: 0 0 auto; }
.rs-brand span { font-size: 17px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rs-nav { display: none; margin-left: auto; }
.rs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.rs-nav li { position: relative; }
.rs-nav a { display: block; padding: 10px 14px; color: var(--ink) !important; font-weight: 600; font-size: 14.5px; border-radius: 10px; }
.rs-nav a:hover, .rs-nav li.active > a { background: #EAF2FF; color: var(--blue-600) !important; }
.rs-nav .rs-sub { position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; gap: 0; z-index: 10; }
.rs-nav li:hover > .rs-sub, .rs-nav li.open > .rs-sub { display: flex; }
.rs-actions { display: none; align-items: center; gap: 10px; }
.rs-burger { margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }
.rs-login { position: relative; }
.rs-login > .rs-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 20; }
.rs-login.open > .rs-menu { display: block; }
.rs-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink) !important; font-weight: 600; }
.rs-menu a:hover { background: #EAF2FF; }
.rs-menu .ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); }
.rs-menu small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

.rs-drawer { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 70px); overflow: auto; }
.rs-drawer.open { display: block; }
.rs-drawer ul { list-style: none; margin: 0; padding: 8px 12px 0; }
.rs-drawer li a { display: block; padding: 13px 10px; color: var(--ink) !important; font-weight: 600; border-bottom: 1px solid #EEF2FA; }
.rs-drawer .rs-sub { padding: 0 0 0 14px; }
.rs-drawer .rs-sub a { font-weight: 500; color: var(--muted) !important; }
.rs-drawer .rs-dcta { display: grid; gap: 10px; padding: 14px 12px 18px; }

@media (min-width: 992px) {
    .rs-top { display: block; }
    .rs-nav, .rs-actions { display: flex; }
    .rs-burger, .rs-drawer { display: none !important; }
}

/* ---------- Hero ---------- */
.rs-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0B2254 0%, #12409C 55%, #0A6CFF 100%); }
.rs-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(18,214,168,.55), rgba(18,214,168,0) 65%); }
.rs-hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,165,31,.35), rgba(255,165,31,0) 65%); }
.rs-hero-bg { position: absolute; inset: 0; z-index: 0; }
.rs-hero-bg .s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.rs-hero-bg .s.on { opacity: .28; }
.rs-hero .rs-wrap { position: relative; z-index: 1; display: grid; gap: 36px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
.rs-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.rs-hero h1 { font-size: clamp(30px, 6vw, 54px); line-height: 1.1; font-weight: 800; margin: 18px 0 14px; color: #fff; letter-spacing: -.5px; }
.rs-hero p.lead { font-size: clamp(16px, 2.4vw, 19px); color: #D6E3FF; max-width: 560px; margin: 0 0 26px; }
.rs-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rs-hero-art { display: none; position: relative; min-height: 340px; }
.rs-float { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 18px 40px rgba(5,20,60,.35); padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-weight: 700; }
.rs-float .ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.rs-float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.rs-float.a { top: 8%; left: 6%; } .rs-float.a .ico { background: var(--grad); }
.rs-float.b { top: 38%; right: 0; } .rs-float.b .ico { background: linear-gradient(135deg, #FF8A1F, #FFC02E); }
.rs-float.c { bottom: 4%; left: 14%; } .rs-float.c .ico { background: linear-gradient(135deg, #17306B, #0B2254); }
@media (min-width: 992px) {
    .rs-hero .rs-wrap { grid-template-columns: 1.15fr .85fr; padding-top: 84px; padding-bottom: 104px; }
    .rs-hero-art { display: block; }
}

/* ---------- Sections ---------- */
.rs-sec { padding: 64px 0; }
.rs-sec.alt { background: var(--bg); }
.rs-title { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.rs-title h2 { font-size: clamp(26px, 4.4vw, 36px); font-weight: 800; color: var(--navy); margin: 0 0 10px; letter-spacing: -.3px; }
.rs-title p { color: var(--muted); margin: 0; font-size: 16.5px; }
.rs-kicker { display: inline-block; color: var(--blue-600); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }

/* quick access, overlapping the hero */
.rs-quick { margin-top: -48px; position: relative; z-index: 5; padding-bottom: 8px; }
.rs-quick .grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.rs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; gap: 16px; align-items: flex-start; color: var(--ink) !important; transition: transform .15s, border-color .15s; }
a.rs-card:hover { transform: translateY(-4px); border-color: var(--blue); text-decoration: none; }
.rs-card .ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; background: var(--grad); }
.rs-card .ico.o { background: linear-gradient(135deg, #FF8A1F, #FFC02E); }
.rs-card .ico.n { background: linear-gradient(135deg, #17306B, #0B2254); }
.rs-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--navy); }
.rs-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (min-width: 640px) { .rs-quick .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .rs-quick .grid { grid-template-columns: repeat(4, 1fr); } }

/* welcome / about */
.rs-about { display: grid; gap: 30px; }
.rs-about h2 { font-size: clamp(26px, 4.4vw, 36px); font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.rs-prose { font-size: 16.5px; color: #34456B; }
.rs-prose img { border-radius: 12px; }
.rs-prose h1, .rs-prose h2, .rs-prose h3 { color: var(--navy); font-weight: 800; }
.rs-prose table { width: 100%; }
.rs-points { display: grid; gap: 12px; align-content: start; }
.rs-points .p { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--navy); }
.rs-points .p i { color: #12B886; margin-top: 4px; }
@media (min-width: 992px) { .rs-about { grid-template-columns: 1.2fr .8fr; gap: 56px; } }

/* what you can do online */
.rs-feat { display: grid; gap: 16px; grid-template-columns: 1fr; }
.rs-feat .f { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rs-feat .f .ico { width: 48px; height: 48px; border-radius: 14px; background: #EAF2FF; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.rs-feat h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--navy); }
.rs-feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 640px) { .rs-feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .rs-feat { grid-template-columns: repeat(3, 1fr); } }

/* news */
.rs-news { display: grid; gap: 14px; }
.rs-news a { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink) !important; transition: transform .15s, border-color .15s; }
.rs-news a:hover { transform: translateX(4px); border-color: var(--blue); text-decoration: none; }
.rs-date { flex: 0 0 62px; text-align: center; border-radius: 14px; background: var(--grad); color: #fff; padding: 8px 4px; line-height: 1.1; }
.rs-date b { display: block; font-size: 22px; } .rs-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.rs-news .t { font-weight: 700; color: var(--navy); }
.rs-news .go { margin-left: auto; color: var(--blue); }

/* contact */
.rs-contact { display: grid; gap: 14px; grid-template-columns: 1fr; }
.rs-contact .c { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.rs-contact .c .ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #EAF2FF; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.rs-contact h4 { margin: 0 0 2px; font-size: 14px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.rs-contact p, .rs-contact a { margin: 0; font-weight: 700; color: var(--navy) !important; word-break: break-word; }
@media (min-width: 768px) { .rs-contact { grid-template-columns: repeat(3, 1fr); } }

/* call to action band */
.rs-band { background: linear-gradient(135deg, #0B2254, #12409C); color: #fff; border-radius: 24px; padding: 38px 28px; display: grid; gap: 18px; text-align: center; }
.rs-band h2 { margin: 0; color: #fff; font-size: clamp(24px, 4vw, 32px); font-weight: 800; }
.rs-band p { margin: 0; color: #D6E3FF; }
.rs-band .rs-cta { justify-content: center; }
@media (min-width: 992px) { .rs-band { grid-template-columns: 1fr auto; text-align: left; padding: 44px 52px; align-items: center; } .rs-band .rs-cta { justify-content: flex-end; } }

/* ---------- Inner pages ---------- */
.rs-pagehead { background: linear-gradient(135deg, #0B2254, #12409C); color: #fff; padding: 36px 0; }
.rs-pagehead h1 { margin: 0; font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; color: #fff; }
.rs-pagehead .crumb { color: #BCD0FA; font-size: 14px; margin-top: 4px; }
.rs-pagehead .crumb a { color: #fff; }
.rs-page { padding: 40px 0 64px; }
.rs-page .rs-card-flat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.rs-page img { max-width: 100%; height: auto; }
.rs-side { background: var(--bg); border-radius: var(--radius); padding: 18px; }
.rs-side h4 { margin: 0 0 12px; font-weight: 800; color: var(--navy); }
.rs-page .form-control { height: 42px; border-radius: 10px; border: 1px solid #D5DEEE; box-shadow: none; }
.rs-page textarea.form-control { height: auto; }
.rs-page .form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,108,255,.15); }
.rs-page .btn-primary, .rs-page .btn-info { background: var(--blue); border-color: var(--blue); border-radius: 10px; font-weight: 700; padding: 10px 20px; }
.rs-page .table { background: #fff; }

/* ---------- Footer ---------- */
.rs-footer { background: var(--navy); color: #C9D6F2; margin-top: 0; }
.rs-footer .cols { display: grid; gap: 34px; padding: 56px 0 38px; grid-template-columns: 1fr; }
.rs-footer h4 { color: #fff; font-weight: 800; margin: 0 0 14px; font-size: 16px; }
.rs-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.rs-footer a { color: #C9D6F2; }
.rs-footer a:hover { color: #fff; }
.rs-footer .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rs-footer .brandline img { height: 44px; background: #fff; border-radius: 10px; padding: 4px 8px; width: auto; max-width: 140px; object-fit: contain; }
.rs-footer .brandline b { color: #fff; font-size: 18px; line-height: 1.2; }
.rs-footer .ci { display: flex; gap: 10px; align-items: flex-start; }
.rs-footer .ci i { color: var(--teal); margin-top: 5px; width: 16px; text-align: center; }
.rs-powered { border-top: 1px solid rgba(255,255,255,.12); background: #08193F; }
.rs-powered .rs-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; }
.rs-powered .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.rs-powered .brand img { height: 28px; background: #fff; border-radius: 8px; padding: 3px 8px; width: auto; }
.rs-powered .support { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rs-powered .support a { color: #fff; font-weight: 600; }
.rs-powered .support i { color: var(--teal); margin-right: 6px; }
@media (min-width: 768px) { .rs-footer .cols { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* widgets that already existed */
.scrollToTop { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff !important; display: none; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 8px 20px rgba(10,108,255,.4); z-index: 900; }
.bootom-whatsapp { position: fixed; left: 18px; bottom: 18px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.bootom-whatsapp svg { width: 32px; height: 32px; }
.cookieConsent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; background: #0B2254; color: #fff; padding: 14px 20px; display: none; font-size: 14px; }
.cookieConsent .rs-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.cookieConsent a { color: #fff; text-decoration: underline; }
.cookieConsent button { background: var(--teal); color: #08193F; border: 0; border-radius: 10px; padding: 8px 18px; font-weight: 800; cursor: pointer; }

@media (max-width: 575px) {
    .rs-sec { padding: 44px 0; }
    .rs-hero .rs-wrap { padding-top: 40px; padding-bottom: 64px; }
    .rs-cta .rs-btn { flex: 1 1 100%; }
    .rs-brand span { font-size: 15px; }
    .rs-powered .rs-wrap { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* the legacy style.css sets its own heading font: use the site font everywhere */
.rs-body h1, .rs-body h2, .rs-body h3, .rs-body h4, .rs-body h5, .rs-body h6, .rs-body .rs-btn, .rs-body button { font-family: inherit; }
.rs-body h1, .rs-body h2, .rs-body h3, .rs-body h4 { text-transform: none; letter-spacing: normal; }
.rs-hero h1 { letter-spacing: -.5px; }

/* neutralise margins the legacy style.css puts on header/footer/section */
.rs-body header.rs-header, .rs-body footer.rs-footer, .rs-body section, .rs-body main { margin-top: 0; margin-bottom: 0; }
.rs-body header.rs-header { padding: 0; border: 0; height: auto; position: sticky; }
.rs-body footer.rs-footer { padding: 0; border: 0; }
.rs-body .rs-quick { margin-top: -48px; }
