﻿/* ============================================================
   RISING STEPS ACADEMY
   PUBLIC WEBSITE
   ============================================================ */

:root {
    --rsa-blue: #2440D6;
    --rsa-navy: #1B2A5B;
    --rsa-coral: #FF8552;
    --rsa-yellow: #FFC93D;
    --rsa-sky: #7DCBEA;
    --rsa-green: #2FD08C;
    --rsa-cream: #FCFBF7;
    --rsa-warm: #F3F0E7;
    --rsa-white: #FFFFFF;
    --rsa-muted: #5B6B8C;
    --rsa-line: #E8E2D3;
    --rsa-radius: 20px;
    --rsa-shadow: 0 12px 35px rgba(27, 42, 91, 0.08);
}


/* ============================================================
   GLOBAL
   ============================================================ */

.rsa-page {
    overflow: hidden;
    background: var(--rsa-cream);
    color: var(--rsa-navy);
}

    .rsa-page img {
        max-width: 100%;
        display: block;
    }

    .rsa-page h1,
    .rsa-page h2,
    .rsa-page h3,
    .rsa-page h4,
    .rsa-page h5 {
        color: var(--rsa-navy);
    }

.rsa-section {
    position: relative;
    padding: 100px 0;
}

.rsa-warm-section {
    background: var(--rsa-warm);
}

.rsa-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.rsa-hero-title,
.rsa-inner-title {
    font-size: clamp(3rem, 5vw, 5.4rem) !important;
    line-height: .96 !important;
    letter-spacing: -1.5px;
}

    .rsa-hero-title span,
    .rsa-inner-title span {
        display: block;
        color: var(--rsa-coral);
    }

.rsa-hero-lede,
.rsa-inner-lede {
    max-width: 620px;
    color: var(--rsa-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.rsa-mini-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--rsa-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

    .rsa-mini-label span {
        display: block;
        width: 26px;
        height: 4px;
        border-radius: 10px;
        background: var(--rsa-coral);
    }

.rsa-section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

    .rsa-section-heading > p {
        color: var(--rsa-muted);
    }


/* ============================================================
   HERO
   ============================================================ */

.rsa-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 85% 20%, rgba(125,203,234,.20), transparent 30%), var(--rsa-cream);
}

.rsa-hero-container {
    position: relative;
    z-index: 3;
    padding-top: 70px;
    padding-bottom: 100px;
}

.rsa-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 30px;
    background: rgba(125,203,234,.18);
    color: var(--rsa-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .8px;
    margin-bottom: 22px;
}

.rsa-primary-button {
    border-radius: 14px !important;
    padding: 13px 23px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(36,64,214,.18);
}

.rsa-secondary-button {
    border-radius: 14px !important;
    padding: 13px 23px !important;
    font-weight: 800 !important;
}

.rsa-hero-image-wrap {
    position: relative;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rsa-blob {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 48% 52% 62% 38% / 43% 45% 55% 57%;
    transform: rotate(-8deg);
}

.rsa-blob-blue {
    background: #E4F5FA;
}

.rsa-photo-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 48% 52% 48% 52%;
    box-shadow: 0 25px 50px rgba(27,42,91,.14);
}

    .rsa-photo-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rsa-photo-hero {
    width: 430px;
    height: 480px;
    transform: rotate(3deg);
}

.rsa-floating-note {
    position: absolute;
    z-index: 5;
    background: white;
    box-shadow: var(--rsa-shadow);
    border-radius: 16px;
}

.rsa-note-star {
    bottom: 50px;
    left: 20px;
    padding: 13px 18px;
    color: var(--rsa-navy);
    font-size: .78rem;
}

    .rsa-note-star span {
        color: var(--rsa-yellow);
        font-size: 1.3rem;
    }

    .rsa-note-star strong {
        display: block;
        color: var(--rsa-blue);
    }

