/* =========================
   ROOT VARIABLES / متغیرهای اصلی قالب
        --bg: #f6f6fb;
========================= */
:root {

    --bg: #ffffff;
    --text: #1d2746;
    --muted: #6f7896;
    --line: #e7e8f3;
    --pill: #efecff;
    --blue: #3f5efb;
    --purple: #b44cff;
    --soft-card: #ffffff;
    --shadow: 0 18px 50px rgba(33, 41, 82, .08);
    --radius: 18px;
    --radius-lg: 24px;
}





/* =========================
   RESET / تنظیمات اولیه عمومی
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.html[dir="rtl"] body {
    text-align: right;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}
.link{
    color: #2d57ff;
}
/* =========================
   COMMON SECTIONS
========================= */

.section {
    padding: 110px 0;
}

.soft-panel {
    background: #f5f4fd;
    border-radius: 0;
    position: relative;
}

.heading-center {
    max-width: 770px;
    margin: 0 auto 56px;
    text-align: center;
}

.heading-center h2,
.heading-left h2 {
    font-size: 60px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -1.3px;
    margin: 16px 0 0;
}

.pill-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--pill);
    color: #6570ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 1399.98px) {

    .heading-center h2,
    .heading-left h2 {
        font-size: 54px;
    }
}

@media (max-width: 1199.98px) {

    .heading-center h2,
    .heading-left h2 {
        font-size: 44px;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }

    .heading-center h2,
    .heading-left h2 {
        font-size: 38px;
    }
}

@media (max-width: 767.98px) {

    .heading-center h2,
    .heading-left h2 {
        font-size: 32px;
    }

    .category-btn {
        display: none;
    }
}


/*Sub Title*/
/*Section sub Title*/
.section-sub-title {
    max-width: 460px;
        font-size: 20px;
        line-height: 1.75;

        color: var(--muted) !important;
}


/*Paragraph*/
/*Paragraph mutid*/
.p-mutid{
font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

/*badge*/
/*white badge*/
.badge-white{
        display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 999px;
            background: #fff;
            color: #2e3558;
            font-size: 14px;
            font-weight: 700;
            box-shadow: var(--shadow);
}


.badge-purple {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--pill);
    color: #6570ff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow);
    text-transform: uppercase;
}
img {
    max-width: 100%;
    display: block;
}

.container-xxl {
    max-width: 1280px;
}

/*Lists*/




/* =========================
   TOP INFO BAR
========================= */
.top-info {
    background: #fff;
    border-bottom: 1px solid #ececf5;
    padding: 16px 0;
}

.top-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-info-left,
.top-info-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.top-info-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.top-info-item {
    position: relative;
}

.top-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4d5b7c;
    text-decoration: none;
}

.top-info-link:hover {
    color: #1d2746;
}

.top-info-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.top-search-form {
    width: 100%;
    max-width: 660px;
    height: 44px;
    border: 1px solid #dfe3f1;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.top-search-form input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 15px;
    color: #1d2746;
    background: transparent;
}

.top-search-form input::placeholder {
    color: #7a86a5;
}

.top-search-form button {
    width: 52px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #1d2746;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1d2746;
    text-decoration: none;
}

.top-icon-link i {
    font-size: 18px;
    color: #1d2746;
}

.top-divider {
    width: 1px;
    height: 28px;
    background: #e5e7f2;
}

@media (max-width: 1199.98px) {
    .top-info-inner {
        flex-wrap: wrap;
    }

    .top-info-left,
    .top-info-right,
    .top-info-center {
        width: 100%;
    }

    .top-info-center {
        order: 3;
    }

    .top-info-left {
        order: 1;
    }

    .top-info-right {
        order: 2;
        justify-content: flex-end;
    }

    .top-search-form {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .top-info {
        display: none;
    }
}


/* =========================
    breadcrumb
========================= */
.breadcrumb{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;

    color: var(--muted) !important;
    text-decoration: none
}
.breadcrumb a:hover {
    color: var(--blue);
}

/* =========================
   MAIN NAVBAR / نوار اصلی منو
========================= */
html[dir="rtl"] .main-nav .container-xxl {
    direction: rtl;
}

html[dir="rtl"] .main-nav .brand-wrap {
    margin-right: 0 !important;
    margin-left: 1.5rem !important;
}

html[dir="rtl"] .main-nav .nav-actions {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .main-nav .navbar-collapse {
    text-align: right;
}

html[dir="ltr"] .main-nav .container-xxl {
    direction: ltr;
}

.main-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(27, 39, 94, .05);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 800;
    color: #6f57ff;
    gap: 6px;
}

.logo:hover {
    color: #6f57ff;
}

.navbar-nav .nav-link {
    color: #293250;
    font-size: 14px;
    font-weight: 700;
    padding: 18px 12px !important;
}

.icon-btn {
    position: relative;
    color: #1e2846;
    font-size: 17px;
}

.icon-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #3458ff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outline-pill {
    border: 2px solid #8f80ff;
    color: #242a49;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 800;
    background: #fff;
    box-shadow: 0 8px 18px rgba(123, 111, 255, .15);
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    html[dir="rtl"] .main-nav .nav-actions {
        align-items: flex-start !important;
    }
}

