:root {
    --primary: #3252a8;
    --secondary: #5f7195;
    --accent: #c49a47;
    --highlight: #c49a47;
    --dark: #162238;
    --light: #f8fafc;
    --site-bg: #162238;
    --section-strip-height: 3.8rem;
    --page-hero-offset: calc(var(--navbar-height, 4.75rem) + 1rem);
    --home-hero-offset: calc(var(--navbar-height, 4.75rem) + var(--section-strip-height) + 1.5rem);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--site-bg);
    background:
        radial-gradient(circle at top, rgba(109, 144, 208, 0.14), transparent 30%),
        linear-gradient(180deg, #162238 0%, #1c2a44 24%, #162238 100%);
    color: var(--dark);
}

.site-container {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.site-hero-copy {
    margin-inline: auto;
    max-width: 64rem;
    text-align: center;
}

.hero-media-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    opacity: 0.42;
    filter: saturate(0.95) contrast(1.04);
}

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.border-primary { border-color: var(--primary); }

#navbar.scrolled .nav-shell {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(226, 232, 240, 0.96);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

#navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(0) !important;
    pointer-events: auto;
}

.nav-shell {
    width: 100%;
    margin-top: 0 !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    pointer-events: auto;
}

#navbar.nav-scrolling,
#navbar.nav-hidden,
#navbar.nav-scrolling .nav-shell,
#navbar.nav-scrolling #mobile-menu,
#navbar.nav-hidden .nav-shell,
#navbar.nav-hidden #mobile-menu {
    transform: none !important;
    opacity: 1;
    pointer-events: auto;
}

#navbar .site-container {
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

#mobile-menu {
    pointer-events: auto;
}

#navbar #mobile-menu {
    margin-top: 0 !important;
    border-radius: 0 0 1.25rem 1.25rem !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-right: 0;
    border-left: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

#mobile-menu-button {
    border: 1px solid rgba(50, 82, 168, 0.26);
    background: linear-gradient(135deg, #162238, #3252a8) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(22, 34, 56, 0.2);
}

#mobile-menu-button:hover,
#mobile-menu-button:focus-visible {
    background: linear-gradient(135deg, #243f82, #162238) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 34px rgba(22, 34, 56, 0.24);
}

#mobile-menu-button[aria-expanded="true"] {
    border-color: rgba(196, 154, 71, 0.55);
    background: linear-gradient(135deg, #3252a8, #162238) !important;
}

#mobile-menu-button i {
    color: inherit;
}

.nav-marquee {
    position: relative;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.nav-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: nav-marquee-left-to-right 24s linear infinite;
    will-change: transform;
}

.nav-marquee-set {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
    padding-right: 0.25rem;
}

.nav-marquee .nav-link {
    white-space: nowrap;
    overflow-wrap: normal;
}

.nav-marquee:hover .nav-marquee-track,
.nav-marquee:focus-within .nav-marquee-track {
    animation-play-state: paused;
}

@keyframes nav-marquee-left-to-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.page-hero-offset {
    padding-top: var(--page-hero-offset);
}

.home-hero-offset {
    padding-top: var(--home-hero-offset);
}

