:root {
    --ev-navy: #0B2F4A;
    --ev-blue: #1378B8;
    --ev-blue-dark: #0D5F92;
    --ev-teal: #5AB4E6;
    --ev-bg: #F6FAFD;
    --ev-soft: #EAF6FC;
    --ev-border: #CFE4F2;
    --ev-muted: #536B7C;
    --ev-white: #FFFFFF;
}

html { scroll-behavior: smooth; }
body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ev-navy);
    background: var(--ev-white);
}
a { color: var(--ev-blue); }
.ev-navbar {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ev-border);
}
.ev-brand {
    display: inline-flex;
    align-items: center;
    max-width: 190px;
    padding-top: .35rem;
    padding-bottom: .35rem;
    overflow: hidden;
}
.ev-navbar .ev-brand-logo {
    display: block;
    width: auto !important;
    max-width: 170px !important;
    height: 44px !important;
    max-height: 44px !important;
    object-fit: contain;
}
@media (max-width: 575.98px) {
    .ev-brand { max-width: 150px; }
    .ev-navbar .ev-brand-logo {
        max-width: 140px !important;
        height: 36px !important;
        max-height: 36px !important;
    }
}
.nav-link { color: var(--ev-muted); font-weight: 700; font-size: .95rem; }
.nav-link:hover { color: var(--ev-blue); }
.btn-ev-primary {
    background: var(--ev-blue); border-color: var(--ev-blue); color: #fff;
    border-radius: 999px; padding: .8rem 1.25rem; font-weight: 800;
}
.btn-ev-primary:hover { background: var(--ev-blue-dark); border-color: var(--ev-blue-dark); color: #fff; }
.btn-ev-outline {
    border: 1px solid var(--ev-border); color: var(--ev-navy); background: #fff;
    border-radius: 999px; padding: .8rem 1.25rem; font-weight: 800;
}
.btn-ev-outline:hover { background: var(--ev-soft); color: var(--ev-navy); }
.ev-hero {
    padding: 7.5rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(19,120,184,.16), transparent 34rem), linear-gradient(180deg, #ffffff 0%, var(--ev-bg) 100%);
}
.ev-page-hero {
    padding: 7.5rem 0 3.5rem;
    background: radial-gradient(circle at top right, rgba(19,120,184,.14), transparent 30rem), var(--ev-bg);
}
.ev-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem;
    background: var(--ev-soft); color: var(--ev-blue); border: 1px solid var(--ev-border);
    border-radius: 999px; font-weight: 850; font-size: .82rem; margin-bottom: 1rem;
}
.ev-hero h1, .ev-page-hero h1, .section-title {
    font-weight: 900; letter-spacing: -.06em; line-height: 1.02;
}
.ev-hero h1 { font-size: clamp(2.35rem, 9vw, 5.15rem); }
.ev-page-hero h1, .section-title { font-size: clamp(2rem, 6vw, 3.75rem); }
.ev-lead { color: var(--ev-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 760px; }
.section { padding: 4.5rem 0; }
.section-soft { background: var(--ev-bg); }
.ev-card, .ev-panel {
    background: #fff; border: 1px solid var(--ev-border); border-radius: 1.5rem;
    box-shadow: 0 16px 45px rgba(16,32,51,.06);
}
.ev-card { padding: 1.5rem; height: 100%; }
.ev-panel { padding: 1.75rem; }
.ev-card h3, .ev-panel h3 { font-size: 1.15rem; font-weight: 850; letter-spacing: -.025em; }
.ev-card p, .ev-panel p { color: var(--ev-muted); }
.icon-dot {
    width: 2.5rem; height: 2.5rem; border-radius: 1rem; display: grid; place-items: center;
    background: var(--ev-soft); color: var(--ev-blue); font-weight: 900; margin-bottom: 1rem;
}

.icon-dot svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.news-card {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.news-card a {
    margin-top: auto;
}

.need-pill {
    border: 1px solid var(--ev-border); border-radius: 999px; padding: .7rem 1rem;
    background: #fff; color: var(--ev-navy); font-weight: 700; font-size: .95rem;
}
.ev-cta {
    background: radial-gradient(circle at top left, rgba(19,120,184,.22), transparent 26rem), var(--ev-navy);
    color: #fff; border-radius: 2rem; padding: 2.25rem;
}
.ev-cta p { color: rgba(255,255,255,.76); }
.ev-footer { background: var(--ev-navy); color: rgba(255,255,255,.74); padding: 3rem 0 2rem; }
.ev-footer h6 { color: #fff; font-weight: 850; }
.ev-footer a { color: rgba(255,255,255,.80); text-decoration: none; }
.ev-footer a:hover { color: #fff; }
.ev-footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    padding: .65rem .8rem;
    box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.ev-footer-logo {
    display: block;
    width: auto !important;
    max-width: 180px !important;
    height: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
}
.ev-footer-phone { color: rgba(255,255,255,.84); font-weight: 750; }
.ev-footer-phone a { color: rgba(255,255,255,.90); }
.ev-socials { flex-wrap: wrap; }

.ev-footer-links li { margin-bottom: .45rem; }
.ev-social {
    width: 2.25rem; height: 2.25rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
    display: inline-grid; place-items: center; color: #fff !important; font-weight: 900; font-family: Arial, sans-serif;
    font-size: .88rem; line-height: 1;
}
.ev-social:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); }
.ev-footer-rule { border-color: rgba(255,255,255,.16); margin: 2rem 0 1rem; }
.price { font-size: 2.5rem; font-weight: 900; letter-spacing: -.04em; }
.badge-soft { background: var(--ev-soft); color: var(--ev-blue); border: 1px solid var(--ev-border); }
.form-control, .form-select { border-radius: 1rem; border-color: var(--ev-border); padding: .85rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--ev-blue); box-shadow: 0 0 0 .2rem rgba(19,120,184,.12); }
@media (min-width: 992px) {
    .ev-hero { padding: 9rem 0 6rem; }
    .ev-page-hero { padding: 9rem 0 4.75rem; }
    .section { padding: 6rem 0; }
    .ev-cta { padding: 4rem; }
}

.resource-list-card {
    display: flex; flex-direction: column; gap: .75rem;
}
.resource-meta {
    color: var(--ev-muted); font-size: .92rem; font-weight: 700;
}
.resource-link-row {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-top: 1rem; border-top: 1px solid var(--ev-border);
}
.resource-icon {
    width: 2.75rem; height: 2.75rem; border-radius: 1rem;
    display: grid; place-items: center;
    background: var(--ev-soft); color: var(--ev-blue); font-weight: 900;
    flex: 0 0 auto;
}
@media (max-width: 575.98px) {
    .resource-link-row { align-items: flex-start; flex-direction: column; }
}

.ev-video-card {
    background: #fff;
    border: 1px solid var(--ev-border);
    border-radius: 1.5rem;
    padding: .75rem;
    box-shadow: 0 24px 70px rgba(16,32,51,.10);
    overflow: hidden;
}
.ev-video-card .ratio {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--ev-navy);
}
.ev-video-card iframe {
    border: 0;
}
.video-resource-card {
    background: radial-gradient(circle at top right, rgba(19,120,184,.14), transparent 18rem), #fff;
}


