/* ==========================================================================
   Education Incubator — homepage design system
   Token values below are the approved brand spec (client-provided reference
   mockup). They override custom.css's placeholder --purple/--night/etc.
   values — safe because no other view in this codebase references those
   custom properties directly (verified: only this file does).
   Classes are "edu-" prefixed throughout to avoid colliding with Bootstrap's
   own .container/.btn/.logo classes used sitewide — layout containers reuse
   Bootstrap's own .container for consistency with the rest of the site.

   NOTE ON !important: public/assets/web/asset/css/custom.css forces
   font-size (and line-height) on every h1-h6/p/li/a tag site-wide via
   `!important` (e.g. `h4 { font-size: var(--base-h4-size) !important; }`).
   Since this stylesheet loads after custom.css, matching `!important` here
   wins on source order — every rule below that sizes a heading/paragraph/
   link tag needs it, or the legacy rule silently wins.
   ========================================================================== */

:root {
    --purple: #7c5cff;
    --purple-dark: #5b3df0;
    --night: #0e0b1f;
    --heading: #1a1730;
    --text: #5b5876;
    --muted: #a29ecb;
    --bg-light: #f9f8fd;
    --line: #ece9f7;

    --edu-orange: #ffb020;
    --edu-green: #3ecf8e;
    --edu-dark-bg2: #141130;
    --edu-card-dark: #1c1836;
    --edu-border-dark: #2c2750;
    --edu-purple-rgb: 124, 92, 255;
    --edu-topbar-bg: #45106f;
    --edu-radius: 14px;
    --edu-section-py: clamp(48px, 7vw, 90px);
}

.edu-section {
    padding-block: var(--edu-section-py);
    position: relative;
}

.edu-section--light {
    background: #fff;
}

.edu-section--muted {
    background: var(--bg-light);
}

.edu-section--dark {
    background: var(--night);
    color: #fff;
}

.edu-section--dark2 {
    background: var(--edu-dark-bg2);
    color: #fff;
}

/* ---------- Eyebrow / heading ---------- */
.edu-eyebrow {
    text-align: center;
    color: var(--purple);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.edu-eyebrow--start {
    text-align: start;
}

.edu-section--dark .edu-eyebrow--invert {
    color: #fff;
}

.edu-eyebrow-pill {
    display: inline-block;
    background: rgba(var(--edu-purple-rgb), 0.15);
    color: var(--purple);
    border: 1px solid rgba(var(--edu-purple-rgb), 0.4);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.edu-section-title {
    text-align: center;
    font-size: clamp(28px, 3.4vw, 38px) !important;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.25 !important;
}

.edu-section--dark .edu-section-title,
.edu-section--dark2 .edu-section-title {
    color: #fff;
}

.edu-section-title .edu-accent {
    color: var(--purple);
}

.edu-section-sub {
    text-align: center;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.edu-section--dark .edu-section-sub,
.edu-section--dark2 .edu-section-sub {
    color: var(--muted);
}

/* ---------- Buttons ---------- */
.edu-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px !important;
    line-height: 1.4 !important;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.edu-btn:hover {
    transform: translateY(-1px);
}

.edu-btn-primary {
    background: var(--purple);
    color: #fff;
}

.edu-btn-primary:hover {
    color: #fff;
    background: var(--purple-dark);
}

.edu-btn-orange {
    background: var(--edu-orange);
    color: #2b1d00;
}

.edu-btn-orange:hover {
    color: #2b1d00;
}

.edu-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.edu-btn-outline:hover {
    color: #fff;
    border-color: #fff;
}

.edu-btn-outline-dark {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}

.edu-btn-outline-dark:hover {
    color: var(--purple-dark);
    border-color: var(--purple-dark);
}

.edu-btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.edu-center-btn {
    text-align: center;
}

/* ---------- Grids ---------- */
.edu-grid {
    display: grid;
    gap: 24px;
}

.edu-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.edu-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.edu-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .edu-grid--3,
    .edu-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .edu-grid--2,
    .edu-grid--3,
    .edu-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ---------- Logo (header + footer) ---------- */
.edu-logo {
    color: #fff;
    font-weight: 800;
    font-size: 19px !important;
    line-height: 1.2 !important;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.edu-logo img {
    height: 52px;
    width: auto;
    display: block;
}

.edu-footer .edu-logo img {
    height: 42px;
}

.edu-logo-dot {
    width: 10px;
    height: 10px;
    background: var(--purple);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ---------- Header top bar ---------- */
.edu-topbar {
    background: var(--edu-topbar-bg, #45106f);
    padding: 8px 0;
}

.edu-topbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.edu-topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ece6f5;
    border: none;
    color: var(--heading);
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.edu-topbar-pill:hover {
    background: #fff;
    color: var(--purple-dark);
}

.edu-topbar-pill i {
    font-size: 15px;
    color: var(--purple-dark);
}

/* ---------- Header nav ---------- */
.edu-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    padding: 14px 0;
    border-bottom: 3px solid var(--edu-topbar-bg, #45106f);
    box-shadow: 0 2px 12px rgba(26, 23, 48, 0.06);
}

.edu-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.edu-nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    min-width: 0;
}

.edu-nav-links a {
    position: relative;
    color: var(--heading);
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding-block: 6px;
}

.edu-nav-links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--purple-dark);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.edu-nav-links a:hover,
.edu-nav-links a.active {
    color: var(--purple-dark);
}

.edu-nav-links a:hover::after,
.edu-nav-links a.active::after {
    transform: scaleX(1);
}

.edu-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.edu-nav-actions .edu-signin {
    color: var(--muted);
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-decoration: none;
    white-space: nowrap;
}

.edu-nav-actions .edu-signin:hover {
    color: #fff;
}

.edu-nav-toggle {
    color: var(--heading);
    font-size: 1.4rem;
    cursor: pointer;
}

.edu-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.edu-lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.edu-lang-btn i {
    font-size: 14px;
}

.edu-lang-modal-content {
    border-radius: var(--edu-radius, 14px);
    border: none;
}

.edu-lang-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edu-lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--heading);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}

.edu-lang-option:hover {
    border-color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .06);
}

.edu-lang-option.active {
    border-color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .08);
    color: var(--purple);
}

