/* ==========================================================================
   FMS Alumni Association — 2026 design system
   Loaded after the legacy stylesheets; the legacy markup keeps working and is restyled here.
   ========================================================================== */

:root {
    --fx-navy: #0b2545;
    --fx-navy-2: #13315c;
    --fx-navy-3: #1d4e89;
    --fx-accent: #f26b1d;
    --fx-accent-2: #d9570d;
    --fx-gold: #e8b04b;
    --fx-ink: #1b2432;
    --fx-muted: #5b6676;
    --fx-line: #e3e7ee;
    --fx-bg: #ffffff;
    --fx-bg-soft: #f6f7fb;
    --fx-bg-warm: #fbf8f3;
    --fx-radius: 14px;
    --fx-radius-sm: 8px;
    --fx-shadow: 0 10px 30px rgba(11, 37, 69, .08);
    --fx-shadow-lg: 0 20px 50px rgba(11, 37, 69, .14);
    --fx-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --fx-sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    --fx-container: 1200px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--fx-sans) !important;
    color: var(--fx-ink);
    background: var(--fx-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body p, body li, body td, body th, body label, body input, body select, body textarea, body .form-control {
    font-family: var(--fx-sans);
}
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--fx-serif); color: var(--fx-navy); letter-spacing: -.01em; }
h4, h5, h6, .h4, .h5, .h6 { font-family: var(--fx-sans); color: var(--fx-ink); }
a { color: var(--fx-navy-3); transition: color .2s ease; }
a:hover, a:focus { color: var(--fx-accent); text-decoration: none; }
img { max-width: 100%; }
.page-content { margin-top: 0 !important; padding-top: 0 !important; }
/* Legacy CSS set body { overflow: hidden auto }, which blocks mouse-wheel/keyboard scrolling in Chrome.
   clip still prevents sideways scrolling without turning <body> into a scroll container. */
body { overflow-x: clip !important; overflow-y: visible !important; }
/* Legacy CSS centres paragraphs and adds letter-spacing; the new components use normal text */
.fx-hero p, .fx-section p, .fx-stats p, .fx-cta p, .fx-footer p, .fx-contact__info, .fx-feature p, .fx-lead, .fx-person p, .fx-event p {
    text-align: left; letter-spacing: normal;
}