.floating-section-nav {
    position: fixed;
    top: var(--navbar-height, 4.75rem);
    left: 0;
    right: 0;
    z-index: 45;
    transform: none;
    background: linear-gradient(90deg, #294f93, #326cb2);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.section-nav-rail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.25rem, 1vw, 0.75rem);
    padding: 0.65rem clamp(1rem, 3vw, 2rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

@media (min-width: 1280px) {
    .section-nav-rail {
        justify-content: center;
    }
}

.section-nav-rail::-webkit-scrollbar {
    display: none;
}

.section-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-height: 2.5rem;
    padding: 0.58rem 0.9rem;
    border: 0;
    border-radius: 0.3rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.section-nav-button:hover,
.section-nav-button:focus-visible {
    transform: translateY(-0.05rem);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.section-nav-button.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.section-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    min-width: 1rem;
    font-size: 0.86rem;
}

.section-nav-text {
    max-width: none;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.mobile-section-nav {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
}

.mobile-section-indicator {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #f8fafc;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.mobile-section-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.mobile-section-arrow:hover,
.mobile-section-arrow:focus-visible {
    transform: translateY(-0.08rem);
    background: rgba(50, 82, 168, 0.94);
}

.mobile-section-arrow[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.nav-item {
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.45rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), #7e90b2);
    transition: width 0.25s ease, left 0.25s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    left: 1rem;
    width: calc(100% - 2rem);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(248, 250, 252, 0.97) !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    transition: max-height 0.35s ease;
}

.mobile-menu.show {
    max-height: min(36rem, calc(100vh - 7.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.show::-webkit-scrollbar {
    width: 0.45rem;
}

.mobile-menu.show::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.12);
}

.mobile-menu.show::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(50, 82, 168, 0.48);
}

.mobile-menu > .mb-3 {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #f8fafc !important;
}

.mobile-menu .nav-link {
    border: 1px solid transparent;
    color: #26354f !important;
    font-weight: 650;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:focus-visible {
    border-color: rgba(50, 82, 168, 0.16);
    background: rgba(50, 82, 168, 0.08) !important;
    color: var(--primary) !important;
}

.mobile-menu .nav-link.bg-slate-100 {
    border-color: rgba(50, 82, 168, 0.18);
    background: rgba(50, 82, 168, 0.1) !important;
    color: var(--primary) !important;
}

@media (min-width: 1024px) {
    :root {
        --section-strip-height: 3.75rem;
        --page-hero-offset: calc(var(--navbar-height, 4.75rem) + 1.25rem);
        --home-hero-offset: calc(var(--navbar-height, 4.75rem) + var(--section-strip-height) + 2rem);
    }
}

.section-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ecefea;
    color: #46505f;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-pill-dark {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

.elevated-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.elevated-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(100, 116, 139, 0.28);
}

.surface-section-soft {
    background: #f0f2ee;
}

.surface-section-mist {
    background: #ecefe9;
}

.surface-card-soft {
    background: #f7f8f4;
}

.homepage-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    filter: none;
    opacity: 1;
    transform: none;
}

.homepage-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 10rem;
    padding: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    filter: none;
    backdrop-filter: none;
}

.homepage-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 0.28rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.homepage-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background: #eef3ff;
    color: var(--primary);
    font-size: 1rem;
}

.homepage-stat-value {
    display: flex;
    align-items: baseline;
    gap: 0.12rem;
    margin-top: 1.15rem;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.homepage-stat-card p {
    margin-top: 0.8rem;
    color: #556070;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.surface-chip-soft {
    background: #e7eae4;
    color: #556070;
}

.gallery-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    background: #f8fafc;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.gallery-spotlight-media {
    min-height: 22rem;
    background: #dbe3ef;
}

.gallery-spotlight-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
}

.gallery-spotlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(145deg, #ffffff 0%, #edf2f7 100%);
}

.live-card-kicker {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: #e7eae4;
    padding: 0.45rem 0.75rem;
    color: #556070;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-spotlight-copy h3 {
    margin-top: 1rem;
    color: #0f172a;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.08;
}

.gallery-spotlight-copy p {
    margin-top: 1rem;
    color: #526070;
    font-size: 1rem;
    line-height: 1.75;
}

.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.75rem;
}

.gallery-controls button,
.gallery-controls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 0.5rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-controls button {
    width: 2.75rem;
    border: 1px solid rgba(50, 82, 168, 0.2);
    background: #eef3ff;
    color: var(--primary);
}

.gallery-controls a {
    gap: 0.5rem;
    border: 1px solid rgba(50, 82, 168, 0.25);
    background: var(--primary);
    padding: 0 1rem;
    color: #fff;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible,
.gallery-controls a:hover,
.gallery-controls a:focus-visible {
    transform: translateY(-2px);
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
    border-color: rgba(50, 82, 168, 0.4);
    background: #dfe8ff;
}

.gallery-controls a:hover,
.gallery-controls a:focus-visible {
    background: #29458e;
}

.event-hero-section {
    min-height: auto;
}

.event-advert-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(18rem, 0.82fr);
    overflow: hidden;
    border: 1px solid rgba(126, 55, 10, 0.18);
    border-radius: 0.5rem;
    background:
        linear-gradient(105deg, rgba(248, 244, 236, 0.98) 0%, rgba(232, 242, 249, 0.98) 54%, rgba(202, 228, 244, 0.98) 54.2%, rgba(246, 249, 249, 0.98) 100%);
    box-shadow: 0 28px 75px rgba(54, 25, 6, 0.24);
}

.event-advert-card::before {
    content: '';
    position: absolute;
    top: calc(var(--event-arch-size, 17rem) * -0.29);
    left: calc(var(--event-arch-size, 17rem) * -0.24);
    width: calc(var(--event-arch-size, 17rem) + 1.35rem);
    height: calc(var(--event-arch-size, 17rem) + 1.35rem);
    border: 0.85rem solid rgba(112, 50, 9, 0.18);
    border-radius: 999px;
    pointer-events: none;
}

.event-advert-card::after {
    content: '';
    position: absolute;
    right: -10rem;
    bottom: -12rem;
    width: 30rem;
    height: 30rem;
    border-radius: 999px;
    background: rgba(127, 193, 226, 0.2);
    pointer-events: none;
}

.event-advert-card-no-visual {
    grid-template-columns: minmax(0, 1fr);
}

.event-advert-card-no-arch::before {
    display: none;
}

