/* ========= 1. Tokens & base ========= */
:root {
    --c-primary: #00BFAE;
    --c-primary-dark: #00897B;
    --c-primary-deep: #045D54;
    --c-ink: #062B2F;
    --c-ink-soft: #41605F;
    --c-bg: #F5FBFA;
    --c-paper: #FFF;
    --font-head: 'Sora', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans TC', 'Noto Sans SC', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px
}

body {
    font-family: var(--font-body);
    color: var(--c-ink);
    background: var(--c-bg);
    margin: 0
}

h1,
h2,
h3,
h4,
h5,
.brand-text strong {
    font-family: var(--font-head)
}

.text-teal {
    color: var(--c-primary-dark)
}

/* ========= 2. Multilingual spans ========= */
.ml {
    display: none !important
}

body[data-lang="en"] .ml-en {
    display: inline !important
}

body[data-lang="hk"] .ml-hk {
    display: inline !important
}

body[data-lang="cn"] .ml-cn {
    display: inline !important
}

/* ========= 3. Buttons ========= */
.btn-paper,
.btn-ink,
.btn-ghost,
.btn-teal {
    text-decoration: none !important
}

.btn-paper {
    background: #fff;
    color: var(--c-primary-deep);
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18)
}

.btn-ink {
    background: #0B0B0B;
    color: #fff;
    font-weight: 700;
    border-radius: 14px
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .6);
    font-weight: 700;
    border-radius: 14px
}

.btn-teal {
    background: var(--c-primary-dark);
    color: #fff;
    font-weight: 700;
    border-radius: 14px
}

.btn-paper:hover,
.btn-paper:focus,
.btn-paper:active {
    background: #fff !important;
    color: var(--c-primary-deep) !important;
    transform: translateY(-2px)
}

.btn-ink:hover,
.btn-ink:focus,
.btn-ink:active {
    background: #0B0B0B !important;
    color: #fff !important;
    transform: translateY(-2px)
}

.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active {
    background: rgba(255, 255, 255, .18) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .8) !important
}

.btn-teal:hover,
.btn-teal:focus,
.btn-teal:active {
    background: var(--c-primary-deep) !important;
    color: #fff !important
}

/* ========= 4. Navbar & language menu ========= */
.care-nav {
    background: #fff;
    /* Changed to solid white */
    /* backdrop-filter: blur(12px); */
    /* Removed blur since background is now fully opaque */
    transition: box-shadow .3s, background .3s;
    padding: .9rem 0
}

.care-nav.scrolled {
    box-shadow: 0 6px 24px rgba(6, 43, 47, .12);
    background: #fff
}

/* 20260910 code */
/* .care-nav {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    transition: box-shadow .3s, background .3s;
    padding: .9rem 0
}

.care-nav.scrolled {
    box-shadow: 0 6px 24px rgba(6, 43, 47, .12);
    background: #fff
} */

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem
}

.brand-text {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-text strong {
    font-size: 1.05rem
}

.brand-text small {
    color: var(--c-ink-soft);
    font-size: .66rem;
    letter-spacing: .06em
}

.care-nav .nav-link {
    font-weight: 600;
    color: var(--c-ink);
    border-radius: 10px;
    padding: .5rem .9rem
}

.care-nav .nav-link:hover {
    background: rgba(0, 191, 174, .12);
    color: var(--c-primary-deep)
}

.care-nav .nav-link.active {
    color: var(--c-primary-deep);
    background: rgba(0, 191, 174, .15)
}

.badge-soon {
    background: #0B0B0B;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: .25em .5em;
    font-size: .6rem;
    vertical-align: middle;
    margin-left: .35rem
}

.lang-toggle {
    border: 1.5px solid rgba(6, 43, 47, .15);
    border-radius: 999px !important
}

.lang-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(6, 43, 47, .18);
    padding: .4rem
}

.lang-menu .dropdown-item {
    border-radius: 10px;
    font-weight: 600
}

.lang-menu .dropdown-item.active {
    background: rgba(0, 191, 174, .15);
    color: var(--c-primary-deep)
}