.edu-lang-option i {
    color: var(--purple);
}

/* ==========================================================================
   Section-specific
   ========================================================================== */

/* Hero */
.edu-hero {
    background: radial-gradient(ellipse at top, #1c1640 0%, #0e0b1f 60%);
    color: #fff;
    padding-block: clamp(56px, 9vw, 90px) clamp(48px, 7vw, 70px);
    text-align: center;
}

.edu-hero h1 {
    font-size: clamp(30px, 4.4vw, 50px) !important;
    font-weight: 800;
    line-height: 1.2 !important;
    margin-bottom: 22px;
}

.edu-hero h1 .edu-accent {
    color: var(--purple);
}

.edu-hero p {
    max-width: 640px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.edu-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.edu-hero-search {
    max-width: 620px;
    margin: 0 auto;
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    gap: 8px;
}

.edu-hero-search select,
.edu-hero-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 14px;
    font-size: 15px;
    flex: 1;
}

.edu-hero-search select {
    border-inline-end: 1px solid var(--edu-border-dark);
    flex: 0 0 140px;
}

.edu-hero-search button {
    background: var(--edu-orange);
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 15px;
    color: #2b1d00;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .edu-hero-search {
        flex-wrap: wrap;
    }

    .edu-hero-search select,
    .edu-hero-search input {
        flex: 1 1 100%;
        border-inline-end: none;
    }
}

/* Not Just Education (intro) */
.edu-heading-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.edu-heading-row h2 {
    flex: 1;
    min-width: 280px;
    font-size: clamp(24px, 2.8vw, 32px) !important;
    line-height: 1.3 !important;
    font-weight: 800;
    color: var(--heading);
}

.edu-heading-row h2 .edu-accent {
    color: var(--purple);
}

.edu-heading-row p {
    flex: 1;
    min-width: 280px;
    color: var(--text);
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.edu-trio-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
}

.edu-trio-card .edu-icon-box {
    width: 46px;
    height: 46px;
    background: var(--purple);
    border-radius: 10px;
    margin: 0 auto 20px;
}

.edu-trio-card h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading);
}

.edu-trio-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--text);
}

/* Feature cards (Everything you need) */
.edu-feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px 26px;
    height: 100%;
}

.edu-feature-card .edu-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    margin-bottom: 18px;
}

.edu-feature-card h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading);
}

.edu-feature-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--text);
}

/* Marketplace tabs + listing cards */
.edu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.edu-tabs .edu-tab {
    padding: 9px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    border: 1px solid var(--edu-border-dark);
    cursor: pointer;
    background: transparent;
}

.edu-tabs .edu-tab.is-active {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.edu-listing-card {
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: var(--edu-radius);
    padding: 26px;
    height: 100%;
}

.edu-listing-card .edu-tag {
    display: inline-block;
    background: rgba(var(--edu-purple-rgb), 0.15);
    color: var(--purple);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.edu-listing-card h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.edu-listing-card p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: var(--muted);
    margin-bottom: 16px;
}

.edu-listing-card .edu-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--edu-border-dark);
    padding-top: 14px;
}

/* Steps (Idea to Global Institution) */
.edu-steps-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.edu-step {
    flex: 1;
    min-width: 110px;
    text-align: center;
}

.edu-step .edu-num {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--purple);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 19px;
    border: 2px solid var(--purple);
}

.edu-step h5 {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--heading);
}

.edu-step p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: var(--text);
}

/* Invest (asset classes) */
.edu-invest-card {
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: var(--edu-radius);
    padding: 28px 26px;
    height: 100%;
}

.edu-invest-card .edu-roi {
    color: var(--edu-green);
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 12px;
}

.edu-invest-card h4 {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.edu-invest-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--muted);
}

/* Partner universities */
.edu-uni-flex {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.edu-uni-text {
    flex: 1;
    min-width: 280px;
}

.edu-uni-text h2 {
    font-size: clamp(24px, 2.8vw, 32px) !important;
    line-height: 1.3 !important;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--heading);
}

.edu-uni-text h2 .edu-accent {
    color: var(--purple);
}

.edu-uni-text p {
    color: var(--text);
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px;
}

.edu-uni-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.edu-uni-stats div {
    font-size: 13.5px;
    color: var(--text);
}

.edu-uni-stats strong {
    display: block;
    font-size: 22px;
    color: var(--heading);
}

.edu-uni-image {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.edu-uni-image img {
    border-radius: 16px;
    width: 100%;
    display: block;
}

.edu-float-card {
    position: absolute;
    bottom: -20px;
    inset-inline: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--heading);
}

/* Student journey */
.edu-journey-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 26px;
    border: 1px solid var(--line);
    height: 100%;
}

.edu-journey-card .edu-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--edu-orange);
    margin-bottom: 18px;
}