.rsa-note-pencil {
    top: 50px;
    right: 10px;
    width: 58px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--rsa-coral);
    font-size: 2rem;
    transform: rotate(12deg);
}

.rsa-wave {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 4;
}

    .rsa-wave svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .rsa-wave path {
        fill: var(--rsa-cream);
    }

.rsa-wave-bottom {
    height: 110px;
    bottom: -1px;
}

.rsa-wave-top {
    height: 90px;
    top: -1px;
    transform: rotate(180deg);
}


/* ============================================================
   DOODLES
   ============================================================ */

.rsa-doodle {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    font-size: 3rem;
}

.rsa-doodle-star {
    top: 100px;
    left: 8%;
    color: var(--rsa-yellow);
}

.rsa-doodle-squiggle {
    bottom: 180px;
    left: 45%;
    color: var(--rsa-blue);
    transform: rotate(-8deg);
}

.rsa-doodle-spark {
    top: 160px;
    right: 9%;
    color: var(--rsa-coral);
}


/* ============================================================
   INTRO / STORY
   ============================================================ */

.rsa-intro-heading {
    max-width: 700px;
    text-align: center;
    margin: 0 auto 65px;
}

    .rsa-intro-heading p {
        color: var(--rsa-muted);
        font-size: 1.05rem;
        line-height: 1.8;
    }

.rsa-image-collage {
    position: relative;
    min-height: 470px;
}

.rsa-photo-large {
    width: 90%;
    height: 420px;
    border-radius: 35px 55px 45px 65px;
    transform: rotate(-2deg);
}

.rsa-collage-shape {
    position: absolute;
    right: 0;
    bottom: 20px;
    width: 150px;
    height: 150px;
    background: var(--rsa-yellow);
    border-radius: 50%;
    opacity: .85;
}

.rsa-collage-badge {
    position: absolute;
    right: 5%;
    bottom: 45px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 16px;
    background: white;
    box-shadow: var(--rsa-shadow);
    font-size: .8rem;
}

    .rsa-collage-badge svg {
        color: var(--rsa-coral);
    }

.rsa-story-copy {
    max-width: 560px;
}

    .rsa-story-copy p {
        color: var(--rsa-muted);
        line-height: 1.8;
        margin-top: 18px;
    }

.rsa-text-button {
    margin-top: 18px;
    font-weight: 800 !important;
}


/* ============================================================
   EXPERIENCE
   ============================================================ */

.rsa-experience-section {
    padding: 60px 0;
    background: var(--rsa-blue);
    color: white;
}

.rsa-experience-item {
    text-align: center;
    color: white;
}

.rsa-experience-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: white;
    font-size: 1.8rem;
}

.rsa-icon-yellow svg {
    color: var(--rsa-yellow);
}

.rsa-icon-blue svg {
    color: var(--rsa-sky);
}

.rsa-icon-green svg {
    color: var(--rsa-green);
}

.rsa-icon-coral svg {
    color: var(--rsa-coral);
}

.rsa-experience-item strong {
    display: block;
    font-family: "Baloo 2", sans-serif;
    font-size: 1.65rem;
}

.rsa-experience-item span {
    display: block;
    opacity: .85;
    font-size: .82rem;
}


/* ============================================================
   SUBJECT CARDS
   ============================================================ */

.rsa-subject-card {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 25px;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .rsa-subject-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--rsa-shadow);
    }

    .rsa-subject-card p {
        color: var(--rsa-muted);
        line-height: 1.7;
        margin-top: 12px;
    }

.rsa-subject-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    margin-bottom: 20px;
    font-size: 2rem;
}

.rsa-subject-english {
    background: #EEF3FF;
}

    .rsa-subject-english .rsa-subject-icon {
        background: #DCE5FF;
        color: var(--rsa-blue);
    }

.rsa-subject-maths {
    background: #FFF1EB;
}

    .rsa-subject-maths .rsa-subject-icon {
        background: #FFE0D4;
        color: var(--rsa-coral);
    }