.fx-container { max-width: var(--fx-container); margin: 0 auto; padding: 0 20px; }
.fx-section { padding: 88px 0; }
.fx-section--soft { background: var(--fx-bg-soft); }
.fx-section--warm { background: var(--fx-bg-warm); }
.fx-section--navy { background: var(--fx-navy); color: #dfe6f1; }

.fx-eyebrow {
    display: inline-block; font-family: var(--fx-sans); font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--fx-accent); margin-bottom: 12px;
}
.fx-heading { font-family: var(--fx-serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; color: var(--fx-navy); margin: 0 0 16px; font-weight: 700; }
.fx-lead { font-size: 17px; line-height: 1.75; color: var(--fx-muted); margin: 0 0 24px; }
.fx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.fx-section-head .fx-lead { margin: 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.fx-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px;
    font: 600 15px/1 var(--fx-sans); letter-spacing: .01em; border: 2px solid transparent; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    text-decoration: none !important; white-space: nowrap;
}
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn--accent { background: var(--fx-accent); color: #fff !important; box-shadow: 0 8px 20px rgba(242, 107, 29, .3); }
.fx-btn--accent:hover { background: var(--fx-accent-2); color: #fff !important; }
.fx-btn--navy { background: var(--fx-navy); color: #fff !important; }
.fx-btn--navy:hover { background: var(--fx-navy-3); color: #fff !important; }
.fx-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff !important; background: transparent; }
.fx-btn--ghost:hover { background: #fff; color: var(--fx-navy) !important; }
.fx-btn--outline { border-color: var(--fx-navy); color: var(--fx-navy) !important; background: transparent; }
.fx-btn--outline:hover { background: var(--fx-navy); color: #fff !important; }
.fx-btn--sm { padding: 9px 18px; font-size: 14px; }
.fx-link-arrow { font-weight: 600; color: var(--fx-navy); display: inline-flex; align-items: center; gap: 8px; }
.fx-link-arrow:hover { color: var(--fx-accent); gap: 12px; }

/* ---------- Header ---------- */
.fx-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow .25s ease; }
.fx-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 37, 69, .10); }
.fx-topbar { background: var(--fx-navy); color: #c9d4e5; font-size: 13px; }
.fx-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.fx-topbar a { color: #c9d4e5; }
.fx-topbar a:hover { color: #fff; }
.fx-topbar__links { display: flex; align-items: center; gap: 18px; }
.fx-topbar__social { display: flex; gap: 12px; }
.fx-topbar__social a { font-size: 14px; }
.fx-nav__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.fx-brand { flex: 0 0 auto; display: block; }
.fx-brand img { height: 38px; width: auto; display: block; }
.fx-menu { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.fx-menu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.fx-menu > ul > li { position: relative; }
.fx-menu > ul > li > a, .fx-menu > ul > li > button {
    display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none;
    font: 500 15px/1.2 var(--fx-sans); color: var(--fx-ink); border-radius: 8px; cursor: pointer; white-space: nowrap;
}
.fx-menu > ul > li > a:hover, .fx-menu > ul > li > button:hover, .fx-menu > ul > li:focus-within > button { color: var(--fx-navy-3); background: var(--fx-bg-soft); }
.fx-menu > ul > li.is-active > a, .fx-menu > ul > li.is-active > button { color: var(--fx-accent); }
.fx-menu .fa-angle-down { font-size: 14px; transition: transform .2s ease; }
.fx-sub {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
    background: #fff; border-radius: 12px; box-shadow: var(--fx-shadow-lg); border: 1px solid var(--fx-line);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 20;
}
.fx-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.fx-has-sub:hover > .fx-sub, .fx-has-sub:focus-within > .fx-sub, .fx-has-sub.is-open > .fx-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.fx-has-sub:hover .fa-angle-down { transform: rotate(180deg); }
.fx-sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--fx-ink); font-size: 14.5px; }
.fx-sub a:hover, .fx-sub li.is-active a { background: var(--fx-bg-soft); color: var(--fx-navy-3); }
.fx-sub .fa { width: 18px; color: var(--fx-accent); text-align: center; }
.fx-sub__note { padding: 8px 12px 10px; font-size: 12px; color: var(--fx-muted); border-bottom: 1px solid var(--fx-line); margin-bottom: 6px; }
.fx-sub a.fx-sub__danger, .fx-sub a.fx-sub__danger .fa { color: #c62828; }
.fx-menu__actions { display: flex; align-items: center; gap: 10px; }
.fx-account { position: relative; }
.fx-account > button {
    display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--fx-line);
    background: #fff; font: 600 14px var(--fx-sans); color: var(--fx-navy); cursor: pointer; white-space: nowrap;
}
.fx-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--fx-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.fx-account .fx-sub { left: auto; right: 0; }
.fx-myaccount { padding-left: 8px !important; }
.fx-myaccount .fx-avatar { width: 26px; height: 26px; background: var(--fx-accent); font-size: 12px; }
.fx-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--fx-line); border-radius: 10px; background: #fff; position: relative; cursor: pointer; }
.fx-burger span, .fx-burger span::before, .fx-burger span::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--fx-navy); content: ""; transition: transform .25s ease, opacity .2s ease; }
.fx-burger span { top: 21px; }
.fx-burger span::before { left: 0; top: -6px; }
.fx-burger span::after { left: 0; top: 6px; }
.fx-burger[aria-expanded="true"] span { background: transparent; }
.fx-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.fx-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199px) {
    .fx-menu > ul > li > a, .fx-menu > ul > li > button { padding: 10px 8px; font-size: 14.5px; }
    .fx-menu { gap: 12px; }
}
@media (max-width: 991px) {
    .fx-topbar__address { display: none; }
    .fx-burger { display: block; }
    .fx-menu {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 1100;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 84px 18px 24px;
        overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--fx-shadow-lg);
    }
    .fx-menu.is-open { transform: translateX(0); }
    .fx-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .fx-menu > ul > li { border-bottom: 1px solid var(--fx-line); }
    .fx-menu > ul > li > a, .fx-menu > ul > li > button { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 16px; }
    .fx-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; display: none; min-width: 0; }
    .fx-has-sub:hover > .fx-sub, .fx-has-sub:focus-within > .fx-sub { display: none; }
    .fx-has-sub.is-open > .fx-sub { display: block; }
    .fx-has-sub:hover .fa-angle-down { transform: none; }
    .fx-has-sub.is-open .fa-angle-down { transform: rotate(180deg); }
    .fx-menu__actions { flex-direction: column; align-items: stretch; margin-top: 18px; }
    .fx-menu__actions .fx-btn { justify-content: center; }
    .fx-account > button { width: 100%; }
    .fx-account .fx-sub { display: block; padding-left: 0; }
    .fx-account > button { display: none; }
    .fx-backdrop { position: fixed; inset: 0; background: rgba(11, 37, 69, .45); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
    .fx-backdrop.is-open { opacity: 1; visibility: visible; }
    .fx-nav__inner { min-height: 68px; }
    .fx-brand img { height: 30px; }
}
@media (max-width: 575px) {
    .fx-topbar__links .fx-topbar__email { display: none; }
}

