/*
 * Aoun X public site (home, pricing, about, contact, legal).
 * Loaded only by platform/public/layouts/app.blade.php and scoped to body.ax-site,
 * so academy sites and dashboards are not affected.
 */

/* ---------- Tokens ---------- */
.ax-site {
    --ax-navy: #021240;
    --ax-ink: #04195E;
    --ax-ink-2: #36477E;
    --ax-royal: #032491;
    --ax-blue: #6A97FF;
    --ax-blue-2: #B4CBFF;
    --ax-line: #DADDEE;
    --ax-soft: #F3F4FA;
    --ax-bg: #ffffff;
    --ax-card: #ffffff;
    --ax-on-navy: #ffffff;
    --ax-on-navy-2: #DADDEE;
    --ax-radius: 24px;
    --ax-font: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;

    /* Bootstrap (Geeks theme) colours used by the inner pages */
    --gk-primary: #032491;
    --gk-primary-rgb: 3, 36, 145;
    --gk-primary-bg-subtle: #E6ECFF;
    --gk-primary-border-subtle: #B4CBFF;
    --gk-primary-text-emphasis: #04195E;
    --gk-link-color: #032491;
    --gk-link-color-rgb: 3, 36, 145;
    --gk-link-hover-color: #04195E;
    --gk-link-hover-color-rgb: 4, 25, 94;
    --gk-body-font-family: var(--ax-font);
    --gk-heading-color: var(--ax-ink);

    font-family: var(--ax-font);
    background: var(--ax-bg) !important;
    color: var(--ax-ink-2);
}

[data-bs-theme=dark] .ax-site,
[data-bs-theme=dark].ax-site,
.ax-site[data-bs-theme=dark] {
    --ax-ink: #E6ECFF;
    --ax-ink-2: #B9C0DE;
    --ax-line: #22305E;
    --ax-soft: #081436;
    --ax-bg: #050E2B;
    --ax-card: #0B1A45;
    --ax-navy: #020B26;
    --gk-primary: #8FB0FF;
    --gk-primary-rgb: 143, 176, 255;
    --gk-primary-bg-subtle: #10224F;
    --gk-primary-text-emphasis: #B4CBFF;
    --gk-link-color: #8FB0FF;
    --gk-link-color-rgb: 143, 176, 255;
    --gk-link-hover-color: #B4CBFF;
    --gk-heading-color: var(--ax-ink);
}

.ax-site,
.ax-site h1, .ax-site h2, .ax-site h3, .ax-site h4, .ax-site h5, .ax-site h6,
.ax-site p, .ax-site a, .ax-site span, .ax-site li, .ax-site button,
.ax-site input, .ax-site select, .ax-site textarea, .ax-site label, .ax-site td, .ax-site th {
    font-family: var(--ax-font);
}

.ax-site h1, .ax-site h2, .ax-site h3, .ax-site h4, .ax-site h5, .ax-site h6 { color: var(--ax-ink); }
.ax-site .text-dark { color: var(--ax-ink) !important; }
.ax-site .text-muted { color: var(--ax-ink-2) !important; }
.ax-site .bg-light { background-color: var(--ax-soft) !important; }
.ax-site .card { background-color: var(--ax-card); border-color: var(--ax-line); }
.ax-site img { max-width: 100%; }

