/*
 * moe-modern.css — visual upgrade layer for the moe-cayman public pages.
 *
 * Goals:
 *   - Modern typography (Inter, comfortable line-height, larger headings)
 *   - Brand palette (MoE teal #2b6062 + orange #f36b20)
 *   - Soft shadows, generous rounding, modern button + form treatment
 *   - Polished hero, card, and footer treatment without touching markup
 *
 * Loads AFTER publicCustom.min.css so these rules win the cascade.
 * Targets the same class names the page is already using.
 */

:root {
    --moe-teal:         #2b6062;
    --moe-teal-dark:    #1e4647;
    --moe-teal-soft:    rgba(43, 96, 98, 0.10);
    --moe-orange:       #f36b20;
    --moe-orange-dark:  #e4611a;
    --moe-cream:        #fff8ec;
    --moe-slate-900:    #0f172a;
    --moe-slate-700:    #334155;
    --moe-slate-500:    #64748b;
    --moe-slate-200:    #e2e8f0;
    --moe-slate-50:     #f8fafc;
}

/* ── Base typography ────────────────────────────────────────────── */
body {
    font-family: 'Inter', 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--moe-slate-700);
    background: #fafafa;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--moe-slate-900);
}

a { transition: color 0.15s ease; }
a:hover { text-decoration: none; }

p { line-height: 1.65; }

.main-heading {
    font-size: 2rem;
    margin: 0 0 2.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}
.main-heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: var(--moe-orange);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar.navbar-light.bg-white {
    background: white !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}
.navbar-brand img {
    height: 52px;
    width: auto;
}
.navbar-nav .nav-item {
    margin-left: 0.5rem;
}
.navbar-nav .nav-link.btn {
    padding: 0.55rem 1.4rem !important;
    font-size: 0.95rem;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
    border-radius: 10px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-width: 1px;
    transition: transform 0.15s ease, box-shadow 0.2s ease,
                background-color 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn:focus, .btn:active, .btn:hover { outline: none; }

.btn-primary,
.btn-primary:not(:disabled):not(.disabled) {
    background: var(--moe-teal);
    border-color: var(--moe-teal);
    color: white;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):hover {
    background: var(--moe-teal-dark);
    border-color: var(--moe-teal-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(43, 96, 98, 0.25);
}

.btn-green,
.btn-green:not(:disabled):not(.disabled) {
    background: var(--moe-orange);
    border-color: var(--moe-orange);
    color: white;
}
.btn-green:hover, .btn-green:focus {
    background: var(--moe-orange-dark);
    border-color: var(--moe-orange-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(243, 107, 32, 0.28);
}

.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────── */
.banner {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse at top right, rgba(243, 107, 32, 0.06), transparent 50%),
        linear-gradient(135deg, var(--moe-cream) 0%, #ffffff 60%);
}
.banner h1 {
    font-size: 2.75rem;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    color: var(--moe-slate-900);
}
.banner p {
    font-size: 1.1rem;
    color: var(--moe-slate-700);
    margin-bottom: 1.25rem;
}
.banner .details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.banner .details li {
    padding: 0.35rem 0;
    font-size: 1rem;
    color: var(--moe-slate-700);
}
.banner .details li i.fa-check-circle {
    color: var(--moe-teal);
    margin-right: 0.5rem;
}
.banner .hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Slider images */
.single-banner .item img {
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12),
                0 4px 12px rgba(15, 23, 42, 0.06);
}
.slick-dots li button:before {
    color: var(--moe-teal);
    opacity: 0.35;
    font-size: 10px;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--moe-orange);
}

/* ── Download block ─────────────────────────────────────────────── */
.downloadBlock h4 {
    /* Normal-weight, sentence-case heading per request — no uppercase. */
    font-size: 1rem;
    text-transform: none;
    color: var(--moe-slate-700);
    letter-spacing: 0;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.downloadBlock a img {
    height: 42px;
    width: auto;
    margin-right: 0.6rem;
    transition: transform 0.15s ease;
}
.downloadBlock a:hover img { transform: translateY(-2px); }

/* ── How it works ───────────────────────────────────────────────── */
.weWorks {
    background: white;
    padding: 5rem 0;
}
.weWorks .card.step-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.75rem;
    background: white;
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.weWorks .card.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}
.weWorks .step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--moe-teal) 0%, var(--moe-teal-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(43, 96, 98, 0.25);
}
.weWorks .card.step-card .card-body {
    padding: 0;
}
.weWorks .card-title {
    color: var(--moe-teal);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.weWorks .card-text {
    color: var(--moe-slate-500);
    font-size: 0.95rem;
    margin: 0;
}
.weWorks .countup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--moe-orange);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    box-shadow: 0 4px 12px rgba(243, 107, 32, 0.3);
}