.community-example-panel {
    background: radial-gradient(circle at top right, rgba(19,120,184,.14), transparent 18rem), #fff;
}
.community-resource-card {
    background: radial-gradient(circle at top right, rgba(19,120,184,.12), transparent 18rem), #fff;
}

/* Language / translation controls */
.ev-language-switcher {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
}
.ev-language-switcher-nav {
    padding-top: .75rem;
    padding-bottom: .25rem;
}
.ev-translation-note {
    color: rgba(255,255,255,.74);
    margin-right: .25rem;
}
.ev-lang-btn {
    border: 1px solid rgba(255,255,255,.26);
    background: transparent;
    color: rgba(255,255,255,.86);
    border-radius: 999px;
    padding: .35rem .7rem;
    font-weight: 800;
    font-size: .82rem;
    line-height: 1.1;
}
.ev-lang-btn:hover,
.ev-lang-btn:focus {
    background: rgba(255,255,255,.12);
    color: #fff;
    outline: none;
}
.ev-lang-btn.ev-active {
    background: #fff;
    color: var(--ev-navy);
    border-color: #fff;
}
.ev-navbar .ev-lang-btn {
    border-color: var(--ev-border);
    color: var(--ev-muted);
    background: #fff;
}
.ev-navbar .ev-lang-btn:hover,
.ev-navbar .ev-lang-btn:focus {
    background: var(--ev-soft);
    color: var(--ev-navy);
}
.ev-navbar .ev-lang-btn.ev-active {
    background: var(--ev-navy);
    border-color: var(--ev-navy);
    color: #fff;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon {
    display: none !important;
}
body {
    top: 0 !important;
}
@media (min-width: 992px) {
    .ev-language-switcher-nav {
        padding-top: 0;
        padding-bottom: 0;
    }
}


