/*
Theme Name: Bodai Language Centre
Theme URI: https://bodaitraining.com/
Author: Bodai Language Centre
Description: Custom language learning platform theme powered by MasterStudy LMS.
Version: 2.0.0
Text Domain: bodai-training
*/

:root {
    --blue: #0756b8;
    --blue-dark: #063b7c;
    --blue-deep: #062d5d;
    --blue-soft: #eaf3ff;
    --cyan: #2c9ee8;
    --white: #ffffff;
    --black: #102033;
    --text: #526274;
    --muted: #8492a3;
    --bg: #f6f9fc;
    --border: #e2e9f1;
    --shadow: 0 20px 60px rgba(6, 59, 124, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
}

body,
button,
input,
textarea,
select {
    font-family: "DM Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}


/* HEADER */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 22px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--white);
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
}

.logo-text small {
    color: rgba(255,255,255,.65);
    font-size: 7px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 600;
}

.main-navigation a:hover {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 600;
}

.header-button {
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--white);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}


/* HERO */

.language-hero {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 75% 25%, rgba(44,158,232,.22), transparent 28%),
        linear-gradient(135deg, #052d5c 0%, #0756b8 62%, #147ac5 100%);
}

.language-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding-top: 80px;
}

.language-hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-label {
    color: #9bd4ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.language-hero h1 {
    margin: 16px 0 22px;
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: clamp(45px, 5vw, 69px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.language-hero h1 span {
    color: #bfe5ff;
}

.language-hero-content > p {
    max-width: 570px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
}

.hero-language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.hero-language-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;
    color: white;
    background: rgba(255,255,255,.07);
    font-size: 10px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.button-primary {
    background: var(--white);
    color: var(--blue);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.button-light {
    border: 1px solid rgba(255,255,255,.3);
    color: white;
}

.button-light:hover {
    background: rgba(255,255,255,.08);
}


/* HERO LANGUAGE VISUAL */

.language-hero-visual {
    position: relative;
    height: 470px;
}

.language-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
}

.circle-one {
    width: 440px;
    height: 440px;
    right: -50px;
    top: 10px;
}

.circle-two {
    width: 320px;
    height: 320px;
    right: 10px;
    top: 70px;
}

.language-card-main {
    position: absolute;
    z-index: 3;
    width: 330px;
    right: 90px;
    top: 85px;
    padding: 38px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.language-card-label {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.language-word {
    margin-top: 25px;
    color: var(--blue-dark);
    font-family: "Manrope", sans-serif;
    font-size: 45px;
    font-weight: 800;
}

.language-divider {
    height: 1px;
    margin: 20px 0;
    background: var(--border);
}

.language-translations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.language-translations div {
    display: flex;
    flex-direction: column;
}

.language-translations strong {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.language-translations span {
    margin-top: 4px;
    color: var(--black);
    font-size: 15px;
    font-weight: 700;
}

.floating-word {
    position: absolute;
    z-index: 5;
    padding: 10px 16px;
    border-radius: 30px;
    background: white;
    color: var(--blue);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
    font-size: 11px;
    font-weight: 800;
}

.word-one {
    top: 35px;
    right: 20px;
}

.word-two {
    bottom: 75px;
    left: 20px;
}

.word-three {
    bottom: 25px;
    right: 75px;
}


/* INTRO */

.language-intro {
    padding: 100px 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro-grid h2 {
    margin: 12px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.intro-grid p {
    color: var(--text);
    font-size: 15px;
}


/* LANGUAGES */

.languages-section {
    padding: 100px 0;
    background: var(--bg);
}

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

.section-heading h2 {
    margin: 7px 0 0;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    line-height: 1.15;
}

.section-heading > a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.language-item {
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    transition: .3s ease;
}

.language-item:hover {
    transform: translateY(-6px);
    border-color: #a8cff4;
    box-shadow: var(--shadow);
}

.language-item-featured {
    background: var(--blue);
    color: white;
}

.language-number {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
}

.language-item-featured .language-number {
    color: #bfe5ff;
}

.language-item h3 {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
}

.language-item p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
}

.language-item-featured p {
    color: rgba(255,255,255,.72);
}

.language-arrow {
    align-self: flex-end;
    color: var(--blue);
    font-size: 18px;
    font-weight: 800;
}

.language-item-featured .language-arrow {
    color: white;
}


/* WHY */

.why-bodai {
    padding: 105px 0;
    background: white;
}

.centered {
    display: block;
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

.centered h2 {
    margin: 10px 0;
}

.centered p {
    color: var(--text);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.benefit {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg);
}

.benefit-icon {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.benefit h3 {
    margin: 17px 0 8px;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.benefit p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
}


/* COURSES */

.featured-courses {
    padding: 100px 0;
    background: var(--bg);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.course-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
    transition: .3s ease;
}

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

.course-image {
    height: 205px;
    overflow: hidden;
    background: var(--blue-deep);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 55px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.course-content {
    padding: 23px;
}

.course-category {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.course-content h3 {
    margin: 9px 0 18px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
}

.course-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.empty-courses {
    grid-column: 1 / -1;
    padding: 65px 30px;
    border: 1px dashed #bfd0e2;
    border-radius: 15px;
    text-align: center;
    background: white;
}

.empty-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 12px;
    background: var(--blue);
    color: white;
    font-weight: 800;
}

.empty-courses h3 {
    margin: 0 0 8px;
    font-family: "Manrope", sans-serif;
}

.empty-courses p {
    margin: 0;
    color: var(--text);
}


/* CTA */

.language-cta {
    padding: 85px 0;
    background: var(--blue-dark);
}

.language-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.language-cta h2 {
    max-width: 650px;
    margin: 10px 0;
    color: white;
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.15;
}

.language-cta p {
    margin: 0;
    color: rgba(255,255,255,.7);
}


/* FOOTER */

.site-footer {
    padding: 70px 0 25px;
    background: #041d3a;
    color: rgba(255,255,255,.65);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-grid p {
    max-width: 360px;
    font-size: 13px;
}

.footer-grid h3 {
    margin: 0 0 18px;
    color: white;
    font-size: 13px;
}

.footer-grid > div > a:not(.site-logo) {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.footer-grid > div > a:not(.site-logo):hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.4);
    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .main-navigation {
        display: none;
    }

    .language-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 110px;
        padding-bottom: 80px;
    }

    .language-hero-visual {
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .language-grid,
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .container {
        width: min(100% - 30px, 1160px);
    }

    .site-header {
        padding: 14px 0;
    }

    .header-actions .login-link {
        display: none;
    }

    .header-button {
        padding: 9px 12px;
        font-size: 9px;
    }

    .language-hero h1 {
        font-size: 45px;
    }

    .language-hero-visual {
        height: 390px;
    }

    .language-card-main {
        width: 290px;
        right: 20px;
        top: 60px;
        padding: 30px;
    }

    .circle-one {
        width: 350px;
        height: 350px;
        right: -40px;
    }

    .circle-two {
        width: 270px;
        height: 270px;
        right: 0;
        top: 45px;
    }

    .word-one {
        right: 0;
    }

    .word-two {
        left: 0;
    }

    .intro-grid h2,
    .section-heading h2 {
        font-size: 31px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > a {
        display: inline-block;
        margin-top: 15px;
    }

    .language-grid,
    .course-grid {
        grid-template-columns: 1fr;
    }

    .language-cta-inner {
        display: block;
    }

    .language-cta h2 {
        font-size: 31px;
    }

    .language-cta .button {
        margin-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin-bottom: 7px;
    }
}


/* =========================================================
   BODAI NEW HERO
   ========================================================= */

.site-header {
    position: absolute;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(10,70,130,.06);
}

.site-logo .logo-mark {
    background: #eaf3ff;
    color: #0756b8;
}

.site-logo .logo-text strong {
    color: #102033;
}

.site-logo .logo-text small {
    color: #8190a2;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation a {
    color: #526274;
    font-size: 13px;
    font-weight: 600;
}

.main-navigation a:hover {
    color: #0756b8;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 23px;
    border-radius: 8px;
    background: #0756b8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.header-contact:hover {
    background: #063b7c;
    color: #fff;
    transform: translateY(-2px);
}


/* HERO */

.new-hero {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .6;
    background-image:
        linear-gradient(rgba(7,86,184,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,86,184,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(
        to right,
        black,
        rgba(0,0,0,.4),
        transparent
    );
}

.new-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding-top: 100px;
    padding-bottom: 65px;
}

.new-hero-content {
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #cce3fa;
    border-radius: 40px;
    color: #0756b8;
    background: #f6fbff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.new-hero h1 {
    max-width: 680px;
    margin: 22px 0;
    color: #101c2d;
    font-family: "Manrope", sans-serif;
    font-size: clamp(47px, 5.4vw, 74px);
    line-height: .99;
    letter-spacing: -3.5px;
    font-weight: 800;
}

.new-hero h1 span {
    color: #0756b8;
}

.new-hero h1 strong {
    color: #2c9ee8;
    font-weight: 800;
}

.hero-description {
    max-width: 570px;
    margin: 0;
    color: #637285;
    font-size: 16px;
    line-height: 1.8;
}

.hero-points {
    display: grid;
    gap: 11px;
    margin-top: 25px;
}

.hero-points div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #526274;
    font-size: 13px;
    font-weight: 600;
}

.check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6f3ff;
    color: #0756b8;
    font-size: 12px;
    font-weight: 900;
}

.new-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    background: #0756b8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(7,86,184,.20);
    transition: .25s ease;
}

.hero-primary-button:hover {
    background: #063b7c;
    color: #fff;
    transform: translateY(-2px);
}

.hero-primary-button span {
    font-size: 18px;
}

.hero-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #526274;
    font-size: 12px;
    font-weight: 700;
}

.play-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #dce5ef;
    border-radius: 50%;
    color: #0756b8;
    background: #fff;
    font-size: 9px;
}

.hero-language-pills {
    display: flex;
    gap: 12px;
    margin-top: 42px;
}

.hero-language-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #f4f8fc;
    color: #526274;
    font-size: 10px;
    font-weight: 700;
}

.hero-language-pills b {
    color: #0756b8;
}


/* HERO VISUAL */

.new-hero-visual {
    position: relative;
    height: 580px;
}

.visual-grid {
    position: absolute;
    width: 480px;
    height: 480px;
    top: 40px;
    right: -20px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(7,86,184,.12), transparent 63%);
}

.hero-image-frame {
    position: absolute;
    z-index: 2;
    top: 45px;
    right: 30px;
    width: min(500px, 90%);
    height: 485px;
    padding: 12px;
    border-radius: 35px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(7,50,100,.15);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}


.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(12,54,95,.15);
}

.floating-card strong {
    display: block;
    color: #102033;
    font-size: 13px;
}

.floating-card small {
    display: block;
    margin-top: 3px;
    color: #8492a3;
    font-size: 9px;
}

.floating-icon,
.mini-language {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e8f4ff;
    color: #0756b8;
    font-size: 10px;
    font-weight: 900;
}

.language-card {
    top: 25px;
    right: -5px;
}

.swahili-card {
    bottom: 95px;
    left: -10px;
}

.mini-language {
    background: #0756b8;
    color: white;
}

.swahili-card strong {
    color: #0756b8;
    font-size: 15px;
}

.floating-rating {
    position: absolute;
    z-index: 5;
    right: 25px;
    bottom: 35px;
    width: 235px;
    padding: 19px;
    border-radius: 14px;
    background: #062d5d;
    color: white;
    box-shadow: 0 20px 50px rgba(6,45,93,.25);
}

.stars {
    margin-bottom: 5px;
    color: #76c9ff;
    font-size: 10px;
    letter-spacing: 2px;
}

.floating-rating strong {
    display: block;
    font-size: 12px;
}

.floating-rating small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.65);
    font-size: 9px;
}

.floating-bubble {
    position: absolute;
    z-index: 6;
    padding: 10px 16px;
    border-radius: 30px;
    background: #0756b8;
    color: #fff;
    box-shadow: 0 12px 30px rgba(7,86,184,.25);
    font-size: 11px;
    font-weight: 800;
}

.bubble-one {
    top: 120px;
    left: 0;
    transform: rotate(-6deg);
}

.bubble-two {
    top: 255px;
    right: -5px;
    background: #2c9ee8;
    transform: rotate(5deg);
}


/* LANGUAGE STRIP */

.language-strip {
    position: relative;
    z-index: 10;
    background: #0756b8;
    color: white;
}

.language-strip-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.language-strip-inner > span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: .8;
}