.event-advert-card-no-arch .event-advert-heading {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.event-advert-card-no-arch .event-brand-line,
.event-advert-card-no-arch .event-kicker {
    grid-column: auto;
}

.event-arch-photo {
    position: absolute;
    top: calc(var(--event-arch-size, 17rem) * -0.24);
    left: calc(var(--event-arch-size, 17rem) * -0.19);
    z-index: 1;
    width: var(--event-arch-size, 17rem);
    height: var(--event-arch-size, 17rem);
    overflow: hidden;
    border: var(--event-arch-border, 1.45rem) solid #733100;
    border-radius: 999px;
    background: #733100;
    box-shadow: 0 24px 48px rgba(54, 25, 6, 0.22);
    pointer-events: none;
}

.event-arch-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event-advert-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: clamp(1.4rem, 3vw, 2.75rem);
    color: #24170f;
}

.event-advert-heading {
    display: grid;
    grid-template-columns: minmax(calc(var(--event-arch-size, 17rem) * 0.68), calc(var(--event-arch-size, 17rem) * 0.78)) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 1.5rem);
    min-height: calc(var(--event-arch-size, 17rem) * 0.68);
}

.event-brand-line {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 42rem;
}

.event-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    min-width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.5rem;
    background: rgba(112, 50, 9, 0.92);
    color: #fff8ed;
    font-size: 1.35rem;
    box-shadow: 0 12px 26px rgba(112, 50, 9, 0.18);
}

.event-brand-name,
.event-brand-tagline {
    display: block;
    overflow-wrap: normal;
}

.event-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.event-brand-tagline {
    margin-top: 0.2rem;
    color: #6d3a13;
    font-size: 0.88rem;
    font-weight: 650;
}

.event-kicker {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    align-self: flex-start;
    border-radius: 999px;
    background: rgba(112, 50, 9, 0.95);
    padding: 0.55rem 0.9rem;
    color: #fff8ed;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.event-kicker span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #8fd0ed;
    box-shadow: 0 0 0.85rem rgba(85, 172, 215, 0.62);
}

.event-advert-title {
    max-width: 50rem;
    color: #733100;
    text-shadow: 0 3px 18px rgba(255, 255, 255, 0.55);
    font-size: 4.85rem !important;
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
}

.event-theme-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    max-width: 58rem;
    overflow: hidden;
    border-radius: 0.45rem;
    background: linear-gradient(90deg, rgba(112, 50, 9, 0.97), rgba(68, 28, 5, 0.92));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 32px rgba(112, 50, 9, 0.18);
}

.event-theme-line strong {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    background: rgba(248, 244, 236, 0.98);
    padding: 0.9rem 1rem;
    color: #733100;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.event-theme-line span {
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(54, 25, 6, 0.3);
}

.event-message {
    max-width: 55rem;
    border-left: 0.35rem solid #733100;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.9rem 1rem;
    color: #19110c;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.65;
    box-shadow: 0 14px 32px rgba(54, 25, 6, 0.08);
}

.event-invitation {
    max-width: 45rem;
    color: #733100;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.45;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.15rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.9rem;
    color: #3b230f;
    box-shadow: 0 12px 28px rgba(54, 25, 6, 0.1);
}

.event-detail-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    min-width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.45rem;
    background: #733100;
    color: #fff8ed;
    font-size: 1.1rem;
}

.event-detail-item span,
.event-detail-item strong,
.event-detail-item small {
    display: block;
    min-width: 0;
}

.event-detail-item strong {
    font-size: 0.92rem;
    line-height: 1.35;
}

.event-detail-item small {
    margin-top: 0.2rem;
    color: #6f5139;
    font-size: 0.78rem;
    font-weight: 700;
}

.event-advert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.event-primary-link,
.event-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    border-radius: 0.45rem;
    padding: 0.75rem 1rem;
    font-weight: 800;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.event-primary-link {
    background: #733100;
    color: #fff8ed;
    box-shadow: 0 16px 34px rgba(112, 50, 9, 0.22);
}

.event-secondary-link {
    border: 1px solid rgba(112, 50, 9, 0.26);
    background: rgba(255, 255, 255, 0.72);
    color: #733100;
}

.event-primary-link:hover,
.event-primary-link:focus-visible,
.event-secondary-link:hover,
.event-secondary-link:focus-visible {
    transform: translateY(-0.08rem);
}

.event-primary-link:hover,
.event-primary-link:focus-visible {
    background: #8d430b;
}

.event-secondary-link:hover,
.event-secondary-link:focus-visible {
    background: rgba(247, 235, 220, 0.92);
}