.rsa-subject-arabic {
    background: #EDF9F3;
}

    .rsa-subject-arabic .rsa-subject-icon {
        background: #D8F2E5;
        color: #17915F;
    }

.rsa-card-arrow {
    position: absolute;
    right: 25px;
    bottom: 22px;
    font-size: 1.6rem;
    color: var(--rsa-blue);
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.rsa-how-section {
    position: relative;
    padding: 150px 0 100px;
    background: #EAF7FB;
}

    .rsa-how-section .rsa-wave path {
        fill: var(--rsa-warm);
    }

.rsa-light-heading {
    padding-top: 30px;
}

.rsa-step-card {
    position: relative;
    height: 100%;
    padding: 35px 30px;
    border-radius: 25px;
    background: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(27,42,91,.06);
}

.rsa-step-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: "Baloo 2", sans-serif;
    color: #DCE5FF;
    font-size: 3rem;
    font-weight: 800;
}

.rsa-step-card > svg {
    color: var(--rsa-blue);
    font-size: 2.8rem;
    margin: 25px 0 10px;
}

.rsa-step-card p {
    color: var(--rsa-muted);
    line-height: 1.7;
}


/* ============================================================
   FOUNDER
   ============================================================ */

.rsa-founder {
    position: relative;
    overflow: hidden;
    padding: 55px;
    border-radius: 35px;
    background: var(--rsa-warm);
}

.rsa-founder-photo {
    overflow: hidden;
    width: 240px;
    height: 240px;
    margin: auto;
    border-radius: 50% 45% 50% 45%;
}

    .rsa-founder-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rsa-founder p {
    color: var(--rsa-muted);
    line-height: 1.8;
    margin-top: 15px;
}

.rsa-founder-decoration {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--rsa-yellow);
    font-size: 3rem;
}

.rsa-quote {
    margin-top: 25px;
    font-family: "Baloo 2", sans-serif;
    color: var(--rsa-blue);
    font-size: 1.4rem;
    font-weight: 600;
}

    .rsa-quote span {
        color: var(--rsa-coral);
        font-size: 2.2rem;
    }


/* ============================================================
   FINAL CTA
   ============================================================ */

.rsa-final-cta {
    position: relative;
    overflow: hidden;
    padding: 90px 20px;
    text-align: center;
    background: var(--rsa-yellow);
}

    .rsa-final-cta p {
        max-width: 600px;
        margin: 15px auto 30px;
        color: var(--rsa-navy);
    }

.rsa-final-doodle {
    position: absolute;
    font-size: 5rem;
}

.rsa-final-star {
    top: 30px;
    left: 10%;
    color: white;
}

.rsa-final-rainbow {
    right: 10%;
    bottom: 15px;
    color: var(--rsa-coral);
    font-size: 8rem;
}


/* ============================================================
   SERVICES
   ============================================================ */

.rsa-inner-hero {
    position: relative;
    padding: 90px 0 150px;
    background: #EEF3FF;
}

.rsa-inner-hero-doodle {
    position: absolute;
    top: 100px;
    right: 10%;
    color: var(--rsa-coral);
    font-size: 4rem;
}

.rsa-inner-hero-image {
    width: 430px;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 50% 45% 55% 45%;
    transform: rotate(3deg);
    box-shadow: 0 25px 50px rgba(27,42,91,.12);
}

    .rsa-inner-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.rsa-feature-panel {
    padding: 55px;
    border-radius: 35px;
    background: white;
    box-shadow: var(--rsa-shadow);
}

.rsa-feature-image {
    position: relative;
}

    .rsa-feature-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 30px 45px 30px 50px;
    }

.rsa-feature-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 15px;
    background: var(--rsa-yellow);
    box-shadow: var(--rsa-shadow);
}

    .rsa-feature-badge svg {
        color: var(--rsa-blue);
    }

.rsa-feature-panel p {
    color: var(--rsa-muted);
    line-height: 1.8;
}