@media (max-width: 767.98px) {
    .main-nav .container-xxl {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* =========================
   HERO SECTION A
========================= */
.hero-wrap {
    background: linear-gradient(90deg, #eef2ff 0%, #f7f1ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-wrap::before {
    content: "";
    position: absolute;
    inset: auto auto 8% 40%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(240, 132, 132, .35);
    filter: blur(.5px);
}

.hero-wrap::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -26%;
    width: 70%;
    height: 44%;
    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: rotate(-2deg);
    opacity: .92;
}

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


.hero-student {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    justify-content: center;
}

.hero-student img {
    width: 92%;
    max-width: 530px;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .12));
}

@media (max-width: 1399.98px) {
    .hero-title {
        font-size: 54px;
    }
}

@media (max-width: 1199.98px) {
    .hero-student {
        min-height: auto;
    }


}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-wrap::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        max-width: 100%;
    }
}


/* =========================
JOIN TEACHER SECTION
========================= */

.join-teacher-section {
    padding: 90px 0;
}


/* VIDEO */

.youtube-video {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* 16:9 video */
.youtube-video::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* CONTENT */

.join-teacher-content {
    max-width: 560px;
}

.join-teacher-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 26px;
    color: #1e2746;
}

.join-teacher-text {
    font-size: 18px;
    line-height: 1.8;
    color: #6e7895;
    margin-bottom: 20px;
}


/* BUTTON */

.join-teacher-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 8px;
    border: 1.5px solid #d9ddee;
    background: #fff;
    font-weight: 700;
    color: #1e2746;
    text-decoration: none;
    transition: 0.25s;
}

.join-teacher-btn:hover {
    border-color: #bfc7e5;
    background: #f9fbff;
}



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

@media (max-width:1200px) {

    .join-teacher-title {
        font-size: 40px;
    }

}


@media (max-width:992px) {

    .join-teacher-section {
        padding: 70px 0;
    }

    .join-teacher-title {
        font-size: 34px;
    }

    .join-teacher-text {
        font-size: 16px;
    }

}


@media (max-width:768px) {

    .join-teacher-title {
        font-size: 28px;
    }

    .join-teacher-btn {
        width: 100%;
    }

}



/* =========================
   NEWSLETTER SECTION
========================= */
.newsletter-section {
    padding: 0 0 100px;
}


.newsletter-box {
    position: relative;
    overflow: hidden;
    padding: 88px 20px 96px;
    border-radius: 0;
    background: linear-gradient(90deg, #3f5efb 0%, #b44cff 100%);
    color: #fff;
}

.newsletter-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .65;
    pointer-events: none;
    padding: 0 !important;
}

.newsletter-box>* {
    position: relative;
    z-index: 2;
}

.newsletter-mini-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.newsletter-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.4px;
    margin: 0 0 22px;
    color: #fff;
}

.newsletter-desc {
    max-width: 760px;
    margin: 0 auto 34px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .92);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    border: 0;
    outline: 0;
    min-height: 58px;
    padding: 0 18px;
    font-size: 16px;
    color: #1d2746;
    background: transparent;
}

.newsletter-form input::placeholder {
    color: #7b839c;
}

.newsletter-form button {
    border: 0;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 6px;
    background: linear-gradient(90deg, #3f5efb 0%, #b44cff 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.newsletter-note {
    margin-top: 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}

.newsletter-stats {
    margin-top: 58px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 54px;
}

.newsletter-stat-item {
    min-width: 260px;
    text-align: center;
}

.newsletter-stat-item h3 {
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    margin: 0 0 18px;
    color: #fff;
}

.newsletter-stat-item h5 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}

.newsletter-stat-item p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, .82);
}

.newsletter-divider {
    width: 1px;
    background: rgba(255, 255, 255, .22);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1399.98px) {
    .newsletter-title {
        font-size: 56px;
    }
}

@media (max-width: 1199.98px) {
    .newsletter-box {
        padding: 78px 20px 88px;
    }

    .newsletter-title {
        font-size: 48px;
    }

    .newsletter-stat-item h3 {
        font-size: 56px;
    }
}

