/*
============================================================
MARCUS SCIENCE GROUP — HOMEPAGE PREMIUM HERO
Reference-inspired: white page + attached navbar + image banner
============================================================
*/

:root {
    --msg-green: #42b96c;
    --msg-ink: #10202d;
    --msg-muted: #d9e2e5;
}

/* ---------- PAGE ---------- */

body {
    background: #ffffff;
}

/* ---------- SINGLE COMPANY NAVBAR ---------- */

.premium-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    pointer-events: none;
}

.premium-nav {

    /* =========================================================
   PREMIUM NAV — CONNECTED SOFT CURVED TOP CORNERS
   ========================================================= */

.premium-nav {
    border-radius: 0 0 24px 24px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Left upper curved connection */
.premium-nav::before {
    content: "";
    position: absolute;

    top: 0;
    left: -22px;

    width: 44px;
    height: 44px;

    background: #ffffff;

    border-radius: 50%;

    z-index: -1;
    pointer-events: none;
}

/* Right upper curved connection */
.premium-nav::after {
    content: "";
    position: absolute;

    top: 0;
    right: -22px;

    width: 44px;
    height: 44px;

    background: #ffffff;

    border-radius: 50%;

    z-index: -1;
    pointer-events: none;
}

    position: relative !important;
    width: min(1080px, calc(100% - 80px)) !important;
    min-height: 92px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;

    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;

    box-sizing: border-box !important;
    background: rgba(255,255,255,.98) !important;
    border-radius: 0 0 24px 24px !important;
    border: 1px solid rgba(255,255,255,.95) !important;

    box-shadow:
        0 20px 45px rgba(16,32,45,.14),
        0 6px 16px rgba(16,32,45,.07) !important;

    pointer-events: auto;
}

/* Subtle shadow directly below the attached nav */
.premium-nav::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -10px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16,32,45,.12);
    filter: blur(12px);
    z-index: -1;
}

/* ---------- NAV ---------- */

.premium-nav-left,
.premium-nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    height: 100% !important;
}

.premium-nav-left {
    justify-content: flex-start !important;
}

.premium-nav-right {
    justify-content: flex-end !important;
}

.premium-link,
.premium-dropdown-toggle {
    color: #17201e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.premium-dropdown-toggle {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.premium-link,
.premium-dropdown-toggle {
    transition: opacity .25s ease, transform .25s ease;
}

.premium-link:hover,
.premium-dropdown-toggle:hover {
    opacity: .62;
    transform: translateY(-1px);
}

/* ---------- BRAND ---------- */

.premium-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.premium-brand-mark {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: var(--msg-ink) !important;
    color: #ff7a3d !important;
    font-weight: 800 !important;
    box-shadow: 0 7px 16px rgba(16,32,45,.18) !important;
}

.premium-brand-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
}

.premium-brand-text strong {
    color: #17201e !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -.35px !important;
}

.premium-brand-text small {
    margin-top: 5px !important;
    color: #8d9795 !important;
    font-size: 6px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

/* ---------- MOBILE BUTTON ---------- */

.premium-mobile-toggle {
    display: none !important;
}

/* ---------- HERO ---------- */

.msg-hero {
    position: relative !important;
    width: calc(100% - 32px) !important;
    min-height: 650px !important;
    margin: 0 auto !important;
    padding: 175px 40px 90px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;

    overflow: hidden !important;
    border-radius: 0 0 30px 30px !important;
    isolation: isolate !important;
}

/* Banner image: upload/replace this file later:
   /assets/images/hero/hero.jpg */
/* =========================================================
   MARCUS SCIENCE GROUP
   3D CONFERENCE HERO
   ========================================================= */

.msg-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    perspective: 1400px !important;
}


/* ---------------------------------------------------------
   CONFERENCE HALL IMAGE
   --------------------------------------------------------- */

.msg-hero-media {
    position: absolute !important;
    inset: -3% !important;

    z-index: -3 !important;

    background-image: url("../images/hero/banner.jpg") !important;
    background-size: cover !important;

    /* Slightly higher so the beautiful ceiling is visible */
    background-position: center center !important;

    background-repeat: no-repeat !important;

    transform:
        translate3d(0, 0, 0)
        scale(1.04) !important;

    transform-origin: center center !important;

    will-change: transform !important;

    animation: conferenceHallZoom 16s ease-in-out infinite alternate !important;

    filter: saturate(1.05) contrast(1.03) !important;
}


/* ---------------------------------------------------------
   CINEMATIC DARK OVERLAY
   --------------------------------------------------------- */