/* ── Feature grid ───────────────────────────────────────────────── */
.feature {
    background: var(--moe-slate-50);
    padding: 5rem 0;
}
.feature .Featurecontent {
    padding: 1.75rem 1.5rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.feature .Featurecontent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}
.feature .Featurecontent i {
    color: var(--moe-orange);
    background: rgba(243, 107, 32, 0.08);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature .Featurecontent h3 {
    font-size: 1.05rem;
    color: var(--moe-teal);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature .Featurecontent p {
    font-size: 0.92rem;
    color: var(--moe-slate-500);
    margin: 0;
    line-height: 1.55;
}

/* ── "Ready to get started" (uses .CountUp class) ───────────────── */
.CountUp {
    background: linear-gradient(135deg, var(--moe-teal) 0%, var(--moe-teal-dark) 100%);
    color: white;
    padding: 4rem 0;
}
.CountUp .main-heading,
.CountUp h2 { color: white; }
.CountUp .main-heading::after { background: var(--moe-orange); }
.CountUp p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}
.CountUp .btn-primary {
    background: white;
    color: var(--moe-teal);
    border-color: white;
}
.CountUp .btn-primary:hover {
    background: var(--moe-cream);
    color: var(--moe-teal-dark);
    border-color: var(--moe-cream);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* ── Auth forms (LogIn / register / ForgotPassword / ContactUs) ── */
.authPage {
    padding: 3.5rem 0;
    background:
        radial-gradient(ellipse at top right, rgba(243, 107, 32, 0.05), transparent 50%),
        var(--moe-slate-50);
    min-height: 80vh;
}
.authForm, .InfoBlock {
    background: white;
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(15, 23, 42, 0.07);
    margin: 1rem 0;
}
.InfoBlock { padding-top: 1.75rem; }
.InfoBlock h3 {
    font-size: 1.5rem;
    color: var(--moe-teal);
    margin-bottom: 1rem;
}
.InfoBlock .authImg {
    border-radius: 12px;
    margin-bottom: 1rem;
}
.InfoBlock .details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.InfoBlock .details li {
    padding: 0.35rem 0;
    font-size: 0.95rem;
}
.InfoBlock .details li i.fa-check-circle {
    color: var(--moe-teal);
    margin-right: 0.4rem;
}
.authForm h3 {
    font-size: 1.625rem;
    color: var(--moe-teal);
    margin-bottom: 0.4rem;
}
.authForm .subtitle {
    color: var(--moe-slate-500);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ── Inputs ────────────────────────────────────────────────────────
   publicCustom.min.css ships an underline-only style where the prefix
   icon is position:absolute *inside* the input — that was clipping the
   first character of every placeholder. These rules use higher
   specificity + !important to force a proper bordered card layout with
   the icon in a teal prefix tile and the text-input flush against it. */
.authPage .authForm .inputgroup,
.authPage .InfoBlock .inputgroup,
.authForm .inputgroup {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    margin-bottom: 1rem !important;
    background: white !important;
    border: 1px solid var(--moe-slate-200) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.authPage .authForm .inputgroup:focus-within,
.authForm .inputgroup:focus-within {
    border-color: var(--moe-teal) !important;
    box-shadow: 0 0 0 3px var(--moe-teal-soft) !important;
}

.authPage .authForm .inputgroup .input-group-prepend,
.authForm .inputgroup .input-group-prepend {
    position: static !important;
    display: flex !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    height: auto !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
}

.authPage .authForm .inputgroup .input-group-text,
.authForm .inputgroup .input-group-text {
    /* publicCustom.min.css pins this to position:absolute with width/height
       4rem and white background — beat all three so the icon sits in flex
       flow as a proper prefix tile instead of overlaying the input. */
    position: static !important;
    top: auto !important;
    left: auto !important;
    background: var(--moe-teal) !important;
    background-color: var(--moe-teal) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 1rem !important;
    width: auto !important;
    min-width: 48px !important;
    height: auto !important;
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    margin: 0 !important;
}
.authPage .authForm .inputgroup .input-group-text i.fa,
.authForm .inputgroup .input-group-text i.fa {
    color: white !important;
    margin: 0 !important;
}

.authPage .authForm .inputgroup .form-control,
.authPage .authForm .inputgroup textarea.form-control,
.authForm .inputgroup .form-control,
.authForm .inputgroup textarea.form-control {
    position: static !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0.7rem 1rem !important;
    padding-left: 1rem !important;       /* full padding — icon lives outside */
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    box-shadow: none !important;
    outline: none !important;
    height: auto !important;
}
.authPage .authForm .inputgroup .form-control:focus,
.authForm .inputgroup .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}
.authPage .authForm .inputgroup textarea.form-control,
.authForm .inputgroup textarea.form-control {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    min-height: 110px;
    resize: vertical;
}

/* Password-eye toggle — keep it inside the input card, on the right */
.authPage .authForm .passwordToggle,
.authForm .passwordToggle { position: relative !important; }
.authPage .authForm .passwordToggle .fa-eye,
.authPage .authForm .passwordToggle .fa-eye-slash,
.authForm .passwordToggle .fa-eye,
.authForm .passwordToggle .fa-eye-slash {
    position: absolute !important;
    right: 0.85rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer;
    color: var(--moe-slate-500);
    font-size: 1.05rem;
    z-index: 5;
}
.authForm .passwordToggle .form-control { padding-right: 2.5rem !important; }

/* publicCustom.min.css has `.passwordToggle i { position: absolute; right: 10px }`
   targeting EVERY <i> inside .passwordToggle — that yanked the lock + shield
   prefix icons out to the right edge of the row, leaving the teal tile
   visually empty. Restore inline rendering for icons that live inside the
   prefix tile; the eye-toggle (.fa-eye / .fa-eye-slash) keeps the absolute
   override above. */
.authPage .authForm .passwordToggle .input-group-prepend i.fa,
.authPage .authForm .passwordToggle .input-group-text  i.fa,
.authForm .passwordToggle .input-group-prepend i.fa,
.authForm .passwordToggle .input-group-text  i.fa {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    font-size: 1rem !important;
    color: white !important;
    text-shadow: none !important;
    transition: none !important;
}

.loginError {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.linkChek {
    margin-bottom: 1rem;
    align-items: center;
    font-size: 0.9rem;
}
.linkChek a {
    color: var(--moe-teal);
    font-weight: 600;
}
.linkChek a:hover { color: var(--moe-teal-dark); }

/* Captcha widget — give it breathing room */
#captcha-widget { margin: 0.5rem 0 1rem; }

/* ── Footer ─────────────────────────────────────────────────────── */
.Footer {
    background: var(--moe-teal-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1rem;
    margin-top: 4rem;
}
.Footer h4 {
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-weight: 700;
}
.Footer a {
    color: rgba(255, 255, 255, 0.7);
}
.Footer a:hover { color: white; }
.Footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.Footer ul li {
    padding: 0.3rem 0;
    font-size: 0.92rem;
}
.Footer .footer-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background: white;
    padding: 4px;
}
.Footer .widget1 p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}
.Footer .widget3 li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.Footer .widget3 i {
    color: var(--moe-orange);
    margin-top: 0.2rem;
    width: 16px;
    flex-shrink: 0;
}
.Footer .DevelopBy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding: 1.25rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}
.Footer #footer-contact-empty {
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

#scroll-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    background: var(--moe-orange);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(243, 107, 32, 0.35);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(243, 107, 32, 0.45);
    color: white;
    text-decoration: none;
}
#scroll-to-top.visible { display: flex; }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .banner {
        padding: 3rem 0;
        text-align: center;
    }
    .banner h1 { font-size: 2.125rem; }
    .banner .hero-cta { justify-content: center; }
    .banner .details {
        display: inline-block;
        text-align: left;
    }
    .single-banner { margin-top: 2rem; }
    .weWorks, .feature, .CountUp { padding: 3rem 0; }
    .main-heading { font-size: 1.6rem; }
    .authForm, .InfoBlock { padding: 1.5rem; }
    .navbar-nav { padding-top: 0.75rem; }
    .navbar-nav .nav-item { margin: 0.25rem 0; }
}