.event-advert-visual {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    align-items: stretch;
    justify-content: center;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.event-advert-visual::before,
.event-advert-visual::after {
    content: '';
    position: absolute;
    border: 1.1rem solid rgba(39, 102, 176, 0.2);
    pointer-events: none;
}

.event-advert-visual::before {
    inset: 7% 7% 18% 4%;
    border-left: 0;
    border-bottom: 0;
    transform: skewX(-12deg);
}

.event-advert-visual::after {
    right: 6%;
    bottom: 9%;
    width: 45%;
    aspect-ratio: 1;
    border-top: 0;
    border-left: 0;
    border-color: rgba(112, 50, 9, 0.26);
}

.event-visual-frame {
    position: relative;
    z-index: 1;
    width: min(27rem, 100%);
    min-height: 22rem;
    overflow: hidden;
    border-radius: 0.5rem;
    clip-path: polygon(16% 0, 100% 0, 87% 100%, 0 100%);
    box-shadow: 0 22px 50px rgba(54, 25, 6, 0.24);
}

.event-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-visual-badge {
    position: absolute;
    z-index: 2;
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: clamp(0.75rem, 2vw, 1.5rem);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: #733100;
    padding: 0.65rem 0.9rem;
    color: #fff8ed;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(112, 50, 9, 0.24);
}

.news-featured-event {
    border-color: rgba(112, 50, 9, 0.2) !important;
    background: linear-gradient(180deg, #fffaf1, #eef6fb);
}

.news-featured-event h3 {
    color: #733100;
}

.news-featured-event .text-primary,
.news-featured-event i.text-primary {
    color: #733100 !important;
}

@media (max-width: 1120px) {
    .event-advert-card {
        grid-template-columns: 1fr;
        background:
            linear-gradient(160deg, rgba(248, 244, 236, 0.98) 0%, rgba(232, 242, 249, 0.98) 64%, rgba(202, 228, 244, 0.98) 64.2%, rgba(246, 249, 249, 0.98) 100%);
    }

    .event-advert-heading {
        grid-template-columns: minmax(calc(var(--event-arch-size, 17rem) * 0.62), calc(var(--event-arch-size, 17rem) * 0.72)) minmax(0, 1fr);
        min-height: calc(var(--event-arch-size, 17rem) * 0.62);
    }

    .event-advert-title {
        font-size: 3.65rem !important;
    }

    .event-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-advert-visual {
        min-height: 19rem;
        padding-top: 0;
    }

    .event-visual-frame {
        min-height: 18rem;
    }
}

@media (max-width: 820px) {
    .section-nav-rail {
        justify-content: flex-start;
        padding-inline: 0.85rem;
    }

    .section-nav-button {
        min-height: 2.35rem;
        padding: 0.55rem 0.75rem;
    }

    .section-nav-text {
        font-size: 0.82rem;
    }

    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .event-advert-heading {
        grid-template-columns: minmax(calc(var(--event-arch-size, 17rem) * 0.58), calc(var(--event-arch-size, 17rem) * 0.66)) minmax(0, 1fr);
        min-height: calc(var(--event-arch-size, 17rem) * 0.58);
    }

    .event-theme-line {
        grid-template-columns: 1fr;
    }

    .event-theme-line strong,
    .event-theme-line span {
        padding: 0.8rem 0.9rem;
    }

    .event-theme-line span {
        font-size: 1.1rem;
    }

    .event-message {
        font-size: 0.95rem;
    }

    .event-invitation {
        font-size: 1rem;
    }

    .event-advert-title {
        font-size: 2.75rem !important;
    }

    .event-advert-actions a {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .event-advert-main {
        padding: 1.1rem;
    }

    .event-advert-card::before {
        top: -3.8rem;
        left: -3.1rem;
    }

    .event-arch-photo {
        top: -3.25rem;
        left: -2.55rem;
        width: min(var(--event-arch-size, 17rem), 13rem);
        height: min(var(--event-arch-size, 17rem), 13rem);
        border-width: min(var(--event-arch-border, 1.45rem), 1.05rem);
    }

    .event-advert-heading {
        grid-template-columns: minmax(8rem, 9.5rem) minmax(0, 1fr);
        min-height: 8.75rem;
        gap: 0.75rem;
    }

    .event-brand-line {
        align-items: flex-start;
    }

    .event-brand-mark {
        width: 2.8rem;
        min-width: 2.8rem;
        height: 2.8rem;
    }

    .event-brand-name {
        font-size: 1rem;
    }

    .event-advert-title {
        font-size: 2.2rem !important;
    }

    .event-advert-visual {
        min-height: 15rem;
        padding: 0 1rem 1rem;
    }

    .event-visual-frame {
        min-height: 14rem;
        clip-path: none;
    }

    .event-visual-badge {
        position: static;
        margin: 0.75rem 1rem 0;
        justify-content: center;
    }
}

.hero-updates {
    text-align: left;
}

.hero-updates-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.hero-updates-dot {
    height: 0.55rem;
    width: 0.55rem;
    border-radius: 999px;
    background: var(--highlight);
    box-shadow: 0 0 0.8rem rgba(196, 154, 71, 0.5);
}

.hero-updates-viewport {
    margin-top: 1rem;
    overflow: hidden;
}

.hero-updates-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: hero-marquee 34s linear infinite;
}

.hero-updates:hover .hero-updates-track {
    animation-play-state: paused;
}

.hero-update-card {
    min-width: clamp(18rem, 28vw, 23rem);
    max-width: 23rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.1rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(7, 14, 28, 0.18);
}

.hero-update-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f1d79d;
}

.hero-update-title {
    margin-top: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    color: #f8fafc;
}

.hero-update-meta {
    margin-top: 0.7rem;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.8);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 160% 160%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 8s ease infinite;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(16px);
    }
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(79, 70, 229, 0);
    }
    50% {
        box-shadow: 0 0 24px rgba(50, 82, 168, 0.18);
    }
}

