@font-face{font-family:'Alexandria Variable';font-style:normal;font-weight:100 900;font-display:swap;src:url('/site/fonts/alexandria-arabic-variable.woff2') format('woff2-variations');unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFC}
@font-face{font-family:'Alexandria Variable';font-style:normal;font-weight:100 900;font-display:swap;src:url('/site/fonts/alexandria-latin-variable.woff2') format('woff2-variations')}
@font-face{font-family:'Inter Variable';font-style:normal;font-weight:100 900;font-display:swap;src:url('/site/fonts/inter-latin-variable.woff2') format('woff2-variations')}

:root {
    --brand: #334f9f;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 15px/1.62 "Inter Variable", Arial, sans-serif;
}

/* Arabic */
html[dir="rtl"] body {
    font-family: "Alexandria Variable", Arial, sans-serif;
    font-size:15px;
    line-height: 1.72;
    font-weight:420;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
    font-family: "Alexandria Variable", Arial, sans-serif;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.22;
    letter-spacing: -0.035em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    letter-spacing: 0;
    line-height: 1.5;
}

h1 {
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 700;
}

h2 {
    font-size: clamp(28px, 3.2vw, 44px);
}

h3 {
    font-size: 23px;
}

p {
    color: var(--muted);
}

.wrap {
    max-width: 1280px;
    width: calc(100% - 80px);
    margin-inline: auto;
}

.section {
    padding-block: 86px;
}

.soft {
    background: var(--soft);
}

.section-heading {
    text-align: center;
    max-width: 970px;
    margin: 0 auto 48px;
}

.section-heading p {
    max-width: 780px;
    margin-inline: auto;
}

.section-heading h2 {
    margin: 18px auto;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: #eff6ff;
    color: var(--brand);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--brand);
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    min-height: 48px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    line-height: 1.45;
}

.button:hover {
    background: #263c7d;
    text-decoration: none;
    color: #fff;
}

.button.outline {
    background: white;
    color: var(--brand);
}

.button.outline:hover {
    background: #eff6ff;
}

.button.small {
    padding: 10px 18px;
    min-height: 42px;
    font-size: 14px;
}

.button.white {
    background: white;
    color: var(--brand);
    border-color: white;
}

.button.light-outline {
    background: transparent;
    border-color: white;
}

.button.full {
    display: flex;
    width: 100%;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #f2f4f8;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 124px;
}

.logo img {
    width: 106px;
    height: 106px;
    object-fit: contain;
}