/* v4 EnVisionUnited website extract update */
.ev-hero-photo {
    position: relative;
    background-image: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.84) 52%, rgba(255,255,255,.48) 100%), url('../../Images/envision-hands-background.svg');
    background-size: cover;
    background-position: center;
}
.ev-login-info-panel {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
}
.ev-mini-action {
    display: block;
    padding: 1rem;
    border: 1px solid var(--ev-border);
    border-radius: 1rem;
    color: var(--ev-navy);
    text-decoration: none;
    background: #fff;
}
.ev-mini-action:hover { background: var(--ev-soft); color: var(--ev-navy); }
.ev-mini-action strong { display: block; font-weight: 900; }
.ev-mini-action span { color: var(--ev-muted); font-size: .95rem; }
.ev-click-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--ev-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 16px 45px rgba(16,32,51,.06);
    text-decoration: none;
    color: var(--ev-navy);
}
.ev-click-card:hover { color: var(--ev-navy); transform: translateY(-2px); box-shadow: 0 20px 56px rgba(16,32,51,.10); }
.ev-click-card p { color: var(--ev-muted); }
.ev-click-card span { margin-top: auto; color: var(--ev-blue); font-weight: 900; }
.ev-large-choice { min-height: 22rem; }

/* Sponsor / partner logo scroll from the original EnVision page. */
.ev-sponsor-marquee {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ev-border);
    border-radius: 1.75rem;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 50px rgba(16,32,51,.07);
    padding: .85rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ev-sponsor-track {
    display: flex;
    width: max-content;
    animation: ev-sponsor-scroll-left 54s linear infinite;
}
.ev-sponsor-set {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 .5rem;
}
.ev-sponsor-card {
    flex: 0 0 auto;
    width: 12.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ev-border);
    border-radius: 1.1rem;
    background: #fff;
    padding: .9rem 1rem;
    box-shadow: 0 10px 30px rgba(16,32,51,.05);
}
.ev-sponsor-card-dark {
    background: var(--ev-navy);
    border-color: rgba(255,255,255,.08);
}
.ev-sponsor-card img {
    display: block;
    max-width: 100%;
    max-height: 3.85rem;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ev-sponsor-card-dark img {
    max-height: 3.4rem;
}
.ev-sponsor-marquee:hover .ev-sponsor-track {
    animation-play-state: paused;
}
@keyframes ev-sponsor-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ev-partner-marquee {
    overflow: hidden;
    border: 1px solid var(--ev-border);
    border-radius: 999px;
    background: #fff;
    padding: .65rem 0;
    box-shadow: 0 12px 35px rgba(16,32,51,.05);
}
.ev-partner-track {
    display: flex;
    gap: .75rem;
    width: max-content;
    animation: ev-scroll-left 34s linear infinite;
}
.ev-partner-track span {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--ev-soft);
    color: var(--ev-navy);
    font-weight: 800;
    white-space: nowrap;
}
.ev-partner-marquee:hover .ev-partner-track { animation-play-state: paused; }
@keyframes ev-scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.team-card h2 { font-weight: 900; letter-spacing: -.03em; }
.team-title { color: var(--ev-blue) !important; font-weight: 900; }
.team-photo-placeholder {
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 1.5rem;
    background: var(--ev-soft);
    color: var(--ev-blue);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
@media (prefers-reduced-motion: reduce) {
    .ev-sponsor-track { animation: none; flex-wrap: wrap; width: auto; }
    .ev-sponsor-set { flex-wrap: wrap; justify-content: center; }
    .ev-partner-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 .75rem; }
    .ev-click-card:hover { transform: none; }
}
@media (max-width: 575.98px) {
    
/* Sponsor / partner logo scroll from the original EnVision page. */
.ev-sponsor-marquee {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ev-border);
    border-radius: 1.75rem;
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 50px rgba(16,32,51,.07);
    padding: .85rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ev-sponsor-track {
    display: flex;
    width: max-content;
    animation: ev-sponsor-scroll-left 54s linear infinite;
}
.ev-sponsor-set {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 .5rem;
}
.ev-sponsor-card {
    flex: 0 0 auto;
    width: 12.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ev-border);
    border-radius: 1.1rem;
    background: #fff;
    padding: .9rem 1rem;
    box-shadow: 0 10px 30px rgba(16,32,51,.05);
}
.ev-sponsor-card-dark {
    background: var(--ev-navy);
    border-color: rgba(255,255,255,.08);
}
.ev-sponsor-card img {
    display: block;
    max-width: 100%;
    max-height: 3.85rem;
    width: auto;
    height: auto;
    object-fit: contain;
}
.ev-sponsor-card-dark img {
    max-height: 3.4rem;
}
.ev-sponsor-marquee:hover .ev-sponsor-track {
    animation-play-state: paused;
}
@keyframes ev-sponsor-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ev-partner-marquee { border-radius: 1.25rem; }
    .ev-partner-track { animation-duration: 48s; }
}