@keyframes hero-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.9s ease-out both;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-900 {
    animation-delay: 0.9s;
}

.animation-delay-1200 {
    animation-delay: 1.2s;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 9s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-glow 4s ease-in-out infinite;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(50, 82, 168, 0.24);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.15);
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

@media (max-width: 1024px) {
    .nav-item::after {
        display: none;
    }
}

@media (min-width: 640px) {
    .site-container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-container {
        padding-inline: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem !important;
    }

    h2 {
        font-size: 2.25rem !important;
    }

    .hero-update-card {
        min-width: 80vw;
    }
}

@media (max-width: 767px) {
    .floating-section-nav {
        display: block;
    }

    .mobile-section-nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .nav-marquee-track {
        animation: none !important;
        transform: none !important;
    }
}

/* Homepage responsive cleanup */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 320px;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

a,
p,
h1,
h2,
h3,
h4,
li,
span {
    overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

section[id] {
    scroll-margin-top: calc(var(--home-hero-offset) + 1.5rem);
}

footer {
    margin-top: 0 !important;
}

.site-container {
    max-width: min(76rem, 100%);
}

.nav-shell {
    max-width: 100%;
    min-width: 0;
}

.nav-shell > a:first-child {
    min-width: 0;
}

#home.home-hero-offset {
    min-height: auto;
    padding-top: calc(var(--navbar-height, 4.75rem) + var(--section-strip-height) + clamp(1rem, 3vw, 2rem));
    padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.site-hero-copy {
    max-width: 58rem;
}

.site-hero-copy h1 {
    font-size: clamp(2.6rem, 8vw, 6.75rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

.site-hero-copy p {
    max-width: 46rem;
}

.hero-updates {
    margin-top: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.hero-updates-viewport {
    max-width: 100%;
}

.hero-update-card {
    min-width: clamp(16rem, 58vw, 22rem);
    max-width: min(22rem, 82vw);
}

.surface-section-soft,
.surface-section-mist,
#admissions {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: clamp(0.75rem, 1.5vw, 1.25rem) !important;
    padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem) !important;
}

#about,
#gallery,
#programs,
#faculty,
#admissions,
#news,
#contact {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.surface-card-soft,
.glass-panel,
.elevated-card {
    border-radius: 0.5rem !important;
}

.elevated-card:hover {
    transform: translateY(-3px);
}

.surface-card-soft img,
.elevated-card img {
    border-radius: inherit;
}

.surface-card-soft,
.glass-panel {
    min-width: 0;
}

.floating-section-nav {
    left: 0;
    right: 0;
}

.section-nav-rail {
    border-radius: 0;
}

.section-nav-button {
    border-radius: 0.3rem;
}

@media (min-width: 1024px) {
    #home.home-hero-offset {
        min-height: auto;
    }
}

@media (max-width: 1180px) {
    .floating-section-nav {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    .mobile-section-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-container {
        padding-inline: 1.25rem;
    }

    .gallery-spotlight {
        grid-template-columns: 1fr;
    }

    .gallery-spotlight-media,
    .gallery-spotlight-media img {
        min-height: 18rem;
    }

    .homepage-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .surface-section-soft,
    .surface-section-mist,
    #admissions {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    #about .grid,
    #contact .grid {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .site-container {
        padding-inline: 1rem;
    }

    .homepage-stats {
        grid-template-columns: 1fr;
    }

    .homepage-stat-card {
        min-height: auto;
        padding: 1.15rem;
    }

    .gallery-spotlight-copy {
        padding: 1.25rem;
    }

    .gallery-controls {
        align-items: stretch;
    }

    .gallery-controls a {
        flex: 1 1 12rem;
    }

    h1,
    h2 {
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 2.45rem) !important;
    }

    #home.home-hero-offset {
        min-height: auto;
        padding-top: calc(var(--navbar-height, 4.75rem) + var(--section-strip-height) + 1rem);
        padding-bottom: 1.25rem;
    }

    .site-hero-copy h1 {
        font-size: clamp(2.35rem, 14vw, 3.4rem) !important;
    }

    .site-hero-copy > span {
        padding-inline: 1rem !important;
        width: 100%;
        justify-content: center;
    }

    .site-hero-copy .inline-flex {
        min-height: 3rem;
    }

    .site-hero-copy .mt-8.flex {
        align-items: stretch;
        gap: 0.75rem;
    }

    .site-hero-copy .mt-8.flex a {
        width: 100%;
        padding-inline: 1.25rem !important;
    }

    .hero-updates-label {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-update-card {
        min-width: min(18rem, 82vw);
    }

    .mobile-section-nav {
        display: none;
    }

    .mobile-section-indicator {
        max-width: calc(100vw - 2rem);
    }

    .section-pill {
        max-width: 100%;
        letter-spacing: 0.12em;
        text-align: center;
    }
}