.edu-journey-card h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading);
}

.edu-journey-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--text);
}

/* Arabic / Islamic programs */
.edu-arabic-card {
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: var(--edu-radius);
    padding: 28px 26px;
    display: flex;
    gap: 18px;
    height: 100%;
}

.edu-arabic-card .edu-icon-box {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    background: var(--purple);
}

.edu-arabic-card h4 {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.edu-arabic-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--muted);
}

/* Impact stats bar (full-bleed) */
.edu-impact-bar {
    background: linear-gradient(90deg, #1c1640, #241a55);
    padding: 64px 0;
}

.edu-kpi-eyebrow {
    display: block;
    text-align: center;
    color: var(--purple);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.edu-impact-bar h3 {
    text-align: center;
    color: #fff;
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 800;
    margin-bottom: 44px;
}

.edu-impact-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.edu-impact-stats div {
    text-align: center;
    color: #fff;
}

.edu-impact-stats strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--edu-orange);
}

.edu-impact-stats span {
    font-size: 13.5px;
    color: var(--muted);
}

/* Investors & partners (image grid) */
.edu-partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.edu-partner-logos div {
    background: var(--bg-light);
    border-radius: 12px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 700;
    font-size: 13.5px;
    overflow: hidden;
}

.edu-partner-logos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .edu-partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .edu-partner-logos {
        grid-template-columns: 1fr;
    }
}

/* Education intelligence / market reports */
.edu-intel-card {
    background: #fff;
    border-radius: var(--edu-radius);
    overflow: hidden;
    border: 1px solid var(--line);
    height: 100%;
}

.edu-intel-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.edu-intel-card .edu-intel-body {
    padding: 24px;
}

.edu-intel-card h4 {
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading);
}

.edu-intel-card p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--text);
}

/* Check-list bullets (Investors page - sector cards) */
.edu-check-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.edu-check-list li {
    position: relative;
    padding-inline-start: 24px;
    margin-bottom: 10px;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    color: var(--text);
}

.edu-check-list li::before {
    content: '\2713';
    position: absolute;
    inset-inline-start: 0;
    color: var(--edu-green);
    font-weight: 700;
}