/* Link polish update: remove always-on underlines; use hover/focus only where appropriate */
a:not(.btn):not(.nav-link):not(.ev-click-card):not(.ev-mini-action):not(.ev-social) {
    text-decoration: none;
    text-underline-offset: .22em;
    text-decoration-thickness: 1.5px;
}
a:not(.btn):not(.nav-link):not(.ev-click-card):not(.ev-mini-action):not(.ev-social):hover,
a:not(.btn):not(.nav-link):not(.ev-click-card):not(.ev-mini-action):not(.ev-social):focus {
    text-decoration: underline;
}

.ev-click-card,
.ev-click-card:hover,
.ev-click-card:focus,
.ev-click-card * {
    text-decoration: none !important;
}
.ev-click-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ev-click-card:hover,
.ev-click-card:focus {
    border-color: rgba(19,120,184,.34);
}
.ev-click-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: var(--ev-soft);
    border: 1px solid var(--ev-border);
    color: var(--ev-blue);
    font-weight: 900;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ev-click-card span::after {
    content: "→";
    margin-left: .45rem;
    transition: transform .18s ease;
}
.ev-click-card:hover span,
.ev-click-card:focus span {
    background: var(--ev-blue);
    border-color: var(--ev-blue);
    color: #fff;
}
.ev-click-card:hover span::after,
.ev-click-card:focus span::after {
    transform: translateX(2px);
}
.ev-click-card:focus-visible,
.ev-mini-action:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(19,120,184,.28);
    outline-offset: 3px;
}


/* Logo update: sitewide color system now uses the blue from Images/envision.png (#1378B8). */


/* Logo sizing safeguard: prevents large source images from expanding the fixed nav/footer. */
.ev-navbar { min-height: 68px; }
.ev-brand img,
.ev-footer-logo-wrap img {
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .ev-navbar { min-height: 60px; }
}


/* Legal/footer update */
.ev-legal-links a {
    color: inherit;
}
.ev-legal-copy {
    max-width: 960px;
    margin: 0 auto;
}
.ev-legal-copy h2 {
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: -.02em;
    margin-top: 2rem;
    margin-bottom: .65rem;
}
.ev-legal-copy h2:first-child {
    margin-top: 0;
}
.ev-legal-copy p {
    color: var(--ev-muted);
    line-height: 1.75;
}
.ev-legal-hero .container {
    max-width: 960px;
}


/* Language controls remain in the footer, styled as utility pills */
.ev-language-switcher-footer {
    gap: .45rem;
}
.ev-language-label {
    color: rgba(255,255,255,.82);
    font-weight: 700;
}
.ev-language-switcher-footer .ev-lang-btn {
    border: 1px solid rgba(255,255,255,.26);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ev-language-switcher-footer .ev-lang-btn:hover,
.ev-language-switcher-footer .ev-lang-btn:focus {
    color: #fff;
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.44);
    text-decoration: none;
}
.ev-language-switcher-footer .ev-lang-btn.ev-active {
    color: var(--ev-blue);
    background: #fff;
    border-color: #fff;
    text-decoration: none;
}

/* Footer language placement update: keep language pills in Account column to reduce bottom-row wrapping */
.ev-language-switcher-column {
    margin-top: .25rem;
}

.ev-language-switcher-column .ev-translation-note,
.ev-language-switcher-column .ev-language-label {
    color: rgba(255,255,255,.86);
    line-height: 1.25;
}

.ev-language-switcher-column .ev-language-label {
    font-weight: 800;
}

.ev-legal-links {
    max-width: 760px;
    text-align: left;
}

@media (min-width: 992px) {
    .ev-legal-links {
        text-align: right;
    }
}