/* ---------- Hero ---------- */
.fx-hero { position: relative; background: linear-gradient(135deg, var(--fx-navy) 0%, var(--fx-navy-2) 55%, var(--fx-navy-3) 100%); color: #fff; overflow: hidden; }
.fx-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background: radial-gradient(600px 300px at 10% 110%, rgba(242, 107, 29, .35), transparent 70%),
                radial-gradient(500px 260px at 95% -10%, rgba(232, 176, 75, .25), transparent 70%);
}
.fx-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 56px; align-items: center; padding: 72px 20px 96px; }
.fx-hero__title { font-family: var(--fx-serif); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; color: #fff; margin: 0 0 20px; font-weight: 700; }
.fx-hero__title em { font-style: normal; color: var(--fx-gold); }
.fx-hero__text { font-size: 18px; line-height: 1.7; color: #c9d4e5; margin: 0 0 32px; max-width: 520px; }
.fx-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.fx-hero__eyebrow { color: var(--fx-gold); }
.fx-hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-size: 14px; color: #aebcd2; }
.fx-hero__trust .fa { color: var(--fx-gold); }
.fx-slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); aspect-ratio: 1140 / 550; background: #0a1f3b; }
.fx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.fx-slide.is-active { opacity: 1; }
.fx-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.fx-slider__dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .55); padding: 0; cursor: pointer; transition: width .3s ease, background .3s ease; }
.fx-slider__dots button.is-active { width: 26px; background: #fff; }
.fx-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--fx-navy); z-index: 2; cursor: pointer; box-shadow: var(--fx-shadow); }
.fx-slider__arrow--prev { left: 14px; }
.fx-slider__arrow--next { right: 14px; }
@media (max-width: 991px) {
    .fx-hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 72px; }
}

/* ---------- Stats ---------- */
.fx-stats { position: relative; margin-top: -48px; z-index: 5; }
.fx-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--fx-radius); box-shadow: var(--fx-shadow-lg); overflow: hidden; }
.fx-stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--fx-line); }
.fx-stat:last-child { border-right: 0; }
.fx-stat__num { font-family: var(--fx-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--fx-navy); line-height: 1; }
.fx-stat__label { margin-top: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-muted); font-weight: 600; }
@media (max-width: 767px) {
    .fx-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .fx-stat:nth-child(2) { border-right: 0; }
    .fx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--fx-line); }
}

/* ---------- About / features ---------- */
.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fx-split__media { position: relative; }
.fx-split__media img { width: 100%; border-radius: 20px; box-shadow: var(--fx-shadow-lg); display: block; }
.fx-split__badge { position: absolute; right: -18px; bottom: -22px; background: var(--fx-accent); color: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--fx-shadow-lg); }
.fx-split__badge strong { display: block; font-family: var(--fx-serif); font-size: 30px; line-height: 1; }
.fx-split__badge span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.fx-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.fx-feature { background: #fff; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; display: block; color: inherit; }
.fx-feature:hover { transform: translateY(-4px); box-shadow: var(--fx-shadow); border-color: transparent; color: inherit; }
.fx-feature__icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(242, 107, 29, .1); color: var(--fx-accent); font-size: 22px; margin-bottom: 18px; }
.fx-feature h3 { font-size: 21px; margin: 0 0 8px; }
.fx-feature p { color: var(--fx-muted); margin: 0 0 14px; line-height: 1.65; }
@media (max-width: 991px) {
    .fx-split { grid-template-columns: 1fr; gap: 48px; }
    .fx-features { grid-template-columns: 1fr; }
    .fx-split__badge { right: 12px; }
}