.msg-hero-overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: -2 !important;

    background:
        linear-gradient(
            90deg,
            rgba(3, 25, 34, 0.72) 0%,
            rgba(3, 25, 34, 0.42) 38%,
            rgba(3, 25, 34, 0.48) 65%,
            rgba(3, 25, 34, 0.72) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 20, 28, 0.28) 0%,
            rgba(2, 20, 28, 0.38) 45%,
            rgba(2, 20, 28, 0.78) 100%
        ) !important;

    pointer-events: none !important;
}


/* ---------------------------------------------------------
   SOFT LIGHT / 3D ATMOSPHERE
   --------------------------------------------------------- */

.msg-hero::before {
    content: "";

    position: absolute;
    inset: -20%;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(76, 230, 215, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 25%,
            rgba(255, 255, 255, 0.08),
            transparent 22%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(69, 206, 182, 0.10),
            transparent 24%
        );

    animation: ambientLight 10s ease-in-out infinite alternate;

    pointer-events: none;
}


/* ---------------------------------------------------------
   HERO CONTENT 3D DEPTH
   --------------------------------------------------------- */

.msg-hero-content {
    position: relative !important;

    z-index: 5 !important;

    transform:
        translate3d(0, 0, 45px)
        rotateX(0deg) !important;

    transform-style: preserve-3d !important;

    animation: heroContentIn 1.1s cubic-bezier(.2,.8,.2,1) both !important;

    will-change: transform, opacity !important;
}


/* ---------------------------------------------------------
   EYEBROW
   --------------------------------------------------------- */

.msg-hero-eyebrow {
    transform: translateZ(25px) !important;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255,255,255,.18) !important;

    animation:
        eyebrowFloat 4s ease-in-out infinite alternate !important;
}


/* ---------------------------------------------------------
   MAIN HEADING
   --------------------------------------------------------- */

.msg-hero h1 {
    transform: translateZ(35px) !important;

    text-shadow:
        0 3px 12px rgba(0,0,0,.28),
        0 12px 35px rgba(0,0,0,.28),
        0 1px 0 rgba(255,255,255,.12) !important;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.msg-hero p {
    transform: translateZ(25px) !important;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.msg-hero-buttons {
    transform: translateZ(30px) !important;
}


/* 3D button hover */

.msg-hero-primary,
.msg-hero-secondary {
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        background .35s ease !important;

    transform: translateZ(0) !important;
}

.msg-hero-primary:hover,
.msg-hero-secondary:hover {
    transform:
        translateY(-5px)
        translateZ(18px)
        scale(1.025) !important;

    box-shadow:
        0 16px 35px rgba(0,0,0,.20),
        0 5px 10px rgba(0,0,0,.12) !important;
}


/* ---------------------------------------------------------
   FLOATING 3D PARTICLE LIGHTS
   --------------------------------------------------------- */

.msg-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.65) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(87,226,211,.45) 0 1px,
            transparent 2px
        );

    background-size:
        180px 180px,
        240px 240px;

    background-position:
        20px 30px,
        100px 80px;

    opacity: .22;

    animation: particleDrift 18s linear infinite;

    mix-blend-mode: screen;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes conferenceHallZoom {

    0% {
        transform:
            translate3d(0, 0, 0)
            scale(1.04);
    }

    50% {
        transform:
            translate3d(-0.5%, -0.3%, 0)
            scale(1.07);
    }

    100% {
        transform:
            translate3d(0.6%, 0.3%, 0)
            scale(1.10);
    }
}


@keyframes heroContentIn {

    0% {
        opacity: 0;

        transform:
            translate3d(0, 45px, 0)
            translateZ(0)
            scale(.97);
    }

    100% {
        opacity: 1;

        transform:
            translate3d(0, 0, 0)
            translateZ(45px)
            scale(1);
    }
}


@keyframes eyebrowFloat {

    0% {
        transform:
            translateZ(25px)
            translateY(0);
    }

    100% {
        transform:
            translateZ(25px)
            translateY(-4px);
    }
}


@keyframes ambientLight {

    0% {
        transform:
            translate3d(-1%, 0, 0)
            scale(1);
    }

    100% {
        transform:
            translate3d(1%, -1%, 0)
            scale(1.04);
    }
}


@keyframes particleDrift {

    0% {
        background-position:
            20px 30px,
            100px 80px;
    }

    50% {
        background-position:
            70px 10px,
            40px 120px;
    }

    100% {
        background-position:
            120px -20px,
            -20px 160px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .msg-hero-media,
    .msg-hero::before,
    .msg-hero::after,
    .msg-hero-content,
    .msg-hero-eyebrow {
        animation: none !important;
    }

    .msg-hero-content {
        transform: none !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .msg-hero-media {
        inset: -2% !important;

        background-position: center center !important;

        animation-duration: 20s !important;
    }

    .msg-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3,25,34,.68),
                rgba(3,25,34,.55)
            ),
            linear-gradient(
                180deg,
                rgba(3,25,34,.28),
                rgba(3,25,34,.78)
            ) !important;
    }

    .msg-hero-content {
        transform: none !important;
    }

    .msg-hero h1 {
        transform: none !important;
    }

    .msg-hero::after {
        opacity: .12;
    }
}