@media (max-width: 991.98px) {
    .newsletter-title {
        font-size: 40px;
    }

    .newsletter-desc {
        font-size: 16px;
        max-width: 680px;
    }

    .newsletter-stats {
        gap: 30px;
    }

    .newsletter-stat-item {
        min-width: 220px;
    }

    .newsletter-stat-item h3 {
        font-size: 48px;
    }

    .newsletter-stat-item h5 {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .newsletter-section {
        padding: 0 0 70px;
    }

    .newsletter-box {
        padding: 58px 16px 64px;
    }

    .newsletter-mini-title {
        font-size: 16px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 12px;
    }

    .newsletter-form input {
        width: 100%;
        min-height: 52px;
    }

    .newsletter-form button {
        width: 100%;
        min-height: 52px;
    }

    .newsletter-stats {
        margin-top: 40px;
        flex-direction: column;
        gap: 26px;
    }

    .newsletter-divider {
        width: 100%;
        height: 1px;
    }

    .newsletter-stat-item {
        min-width: 100%;
    }

    .newsletter-stat-item h3 {
        font-size: 42px;
    }

    .newsletter-stat-item h5 {
        font-size: 18px;
    }

    .newsletter-stat-item p {
        font-size: 15px;
    }
}






/* =========================
   CATEGORY CARDS / کارت‌های دسته‌بندی
========================= */
.category-card {
    background: #fff;
    border-radius: 18px;
    padding: 38px 26px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(31, 37, 76, .04);
    height: 100%;
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 40px;
    background: #f7f2ff;
    color: #7d56ff;
}

.category-card h5 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}

.category-card p {
    margin: 0;
    color: #707995;
    font-weight: 700;
}

/* =========================
   ABOUT SECTION / بخش درباره ما
========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.about-photos {
    position: relative;
    min-height: 640px;
}

.photo-box {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.photo-one {
    left: 10px;
    top: 78px;
    width: 250px;
    height: 350px;
    background: #cb44ff;
}

.photo-two {
    left: 360px;
    top: 82px;
    width: 260px;
    height: 230px;
}

.photo-three {
    left: 210px;
    top: 366px;
    width: 318px;
    height: 365px;
    background: #3da06a;
}

.heading-left {
    max-width: 560px;
}

.lead-copy {
    font-size: 18px;
    line-height: 1.85;
    color: #69728f;
    margin: 22px 0 32px;
}

.icon-feature {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.icon-feature .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #ff7fad;
    box-shadow: 0 10px 22px rgba(33, 41, 82, .08);
    font-size: 22px;
}

.icon-feature.blue .ic {
    color: #5e6cff;
    background: #eef1ff;
}

.icon-feature h6 {
    font-size: 18px;
    font-weight: 800;
    margin: 4px 0 6px;
}

.icon-feature p {
    margin: 0;
    color: #717b96;
    line-height: 1.75;
}

@media (max-width: 1399.98px) {
    .photo-two {
        left: 300px;
    }

    .photo-three {
        left: 170px;
    }
}

@media (max-width: 1199.98px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photos {
        min-height: 760px;
    }

    .lead-copy {
        font-size: 16px;
    }
}

@media (max-width: 991.98px) {
    .about-photos {
        min-height: 620px;
    }

    .photo-one {
        left: 0;
        width: 200px;
        height: 290px;
    }

    .photo-two {
        left: 220px;
        top: 84px;
        width: 210px;
        height: 180px;
    }

    .photo-three {
        left: 120px;
        top: 310px;
        width: 250px;
        height: 310px;
    }
}

@media (max-width: 767.98px) {
    .about-photos {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .photo-box {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: 220px !important;
    }

    .photo-three {
        grid-column: 1 / -1;
        height: 280px !important;
    }
}

/* =========================
   PROMO / VIDEO CARD
========================= */
.promo-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: var(--shadow);
    height: 100%;
}

.promo-card .tag {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f7f7fd;
    color: #848ca9;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.promo-card h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 340px;
    margin-bottom: 12px;
}

.video-thumb {
    height: 172px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4260ff;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* =========================
   STATS SECTION / آمار
========================= */
.stats-area {
    background: #f5f4fd;
    position: relative;
    overflow: hidden;
}

.stats-line {
    position: absolute;
    left: 16%;
    right: 16%;
    top: 44%;
    height: 2px;
    background: #7390ff;
    opacity: .7;
}

.stats-dot {
    position: absolute;
    top: -7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #4867ff;
    background: #fff;
}

.stats-dot:nth-child(1) {
    left: 0;
}

.stats-dot:nth-child(2) {
    left: 33.33%;
}

.stats-dot:nth-child(3) {
    left: 66.66%;
}

.stats-dot:nth-child(4) {
    right: 0;
}

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 48px 24px 38px;
    text-align: center;
    box-shadow: 0 12px 24px rgba(25, 30, 68, .05);
    position: relative;
    border-bottom: 3px solid #6780ff;
    height: 100%;
}

.stat-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 22px rgba(25, 30, 68, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -78px auto 20px;
    color: #9e65ff;
    font-size: 28px;
}

.stat-card h3 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.stat-card p {
    margin: 0;
    color: #737c98;
    font-size: 16px;
}

@media (max-width: 1199.98px) {
    .stats-line {
        left: 8%;
        right: 8%;
    }
}

@media (max-width: 767.98px) {
    .stats-line {
        display: none;
    }

    .stat-card {
        padding-top: 34px;
    }

    .stat-icon {
        margin-top: 0;
    }
}

/* =========================
   FEEDBACK SECTION
========================= */
.feedback-section {
    background: transparent;
}