/* Final CTA */
.edu-cta-section {
    background: radial-gradient(ellipse at center, #241a55 0%, #0e0b1f 70%);
    color: #fff;
    padding-block: var(--edu-section-py);
    text-align: center;
}

.edu-cta-section .edu-section-title {
    color: #fff;
}

.edu-cta-section p {
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 32px;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.edu-footer {
    background: var(--night);
    color: var(--muted);
    padding-block: 70px 30px;
}

.edu-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.edu-footer-grid h5 {
    color: #fff;
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 18px;
}

.edu-footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-footer-grid ul li {
    margin-bottom: 11px;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.edu-footer-grid ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.edu-footer-grid ul a:hover {
    color: #fff;
}

.edu-footer-grid p {
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.edu-footer-bottom {
    border-top: 1px solid var(--edu-border-dark);
    padding-top: 24px;
    text-align: center;
    font-size: 13.5px;
}

@media (max-width: 900px) {
    .edu-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .edu-footer-grid {
        grid-template-columns: 1fr;
    }

    .edu-steps-row {
        justify-content: center;
    }
}

/* ==========================================================================
   RTL overrides — logical properties cover almost everything already.
   ========================================================================== */
html[dir="rtl"] .edu-hero-search select {
    border-inline-end: none;
    border-inline-start: 1px solid var(--edu-border-dark);
}

/* ==========================================================================
   About page — split image/text sections, purpose cards, checklists,
   audience grid, principles grid. Reuses existing tokens/section wrappers.
   ========================================================================== */
.edu-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.edu-split.edu-split--reverse .edu-split-media {
    order: 2;
}

@media (max-width: 900px) {
    .edu-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .edu-split.edu-split--reverse .edu-split-media {
        order: 0;
    }
}

.edu-split-media img,
.edu-split-media .edu-photo-block {
    width: 100%;
    height: 320px;
    border-radius: var(--edu-radius);
    object-fit: cover;
    box-shadow: 0 25px 50px -20px rgba(2, 42, 76, 0.25);
}

.edu-split-media .edu-photo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.edu-split-text h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.3;
}

.edu-section--dark .edu-split-text h2 {
    color: #fff;
}

.edu-split-text p {
    color: var(--text);
    font-size: 14.5px !important;
    line-height: 1.85 !important;
    margin-bottom: 14px;
}

.edu-section--dark .edu-split-text p {
    color: var(--muted);
}

.edu-check-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.edu-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--heading);
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 14px;
}

.edu-section--dark .edu-check-list li {
    color: #fff;
}

.edu-check-list .edu-check-tick {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.edu-purpose-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .edu-purpose-cards {
        grid-template-columns: 1fr;
    }
}

.edu-purpose-card {
    border-radius: var(--edu-radius);
    padding: 40px 34px;
}

.edu-purpose-card--accent {
    background: linear-gradient(150deg, var(--purple), var(--purple-dark));
    color: #fff;
}

.edu-purpose-card--plain {
    background: #fff;
    box-shadow: 0 20px 45px -25px rgba(2, 42, 76, 0.2);
}

.edu-purpose-card--blue {
    background: linear-gradient(150deg, #2f7cf0, var(--purple));
    color: #fff;
}

.edu-purpose-card--blue .edu-icon-box {
    background: rgba(255, 255, 255, 0.18);
}

.edu-purpose-card--blue p {
    opacity: .92;
}

.edu-purpose-card .edu-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 20px;
}

.edu-purpose-card--accent .edu-icon-box {
    background: rgba(255, 255, 255, 0.18);
}

.edu-purpose-card--plain .edu-icon-box {
    background: rgba(124, 92, 255, 0.1);
    color: var(--purple);
}

.edu-purpose-card h3 {
    font-size: 19px !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.edu-purpose-card p {
    font-size: 14px !important;
    line-height: 1.85 !important;
}

.edu-purpose-card--plain p {
    color: var(--text);
}

.edu-purpose-card--accent p {
    opacity: .92;
}

.edu-audience-item {
    text-align: center;
}

.edu-audience-item .edu-thumb {
    width: 100%;
    height: 130px;
    border-radius: var(--edu-radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 15px 30px -20px rgba(2, 42, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.edu-audience-item span {
    font-size: 13.5px !important;
    font-weight: 600;
}

/* ==========================================================================
   Admissions Services page — scoped additions, reusing existing tokens.
   ========================================================================== */
:root {
    --edu-blue: #2f7cf0;
}

.edu-search-card {
    background: #fff;
    border-radius: var(--edu-radius);
    box-shadow: 0 25px 60px -30px rgba(2, 42, 76, 0.35);
    padding: 26px 28px;
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.edu-search-card .form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 6px;
}

.edu-search-card .form-select,
.edu-search-card .form-control {
    border-radius: 8px;
    border-color: var(--line);
    font-size: 14px;
}

.edu-soft-card {
    border-radius: var(--edu-radius);
    padding: 28px 24px;
    height: 100%;
}

.edu-soft-card .edu-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.edu-soft-card h4 {
    font-size: 16px !important;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading);
}

.edu-soft-card p {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    color: var(--text);
    margin-bottom: 0;
}

.edu-soft-card--purple {
    background: rgba(var(--edu-purple-rgb), .08);
}

.edu-soft-card--purple .edu-icon-box {
    background: var(--purple);
    color: #fff;
}

.edu-soft-card--green {
    background: rgba(62, 207, 142, .12);
}

.edu-soft-card--green .edu-icon-box {
    background: var(--edu-green);
    color: #fff;
}

.edu-soft-card--yellow {
    background: rgba(255, 176, 32, .14);
}

.edu-soft-card--yellow .edu-icon-box {
    background: var(--edu-orange);
    color: #fff;
}

.edu-soft-card--blue {
    background: rgba(47, 124, 240, .1);
}

.edu-soft-card--blue .edu-icon-box {
    background: var(--edu-blue);
    color: #fff;
}

.edu-destination-card {
    border-radius: var(--edu-radius);
    padding: 26px 22px;
    height: 100%;
    position: relative;
}

.edu-destination-card .edu-destination-meta {
    display: flex;
    gap: 16px;
    margin: 14px 0 16px;
    font-size: 12.5px;
    color: var(--text);
}

.edu-destination-card .edu-destination-meta strong {
    color: var(--heading);
    font-weight: 700;
}

.edu-program-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}

.edu-program-card:hover {
    box-shadow: 0 25px 50px -30px rgba(2, 42, 76, 0.3);
    transform: translateY(-3px);
}

.edu-program-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.edu-program-card .edu-program-body {
    padding: 20px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edu-program-card .edu-program-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
    font-size: 12px;
    color: var(--muted);
}

.edu-program-card .edu-program-meta span {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 4px 9px;
}

.edu-scholarship-badge {
    display: inline-block;
    background: rgba(62, 207, 142, .15);
    color: var(--edu-green);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.edu-required-doc-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    height: 100%;
}

.edu-required-doc-item .edu-icon-box {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--edu-purple-rgb), .1);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-callout-card {
    background: linear-gradient(135deg, rgba(var(--edu-purple-rgb), .08), rgba(47, 124, 240, .06));
    border-radius: var(--edu-radius);
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 900px) {
    .edu-callout-card {
        grid-template-columns: 1fr;
    }
}

.edu-callout-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.edu-collage-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.edu-collage-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.edu-collage-grid .edu-collage-stack {
    display: grid;
    gap: 16px;
}

.edu-collage-grid .edu-collage-stack img {
    height: 152px;
}

@media (max-width: 700px) {
    .edu-collage-grid {
        grid-template-columns: 1fr;
    }

    .edu-collage-grid .edu-collage-stack {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   AiSari homepage sections (resources/views/sections/aisari_*.blade.php)
   Built on the edu- tokens above; ai- classes only add what those lack.
   ========================================================================== */

.ai-hero .ai-hero-sub {
    font-size: 16px !important;
    margin-top: -18px;
    opacity: .85;
}

.ai-section-btn {
    margin-top: 40px;
}

.ai-split-title {
    font-size: clamp(26px, 3vw, 34px) !important;
    line-height: 1.3 !important;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
}

.edu-split-text p,
.ai-experts-card p {
    color: var(--text);
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 26px;
}

/* Discover your needs */
.ai-needs-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    box-shadow: 0 25px 60px -30px rgba(2, 42, 76, 0.25);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-needs-card .form-label {
    font-weight: 700;
    color: var(--heading);
    margin: 0;
}

.ai-needs-card textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    resize: vertical;
    font-size: 15px;
    color: var(--heading);
}

.ai-needs-card textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(var(--edu-purple-rgb), .15);
}

.ai-needs-card .edu-btn {
    align-self: flex-end;
}

/* Paths */
.ai-path-card {
    display: flex;
    flex-direction: column;
}

.ai-path-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ai-path-card .edu-icon-box,
.ai-tool-card .edu-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.ai-path-num {
    font-size: 26px;
    font-weight: 800;
    color: rgba(var(--edu-purple-rgb), .18);
    line-height: 1;
}

.ai-path-card p {
    flex-grow: 1;
}

.ai-link {
    color: var(--purple);
    font-weight: 700;
    font-size: 14.5px !important;
    text-decoration: none;
    margin-top: 6px;
}

.ai-link:hover {
    color: var(--purple-dark);
}

.ai-link-arrow {
    font-size: 12px;
    margin-inline-start: 4px;
}

[dir="rtl"] .ai-link-arrow {
    transform: scaleX(-1);
}

/* AI tools (dark) */
.ai-tools .edu-section-title {
    color: #fff;
}

.ai-tools .edu-section-sub {
    color: var(--muted);
}

.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ai-tool-card {
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: var(--edu-radius);
    padding: 26px 22px;
}

.ai-tool-card .edu-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    margin-bottom: 16px;
}

.ai-tool-card h4 {
    color: #fff;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-tool-card p {
    color: var(--muted);
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* Strategy OS */
.ai-strategy-card {
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    padding: 32px;
}

.ai-strategy-card h5 {
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 18px;
}

.ai-strategy-card .edu-check-list {
    margin: 0;
}

/* Industries */
.ai-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.ai-industry-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 600;
    color: var(--heading);
    font-size: 14.5px;
}

.ai-industry-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--edu-purple-rgb), .1);
    color: var(--purple);
}