/* Modern homepage interaction layer */
:root {
    --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --section-space: clamp(3rem, 6vw, 5.5rem);
    --card-border-modern: rgba(100, 116, 139, 0.16);
}

body.home-modernized::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: calc(var(--page-progress, 0) * 100%);
    height: 3px;
    background: linear-gradient(90deg, #c49a47, #3252a8, #2f7d62);
    box-shadow: 0 0 18px rgba(50, 82, 168, 0.28);
    pointer-events: none;
    transition: width 0.12s linear;
}

#about,
#gallery,
#programs,
#faculty,
#admissions,
#news,
#contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: var(--section-space) !important;
    padding-bottom: var(--section-space) !important;
    content-visibility: auto;
    contain-intrinsic-size: 1px 860px;
}

#about::before,
#gallery::before,
#programs::before,
#faculty::before,
#news::before,
#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 42%),
        repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 18px);
    opacity: 0.72;
    pointer-events: none;
}

#admissions {
    background:
        linear-gradient(135deg, rgba(22, 34, 56, 0.98), rgba(15, 23, 42, 0.98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 20px) !important;
}

.site-container > .mb-10,
.site-container > .mx-auto.mb-10 {
    position: relative;
}

.section-pill {
    border: 1px solid rgba(50, 82, 168, 0.14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.45s var(--motion-smooth), box-shadow 0.45s var(--motion-smooth), border-color 0.45s var(--motion-smooth);
}

.section-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(50, 82, 168, 0.28);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

section[id] h2 {
    text-wrap: balance;
}

section[id] p {
    text-wrap: pretty;
}

.surface-card-soft,
.glass-panel,
.elevated-card,
.event-advert-card {
    transform-style: preserve-3d;
    transition:
        transform 0.55s var(--motion-smooth),
        box-shadow 0.55s var(--motion-smooth),
        border-color 0.55s var(--motion-smooth),
        background-color 0.55s var(--motion-smooth);
}

.surface-card-soft,
.elevated-card {
    border-color: var(--card-border-modern) !important;
}

.elevated-card,
.glass-panel {
    position: relative;
}

.elevated-card::before,
.glass-panel::before {
    pointer-events: none;
}

.elevated-card::before,
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 46%, transparent 64%);
    opacity: 0;
    transform: translateX(-36%);
    transition: opacity 0.4s var(--motion-smooth), transform 0.7s var(--motion-smooth);
}

.elevated-card:hover,
.glass-panel:hover {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.16) !important;
    border-color: rgba(50, 82, 168, 0.25) !important;
}

.elevated-card:hover::before,
.glass-panel:hover::before {
    opacity: 1;
    transform: translateX(44%);
}

.elevated-card > *,
.glass-panel > * {
    position: relative;
    z-index: 2;
}

.elevated-card:hover img,
.surface-card-soft:hover img {
    transform: scale(1.045);
}

.event-advert-card:hover {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
    box-shadow: 0 34px 85px rgba(54, 25, 6, 0.28);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(8px);
    transition:
        opacity 0.8s var(--motion-smooth),
        transform 0.8s var(--motion-smooth),
        filter 0.8s var(--motion-smooth);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

@supports (animation-timeline: view()) {
    .css-view-timeline .reveal-on-scroll {
        opacity: 1;
        filter: none;
        animation-name: section-reveal;
        animation-duration: 1s;
        animation-fill-mode: both;
        animation-timing-function: var(--motion-smooth);
        animation-timeline: view();
        animation-range: entry 8% cover 28%;
    }
}

@keyframes section-reveal {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.985);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 900px) {
    #about,
    #gallery,
    #programs,
    #faculty,
    #admissions,
    #news,
    #contact {
        padding-top: clamp(2.25rem, 9vw, 3.25rem) !important;
        padding-bottom: clamp(2.25rem, 9vw, 3.25rem) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-modernized::after {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .elevated-card:hover,
    .glass-panel:hover,
    .event-advert-card:hover {
        transform: none;
    }
}

.program-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: -0.25rem 0 1.4rem;
}