@media (max-width:991.98px) {
    .care-nav .navbar-collapse {
        background: #fff;
        border-radius: 18px;
        margin-top: .8rem;
        padding: 1rem;
        box-shadow: 0 20px 50px rgba(6, 43, 47, .18)
    }
}

/* ========= 5. Brand logos ========= */
.brand-logo {
    height: 46px;
    width: auto;
    display: block
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0
}

.footer-brand-logo {
    height: 56px;
    width: auto;
    display: block
}

.footer-brand-logo-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(6, 43, 47, .12);
    flex-shrink: 0
}

.org-logo-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
    display: inline-block;
    max-width: 100%
}

.org-logo {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    margin: auto
}

@media (max-width: 1200px) {
    .brand-logo {
        height: 33px;
    }

    .navbar-nav a.nav-link {
        font-size: 14px;
    }
}

@media (max-width:575.98px) {
    .brand-logo {
        height: 34px
    }

    .footer-brand-logo {
        height: 34px
    }

    .brand-text strong {
        font-size: .75rem
    }

    .org-logo-card {
        padding: 1.2rem 1rem
    }
}

/* ========= 6. Hero ========= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 110px;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .25), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(0, 0, 0, .18), transparent 55%), linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 70%, var(--c-primary-deep) 100%)
}

.hero-watermark {
    position: absolute;
    right: -2%;
    top: 6%;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(8rem, 22vw, 20rem);
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .12);
    pointer-events: none;
    user-select: none
}

.hero-overline {
    letter-spacing: .35em;
    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;
    color: #EFFFFC;
    display: inline-flex;
    align-items: center
}

.hero-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 2.6rem);
    line-height: 1.12;
    margin: 1rem 0 .8rem;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .18)
}

.hero-theme {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #0B0B0B;
    background: #fff;
    display: inline-block;
    padding: .45em 1em;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.hero-tagline {
    margin-top: 1.1rem;
    font-size: 1.05rem;
    color: #EFFFFC;
    font-weight: 500
}

.hero-date {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
    margin-top: 1.4rem
}

.date-big {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    letter-spacing: .02em;
    display: block;
    width: 100%
}

.date-venue {
    font-weight: 600;
    color: #EFFFFC
}

.hero-days {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin-top: .7rem;
    font-weight: 600;
    color: #DFFBF7;
    font-size: .95rem
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem
}

.save-card {
    display: inline-block;
    border: 8px solid #fff;
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    transform: rotate(2deg);
    transition: transform .5s;
    max-width: 480px
}

.save-card:hover {
    transform: rotate(0) scale(1.02)
}

.save-card img {
    border-radius: 2px;
    display: block;
    width: 100%
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 70px
}

@media (max-width:991.98px) {
    .hero {
        padding-top: 110px
    }

    .save-card {
        transform: none
    }
}

/* ========= 7. Countdown & stats ========= */
.count-band {
    padding: 3.2rem 0 1rem;
    text-align: center
}

.cd-title {
    font-weight: 700;
    color: var(--c-ink-soft);
    letter-spacing: .06em
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0 2.6rem
}

.cd-box {
    min-width: 96px;
    padding: 1.1rem .8rem;
    border-radius: 18px;
    background: var(--c-ink);
    color: #fff;
    box-shadow: 0 14px 34px rgba(6, 43, 47, .25)
}

.cd-box span {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--c-primary)
}

.cd-box small {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .66rem;
    color: #BFE8E2
}

.stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.6rem 1rem;
    box-shadow: 0 10px 30px rgba(6, 43, 47, .08);
    display: flex;
    flex-direction: column;
    gap: .3rem;
    height: 100%
}

.stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.6rem;
    color: var(--c-primary-dark)
}

.stat-label {
    color: var(--c-ink-soft);
    font-weight: 600;
    font-size: .9rem
}

.stats-row {
    margin-bottom: 2rem
}

@media (max-width:575.98px) {
    .countdown {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 340px;
        margin: 1rem auto 2.6rem
    }

    .cd-box {
        min-width: 0;
        width: 100%
    }

    .cd-box span {
        font-size: 1.9rem
    }
}

/* ========= 8. Sections & highlight cards ========= */
.section {
    padding: 5.5rem 0
}