.rsa-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

    .rsa-service-pills div {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 9px 13px;
        border-radius: 30px;
        background: var(--rsa-warm);
        color: var(--rsa-navy);
        font-size: .82rem;
        font-weight: 700;
    }

    .rsa-service-pills svg {
        color: var(--rsa-blue);
        font-size: 1.1rem;
    }

.rsa-services-subjects {
    padding: 100px 0;
    background: var(--rsa-warm);
}

.rsa-service-card {
    height: 100%;
    padding: 28px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 8px 25px rgba(27,42,91,.05);
}

.rsa-big-service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 18px;
    font-size: 1.8rem;
}

.rsa-card-blue .rsa-big-service-icon {
    background: #DCE5FF;
    color: var(--rsa-blue);
}

.rsa-card-coral .rsa-big-service-icon {
    background: #FFE0D4;
    color: var(--rsa-coral);
}

.rsa-card-green .rsa-big-service-icon {
    background: #D8F2E5;
    color: #17915F;
}

.rsa-card-purple .rsa-big-service-icon {
    background: #E9DEFF;
    color: #7448B8;
}

.rsa-service-card p {
    color: var(--rsa-muted);
    line-height: 1.7;
}

.arabic-symbol {
    font-family: serif;
    font-size: 2.5rem;
}


/* ============================================================
   ENGLISH SECTION
   ============================================================ */

.rsa-english-section {
    position: relative;
    padding: 160px 0 110px;
    background: #EAF7FB;
}

.rsa-english-heading {
    max-width: 750px;
    margin-bottom: 50px;
}

    .rsa-english-heading p {
        color: var(--rsa-muted);
        line-height: 1.8;
    }

.rsa-english-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.rsa-english-feature-image img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 35px 50px 35px 55px;
}

.rsa-english-feature-copy p {
    color: var(--rsa-muted);
    line-height: 1.8;
}

.rsa-group-size {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 18px;
    border-radius: 30px;
    background: white;
}

    .rsa-group-size svg {
        color: var(--rsa-blue);
    }

    .rsa-group-size span {
        color: var(--rsa-muted);
    }

.rsa-book-card {
    min-height: 240px;
    padding: 30px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 10px 25px rgba(27,42,91,.06);
    border-top: 7px solid var(--rsa-blue);
}

.rsa-book-kidsbox {
    border-color: var(--rsa-coral);
}

.rsa-book-phonics {
    border-color: var(--rsa-green);
}

.rsa-book-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    color: var(--rsa-blue);
}

.rsa-book-kidsbox .rsa-book-top {
    color: var(--rsa-coral);
}

.rsa-book-phonics .rsa-book-top {
    color: var(--rsa-green);
}

.rsa-book-top span {
    font-family: "Baloo 2", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    opacity: .25;
}

.rsa-book-card p {
    color: var(--rsa-muted);
    line-height: 1.7;
}

.rsa-services-cta {
    padding: 100px 0;
    background: var(--rsa-blue);
}

.rsa-services-cta-inner {
    position: relative;
    text-align: center;
    color: white;
}

    .rsa-services-cta-inner h2 {
        color: white;
    }

    .rsa-services-cta-inner p {
        max-width: 600px;
        margin: 15px auto 30px;
        color: rgba(255,255,255,.82);
    }

.rsa-cta-icon {
    margin-bottom: 10px;
    color: var(--rsa-yellow);
    font-size: 3rem;
}


/* ============================================================
   CONTACT
   ============================================================ */

.rsa-contact-hero {
    padding: 90px 0 100px;
    background: #FFF8E6;
}

.rsa-contact-hero-image {
    position: relative;
    width: 430px;
    height: 390px;
    margin: auto;
}

    .rsa-contact-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 45% 55% 50% 45%;
    }

.rsa-contact-spark {
    position: absolute;
    top: 15px;
    right: -10px;
    color: var(--rsa-coral);
    font-size: 3rem;
}