.program-filter-bar button {
    border: 1px solid #d7dde8;
    border-radius: 999px;
    background: #fff;
    padding: 0.45rem 0.9rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.program-filter-bar button.active,
.program-filter-bar button:hover,
.program-filter-bar button:focus-visible {
    border-color: #4dae45;
    color: #102033;
    box-shadow: 0 0 0 3px rgba(77, 174, 69, 0.12);
    outline: none;
}

.program-course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: stretch;
}

.program-department-section {
    padding-block: 0.75rem 1.25rem;
}

.netacad-program-card {
    position: relative;
    display: flex;
    min-height: 28rem;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-bottom: 2px solid #55b947;
    border-radius: 0.25rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    color: #1f2937;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.netacad-program-card:hover,
.netacad-program-card:focus-within {
    transform: translateY(-0.16rem);
    border-color: #c7d1dd;
    border-bottom-color: #4dae45;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.11);
}

.netacad-program-media {
    position: relative;
    height: 7.1rem;
    overflow: hidden;
    background: #dfe7ef;
}

.netacad-program-media img,
.netacad-program-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netacad-program-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(50, 82, 168, 0.18), rgba(85, 185, 71, 0.16)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0.35) 1px, transparent 1px, transparent 11px),
        #e9eef5;
    color: var(--primary);
    font-size: 2.45rem;
}

.netacad-program-level {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    border-radius: 0.08rem;
    background: #62bd4f;
    padding: 0.28rem 0.55rem;
    color: #102033;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.netacad-program-share {
    position: absolute;
    top: 0.48rem;
    right: 0.48rem;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #152033;
    font-size: 0.82rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.netacad-program-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1rem 0.75rem;
}

.netacad-program-provider {
    color: #1d2b3a;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
}

.netacad-program-type {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    color: #637083;
    font-size: 0.75rem;
    line-height: 1.35;
}

.netacad-program-type i {
    color: #607087;
    font-size: 0.9rem;
}

.netacad-program-separator {
    width: 1px;
    height: 0.75rem;
    background: #c4ccd6;
}

.netacad-program-card h3 {
    display: -webkit-box;
    min-height: 2.9rem;
    margin-top: 0.75rem;
    overflow: hidden;
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.netacad-program-card p {
    display: -webkit-box;
    margin-top: 0.85rem;
    overflow: hidden;
    color: #4f5f73;
    font-size: 0.86rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.netacad-program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 1rem;
    color: #374151;
    font-size: 0.8rem;
}

.netacad-program-footer-meta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.netacad-program-footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    white-space: nowrap;
}

.netacad-program-footer-meta i {
    color: #1f2937;
    font-size: 0.9rem;
}

.netacad-program-footer a {
    flex-shrink: 0;
    color: #2450a6;
    font-weight: 800;
    text-decoration: none;
}

.netacad-program-footer a:hover,
.netacad-program-footer a:focus-visible {
    color: #173a81;
    text-decoration: underline;
}

@media (min-width: 640px) {
    .program-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1120px) {
    .program-course-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .netacad-program-card {
        min-height: 26rem;
    }

    .netacad-program-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
.program-detail-hero {
    background: #f6f8fb;
    padding-block: 7rem 3rem;
}

.program-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #2450a6;
    font-weight: 800;
    text-decoration: none;
}

.program-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: stretch;
}

.program-detail-media,
.program-detail-intro,
.program-detail-main,
.program-detail-side {
    border: 1px solid #dfe5ec;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.program-detail-media {
    min-height: 24rem;
    overflow: hidden;
}

.program-detail-media img,
.program-detail-media video,
.program-detail-fallback {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    object-fit: cover;
}

.program-detail-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(50, 82, 168, 0.18), rgba(85, 185, 71, 0.16)),
        #e9eef5;
    color: var(--primary);
    font-size: 4rem;
}

.program-detail-intro {
    position: relative;
    padding: 2rem;
}

.program-detail-level {
    position: static;
    display: inline-flex;
    margin-bottom: 1rem;
}

.program-detail-kicker {
    color: #2450a6;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.program-detail-intro h1 {
    margin-top: 0.55rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.program-detail-summary {
    margin-top: 1rem;
    color: #4f5f73;
    font-size: 1.05rem;
    line-height: 1.8;
}

.program-detail-facts {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.program-detail-facts span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e5eaf0;
    border-radius: 0.5rem;
    background: #f8fafc;
    padding: 0.8rem 0.9rem;
    color: #334155;
    font-weight: 700;
}

.program-detail-facts i {
    color: #2450a6;
}

.program-detail-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    border-radius: 0.45rem;
    background: var(--primary);
    padding: 0.9rem 1.15rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.program-detail-content-section {
    background: #fff;
    padding-block: 3rem 5rem;
}

.program-detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 1.5rem;
}