.section-alt {
    background: #fff
}

.section-kicker {
    color: var(--c-primary-dark);
    font-weight: 800;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-size: .75rem
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: .6rem 0 1.2rem;
    color: var(--c-ink)
}

.lead-soft {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-primary-dark)
}

.body-text {
    color: var(--c-ink-soft);
    line-height: 1.85
}

.hl-card {
    background: var(--c-bg);
    border: 1px solid rgba(0, 191, 174, .2);
    border-radius: 16px;
    padding: 1.4rem;
    height: 100%;
    transition: transform .3s, box-shadow .3s
}

.hl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 137, 123, .18)
}

.hl-card i {
    font-size: 1.6rem;
    color: var(--c-primary-dark);
    margin-bottom: .7rem
}

.hl-card h5 {
    font-weight: 700
}

.hl-card p {
    color: var(--c-ink-soft);
    font-size: .9rem;
    margin: 0
}

.hl-grid {
    margin-top: 2rem
}

/* ========= 9. Timeline (optional schedule) ========= */
.timeline {
    max-width: 760px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 2rem
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(var(--c-primary), var(--c-primary-deep));
    border-radius: 3px
}

.tl-item {
    position: relative;
    margin-bottom: 1.6rem
}

.tl-dot {
    position: absolute;
    left: -2rem;
    top: 14px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--c-primary-dark)
}

.tl-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.3rem 1.6rem;
    box-shadow: 0 10px 30px rgba(6, 43, 47, .08);
    border-left: 5px solid var(--c-primary)
}

.section-alt .tl-card {
    background: var(--c-bg)
}

.tl-card h5 {
    font-weight: 700;
    margin-bottom: .2rem
}

.tl-card p {
    margin: 0;
    color: var(--c-ink-soft);
    font-weight: 600
}

/* ========= 10. Organiser ========= */
.org-card {
    background: linear-gradient(150deg, var(--c-ink), #0B3B3C);
    color: #E8F6F4;
    border-radius: 26px;
    padding: 3rem;
    box-shadow: 0 26px 60px rgba(6, 43, 47, .35)
}

.org-card .section-title {
    color: #fff
}

.org-card .body-text {
    color: #BFDAD6
}

.org-emblem {
    width: 170px;
    height: 170px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 2px dashed rgba(0, 191, 174, .6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--c-primary)
}

.org-emblem i {
    font-size: 2.4rem
}

.em-icti {
    color: #fff
}

@media (max-width:991.98px) {
    .org-card {
        padding: 2rem
    }
}

/* ========= 11. Venue ========= */
.page-hero {
    padding: 150px 0 70px;
    color: #fff;
    background: radial-gradient(900px 400px at 90% -20%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(160deg, var(--c-primary), var(--c-primary-deep))
}

.page-hero .hero-title {
    margin-bottom: 0
}

.venue-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(6, 43, 47, .08);
    height: 100%;
    border-top: 4px solid var(--c-primary)
}

.venue-card i {
    font-size: 1.5rem;
    color: var(--c-primary-dark);
    margin-bottom: .8rem
}

.venue-card h5 {
    font-weight: 700;
    margin-bottom: .3rem
}

.venue-card p {
    color: var(--c-ink-soft);
    margin: 0;
    font-weight: 600;
    font-size: .92rem
}

.map-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(6, 43, 47, .18);
    border: 6px solid #fff
}

.map-wrap iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block
}

/* ========= 12. CTA band ========= */
.cta-band {
    background: linear-gradient(140deg, var(--c-primary), var(--c-primary-deep));
    padding: 5rem 0;
    color: #fff
}

.cta-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem)
}

.cta-text {
    color: #DFFBF7;
    font-weight: 500;
    margin: .6rem 0 1.8rem
}

/* ========= 13. Footer & back-to-top ========= */
.site-footer {
    background: var(--c-ink);
    color: #BFDAD6;
    padding: 4rem 0 2rem
}

.footer-head {
    color: #fff;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-list li {
    margin-bottom: .6rem
}

.footer-list a {
    color: #BFDAD6;
    text-decoration: none
}

.footer-list a:hover {
    color: var(--c-primary)
}