/* Experts */
.ai-experts-card {
    background: linear-gradient(135deg, rgba(var(--edu-purple-rgb), .08), rgba(47, 124, 240, .06));
    border-radius: var(--edu-radius);
    padding: clamp(28px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: center;
}

.ai-experts-card p {
    margin-bottom: 0;
}

.ai-experts-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-experts-actions .edu-btn {
    text-align: center;
}

/* Final CTA */
.ai-cta .edu-section-sub {
    color: var(--muted);
}

/* Footer (components/app-footer.blade.php) */
.ai-footer {
    position: relative;
    padding-block: 0 26px;
    background:
        radial-gradient(ellipse at top left, rgba(var(--edu-purple-rgb), .18), transparent 55%),
        var(--night);
}

.ai-footer::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--purple-dark), var(--edu-orange));
}

/* Newsletter band */
.ai-footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 34px 0;
    border-bottom: 1px solid var(--edu-border-dark);
}

.ai-footer-newsletter-text {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.ai-footer-newsletter-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.ai-footer-newsletter h5 {
    color: #fff;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    margin: 0 0 4px;
}

.ai-footer-newsletter p {
    margin: 0;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.ai-footer-newsletter-form {
    display: flex;
    gap: 8px;
    flex: 0 1 460px;
    padding: 6px;
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    border-radius: 12px;
}

.ai-footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 10px 12px;
    font-size: 15px;
}

.ai-footer-newsletter-form input::placeholder {
    color: var(--muted);
}

.ai-footer-newsletter-form input:focus {
    outline: none;
}

.ai-footer-newsletter-form:focus-within {
    border-color: var(--purple);
}

.ai-footer-newsletter-form .edu-btn {
    padding: 10px 22px;
    white-space: nowrap;
}

/* Main columns */
.ai-footer-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    padding: 48px 0 36px;
}

.ai-footer-brand .edu-logo {
    margin-bottom: 18px;
}

/* The logo file has an opaque white background, so it sits on a white badge that
   blends with it - a colour filter would turn the whole image into a white box. */
.ai-footer .ai-footer-brand .edu-logo {
    display: inline-flex;
    padding: 10px 16px;
    background: #fff;
    border-radius: 14px;
}

.ai-footer .ai-footer-brand .edu-logo img {
    height: 64px;
}

.ai-footer-brand p {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    max-width: 380px;
    margin-bottom: 22px;
}

.ai-footer-cta {
    padding: 11px 22px;
}

.ai-footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.ai-footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--edu-card-dark);
    border: 1px solid var(--edu-border-dark);
    text-decoration: none;
    transition: color .2s, background .2s, border-color .2s;
}

.ai-footer-socials a:hover {
    color: #fff;
    background: var(--purple);
    border-color: var(--purple);
}

.ai-footer-col h5 {
    position: relative;
    color: #fff;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.ai-footer-col h5::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--purple);
}

.ai-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-footer-col li {
    margin-bottom: 11px;
}

.ai-footer-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px !important;
    line-height: 1.45 !important;
    transition: color .2s, padding .2s;
}

.ai-footer-col a:hover {
    color: #fff;
    padding-inline-start: 4px;
}

.ai-footer-closing {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 15px !important;
    padding: 22px 0;
    margin: 0;
    border-top: 1px solid var(--edu-border-dark);
}

.ai-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--edu-border-dark);
    font-size: 13.5px;
}

.ai-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ai-footer-bottom-links a {
    color: var(--muted);
    text-decoration: none;
}

.ai-footer-bottom-links a:hover {
    color: #fff;
}

.ai-footer-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--edu-border-dark);
    background: var(--edu-card-dark);
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.ai-footer-top:hover {
    background: var(--purple);
    border-color: var(--purple);
}

@media (max-width: 1100px) {
    .ai-footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .ai-experts-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .ai-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .ai-footer-newsletter-form {
        flex-basis: 100%;
    }

    .ai-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .ai-footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ai-needs-card .edu-btn {
        align-self: stretch;
        text-align: center;
    }
}