.nav nav,
.nav-actions {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav nav a {
    color: var(--ink);
    font-weight: 500;
}

.nav nav a.active {
    color: var(--brand);
}

.nav-actions {
    gap: 20px;
    font-size: 14px;
}

.language {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 9px 12px;
}

/* Hero */
.hero {
    background: linear-gradient(110deg, #f7faff, #fff);
    padding: 60px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    white-space: normal;
    margin: 24px 0;
    font-size: clamp(44px, 4.6vw, 64px);
    color: var(--brand);
    letter-spacing: -0.045em;
}

html[dir="rtl"] .hero-title {
    letter-spacing: 0;
}

.hero-description {
    max-width: 420px;
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.trust {
    display: flex;
    flex-direction: column;
    margin-top: 36px;
    border-inline-start: 3px solid var(--cyan);
    padding-inline-start: 20px;
}

.trust strong {
    color: var(--brand);
    font-size: 25px;
}

.trust span {
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    padding: 25px 12px;
}

.hero-photo {
    height: 459px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px #334f9f16;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-card {
    position: absolute;
    background: white;
    box-shadow: 0 12px 35px #11182715;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-size: 14px;
}

.float-card strong {
    color: var(--brand);
}

.expert {
    top: 0;
    inset-inline-end: -16px;
}

.flexible {
    bottom: 0;
    inset-inline-start: -24px;
    min-width: 200px;
}

/* Grids */
.grid {
    display: grid;
    gap: 28px;
}

.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    min-width: 0;
}

.card h3 {
    margin: 18px 0 12px;
}

.card p:last-child {
    margin-bottom: 0;
}

.feature {
    box-shadow: 0 8px 25px #11182703;
}

.feature-number {
    display: inline-grid;
    place-items: center;
    background: #eff6ff;
    color: var(--brand);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
}

/* Journey */
.journey {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    max-width: 940px;
    margin: auto;
}

.journey .card {
    text-align: center;
    position: relative;
    padding: 42px 32px;
}

.step-number {
    display: inline-block;
    color: var(--brand);
    font-weight: 700;
    font-size: 30px;
}

/* Platform */
.platform {
    background: radial-gradient(
        ellipse at center,
        #e7f5ff,
        #f8fafc 70%
    );
}

.platform-visual {
    max-width: 920px;
    margin: 0 auto;
}

.platform-visual img {
    width: 100%;
    height: auto;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.platform-features span {
    background: white;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 24px #334f9f09;
    font-weight: 600;
    color: var(--brand);
}

/* Courses */
.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card > a img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-body h3 a {
    color: var(--ink);
}

.course-body p {
    font-size: 14px;
    flex: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding: 18px 0;
    margin-top: 10px;
    font-size: 14px;
}

.course-meta strong {
    color: var(--brand);
}

/* CTA */
.cta {
    border-radius: 24px;
    background: linear-gradient(110deg, #334f9f, #3b82f6);
    padding: 64px 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    position: relative;
}

.cta p {
    color: #ecf2ff;
    max-width: 600px;
    margin: 0 auto 28px;
}

.cta .actions {
    justify-content: center;
}

.cta::before {
    content: "";
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ffffff08;
    position: absolute;
    inset-inline-end: -70px;
    top: -80px;
}

/* Footer */
footer {
    background: #f9fafb;
    border-top: 1px solid var(--line);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.9fr 1.25fr;
    gap: 35px;
    padding-bottom: 40px;
}

.footer-grid h3 {
    font-size: 18px;
    letter-spacing: 0;
}

.footer-grid a {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.footer-grid p {
    font-size: 14px;
}

.footer-brand img {
    margin-top: -28px;
}

.footer-brand h3 {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-block: 26px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    font-size: 12px;
    color: var(--muted);
}

.footer-bottom div {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--muted);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(110deg, #eff6ff, #f8fafc);
    padding: 64px 0;
    text-align: center;
}

.page-hero h1 {
    margin: 18px 0;
}

.page-hero p {
    max-width: 760px;
    margin-inline: auto;
}

/* Filters */
.filters {
    display: flex;
    align-items: end;
    gap: 20px;
    margin-bottom: 42px;
    padding: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.filters label {
    flex: 1;
    margin: 0;
}

.filters .button {
    margin-bottom: 0;
}

/* Course Details */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.detail-grid h2 {
    font-size: 28px;
    margin-top: 24px;
}

.detail-grid .card h2:first-child {
    margin-top: 0;
}

.course-cover,
.about-cover {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    height: 400px;
}

.about-cover {
    height: 480px;
}

.session {
    margin-bottom: 16px;
}

.price-card {
    position: sticky;
    top: 24px;
}

.price-card h2 {
    color: var(--brand);
}

.price-card small {
    font-size: 18px;
}

.preserve {
    white-space: pre-line;
}

/* Authentication */
.auth-section {
    background: linear-gradient(#eff6ff, #f9fafb);
    padding: 64px 24px 90px;
    min-height: 740px;
}

.auth-intro {
    text-align: center;
    max-width: 600px;
    margin: auto;
}

.auth-intro h1 {
    font-size: 36px;
    margin: 20px 0;
}

.auth-card {
    max-width: 520px;
    margin: 32px auto 0;
    box-shadow: 0 12px 36px #334f9f06;
    padding: 36px;
}

.auth-card > p {
    font-size: 14px;
    margin-top: 24px;
}

.auth-card:has(.success-symbol) {
    text-align: center;
}

.success-symbol {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: #eff6ff;
    font-size: 32px;
    margin: 0 auto 28px;
}

/* Forms */
label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    padding: 12px 14px;
    color: var(--ink);
    display: block;
    margin-top: 8px;
    min-width: 0;
}

input[type="email"],
input[type="tel"] {
    direction: ltr;
    text-align: start;
}

textarea {
    resize: vertical;
}

input[type="file"] {
    font-size: 12px;
    max-width: 100%;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
}

.check input {
    width: 18px;
    height: 18px;
    margin: 4px 0;
    flex-shrink: 0;
}

.form-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

/* Utilities */
.muted {
    font-size: 13px;
    color: var(--muted);
}

.center {
    text-align: center;
}

.space-top {
    margin-top: 32px;
}

.empty {
    padding: 32px;
    text-align: center;
    grid-column: 1 / -1;
    background: var(--soft);
    border-radius: 12px;
}

.flash,
.error-box {
    padding: 18px 24px;
    margin-block: 24px;
    border-radius: 10px;
    max-width: 950px;
}

.flash {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.error-box {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.pagination a {
    padding: 5px 15px;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.account-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.account-nav form {
    margin-inline-start: auto;
}

.text-button {
    background: none;
    border: 0;
    color: var(--brand);
}

.stats {
    margin-bottom: 50px;
}

.stats .card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats strong {
    font-size: 32px;
    color: var(--brand);
}

.stats small {
    font-size: 16px;
}

.profile-form {
    max-width: 640px;
}

dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 600;
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
}

.list-row:last-child {
    border-bottom: 0;
}

.list-row span {
    overflow-wrap: anywhere;
}

.bank-details {
    padding: 16px;
    background: #eff6ff;
    border-radius: 10px;
    margin-bottom: 18px;
}

.notice {
    padding: 18px;
    background: #fff7ed;
    border-radius: 10px;
    font-size: 14px;
    color: #9a3412;
}

.legal {
    max-width: 900px;
}

.legal h2 {
    font-size: 25px;
    margin-top: 32px;
}

.legal p {
    white-space: pre-line;
}

.demo {
    background: #edf2ff;
    color: #334f9f;
    text-align: center;
    font-size: 12px;
    padding: 5px 16px;
}

.skip {
    position: absolute;
    top: -100px;
    inset-inline-start: 20px;
    z-index: 99;
    background: white;
    padding: 12px;
}

.skip:focus {
    top: 10px;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin-block: 24px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Tablet */
@media (max-width: 1100px) {
    .wrap {
        width: calc(100% - 48px);
    }

    .nav {
        gap: 18px;
    }

    .nav nav {
        gap: 18px;
    }

    .nav-actions {
        gap: 12px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-photo {
        height: 400px;
    }

    .three {
        gap: 18px;
    }

    .card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

    .float-card {
        padding: 12px 16px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .section {
        padding-block: 56px;
    }

    .nav {
        min-height: 90px;
        gap: 10px;
        flex-wrap: wrap;
        position: relative;
    }

    .logo img {
        width: 78px;
        height: 78px;
    }

    .menu-toggle {
        display: block;
        margin-inline-start: auto;
    }

    .nav nav {
        display: none;
        order: 4;
        width: 100%;
        padding: 15px 0 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav nav.open {
        display: flex;
    }

    .nav nav a {
        padding: 12px;
        border-bottom: 1px solid var(--line);
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-actions .button {
        padding: 9px 12px;
        font-size: 12px;
    }

    .login-link {
        display: none;
    }

    .hero {
        padding: 44px 0 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 43px;
        margin-top: 20px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-visual {
        padding: 18px 10px;
    }

    .hero-photo {
        height: 310px;
    }

    .float-card {
        font-size: 12px;
        border-radius: 10px;
    }

    .expert {
        inset-inline-end: 0;
    }

    .flexible {
        inset-inline-start: 0;
        min-width: 160px;
    }

    .hero .actions {
        gap: 12px;
    }

    .hero .button {
        padding-inline: 18px;
        font-size: 13px;
    }

    .trust {
        margin-top: 24px;
    }

    .trust strong {
        font-size: 24px;
    }

    .three,
    .two,
    .journey {
        grid-template-columns: 1fr;
    }

    .journey {
        gap: 22px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .platform-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .platform-features span {
        text-align: center;
        padding: 14px;
    }

    .course-card > a img {
        height: 220px;
    }

    .cta {
        padding: 44px 24px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta .actions {
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        font-size: 12px;
    }

    .footer-bottom div {
        gap: 16px;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        gap: 16px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .course-cover,
    .about-cover {
        height: 260px;
    }

    .price-card {
        position: static;
    }

    .page-hero {
        padding: 42px 0;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .auth-section {
        padding: 44px 20px 64px;
        min-height: 650px;
    }

    .auth-intro h1 {
        font-size: 30px;
    }

    .auth-card {
        padding: 24px;
    }

    .form-row {
        font-size: 12px;
    }

    .account-nav {
        gap: 18px;
        font-size: 14px;
    }

    .account-nav form {
        margin-inline-start: 0;
    }

    .stats {
        gap: 16px;
    }

    .stats .card {
        padding: 22px;
    }

    .list-row {
        flex-wrap: wrap;
    }

    .legal h2 {
        font-size: 23px;
    }

    .flash,
    .error-box {
        width: calc(100% - 40px);
    }

    .nav-actions .language {
        font-size: 13px;
    }

    .hero .badge {
        font-size: 11px;
    }

    h2[id] {
        scroll-margin-top: 25px;
    }
}
/* =========================================================
   FIGMA HERO - HOME PAGE
   ========================================================= */

.hero {
    background: #ffffff;
    padding: 80px 0 105px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 90px;
}

.hero-content {
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3b82f6;
    color: #ffffff;
    min-height: 31px;
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-title {
    margin: 0 0 23px;
    color: #080808;
    font-size: clamp(48px, 4vw, 59px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2px;
}

html[dir="rtl"] .hero-title {
    letter-spacing: 0;
    line-height: 1.25;
}

.hero-title-accent {
    color: #3b82f6;
}

.hero-description {
    max-width: 480px;
    margin: 0 0 45px;
    color: #707888;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

html[dir="rtl"] .hero-description {
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-primary-button,
.hero-contact-button {
    min-height: 46px;
    border-radius: 8px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 16px;
    font-weight: 500;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-primary-button {
    min-width: 194px;
    color: #ffffff;
    background: #3b82f6;
    border: 1px solid #3b82f6;
}

.hero-primary-button:hover {
    color: #ffffff;
    background: #2563eb;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.hero-contact-button {
    min-width: 170px;
    color: #3b82f6;
    background: #f3f4f6;
    border: 1px solid #f3f4f6;
}

.hero-contact-button:hover {
    color: #2563eb;
    background: #e9eef8;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-button-icon,
.hero-phone-icon {
    flex-shrink: 0;
}

html[dir="rtl"] .hero-button-icon {
    transform: rotate(180deg);
}

.hero-hands-on {
    margin-top: 62px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.hero-hands-on strong {
    color: #090909;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-hands-on span {
    margin-top: 4px;
    color: #747b89;
    font-size: 14px;
    line-height: 1.5;
}


/* Hero image */

.hero-visual {
    position: relative;
    padding: 45px 15px 20px;
    min-width: 0;
}

.hero-photo {
    width: 100%;
    height: 458px;
    overflow: hidden;
    border-radius: 22px;
    background: #f4f4f4;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.72;
}


/* Industry card */

.hero-industry-card {
    position: absolute;
    z-index: 3;
    top: 0;
    inset-inline-start: -18px;
    width: 148px;
    min-height: 80px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px;
    text-align: center;
}

.hero-industry-card strong {
    color: #151515;
    font-size: 14px;
    font-weight: 500;
}

.hero-industry-card span {
    margin-top: 5px;
    color: #71798a;
    font-size: 12px;
}


/* Flexible card */

.hero-flexible-card {
    position: absolute;
    z-index: 3;
    inset-inline-end: -3px;
    bottom: -9px;
    min-width: 245px;
    min-height: 102px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.09);
    padding: 17px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-flexible-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #eff6ff;
    color: #3b82f6;
    display: grid;
    place-items: center;
}

.hero-flexible-card > div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-flexible-card strong {
    color: #171717;
    font-size: 18px;
    font-weight: 500;
}

.hero-flexible-card span {
    margin-top: 5px;
    color: #737b8c;
    font-size: 16px;
}


/* Tablet */

@media (max-width: 1100px) {

    .hero {
        padding: 65px 0 90px;
    }

    .hero-grid {
        gap: 45px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 19px;
    }

    .hero-photo {
        height: 400px;
    }

    .hero-industry-card {
        inset-inline-start: 0;
    }

    .hero-flexible-card {
        inset-inline-end: 0;
    }
}


/* Mobile - Figma width 390px */

@media (max-width: 760px) {

    .hero {
        padding: 48px 0 75px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-badge {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 43px;
        line-height: 1.08;
        letter-spacing: -1.4px;
        margin-bottom: 20px;
    }

    html[dir="rtl"] .hero-title {
        line-height: 1.3;
        letter-spacing: 0;
    }

    .hero-description {
        max-width: none;
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 30px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-primary-button,
    .hero-contact-button {
        min-height: 45px;
        min-width: 0;
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero-primary-button {
        flex: 1.08;
    }

    .hero-contact-button {
        flex: 0.92;
    }

    .hero-hands-on {
        margin-top: 45px;
        padding: 0;
    }

    .hero-hands-on strong {
        font-size: 26px;
    }

    .hero-hands-on span {
        font-size: 13px;
    }

    .hero-visual {
        padding: 38px 0 42px;
    }

    .hero-photo {
        height: 310px;
        border-radius: 18px;
    }

    .hero-industry-card {
        top: 0;
        inset-inline-start: 10px;
        width: 132px;
        min-height: 72px;
        padding: 10px;
        border-radius: 17px;
    }

    .hero-industry-card strong {
        font-size: 13px;
    }

    .hero-industry-card span {
        font-size: 11px;
    }

    .hero-flexible-card {
        bottom: 0;
        inset-inline-end: 5px;
        min-width: 210px;
        min-height: 88px;
        padding: 14px;
        gap: 13px;
        border-radius: 16px;
    }

    .hero-flexible-icon {
        width: 40px;
        height: 40px;
    }

    .hero-flexible-card strong {
        font-size: 16px;
    }

    .hero-flexible-card span {
        font-size: 13px;
    }
}
/* =========================================================
   FIGMA - WHY CHOOSE US
   ========================================================= */

.why-section {
    padding: 84px 0 98px;
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(219, 234, 254, 0.55),
            rgba(248, 250, 252, 0.82) 48%,
            #ffffff 100%
        );
}

.why-heading {
    max-width: 790px;
    margin: 0 auto 54px;
    text-align: center;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 14px;
    margin-bottom: 24px;

    background: #3b82f6;
    color: #ffffff;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.why-heading h2 {
    max-width: 700px;
    margin: 0 auto 22px;

    color: #111827;

    font-size: clamp(40px, 3.5vw, 50px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

html[dir="rtl"] .why-heading h2 {
    letter-spacing: 0;
    line-height: 1.4;
}

.why-heading p {
    max-width: 690px;
    margin: 0 auto;

    color: #737b8c;

    font-size: 18px;
    line-height: 1.35;
}

html[dir="rtl"] .why-heading p {
    line-height: 1.75;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.why-card {
    min-height: 226px;
    padding: 32px;

    background: #ffffff;

    border: 1px solid #8992a3;
    border-radius: 15px;

    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.05);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.08);
}

.why-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 25px;

    border-radius: 12px;

    background: #3b82f6;
    color: #ffffff;

    display: grid;
    place-items: center;

    flex-shrink: 0;
}

.why-card h3 {
    margin: 0 0 10px;

    color: #171e2b;

    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
}

.why-card p {
    margin: 0;

    color: #737b8c;

    font-size: 16px;
    line-height: 1.35;
}

html[dir="rtl"] .why-card {
    text-align: right;
}

html[dir="rtl"] .why-card h3 {
    line-height: 1.5;
}

html[dir="rtl"] .why-card p {
    line-height: 1.7;
}


/* Tablet */

@media (max-width: 1100px) {

    .why-grid {
        gap: 18px;
    }

    .why-card {
        padding: 26px;
    }

    .why-heading h2 {
        font-size: 42px;
    }
}


/* Mobile */

@media (max-width: 760px) {

    .why-section {
        padding: 60px 0 70px;
    }

    .why-heading {
        margin-bottom: 38px;
    }

    .why-badge {
        margin-bottom: 18px;
    }

    .why-heading h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .why-heading p {
        font-size: 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        min-height: 0;
        padding: 25px 23px;
        border-radius: 14px;
    }

    .why-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
    }

    .why-card h3 {
        font-size: 22px;
    }

    .why-card p {
        font-size: 15px;
    }
}
/* =========================================================
   FIGMA - LEARNING JOURNEY
   ========================================================= */

.learning-journey-section {
    padding: 75px 0 110px;
    background: #ffffff;
}

.journey-heading {
    max-width: 720px;
    margin: 0 auto 70px;
    text-align: center;
}

.journey-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 15px;
    margin-bottom: 22px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.journey-heading h2 {
    max-width: 560px;
    margin: 0 auto 18px;
    color: #090909;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.05;
}

html[dir="rtl"] .journey-heading h2 {
    line-height: 1.35;
}

.journey-heading p {
    max-width: 690px;
    margin: 0 auto;
    color: #737b8c;
    font-size: 18px;
    line-height: 1.35;
}

html[dir="rtl"] .journey-heading p {
    line-height: 1.7;
}

.journey-stage {
    position: relative;
    min-height: 620px;
    max-width: 1100px;
    margin: 0 auto;
}

.journey-paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.journey-paths path {
    fill: none;
    stroke: #cfe0ff;
    stroke-width: 2;
}

.journey-card {
    position: absolute;
    z-index: 3;

    width: 310px;
    min-height: 258px;

    padding: 20px 24px 26px;

    background: #ffffff;

    border: 1px solid #eef1f5;
    border-radius: 24px;

    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.journey-card-1 {
    top: 55px;
    left: 0;
}

.journey-card-2 {
    top: 55px;
    right: 0;
}

.journey-card-3 {
    bottom: 0;
    left: 0;
}

.journey-card-4 {
    bottom: 0;
    right: 0;
}

.journey-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 43px;
    height: 26px;

    padding: 0 10px;
    margin-bottom: 18px;

    border-radius: 999px;

    background: #3b82f6;
    color: #ffffff;

    font-size: 12px;
    font-weight: 500;
}

.journey-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 20px;

    border-radius: 14px;

    background: #edf4ff;
    color: #3b82f6;

    display: grid;
    place-items: center;
}

.journey-card h3 {
    margin: 0 0 16px;
    color: #0a0a0a;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.15;
}

.journey-card p {
    margin: 0;
    color: #151515;
    font-size: 14px;
    line-height: 1.35;
}

html[dir="rtl"] .journey-card {
    text-align: right;
}

html[dir="rtl"] .journey-card p {
    line-height: 1.7;
}

/* Animated blue dot */

.journey-dot {
    position: absolute;
    z-index: 4;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    background: #3b82f6;

    box-shadow:
        0 0 0 7px rgba(59, 130, 246, 0.12),
        0 4px 10px rgba(59, 130, 246, 0.25);

    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

/* Tablet */

@media (max-width: 1100px) {
    .journey-stage {
        min-height: 650px;
    }

    .journey-card {
        width: 285px;
    }
}

/* Mobile */

@media (max-width: 760px) {

    .learning-journey-section {
        padding: 60px 0 70px;
    }

    .journey-heading {
        margin-bottom: 38px;
    }

    .journey-heading h2 {
        font-size: 31px;
    }

    .journey-heading p {
        font-size: 15px;
    }

    .journey-stage {
        min-height: 0;
        display: grid;
        gap: 18px;
    }

    .journey-paths,
    .journey-dot {
        display: none;
    }

    .journey-card {
        position: static;
        width: 100%;
        min-height: 0;
        padding: 22px;
        border-radius: 18px;
    }

    .journey-card h3 {
        font-size: 22px;
    }
}
/* =========================================================
   JOURNEY SCROLL ANIMATION
   ========================================================= */

.journey-paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}

.journey-animated-path {
    fill: none;
    stroke: #bcd5ff;
    stroke-width: 2.2;
    stroke-linecap: round;

    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.journey-moving-dot {
    fill: #3b82f6;

    stroke: rgba(59, 130, 246, 0.18);
    stroke-width: 10;

    opacity: 0;

    filter: drop-shadow(
        0 4px 6px rgba(59, 130, 246, 0.25)
    );
}

.journey-card {
    z-index: 3;
}


/* Mobile: no connecting animation */
@media (max-width: 760px) {
    .journey-paths {
        display: none;
    }
}
/* =========================================================
   FIGMA - TECHNOLOGY PLATFORM
   ========================================================= */

.tech-section {
    padding: 70px 0 40px;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f7f9fc 42%,
            #ffffff 100%
        );
    overflow: hidden;
}

.tech-heading {
    max-width: 760px;
    margin: 0 auto 62px;
    text-align: center;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;
    padding: 6px 16px;
    margin-bottom: 22px;

    border-radius: 999px;

    background: #3b82f6;
    color: #ffffff;

    font-size: 12px;
    font-weight: 500;
}

.tech-heading h2 {
    max-width: 600px;
    margin: 0 auto 20px;

    color: #090909;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.08;
}

html[dir="rtl"] .tech-heading h2 {
    line-height: 1.4;
}

.tech-heading p {
    max-width: 720px;
    margin: 0 auto;

    color: #737b8c;

    font-size: 18px;
    line-height: 1.35;
}

html[dir="rtl"] .tech-heading p {
    line-height: 1.75;
}


/* Platform */

.tech-stage {
    position: relative;

    width: 100%;
    max-width: 1160px;
    min-height: 690px;

    margin: 0 auto;
}

.tech-platform-image {
    position: absolute;

    width: 850px;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    z-index: 1;
}

.tech-platform-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* Floating feature cards */

.tech-feature {
    position: absolute;
    z-index: 3;

    min-height: 54px;

    padding: 10px 18px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.09);

    display: flex;
    align-items: center;
    gap: 12px;

    white-space: nowrap;
}

.tech-feature-icon {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: #3b82f6;
}

.tech-feature-icon span {
    width: 25px;
    height: 25px;

    border: 1.7px solid #3b82f6;
    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 9px;
    font-weight: 600;
}

.tech-feature strong {
    color: #090909;

    font-size: 23px;
    font-weight: 600;
    line-height: 1;
}


/* Exact desktop positions */

.tech-access {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tech-qr {
    top: 97px;
    left: 0;
}

.tech-verification {
    top: 130px;
    right: 0;
}

.tech-tracking {
    top: 328px;
    right: 52px;
}

.tech-payments {
    top: 430px;
    left: -30px;
}

.tech-247 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* subtle hover */

.tech-feature {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tech-feature:not(.tech-access):not(.tech-247):hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.12);
}

.tech-access:hover,
.tech-247:hover {
    transform: translateX(-50%) translateY(-2px);
}


/* Tablet */

@media (max-width: 1100px) {

    .tech-stage {
        min-height: 610px;
    }

    .tech-platform-image {
        width: 730px;
    }

    .tech-feature strong {
        font-size: 18px;
    }

    .tech-qr {
        left: 10px;
    }

    .tech-verification {
        right: 10px;
    }

    .tech-payments {
        left: 5px;
    }

    .tech-tracking {
        right: 15px;
    }
}


/* Mobile */

@media (max-width: 760px) {

    .tech-section {
        padding: 60px 0 70px;
    }

    .tech-heading {
        margin-bottom: 38px;
    }

    .tech-heading h2 {
        font-size: 31px;
    }

    .tech-heading p {
        font-size: 15px;
    }

    .tech-stage {
        min-height: 0;

        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .tech-platform-image {
        position: relative;

        width: 100%;

        left: auto;
        bottom: auto;

        transform: none;

        order: 1;

        margin-bottom: 12px;
    }

    .tech-feature {
        position: static;

        width: 100%;
        min-height: 58px;

        transform: none !important;

        border: 1px solid #eef1f5;

        border-radius: 14px;

        box-shadow:
            0 6px 18px rgba(15, 23, 42, 0.05);

        order: 2;
    }

    .tech-feature strong {
        font-size: 16px;
    }

    .tech-feature-icon {
        width: 34px;
        height: 34px;
    }
}
/* =========================================================
   FIGMA - POPULAR COURSES
   ========================================================= */

.popular-courses-section {
    padding: 76px 0 95px;
    background: #ffffff;
}

.popular-courses-heading {
    max-width: 980px;
    margin: 0 auto 58px;
    text-align: center;
}

.popular-courses-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;
    padding: 6px 17px;
    margin-bottom: 25px;

    background: #3b82f6;
    color: #ffffff;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
}

.popular-courses-heading h2 {
    margin: 0 auto 20px;

    color: #111827;

    font-size: clamp(40px, 3.6vw, 50px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

html[dir="rtl"] .popular-courses-heading h2 {
    letter-spacing: 0;
    line-height: 1.4;
}

.popular-courses-heading p {
    max-width: 680px;
    margin: 0 auto;

    color: #737b8c;

    font-size: 18px;
    line-height: 1.35;
}

html[dir="rtl"] .popular-courses-heading p {
    line-height: 1.75;
}

.popular-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.popular-course-card {
    position: relative;

    min-width: 0;
    overflow: hidden;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #7f8794;
    border-radius: 18px;

    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);

    display: flex;
    flex-direction: column;
}

.popular-course-badge {
    align-self: flex-start;

    margin-bottom: 16px;
    padding: 7px 13px;

    border-radius: 999px;

    background: #8b2cf5;
    color: #ffffff;

    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.popular-course-card:first-child .popular-course-badge {
    background: #e77c00;
}

.popular-course-image {
    display: block;

    width: 100%;
    height: 225px;

    margin-bottom: 18px;

    overflow: hidden;

    border-radius: 15px;
}

.popular-course-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.popular-course-card:hover .popular-course-image img {
    transform: scale(1.02);
}

.popular-course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.popular-course-body h3 {
    margin: 0 0 16px;

    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.popular-course-body h3 a {
    color: #161e2b;
}

.popular-course-body h3 a:hover {
    text-decoration: none;
    color: #3b82f6;
}

.popular-course-description {
    min-height: 60px;

    margin: 0 0 23px;

    color: #737b8c;

    font-size: 16px;
    line-height: 1.25;
}

.popular-course-info {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-bottom: 28px;
}

.popular-course-info-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #737b8c;

    font-size: 14px;
}

.popular-course-info-item svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.popular-course-bottom {
    margin-top: auto;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.popular-course-price {
    display: flex;
    flex-direction: column;
}

.popular-course-price strong {
    color: #3b82f6;

    font-size: 31px;
    font-weight: 700;
    line-height: 1;
}

.popular-course-price span {
    margin-top: 4px;

    color: #737b8c;

    font-size: 13px;
}

.popular-course-enroll {
    min-width: 150px;
    min-height: 44px;

    padding: 10px 15px;

    border-radius: 8px;

    background: #3b82f6;
    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    font-size: 15px;
    font-weight: 500;
}

.popular-course-enroll:hover {
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
}

html[dir="rtl"] .popular-course-enroll svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .popular-course-card {
    text-align: right;
}

html[dir="rtl"] .popular-course-description {
    line-height: 1.7;
}


/* Tablet */

@media (max-width: 1100px) {

    .popular-courses-grid {
        gap: 20px;
    }

    .popular-course-card {
        padding: 16px;
    }

    .popular-course-image {
        height: 190px;
    }

    .popular-course-body h3 {
        font-size: 22px;
    }

    .popular-course-description {
        font-size: 14px;
    }

    .popular-course-price strong {
        font-size: 25px;
    }

    .popular-course-enroll {
        min-width: 125px;
        font-size: 13px;
    }
}


/* Mobile */

@media (max-width: 760px) {

    .popular-courses-section {
        padding: 60px 0 70px;
    }

    .popular-courses-heading {
        margin-bottom: 38px;
    }

    .popular-courses-heading h2 {
        font-size: 32px;
    }

    .popular-courses-heading p {
        font-size: 15px;
    }

    .popular-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .popular-course-card {
        padding: 16px;
    }

    .popular-course-image {
        height: 215px;
    }

    .popular-course-description {
        min-height: 0;
    }

    .popular-course-info {
        gap: 20px;
        flex-wrap: wrap;
    }

    .popular-course-bottom {
        align-items: center;
    }

    .popular-course-price strong {
        font-size: 27px;
    }
}
/* =========================================================
   MOBILE - LEARNING JOURNEY HORIZONTAL SWIPE
   ========================================================= */

@media (max-width: 760px) {

    .learning-journey-section {
        overflow: hidden;
    }

    .journey-stage {
        min-height: 0;
        width: 100%;

        display: flex;
        gap: 16px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        padding: 10px 22px 24px;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .journey-stage::-webkit-scrollbar {
        display: none;
    }

    .journey-card {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        flex: 0 0 calc(100% - 42px);

        width: auto;
        min-width: 0;

        min-height: 300px;

        scroll-snap-align: center;

        display: flex;
        flex-direction: column;

        border-radius: 18px;
    }

    .journey-paths {
        display: none !important;
    }

}
/* =========================================================
   DIGITAL PLATFORM - FINAL
   Desktop: floating cards
   Mobile: fixed image + horizontal slider
   ========================================================= */


/* =========================
   DESKTOP
   ========================= */

.tech-stage {
    position: relative;

    width: 100%;
    max-width: 1160px;
    min-height: 690px;

    margin: 0 auto;
}


/* Laptop */

.tech-platform-image {
    position: absolute;

    top: 95px;
    left: 50%;

    width: 850px;
    max-width: 78%;

    transform: translateX(-50%);

    z-index: 1;
}

.tech-platform-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


/* Feature wrapper */

.tech-features-slider {
    position: absolute;
    inset: 0;

    z-index: 3;

    pointer-events: none;
}


/* Floating cards */

.tech-features-slider .tech-feature {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;

    background: #ffffff;

    border: 1px solid #e6eaf0;
    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08);

    color: #111827;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    pointer-events: auto;
}


/* Icons */

.tech-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #3b82f6;

    flex-shrink: 0;
}

.tech-feature-icon svg {
    display: block;
}

.tech-feature-icon span {
    color: #3b82f6;

    font-size: 14px;
    font-weight: 700;
}


/* Floating positions */

.tech-access {
    top: 0;
    left: 50%;

    transform: translateX(-50%);
}

.tech-qr {
    top: 97px;
    left: 0;
}

.tech-verification {
    top: 130px;
    right: 0;
}

.tech-tracking {
    top: 328px;
    right: 52px;
}

.tech-payments {
    top: 430px;
    left: -30px;
}

.tech-247 {
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .tech-section {
        padding: 65px 0 70px;

        overflow: hidden;
    }


    /* Heading */

    .tech-heading {
        max-width: 350px;

        margin: 0 auto 35px;

        text-align: center;
    }

    .tech-heading h2 {
        margin-top: 22px;
        margin-bottom: 18px;

        font-size: 31px;
        line-height: 1.35;

        letter-spacing: 0;
    }

    .tech-heading p {
        max-width: 335px;

        margin: 0 auto;

        font-size: 14px;
        line-height: 1.8;
    }


    /* Main stage */

    .tech-stage {
        position: relative;

        width: 100%;
        max-width: none;
        min-height: 0;

        margin: 0;

        display: block;
    }


    /* Laptop stays fixed */

    .tech-platform-image {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;

        width: calc(100% - 24px);
        max-width: 360px;

        margin: 0 auto 26px;

        z-index: 1;
    }

    .tech-platform-image img {
        display: block;

        width: 100%;
        height: auto;
    }


    /* Horizontal slider */

    .tech-features-slider {
        position: relative;

        inset: auto;

        z-index: 3;

        width: 100%;

        display: flex;
        align-items: stretch;

        gap: 14px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 5px 22px 18px;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        pointer-events: auto;
    }

    .tech-features-slider::-webkit-scrollbar {
        display: none;
    }


    /* Mobile cards */

    .tech-features-slider .tech-feature {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;

        flex: 0 0 calc(100% - 65px);

        width: auto;
        min-width: 0;
        min-height: 96px;

        margin: 0;

        padding: 18px 20px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 15px;

        background: #ffffff;

        border: 1px solid #e6eaf0;
        border-radius: 17px;

        box-shadow:
            0 7px 20px rgba(15, 23, 42, 0.06);

        scroll-snap-align: center;

        white-space: normal;

        font-size: 16px;
        font-weight: 600;
    }


    /* Icon box */

    .tech-feature-icon {
        width: 48px;
        height: 48px;

        flex: 0 0 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #f1f6ff;

        border-radius: 13px;

        color: #3b82f6;
    }

    .tech-feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .tech-feature-icon span {
        color: #3b82f6;

        font-size: 15px;
        font-weight: 700;
    }


    /* RTL */

    html[dir="rtl"] .tech-features-slider .tech-feature {
        text-align: right;
    }

}
/* =========================================================
   COURSES PAGE
   ========================================================= */

.courses-page-hero {
    padding: 52px 0 72px;
    background: #ffffff;
}


/* Heading */

.courses-page-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.courses-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;

    margin-bottom: 27px;
    padding: 6px 17px;

    background: #3b82f6;
    color: #ffffff;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
}

.courses-page-heading h1 {
    margin: 0;

    color: #050505;

    font-size: clamp(42px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;

    letter-spacing: -1.5px;
}

html[dir="rtl"] .courses-page-heading h1 {
    letter-spacing: 0;
    line-height: 1.35;
}

.courses-page-heading p {
    max-width: 490px;

    margin: 25px auto 0;

    color: #191919;

    font-size: 18px;
    line-height: 1.25;
}

html[dir="rtl"] .courses-page-heading p {
    line-height: 1.75;
}


/* Search Form */

.courses-search-form {
    max-width: 1000px;

    margin: 40px auto 0;

    display: grid;
    grid-template-columns: 1.15fr 1fr auto;
    align-items: center;

    gap: 16px;
}


/* Search Input */

.courses-search-field {
    height: 49px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 11px;
}

.courses-search-field svg {
    flex-shrink: 0;
    color: #111827;
}

.courses-search-field input {
    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #111827;

    font: inherit;
    font-size: 16px;
}

.courses-search-field input::placeholder {
    color: #70798a;
}


/* Select */

.courses-select-field {
    position: relative;

    height: 49px;
}

.courses-select-field select {
    width: 100%;
    height: 100%;

    padding: 0 48px 0 18px;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 11px;

    outline: 0;

    color: #111827;

    font: inherit;
    font-size: 16px;

    cursor: pointer;
}

html[dir="rtl"] .courses-select-field select {
    padding-left: 48px;
    padding-right: 18px;
}


/* Search Button */

.courses-search-button {
    height: 46px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    background: #3b82f6;
    color: #ffffff;

    border: 0;
    border-radius: 8px;

    font: inherit;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.courses-search-button:hover {
    background: #2563eb;
}

.courses-search-button svg {
    flex-shrink: 0;
}

html[dir="rtl"] .courses-search-button svg {
    transform: rotate(180deg);
}


/* =========================================================
   COURSES LIST
   ========================================================= */

.courses-page-section {
    padding: 64px 0 85px;

    background: #ffffff;
}

.courses-page-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 58px 32px;
}


/* Override card image sizing specifically for Courses page */

.courses-page-grid .popular-course-card {
    min-height: 0;
}

.courses-page-grid .popular-course-image {
    height: 225px;
}

.courses-page-grid .popular-course-description {
    min-height: 63px;
}


/* Empty result */

.courses-empty {
    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    color: #737b8c;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.courses-pagination {
    margin-top: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.courses-pagination-page,
.courses-pagination-nav {
    min-width: 48px;
    height: 48px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #ffffff;

    border: 1px solid #e3e7ed;
    border-radius: 11px;

    color: #111827;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.courses-pagination-page:hover,
.courses-pagination-nav:hover {
    border-color: #3b82f6;
    color: #3b82f6;

    text-decoration: none;
}

.courses-pagination-page.is-active {
    background: #3b82f6;
    color: #ffffff;

    border-color: #3b82f6;
}

.courses-pagination-nav {
    min-width: 117px;
}

.courses-pagination-nav.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.courses-pagination-arrow {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .courses-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px 22px;
    }

    .courses-search-form {
        grid-template-columns: 1fr 1fr auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .courses-page-hero {
        padding: 50px 0 45px;
    }

    .courses-page-badge {
        margin-bottom: 20px;
    }

    .courses-page-heading h1 {
        font-size: 34px;
    }

    .courses-page-heading p {
        max-width: 330px;

        margin-top: 18px;

        font-size: 15px;
    }


    /* Filters stacked */

    .courses-search-form {
        margin-top: 32px;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .courses-search-field,
    .courses-select-field {
        width: 100%;
        height: 50px;
    }

    .courses-search-button {
        width: 100%;
        height: 50px;
    }


    /* Courses */

    .courses-page-section {
        padding: 42px 0 65px;
    }

    .courses-page-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .courses-page-grid .popular-course-image {
        height: 215px;
    }


    /* Pagination */

    .courses-pagination {
        margin-top: 35px;

        gap: 6px;

        flex-wrap: wrap;
    }

    .courses-pagination-page {
        min-width: 43px;
        height: 43px;

        padding: 0 12px;
    }

    .courses-pagination-nav {
        min-width: auto;
        height: 43px;

        padding: 0 13px;
    }

}
/* =========================================================
   ABOUT PAGE - FINAL
   ========================================================= */


/* =========================================================
   SHARED ABOUT HEADINGS
   ========================================================= */

.about-section-heading {
    max-width: 920px;
    margin: 0 auto 68px;
    text-align: center;
}

.about-section-badge,
.about-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 8px 20px;

    background: #3b82f6;
    color: #ffffff;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;
}

.about-section-heading h2 {
    margin: 25px 0 18px;

    color: #080808;

    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -1px;
}

html[dir="rtl"] .about-section-heading h2 {
    letter-spacing: 0;
    line-height: 1.45;
}

.about-section-heading p {
    max-width: 840px;

    margin: 0 auto;

    color: #6f7889;

    font-size: 20px;
    line-height: 1.35;
}

html[dir="rtl"] .about-section-heading p {
    line-height: 1.8;
}


/* =========================================================
   HERO
   ========================================================= */

.about-hero-section {
    padding: 42px 0 60px;

    background: #ffffff;
}

.about-hero-heading {
    max-width: 1080px;

    margin: 0 auto;

    text-align: center;
}

.about-page-badge {
    margin-bottom: 25px;
}

.about-hero-heading h1 {
    margin: 0;

    color: #080808;

    font-size: clamp(42px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.12;

    letter-spacing: -1.5px;
}

html[dir="rtl"] .about-hero-heading h1 {
    letter-spacing: 0;
    line-height: 1.4;
}

.about-hero-heading p {
    max-width: 850px;

    margin: 24px auto 0;

    color: #6f7889;

    font-size: 21px;
    line-height: 1.35;
}

html[dir="rtl"] .about-hero-heading p {
    line-height: 1.8;
}


/* =========================================================
   ABOUT INTRO
   ========================================================= */

.about-intro-section {
    padding: 40px 0 105px;

    background: #ffffff;
}

.about-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1.05fr;

    align-items: center;

    gap: 100px;
}

.about-intro-content {
    max-width: 640px;
}

.about-intro-content h2 {
    margin: 0 0 30px;

    color: #3b82f6;

    font-size: 39px;
    font-weight: 700;
    line-height: 1.15;
}

html[dir="rtl"] .about-intro-content h2 {
    line-height: 1.5;
}

.about-intro-content p {
    margin: 0 0 30px;

    color: #6f7889;

    font-size: 20px;
    line-height: 1.3;
}

html[dir="rtl"] .about-intro-content p {
    line-height: 1.8;
}

.about-explore-button {
    min-height: 52px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    background: #3b82f6;
    color: #ffffff;

    border-radius: 8px;

    font-size: 17px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.about-explore-button:hover {
    background: #2563eb;

    color: #ffffff;

    text-decoration: none;
}

html[dir="rtl"] .about-explore-button svg {
    transform: rotate(180deg);
}


/* Intro image */

.about-intro-visual {
    position: relative;

    min-height: 590px;
}

.about-intro-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    max-width: 600px;
    height: 590px;

    object-fit: cover;

    border-radius: 28px;
}


/* Floating cards */

.about-floating-card {
    position: absolute;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 20px 24px;

    border: 1.5px solid rgba(255,255,255,.75);
    border-radius: 18px;

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.about-floating-top {
    top: 30px;
    left: 10px;

    width: 365px;
    min-height: 105px;

    background: rgba(255,255,255,.15);

    color: #111827;
}

.about-floating-bottom {
    right: -48px;
    bottom: 22px;

    width: 310px;
    min-height: 105px;

    background: rgba(39,93,185,.88);

    color: #ffffff;
}

.about-floating-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-floating-card strong {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
}


/* =========================================================
   OUR STORY
   ========================================================= */

.about-story-section {
    padding: 70px 0 95px;

    background: #f7f9fc;
}

.about-story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 110px;
}

.about-story-content {
    max-width: 650px;
}

.about-story-content p {
    margin: 0 0 28px;

    color: #6f7889;

    font-size: 20px;
    line-height: 1.3;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}

html[dir="rtl"] .about-story-content p {
    line-height: 1.8;
}

.about-story-image-wrap {
    width: 100%;
}

.about-story-image {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 27px;
}


/* =========================================================
   VISION & MISSION
   ========================================================= */

.about-vision-section {
    padding: 80px 0 95px;

    background: #ffffff;
}

.about-vision-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;
}

.about-vm-card {
    min-height: 265px;

    padding: 38px 45px 30px;

    background: #ffffff;

    border: 1px solid #e4e8ee;
    border-radius: 27px;

    box-shadow: 0 8px 25px rgba(15,23,42,.07);
}

.about-vm-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-bottom: 32px;
}

.about-vm-icon {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4ff;

    border-radius: 20px;

    color: #3b82f6;
}

.about-vm-title h3 {
    margin: 0;

    color: #080808;

    font-size: 30px;
    font-weight: 700;
}

.about-vm-card p {
    margin: 0;

    color: #6f7889;

    text-align: center;

    font-size: 19px;
    line-height: 1.25;
}

html[dir="rtl"] .about-vm-card p {
    line-height: 1.8;
}


/* =========================================================
   WHY CHOOSE US
   ========================================================= */

.about-why-section {
    padding: 80px 0 100px;

    background: #f7f9fc;
}

.about-why-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 30px;
}

.about-why-card {
    min-height: 290px;

    padding: 45px 34px 32px;

    background: #ffffff;

    border: 1px solid #edf0f4;
    border-radius: 26px;

    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.about-why-card-title {
    display: flex;
    align-items: center;

    gap: 20px;

    min-height: 70px;

    margin-bottom: 32px;
}

.about-why-icon {
    width: 65px;
    height: 65px;

    flex: 0 0 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4ff;

    border-radius: 18px;

    color: #3b82f6;
}

.about-why-card h3 {
    margin: 0;

    color: #111827;

    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
}

.about-why-card p {
    margin: 0;

    color: #6f7889;

    font-size: 17px;
    line-height: 1.3;
}

html[dir="rtl"] .about-why-card p {
    line-height: 1.8;
}


/* =========================================================
   CORE VALUES
   ========================================================= */

.about-values-section {
    padding: 80px 0 105px;

    background: #ffffff;
}

.about-values-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;
}

.about-value-card {
    min-height: 210px;

    padding: 28px 38px;

    background: #ffffff;

    border: 1px solid #e5e9ef;
    border-radius: 27px;

    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.about-value-title {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-bottom: 24px;
}

.about-value-icon {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4ff;

    border-radius: 20px;

    color: #3b82f6;
}

.about-value-title h3 {
    margin: 0;

    color: #080808;

    font-size: 29px;
    font-weight: 700;
}

.about-value-card p {
    margin: 0;

    color: #6f7889;

    font-size: 16px;
    line-height: 1.3;
}

html[dir="rtl"] .about-value-card p {
    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .about-intro-grid,
    .about-story-grid {
        gap: 50px;
    }

    .about-why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .about-values-grid {
        gap: 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .about-hero-section {
        padding: 48px 0 45px;
    }

    .about-page-badge,
    .about-section-badge {
        min-height: 34px;

        padding: 7px 16px;

        font-size: 12px;
    }

    .about-hero-heading h1 {
        font-size: 34px;
    }

    .about-hero-heading p {
        max-width: 340px;

        margin-top: 18px;

        font-size: 15px;
    }


    /* Shared headings */

    .about-section-heading {
        margin-bottom: 40px;
    }

    .about-section-heading h2 {
        margin-top: 20px;

        font-size: 31px;
    }

    .about-section-heading p {
        max-width: 340px;

        font-size: 15px;
    }


    /* Intro */

    .about-intro-section {
        padding: 25px 0 65px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .about-intro-content {
        text-align: center;
    }

    .about-intro-content h2 {
        font-size: 30px;
    }

    .about-intro-content p {
        font-size: 15px;
    }

    .about-intro-visual {
        min-height: 450px;
    }

    .about-intro-image {
        position: relative;

        width: 100%;
        height: 420px;

        border-radius: 20px;
    }

    .about-floating-top {
        top: 18px;
        left: 15px;

        width: 260px;
        min-height: 80px;

        padding: 14px 16px;
    }

    .about-floating-bottom {
        right: 15px;
        bottom: 15px;

        width: 245px;
        min-height: 80px;

        padding: 14px 16px;
    }

    .about-floating-card strong {
        font-size: 15px;
    }


    /* Story */

    .about-story-section {
        padding: 60px 0 65px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .about-story-content {
        text-align: center;
    }

    .about-story-content p {
        font-size: 15px;
    }

    .about-story-image {
        height: 360px;

        border-radius: 20px;
    }


    /* Vision Mission */

    .about-vision-section {
        padding: 60px 0 70px;
    }

    .about-vision-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .about-vm-card {
        min-height: 0;

        padding: 28px 22px;
    }

    .about-vm-title {
        justify-content: flex-start;

        margin-bottom: 22px;
    }

    .about-vm-icon {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .about-vm-title h3 {
        font-size: 25px;
    }

    .about-vm-card p {
        text-align: start;

        font-size: 15px;
    }


    /* Why */

    .about-why-section {
        padding: 60px 0 70px;
    }

    .about-why-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .about-why-card {
        min-height: 0;

        padding: 24px 22px;
    }

    .about-why-card-title {
        min-height: 0;

        margin-bottom: 20px;
    }

    .about-why-icon {
        width: 56px;
        height: 56px;

        flex-basis: 56px;
    }

    .about-why-card p {
        font-size: 15px;
    }


    /* Values */

    .about-values-section {
        padding: 60px 0 70px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .about-value-card {
        min-height: 0;

        padding: 25px 22px;
    }

    .about-value-title {
        justify-content: flex-start;

        margin-bottom: 20px;
    }

    .about-value-icon {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .about-value-title h3 {
        font-size: 25px;
    }

    .about-value-card p {
        font-size: 15px;
    }

}
/* =========================================================
   COURSE DETAILS PAGE - FINAL
   ========================================================= */


/* Breadcrumb */

.course-breadcrumb-section {
    padding: 30px 0 15px;
    background: #fff;
}

.course-breadcrumb {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #737d8e;
    font-size: 14px;
}

.course-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #737d8e;
    text-decoration: none;
}

.course-breadcrumb a:hover {
    color: #3b82f6;
}

.course-breadcrumb-arrow {
    font-size: 25px;
    line-height: 1;
}

html[dir="rtl"] .course-breadcrumb-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   HERO
   ========================================================= */

.course-detail-hero {
    padding: 55px 0 75px;
    background: #fff;
}

.course-detail-hero-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 80px;
}

.course-detail-info {
    padding-left: 15px;
}

html[dir="rtl"] .course-detail-info {
    padding-left: 0;
    padding-right: 15px;
}

.course-detail-badge,
.course-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 7px 16px;
    background: #3b82f6;
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.course-detail-info h1 {
    max-width: 600px;
    margin: 80px 0 32px;
    color: #080808;
    font-size: clamp(40px, 3.4vw, 53px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
}

html[dir="rtl"] .course-detail-info h1 {
    line-height: 1.4;
    letter-spacing: 0;
}

.course-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    color: #70798a;
}

.course-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.course-detail-meta-item svg {
    color: #70798a;
}

.course-detail-price {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.course-detail-price strong {
    color: #3b82f6;
    font-size: 38px;
    line-height: 1;
}

.course-detail-price span {
    color: #737d8e;
    font-size: 15px;
}

.course-detail-benefits {
    margin-top: 43px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.course-detail-benefits > div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #3b82f6;
    font-size: 16px;
}

.course-benefit-check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    border: 2px solid #18b863;
    border-radius: 50%;
    color: #18b863;
    font-size: 11px;
    font-weight: 700;
}

.course-detail-actions {
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.course-enroll-button,
.course-contact-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.course-enroll-button {
    background: #3b82f6;
    color: #fff;
}

.course-enroll-button:hover {
    background: #2563eb;
    color: #fff;
}

.course-contact-button {
    min-width: 190px;
    border: 1.5px solid #3b82f6;
    color: #3b82f6;
    background: #fff;
}

.course-contact-button:hover {
    background: #f2f7ff;
    text-decoration: none;
}

html[dir="rtl"] .course-enroll-button svg {
    transform: rotate(180deg);
}


/* Hero image */

.course-detail-visual {
    position: relative;
    min-height: 660px;
}

.course-detail-visual > img {
    width: 100%;
    height: 660px;
    display: block;
    object-fit: cover;
    border-radius: 27px;
}

.course-image-floating {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255,255,255,.95);
    border: 1px solid #edf0f4;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(15,23,42,.08);
}

.course-image-duration {
    top: 28px;
    left: 38px;
}

.course-image-type {
    right: 30px;
    bottom: 28px;
}

.course-floating-icon {
    color: #3b82f6;
}

.course-image-floating div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.course-image-floating strong {
    color: #111827;
    font-size: 19px;
}

.course-image-floating span:not(.course-floating-icon) {
    color: #737d8e;
    font-size: 13px;
}


/* =========================================================
   SHARED SECTION HEADING
   ========================================================= */

.course-section-heading {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.course-section-heading h2 {
    margin: 24px 0 17px;
    color: #080808;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}

.course-section-heading p {
    max-width: 820px;
    margin: 0 auto;
    color: #70798a;
    font-size: 19px;
    line-height: 1.4;
}

html[dir="rtl"] .course-section-heading h2 {
    line-height: 1.45;
}

html[dir="rtl"] .course-section-heading p {
    line-height: 1.8;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.course-overview-section {
    padding: 70px 0 90px;
    background: #f7f9fc;
}

.course-overview-grid {
    display: grid;
    grid-template-columns: 1.5fr .65fr;
    align-items: center;
    gap: 90px;
}

.course-overview-description {
    align-self: start;
}

.course-overview-description p {
    margin: 0;
    color: #697384;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

html[dir="rtl"] .course-overview-description p {
    line-height: 1.8;
}

.course-overview-stats {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-overview-stat {
    min-height: 98px;
    padding: 17px 25px;
    display: flex;
    align-items: center;
    gap: 27px;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 17px;
}

.course-overview-stat-icon,
.course-learning-icon,
.course-requirement-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    border-radius: 16px;
    color: #3b82f6;
}

.course-overview-stat > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.course-overview-stat strong {
    color: #111827;
    font-size: 19px;
    font-weight: 500;
}

.course-overview-stat span {
    color: #111827;
    font-size: 14px;
}


/* =========================================================
   LEARNING OUTCOMES
   ========================================================= */

.course-learning-section {
    padding: 80px 0 100px;
    background: #fff;
}

.course-learning-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 45px 70px;
}

.course-learning-card {
    min-height: 185px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 32px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.course-learning-card h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 21px;
    font-weight: 500;
}

.course-learning-card p {
    margin: 0;
    color: #70798a;
    font-size: 15px;
    line-height: 1.45;
}


/* =========================================================
   CURRICULUM / SESSIONS
   ========================================================= */

.course-curriculum-section {
    padding: 80px 0 100px;
    background: #fff;
}

.course-sessions-box {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(15,23,42,.06);
}

.course-session-row {
    min-height: 105px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid #e8ebef;
}

.course-session-row:last-child {
    border-bottom: 0;
}

.course-session-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b82f6;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
}

.course-session-main,
.course-session-seats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-session-main strong {
    color: #111827;
    font-size: 18px;
}

.course-session-main span,
.course-session-seats span {
    color: #737d8e;
    font-size: 14px;
}

.course-session-seats strong {
    color: #111827;
}

.course-session-enroll {
    padding: 11px 19px;
    background: #3b82f6;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.course-session-enroll:hover {
    background: #2563eb;
    color: #fff;
}

.course-session-full {
    color: #737d8e;
}

.course-no-sessions {
    padding: 50px 20px;
    text-align: center;
    color: #737d8e;
}

.course-no-sessions a {
    color: #3b82f6;
}


/* =========================================================
   INSTRUCTOR
   ========================================================= */

.course-instructor-section {
    padding: 80px 0 100px;
    background: #f7f9fc;
}

.course-instructor-card {
    padding: 35px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 65px;
    align-items: center;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 27px;
    box-shadow: 0 8px 25px rgba(15,23,42,.06);
}

.course-instructor-photo {
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #f5f7fa;
    border-radius: 22px;
}

.course-instructor-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.course-instructor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a7b0bf;
}

.course-instructor-content h3 {
    margin: 0 0 8px;
    color: #080808;
    font-size: 30px;
}

.course-instructor-role {
    display: block;
    margin-bottom: 12px;
    color: #3b82f6;
    font-size: 18px;
    font-weight: 500;
}

.course-instructor-content > p {
    max-width: 800px;
    margin: 0;
    color: #70798a;
    line-height: 1.5;
}

.course-instructor-stats {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.course-instructor-stats > div {
    min-height: 92px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #e3e7ed;
    border-radius: 16px;
}

.course-instructor-stat-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #3b82f6;
    border-radius: 11px;
}

.course-instructor-stats strong {
    color: #111827;
    font-size: 14px;
}


/* =========================================================
   REQUIREMENTS
   ========================================================= */

.course-requirements-section {
    padding: 80px 0 100px;
    background: #fff;
}

.course-requirements-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.course-requirement-item {
    min-height: 115px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid #e2e7ed;
    border-radius: 18px;
    background: #fff;
}

.course-requirement-item h3 {
    margin: 0 0 7px;
    color: #111827;
    font-size: 20px;
    font-weight: 500;
}

.course-requirement-item p {
    margin: 0;
    color: #70798a;
    font-size: 15px;
    line-height: 1.4;
}


/* =========================================================
   FINAL ENROLLMENT
   ========================================================= */

.course-final-enroll {
    padding: 40px 0 90px;
    background: #fff;
}

.course-final-enroll-box {
    padding: 45px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #f7f9fc;
    border-radius: 25px;
}

.course-final-enroll-box h2 {
    margin: 0 0 10px;
    color: #080808;
    font-size: 30px;
}

.course-final-enroll-box p {
    margin: 0;
    color: #70798a;
}

.course-final-button {
    min-height: 52px;
    padding: 0 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #3b82f6;
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 500;
}

.course-final-button:hover {
    background: #2563eb;
    color: #fff;
}

html[dir="rtl"] .course-final-button svg {
    transform: rotate(180deg);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .course-detail-hero-grid {
        gap: 40px;
    }

    .course-detail-info h1 {
        margin-top: 50px;
    }

    .course-learning-grid {
        gap: 25px;
    }

    .course-instructor-card {
        grid-template-columns: 280px 1fr;
        gap: 35px;
    }

}


/* =========================================================
   MOBILE - 390px / PHONE
   ========================================================= */

@media (max-width: 760px) {

    .course-breadcrumb-section {
        padding: 20px 0 5px;
    }

    .course-breadcrumb {
        gap: 7px;
        overflow: hidden;
        white-space: nowrap;
        font-size: 12px;
    }

    .course-breadcrumb > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* Hero */

    .course-detail-hero {
        padding: 35px 0 55px;
    }

    .course-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .course-detail-info {
        padding: 0 !important;
    }

    .course-detail-info h1 {
        margin: 28px 0 22px;
        font-size: 34px;
    }

    .course-detail-meta {
        gap: 16px 20px;
        font-size: 14px;
    }

    .course-detail-price {
        margin-top: 35px;
    }

    .course-detail-price strong {
        font-size: 32px;
    }

    .course-detail-benefits {
        margin-top: 30px;
        gap: 18px;
    }

    .course-detail-benefits > div {
        font-size: 14px;
    }

    .course-detail-actions {
        margin-top: 32px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .course-enroll-button,
    .course-contact-button {
        width: 100%;
        min-width: 0;
    }

    .course-detail-visual {
        min-height: 430px;
    }

    .course-detail-visual > img {
        height: 430px;
        border-radius: 20px;
    }

    .course-image-floating {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .course-image-duration {
        top: 15px;
        left: 15px;
    }

    .course-image-type {
        right: 15px;
        bottom: 15px;
    }

    .course-image-floating strong {
        font-size: 15px;
    }


    /* Shared heading */

    .course-section-heading {
        margin-bottom: 38px;
    }

    .course-section-badge {
        font-size: 12px;
    }

    .course-section-heading h2 {
        margin-top: 19px;
        font-size: 31px;
    }

    .course-section-heading p {
        max-width: 340px;
        font-size: 15px;
    }


    /* Overview */

    .course-overview-section {
        padding: 60px 0 65px;
    }

    .course-overview-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .course-overview-description p {
        font-size: 17px;
        line-height: 1.6;
    }

    .course-overview-stat {
        min-height: 85px;
        padding: 13px 16px;
        gap: 18px;
    }

    .course-overview-stat-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }


    /* Learning */

    .course-learning-section {
        padding: 60px 0 70px;
    }

    .course-learning-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .course-learning-card {
        min-height: 0;
        padding: 22px 18px;
        gap: 18px;
    }

    .course-learning-icon {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }

    .course-learning-card h3 {
        font-size: 18px;
    }

    .course-learning-card p {
        font-size: 14px;
    }


    /* Sessions */

    .course-curriculum-section {
        padding: 60px 0 70px;
    }

    .course-sessions-box {
        padding: 12px;
        border-radius: 18px;
    }

    .course-session-row {
        padding: 18px 10px;
        grid-template-columns: auto 1fr;
        gap: 13px;
    }

    .course-session-number {
        width: 42px;
        height: 42px;
    }

    .course-session-main strong {
        font-size: 14px;
    }

    .course-session-seats {
        grid-column: 2;
    }

    .course-session-enroll,
    .course-session-full {
        grid-column: 2;
        justify-self: start;
    }


    /* Instructor */

    .course-instructor-section {
        padding: 60px 0 70px;
    }

    .course-instructor-card {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 28px;
        border-radius: 20px;
    }

    .course-instructor-photo {
        height: 330px;
    }

    .course-instructor-content h3 {
        font-size: 26px;
    }

    .course-instructor-role {
        font-size: 16px;
    }

    .course-instructor-content > p {
        font-size: 14px;
    }

    .course-instructor-stats {
        margin-top: 28px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .course-instructor-stats > div {
        min-height: 70px;
    }


    /* Requirements */

    .course-requirements-section {
        padding: 60px 0 70px;
    }

    .course-requirements-list {
        gap: 13px;
    }

    .course-requirement-item {
        min-height: 0;
        padding: 18px 15px;
        gap: 15px;
        align-items: flex-start;
    }

    .course-requirement-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .course-requirement-item h3 {
        font-size: 17px;
    }

    .course-requirement-item p {
        font-size: 13px;
    }


    /* Final CTA */

    .course-final-enroll {
        padding: 20px 0 65px;
    }

    .course-final-enroll-box {
        padding: 30px 22px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .course-final-enroll-box h2 {
        font-size: 26px;
    }

    .course-final-enroll-box p {
        font-size: 14px;
    }

    .course-final-button {
        width: 100%;
        justify-content: center;
    }

}
/* =========================================================
   CONTACT PAGE - FINAL
   ========================================================= */

.contact-page-hero {
    padding: 38px 0 90px;
    background: #fff;
}


/* Breadcrumb */

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #737d8e;
    font-size: 14px;
}

.contact-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #737d8e;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #3b82f6;
}

.contact-breadcrumb-arrow {
    font-size: 25px;
    line-height: 1;
}

html[dir="rtl"] .contact-breadcrumb-arrow {
    transform: rotate(180deg);
}


/* Heading */

.contact-hero-heading {
    max-width: 800px;
    margin: 5px auto 0;
    text-align: center;
}

.contact-page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 18px;
    background: #3b82f6;
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.contact-hero-heading h1 {
    margin: 24px 0 18px;
    color: #050505;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
}

html[dir="rtl"] .contact-hero-heading h1 {
    line-height: 1.4;
    letter-spacing: 0;
}

.contact-hero-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #70798a;
    font-size: 18px;
    line-height: 1.45;
}

html[dir="rtl"] .contact-hero-heading p {
    line-height: 1.8;
}


/* =========================================================
   CONTACT INFO CARDS
   ========================================================= */

.contact-info-grid {
    margin-top: 115px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.contact-info-card {
    min-height: 132px;
    padding: 27px 25px;
    display: flex;
    align-items: center;
    gap: 23px;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 27px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .07);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    border-radius: 18px;
    color: #3b82f6;
}

.contact-info-card h3 {
    margin: 0 0 4px;
    color: #080808;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 500;
}

.contact-info-card p {
    margin: 2px 0;
    color: #70798a;
    font-size: 13px;
    line-height: 1.25;
}

.contact-info-card a {
    color: inherit;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: #3b82f6;
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.contact-main-section {
    padding: 70px 0 100px;
    background: #fff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(350px, .9fr);
    align-items: start;
    gap: 18px;
}

.contact-form-side {
    padding: 45px 45px 35px;
    background: #fff;
    border: 1px solid #e2e7ed;
    border-radius: 28px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
}

.contact-form-heading {
    margin-bottom: 55px;
}

.contact-form-heading h2 {
    margin: 24px 0 18px;
    color: #050505;
    font-size: 29px;
    line-height: 1.2;
}

.contact-form-heading p {
    margin: 0;
    color: #70798a;
    font-size: 18px;
    line-height: 1.4;
}


/* Form */

.contact-form {
    width: 100%;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 38px;
}

.contact-field {
    width: 100%;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #dfe4ea;
    outline: none;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 16px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-field input,
.contact-field select {
    height: 56px;
    padding: 0 20px;
    border-radius: 10px;
}

.contact-field textarea {
    min-height: 200px;
    padding: 17px 20px;
    border-radius: 10px;
    resize: vertical;
    line-height: 1.5;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #111827;
    opacity: 1;
}

.contact-field select {
    cursor: pointer;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .10);
}

.contact-message-field {
    margin-bottom: 55px;
}


/* Bottom */

.contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact-privacy {
    min-height: 54px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #e2e7ed;
    border-radius: 8px;
    color: #70798a;
    font-size: 13px;
    cursor: pointer;
}

.contact-privacy input {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    accent-color: #3b82f6;
}

.contact-send-button {
    min-width: 225px;
    height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-shrink: 0;
    border: 0;
    border-radius: 9px;
    background: #3b82f6;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;
}

.contact-send-button:hover {
    background: #2563eb;
}

html[dir="rtl"] .contact-send-button svg {
    transform: rotate(180deg);
}


/* Messages */

.contact-success-message {
    margin: -25px 0 30px;
    padding: 14px 18px;
    border: 1px solid #b9e7cb;
    border-radius: 10px;
    background: #f0fff6;
    color: #168244;
}

.contact-error-message {
    margin: -25px 0 30px;
    padding: 14px 18px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff5f5;
    color: #b91c1c;
}

.contact-error-message ul {
    margin: 0;
    padding-inline-start: 20px;
}


/* =========================================================
   LOCATION CARD
   ========================================================= */

.contact-location-card {
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e4e8ee;
    border-radius: 28px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
}

.contact-map-placeholder {
    position: relative;
    min-height: 445px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(210,218,229,.45) 1px, transparent 1px),
        linear-gradient(rgba(210,218,229,.45) 1px, transparent 1px),
        #eef2f7;
    background-size: 55px 55px;
    color: #70798a;
    text-align: center;
}

.contact-map-placeholder::before,
.contact-map-placeholder::after {
    content: "";
    position: absolute;
    background: #d8e0e9;
    border-radius: 999px;
}

.contact-map-placeholder::before {
    width: 125%;
    height: 18px;
    transform: rotate(-14deg);
}

.contact-map-placeholder::after {
    width: 18px;
    height: 125%;
    transform: rotate(19deg);
}

.contact-map-pin,
.contact-map-placeholder strong,
.contact-map-placeholder span {
    position: relative;
    z-index: 2;
}

.contact-map-pin {
    margin-bottom: 12px;
    color: #ef4444;
}

.contact-map-placeholder strong {
    color: #111827;
    font-size: 17px;
}

.contact-map-placeholder span {
    margin-top: 5px;
    font-size: 13px;
}

.contact-location-bottom {
    min-height: 170px;
    padding: 28px 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #f8fafc;
}

.contact-location-bottom h3 {
    margin: 0 0 20px;
    color: #080808;
    font-size: 18px;
}

.contact-location-bottom p {
    margin: 2px 0;
    color: #080808;
    font-size: 16px;
}

.contact-map-button {
    min-height: 53px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
    background: #3b82f6;
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
}

.contact-map-button.is-disabled {
    cursor: default;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-location-card {
        display: grid;
        grid-template-columns: 1.2fr .8fr;
    }

    .contact-map-placeholder {
        min-height: 350px;
    }

    .contact-location-bottom {
        min-height: 350px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-page-hero {
        padding: 22px 0 55px;
    }


    /* Breadcrumb */

    .contact-breadcrumb {
        gap: 8px;
        font-size: 12px;
    }

    .contact-breadcrumb svg {
        width: 20px;
        height: 20px;
    }


    /* Heading */

    .contact-hero-heading {
        margin-top: 38px;
    }

    .contact-page-badge {
        min-height: 32px;
        padding: 6px 15px;
        font-size: 12px;
    }

    .contact-hero-heading h1 {
        margin: 20px 0 15px;
        font-size: 34px;
    }

    .contact-hero-heading p {
        max-width: 340px;
        font-size: 15px;
        line-height: 1.65;
    }


    /* Contact cards */

    .contact-info-grid {
        margin-top: 55px;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .contact-info-card {
        min-height: 100px;
        padding: 18px;
        gap: 18px;
        border-radius: 18px;
    }

    .contact-info-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        border-radius: 14px;
    }

    .contact-info-icon svg {
        width: 29px;
        height: 29px;
    }

    .contact-info-card h3 {
        font-size: 18px;
    }


    /* Main */

    .contact-main-section {
        padding: 20px 0 70px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-side {
        padding: 25px 18px 20px;
        border-radius: 20px;
    }

    .contact-form-heading {
        margin-bottom: 35px;
    }

    .contact-form-heading h2 {
        margin-top: 19px;
        font-size: 26px;
    }

    .contact-form-heading p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* Fields */

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-bottom: 13px;
    }

    .contact-field input,
    .contact-field select {
        height: 53px;
        font-size: 14px;
    }

    .contact-field textarea {
        min-height: 175px;
        font-size: 14px;
    }

    .contact-message-field {
        margin-top: 13px;
        margin-bottom: 22px;
    }

    .contact-form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
    }

    .contact-privacy {
        min-height: 0;
        padding: 13px;
        align-items: flex-start;
        line-height: 1.5;
    }

    .contact-privacy input {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .contact-send-button {
        width: 100%;
        min-width: 0;
        height: 53px;
    }


    /* Location */

    .contact-location-card {
        display: block;
        border-radius: 20px;
    }

    .contact-map-placeholder {
        min-height: 300px;
    }

    .contact-location-bottom {
        min-height: 0;
        padding: 23px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .contact-location-bottom h3 {
        margin-bottom: 13px;
    }

    .contact-map-button {
        width: 100%;
        margin-top: 10px;
    }

}
/* FIX COURSES SEARCH ALIGNMENT */

.courses-search-form {
    align-items: stretch;
}

.courses-search-field,
.courses-select-field,
.courses-search-button {
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
}

.courses-search-field {
    box-sizing: border-box;
}

.courses-select-field {
    box-sizing: border-box;
}

.courses-select-field select {
    width: 100%;
    height: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.courses-search-button {
    box-sizing: border-box;
    align-self: stretch;
}