.footer-text {
    color: #BFDAD6;
    line-height: 1.8
}

.footer-org {
    color: #7FA6A1;
    font-size: .75rem;
    letter-spacing: .06em
}

.footer-hr {
    border-color: rgba(255, 255, 255, .12);
    margin: 2.4rem 0 1.4rem
}

.footer-copy {
    color: #7FA6A1;
    font-size: .85rem
}

#backTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: none;
    background: var(--c-ink);
    color: var(--c-primary);
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
    z-index: 1050
}

#backTop.show {
    opacity: 1;
    pointer-events: auto
}

/* ========= 14. Reveal & reduced motion ========= */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.revealed {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    html {
        scroll-behavior: auto
    }
}

/* ========= 15. Share dialog ========= */
.share-row {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin: 1.4rem 0 .2rem
}

.share-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    transition: transform .2s ease;
    cursor: pointer
}

.share-btn:hover,
.share-btn:focus {
    transform: scale(1.12);
    color: #fff
}

.sb-fb {
    background: #1877F2
}

.sb-li {
    background: #0A66C2
}

.sb-wa {
    background: #25D366
}

.sb-copy {
    background: var(--c-primary-dark)
}

.share-hint {
    color: #8aa0a0;
    font-size: .85rem;
    margin-top: 1rem;
    margin-bottom: 0
}

/* ========= 16. Stub pages (legacy) ========= */
.stub-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    color: #fff;
    background: linear-gradient(160deg, var(--c-primary), var(--c-primary-deep))
}

.stub-card {
    background: rgba(255, 255, 255, .1);
    border: 1.5px dashed rgba(255, 255, 255, .5);
    border-radius: 22px;
    max-width: 560px;
    margin: 2.4rem auto 0;
    padding: 2.6rem 2rem;
    backdrop-filter: blur(6px)
}

.stub-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem
}

.stub-card p {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.6rem
}

.sample-note {
    color: var(--c-ink-soft);
    font-size: .88rem;
    margin-top: 2.2rem;
    text-align: center
}

.btn-orange {
    background: #FF7F00;
    color: #fff !important;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active {
    background: #E67300 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.3);
}

.btn-blue {
    background: #32698c;
    color: #fff !important;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active {
    background: #103c62 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.3);
}

.swal-speaker-popup {
    border-radius: 24px !important;
    overflow: hidden;
    max-width: 640px !important;
    width: 92% !important
}

.swal-speaker {
    text-align: left;
    max-height: 75vh;
    overflow-y: auto;
    padding: 2rem 1.5rem
}

.swal-speaker::-webkit-scrollbar {
    width: 6px
}

.swal-speaker::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px
}

.swal-speaker::-webkit-scrollbar-thumb {
    background: var(--c-primary);
    border-radius: 3px
}

.swal-sp-head {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    border-bottom: 2px solid rgba(0, 191, 174, .15);
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem
}

.swal-sp-head img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--c-primary);
    margin: 0;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0, 137, 123, .25)
}

.swal-sp-id {
    flex: 1
}

.swal-name {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--c-ink);
    margin-bottom: .3rem
}

.swal-role-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: .55rem
}

.swal-role-title {
    font-weight: 700;
    color: var(--c-ink);
    font-size: .92rem
}

.swal-role-org {
    color: var(--c-primary-dark);
    font-size: .85rem;
    font-weight: 600
}

.swal-bio-block h6 {
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
    font-size: .72rem;
    margin-bottom: .7rem
}

.swal-bio-block p {
    line-height: 1.5;
    color: var(--c-ink-soft);
    text-align: justify;
    margin: 0;
    font-size: .95rem
}

.swal-speaker-close {
    font-size: 1.6rem !important;
    top: .8rem !important;
    right: .8rem !important;
    color: var(--c-ink-soft) !important
}

.swal-speaker-close:hover {
    color: var(--c-primary-dark) !important
}

@media (max-width:575.98px) {
    .swal-sp-head {
        flex-direction: column;
        text-align: center
    }

    .swal-name {
        text-align: center
    }

    .swal-role-item {
        align-items: center;
        text-align: center
    }
}