/* Shetabamooz brand tokens + site header. Loaded after style-rtl.css. */
:root {
    --brand-navy: #2f2c7f;
    --brand-navy-dark: #24226a;
    --brand-cyan: #2db8d7;
    --brand-cyan-ink: #0b7a95; /* cyan that passes 4.5:1 on white, for text and white-on-cyan */
    --brand-sky: #d6ebfa;
    --brand-sky-soft: #f2f8fd;
    --brand-gradient: linear-gradient(90deg, var(--brand-navy), var(--brand-cyan));
}

/* ---------- Header ---------- */
.site-header {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(47, 44, 127, .06);
    transition: box-shadow .25s ease;
}
/* Eduport adds .navbar-sticky-on while scrolling; keep it light instead of the theme's solid bar */
.site-header.navbar-sticky-on {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 24px -12px rgba(47, 44, 127, .25);
}
.site-header .navbar { padding-block: .75rem; }

.site-header .brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: 0;
}
.site-header .brand-mark { height: 38px; width: auto; }
.site-header .brand-wordmark { height: 30px; width: auto; }

/* Nav links: navy text, soft sky pill on hover, cyan bar under the active one */
.site-header .navbar-nav .nav-link {
    position: relative;
    color: var(--brand-navy);
    font-weight: 500;
    font-size: .95rem;
    padding: .55rem 1rem !important;
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease;
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-item.dropdown:hover > .nav-link {
    background: var(--brand-sky-soft);
    color: var(--brand-navy);
}
.site-header .navbar-nav .nav-link.active { color: var(--brand-navy); font-weight: 700; }
.site-header .navbar-nav .nav-link.active::before {
    content: "";
    position: absolute;
    inset-inline: 1rem;
    bottom: .2rem;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-gradient);
}

.site-header .dropdown-menu {
    border: 1px solid rgba(47, 44, 127, .08);
    border-radius: 14px;
    box-shadow: 0 16px 40px -16px rgba(47, 44, 127, .3);
    padding: .5rem;
    min-width: 15rem;
}
.site-header .dropdown-item {
    border-radius: 10px;
    color: var(--brand-navy);
    padding: .55rem .85rem;
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--brand-sky-soft);
    color: var(--brand-navy);
}

/* Search pill */
.site-header .header-search { position: relative; }
.site-header .header-search input {
    width: 210px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--brand-sky-soft);
    color: var(--brand-navy);
    padding-inline: 1rem 2.6rem;
    font-size: .9rem;
    transition: border-color .2s ease, background-color .2s ease, width .25s ease;
}
.site-header .header-search input::placeholder { color: rgba(47, 44, 127, .5); }
.site-header .header-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(45, 184, 215, .15);
}
.site-header .header-search button {
    position: absolute;
    top: 50%;
    inset-inline-end: .35rem;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--brand-navy);
}
.site-header .header-search button:hover { color: var(--brand-cyan); }

/* CTA */
.btn-brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 42px;
    padding-inline: 1.25rem;
    border-radius: 999px;
    border: 0;
    background: var(--brand-navy);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-brand:hover,
.btn-brand:focus-visible {
    background: var(--brand-navy-dark);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(47, 44, 127, .6);
    transform: translateY(-1px);
}
.btn-brand i { color: var(--brand-cyan); }

/* Toggler bars in brand navy */
.site-header .navbar-toggler-animation span { background: var(--brand-navy); }

.site-header :focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 2px; }

/* Mobile / tablet: stacked menu card */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 16px 40px -16px rgba(47, 44, 127, .3);
    }
    .site-header .navbar-nav .nav-link.active::before { display: none; }
    .site-header .navbar-nav .nav-link.active { background: var(--brand-sky-soft); }
    .site-header .header-actions { flex-direction: column; align-items: stretch !important; }
    .site-header .header-search input { width: 100%; }
    .site-header .btn-brand { justify-content: center; }
}
@media (max-width: 575.98px) {
    .site-header .brand-mark { height: 32px; }
    .site-header .brand-wordmark { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *, .btn-brand { transition: none !important; }
}

/* ---------- Home hero ---------- */
.btn-brand-lg { height: 52px; padding-inline: 1.75rem; font-size: 1rem; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 4.5rem;
    background:
        radial-gradient(600px 400px at 15% 30%, rgba(45, 184, 215, .18), transparent 70%),
        radial-gradient(500px 360px at 90% 10%, rgba(47, 44, 127, .08), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--brand-sky-soft) 100%);
}
/* faint grid = "code editor" feel */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 44, 127, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 44, 127, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .1);
    color: var(--brand-navy);
    font-size: .875rem;
    font-weight: 500;
    box-shadow: 0 4px 14px -8px rgba(47, 44, 127, .3);
}
.hero-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(45, 184, 215, .2);
}