/* If no image exists yet, keep a premium fallback */
.msg-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 25%, rgba(66,185,108,.16), transparent 34%),
        linear-gradient(135deg, #0c2333, #123c48);
}

/* Image darkening for readable white text */
.msg-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;

    background:
        linear-gradient(
            180deg,
            rgba(4,20,30,.34) 0%,
            rgba(4,20,30,.48) 45%,
            rgba(4,20,30,.68) 100%
        ) !important;
}

/* ---------- HERO CONTENT ---------- */

.msg-hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: min(900px, 100%) !important;
    margin: 0 auto !important;
    text-align: center !important;
    color: #fff !important;
}

.msg-hero-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;

    margin-bottom: 24px !important;
    padding: 9px 16px !important;

    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;

    background: rgba(255,255,255,.10) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #67e0bd !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.msg-hero h1 {
    max-width: 900px !important;
    margin: 0 auto 22px !important;

    color: #fff !important;
    font-size: clamp(44px, 5.2vw, 76px) !important;
    line-height: .98 !important;
    letter-spacing: -3px !important;
    font-weight: 800 !important;

    text-shadow:
        0 3px 12px rgba(0,0,0,.25),
        0 12px 32px rgba(0,0,0,.22) !important;
}

.msg-hero h1 span {
    display: block !important;
}

.msg-hero p {
    max-width: 720px !important;
    margin: 0 auto !important;

    color: rgba(255,255,255,.86) !important;
    font-size: 17px !important;
    line-height: 1.55 !important;

    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.msg-hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;

    margin-top: 32px !important;
}

.msg-hero-primary,
.msg-hero-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-height: 50px !important;
    padding: 0 22px !important;

    border-radius: 13px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease !important;
}

.msg-hero-primary {
    background: var(--msg-green) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(66,185,108,.28) !important;
}

.msg-hero-primary span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

.msg-hero-secondary {
    border: 1px solid rgba(255,255,255,.42) !important;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.msg-hero-primary:hover,
.msg-hero-secondary:hover {
    transform: translateY(-3px);
}

.msg-hero-secondary:hover {
    background: rgba(255,255,255,.14) !important;
}

/* ---------- MOBILE ---------- */

@media (max-width: 900px) {
    .premium-nav {
        width: calc(100% - 36px) !important;
        min-height: 78px !important;
        padding: 0 20px !important;
    }

    .premium-nav-left,
    .premium-nav-right {
        gap: 16px !important;
    }

    .msg-hero {
        width: calc(100% - 20px) !important;
        min-height: 600px !important;
        padding: 145px 24px 70px !important;
        border-radius: 0 0 24px 24px !important;
    }

    .msg-hero h1 {
        letter-spacing: -2px !important;
    }
}

@media (max-width: 700px) {
    .premium-nav {
        width: calc(100% - 16px) !important;
        min-height: 68px !important;
        display: flex !important;
        justify-content: space-between !important;
        border-radius: 0 0 17px 17px !important;
    }

    .premium-nav-left,
    .premium-nav-right {
        display: none !important;
    }

    .premium-brand-mark {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .premium-brand-text strong {
        font-size: 13px !important;
    }

    .premium-brand-text small {
        font-size: 5px !important;
    }

    .premium-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;

        width: 38px !important;
        height: 38px !important;

        border: 0 !important;
        border-radius: 10px !important;
        background: #f2f6f5 !important;
    }

    .premium-mobile-toggle span {
        width: 17px !important;
        height: 2px !important;
        background: #17201e !important;
        border-radius: 99px !important;
    }

    .msg-hero {
        width: calc(100% - 10px) !important;
        min-height: 620px !important;
        padding: 120px 18px 60px !important;
        border-radius: 0 0 20px 20px !important;
    }

    .msg-hero-eyebrow {
        font-size: 9px !important;
        letter-spacing: .7px !important;
    }

    .msg-hero h1 {
        font-size: clamp(38px, 11vw, 56px) !important;
        line-height: 1.02 !important;
        letter-spacing: -2px !important;
    }

    .msg-hero p {
        font-size: 14px !important;
    }

    .msg-hero-buttons {
        flex-direction: column !important;
    }

    .msg-hero-primary,
    .msg-hero-secondary {
        width: min(280px, 100%) !important;
    }
}
/* =========================================================
   HERO TOP CORNERS + ATTACHED NAVBAR
   DO NOT CHANGE HERO CONTENT
   ========================================================= */

/* Main banner outer shape */
.msg-hero {
    position: relative !important;
    overflow: hidden !important;

    /* TOP LEFT + TOP RIGHT + BOTTOM corners */
    border-radius: 28px !important;
}


/* Navbar sits directly on the top edge of the banner */
.premium-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;

    z-index: 50 !important;
}


