/* =============================================
   HOME — Full responsive replacement
   ============================================= */

/* ---- HERO ---- */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    padding-top: 90px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h2 {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: clamp(18px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

.hero-actions {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.enroll-btn {
    padding: 10px 20px;
    background: linear-gradient(90deg, #300CE8 0%, #DE0B0B 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: clamp(16px, 2.5vw, 25px);
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.contact-text {
    font-size: clamp(15px, 2vw, 23px);
    font-weight: 400;
    line-height: 1.4;
}

/* ---- FLOATING SOCIAL ICONS ---- */
.hero-icons {
    position: fixed;
    right: 20px;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.hero-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-icons img {
    width: 50px;
    height: 50px;
}

/* =============================================
   MISSION / VALUES
   ============================================= */
.mission-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 60px;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

/* LEFT */
.mission-left h2 {
    font-size: clamp(48px, 8vw, 90px);
    margin-bottom: 30px;
    margin-top: 0;
    font-weight: 800;
    color: #110055;
    line-height: 1;
}

.mission-left p {
    line-height: 1.6;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 30px);
    margin: 0;
}

/* RIGHT — stacked image composition */
.mission-right {
    position: relative;
    height: 400px;
}

.mission-img {
    position: absolute;
}

.mission-img img {
    width: clamp(200px, 30vw, 400px);
    height: auto;
    display: block;
}

.img-top {
    top: 0;
    right: 60px;
    z-index: 2;
}

.img-top img {
    border: 10px solid #fff;
    border-radius: 10px;
}

.img-bottom {
    bottom: 0;
    left: 120px;
    z-index: 1;
}

/* =============================================
   WHY US
   ============================================= */
.ricas-whyus-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ricas-whyus-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
}

.ricas-whyus-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3%;
    gap: 40px;
    box-sizing: border-box;
}

/* LEFT */
.ricas-whyus-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ricas-whyus-title {
    font-size: clamp(40px, 7vw, 90px);
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1;
}

.ricas-whyus-image-wrap img {
    width: 95%;
    height: auto;
    display: block;
}

.ricas-whyus-text-block h3 {
    color: #fff;
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
}

.ricas-whyus-text-block p {
    color: #cfd8e3;
    font-size: clamp(14px, 1.8vw, 25px);
    margin-top: 10px;
}

/* RIGHT GRID */
.ricas-whyus-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 7% 2%;
    box-sizing: border-box;
}

/* CARD */
.ricas-whyus-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    transition: transform 0.2s ease;
}

.ricas-whyus-card:hover {
    transform: translateY(-5px);
}

.ricas-whyus-card img {
    width: clamp(80px, 12vw, 160px);
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.ricas-whyus-card p {
    color: #fff;
    font-size: clamp(14px, 1.8vw, 25px);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* last card spans both columns */
.ricas-whyus-card-wide {
    grid-column: span 2;
}

/* =============================================
   COURSES (horizontal scroll on mobile)
   ============================================= */
.ricas-courses-section {
    background: #110055;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.ricas-courses-container {
    padding: 30px;
    box-sizing: border-box;
}

.ricas-courses-title {
    text-align: center;
    color: #fff;
    font-size: clamp(22px, 3vw, 36px);
    margin-bottom: 30px;
    margin-top: 0;
}

/* Scroll wrapper */
.ricas-courses-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Scrollbar */
.ricas-courses-scroll::-webkit-scrollbar {
    height: 8px;
}

.ricas-courses-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.ricas-courses-scroll::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

/* CARD */
.ricas-course-card {
    width: clamp(280px, 80vw, 550px);
    min-height: 700px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.ricas-course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* CONTENT */
.ricas-course-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ricas-course-heading {
    font-size: clamp(18px, 2.5vw, 27px);
    font-weight: 720;
    margin-bottom: 15px;
    margin-top: 0;
    color: #110055;
}

/* META */
.ricas-course-meta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 15px;
}

.ricas-course-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ricas-course-meta-item img {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.ricas-course-meta-text {
    font-size: clamp(15px, 1.8vw, 25px);
    font-weight: 500;
    color: #000000;
    line-height: 1.4;
}

/* LINK */
.ricas-course-link {
    margin-top: auto;
    padding-top: 26px;
    display: block;
    text-align: center;
    font-size: clamp(18px, 2.5vw, 30px);
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

/* =============================================
   EXPERTS (2-row horizontal scroll on mobile)
   ============================================= */
.ricas-experts-section {
    background: #f5f5f5;
    overflow: hidden;
}

.ricas-experts-container {
    padding: 40px 30px;
    box-sizing: border-box;
}

.ricas-experts-title {
    text-align: center;
    color: #110055;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 40px;
    margin-top: 0;
}

/* SCROLL GRID */
.ricas-experts-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 46vw;
    gap: 0;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* CARD */
.ricas-expert-card {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    border-right: 1px dashed #999;
    border-bottom: 1px dashed #999;
    scroll-snap-align: start;
}

.ricas-expert-card:last-child {
    border-right: none;
}

/* remove bottom border for last row */
.ricas-expert-card:nth-child(2n) {
    border-bottom: none;
}

/* TOP */
.ricas-expert-top {
    display: flex;
    align-items: center;
    gap: 30%;
}

/* REVERSE FOR ROW 2 */
.ricas-expert-reverse .ricas-expert-top {
    flex-direction: row-reverse;
}

/* AVATAR */
.ricas-expert-avatar img {
    width: clamp(80px, 10vw, 150px);
    height: clamp(80px, 10vw, 150px);
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.ricas-avatar-placeholder {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    border-radius: 12px;
    background: #d9d9d9;
    flex-shrink: 0;
}

/* HEADING */
.ricas-expert-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.ricas-expert-heading h3 {
    font-size: clamp(18px, 2.5vw, 35px);
    margin: 0;
    line-height: 1.2;
}

.ricas-expert-heading p {
    font-size: clamp(13px, 1.5vw, 20px);
    color: #555;
    margin: 4px 0 0;
}

/* BOTTOM */
.ricas-expert-desc {
    margin-top: 40px;
    font-size: clamp(14px, 1.8vw, 25px);
    font-weight: 400;
    color: #333;
    text-align: justify;
    line-height: 1.6;
}

.ricas-expert-quote {
    margin-top: 10px;
    font-size: clamp(12px, 1.4vw, 20px);
    color: #666;
}

/* SCROLLBAR */
.ricas-experts-scroll::-webkit-scrollbar {
    height: 12px;
}

.ricas-experts-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 6px;
}

.ricas-experts-scroll::-webkit-scrollbar-thumb {
    background: #110055;
    border-radius: 6px;
}

/* ---- PARTNERS ---- */
.partnered {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.partnered-banner {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .mission-values {
        padding: 60px 40px;
        gap: 30px;
    }

    .ricas-whyus-container {
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero */
    .home-hero {
        padding-top: 70px;
    }

    .hero-actions {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-icons {
        right: 10px;
        gap: 10px;
    }

    .hero-icons img {
        width: 36px;
        height: 36px;
    }

    /* Mission — stack on mobile */
    .mission-values {
        grid-template-columns: 1fr;
        padding: 48px 24px;
        gap: 0;
    }

    .mission-right {
        height: 260px;
        margin-top: 24px;
    }

    .mission-img img {
        width: clamp(150px, 45vw, 260px);
    }

    .img-top {
        right: 20px;
    }

    .img-bottom {
        left: 30px;
    }

    /* Why Us — stack on mobile */
    .ricas-whyus-container {
        grid-template-columns: 1fr;
        padding: 5% 5%;
        gap: 24px;
    }

    .ricas-whyus-right {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .ricas-whyus-card img {
        width: 60px;
        height: auto;
        margin-bottom: 6px;
    }

    /* Courses */
    .ricas-courses-container {
        padding: 24px 16px;
    }

    .ricas-course-card {
        min-height: unset;
    }

    .ricas-course-image {
        height: 180px;
    }

    /* Experts — tighter cards on mobile */
    .ricas-experts-scroll {
        grid-auto-columns: 80vw;
    }

    .ricas-expert-card {
        padding: 20px;
    }

    .ricas-expert-top {
        gap: 16px;
    }

    .ricas-expert-desc {
        margin-top: 20px;
    }

    .ricas-experts-container {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    /* Experts single-column feel */
    .ricas-experts-scroll {
        grid-auto-columns: 90vw;
    }

    /* Why Us cards go single column */
    .ricas-whyus-right {
        grid-template-columns: 1fr;
    }

    .ricas-whyus-card-wide {
        grid-column: span 1;
    }
}