/* ==========================================================================
   AiSari path pages (resources/views/web/paths/*)
   ========================================================================== */

.ai-path-hero {
    padding-block: clamp(44px, 7vw, 72px) clamp(40px, 6vw, 60px);
}

.ai-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    margin-bottom: 22px;
    color: var(--muted);
}

.ai-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.ai-breadcrumb a:hover {
    color: #fff;
}

/* Breadcrumb (components/ai-breadcrumb): Home > ... > current page */
.ai-breadcrumb {
    flex-wrap: wrap;
    align-items: center;
}

.ai-breadcrumb-sep {
    font-size: 10px;
    opacity: .7;
}

[dir="rtl"] .ai-breadcrumb-sep {
    transform: scaleX(-1);
}

.ai-breadcrumb a,
.ai-breadcrumb-current {
    /* custom.css forces a size on every <a>; keep the links and the current page equal. */
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.ai-breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

.ai-path-hero p {
    max-width: 760px;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ai-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    padding: 24px 22px 22px;
    box-shadow: 0 18px 40px -32px rgba(2, 42, 76, 0.35);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Accent bar that grows across the top on hover. */
.ai-service-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--purple), var(--purple-dark));
    transition: width .3s ease;
}

.ai-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--edu-purple-rgb), .35);
    box-shadow: 0 26px 50px -30px rgba(var(--edu-purple-rgb), .45);
}

.ai-service-card:hover::before {
    width: 100%;
}

.ai-service-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.ai-service-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .1);
    transition: background .25s ease, color .25s ease;
}

.ai-service-card:hover .ai-service-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.ai-service-num {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--edu-purple-rgb), .14);
}

.ai-service-card p {
    flex-grow: 1;
    margin: 0 0 18px;
    color: var(--heading);
    font-weight: 600;
    font-size: 15.5px !important;
    line-height: 1.55 !important;
}

.ai-service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid rgba(var(--edu-purple-rgb), .3);
    color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .05);
    font-weight: 700;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.ai-service-card:hover .ai-service-cta,
.ai-service-cta:focus-visible {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

/* Success popup after a path request is submitted */
.ai-success-modal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 30px 80px -30px rgba(14, 11, 31, .55);
}

.ai-success-modal .modal-body {
    padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 40px);
    text-align: center;
}

.ai-success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: var(--edu-green);
    box-shadow: 0 0 0 10px rgba(62, 207, 142, .15);
    animation: ai-success-pop .45s ease-out;
}

@keyframes ai-success-pop {
    0% { transform: scale(.4); opacity: 0; }
    70% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.ai-success-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 12px;
}

.ai-success-message {
    color: var(--text);
    font-size: 15.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 18px;
}

.ai-success-ref {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bg-light);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 14px;
    margin-bottom: 26px;
}

.ai-success-ref strong {
    color: var(--heading);
}

.ai-success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Path page CTA block - leads to the request form page */
/* Several description paragraphs: tighten the gap between them. */
.ai-path-hero p + p {
    margin-top: -18px;
}

.ai-path-hero .edu-eyebrow-pill {
    margin-bottom: 16px;
}

/* Optional second list right under the service cards (same light background). */
.ai-path-extra {
    padding-top: 0;
}

.ai-path-extra .ai-industry-icon {
    font-weight: 800;
    font-size: 13px;
}

/* "How Does AiSari Help You?" block */
.ai-info-card {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--purple);
    border-radius: var(--edu-radius);
    padding: clamp(22px, 3.5vw, 36px);
    box-shadow: 0 18px 40px -32px rgba(2, 42, 76, 0.35);
}

.ai-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.ai-info-card .ai-split-title {
    margin-bottom: 10px;
}

.ai-info-card p + p {
    margin-top: 12px;
}

.ai-info-card p {
    margin: 0;
    color: var(--text);
    font-size: 16px !important;
    line-height: 1.75 !important;
}

@media (max-width: 560px) {
    .ai-info-card {
        flex-direction: column;
        gap: 16px;
    }
}

.ai-path-cta .edu-section-sub {
    color: var(--muted);
    margin-bottom: 32px;
}

/* Request form page (web/paths/request.blade.php) */
.ai-request-section {
    padding-top: clamp(32px, 5vw, 56px);
}

.ai-path-form {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    box-shadow: 0 25px 60px -30px rgba(2, 42, 76, 0.25);
    padding: clamp(22px, 4vw, 40px);
}

.ai-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.ai-form-actions .edu-btn {
    text-align: center;
}

.ai-back-arrow {
    font-size: 12px;
    margin-inline-end: 6px;
}

[dir="rtl"] .ai-back-arrow {
    transform: scaleX(-1);
}

@media (max-width: 560px) {
    .ai-form-actions {
        flex-direction: column-reverse;
    }
}

.ai-form-group {
    margin-bottom: 18px;
}

.ai-form-label {
    display: block;
    font-weight: 600;
    color: var(--heading);
    font-size: 14.5px;
    margin-bottom: 6px;
}

.ai-required {
    color: #e5484d;
}

.ai-optional {
    color: var(--text);
    font-weight: 400;
    font-size: 12.5px;
}

.ai-input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 15px;
    color: var(--heading);
    background: #fff;
}

.ai-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(var(--edu-purple-rgb), .15);
}

.ai-input.is-invalid {
    border-color: #e5484d;
}