/* ---------- Cards: events ---------- */
.fx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1099px) { .fx-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .fx-grid-4 { grid-template-columns: 1fr; } }
.fx-event { background: #fff; border-radius: var(--fx-radius); overflow: hidden; box-shadow: var(--fx-shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.fx-event:hover { transform: translateY(-5px); box-shadow: var(--fx-shadow-lg); }
.fx-event__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fx-bg-soft); }
.fx-event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fx-event:hover .fx-event__img img { transform: scale(1.05); }
.fx-date { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; box-shadow: var(--fx-shadow); line-height: 1; }
.fx-date strong { display: block; font-family: var(--fx-serif); font-size: 24px; color: var(--fx-navy); }
.fx-date span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fx-accent); }
.fx-event__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.fx-event__meta { font-size: 13px; color: var(--fx-muted); margin-bottom: 8px; }
.fx-event__title { font: 700 18px/1.35 var(--fx-sans); margin: 0 0 16px; color: var(--fx-ink); }
.fx-event__title a { color: inherit; }
.fx-event__title a:hover { color: var(--fx-accent); }
.fx-event__body .fx-link-arrow { margin-top: auto; font-size: 14px; }

/* ---------- Cards: people (committee / featured alumni) ---------- */
.fx-rail-wrap { position: relative; }
.fx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.fx-rail::-webkit-scrollbar { display: none; }
.fx-rail > * { scroll-snap-align: start; }
@media (max-width: 1099px) { .fx-rail { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (max-width: 767px) { .fx-rail { grid-auto-columns: 72%; } }
.fx-rail__nav { display: flex; gap: 10px; }
.fx-rail__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--fx-line); background: #fff; color: var(--fx-navy); cursor: pointer; transition: all .2s ease; }
.fx-rail__nav button:hover { background: var(--fx-navy); color: #fff; border-color: var(--fx-navy); }
.fx-person { background: #fff; border-radius: var(--fx-radius); overflow: hidden; box-shadow: var(--fx-shadow); display: block; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.fx-person:hover { transform: translateY(-5px); box-shadow: var(--fx-shadow-lg); color: inherit; }
.fx-person__img { aspect-ratio: 4 / 4.6; overflow: hidden; background: linear-gradient(180deg, #eef2f8, #dde5f0); }
.fx-person__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.fx-person:hover .fx-person__img img { transform: scale(1.04); }
.fx-person__body { padding: 18px 20px 20px; border-top: 3px solid var(--fx-accent); }
.fx-person__name { font: 700 17px/1.3 var(--fx-sans); color: var(--fx-navy); margin: 0 0 4px; }
.fx-person__role { font-size: 14px; color: var(--fx-muted); margin: 0; }
.fx-person__org { font-size: 13px; color: var(--fx-accent); font-weight: 600; margin: 4px 0 0; }
.fx-section--navy .fx-heading, .fx-section--navy h2 { color: #fff; }
.fx-section--navy .fx-lead { color: #aebcd2; }

/* ---------- CTA band ---------- */
.fx-cta { background: linear-gradient(120deg, var(--fx-accent) 0%, #f58a3c 100%); border-radius: 22px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.fx-cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255, 255, 255, .12); }
.fx-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; }
.fx-cta p { color: rgba(255, 255, 255, .9); font-size: 17px; margin: 0; }
.fx-cta__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }
.fx-cta .fx-btn--navy { box-shadow: 0 8px 20px rgba(11, 37, 69, .25); }
@media (max-width: 991px) { .fx-cta { grid-template-columns: 1fr; padding: 40px 28px; } .fx-cta__actions { justify-content: flex-start; } }

/* ---------- Gallery mosaic ---------- */
.fx-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.fx-mosaic a { position: relative; border-radius: var(--fx-radius); overflow: hidden; display: block; background: var(--fx-bg-soft); }
.fx-mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.fx-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fx-mosaic a:hover img { transform: scale(1.06); }
.fx-mosaic a::after { content: "\f00e"; font-family: FontAwesome; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(11, 37, 69, .45); opacity: 0; transition: opacity .3s ease; }
.fx-mosaic a:hover::after { opacity: 1; }
@media (max-width: 767px) { .fx-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* ---------- Contact / map ---------- */
.fx-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--fx-shadow-lg); background: #fff; }
.fx-contact__info { padding: 44px; background: var(--fx-navy); color: #c9d4e5; }
.fx-contact__info h2 { color: #fff; font-size: 30px; margin: 0 0 20px; }
.fx-contact__item { display: flex; gap: 14px; margin-bottom: 18px; line-height: 1.6; }
.fx-contact__item .fa { color: var(--fx-gold); font-size: 18px; width: 22px; margin-top: 3px; }
.fx-contact__item a { color: #fff; }
.fx-contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 991px) { .fx-contact { grid-template-columns: 1fr; } .fx-contact__info { padding: 32px 26px; } }

/* ---------- Inner pages: legacy breadcrumb band -> page hero ---------- */
#bdCrumb {
    background: linear-gradient(135deg, var(--fx-navy) 0%, var(--fx-navy-2) 60%, var(--fx-navy-3) 100%) !important;
    padding: 56px 0 50px !important; margin: 0 !important; position: relative; overflow: hidden; background-image: none;
}
#bdCrumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 90% 0%, rgba(232, 176, 75, .22), transparent 70%); pointer-events: none; }
#bdCrumb .row { position: relative; margin: 0; padding: 0 5px; }
#bdCrumb h1, #bdCrumb .bd-title { display: block !important; font-family: var(--fx-serif) !important; color: #fff !important; font-size: clamp(30px, 4vw, 46px) !important; font-weight: 700; margin: 0 0 12px !important; text-transform: none !important; text-align: left !important; letter-spacing: -.01em; }
#bdCrumb .myBreadcrumb { display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; font-size: 14px; }
#bdCrumb .myBreadcrumb > * { background: transparent !important; color: #c9d4e5 !important; padding: 0 !important; font-size: 14px !important; line-height: 1.4 !important; height: auto !important; box-shadow: none !important; }
#bdCrumb .myBreadcrumb > *::after, #bdCrumb .myBreadcrumb > *::before { all: unset !important; content: none !important; }
#bdCrumb .myBreadcrumb > * + *::before { content: "\203A" !important; margin-right: 8px !important; color: #7f93b2 !important; font: 400 16px/1 var(--fx-sans) !important; }
#bdCrumb .myBreadcrumb a { color: #fff !important; }
#bdCrumb .myBreadcrumb .fa-2x { font-size: 15px !important; }

/* Readable body text on inner pages (legacy: small grey justified text with letter-spacing) */
#event-sec p, #event-sec li, .bg-catskill p, .bg-catskill li, .about_cntnt {
    font-size: 16px; line-height: 1.8; color: #3a4556; letter-spacing: normal !important; text-align: left;
}
#event-sec h2, #event-sec h3, .bg-catskill h2, .bg-catskill h3 { font-family: var(--fx-serif); color: var(--fx-navy); }
#event-sec a:not(.btn):not(.fx-btn), .bg-catskill a:not(.btn):not(.fx-btn) { color: var(--fx-navy-3); }
#event-sec a:not(.btn):not(.fx-btn):hover { color: var(--fx-accent); }
.fx-footer p { color: #aebcd2; }
select.form-control, #event-sec select { border-color: #d5dbe5 !important; color: var(--fx-ink) !important; border-radius: 10px !important; }

/* Event detail page title bar (legacy: grey band with italic text) */
.event_poster_title { background: transparent !important; padding: 0 !important; margin-bottom: 16px !important; }
.event_poster_title h3, .event_poster_title h3 span {
    background: transparent !important; font: 700 clamp(24px, 2.6vw, 32px)/1.2 var(--fx-serif) !important; font-style: normal !important;
    color: var(--fx-navy) !important; padding: 0 !important; margin: 0 !important; text-transform: none !important;
}
.event_details_sec img { border-radius: var(--fx-radius); }

/* Legacy content areas */
.bg-catskill, #event-sec { background: var(--fx-bg-soft) !important; }
#event-sec { padding-top: 56px !important; padding-bottom: 72px !important; }
.section-70 { padding-top: 64px; padding-bottom: 64px; }
.well, .panel, .alumni_details, .featured-alumni .alumni_details, .search-box .alumni_details {
    background: #fff !important; border: 1px solid var(--fx-line) !important; border-radius: var(--fx-radius) !important; box-shadow: var(--fx-shadow) !important;
}
.panel-heading, .panel-info > .panel-heading { background: var(--fx-bg-soft) !important; border-color: var(--fx-line) !important; border-radius: var(--fx-radius) var(--fx-radius) 0 0 !important; color: var(--fx-navy) !important; }
.panel-title { font-family: var(--fx-sans) !important; font-weight: 700 !important; color: var(--fx-navy) !important; }
.form_title_ofc, .form_title_ofc.per_details { background: var(--fx-navy) !important; border-radius: 10px !important; }
.form_title_ofc h1, .form_title_ofc h2, .form_title_ofc h3, .form_title_ofc h4 { color: #fff !important; font-family: var(--fx-serif) !important; }
.form-control {
    border-radius: 10px !important; border: 1px solid #d5dbe5 !important; box-shadow: none !important; height: auto; min-height: 42px;
    padding: 9px 12px; font-size: 15px; color: var(--fx-ink); transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.form-control { min-height: 110px; }
.form-control:focus { border-color: var(--fx-navy-3) !important; box-shadow: 0 0 0 4px rgba(29, 78, 137, .12) !important; }
.input-group-addon { background: var(--fx-bg-soft) !important; border-color: #d5dbe5 !important; color: var(--fx-muted); border-radius: 10px 0 0 10px !important; }
.input-group .form-control:not(:first-child) { border-radius: 0 10px 10px 0 !important; }
.input-group .form-control:first-child:not(:last-child) { border-radius: 10px 0 0 10px !important; }
label, .control-label { color: var(--fx-ink); font-weight: 600; font-size: 14px; }
.btn { border-radius: 999px !important; font-weight: 600 !important; letter-spacing: .01em; padding: 9px 22px; transition: all .2s ease; }
.btn-primary, .btn-info, .submit_registration.btn-primary, .btn_learn_more, .submit_button_1 {
    background: var(--fx-navy) !important; border-color: var(--fx-navy) !important; color: #fff !important; background-image: none !important;
}
.btn-primary:hover, .btn-info:hover, .btn_learn_more:hover, .submit_button_1:hover { background: var(--fx-navy-3) !important; border-color: var(--fx-navy-3) !important; }
.btn-success { background: #1f8f5f !important; border-color: #1f8f5f !important; background-image: none !important; }
.btn-danger { background: #c62828 !important; border-color: #c62828 !important; background-image: none !important; }
.btn-warning { background: var(--fx-accent) !important; border-color: var(--fx-accent) !important; background-image: none !important; color: #fff !important; }
.submit_registration { border-radius: 999px !important; }
.table { background: #fff; border-radius: 12px; overflow: hidden; }
.table > thead > tr > th { background: var(--fx-navy); color: #fff; border: 0 !important; font-weight: 600; font-size: 13px; letter-spacing: .03em; }
.table > tbody > tr > td { border-color: var(--fx-line) !important; vertical-align: middle; }
.alert { border-radius: 12px !important; border: 0 !important; }
.alert-success { background: #e7f6ee !important; color: #155c3b !important; }
.alert-danger { background: #fdecec !important; color: #8e1c1c !important; }
.pagination > li > a, .pagination > li > span { border-radius: 8px !important; margin: 0 3px; border-color: var(--fx-line) !important; color: var(--fx-navy) !important; }
.pagination > .active > a, .pagination > .active > span { background: var(--fx-navy) !important; border-color: var(--fx-navy) !important; color: #fff !important; }
.divider, hr.divider { border: 0 !important; height: 3px !important; width: 56px !important; background: var(--fx-accent) !important; margin: 14px 0 24px !important; opacity: 1 !important; }
.text-center hr.divider, h2.text-center + hr.divider { margin-left: auto !important; margin-right: auto !important; }
.modal-content { border-radius: 16px !important; border: 0 !important; box-shadow: var(--fx-shadow-lg) !important; }

/* ---------- Footer ---------- */
.fx-footer { background: #081b33; color: #aebcd2; padding: 72px 0 0; font-size: 15px; }
.fx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.fx-footer__brand img { background: #fff; border-radius: 10px; padding: 10px 14px; height: 58px; width: auto; }
.fx-footer__brand p { margin: 18px 0 20px; line-height: 1.7; }
.fx-footer h4 { color: #fff; font: 700 14px var(--fx-sans); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 18px; }
.fx-footer ul { list-style: none; padding: 0; margin: 0; }
.fx-footer li { margin-bottom: 10px; }
.fx-footer a { color: #aebcd2; }
.fx-footer a:hover { color: #fff; }
.fx-footer__contact li { display: flex; gap: 12px; line-height: 1.6; }
.fx-footer__contact .fa { color: var(--fx-gold); width: 18px; margin-top: 4px; }
.fx-social { display: flex; gap: 10px; }
.fx-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s ease, transform .2s ease; }
.fx-social a:hover { background: var(--fx-accent); color: #fff; transform: translateY(-2px); }
.fx-footer__bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 991px) { .fx-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .fx-footer__grid { grid-template-columns: 1fr; } .fx-footer { padding-top: 56px; } }

/* ---------- Motion ---------- */
.fx-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .fx-reveal { opacity: 1; transform: none; }
}