.rsa-contact-doodle {
    position: absolute;
    bottom: 20px;
    left: -20px;
    color: var(--rsa-blue);
    font-size: 3rem;
}

.rsa-contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 145px;
    padding: 25px;
    border-radius: 22px;
    background: white;
    color: var(--rsa-navy);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(27,42,91,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .rsa-contact-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--rsa-shadow);
    }

    .rsa-contact-card p {
        color: var(--rsa-muted);
        margin-top: 5px;
    }

    .rsa-contact-card span {
        display: block;
        margin-top: 7px;
        color: var(--rsa-blue);
        font-size: .78rem;
        font-weight: 800;
    }

.rsa-contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.6rem;
}

.rsa-contact-blue {
    background: #DCE5FF;
    color: var(--rsa-blue);
}

.rsa-contact-coral {
    background: #FFE0D4;
    color: var(--rsa-coral);
}

.rsa-contact-green {
    background: #D8F2E5;
    color: #17915F;
}

.rsa-map-section {
    padding: 80px 0 110px;
    background: var(--rsa-warm);
}

.rsa-map-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

    .rsa-map-heading p {
        color: var(--rsa-muted);
    }

.rsa-map-container {
    position: relative;
    overflow: hidden;
    height: 480px;
    border-radius: 30px;
    background: #DDE6E8;
    box-shadow: var(--rsa-shadow);
}

    .rsa-map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.rsa-map-overlay {
    position: absolute;
    left: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: var(--rsa-shadow);
}

    .rsa-map-overlay svg {
        color: var(--rsa-coral);
        margin-bottom: 5px;
    }

    .rsa-map-overlay span {
        color: var(--rsa-muted);
        font-size: .8rem;
    }

.rsa-contact-final {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
    background: var(--rsa-yellow);
}

    .rsa-contact-final p {
        max-width: 620px;
        margin: 15px auto;
        color: var(--rsa-navy);
    }

.rsa-contact-final-decoration {
    position: absolute;
    top: 30px;
    right: 12%;
    color: white;
    font-size: 4rem;
}

.rsa-contact-final-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    font-size: 2rem;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 959px) {

    .rsa-hero-title,
    .rsa-inner-title {
        font-size: 3.5rem !important;
    }

    .rsa-hero {
        min-height: auto;
    }

    .rsa-hero-image-wrap {
        min-height: 470px;
    }

    .rsa-english-feature {
        grid-template-columns: 1fr;
    }

    .rsa-founder {
        padding: 35px;
    }

    .rsa-map-heading {
        display: block;
    }
}

@media (max-width: 599px) {

    .rsa-section {
        padding: 70px 0;
    }

    .rsa-hero-container {
        padding-top: 45px;
        padding-bottom: 80px;
    }

    .rsa-hero-title,
    .rsa-inner-title {
        font-size: 2.9rem !important;
    }

    .rsa-hero-image-wrap {
        min-height: 390px;
    }

    .rsa-photo-hero {
        width: 320px;
        height: 360px;
    }

    .rsa-blob {
        width: 350px;
        height: 350px;
    }

    .rsa-photo-large {
        width: 100%;
        height: 320px;
    }

    .rsa-image-collage {
        min-height: 370px;
    }

    .rsa-founder {
        padding: 25px;
    }

    .rsa-founder-photo {
        width: 190px;
        height: 190px;
        margin-bottom: 30px;
    }

    .rsa-feature-panel {
        padding: 25px;
    }

    .rsa-feature-image img {
        height: 300px;
    }

    .rsa-inner-hero-image,
    .rsa-contact-hero-image {
        width: 320px;
        height: 300px;
    }

    .rsa-english-feature-image img {
        height: 300px;
    }

    .rsa-map-container {
        height: 350px;
    }

    .rsa-button-row {
        flex-direction: column;
    }

        .rsa-button-row .mud-button {
            width: 100%;
        }
}