/* ---------- Buttons ---------- */
.ax-site .btn { border-radius: 40px; font-weight: 700; }
.ax-site .btn-primary {
    --gk-btn-color: #021240; --gk-btn-bg: #6A97FF; --gk-btn-border-color: #6A97FF;
    --gk-btn-hover-color: #021240; --gk-btn-hover-bg: #84A9FF; --gk-btn-hover-border-color: #84A9FF;
    --gk-btn-active-color: #021240; --gk-btn-active-bg: #5A86EE; --gk-btn-active-border-color: #5A86EE;
    --gk-btn-disabled-color: #021240; --gk-btn-disabled-bg: #6A97FF; --gk-btn-disabled-border-color: #6A97FF;
    --gk-btn-focus-shadow-rgb: 106, 151, 255;
}
.ax-site .btn-outline-primary {
    --gk-btn-color: var(--ax-ink); --gk-btn-border-color: var(--ax-ink);
    --gk-btn-hover-color: #fff; --gk-btn-hover-bg: #04195E; --gk-btn-hover-border-color: #04195E;
    --gk-btn-active-color: #fff; --gk-btn-active-bg: #04195E; --gk-btn-active-border-color: #04195E;
    border-width: 2px;
}
[data-bs-theme=dark] .ax-site .btn-outline-primary { --gk-btn-hover-bg: #6A97FF; --gk-btn-hover-border-color: #6A97FF; --gk-btn-hover-color: #021240; }

.ax-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 28px; border-radius: 40px; border: 2px solid transparent;
    font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.ax-btn:hover { transform: translateY(-1px); }
.ax-btn:focus-visible { outline: 3px solid var(--ax-blue); outline-offset: 3px; }
.ax-btn-primary { background: var(--ax-blue); color: #021240 !important; border-color: var(--ax-blue); }
.ax-btn-primary:hover { background: #84A9FF; border-color: #84A9FF; }
.ax-btn-outline { background: transparent; color: var(--ax-ink) !important; border-color: var(--ax-ink); }
.ax-btn-outline:hover { background: var(--ax-ink); color: var(--ax-bg) !important; }
.ax-btn-light { background: transparent; color: #fff !important; border-color: #fff; }
.ax-btn-light:hover { background: #fff; color: #021240 !important; }
.ax-btn-navy { background: #021240; color: #fff !important; border-color: #021240; }
.ax-btn-navy:hover { background: #04195E; border-color: #04195E; }
.ax-btn-block { width: 100%; }
.ax-btn-sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }

/* ---------- Layout ---------- */
.ax-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 575.98px) { .ax-container { padding: 0 16px; } }

.ax-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--ax-bg); scroll-margin-top: 96px; }
.ax-section-soft { background: var(--ax-soft); }
.ax-section-navy { background: var(--ax-navy); color: var(--ax-on-navy); }
.ax-section-navy h2, .ax-section-navy h3 { color: #fff; }

.ax-head { text-align: center; display: flex; flex-direction: column; gap: 12px; margin: 0 auto clamp(32px, 5vw, 48px); max-width: 820px; }
.ax-h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.25; font-weight: 700; color: var(--ax-ink); }
.ax-lead { margin: 0; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.6; color: var(--ax-ink-2); }
.ax-eyebrow {
    align-self: center; display: inline-flex; align-items: center; gap: 6px;
    background: var(--ax-blue); color: #021240; font-size: clamp(14px, 1.3vw, 17px); font-weight: 700;
    padding: 6px 18px; border-radius: 40px;
}

.ax-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ax-grid-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.ax-card {
    background: var(--ax-card); border: 1px solid var(--ax-line); border-radius: var(--ax-radius);
    padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.ax-card h3 { margin: 0; font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; color: var(--ax-ink); }
.ax-card p { margin: 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: var(--ax-ink-2); }
.ax-card-icon { width: 64px; height: 64px; flex: none; }

.ax-check { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; }
.ax-check svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }

/* ---------- Header ---------- */
.ax-header { position: sticky; top: 0; z-index: 1030; background: var(--ax-bg); border-bottom: 1px solid var(--ax-line); }
#platformTopAnnouncementBar + .ax-header { top: 0; }
.ax-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.ax-brand { display: inline-flex; align-items: center; flex: none; }
.ax-brand img { height: 44px; width: auto; max-width: 170px; }
.ax-brand .aounx-logo-dark { display: none; }
[data-bs-theme=dark] .ax-brand .aounx-logo-light { display: none; }
[data-bs-theme=dark] .ax-brand .aounx-logo-dark { display: inline; }
.ax-nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.ax-nav a { display: block; padding: 10px 4px; color: var(--ax-ink); text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 2px solid transparent; }
.ax-nav a:hover, .ax-nav a.active { color: var(--ax-royal); border-bottom-color: var(--ax-blue); }
[data-bs-theme=dark] .ax-nav a:hover, [data-bs-theme=dark] .ax-nav a.active { color: #B4CBFF; }
.ax-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.ax-icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ax-line); background: var(--ax-card);
    color: var(--ax-ink); display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.ax-menu-btn { display: none; }
.ax-mobile-menu { display: none; }

@media (max-width: 1199.98px) {
    .ax-nav-desktop, .ax-header-actions .ax-hide-lg { display: none !important; }
    .ax-menu-btn { display: inline-flex; }
    .ax-mobile-menu.show, .ax-mobile-menu.collapsing { display: block; }
    .ax-mobile-menu { border-top: 1px solid var(--ax-line); padding: 12px 0 20px; }
    .ax-mobile-menu .ax-nav { flex-direction: column; align-items: stretch; gap: 0; }
    .ax-mobile-menu .ax-nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--ax-line); }
    .ax-mobile-menu .ax-mobile-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
}
@media (max-width: 575.98px) {
    .ax-header-inner { min-height: 68px; gap: 8px; }
    .ax-brand img { height: 36px; max-width: 130px; }
    .ax-header-actions .ax-hide-sm { display: none !important; }
    .ax-mobile-menu .ax-mobile-ctas { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.ax-hero { background: #021240; color: #fff; position: relative; overflow: hidden; }
.ax-hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.ax-hero-blob.b1 { width: 520px; height: 520px; background: #032491; opacity: .35; left: -180px; top: -120px; }
.ax-hero-blob.b2 { width: 300px; height: 300px; border: 40px solid #6A97FF; opacity: .18; right: -100px; bottom: -110px; }
.ax-hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: clamp(48px, 8vw, 88px) 0; }
.ax-hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; min-width: 0; }
.ax-hero-copy .ax-eyebrow { align-self: flex-start; }
.ax-hero h1 { margin: 0; font-size: clamp(34px, 6vw, 68px); line-height: 1.2; font-weight: 700; color: #fff; }
.ax-hero-strong { margin: 0; font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: #B4CBFF; }
.ax-hero-text { margin: 0; font-size: clamp(17px, 2vw, 24px); line-height: 1.7; color: #DADDEE; }
.ax-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.ax-hero-checks { display: flex; gap: 12px 24px; flex-wrap: wrap; color: #fff; }
.ax-hero-art { flex: 1 1 420px; position: relative; display: flex; justify-content: center; min-width: 0; }
.ax-hero-art > svg { width: 100%; max-width: 560px; height: auto; }
.ax-chip {
    position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: #021240;
    font-size: 17px; font-weight: 700; padding: 12px 18px; border-radius: 20px; box-shadow: 0 18px 30px rgba(2, 18, 64, .3);
}
.ax-chip svg { width: 32px; height: 32px; flex: none; }
.ax-chip.c1 { top: -6px; left: 0; }
.ax-chip.c2 { bottom: -10px; right: 6%; }
@media (max-width: 991.98px) {
    .ax-hero-copy { flex-basis: 100%; }
    .ax-chip { font-size: 15px; padding: 10px 14px; }
}
@media (max-width: 575.98px) {
    .ax-hero-ctas .ax-btn { flex: 1 1 100%; }
    .ax-chip { display: none; }
}

.ax-stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; padding: 0 0 clamp(40px, 6vw, 64px); }
.ax-stat { border: 1px solid rgba(180, 203, 255, .25); border-radius: 20px; padding: 18px; text-align: center; background: rgba(3, 36, 145, .25); }
.ax-stat strong { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: #fff; line-height: 1.2; }
.ax-stat span { display: block; margin-top: 4px; font-size: 16px; color: #DADDEE; }
@media (max-width: 575.98px) { .ax-stats { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Trusted logos under the hero */
.ax-trusted { padding: 40px 0; background: var(--ax-bg); border-bottom: 1px solid var(--ax-line); text-align: center; }
.ax-trusted-title { font-weight: 700; color: var(--ax-ink); font-size: 18px; margin-bottom: 20px; }
.ax-trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.ax-trusted-logos img { max-height: 56px; max-width: 160px; object-fit: contain; }

/* ---------- Payment methods ---------- */
.ax-pay { padding: clamp(40px, 6vw, 56px) 0; border-bottom: 1px solid var(--ax-line); background: var(--ax-bg); }
.ax-pay .ax-head { margin-bottom: 24px; }
.ax-pay-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.ax-pay-logos span { width: 176px; height: 72px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; }
.ax-pay-logos img { width: 176px; height: 72px; object-fit: contain; }
[data-bs-theme=dark] .ax-pay-logos span { border: 1px solid var(--ax-line); }
@media (max-width: 575.98px) {
    .ax-pay-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .ax-pay-logos span { width: 100%; height: 54px; }
    .ax-pay-logos img { width: 100%; height: 54px; }
}

/* ---------- Steps / certificates ---------- */
.ax-step { background: var(--ax-soft); border-color: transparent; }
.ax-step-num {
    width: 56px; height: 56px; border-radius: 50%; background: #04195E; color: #6A97FF;
    font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.ax-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 64px); align-items: center; }
.ax-split > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ax-split .ax-art { align-items: center; }
.ax-split .ax-art svg { width: 100%; max-width: 520px; height: auto; }

/* ---------- Offers ---------- */
.ax-offer { position: relative; overflow: hidden; }
.ax-offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--ax-blue); }
.ax-offer.tone-dark::before { background: #04195E; }
.ax-offer.tone-success::before { background: #16a34a; }
.ax-offer.tone-warning::before { background: #f59e0b; }
.ax-offer-top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; }
.ax-badge { display: inline-block; font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 30px; background: #E6ECFF; color: #04195E; }
[data-bs-theme=dark] .ax-badge { background: #10224F; color: #B4CBFF; }
.ax-offer-amount { font-size: 22px; font-weight: 700; color: var(--ax-royal); }
[data-bs-theme=dark] .ax-offer-amount { color: #8FB0FF; }
.ax-offer-sub { margin: 0; font-weight: 700; color: var(--ax-royal) !important; font-size: 18px !important; }
[data-bs-theme=dark] .ax-offer-sub { color: #8FB0FF !important; }
.ax-coupon {
    width: 100%; text-align: center; border: 2px dashed var(--ax-line); border-radius: 16px; padding: 12px;
    background: var(--ax-soft); cursor: pointer; color: var(--ax-ink-2);
}
.ax-coupon code { font-size: 22px; font-weight: 700; color: var(--ax-ink); background: none; direction: ltr; }
.ax-offer-foot { margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Integrations ---------- */
.ax-int-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.ax-int { align-items: center; text-align: center; gap: 10px; padding: 24px 16px; }
.ax-int img { width: 56px; height: 56px; object-fit: contain; }
.ax-int h3 { font-size: 20px; }
.ax-int p { font-size: 16px; }
@media (max-width: 575.98px) { .ax-int-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Pricing ---------- */
.ax-billing { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.ax-billing button {
    font-family: inherit; font-size: 18px; font-weight: 700; min-height: 48px; padding: 0 26px; border-radius: 40px;
    border: 2px solid var(--ax-ink); background: transparent; color: var(--ax-ink); cursor: pointer;
}
.ax-billing button[aria-pressed=true] { background: var(--ax-ink); color: var(--ax-bg); }
.ax-plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.ax-plan { border-radius: 28px; padding: clamp(26px, 3vw, 36px); gap: 18px; align-items: stretch; }
.ax-plan h3 { font-size: clamp(24px, 2.6vw, 32px); }
.ax-card .ax-plan-desc { font-size: 17px; }
.ax-card .ax-plan-price { margin: 0; font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1; color: var(--ax-ink); }
.ax-card .ax-plan-price small { font-size: 18px; font-weight: 500; color: var(--ax-ink-2); }
.ax-card .ax-plan-note { margin: 0; font-size: 17px; color: var(--ax-ink-2); min-height: 1.6em; }
.ax-plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.ax-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--ax-ink); }
.ax-plan li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.ax-plan li.off { opacity: .5; text-decoration: line-through; }
.ax-plan .ax-popular { align-self: flex-start; background: #6A97FF; color: #021240; font-size: 16px; font-weight: 700; padding: 4px 16px; border-radius: 30px; }
.ax-plan.is-popular { background: #04195E; border-color: #04195E; }
.ax-plan.is-popular h3, .ax-card.is-popular .ax-plan-price, .ax-plan.is-popular li { color: #fff; }
.ax-card.is-popular p, .ax-card.is-popular .ax-plan-price small, .ax-card.is-popular .ax-plan-note { color: #DADDEE; }
.ax-card.is-popular .ax-plan-price { color: #fff; }
[data-ax-billing=monthly] .ax-yearly, [data-ax-billing=yearly] .ax-monthly { display: none; }

/* Navy check marks would vanish on dark cards: use the light variant. */
[data-bs-theme=dark] .ax-tick-dark circle { fill: #6A97FF; }
[data-bs-theme=dark] .ax-tick-dark path { stroke: #021240; }

/* ---------- FAQ ---------- */
.ax-faq { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.ax-faq details { background: var(--ax-card); border: 1px solid var(--ax-line); border-radius: 20px; padding: 22px 26px; }
.ax-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary h3 { margin: 0; font-size: clamp(18px, 2vw, 23px); font-weight: 700; color: var(--ax-ink); }
.ax-faq summary svg { flex: none; width: 32px; height: 32px; color: var(--ax-ink); }
.ax-faq details[open] .ax-faq-plus { display: none; }
.ax-faq p { margin: 12px 0 0; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; color: var(--ax-ink-2); }

/* ---------- CTA band ---------- */
.ax-cta { background: #6A97FF; color: #021240; padding: clamp(56px, 7vw, 80px) 0; text-align: center; }
.ax-cta h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.25; font-weight: 700; color: #021240; }
.ax-cta p { margin: 16px 0 28px; font-size: clamp(18px, 2vw, 24px); color: #021240; }
.ax-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ax-cta .btn-primary {
    --gk-btn-color: #021240; --gk-btn-bg: transparent; --gk-btn-border-color: #021240;
    --gk-btn-hover-color: #fff; --gk-btn-hover-bg: #021240; --gk-btn-hover-border-color: #021240;
    border-width: 2px; min-height: 48px; padding: 12px 28px; font-size: clamp(16px, 1.3vw, 19px); display: inline-flex; align-items: center;
}
.ax-cta-custom { margin-top: 18px; font-size: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.ax-page-hero { background: #021240; color: #fff; position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0; }
.ax-page-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 36px solid #6A97FF; opacity: .16; left: -90px; bottom: -120px; }
.ax-page-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(30px, 4.5vw, 52px); font-weight: 700; line-height: 1.2; position: relative; }
.ax-page-hero p { margin: 0; color: #DADDEE; font-size: clamp(16px, 1.8vw, 21px); max-width: 760px; position: relative; }
.ax-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 15px; position: relative; }
.ax-crumbs li { color: #B4CBFF; }
.ax-crumbs li + li::before { content: "‹"; margin-inline-end: 8px; color: #6A97FF; }
.ax-crumbs a { color: #DADDEE; text-decoration: none; }
.ax-crumbs a:hover { color: #fff; }

/* ---------- Contact page ---------- */
.ax-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start; }
.ax-contact-info { display: flex; flex-direction: column; gap: 14px; }
.ax-contact-item {
    display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px;
    background: var(--ax-card); border: 1px solid var(--ax-line); color: var(--ax-ink); text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
a.ax-contact-item:hover { border-color: var(--ax-blue); transform: translateY(-2px); color: var(--ax-ink); }
.ax-contact-item small { display: block; font-size: 14px; color: var(--ax-ink-2); }
.ax-contact-item strong { display: block; font-size: 17px; font-weight: 700; color: var(--ax-ink); word-break: break-word; }
.ax-contact-icon {
    flex: none; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: #E6ECFF; color: #032491; font-size: 22px;
}
[data-bs-theme=dark] .ax-contact-icon { background: #10224F; color: #8FB0FF; }
.ax-contact-social { padding: 18px 22px; border-radius: 20px; background: #021240; color: #DADDEE; }
.ax-contact-social .ax-social { margin-top: 10px; }
.ax-contact-form { gap: 10px; align-items: stretch; }
.ax-contact-form h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--ax-ink); }
.ax-contact-form > p { margin: 0 0 6px; }
.ax-form .form-label { font-weight: 600; color: var(--ax-ink); font-size: 15px; }
.ax-form .form-control, .ax-form .form-select { min-height: 52px; border-radius: 14px; font-size: 16px; background-color: var(--ax-soft); border-color: transparent; }
.ax-form textarea.form-control { min-height: 140px; }
.ax-form .form-control:focus, .ax-form .form-select:focus { background-color: var(--ax-card); }
.ax-form .ax-btn { margin-top: 6px; }
@media (max-width: 991.98px) { .ax-contact-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.ax-about { align-items: center; }
.ax-about-gallery { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px !important; }
.ax-about-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 22px; }
.ax-about-gallery img.wide { grid-column: 1 / -1; height: 260px; }
.ax-about-point { flex-direction: row; gap: 16px; padding: 22px; }
.ax-about-point h3 { font-size: 21px; margin-bottom: 6px; }
.ax-about-point p { font-size: 17px; }
@media (max-width: 575.98px) { .ax-about-gallery img { height: 150px; } .ax-about-gallery img.wide { height: 190px; } }

/* ---------- Footer ---------- */
.ax-footer { background: #021240; color: #fff; padding: 64px 0 28px; }
[data-bs-theme=dark] .ax-footer { background: #020B26; border-top: 1px solid var(--ax-line); }
.ax-footer-grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
.ax-footer h3 { margin: 0 0 14px; font-size: 19px; font-weight: 700; color: #6A97FF; }
.ax-footer p { margin: 0; color: #DADDEE; font-size: 16px; line-height: 1.7; }
.ax-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ax-footer ul a { color: #DADDEE; text-decoration: none; font-size: 16px; display: inline-block; padding: 6px 0; }
.ax-footer a:hover { color: #fff; }
.ax-footer-brand img { height: 44px; width: auto; max-width: 170px; margin-bottom: 16px; }
.ax-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ax-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #36477E; display: inline-flex; align-items: center; justify-content: center; color: #DADDEE; font-size: 17px; text-decoration: none; }
.ax-social a:hover { background: #6A97FF; border-color: #6A97FF; color: #021240; }
.ax-footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #1B2C66; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: #DADDEE; font-size: 15px; }
.ax-accreditations { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-accreditations span { border: 1px solid #36477E; border-radius: 30px; padding: 4px 12px; font-size: 13px; color: #DADDEE; }
@media (max-width: 991.98px) { .ax-footer-grid { grid-template-columns: 1fr 1fr; } .ax-footer-about { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .ax-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .ax-footer-contact { grid-column: 1 / -1; } }

/* ---------- Inner page polish ---------- */
.ax-site .breadcrumb-item a { color: var(--ax-royal); }
.ax-site .nav-pills .nav-link.active { background-color: #04195E !important; color: #fff !important; }
.ax-site .form-control, .ax-site .form-select { border-radius: 12px; border-color: var(--ax-line); }
.ax-site .form-control:focus, .ax-site .form-select:focus { border-color: #6A97FF; box-shadow: 0 0 0 .2rem rgba(106, 151, 255, .25); }
.ax-site .table { --gk-table-bg: var(--ax-card); }
.ax-site .accordion-button:not(.collapsed) { color: var(--ax-ink); background: var(--ax-soft); }

@media (prefers-reduced-motion: reduce) {
    .ax-btn, .ax-btn:hover { transition: none; transform: none; }
}

@media print {
    .ax-header, .ax-footer, #platformTopAnnouncementBar { display: none !important; }
}