@media (max-width: 575.98px) {
    .banner h1 { font-size: 1.75rem; }
    .banner p { font-size: 1rem; }
    .main-heading { font-size: 1.375rem; }
    .btn { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
    .downloadBlock a img { height: 38px; }
}

/* ── Button group alignment ─────────────────────────────────────── */
/* Use one canonical .cta-buttons class for every multi-button row.
   Flex+gap keeps inter-button spacing consistent and the
   centred wrapper means the section's text-center carries through. */
.cta-buttons,
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.25rem;
}
.cta-buttons { justify-content: center; }
.cta-buttons .btn,
.hero-cta .btn {
    margin: 0 !important;       /* override Bootstrap .mr-* utilities */
    min-width: 168px;
    text-align: center;
}
.btn .fa { margin-right: 0.4rem; }

/* ── Footer polish ──────────────────────────────────────────────── */
.Footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
}
.Footer .row { row-gap: 2rem; }
.Footer .widget1, .Footer .widget2, .Footer .widget3 {
    padding-right: 1rem;
}
.Footer ul li a {
    display: inline-block;
    padding: 0.15rem 0;
}
.Footer ul li i.fa {
    color: var(--moe-orange);
}
.Footer .widget3 li {
    line-height: 1.5;
}
.Footer .widget3 li a,
.Footer .widget3 li span {
    word-break: break-word;
}
.Footer #footer-contact-empty {
    line-height: 1.45;
    padding-top: 0.25rem;
}
.Footer .DevelopBy p { margin: 0; }
.Footer .DevelopBy a { color: var(--moe-orange); font-weight: 600; }
.Footer .DevelopBy a:hover { color: #ffb088; }

/* Brand name pulled from server-side fallback in the © line — keep it
   inline with the year, not on its own line. */
.Footer .DevelopBy [data-tenant-name] {
    display: inline;
}

/* Mobile: footer columns stack with proper spacing */
@media (max-width: 767.98px) {
    .Footer { padding-top: 2.5rem; margin-top: 2.5rem; }
    .Footer .footer-brand img { height: 48px; }
    .Footer h4 { margin-top: 0.5rem; }
    .Footer .widget2.d-sm-flex { flex-direction: column; }
    .Footer .widget2 > div { margin-bottom: 1.25rem; }
}

/* ── Top-nav main links (Home / About / Contact) ─────────────────── */
.nav-main-links { margin-right: auto; }
.nav-main-links .nav-item { margin: 0 0.15rem; }
.nav-main-links .nav-link {
    color: var(--moe-slate-700) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 8px;
    position: relative;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-main-links .nav-link:hover,
.nav-main-links .nav-link:focus {
    color: var(--moe-teal) !important;
    background: var(--moe-teal-soft);
}
.nav-main-links .nav-link.active {
    color: var(--moe-teal-dark) !important;
    font-weight: 600;
}

/* Bootstrap 4 doesn't have me-auto/ms-auto utilities — fall back to ml-auto. */
.nav-main-links.me-auto { margin-right: auto; margin-left: 0; }

@media (max-width: 991.98px) {
    .nav-main-links {
        margin: 0.5rem 0 0;
        flex-direction: column;
        width: 100%;
    }
    .nav-main-links .nav-link {
        padding: 0.65rem 0.5rem !important;
        border-bottom: 1px solid var(--moe-slate-200);
        border-radius: 0;
    }
    .nav-main-links .nav-item:last-child .nav-link { border-bottom: 0; }
}

/* ── Auth illustration — hero composition ──────────────────────────
   Single big teal circle in the centre, four floating "feature chips"
   around it on a soft cream-to-white blob. Gentle vertical float so it
   feels alive without being distracting. Replaces the previous 2x2
   grid which read as a dashboard. *@
*/
.auth-illustration {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 1.5rem;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 70% 20%, rgba(243, 107, 32, 0.10), transparent 55%),
        radial-gradient(circle at 30% 80%, rgba(43, 96, 98, 0.08), transparent 55%),
        linear-gradient(135deg, var(--moe-cream) 0%, white 100%);
    border-radius: 28px;
    overflow: hidden;
}

/* Backdrop glow behind the central icon */
.auth-illustration::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 64%; height: 64%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(243, 107, 32, 0.18), transparent 65%);
    filter: blur(18px);
    pointer-events: none;
}