textarea.ai-input {
    resize: vertical;
}

input[type="file"].ai-input {
    padding: 9px 12px;
}

.ai-form-hint {
    display: block;
    color: var(--text);
    font-size: 12.5px;
    margin-top: 5px;
}

.ai-form-error {
    display: block;
    color: #e5484d;
    font-size: 13px;
    margin-top: 5px;
}

.ai-form-alert {
    background: rgba(229, 72, 77, .08);
    border: 1px solid rgba(229, 72, 77, .3);
    color: #b4232a;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 22px;
    font-size: 14.5px;
}

.ai-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ai-other-paths-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.ai-other-paths-list a {
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}

.ai-other-paths-list a:hover {
    border-color: var(--purple);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .ai-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ai-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Phones: icon, text, number on one row; the CTA below it. */
    .ai-service-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 14px;
        padding: 16px;
    }

    .ai-service-card-head {
        display: contents;
    }

    .ai-service-icon {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ai-service-card p {
        flex: 1;
        margin: 0;
        font-size: 14.5px !important;
    }

    .ai-service-num {
        order: 3;
        font-size: 20px;
    }

    .ai-service-cta {
        order: 4;
        flex-basis: 100%;
    }
}

/* ==========================================================================
   Paths engine additions: intro + step cards, form sections, multi-step
   progress, conditional fields, privacy consent, policy pages
   ========================================================================== */

.ai-path-intro .edu-section-sub {
    margin-bottom: 36px;
}

.ai-path-intro + .ai-path-services {
    padding-top: 0;
}

.ai-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.ai-step-card {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    padding: 26px 22px 22px;
}

.ai-step-card-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    margin-bottom: 14px;
}

.ai-step-card h4 {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.ai-step-card p {
    color: var(--text);
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* Form sections / steps */
.ai-form-section {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.ai-form-section + .ai-form-section {
    margin-top: 10px;
}

.ai-form-section-title {
    float: none;
    width: 100%;
    font-size: 17px !important;
    font-weight: 800;
    color: var(--heading);
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.ai-multi-step .ai-form-section-title {
    display: none;
}

.ai-steps-progress {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    counter-reset: none;
}

.ai-steps-progress li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
}

.ai-steps-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 800;
}

.ai-steps-progress li.is-active {
    border-color: var(--purple);
    color: var(--heading);
}

.ai-steps-progress li.is-active .ai-steps-num {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.ai-steps-progress li.is-done .ai-steps-num {
    background: var(--edu-green);
    border-color: var(--edu-green);
    color: #fff;
}

[hidden] {
    display: none !important;
}

/* Privacy consent */
.ai-consent {
    margin: 6px 0 4px;
}

.ai-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.ai-consent-label input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--purple);
}

.ai-consent-label a {
    color: var(--purple);
    font-weight: 600;
}

.ai-consent-label input.is-invalid {
    outline: 2px solid #e5484d;
}

/* Policy pages */
.ai-policy-body {
    max-width: 860px;
    margin: 0 auto;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .ai-steps-progress .ai-steps-label {
        display: none;
    }

    .ai-steps-progress li {
        justify-content: center;
    }
}

/* About Us (sections/aisari_about_*) */
.ai-about-text {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.ai-about-text p {
    color: var(--text);
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    margin-bottom: 16px;
}

.ai-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ai-vision-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--edu-radius);
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: 0 18px 40px -32px rgba(2, 42, 76, 0.35);
}

.ai-vision-card .ai-info-icon {
    margin-bottom: 18px;
}

.ai-vision-card p {
    color: var(--text);
    font-size: 16px !important;
    line-height: 1.75 !important;
    margin: 0;
}

.ai-steps-grid--wide {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
}

.ai-about-buttons {
    max-width: 980px;
    margin: 0 auto;
}

.ai-about-tagline {
    margin-top: 32px;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 900px) {
    .ai-vision-grid,
    .ai-steps-grid--wide {
        grid-template-columns: 1fr;
    }
}

/* Header dropdown groups (docx menu items 4-7 and 8-11) */
.edu-nav-dropdown {
    position: relative;
}

.edu-nav-dropdown-toggle {
    background: none;
    border: 0;
    padding: 6px 0;
    color: var(--heading);
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.edu-nav-dropdown-toggle i {
    font-size: 10px;
    margin-inline-start: 4px;
}

.edu-nav-dropdown-toggle.active,
.edu-nav-dropdown:hover .edu-nav-dropdown-toggle,
.edu-nav-dropdown:focus-within .edu-nav-dropdown-toggle {
    color: var(--purple-dark);
}

.edu-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: -14px;
    min-width: 270px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 45px -20px rgba(26, 23, 48, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 60;
}

.edu-nav-dropdown:hover .edu-nav-dropdown-menu,
.edu-nav-dropdown:focus-within .edu-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edu-nav-links .edu-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
}

.edu-nav-links .edu-nav-dropdown-menu a::after {
    display: none;
}

.edu-nav-links .edu-nav-dropdown-menu a:hover,
.edu-nav-links .edu-nav-dropdown-menu a.active {
    background: rgba(var(--edu-purple-rgb), .08);
}

.edu-nav-dropdown-menu a i {
    width: 18px;
    color: var(--purple);
    text-align: center;
}

/* Contact Us (web/contact.blade.php) */
.ai-contact-section {
    padding-top: clamp(32px, 5vw, 56px);
}

.ai-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ai-contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 25px 60px -30px rgba(2, 42, 76, 0.25);
    padding: clamp(22px, 3.5vw, 38px);
}