.feedback-heading {
    max-width: 760px;
    margin: 0 auto 56px;
}

.feedback-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    background: #eef0ff;
    color: #4260ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 20px;
}

.feedback-title {
    font-size: 64px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.4px;
    color: #1d2746;
    margin: 0;
}

.feedback-title span {
    background: linear-gradient(90deg, #3f5efb 0%, #b44cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feedback-card {
    background: #fff;
    border-radius: 8px;
    padding: 38px 40px 34px;
    box-shadow: 0 18px 44px rgba(25, 30, 68, .05);
    transition: .25s ease;
}

.feedback-card:hover {
    transform: translateY(-4px);
}

.feedback-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.feedback-user {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.feedback-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
    border: 3px solid #eef1f8;
    box-shadow: 0 8px 18px rgba(25, 30, 68, .08);
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-user-info h5 {
    font-size: 18px;
    font-weight: 800;
    color: #1d2746;
    margin: 0 0 8px;
    line-height: 1.3;
}

.feedback-user-info p {
    margin: 0;
    font-size: 14px;
    color: #6f7896;
    line-height: 1.6;
}

.feedback-quote {
    font-size: 92px;
    line-height: .8;
    font-weight: 800;
    color: #c8efe8;
    flex: none;
    margin-top: -4px;
}

.feedback-text {
    font-size: 16px;
    line-height: 1.9;
    color: #6f7896;
    margin-bottom: 24px;
}

.feedback-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff8b38;
    font-size: 16px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1399.98px) {
    .feedback-title {
        font-size: 56px;
    }
}

@media (max-width: 1199.98px) {
    .feedback-title {
        font-size: 48px;
    }

    .feedback-card {
        padding: 32px 30px 28px;
    }
}

@media (max-width: 991.98px) {
    .feedback-heading {
        margin-bottom: 42px;
    }

    .feedback-title {
        font-size: 40px;
    }

    .feedback-card {
        padding: 28px 24px 24px;
    }

    .feedback-quote {
        font-size: 74px;
    }
}

@media (max-width: 767.98px) {
    .feedback-title {
        font-size: 32px;
    }

    .feedback-badge {
        font-size: 13px;
        padding: 0 16px;
    }

    .feedback-top {
        align-items: flex-start;
        gap: 12px;
    }

    .feedback-user {
        gap: 14px;
    }

    .feedback-avatar {
        width: 58px;
        height: 58px;
    }

    .feedback-user-info h5 {
        font-size: 16px;
    }

    .feedback-user-info p {
        font-size: 13px;
    }

    .feedback-quote {
        font-size: 58px;
    }

    .feedback-text {
        font-size: 15px;
        line-height: 1.8;
    }
}



/* =========================
   EVENTS SECTION / رویدادها
========================= */
.events-wrap {
    background: linear-gradient(90deg, #8babff, #c18ff7);
    border-radius: 0;
    padding: 92px 0 104px;
    color: #fff;
}

.events-wrap .pill-top {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.events-wrap .heading-center h2 {
    color: #fff;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    color: #26304d;
    height: 100%;
}

.event-thumb {
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #495dff, #b854ff);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}

.event-title {
    font-size: 22px;
    line-height: 1.32;
    font-weight: 800;
    margin: 14px 0 18px;
    min-height: 88px;
}

.ghost-btn {
    border: 1.8px solid #c7ccdd;
    background: #fff;
    color: #252f4d;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .event-title {
        min-height: auto;
    }
}

/* =========================
   TEACHER SECTION / استادان
========================= */
.teacher-main {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.teacher-main .teacher-photo {
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
}

.teacher-main .teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-main h3 {
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
}

.teacher-main .role {
    color: #4f61ff;
    font-weight: 700;
    margin: 0 0 12px;
}

.teacher-main p {
    color: #707995;
    line-height: 1.8;
}

.socials {
    display: flex;
    gap: 10px;
    margin: 20px 0 22px;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66708e;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #6e7793;
    font-size: 14px;
}

.teacher-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.teacher-mini .mini {
    border-radius: 8px;
    overflow: hidden;
    height: 140px;
    box-shadow: 0 10px 18px rgba(24, 31, 68, .06);
}

.teacher-mini .mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199.98px) {
    .teacher-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .teacher-main .teacher-photo {
        height: 280px;
    }

    .contact-row {
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .teacher-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   BLOG SECTION / بلاگ
========================= */
.blog-feature {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.blog-feature img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.blog-feature .body {
    padding: 22px 24px 28px;
}

.blog-feature h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.blog-feature p {
    color: #737c98;
    line-height: 1.8;
}

.blog-side-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(24, 31, 68, .04);
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 118px;
}

.blog-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-side-item .body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-side-item h4 {
    font-size: 18px;
    line-height: 1.32;
    font-weight: 800;
    margin: 0 0 10px;
}

@media (max-width: 991.98px) {
    .blog-side-item {
        grid-template-columns: 1fr;
    }

    .blog-side-item img {
        height: 180px;
    }
}

/* =========================
   NEWSLETTER / خبرنامه
========================= */
.newsletter {
    background: linear-gradient(90deg, #2d57ff, #375eff 40%, #305aff 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 96px 0 82px;
}

.newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: .6;
}

.newsletter .container-xxl {
    position: relative;
    z-index: 2;
}

.newsletter h2 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 16px 0 18px;
}

.newsletter p.lead {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.8;
    color: #e3e7ff;
}

.subscribe-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    border: none;
    flex: 1;
    padding: 17px 18px;
    font-size: 15px;
    outline: none;
}

.subscribe-form button {
    border: none;
    border-radius: 6px;
    padding: 16px 26px;
    font-weight: 800;
    background: linear-gradient(90deg, #4163ff, #bd57ff);
    color: #fff;
}

.micro-copy {
    margin-top: 16px;
    color: #dce0ff;
    font-size: 14px;
}

.fact-col {
    padding-top: 30px;
}

.fact-col h3 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 8px;
}

.fact-col p {
    margin: 0;
    color: #e4e8ff;
    font-size: 17px;
}

@media (max-width: 1199.98px) {
    .newsletter h2 {
        font-size: 44px;
    }
}

@media (max-width: 991.98px) {
    .newsletter h2 {
        font-size: 38px;
    }

    .newsletter p.lead {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .newsletter h2 {
        font-size: 32px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .fact-col h3 {
        font-size: 40px;
    }
}

/* =========================
   FOOTER / فوتر
========================= */
.footer-top {
    padding: 56px 0 26px;
    background: #fff;
}

.footer-logo-text {
    max-width: 320px;
    color: #6f7895;
    line-height: 1.8;
    margin-top: 18px;
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-links a {
    display: block;
    color: #6a7392;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-cta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding: 22px 0 40px;
    background: #fff;
}

.footer-rule {
    border-top: 1px solid #e9ebf4;
    padding-top: 16px;
    color: #727b97;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.round-control {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dfe3f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a83a0;
    background: #fff;
}

.to-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #6780ff;
    color: #5f74ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 14px;
    }
}






/* =========================
   COURSE DETAILS
========================= */

.course-details-section {
    background: var(--bg);
}

.course-details-hero,
.course-details-box,
.course-details-sidebar {
    background: var(--soft-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.course-details-hero {
    background: linear-gradient(135deg, rgba(63, 94, 251, .18) 0%, rgba(180, 76, 255, .18) 100%);
    border: 0;
    box-shadow: none;
    overflow: hidden;
    min-height: 286px;
}

.course-details-hero-inner {
    padding: 38px 38px 34px;
}



.course-details-hero-title {
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
    max-width: 680px;
}

.course-details-hero-text {
    max-width: 610px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.course-details-bestseller {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 183, 0, .14);
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
}

.course-details-rate-number {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.course-details-stars {
    color: #ff9f29;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.course-details-meta-lite,
.course-details-meta-row span,
.course-details-author span,
.course-details-paragraph,
.course-details-comment-text,
.course-details-instructor-role,
.course-details-instructor-text,
.course-details-review-label {
    color: var(--muted);
}

.course-details-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.course-details-author strong {
    color: var(--text);
    font-weight: 700;
}

.course-details-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.course-details-meta-row span i {
    color: var(--text);
    font-size: 14px;
}

.course-details-main-banner {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.course-details-main-banner img {
    width: 100%;
    display: block;
    border-radius: 2px;
    height: 270px;
    object-fit: cover;
}

.course-details-box {
    padding: 18px 18px 20px;
}

.course-details-box-head {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.course-details-box-head h3 {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.course-details-paragraph {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 18px;
}



.course-details-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.course-details-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    margin: 0;
}

.course-details-accordion .accordion-item:last-child {
    border-bottom: 0;
}

.course-details-accordion .accordion-button {
    padding: 18px 0;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
}

.course-details-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--blue);
}

.course-details-accordion .accordion-button::after {
    background-size: 14px;
}

.course-details-accordion .accordion-button small {
    margin-left: auto;
    padding-right: 10px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.course-details-lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-details-lesson-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: var(--muted);
    font-size: 14px;
}

.course-details-lesson-list li i {
    color: var(--text);
    margin-right: 8px;
}

.course-details-preview-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef0ff;
    color: #7d7ff6;
    font-size: 12px;
    font-weight: 700;
}

.course-details-instructor {
    padding: 2px 0;
}

.course-details-instructor-img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.course-details-instructor-name {
    font-size: 28px;
    line-height: 1.2;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 8px;
}

.course-details-instructor-role {
    font-size: 15px;
    margin-bottom: 16px;
}

.course-details-instructor-meta {
    margin-bottom: 16px;
}

.course-details-instructor-meta span {
    font-size: 13px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-details-instructor-meta i {
    color: #ff9f29;
}

.course-details-instructor-text {
    font-size: 15px;
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 16px;
}

.course-details-instructor-socials a,
.course-details-sidebar-social a,
.course-details-comment-actions a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    transition: .25s ease;
    background: #fff;
}

.course-details-instructor-socials a:hover,
.course-details-sidebar-social a:hover,
.course-details-comment-actions a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.course-details-review-summary {
    border: 1px solid #f4eadb;
    border-radius: 12px;
    background: #fffaf4;
    padding: 22px 16px;
}

.course-details-review-number {
    font-size: 60px;
    line-height: 1;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.course-details-review-label {
    font-size: 14px;
    font-weight: 600;
}

.course-details-review-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-details-bar-row {
    display: grid;
    grid-template-columns: 115px 1fr 45px;
    align-items: center;
    gap: 12px;
}

.course-details-bar-row .progress {
    height: 7px;
    background: #ececf3;
    border-radius: 999px;
}

.course-details-bar-row .progress-bar {
    background: #f59e0b;
    border-radius: 999px;
}

.course-details-bar-row strong {
    font-size: 13px;
    color: var(--muted);
}

.course-details-comment-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
}

.course-details-comment-avatar {
    width: 58px;
    height: 58px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.course-details-comment-name {
    font-size: 18px;
    line-height: 1.2;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 6px;
}

.course-details-comment-text {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
    max-width: 570px;
}

.course-details-comment-actions {
    display: flex;
    gap: 8px;
}

.course-details-sidebar {
    border: 1px solid rgba(180, 76, 255, .35);
    overflow: hidden;
    position: sticky;
    top: 24px;
}

.course-details-sidebar-media {
    position: relative;
    padding: 14px 14px 0;
}

.course-details-sidebar-media img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.course-details-sidebar-play {
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--blue);
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -58%);
    box-shadow: 0 10px 24px rgba(29, 39, 70, .16);
}

.course-details-sidebar-preview {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    width: calc(100% - 32px);
    text-align: center;
}

.course-details-sidebar-body {
    padding: 16px 18px 18px;
}

.course-details-sidebar-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.course-details-price {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.course-details-old-price {
    color: #a5acc5;
    font-size: 18px;
    font-weight: 600;
}

.course-details-offer {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #f87171;
    background: #fff1f2;
    padding: 5px 10px;
    border-radius: 999px;
}

.course-details-sidebar-buttons {
    margin-bottom: 18px;
}

.course-details-btn-primary {
    background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 100%);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
}

.course-details-btn-primary:hover {
    color: #fff;
    opacity: .96;
}

.course-details-btn-buy {
    background: #fff;
    color: var(--text);
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
}

.course-details-btn-buy:hover {
    color: var(--blue);
}

.course-details-sidebar-info {
    margin: 0;
    padding: 14px 0 8px;
    border-top: 1px solid var(--line);
}

.course-details-sidebar-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #99a1ba;
    padding: 2px 0 10px;
}

.course-details-sidebar-info strong {
    color: #c4c9d9;
    font-weight: 600;
}

.course-details-sidebar-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
}

.course-details-sidebar-call {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.course-details-sidebar-call span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}

.course-details-sidebar-call a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f3eaff;
    color: #7a52cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .course-details-sidebar {
        position: static;
    }

    .course-details-hero-inner {
        padding: 28px 24px;
    }
}

@media (max-width: 767.98px) {
    .course-details-main-banner img {
        height: 220px;
    }

    .course-details-box {
        padding: 16px;
    }

    .course-details-instructor-name {
        font-size: 24px;
    }

    .course-details-bar-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .course-details-sidebar-media img {
        height: 220px;
    }

    .course-details-price {
        font-size: 28px;
    }
}


.course-details-hero-combined-card {
    background: var(--soft-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.course-details-hero-in-card {
    background: linear-gradient(135deg, rgba(63, 94, 251, .12) 0%, rgba(180, 76, 255, .10) 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.course-details-sidebar-in-card {
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.course-details-sidebar-in-card .course-details-sidebar-media {
    padding: 18px 18px 0;
}

.course-details-sidebar-in-card .course-details-sidebar-body {
    padding: 18px;
}

@media (max-width: 991.98px) {
    .course-details-sidebar-in-card {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}




/* =========================
   CHECKOUT PAGE
========================= */


.checkout-page-section {
    background: #ffffff;
}

.checkout-card-box {
    background: #fff;
    border: 1px solid #ececf3;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(20, 24, 40, 0.04);
    padding: 28px 28px 24px;
}

.checkout-title,
.checkout-side-title {
    color: #1d2746;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
}

.checkout-title {
    margin-bottom: 24px;
}

.checkout-side-title {
    font-size: 22px;
    margin-bottom: 18px;
}

.checkout-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #1d2746;
    margin-bottom: 10px;
}

.checkout-input {
    min-height: 48px;
    border: 1px solid #e7e8f3;
    border-radius: 6px;
    box-shadow: none !important;
    color: #1d2746;
    font-size: 14px;
    padding: 12px 14px;
    background: #fff;
}

.checkout-input::placeholder {
    color: #a0a7bf;
}

.checkout-input:focus {
    border-color: #b44cff;
}

.checkout-check,
.checkout-radio {
    color: #6f7896;
    font-size: 14px;
}

.checkout-check .form-check-input,
.checkout-radio .form-check-input {
    box-shadow: none !important;
    border-color: #d9dceb;
}

.checkout-check .form-check-input:checked,
.checkout-radio .form-check-input:checked {
    background-color: #3f5efb;
    border-color: #3f5efb;
}

.checkout-side-card {
    padding: 18px 18px 16px;
}

.checkout-total-table {
    width: 100%;
}

.checkout-total-head,
.checkout-total-item,
.checkout-total-sub,
.checkout-total-grand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.checkout-total-head {
    padding: 8px 0 16px;
    border-bottom: 1px solid #ececf3;
    margin-bottom: 10px;
}

.checkout-total-head span {
    font-size: 18px;
    font-weight: 700;
    color: #1d2746;
}

.checkout-total-item {
    padding: 9px 0;
}

.checkout-total-item span {
    color: #6f7896;
    font-size: 13px;
    line-height: 1.7;
    max-width: 75%;
}

.checkout-total-item strong {
    color: #6f7896;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-total-sub {
    padding: 12px 0;
    border-top: 1px solid #ececf3;
}

.checkout-total-sub span,
.checkout-total-sub strong {
    color: #6f7896;
    font-size: 14px;
    font-weight: 600;
}

.checkout-total-grand {
    padding-top: 16px;
    margin-top: 2px;
}

.checkout-total-grand span,
.checkout-total-grand strong {
    color: #1d2746;
    font-size: 20px;
    font-weight: 800;
}

.checkout-payment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-place-btn {
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #3f5efb 0%, #b44cff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: none !important;
}

.checkout-place-btn:hover {
    color: #fff;
    opacity: 0.96;
}

.checkout-place-btn i {
    font-size: 18px;
    margin-left: 2px;
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    .checkout-side-group {
        margin-top: 4px;
    }
}

@media (max-width: 767.98px) {
    .checkout-card-box {
        padding: 20px 18px;
    }

    .checkout-title,
    .checkout-side-title {
        font-size: 20px;
    }

    .checkout-total-head span {
        font-size: 16px;
    }

    .checkout-total-grand span,
    .checkout-total-grand strong {
        font-size: 18px;
    }

    .checkout-place-btn {
        width: 100%;
    }
}










/* =========================
   About Page
========================= */
.about-hero-section,
.about-video-section,
.about-scholarship-section,
.about-why-section,
.about-instructors-section,
.about-brands-section {
    background: var(--bg);
}

.about-btn-primary,
.about-btn-light,
.about-btn-light-white {
    border-radius: 12px;
    font-weight: 700;
    padding: 13px 24px;
    border: 0;
}

.about-btn-primary {
    background: linear-gradient(90deg, var(--blue), var(--purple));
    color: #fff;
    box-shadow: var(--shadow);
}

.about-btn-primary:hover {
    color: #fff;
    opacity: .96;
}

.about-btn-light {
    background: var(--soft-card);
    color: var(--text);
    border: 1px solid var(--line);
}

.about-btn-light:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.about-btn-light-white {
    background: #fff;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 12px 30px rgba(29, 39, 70, .10);
}

.about-btn-light-white:hover {
    color: var(--blue);
}

/* =========================
   HERO SECTION
========================= */
.about-hero-section {
    padding: 80px 0 40px;
}

.about-hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: var(--soft-card);
    color: var(--text);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 18px;
}

.about-hero-title span {
    color: var(--purple);
}

.about-hero-text {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.about-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================
   VIDEO / ABOUT SECTION
========================= */
.about-video-section {
    padding: 20px 0 70px;
}

.about-video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 70px;
}

.about-video-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.about-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 0;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, var(--blue), var(--purple));
    color: #fff;
    font-size: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-info-block {
    padding-top: 10px;
}

.about-info-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info-logo-card {
    width: 180px;
    height: 180px;
    border-radius: 36px;
    background: linear-gradient(180deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 72px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.about-info-person {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    right: 60px;
    bottom: 40px;
    border: 8px solid var(--soft-card);
    box-shadow: var(--shadow);
}

.about-section-pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--pill);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-info-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 18px;
}

.about-info-text p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 14px;
    font-size: 16px;
}

/* =========================
   SCHOLARSHIP SECTION
========================= */
.about-scholarship-section {
    padding: 10px 0 70px;
}

.about-scholarship-box {
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: var(--radius-lg);
    padding: 46px 56px;
    box-shadow: var(--shadow);
}

.about-scholarship-title {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.about-scholarship-text {
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    line-height: 1.85;
    margin: 0;
}

/* =========================
   WHY LEARN SECTION
========================= */
.about-why-section {
    padding: 20px 0 80px;
}

.about-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
}

.about-section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.about-section-head p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

.about-why-card {
    position: relative;
    background: var(--soft-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 26px 28px;
    height: 100%;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-why-number {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(29, 39, 70, .05);
    line-height: 1;
}

.about-why-icon {
    font-size: 34px;
    color: var(--text);
    margin-bottom: 18px;
}

.about-why-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.about-why-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* =========================
   INSTRUCTORS SECTION
========================= */
.about-instructors-section {
    padding: 10px 0 80px;
}

.about-instructors-box {
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: var(--radius-lg);
    padding: 44px 44px 34px;
    box-shadow: var(--shadow);
}

.about-instructors-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.about-section-pill-dark {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.about-instructors-head h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 12px 0 0;
}

.about-instructor-card {
    background: rgba(255, 255, 255, .12);
    border-radius: 14px;
    overflow: hidden;
}

.about-instructor-card.large img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.about-instructor-card.small img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

/* =========================
   BRANDS SECTION
========================= */
.about-brands-section {
    padding: 10px 0 70px;
}

.about-brands-head {
    margin-bottom: 30px;
}

.about-brands-head p {
    color: var(--muted);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.about-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: center;
}

.about-brand-item {
    height: 80px;
    border-radius: 14px;
    background: var(--soft-card);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 10px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
    .about-scholarship-title {
        font-size: 34px;
    }

    .about-brand-item {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    .about-video-wrap img {
        height: 420px;
    }

    .about-info-person {
        right: 20px;
        bottom: 20px;
    }

    .about-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-instructors-box,
    .about-scholarship-box {
        padding: 30px 24px;
    }
}

@media (max-width: 767.98px) {
    .about-hero-section {
        padding: 60px 0 30px;
    }

    .about-video-wrap img {
        height: 280px;
    }

    .about-video-play {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .about-info-visual {
        min-height: 260px;
    }

    .about-info-logo-card {
        width: 130px;
        height: 130px;
        font-size: 52px;
    }

    .about-info-person {
        width: 130px;
        height: 130px;
        right: 0;
        bottom: 0;
    }

    .about-scholarship-title {
        font-size: 28px;
    }

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

    .about-brand-item {
        height: 70px;
        font-size: 18px;
    }

    .about-why-card {
        padding: 26px 20px 24px;
    }

    .about-instructor-card.large img {
        height: 250px;
    }
}



/* ================= COURSE page ================= */

/* ================= HERO SECTION COURSE ================= */

.colored-hero {

    background: linear-gradient(120deg, var(--pill), #d8d6ff);
}

.breadcrumb-course {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumb-course a {
    color: var(--text);
    text-decoration: none;
}

/* ================= HERO TITLE COURSE ================= */

.hero-top-course {
    margin-bottom: 35px;
}

.hero-title-wrap-course {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hero-title-course {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
}

.hero-badge-course {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--pill);
    border-radius: 999px;
    font-size: 14px;
    color: var(--text);
}

.hero-desc-course {
    font-size: 16px;
    color: var(--muted);
}

/* ================= TOOLBAR COURSE ================= */

.toolbar-course {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.toolbar-left-course {
    display: flex;
    align-items: center;
    gap: 18px;
}

.view-switch-course {
    display: flex;
    background: var(--pill);
    border-radius: 999px;
    padding: 4px;
}

.view-btn-course {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.view-btn-course.active-course {
    background: var(--soft-card);
    box-shadow: var(--shadow);
    color: var(--blue);
}

.result-course {
    font-size: 14px;
    color: var(--muted);
}

/* ================= SEARCH COURSE ================= */

.toolbar-right-course {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-course {
    position: relative;
}

.search-input-course {
    height: 44px;
    width: 260px;
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0 40px 0 16px;
    background: var(--soft-card);
}

.search-btn-course {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--muted);
}

/* ================= FILTER BUTTON ================= */

.filter-btn-course {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--soft-card);
    color: var(--text);
    cursor: pointer;
}

/* ================= STACK SECTION ================= */

.courses-stack-course {
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

/* ================= COURSE CARD ================= */

.course-card-course {
    background: var(--soft-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: .3s;
}

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

.course-img-course {
    position: relative;
}

.course-img-course img {
    width: 100%;
    border-radius: var(--radius);
}

.course-discount-course {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(120deg, var(--blue), var(--purple));
    color: white;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
}

/* ================= COURSE BODY ================= */

.course-body-course {
    padding: 22px;
}

.course-rating-course {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.course-stars-course {
    color: #ff9f43;
}

.course-title-course {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.course-meta-course {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.course-desc-course {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

/* ================= AUTHOR ================= */

.course-author-course {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.course-author-course img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* ================= PRICE ================= */

.course-footer-course {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price-course {
    display: flex;
    gap: 8px;
}

.price-now-course {
    font-weight: 700;
    color: var(--text);
}

.price-old-course {
    color: var(--muted);
    text-decoration: line-through;
}

/* ================= PAGINATION ================= */

.pagination-course {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-btn-course {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--soft-card);
}

.page-btn-course.active-course {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}