/* Central icon — the page's "primary action" symbol */
.auth-illustration .hero-main {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.auth-illustration .hero-main-icon {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--moe-teal) 0%, var(--moe-teal-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.25rem;
    box-shadow:
        0 24px 60px rgba(43, 96, 98, 0.45),
        inset 0 -8px 24px rgba(0, 0, 0, 0.12);
    animation: heroPulse 4s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}

/* Floating "feature chips" around the hero icon */
.auth-illustration .hero-chip {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 0.6rem 0.95rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--moe-teal);
    z-index: 3;
    white-space: nowrap;
}
.auth-illustration .hero-chip i {
    color: var(--moe-orange);
    font-size: 1rem;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(243, 107, 32, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.auth-illustration .hero-chip-1 { top: 14%;  left: 6%;   animation: float 3.4s ease-in-out infinite; }
.auth-illustration .hero-chip-2 { top: 14%;  right: 6%;  animation: float 3.8s ease-in-out infinite reverse; }
.auth-illustration .hero-chip-3 { bottom: 16%; left: 5%; animation: float 4.0s ease-in-out infinite reverse; }
.auth-illustration .hero-chip-4 { bottom: 14%; right: 6%; animation: float 3.6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

@media (max-width: 575.98px) {
    .auth-illustration { max-width: 320px; }
    .auth-illustration .hero-main-icon { width: 110px; height: 110px; font-size: 2.5rem; }
    .auth-illustration .hero-chip { font-size: 0.75rem; padding: 0.45rem 0.7rem; }
    .auth-illustration .hero-chip i { width: 18px; height: 18px; font-size: 0.85rem; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .auth-illustration .hero-main-icon,
    .auth-illustration .hero-chip { animation: none; }
}

/* ── Footer link polish (parent-portal column was hard to scan) ──── */
.Footer ul li a {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-left: 0;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.Footer ul li a:hover {
    color: white !important;
    padding-left: 4px;
}
.Footer ul li a::before {
    content: '\f105'; /* fa-angle-right */
    font-family: 'FontAwesome', sans-serif;
    color: var(--moe-orange);
    margin-right: 0.5rem;
    font-size: 0.85em;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.Footer ul li a:hover::before { opacity: 1; }

/* Quick Links + Parent portal column headings — tighter, more nav-like */
.Footer .widget2 h4 {
    color: var(--moe-orange);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Contact column — keep the link styles distinct from the sidebar lists */
.Footer .widget3 ul li a {
    padding-left: 0 !important;
}
.Footer .widget3 ul li a::before { display: none; }

/* PrivacyPolicy page card — wider text column reads better */
.Homepage .step-card p,
.Homepage .step-card ul.details { font-size: 1rem; line-height: 1.7; }
.Homepage .step-card ul.details li { padding: 0.4rem 0; align-items: flex-start; }
.Homepage .step-card ul.details li i { margin-top: 0.3rem; flex-shrink: 0; }

/* "Powered by School365" — make the brand line balance properly */
.Footer .DevelopBy p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}