/* White attached navbar */
.premium-nav {
    position: relative !important;

    width: min(930px, 62%) !important;
    height: 78px !important;

    margin: 0 auto !important;

    background: #ffffff !important;

    /*
       TOP IS ATTACHED TO THE BANNER.
       ONLY BOTTOM CORNERS ARE ROUNDED.
    */
    border-radius: 0 0 20px 20px !important;

    border: none !important;

    box-shadow:
        0 14px 28px rgba(12, 30, 42, 0.12) !important;

    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;

    align-items: center !important;

    padding: 0 30px !important;

    box-sizing: border-box !important;
}


/* Keep the banner visible around both sides */
.premium-nav::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: #ffffff;

    pointer-events: none;
}


/* Left navigation */
.premium-nav-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 28px !important;
}


/* Right navigation */
.premium-nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 28px !important;
}


/* Center logo */
.premium-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Desktop */
@media (min-width: 1200px) {

    .msg-hero {
        border-radius: 30px !important;
    }

    .premium-nav {
        width: 58% !important;
        max-width: 930px !important;
        height: 80px !important;

        border-radius: 0 0 21px 21px !important;
    }
}


/* Tablet */
@media (max-width: 1199px) {

    .premium-nav {
        width: 70% !important;
        height: 74px !important;

        border-radius: 0 0 19px 19px !important;
    }
}


/* Mobile */
@media (max-width: 700px) {

    .msg-hero {
        border-radius: 20px !important;
    }

    .premium-nav {
        width: calc(100% - 24px) !important;
        height: 64px !important;

        border-radius: 0 0 16px 16px !important;
    }
}
/* =========================================================
   MARCUS SCIENCE GROUP
   FINAL NAVBAR CORNER FINISH
   ========================================================= */

.premium-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    pointer-events: none !important;
}

.premium-nav {
    position: relative !important;
    z-index: 10 !important;

    width: min(930px, 58%) !important;
    height: 80px !important;

    margin: 0 auto !important;

    background: #fff !important;

    /* IMPORTANT:
       only bottom corners are rounded */
    border-radius: 0 0 22px 22px !important;

    box-shadow: 0 14px 30px rgba(10, 30, 40, 0.10) !important;

    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;

    padding: 0 30px !important;
    box-sizing: border-box !important;

    pointer-events: auto !important;
}




/* =========================================================
   HERO — DON'T CHANGE THE DESIGN
   ========================================================= */