.language-strip-inner > div {
    display: flex;
    align-items: center;
    gap: 35px;
}

.language-strip strong {
    font-size: 12px;
}


/* INTRO */

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: #0756b8;
    font-size: 12px;
    font-weight: 800;
}


/* MOBILE */

@media (max-width: 950px) {

    .new-hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .new-hero-content {
        text-align: center;
    }

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

    .hero-points {
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

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

    .new-hero-visual {
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .main-navigation {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

}

@media (max-width: 600px) {

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

    .new-hero-grid {
        padding-top: 115px;
        padding-bottom: 45px;
    }

    .new-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

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

    .hero-secondary-button {
        justify-content: center;
    }

    .new-hero-visual {
        height: 430px;
    }

    .hero-image-frame {
        right: 15px;
        width: calc(100% - 30px);
        height: 350px;
        top: 30px;
    }

    .language-card {
        right: 0;
        top: 5px;
    }

    .swahili-card {
        left: 0;
        bottom: 45px;
    }

    .floating-rating {
        right: 5px;
        bottom: 0;
    }

    .floating-bubble {
        display: none;
    }

    .language-strip-inner {
        padding: 15px 0;
        display: block;
    }

    .language-strip-inner > div {
        flex-wrap: wrap;
        gap: 12px 20px;
        margin-top: 8px;
    }

}

/* =========================================================
   HERO — KEEP CONTENT AND IMAGE IN ONE ROW
   ========================================================= */

.new-hero {
    min-height: 720px;
}

.new-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 55px !important;
    padding-top: 105px !important;
    padding-bottom: 55px !important;
}

.new-hero-content {
    min-width: 0;
}

.new-hero-visual {
    min-width: 0;
    height: 540px;
}

.hero-image-frame {
    width: min(500px, 100%);
    right: 0;
}

.visual-grid {
    right: -30px;
}


/* TABLET */

@media (max-width: 600px) {

    .new-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .new-hero-content {
        text-align: center;
    }

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

    .hero-points {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

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

    .hero-language-pills {
        justify-content: center;
    }

    .new-hero-visual {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .new-hero-grid {
        padding-top: 110px !important;
    }

    .new-hero h1 {
        font-size: 43px;
    }

    .new-hero-visual {
        height: 430px;
    }

    .hero-image-frame {
        right: 15px;
        width: calc(100% - 30px);
        height: 350px;
    }

}


/* =========================================================
   FINAL HERO OVERRIDE
   Text + Image MUST stay side by side
   ========================================================= */

.new-hero .new-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 45px !important;
}

.new-hero .new-hero-content {
    width: auto !important;
    min-width: 0 !important;
}

.new-hero .new-hero-visual {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Only real mobile screens become one column */
@media (max-width: 480px) {

    .new-hero .new-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .new-hero .new-hero-content {
        text-align: center !important;
    }

    .new-hero .new-hero-visual {
        width: 100% !important;
    }

}


/* =========================================================
   BODAI FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    background: #061d35;
    color: #ffffff;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -220px;
    top: -300px;
    border-radius: 50%;
    background: rgba(7, 86, 184, .12);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 70px;
    padding-top: 70px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #ffffff;
    color: #0756b8;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text strong {
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.1;
}

.footer-logo-text small {
    margin-top: 4px;
    color: #78a7d4;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.footer-brand p {
    max-width: 310px;
    margin: 22px 0 15px;
    color: #9bb0c6;
    font-size: 12px;
    line-height: 1.8;
}

.footer-location {
    display: inline-block;
    color: #78a7d4;
    font-size: 10px;
    font-weight: 600;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.footer-column a {
    color: #91a8be;
    font-size: 11px;
    text-decoration: none;
    transition: .2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 70px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #718ba5;
    font-size: 9px;
}


/* FOOTER MOBILE */

@media (max-width: 800px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 420px;
    }

}

@media (max-width: 520px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 18px 0;
    }

}


/* =========================================================
   FINAL FOOTER HORIZONTAL LAYOUT
   ========================================================= */

.site-footer .footer-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 70px !important;
    width: 100% !important;
}

.site-footer .footer-brand {
    flex: 2 1 420px !important;
    max-width: 420px !important;
}

.site-footer .footer-column {
    flex: 1 1 150px !important;
    width: auto !important;
    min-width: 130px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.site-footer .footer-column h3 {
    margin-bottom: 8px !important;
}

/* Keep all footer columns on one row */
@media (min-width: 801px) {

    .site-footer .footer-main {
        grid-template-columns: none !important;
    }

    .site-footer .footer-brand,
    .site-footer .footer-column {
        grid-column: auto !important;
        grid-row: auto !important;
    }

}

/* Mobile only */
@media (max-width: 800px) {

    .site-footer .footer-main {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px 25px !important;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1 !important;
        max-width: 100% !important;
    }

}


/* =========================================================
   HEADER FINAL ALIGNMENT
   ========================================================= */

.site-header .container.header-inner {
    width: min(100% - 56px, 1280px) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-header .site-logo {
    margin-left: 0 !important;
}

.site-header .header-actions {
    margin-left: auto !important;
}

.site-header .main-navigation {
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-header .header-contact {
    margin-right: 0 !important;
}

@media (max-width: 700px) {

    .site-header .container.header-inner {
        width: calc(100% - 32px) !important;
    }

}


/* =========================================================
   INNER PAGES
   ========================================================= */

.inner-page {
    background: #ffffff;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 100px;
    background:
        linear-gradient(135deg, #f7fbff 0%, #ffffff 55%, #eef7ff 100%);
}

.inner-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    top: -180px;
    border-radius: 50%;
    background: rgba(44,158,232,.08);
}

.inner-hero .container {
    position: relative;
    z-index: 2;
}

.inner-hero h1 {
    max-width: 850px;
    margin: 20px 0;
    color: #101c2d;
    font-family: "Manrope", sans-serif;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
}

.inner-hero h1 span {
    color: #0756b8;
}

.inner-hero p {
    max-width: 650px;
    color: #647386;
    font-size: 16px;
    line-height: 1.8;
}

.about-content,
.courses-page-section,
.steps-section,
.contact-section {
    padding: 100px 0;
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.about-page-grid h2,
.contact-info h2 {
    margin: 18px 0 0;
    color: #102033;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.about-page-grid p {
    margin: 0 0 18px;
    color: #657386;
    font-size: 14px;
    line-height: 1.9;
}

.values-section {
    padding: 100px 0;
    background: #f5f9fd;
}

.values-section h2 {
    max-width: 650px;
    margin: 15px 0 45px;
    color: #102033;
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1.1;
}

.value-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.value-card,
.step-card {
    padding: 35px;
    border: 1px solid #e2eaf2;
    border-radius: 14px;
    background: #ffffff;
}

.value-card span,
.step-number {
    color: #2c9ee8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.value-card h3,
.step-card h3 {
    margin: 20px 0 10px;
    color: #102033;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.value-card p,
.step-card p {
    margin: 0;
    color: #6c7a8a;
    font-size: 13px;
    line-height: 1.8;
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.empty-courses {
    grid-column: 1 / -1;
    padding: 80px 30px;
    border: 1px dashed #ccd9e6;
    border-radius: 15px;
    text-align: center;
}

.empty-courses h3 {
    margin: 15px 0 5px;
    color: #102033;
}

.empty-courses p {
    margin: 0;
    color: #778597;
    font-size: 13px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
}

.contact-info > p {
    max-width: 500px;
    margin: 25px 0 35px;
    color: #687789;
    font-size: 14px;
    line-height: 1.9;
}

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

.contact-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eaf4ff;
    color: #0756b8;
    font-size: 12px;
    font-weight: 800;
}

.contact-item small {
    display: block;
    margin-bottom: 4px;
    color: #8a98a8;
    font-size: 10px;
}

.contact-item strong {
    display: block;
    color: #26384c;
    font-size: 12px;
}

.contact-card {
    padding: 40px;
    border-radius: 18px;
    background: #f5f9fd;
    border: 1px solid #e0eaf3;
}

.bodai-contact-form {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.bodai-contact-form label {
    display: grid;
    gap: 8px;
    color: #425267;
    font-size: 11px;
    font-weight: 700;
}

.bodai-contact-form input,
.bodai-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #dbe5ee;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #1c2b3c;
    font-family: inherit;
    font-size: 12px;
}

.bodai-contact-form input:focus,
.bodai-contact-form textarea:focus {
    border-color: #0756b8;
}

.bodai-contact-form button {
    width: fit-content;
    min-height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 8px;
    background: #0756b8;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.default-page-content {
    padding: 100px 0;
}

@media (max-width: 850px) {

    .about-page-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .value-grid,
    .steps-grid,
    .course-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .inner-hero {
        padding: 150px 0 70px;
    }

    .inner-hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .about-content,
    .courses-page-section,
    .steps-section,
    .contact-section,
    .values-section {
        padding: 65px 0;
    }

    .value-grid,
    .steps-grid,
    .course-grid {
        grid-template-columns: 1fr;
    }

    .about-page-grid h2,
    .contact-info h2 {
        font-size: 34px;
    }

    .contact-card {
        padding: 25px;
    }

}


/* =========================================================
   BODAI AUTH
   ========================================================= */

.bodai-auth-page {
    min-height: 760px;
    padding: 150px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(7,86,184,.10), transparent 28%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 55%, #eef7ff 100%);
}

.bodai-auth-card {
    width: 100%;
    max-width: 520px;
    padding: 48px;
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(16,32,51,.10);
}

.bodai-register-card {
    max-width: 620px;
}

.bodai-auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 38px;
}

.auth-logo-mark {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0756b8;
    color: #ffffff;
    border-radius: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    font-weight: 800;
}

.bodai-auth-brand strong {
    display: block;
    color: #102033;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.bodai-auth-brand small {
    display: block;
    margin-top: 2px;
    color: #8190a2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bodai-auth-card h1 {
    margin: 12px 0 12px;
    color: #102033;
    font-family: "Manrope", sans-serif;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.auth-intro {
    margin: 0 0 30px;
    color: #657487;
}

.bodai-auth-form label {
    display: block;
    margin: 18px 0 8px;
    color: #25364a;
    font-size: 13px;
    font-weight: 700;
}

.bodai-auth-form input[type="text"],
.bodai-auth-form input[type="email"],
.bodai-auth-form input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #d9e3ed;
    border-radius: 10px;
    background: #ffffff;
    color: #102033;
    outline: none;
    box-sizing: border-box;
}

.bodai-auth-form input:focus {
    border-color: #0756b8;
    box-shadow: 0 0 0 3px rgba(7,86,184,.10);
}

.auth-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.auth-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 18px 0 !important;
    font-weight: 500 !important;
}

.auth-checkbox input {
    accent-color: #0756b8;
}

.bodai-auth-button {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    border: 0;
    border-radius: 10px;
    background: #0756b8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.bodai-auth-button:hover {
    background: #064994;
    transform: translateY(-1px);
}

.auth-forgot {
    display: block;
    margin-top: 20px;
    color: #0756b8;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.auth-switch {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #edf1f5;
    color: #6d7b8c;
    text-align: center;
    font-size: 13px;
}

.auth-switch a {
    color: #0756b8;
    font-weight: 700;
}

.bodai-auth-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 9px;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
}

.bodai-auth-success {
    text-align: center;
}

.bodai-auth-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4ff;
    color: #0756b8;
    font-size: 25px;
    font-weight: 800;
}

@media (max-width: 600px) {

    .bodai-auth-page {
        padding: 120px 16px 70px;
    }

    .bodai-auth-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .bodai-auth-card h1 {
        font-size: 34px;
    }

    .auth-two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =========================================================
   BODAI STUDENT DASHBOARD
   ========================================================= */

/* Dashboard background */

body:has(.stm-lms-user-account),
body:has(.stm_lms_user_account),
body:has(.stm-lms-account) {
    background: #f5f8fc;
}


/* Main dashboard wrapper */

.stm-lms-user-account,
.stm_lms_user_account,
.stm-lms-account {
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 45px 30px 80px !important;
}


/* Dashboard general typography */

.stm-lms-user-account *,
.stm_lms_user_account *,
.stm-lms-account * {
    font-family: "DM Sans", sans-serif;
}


/* Sidebar */

.stm-lms-user-account .stm-lms-user-account-sidebar,
.stm_lms_user_account .stm-lms-user-account-sidebar,
.stm-lms-user-account .stm_lms_profile_side,
.stm_lms_user_account .stm_lms_profile_side {
    background: #ffffff !important;
    border: 1px solid #e5edf5 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 35px rgba(15, 42, 70, .06) !important;
}


/* Main content */

.stm-lms-user-account .stm-lms-user-account-content,
.stm_lms_user_account .stm-lms-user-account-content {
    background: #ffffff !important;
    border-radius: 20px !important;
}


/* User name */

.stm-lms-user-account h3,
.stm_lms_user_account h3 {
    color: #102033 !important;
}


/* Sidebar links */

.stm-lms-user-account a,
.stm_lms_user_account a {
    transition: all .2s ease;
}


/* Active sidebar item */

.stm-lms-user-account .active,
.stm_lms_user_account .active {
    color: #0756b8 !important;
}


/* Dashboard title */

.stm-lms-user-account h1,
.stm-lms-user-account h2,
.stm_lms_user_account h1,
.stm_lms_user_account h2 {
    color: #102033 !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 700 !important;
}


/* Course filter tabs */

.stm-lms-user-account .nav-tabs,
.stm_lms_user_account .nav-tabs {
    border-bottom: 1px solid #e5edf5 !important;
}


/* Buttons */

.stm-lms-user-account button,
.stm-lms-user-account .btn,
.stm-lms-user-account a.btn,
.stm_lms_user_account button,
.stm_lms_user_account .btn,
.stm_lms_user_account a.btn {
    border-radius: 10px !important;
}


/* Primary buttons */

.stm-lms-user-account .btn-primary,
.stm_lms_user_account .btn-primary {
    background: #0756b8 !important;
    border-color: #0756b8 !important;
}


/* Course cards */

.stm-lms-user-account .stm-lms-course,
.stm_lms_user_account .stm-lms-course {
    border-radius: 16px !important;
    overflow: hidden;
}


/* Empty state */

.stm-lms-user-account .stm-lms-courses-empty,
.stm_lms_user_account .stm-lms-courses-empty {
    background: #f8fbff !important;
    border: 1px dashed #cbd9e8 !important;
    border-radius: 18px !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.header-inner {
    max-width: 1380px !important;
    min-height: 82px !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.header-login {
    color: #526274 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.header-login:hover {
    color: #0756b8 !important;
}

.header-contact {
    min-height: 44px !important;
    padding: 0 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    background: #0756b8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(7,86,184,.18) !important;
}

.header-contact:hover {
    background: #064a9e !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .stm-lms-user-account,
    .stm_lms_user_account,
    .stm-lms-account {
        padding: 25px 15px 60px !important;
    }

    .header-actions {
        gap: 8px !important;
    }

    .header-contact {
        padding: 0 14px !important;
        font-size: 12px !important;
    }

    .header-login {
        font-size: 12px !important;
    }

}


/* =========================================================
   MASTERSTUDY ACCOUNT - FINAL OVERRIDE
   ========================================================= */

body .masterstudy-enrolled-courses,
body .stm-lms-user-account .masterstudy-enrolled-courses {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 35px !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 35px rgba(15,42,70,.07) !important;
}

/* العنوان */
body .masterstudy-enrolled-courses h3.masterstudy-enrolled-courses__title {
    color: #001931 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
}

/* الإحصائيات */
body .masterstudy-enrolled-courses .masterstudy-enrolled-courses-sorting {
    width: 100% !important;
    display: flex !important;
    background: #f7f9fc !important;
    border-radius: 14px !important;
    padding: 12px !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses-sorting__block-wrapper {
    flex: 1 !important;
    width: auto !important;
    padding: 5px !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses-sorting__block {
    width: 100% !important;
    min-height: 75px !important;
    border: 1px solid #e5edf5 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

/* التبويبات */
body .masterstudy-enrolled-courses .masterstudy-enrolled-courses-tabs {
    width: 100% !important;
    margin-bottom: 25px !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses-tabs__block {
    cursor: pointer !important;
}

/* الكروت */
body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__list {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__list
.masterstudy-course-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(15,42,70,.08) !important;
}

/* حالة عدم وجود دورات */
body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__empty {
    width: 100% !important;
    min-height: 300px !important;
    background: #f8fafc !important;
    border-radius: 15px !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__empty-block {
    margin-top: 0 !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__empty-icon {
    width: 90px !important;
    height: 90px !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__empty-text {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #001931 !important;
}

body .masterstudy-enrolled-courses
.masterstudy-enrolled-courses__empty-button {
    border-radius: 8px !important;
    padding: 13px 28px !important;
    font-weight: 600 !important;
}

/* Mobile */
@media (max-width: 767px) {

    body .masterstudy-enrolled-courses {
        padding: 20px 15px !important;
        border-radius: 14px !important;
    }

    body .masterstudy-enrolled-courses
    .masterstudy-enrolled-courses-sorting {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    body .masterstudy-enrolled-courses
    .masterstudy-enrolled-courses-sorting__block-wrapper {
        width: 50% !important;
        flex: none !important;
    }

}