.hero-title {
    margin: 1.25rem 0 0;
    color: var(--brand-navy);
    font-weight: 900;
    font-size: clamp(1.75rem, 1.1rem + 2vw, 2.6rem);
    line-height: 1.5;
}
.hero-highlight {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    margin: 1.25rem 0 0;
    max-width: 34rem;
    color: #5b5f78;
    font-size: 1.05rem;
    line-height: 2;
}
@media (max-width: 991.98px) { .hero-lead { margin-inline: auto; } }

/* Learn -> intern -> hire */
.hero-path {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}
@media (max-width: 991.98px) { .hero-path { justify-content: center; } }
.hero-path li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: 12px;
    background: #fff;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid rgba(47, 44, 127, .08);
}
.hero-path li i { color: var(--brand-cyan); }
.hero-path li + li::before {
    content: "\f104"; /* fa-angle-left: arrow points along RTL reading direction */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(47, 44, 127, .35);
    margin-inline-end: .35rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 991.98px) { .hero-actions { justify-content: center; } }
.hero-video {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--brand-navy);
    font-weight: 600;
}
.hero-video:hover { color: var(--brand-navy); }
.hero-video-icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-cyan);
    box-shadow: 0 0 0 8px rgba(45, 184, 215, .15), 0 8px 20px -10px rgba(47, 44, 127, .5);
    transition: transform .2s ease;
}
.hero-video:hover .hero-video-icon { transform: scale(1.08); }

.hero-proof {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 2.25rem;
    color: #5b5f78;
    font-size: .9rem;
}
.hero-proof strong { color: var(--brand-navy); }
@media (max-width: 991.98px) { .hero-proof { justify-content: center; } }

/* Visual */
.hero-visual {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    padding-top: 1rem;
    text-align: center;
}
.hero-shape {
    position: absolute;
    inset: 18% 6% 0;
    border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
    background: var(--brand-gradient);
    box-shadow: 0 40px 80px -30px rgba(47, 44, 127, .55);
}
.hero-person {
    position: relative;
    z-index: 1;
    width: 78%;
    height: auto;
}