.msg-hero {
    position: relative !important;
    overflow: hidden !important;

    border-radius: 30px !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .premium-nav {
        width: min(930px, 58%) !important;
        height: 80px !important;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .premium-nav {
        width: 70% !important;
        height: 74px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .premium-nav {
        width: calc(100% - 24px) !important;
        height: 64px !important;

        border-radius: 0 0 17px 17px !important;
    }

    .premium-nav::before,
    .premium-nav::after {
        display: none !important;
    }
}
/* =========================================================
   PREMIUM 3D HERO ANIMATIONS
   ========================================================= */

/* HERO DEPTH */
.msg-hero {
    transform-style: preserve-3d;
    perspective: 1200px;
}

/* Very subtle moving depth */
.msg-hero-media {
    transition: transform 0.18s ease-out;
    will-change: transform;
}


/* =========================================================
   HERO CONTENT 3D ENTRANCE
   ========================================================= */

.msg-hero-content {
    animation: msgHeroEnter 1.1s cubic-bezier(.16,1,.3,1) both;
    transform-style: preserve-3d;
}

@keyframes msgHeroEnter {

    0% {
        opacity: 0;
        transform:
            translateY(45px)
            translateZ(-80px)
            rotateX(5deg);
        filter: blur(8px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            translateZ(0)
            rotateX(0);
        filter: blur(0);
    }
}


/* =========================================================
   EYEBROW FLOAT
   ========================================================= */

.msg-hero-eyebrow {
    animation:
        msgEyebrowIn .9s ease-out .15s both,
        msgSoftFloat 5s ease-in-out 1.2s infinite;
}

@keyframes msgEyebrowIn {

    from {
        opacity: 0;
        transform: translateY(18px) scale(.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes msgSoftFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}


/* =========================================================
   3D HEADLINE
   ========================================================= */

.msg-hero h1 {
    transform-style: preserve-3d;

    animation:
        msgHeadingIn 1s cubic-bezier(.16,1,.3,1) .25s both;

    text-shadow:
        0 2px 0 rgba(255,255,255,.08),
        0 5px 12px rgba(0,0,0,.28),
        0 18px 38px rgba(0,0,0,.24);
}

@keyframes msgHeadingIn {

    0% {
        opacity: 0;

        transform:
            translateY(35px)
            translateZ(-100px)
            rotateX(8deg);

        letter-spacing: -7px;
    }

    100% {
        opacity: 1;

        transform:
            translateY(0)
            translateZ(0)
            rotateX(0);

        letter-spacing: -3px;
    }
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.msg-hero p {
    animation:
        msgDescriptionIn .9s ease-out .55s both;
}

@keyframes msgDescriptionIn {

    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   BUTTONS
   ========================================================= */

.msg-hero-buttons {
    animation:
        msgButtonsIn .9s cubic-bezier(.16,1,.3,1) .75s both;
}

@keyframes msgButtonsIn {

    from {
        opacity: 0;
        transform:
            translateY(25px)
            translateZ(-40px)
            scale(.94);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            translateZ(0)
            scale(1);
    }
}


/* =========================================================
   3D PRIMARY BUTTON
   ========================================================= */

.msg-hero-primary {
    transform-style: preserve-3d;

    box-shadow:
        0 10px 0 rgba(34,125,70,.35),
        0 18px 35px rgba(0,0,0,.20) !important;

    transition:
        transform .25s cubic-bezier(.2,.8,.2,1),
        box-shadow .25s ease !important;
}

.msg-hero-primary:hover {

    transform:
        translateY(-5px)
        translateZ(12px)
        scale(1.025) !important;

    box-shadow:
        0 14px 0 rgba(34,125,70,.30),
        0 24px 42px rgba(0,0,0,.25) !important;
}

.msg-hero-primary:active {

    transform:
        translateY(2px)
        scale(.99) !important;

    box-shadow:
        0 5px 0 rgba(34,125,70,.35),
        0 10px 20px rgba(0,0,0,.18) !important;
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.msg-hero-secondary {

    transition:
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,.10);
}

.msg-hero-secondary:hover {

    transform:
        translateY(-5px)
        translateZ(8px) !important;

    box-shadow:
        0 16px 32px rgba(0,0,0,.20);
}


/* =========================================================
   PREMIUM NAVBAR DEPTH
   ========================================================= */

.premium-nav {

    transform-style: preserve-3d;

    transition:
        transform .35s ease,
        box-shadow .35s ease !important;
}

.premium-nav:hover {

    transform:
        translateY(-2px)
        translateZ(8px) !important;

    box-shadow:
        0 22px 48px rgba(16,32,45,.16),
        0 8px 20px rgba(16,32,45,.08) !important;
}


/* =========================================================
   MOVING LIGHT OVER HERO
   ========================================================= */

.msg-hero::after {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.11) 0%,
            rgba(255,255,255,0) 70%
        );

    pointer-events: none;

    z-index: 1;

    animation:
        msgLightMove 9s ease-in-out infinite;
}

@keyframes msgLightMove {

    0%, 100% {
        transform:
            translate3d(0,0,0)
            scale(1);
        opacity: .45;
    }

    50% {
        transform:
            translate3d(650px,230px,0)
            scale(1.35);
        opacity: .18;
    }
}


/* =========================================================
   REDUCE MOTION FOR ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .msg-hero *,
    .premium-nav,
    .msg-hero-media,
    .msg-hero::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
/* =========================================================
   FINAL HERO IMAGE + CRISP CONTENT FIX
   ========================================================= */

/* HERO */
.msg-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}


/* CONFERENCE HALL IMAGE */
.msg-hero-media {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    z-index: -3 !important;

    background-image: url("../images/hero/banner.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;

    filter: none !important;

    transform: scale(1.04) !important;

    animation: heroImageZoom 18s ease-in-out infinite alternate !important;
}


/* DARK OVERLAY — IMAGE VISIBLE RAHE */
.msg-hero-overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: -2 !important;

    background:
        linear-gradient(
            180deg,
            rgba(3, 22, 30, 0.25) 0%,
            rgba(3, 22, 30, 0.38) 45%,
            rgba(3, 22, 30, 0.62) 100%
        ) !important;

    filter: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* REMOVE BLUR FROM HERO CONTENT */
.msg-hero-content {
    position: relative !important;

    z-index: 10 !important;

    filter: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    transform: none !important;

    opacity: 1 !important;

    text-rendering: optimizeLegibility !important;
}


/* HEADING — CRISP */
.msg-hero h1 {
    position: relative !important;

    z-index: 11 !important;

    filter: none !important;

    transform: none !important;

    opacity: 1 !important;

    text-shadow:
        0 3px 12px rgba(0,0,0,.28),
        0 10px 28px rgba(0,0,0,.20) !important;
}


/* PARAGRAPH — NO BLUR */
.msg-hero p {
    position: relative !important;

    z-index: 11 !important;

    filter: none !important;

    transform: none !important;

    opacity: 1 !important;

    text-shadow:
        0 2px 8px rgba(0,0,0,.35) !important;
}


/* EYEBROW */
.msg-hero-eyebrow {
    position: relative !important;

    z-index: 11 !important;

    filter: none !important;

    transform: none !important;

    opacity: 1 !important;
}


/* BUTTONS */
.msg-hero-buttons {
    position: relative !important;

    z-index: 11 !important;

    filter: none !important;

    transform: none !important;

    opacity: 1 !important;
}


/* =========================================================
   SUBTLE 3D IMAGE MOVEMENT
   ========================================================= */

@keyframes heroImageZoom {

    0% {
        transform: scale(1.04) translate3d(0, 0, 0);
    }

    50% {
        transform: scale(1.07) translate3d(-0.3%, -0.2%, 0);
    }

    100% {
        transform: scale(1.10) translate3d(0.3%, 0.2%, 0);
    }
}


/* =========================================================
   SOFT LIGHT — NO BLUR ON TEXT
   ========================================================= */

.msg-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(69, 210, 190, 0.12),
            transparent 35%
        );

    filter: none !important;

    animation: heroLight 8s ease-in-out infinite alternate;
}


@keyframes heroLight {

    from {
        opacity: .45;
    }

    to {
        opacity: .85;
    }
}


/* =========================================================
   IMPORTANT: DON'T BLUR THE HERO
   ========================================================= */

.msg-hero,
.msg-hero *,
.msg-hero-content,
.msg-hero h1,
.msg-hero p,
.msg-hero-eyebrow,
.msg-hero-buttons {
    -webkit-font-smoothing: antialiased !important;
}


/* MOBILE */
@media (max-width: 768px) {

    .msg-hero-media {
        transform: scale(1.03) !important;
        animation: heroImageZoomMobile 20s ease-in-out infinite alternate !important;
    }

}


@keyframes heroImageZoomMobile {

    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.07);
    }

}
/* =========================================================
   FINAL CONFERENCE HALL HERO FIX
   ========================================================= */

.msg-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}