.ai-contact-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.ai-contact-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.ai-contact-card-head h2 {
    font-size: clamp(20px, 2.2vw, 24px) !important;
    line-height: 1.3 !important;
    font-weight: 800;
    color: var(--heading);
    margin: 0 0 4px;
}

.ai-contact-card-head p {
    margin: 0;
    color: var(--text);
    font-size: 13.5px !important;
}

.ai-contact-submit {
    width: 100%;
    margin-top: 14px;
    text-align: center;
}

.ai-contact-submit i {
    margin-inline-start: 8px;
    font-size: 14px;
}

[dir="rtl"] .ai-contact-submit i {
    transform: scaleX(-1);
}

/* Side panels */
.ai-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
}

.ai-contact-panel h3 {
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 800;
    color: var(--heading);
    margin: 0 0 6px;
}

.ai-contact-panel-sub {
    color: var(--text);
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px;
}

.ai-contact-details {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-contact-detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .1);
}

.ai-contact-details small {
    display: block;
    color: var(--text);
    font-size: 12.5px;
}

.ai-contact-details a,
.ai-contact-details span {
    color: var(--heading);
    font-weight: 600;
    font-size: 14.5px !important;
    text-decoration: none;
    word-break: break-word;
}

.ai-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-contact-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .2s, background .2s, transform .2s;
}

.ai-contact-quick-item:hover {
    border-color: rgba(var(--edu-purple-rgb), .4);
    background: rgba(var(--edu-purple-rgb), .04);
    transform: translateY(-1px);
}

.ai-contact-quick-text {
    flex: 1;
    min-width: 0;
}

.ai-contact-quick-text strong {
    display: block;
    color: var(--heading);
    font-size: 14.5px;
    line-height: 1.35;
}

.ai-contact-quick-text small {
    display: block;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1.5;
    margin-top: 2px;
}

.ai-contact-quick-item .ai-link-arrow {
    color: var(--purple);
}

.ai-contact-socials {
    margin-top: 12px;
}

.ai-contact-socials a {
    color: var(--purple);
    background: rgba(var(--edu-purple-rgb), .08);
    border-color: transparent;
}

@media (max-width: 991px) {
    .ai-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Sticky header fix
   custom.css sets `body { overflow-x: hidden !important }`, which makes the
   body a scroll container - and a position:sticky header then scrolls away
   with the page. `clip` stops sideways overflow the same way without creating
   a scroll container, so the header stays put (desktop and mobile).
   ========================================================================== */
@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip !important;
    }
}

.edu-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* In-page links (#paths, #request-form ...) land below the sticky header. */
html {
    scroll-padding-top: 96px;
}

/* ==========================================================================
   Responsive header + mobile menu (components/app-sidebar.blade.php)
   Full menu from 1200px; below that a hamburger opens the off-canvas menu,
   where Solutions and Programs are collapsible groups.
   ========================================================================== */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .edu-nav-links {
        gap: 16px;
    }

    .edu-nav-links a,
    .edu-nav-dropdown-toggle {
        font-size: 14px !important;
    }
}

button.edu-nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--heading);
    font-size: 26px;
    line-height: 1;
}

button.edu-nav-toggle:hover {
    border-color: var(--purple);
    color: var(--purple-dark);
}

@media (max-width: 575.98px) {
    .edu-nav {
        padding: 10px 0;
    }

    .edu-nav .edu-logo img {
        height: 44px;
    }

    .edu-nav-actions {
        gap: 8px;
    }

    .edu-nav-actions .edu-btn {
        padding: 9px 14px;
        font-size: 13.5px !important;
    }

    button.edu-nav-toggle {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Off-canvas panel */
#mobile-menu {
    width: min(340px, 88vw);
}

#mobile-menu .offcanvas-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

#mobile-menu .offcanvas-header .edu-logo img {
    height: 44px;
}

.ai-mnav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 14px 20px;
}

.ai-mnav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-mnav-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--heading);
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    text-align: start;
    text-decoration: none;
}

.ai-mnav-link > i:first-child,
.ai-mnav-sub a > i {
    width: 20px;
    text-align: center;
    color: var(--purple);
}

.ai-mnav-link:hover,
.ai-mnav-link.active {
    background: rgba(var(--edu-purple-rgb), .08);
    color: var(--purple-dark);
}

.ai-mnav-caret {
    margin-inline-start: auto;
    font-size: 12px;
    transition: transform .2s ease;
}

.ai-mnav-toggle:not(.collapsed) .ai-mnav-caret {
    transform: rotate(180deg);
}

.ai-mnav-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 6px;
    padding-inline-start: 22px;
    border-inline-start: 2px solid rgba(var(--edu-purple-rgb), .15);
    margin-inline-start: 21px;
}

.ai-mnav-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    text-decoration: none;
}

.ai-mnav-sub a:hover,
.ai-mnav-sub a.active {
    background: rgba(var(--edu-purple-rgb), .08);
    color: var(--purple-dark);
    font-weight: 600;
}

.ai-mnav-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.ai-mnav-cta {
    width: 100%;
    text-align: center;
}

.ai-mnav-secondary {
    display: flex;
    gap: 8px;
}

.ai-mnav-secondary a,
.ai-mnav-secondary button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--heading);
    font-size: 14px !important;
    font-weight: 600;
    text-decoration: none;
}

.ai-mnav-secondary a:hover,
.ai-mnav-secondary button:hover {
    border-color: var(--purple);
    color: var(--purple-dark);
}