.hero-code {
    position: absolute;
    z-index: 2;
    bottom: 12%;
    left: -6%;
    padding: .75rem 1rem .85rem;
    border-radius: 14px;
    background: rgba(28, 26, 77, .92);
    box-shadow: 0 20px 40px -18px rgba(28, 26, 77, .7);
    text-align: left;
}
.hero-code-bar { display: flex; gap: 5px; margin-bottom: .5rem; }
.hero-code-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hero-code-bar span:first-child { background: var(--brand-cyan); }
.hero-code pre {
    margin: 0;
    font: 500 .78rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #e6e8ff;
}
.hero-code .t-k { color: #8fd8ff; }
.hero-code .t-f { color: var(--brand-cyan); }
.hero-code .t-s { color: #ffd479; }
.hero-code .t-c { color: #7ee2a8; }

.hero-badge {
    position: absolute;
    z-index: 2;
    top: 26%;
    right: -4%;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 16px 36px -16px rgba(47, 44, 127, .45);
    text-align: start;
}
.hero-badge strong { display: block; color: var(--brand-navy); font-size: .9rem; }
.hero-badge small { color: #6b6f86; font-size: .75rem; }
.hero-badge-icon {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--brand-sky);
    color: var(--brand-navy);
}

.hero-tech {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px -14px rgba(47, 44, 127, .45);
}
.hero-tech img { width: 26px; height: 26px; }
.hero-tech-1 { top: 6%; left: 8%; }
.hero-tech-2 { top: 8%; right: 10%; }
.hero-tech-3 { bottom: 34%; left: -2%; }

@keyframes hero-float { 50% { transform: translateY(-8px); } }
.hero-float { animation: hero-float 5s ease-in-out infinite; }
.hero-float-delay { animation-delay: -2.5s; }

@media (max-width: 575.98px) {
    .hero { padding: 2rem 0 3rem; }
    .hero-code { left: 0; bottom: 6%; }
    .hero-code pre { font-size: .68rem; }
    .hero-badge { right: 0; top: 18%; padding: .55rem .75rem; }
    .hero-tech-2, .hero-tech-3 { display: none; }
    .hero-path { gap: .3rem; flex-wrap: nowrap; }
    .hero-path li { padding: .4rem .6rem; font-size: .8rem; }
    .hero-path li + li::before { margin-inline-end: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float { animation: none; }
}

/* ---------- Home stats (minimal strip overlapping hero edge) ---------- */
.stats-section { position: relative; z-index: 2; margin-top: -2.5rem; padding-bottom: 3rem; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 1.75rem 0;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .07);
    border-radius: 20px;
    box-shadow: 0 24px 48px -32px rgba(47, 44, 127, .35);
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: .25rem 1rem;
    text-align: center;
}
.stat + .stat { border-inline-start: 1px solid rgba(47, 44, 127, .08); }
.stat-value {
    color: var(--brand-navy);
    font-weight: 800;
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--brand-cyan-ink); margin-inline-start: .1rem; }
.stat-label { color: #6b6f86; font-size: .9rem; }

@media (max-width: 767.98px) {
    .stats-section { margin-top: -1.5rem; }
    .stats { grid-template-columns: repeat(2, 1fr); padding: .5rem 0; }
    .stat { padding: 1.1rem .75rem; }
    .stat:nth-child(odd) { border-inline-start: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(47, 44, 127, .08); }
}

/* ---------- Shared section system ---------- */
.sec { padding: 5rem 0; }
.sec-tint { background: var(--brand-sky-soft); }
@media (max-width: 767.98px) { .sec { padding: 3.5rem 0; } }

.sec-head { margin-bottom: 2.5rem; }
.sec-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.sec-eyebrow {
    display: inline-block;
    color: var(--brand-cyan-ink);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: .5rem;
}
.sec-title {
    color: var(--brand-navy);
    font-weight: 900;
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
    margin: 0;
}
.sec-sub { color: #6b6f86; margin: .6rem 0 0; }
.sec-head.text-center .sec-sub { max-width: 34rem; margin-inline: auto; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--brand-navy);
    font-weight: 700;
    font-size: .92rem;
}
.link-arrow i { color: var(--brand-cyan); font-size: .8em; transition: transform .2s ease; }
.link-arrow:hover { color: var(--brand-navy); }
.link-arrow:hover i, article:hover .link-arrow i { transform: translateX(-4px); }

/* shared card surface */
.step, .course-card, .quote-card, .post-card {
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .07);
    border-radius: 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step:hover, .course-card:hover, .post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 184, 215, .35);
    box-shadow: 0 24px 48px -28px rgba(47, 44, 127, .45);
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
/* dashed connector behind the cards */
.steps::before {
    content: "";
    position: absolute;
    top: 3.6rem;
    inset-inline: 16%;
    border-top: 2px dashed rgba(45, 184, 215, .4);
}
.step { position: relative; padding: 2rem 1.75rem; }
.step-num {
    position: absolute;
    top: 1.25rem;
    inset-inline-end: 1.5rem;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .35;
}
.step-icon {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-sky);
    color: var(--brand-navy);
    font-size: 1.3rem;
}
.step-title { color: var(--brand-navy); font-size: 1.1rem; font-weight: 800; margin: 1.25rem 0 .5rem; }
.step-text { color: #6b6f86; font-size: .92rem; line-height: 1.9; margin-bottom: 1.25rem; }
@media (max-width: 991.98px) {
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
}

/* ---------- Course card ---------- */
.course-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.course-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover .course-media img { transform: scale(1.05); }
.course-level, .course-off {
    position: absolute;
    top: .75rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}
.course-level { inset-inline-start: .75rem; background: rgba(255, 255, 255, .92); color: var(--brand-navy); }
.course-off { inset-inline-end: .75rem; background: var(--brand-cyan-ink); color: #fff; }
.course-body { padding: 1.1rem 1.25rem 0; flex: 1; }
.course-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .4rem; }
.course-title a { color: var(--brand-navy); }
.course-desc {
    color: #6b6f86;
    font-size: .85rem;
    line-height: 1.8;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0; color: #6b6f86; font-size: .8rem; }
.course-meta i { color: var(--brand-cyan); margin-inline-end: .3rem; }
.course-foot {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: .6rem;
    margin: 1rem 1.25rem 0;
    padding: .9rem 0 1.1rem;
    border-top: 1px dashed rgba(47, 44, 127, .12);
}
.course-foot del { color: #6b6f86; font-size: .8rem; }
.course-price { color: var(--brand-navy); font-weight: 900; font-size: 1.05rem; }
.course-price small { font-weight: 500; font-size: .75rem; color: #6b6f86; }

/* ---------- Testimonials ---------- */
.quote-card { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 1.75rem; }
.quote-mark { color: var(--brand-sky); font-size: 2.2rem; }
.quote-card blockquote { flex: 1; margin: .75rem 0 1.5rem; color: #3f4260; line-height: 2; font-size: .95rem; }
.quote-card figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid rgba(47, 44, 127, .07); }
.quote-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--brand-sky); }
.quote-card strong { display: block; color: var(--brand-navy); font-size: .95rem; }
.quote-card small { color: #6b6f86; font-size: .78rem; }
.sec .tiny-slider .tns-item > div { height: 100%; }
.sec .tiny-slider .tns-inner { padding-block: .75rem 1.5rem; }

/* ---------- Instructors ---------- */
.teacher-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-sky); }
.teacher-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teacher-card:hover img { transform: scale(1.05); }
.teacher-info {
    position: absolute;
    inset: auto .75rem .75rem;
    padding: .8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}
.teacher-info strong { display: block; color: var(--brand-navy); font-size: .95rem; }
.teacher-info small { color: #6b6f86; font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    border-radius: 28px;
    background:
        radial-gradient(500px 300px at 10% 120%, rgba(45, 184, 215, .45), transparent 70%),
        linear-gradient(135deg, var(--brand-navy) 0%, #23216a 100%);
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}
.cta-mark { position: absolute; inset-inline-start: 38%; top: 50%; transform: translateY(-50%); height: 180%; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }
.cta-text { position: relative; }
.cta-text h2 { color: #fff; font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: 0 0 .5rem; }
.cta-text p { color: rgba(255, 255, 255, .75); margin: 0; }
.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    height: 52px;
    padding-inline: 1.75rem;
    border-radius: 999px;
    background: var(--brand-cyan-ink);
    color: #fff;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-cta:hover, .btn-cta:focus-visible { color: #fff; background: #086478; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(45, 184, 215, .8); }
@media (max-width: 767.98px) {
    .cta-band { flex-direction: column; text-align: center; }
    .cta-mark { display: none; }
}

/* ---------- Blog ---------- */
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.post-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.post-date { color: #6b6f86; font-size: .8rem; }
.post-date i { color: var(--brand-cyan); margin-inline-end: .35rem; }
.post-title { font-size: 1.02rem; font-weight: 800; line-height: 1.8; margin: .5rem 0; }
.post-title a { color: var(--brand-navy); }
.post-excerpt {
    flex: 1;
    color: #6b6f86;
    font-size: .87rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .step, .course-card, .post-card, .course-media img, .teacher-card img, .post-media img, .link-arrow i, .btn-cta { transition: none !important; }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    padding-top: 4.5rem;
    color: rgba(255, 255, 255, .7);
    background:
        radial-gradient(600px 300px at 85% 0%, rgba(45, 184, 215, .22), transparent 70%),
        linear-gradient(180deg, var(--brand-navy) 0%, #1d1b55 100%);
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    pointer-events: none;
}
.footer-main { padding-bottom: 3rem; }

.footer-brand { display: inline-flex; align-items: center; gap: .55rem; }
.footer-brand img { width: auto; filter: brightness(0) invert(1); }
.footer-brand img:first-child { height: 40px; }
.footer-brand img:last-child { height: 32px; }
.footer-about { margin: 1.25rem 0 1.5rem; line-height: 2; font-size: .92rem; max-width: 22rem; }

.footer-social { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--brand-cyan); color: #fff; transform: translateY(-2px); }

.footer-title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-links a { color: rgba(255, 255, 255, .7); font-size: .92rem; transition: color .2s ease, padding .2s ease; }
.footer-links a:hover { color: var(--brand-cyan); padding-inline-start: .3rem; }

.footer-contact { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.9; }
.footer-contact i { color: var(--brand-cyan); margin-top: .45rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--brand-cyan); }
.btn-cta-sm { height: 44px; padding-inline: 1.25rem; font-size: .9rem; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--brand-cyan); }
@media (max-width: 767.98px) {
    .site-footer { margin-top: 1.5rem; padding-top: 3.5rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* back-to-top in brand colors */
.back-top { background: var(--brand-navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 44, 127, .6); }
.back-top:hover { background: var(--brand-cyan); color: #fff; }

/* ---------- Inner page header ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.5rem;
    background:
        radial-gradient(500px 300px at 10% 0%, rgba(45, 184, 215, .18), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--brand-sky-soft) 100%);
    text-align: center;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 44, 127, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 44, 127, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    pointer-events: none;
}
.page-crumbs { display: inline-flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: #6b6f86; }
.page-crumbs li + li::before { content: "/"; margin-inline-end: .5rem; color: rgba(47, 44, 127, .25); }
.page-crumbs a { color: var(--brand-navy); }
.page-crumbs a:hover { color: var(--brand-cyan); }
.page-title { color: var(--brand-navy); font-weight: 900; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); margin: 0; }
.page-sub { color: #6b6f86; margin: .75rem auto 0; max-width: 34rem; }

.page-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    max-width: 560px;
    margin: 2rem auto 0;
    padding: .4rem;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .08);
    border-radius: 999px;
    box-shadow: 0 18px 40px -24px rgba(47, 44, 127, .45);
}
.page-search > i { color: var(--brand-cyan); margin-inline-start: .9rem; }
.page-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--brand-navy); padding: .5rem; font-size: .95rem; }
.page-search input:focus { outline: none; }
.page-search:focus-within { border-color: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(45, 184, 215, .15), 0 18px 40px -24px rgba(47, 44, 127, .45); }

/* ---------- List toolbar ---------- */
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.list-count { color: #6b6f86; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .1);
    color: var(--brand-navy);
    font-size: .88rem;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip span { color: #6b6f86; font-weight: 500; font-size: .78rem; }
.chip:hover { border-color: var(--brand-cyan); color: var(--brand-navy); }
.chip.active { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.chip.active span { color: var(--brand-cyan); }
@media (max-width: 575.98px) {
    .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: .25rem; scrollbar-width: none; }
    .chip { flex: none; }
}

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 4rem 1rem; background: #fff; border: 1px dashed rgba(47, 44, 127, .15); border-radius: 20px; }
.empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--brand-sky); color: var(--brand-navy); font-size: 1.4rem; }
.empty-state h2 { color: var(--brand-navy); font-size: 1.25rem; font-weight: 800; margin: 1.25rem 0 .5rem; }
.empty-state p { color: #6b6f86; }

/* ---------- Pagination ---------- */
.brand-pagination { display: flex; justify-content: center; margin-top: 3rem; }
.brand-pagination nav > div:first-child { display: none; } /* Laravel's "showing x to y" line */
.brand-pagination .pagination { gap: .4rem; margin: 0; }
.brand-pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(47, 44, 127, .1) !important;
    border-radius: 12px !important;
    color: var(--brand-navy);
    background: #fff;
    font-weight: 600;
}
.brand-pagination .page-link:hover { border-color: var(--brand-cyan) !important; color: var(--brand-navy); background: var(--brand-sky-soft); }
.brand-pagination .page-item.active .page-link { background: var(--brand-navy); border-color: var(--brand-navy) !important; color: #fff; }
.brand-pagination .page-item.disabled .page-link { opacity: .45; }

/* ---------- Course detail ---------- */
.course-hero { text-align: start; padding: 2.5rem 0 3rem; }
.course-hero .page-title { max-width: 46rem; line-height: 1.6; }
.course-hero-sub { color: #5b5f78; max-width: 42rem; margin: .9rem 0 0; line-height: 2; }
.course-facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.course-facts li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .08);
    color: var(--brand-navy);
    font-size: .85rem;
    font-weight: 600;
}
.course-facts i { color: var(--brand-cyan); }
.course-teacher-line { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; color: #6b6f86; font-size: .9rem; }
.course-teacher-line img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.course-teacher-line strong { color: var(--brand-navy); }

/* in-page nav */
.detail-nav {
    position: sticky;
    top: 104px; /* header (~91px) + 12px float gap */
    z-index: 5;
    display: flex;
    gap: .25rem;
    overflow-x: auto;
    padding: .4rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(47, 44, 127, .1);
    box-shadow: 0 1px 2px rgba(47, 44, 127, .06), 0 14px 32px -14px rgba(47, 44, 127, .35);
    border-radius: 16px;
    scrollbar-width: none;
}
.detail-nav a {
    flex: none;
    padding: .55rem 1rem;
    border-radius: 12px;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: .9rem;
}
.detail-nav a:hover { background: var(--brand-sky-soft); color: var(--brand-navy); }
.detail-nav span { color: var(--brand-cyan-ink); font-size: .8rem; }
html { scroll-padding-top: 170px; }

.detail-block {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .07);
    border-radius: 20px;
}
@media (max-width: 575.98px) { .detail-block { padding: 1.25rem; } }
.detail-title { color: var(--brand-navy); font-size: 1.3rem; font-weight: 900; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.detail-subtitle { color: var(--brand-navy); font-size: 1.05rem; font-weight: 800; margin: 2rem 0 1rem; }
.detail-count { padding: .1rem .6rem; border-radius: 999px; background: var(--brand-sky); color: var(--brand-navy); font-size: .8rem; }

/* rich text from the editor */
.prose { color: #3f4260; line-height: 2.1; font-size: .98rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--brand-navy); font-weight: 800; margin: 1.75rem 0 .75rem; font-size: 1.1rem; }
.prose p { margin-bottom: 1rem; }
.prose a { color: var(--brand-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose ul, .prose ol { padding-inline-start: 1.25rem; }
.prose li { margin-bottom: .4rem; }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: #3f4260; line-height: 1.9; }
.checklist i {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    margin-top: .3rem;
    border-radius: 50%;
    background: var(--brand-sky);
    color: var(--brand-navy);
    font-size: .65rem;
}
@media (max-width: 575.98px) { .checklist { grid-template-columns: 1fr; } }

.teacher-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.teacher-row img { flex: none; width: 112px; height: 112px; border-radius: 20px; object-fit: cover; background: var(--brand-sky); }
.teacher-row h3 { color: var(--brand-navy); font-size: 1.1rem; font-weight: 800; margin: 0; }
.teacher-role { display: inline-block; margin-top: .35rem; color: var(--brand-cyan-ink); font-size: .85rem; font-weight: 600; }
.teacher-row p { color: #5b5f78; line-height: 2; margin: .75rem 0 0; }
@media (max-width: 575.98px) { .teacher-row { flex-direction: column; } }

.faq-item { border: 1px solid rgba(47, 44, 127, .08); border-radius: 14px; margin-bottom: .75rem; overflow: hidden; }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 0;
    background: #fff;
    color: var(--brand-navy);
    font-weight: 700;
    text-align: start;
}
.faq-q i { flex: none; color: var(--brand-cyan); transition: transform .25s ease; }
.faq-q:not(.collapsed) { background: var(--brand-sky-soft); }
.faq-q:not(.collapsed) i { transform: rotate(45deg); }
.faq-a { margin: 0; padding: 0 1.25rem 1.1rem; background: var(--brand-sky-soft); color: #5b5f78; line-height: 2; }

.review { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(47, 44, 127, .07); }
.review-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 800;
}
.review-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.review-head strong { color: var(--brand-navy); }
.review-head time { color: #6b6f86; font-size: .8rem; }
.review p { color: #3f4260; line-height: 2; margin: .4rem 0 0; }
.review-empty { color: #6b6f86; padding: 1rem; background: var(--brand-sky-soft); border-radius: 14px; }

.review-form { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed rgba(47, 44, 127, .12); }
.review-form .form-label { color: var(--brand-navy); font-weight: 600; font-size: .88rem; }
.brand-input {
    border-radius: 12px;
    border: 1px solid rgba(47, 44, 127, .12);
    background: var(--brand-sky-soft);
    color: var(--brand-navy);
    padding: .7rem 1rem;
}
.brand-input:focus { background: #fff; border-color: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(45, 184, 215, .15); }
.review-form .btn-brand { cursor: pointer; }

/* enroll card */
.enroll-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -36px rgba(47, 44, 127, .5);
}
.enroll-media { position: relative; aspect-ratio: 16 / 10; }
.enroll-media img { width: 100%; height: 100%; object-fit: cover; }
.enroll-body { padding: 1.5rem; }
.enroll-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; margin-bottom: 1.25rem; }
.enroll-price strong { color: var(--brand-navy); font-size: 1.75rem; font-weight: 900; }
.enroll-price span { color: #6b6f86; font-size: .9rem; }
.enroll-price del { color: #6b6f86; font-size: .9rem; margin-inline-start: auto; }
.enroll-secondary { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: .9rem; color: var(--brand-navy); font-size: .85rem; font-weight: 600; }
.enroll-secondary i { color: var(--brand-cyan); }
.enroll-secondary:hover { color: var(--brand-cyan); }
.enroll-info { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid rgba(47, 44, 127, .07); }
.enroll-info li { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid rgba(47, 44, 127, .07); font-size: .88rem; }
.enroll-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.enroll-info span { color: #6b6f86; }
.enroll-info span i { color: var(--brand-cyan); width: 1.25rem; margin-inline-end: .35rem; }
.enroll-info strong { color: var(--brand-navy); }
@media (max-width: 991.98px) { .enroll-card { position: static; } }

/* ---------- Blog ---------- */
.post-media { position: relative; }

.post-featured {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    margin-bottom: 2rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .07);
    border-radius: 24px;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.post-featured:hover { border-color: rgba(45, 184, 215, .35); box-shadow: 0 30px 60px -36px rgba(47, 44, 127, .5); }
.post-featured-media { min-height: 300px; overflow: hidden; }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-featured:hover .post-featured-media img { transform: scale(1.04); }
.post-featured-body { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.post-featured-body h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 900; line-height: 1.7; margin: 0 0 .75rem; }
.post-featured-body h2 a { color: var(--brand-navy); }
.post-featured-body p { color: #5b5f78; line-height: 2; margin-bottom: 1.5rem; }
.post-featured-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #6b6f86; font-size: .85rem; }
.post-featured-meta i { color: var(--brand-cyan); margin-inline-end: .35rem; }
@media (max-width: 991.98px) {
    .post-featured { grid-template-columns: 1fr; }
    .post-featured-media { min-height: 0; aspect-ratio: 16 / 9; }
    .post-featured-body { padding: 1.5rem; }
}

/* single post */
.article-wrap { max-width: 800px; margin-inline: auto; }
.article-hero { text-align: start; padding-bottom: 6rem; }
.article-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.article-cats .chip { padding: .3rem .85rem; font-size: .8rem; }
.article-hero .page-title { line-height: 1.6; }
.article-lead { color: #5b5f78; font-size: 1.05rem; line-height: 2; margin: 1rem 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; color: #6b6f86; font-size: .88rem; }
.article-meta i { color: var(--brand-cyan); margin-inline-end: .4rem; }

.article-cover { margin: -4.5rem 0 2.5rem; position: relative; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(47, 44, 127, .45); }

.article-body { font-size: 1.05rem; line-height: 2.2; }
.article-body h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 4px solid var(--brand-cyan);
    background: var(--brand-sky-soft);
    border-radius: 0 12px 12px 0;
    color: var(--brand-navy);
}
.article-body pre, .article-body code { direction: ltr; text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article-body pre { padding: 1rem 1.25rem; border-radius: 14px; background: #1c1a4d; color: #e6e8ff; overflow-x: auto; font-size: .85rem; }
.article-body table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .92rem; }
.article-body th, .article-body td { padding: .6rem .8rem; border: 1px solid rgba(47, 44, 127, .1); }
.article-body th { background: var(--brand-sky-soft); color: var(--brand-navy); }

.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(47, 44, 127, .08); color: #6b6f86; font-size: .9rem; }
.article-tags i { color: var(--brand-cyan); }
.article-tags .chip { padding: .3rem .8rem; font-size: .8rem; font-weight: 500; }

.article-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--brand-sky-soft);
    border: 1px solid rgba(45, 184, 215, .25);
}
.article-cta strong { display: block; color: var(--brand-navy); font-size: 1rem; }
.article-cta p { color: #6b6f86; font-size: .88rem; margin: .3rem 0 0; }
.article-cta .btn-brand { margin-inline-start: auto; flex: none; }
@media (max-width: 575.98px) {
    .article-cta { flex-direction: column; text-align: center; }
    .article-cta .btn-brand { margin-inline-start: 0; }
    .article-cover { margin-top: -4rem; }
    .article-cover img { border-radius: 16px; }
}

/* inline form feedback */
.form-success { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(45, 184, 215, .12); color: var(--brand-navy); font-weight: 600; font-size: .9rem; }
.form-success i { color: var(--brand-cyan); }
.brand-input.is-invalid { border-color: #e35d6a; background-image: none; }

/* ---------- About ---------- */
.about-text { color: #4a4e6a; line-height: 2.2; margin-top: 1.25rem; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.about-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 28px;
    background:
        radial-gradient(400px 260px at 0% 100%, rgba(45, 184, 215, .45), transparent 70%),
        linear-gradient(135deg, var(--brand-navy), #23216a);
}
.about-panel .cta-mark { inset-inline-start: auto; inset-inline-end: -8%; height: 130%; }
.about-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.about-stats li { padding: 1.25rem; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.about-stats strong { display: block; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 900; line-height: 1.2; }
.about-stats strong span { color: var(--brand-cyan); }
.about-stats small { color: rgba(255, 255, 255, .7); font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-hint { color: #6b6f86; margin: -.5rem 0 1.5rem; }
.contact-form .form-label { color: var(--brand-navy); font-weight: 600; font-size: .88rem; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(47, 44, 127, .07);
    border-radius: 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { border-color: rgba(45, 184, 215, .4); box-shadow: 0 18px 36px -24px rgba(47, 44, 127, .45); }
.contact-card .step-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; }
.contact-card small { display: block; color: #6b6f86; font-size: .8rem; margin-bottom: .15rem; }
.contact-card strong { color: var(--brand-navy); font-size: .98rem; line-height: 1.8; }
.contact-social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.contact-social a { color: var(--brand-navy); font-weight: 700; font-size: .9rem; }
.contact-social a:hover { color: var(--brand-cyan); }
.contact-social i { color: var(--brand-cyan); }
.contact-map { margin-top: .9rem; border-radius: 18px; overflow: hidden; border: 1px solid rgba(47, 44, 127, .07); aspect-ratio: 4 / 3; background: var(--brand-sky-soft); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* secondary header action (student login) */
.btn-brand-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    height: 42px;
    padding-inline: 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(47, 44, 127, .2);
    background: transparent;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease;
}
.btn-brand-outline i { color: var(--brand-cyan); }
.btn-brand-outline:hover, .btn-brand-outline:focus-visible { border-color: var(--brand-navy); background: var(--brand-sky-soft); color: var(--brand-navy); }
/* make room on mid desktops: shrink search before anything wraps */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .header-search input { width: 170px; }
}

/* ---------- Cooperation: process timeline ---------- */
.process { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.process li { position: relative; counter-increment: step; padding-inline-start: 3.25rem; padding-bottom: 1.4rem; }
.process li::before {
    content: counter(step);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
}
.process li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 17px;
    top: 40px;
    bottom: 4px;
    border-inline-start: 2px dashed rgba(45, 184, 215, .45);
}
.process strong { display: block; color: var(--brand-navy); font-size: .98rem; }
.process span { color: #6b6f86; font-size: .88rem; line-height: 1.9; }
.checklist-single { grid-template-columns: 1fr; }