/* ACTUAL IMAGE */
.msg-hero-media {
    position: absolute !important;
    inset: 0 !important;

    z-index: -3 !important;

    display: block !important;

    background-image: url("../hero/banner.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    filter: none !important;

    transform: scale(1.03) !important;

    animation: conferenceImageMove 18s ease-in-out infinite alternate !important;
}


/* VERY IMPORTANT:
   REMOVE THE OLD FALLBACK THAT WAS HIDING THE IMAGE */
.msg-hero-media::after {
    content: none !important;
    display: none !important;
}


/* DARKNESS ONLY — IMAGE REMAINS VISIBLE */
.msg-hero-overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: -2 !important;

    background:
        linear-gradient(
            180deg,
            rgba(3, 24, 32, 0.18) 0%,
            rgba(3, 24, 32, 0.28) 45%,
            rgba(3, 24, 32, 0.58) 100%
        ) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* KEEP TEXT CRISP */
.msg-hero-content {
    position: relative !important;
    z-index: 5 !important;

    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    transform: none !important;
    opacity: 1 !important;
}


/* CRISP PARAGRAPH */
.msg-hero p {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;

    text-shadow:
        0 2px 7px rgba(0,0,0,.35) !important;
}


/* CRISP HEADING */
.msg-hero h1 {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;

    text-shadow:
        0 3px 12px rgba(0,0,0,.30),
        0 8px 25px rgba(0,0,0,.20) !important;
}


/* SUBTLE 3D CAMERA MOVEMENT */
@keyframes conferenceImageMove {

    0% {
        transform:
            scale(1.03)
            translate3d(0, 0, 0);
    }

    50% {
        transform:
            scale(1.055)
            translate3d(-0.35%, -0.2%, 0);
    }

    100% {
        transform:
            scale(1.08)
            translate3d(0.35%, 0.2%, 0);
    }
}


/* DON'T LET OTHER EFFECTS BLUR THE HERO */
.msg-hero,
.msg-hero-content,
.msg-hero h1,
.msg-hero p,
.msg-hero-eyebrow,
.msg-hero-buttons {
    -webkit-font-smoothing: antialiased !important;
}


/* MOBILE */
@media (max-width: 768px) {

    .msg-hero-media {
        background-position: center center !important;
        transform: scale(1.03) !important;
    }

    .msg-hero-content,
    .msg-hero h1,
    .msg-hero p {
        transform: none !important;
    }
}
/* =========================================================
   HERO TEXT VISIBILITY ONLY
   DO NOT CHANGE HERO IMAGE
   ========================================================= */

/* TRUSTED BY badge */
.msg-hero-eyebrow {
    position: relative !important;
    z-index: 20 !important;

    color: #ffffff !important;

    background: rgba(5, 30, 38, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,.10) !important;

    text-shadow: 0 1px 4px rgba(0,0,0,.45) !important;

    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}


/* MAIN HEADING */
.msg-hero h1 {
    position: relative !important;
    z-index: 20 !important;

    color: #ffffff !important;

    text-shadow:
        0 2px 4px rgba(0,0,0,.55),
        0 6px 18px rgba(0,0,0,.40),
        0 12px 30px rgba(0,0,0,.22) !important;
}


/* SECOND PART OF HEADING */
.msg-hero h1 span {
    color: #ffffff !important;

    text-shadow:
        0 2px 4px rgba(0,0,0,.55),
        0 6px 18px rgba(0,0,0,.40) !important;
}


/* DESCRIPTION */
.msg-hero p {
    position: relative !important;
    z-index: 20 !important;

    color: #ffffff !important;

    text-shadow:
        0 2px 5px rgba(0,0,0,.65),
        0 4px 14px rgba(0,0,0,.35) !important;
}


/* BUTTON TEXT */
.msg-hero-buttons {
    position: relative !important;
    z-index: 20 !important;
}

.msg-hero-primary,
.msg-hero-secondary {
    text-shadow:
        0 1px 3px rgba(0,0,0,.25) !important;
}
/* =========================================================
   HERO CENTER HEADING — PREMIUM TYPOGRAPHY
   ========================================================= */

.hero-title,
.hero h1,
.premium-hero h1,
.hero-content h1 {
    max-width: 900px;
    margin: 0 auto;

    font-size: clamp(52px, 5.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 800;

    text-align: center;

    color: #ffffff;

    /* keeps text crisp over image/background */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(0, 0, 0, 0.18);

    position: relative;
    z-index: 5;
}

/* Paragraph below heading */
.hero-content p,
.hero-description,
.hero-subtitle {
    max-width: 680px;
    margin: 26px auto 0;

    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;

    text-align: center;
    color: rgba(255, 255, 255, 0.88);

    position: relative;
    z-index: 5;
}

/* Small TRUSTED BY badge */
.hero-badge,
.trusted-badge,
.hero-eyebrow {
    position: relative;
    z-index: 6;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 26px;

    color: #42d6c7;
}

/* Buttons remain sharp above background */
.hero-buttons,
.hero-actions {
    position: relative;
    z-index: 6;
}


/* =========================================================
   DESKTOP — EXACT CENTER COMPOSITION
   ========================================================= */

@media (min-width: 1100px) {

    .hero-title,
    .hero h1,
    .premium-hero h1,
    .hero-content h1 {
        max-width: 900px;

        font-size: 72px;
        line-height: 0.98;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-content p,
    .hero-description,
    .hero-subtitle {
        max-width: 680px;
        font-size: 18px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1099px) {

    .hero-title,
    .hero h1,
    .premium-hero h1,
    .hero-content h1 {
        max-width: 800px;

        font-size: 58px;
        line-height: 1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .hero-title,
    .hero h1,
    .premium-hero h1,
    .hero-content h1 {
        max-width: 92%;

        font-size: 42px;
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    .hero-content p,
    .hero-description,
    .hero-subtitle {
        max-width: 90%;

        font-size: 16px;
        line-height: 1.45;

        margin-top: 20px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .hero-title,
    .hero h1,
    .premium-hero h1,
    .hero-content h1 {
        font-size: 35px;
    }
}
/* =========================================================
   FINAL HERO HEADING — PREMIUM CENTER STYLE
   ========================================================= */

.msg-hero .msg-hero-content {
    position: relative !important;
    z-index: 10 !important;
}

.msg-hero h1 {
    width: 100% !important;
    max-width: 950px !important;

    margin: 0 auto 24px !important;

    text-align: center !important;

    font-size: clamp(52px, 5.3vw, 78px) !important;
    line-height: 0.98 !important;

    font-weight: 800 !important;
    letter-spacing: -3.2px !important;

    color: #ffffff !important;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.30),
        0 10px 28px rgba(0, 0, 0, 0.20) !important;
}

/* Second line */
.msg-hero h1 span {
    display: block !important;

    margin-top: 2px !important;

    color: #ffffff !important;
}

/* Paragraph */
.msg-hero p {
    position: relative !important;
    z-index: 10 !important;

    max-width: 700px !important;

    margin: 24px auto 0 !important;

    color: rgba(255,255,255,0.92) !important;

    font-size: 18px !important;
    line-height: 1.5 !important;

    text-align: center !important;

    text-shadow:
        0 2px 8px rgba(0,0,0,.25) !important;
}

/* Trusted badge */
.msg-hero-eyebrow {
    position: relative !important;
    z-index: 10 !important;

    margin-bottom: 28px !important;

    color: #43d6c6 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .msg-hero h1 {
        max-width: 92% !important;

        font-size: clamp(38px, 11vw, 56px) !important;
        line-height: 1.02 !important;

        letter-spacing: -2px !important;
    }

    .msg-hero p {
        max-width: 90% !important;

        font-size: 15px !important;
    }
}
/* =========================================================
   HERO TITLE - CLEAN 2 LINE LAYOUT
   ========================================================= */

.msg-hero h1 {
    width: 100% !important;
    max-width: 1150px !important;

    margin: 0 auto 22px !important;

    text-align: center !important;

    font-size: clamp(46px, 4.2vw, 64px) !important;
    line-height: 1.05 !important;

    font-weight: 800 !important;
    letter-spacing: -2.5px !important;

    color: #ffffff !important;

    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

.msg-hero h1 span {
    display: block !important;
    margin-top: 2px !important;
    color: #ffffff !important;
}

/* Keep supporting text clean */
.msg-hero p {
    max-width: 720px !important;
    margin: 22px auto 0 !important;

    font-size: 17px !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.94) !important;

    text-shadow:
        0 2px 7px rgba(0,0,0,.25) !important;
}


/* MOBILE */
@media (max-width: 700px) {

    .msg-hero h1 {
        max-width: 95% !important;
        font-size: clamp(36px, 10vw, 52px) !important;
        line-height: 1.03 !important;
        letter-spacing: -1.8px !important;
    }

    .msg-hero p {
        max-width: 92% !important;
        font-size: 15px !important;
    }
}
/* =========================================================
   HERO — KEEP BANNER LARGE + CLEAN 2-LINE TITLE
   ========================================================= */

.msg-hero {
    min-height: 675px !important;
    height: 675px !important;
}

/* Hero content */
.msg-hero .msg-hero-content {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Main heading */
.msg-hero h1 {
    width: 100% !important;
    max-width: 1250px !important;

    margin: 0 auto 24px !important;

    font-size: clamp(48px, 4vw, 62px) !important;
    line-height: 1.04 !important;

    font-weight: 800 !important;
    letter-spacing: -2.8px !important;

    text-align: center !important;
    color: #ffffff !important;

    text-shadow:
        0 3px 10px rgba(0,0,0,.30),
        0 8px 24px rgba(0,0,0,.20) !important;
}

/* Force second sentence line */
.msg-hero h1 span {
    display: block !important;
    margin-top: 3px !important;
}

/* Supporting paragraph */
.msg-hero p {
    max-width: 720px !important;
    margin: 20px auto 0 !important;

    font-size: 17px !important;
    line-height: 1.5 !important;

    color: rgba(255,255,255,.94) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .msg-hero {
        min-height: 650px !important;
        height: 650px !important;
    }

    .msg-hero h1 {
        max-width: 94% !important;
        font-size: clamp(36px, 10vw, 50px) !important;
        line-height: 1.03 !important;
        letter-spacing: -1.8px !important;
    }

    .msg-hero p {
        max-width: 90% !important;
        font-size: 15px !important;
    }
}
/* =========================================================
   HERO BANNER HEIGHT — KEEP THE LARGE PREMIUM LOOK
   ========================================================= */

.msg-hero {
    min-height: 760px !important;
    height: 760px !important;
}

/* Keep background filling the entire larger banner */
.msg-hero::before,
.msg-hero::after {
    height: 100% !important;
}

/* Keep hero content centered vertically */
.msg-hero-content {
    position: relative !important;
    z-index: 10 !important;
}

/* Desktop */
@media (min-width: 1001px) {
    .msg-hero {
        min-height: 760px !important;
        height: 760px !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .msg-hero {
        min-height: 680px !important;
        height: 680px !important;
    }
}
/* =========================================================
   HERO DESCRIPTION — CLEAN PREMIUM VERSION
   ========================================================= */

.msg-hero p {
    position: relative !important;
    z-index: 20 !important;

    width: auto !important;
    max-width: 690px !important;

    margin: 20px auto 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.94) !important;

    font-size: 17px !important;
    font-weight: 400 !important;

    line-height: 1.55 !important;
    letter-spacing: 0.1px !important;

    text-align: center !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    filter: none !important;
    opacity: 1 !important;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.65),
        0 5px 15px rgba(0, 0, 0, 0.30) !important;
}