.program-detail-main,
.program-detail-side {
    padding: 2rem;
}

.program-detail-main h2,
.program-detail-side h2 {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
}

.program-detail-description {
    margin-top: 1rem;
    color: #3f4f63;
    font-size: 1rem;
    line-height: 1.9;
}

.program-detail-feature-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.program-detail-feature-list div {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-radius: 0.5rem;
    background: #f2f7f1;
    padding: 0.85rem 0.9rem;
    color: #334155;
    font-weight: 700;
}

.program-detail-feature-list i {
    margin-top: 0.15rem;
    color: #45a33d;
}

@media (max-width: 900px) {
    .program-detail-shell,
    .program-detail-content-grid {
        grid-template-columns: 1fr;
    }

    .program-detail-hero {
        padding-top: 6rem;
    }
}
.programs-bundle-section {
    background: #f8fafc;
}

.programs-bundle-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.programs-bundle-toolbar h2 {
    margin-top: 0.75rem;
    color: #0f172a;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
}

.programs-bundle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.programs-bundle-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #d7dde8;
    border-radius: 0.45rem;
    background: #fff;
    padding: 0.72rem 0.95rem;
    color: #1f2d3d;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.programs-bundle-actions button:hover,
.programs-bundle-actions button:focus-visible {
    border-color: #55b947;
    color: #173a81;
    box-shadow: 0 0 0 3px rgba(85, 185, 71, 0.13);
    outline: none;
}

.program-department-bundles {
    display: grid;
    gap: 1rem;
}

.program-department-bundle {
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 0.55rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.program-department-bundle[open] {
    border-color: #cbd7e5;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.program-department-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    min-height: 5.25rem;
    padding: 1rem 1.15rem;
    cursor: pointer;
    list-style: none;
}

.program-department-summary::-webkit-details-marker {
    display: none;
}

.program-department-title-wrap {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.program-department-kicker {
    color: #2450a6;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-department-title {
    color: #0f172a;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
    font-weight: 900;
    line-height: 1.15;
}

.program-department-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.55rem 0.85rem;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.program-department-toggle {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef3ff;
    color: #2450a6;
    transition: transform 0.2s ease, background 0.2s ease;
}

.program-department-bundle[open] .program-department-toggle {
    transform: rotate(180deg);
    background: #eaf7e7;
    color: #2d7d27;
}

.program-department-panel {
    border-top: 1px solid #e5eaf0;
    padding: 1.2rem;
    animation: departmentBundleReveal 0.22s ease;
}

.program-department-quote {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid #bfe7b8;
    border-radius: 0.5rem;
    background: #f0fbef;
    padding: 1rem;
    color: #16521e;
}

.program-department-quote i {
    margin-top: 0.2rem;
    color: #29953b;
}

.program-department-quote p {
    font-style: italic;
    line-height: 1.7;
}

.program-department-quote footer {
    margin-top: 0.45rem;
    color: #287434;
    font-size: 0.9rem;
    font-weight: 800;
}

@keyframes departmentBundleReveal {
    from {
        opacity: 0;
        transform: translateY(-0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .programs-bundle-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .programs-bundle-actions {
        justify-content: flex-start;
    }

    .program-department-summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .program-department-count {
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: fit-content;
    }
}
.contact-whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.38);
    border-radius: 999px;
    background: #ffffff;
    padding: 0.55rem 0.9rem 0.55rem 0.55rem;
    color: #123524;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-whatsapp-widget:hover,
.contact-whatsapp-widget:focus-visible {
    transform: translateY(-0.12rem);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.22);
    outline: none;
}

.contact-whatsapp-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    font-size: 1.65rem;
}

.contact-whatsapp-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-whatsapp-copy {
    display: grid;
    gap: 0.08rem;
    font-size: 0.85rem;
    line-height: 1.15;
}

.contact-whatsapp-copy strong {
    color: #0f5132;
    font-weight: 900;
}

.contact-whatsapp-copy span {
    color: #486053;
    font-weight: 700;
}

@media (max-width: 560px) {
    .contact-whatsapp-widget {
        right: 0.85rem;
        bottom: 0.85rem;
        padding-right: 0.7rem;
    }

    .contact-whatsapp-copy span {
        display: none;
    }
}
.netacad-program-fallback span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.45rem 0.75rem;
    color: #2450a6;
    font-size: 0.78rem;
    font-weight: 900;
}
