:root {
    --primary: #0A57AE;
    --primary-dark: #084a94;
    --bs-primary: var(--primary);
    --bs-primary-rgb: 10, 87, 174;
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-dark);
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-disabled-bg: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-disabled-color: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
}

.text-primary {
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity, 1)) !important;
}

.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.link-primary {
    color: rgba(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;
}

.link-primary:hover,
.link-primary:focus {
    color: var(--primary-dark) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Scroll indicator container */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 25px;
    cursor: pointer;
}

/* Animated arrow inside */
.scroll-down::before {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 100%;
    animation: scroll-down 2s infinite;
}

/* Animation keyframes */
@keyframes scroll-down {
    0% {
        top: 10px;
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    10% {
        opacity: 1;
    }

    50% {
        top: 25px;
        opacity: 1;
    }

    100% {
        top: 35px;
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

#faqAccordion {
    --bs-accordion-active-color: var(--primary-dark);
    --bs-accordion-active-bg: #edf4fc;
}

#faqAccordion .accordion-item {
    margin-bottom: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
}

#faqAccordion .accordion-button {
    font-weight: 600;
    line-height: 1.5;
}

#faqAccordion .accordion-button:not(.collapsed) {
    color: var(--primary-dark);
    background-color: var(--bs-accordion-active-bg);
    box-shadow: none;
}

#faqAccordion .accordion-collapse {
    background-color: var(--bs-accordion-active-bg);
}

#faqAccordion .accordion-body {
    padding: 0.25rem 1.25rem 1.25rem;
    color: #455568;
    font-size: 0.9375rem;
    line-height: 1.75;
}

#faqAccordion .accordion-body ul {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Navigation */
.navbar {
    background-color: transparent;
    transition: all 0.4s ease;
    padding: 1rem 0;
    border-bottom: none;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.scrolled .navbar-brand,
.scrolled .navbar-brand span,
.scrolled .nav-link {
    color: var(--dark) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light) !important;
}

.navbar-wordmark {
    flex: 0 1 230px;
    min-width: 0;
    width: 230px;
    line-height: 1.2;
}

.navbar-brand img {
    width: 50px;
}

.navbar-brand span {
    display: block;
    width: 100%;
    font-size: 0.69rem;
    font-weight: 400;
    color: var(--light) !important;
    margin-top: 0.25rem;
    line-height: 1.3;
}

.nav-link {
    font-weight: 500;
    color: var(--light) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

@media (max-width: 991.98px) {
    .navbar > .container {
        position: relative;
    }

    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 20px;
        transition: color 180ms ease, transform 150ms ease;
    }

    .navbar.scrolled .navbar-toggler {
        color: var(--primary);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler:focus-visible {
        outline: 3px solid oklch(78% 0.12 218);
        outline-offset: 3px;
    }

    .navbar-toggler:active {
        transform: scale(0.95);
    }

    #navbarNav {
        position: absolute;
        top: calc(100% + 12px);
        left: 12px;
        right: 12px;
        border: 1px solid oklch(88% 0.025 220);
        border-radius: 8px;
        background: oklch(99% 0.006 220);
        box-shadow: 0 16px 40px oklch(25% 0.04 230 / 18%);
        overflow: hidden;
    }

    #navbarNav.collapsing {
        transition-duration: 200ms;
        transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    }

    #navbarNav .navbar-nav {
        padding: 8px;
        max-height: calc(100svh - 120px);
        overflow-y: auto;
    }

    #navbarNav .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        margin: 2px 0;
        padding: 12px 16px;
        border-radius: 6px;
        color: oklch(32% 0.035 230) !important;
        font-size: 0.95rem;
        transition: background-color 150ms ease, color 150ms ease;
    }

    #navbarNav .nav-link:hover,
    #navbarNav .nav-link.active {
        color: oklch(40% 0.09 225) !important;
        background: oklch(94% 0.035 220);
    }

    #navbarNav .nav-link:focus-visible {
        outline: 2px solid oklch(55% 0.1 220);
        outline-offset: -2px;
    }

    #navbarNav .nav-link::after {
        display: none;
    }
}

.badge-premium {
    /* Gradient background */
    background: linear-gradient(135deg, #ffd7009e, #ffb70091, #f59c1e94, #ef831e91, #ffa86996);
    /* Shiny overlay effect */
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 1px rgb(131 131 131 / 70%);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Shiny animation element */
.badge-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(30deg);
    animation: shiny 3s infinite;
    filter: blur(2px);
}

/* Hover effect */
.badge-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

/* Shiny animation keyframes */
@keyframes shiny {
    0% {
        left: -60%;
    }

    50% {
        left: 160%;
    }

    100% {
        left: 160%;
    }
}

/* Icon styling */
.badge-premium i {
    margin-right: 8px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../img/hero.webp');
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

.hero:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #00000075;
    z-index: 0;
}

.hero .container {
    z-index: 1;
}

.hero-content {
    max-width: 620px;
    padding: 2rem;
}

.hero h1 {
    max-width: 100%;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-align: left;
}

.hero-content > h2 {
    max-width: 38ch;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
}

.event-details {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 72px;
    background: oklch(64% 0.07 235 / 12%);
    border: 1px solid oklch(78% 0.09 220 / 22%);
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.event-detail > i {
    flex: 0 0 26px;
    color: oklch(78% 0.12 218);
    font-size: 28px;
    text-align: center;
}

.event-detail-date {
    white-space: nowrap;
}

.event-detail-location {
    position: relative;
    padding-left: 28px;
}

.event-detail-location > span {
    font-size: 0.875rem;
    line-height: 1.4;
}

.event-detail-location::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 1px;
    background: oklch(89% 0.03 230 / 30%);
}

.event-detail-registration {
    min-height: 56px;
    margin: 0 0 1rem;
    padding-block: 12px;
    border: 1px solid oklch(78% 0.09 220 / 22%);
    border-top: 1px solid oklch(89% 0.03 230 / 30%);
    border-radius: 0 0 12px 12px;
    background: oklch(64% 0.07 235 / 12%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.event-detail-registration strong {
    font-weight: 700;
}

.event-detail-registration > i {
    color: oklch(78% 0.12 218);
}

.hero-content > h4 {
    font-size: 1.1rem;
    margin-top: 3rem !important;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1.25rem 0;
    margin-top: 0;
    background: oklch(64% 0.07 235 / 12%);
    border: 1px solid oklch(78% 0.09 220 / 22%);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.countdown-item {
    position: relative;
    text-align: center;
    min-width: 0;
    padding: 16px 8px;
}

.countdown-item + .countdown-item::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 1px;
    background: oklch(89% 0.03 230 / 30%);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calendar-actions {
    display: block;
    position: relative;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    background-color: #fff;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    animation: register-cta-enter 480ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms ease, background-color 180ms ease;
}

@keyframes register-cta-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-register:hover {
    border-color: #fff;
    background-color: #f1f7fc;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.btn-register:active {
    transform: scale(0.98);
}

.btn-register:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(10, 87, 174, 0.75);
}

.btn-register > i {
    font-size: 0.85rem;
    transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-register:hover > i {
    transform: translateX(3px);
}

.btn-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    color: #fff;
    background: rgba(10, 35, 55, 0.48);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.btn-calendar::-webkit-details-marker {
    display: none;
}

.calendar-chevron {
    font-size: 0.75rem;
    transition: transform 160ms ease;
}

.calendar-actions[open] .calendar-chevron {
    transform: rotate(180deg);
}

.btn-calendar:hover,
.calendar-actions[open] .btn-calendar {
    color: #fff;
    background: rgba(10, 35, 55, 0.78);
}

.btn-calendar:focus-visible,
.calendar-options a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.calendar-options {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.calendar-options a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border-radius: 4px;
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.calendar-options a:hover {
    background: #edf4f8;
}

@keyframes register-cta-enter {
    from {
        opacity: 0.75;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title.h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Agenda */
.agenda-day {
    margin-bottom: 3rem;
}

.agenda-day h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.agenda-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.agenda-item:hover {
    transform: translateY(-5px);
}

#agendaTabs {
    top: 4.85rem;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: none;
    position: sticky;
    z-index: 1010;
    position: -webkit-sticky;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}

#agendaTabs.tabs-stuck {
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    /* Soft center box shadow disappearing from left and right via negative horizontal spread */
    box-shadow: 0 14px 22px -10px rgba(0, 0, 0, 0.16), 0 6px 12px -6px rgba(0, 0, 0, 0.08);
}

#agendaTabs.tabs-stuck::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 10%;
    right: 10%;
    height: 12px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}

#agendaTabs .nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 16rem;
}

#agendaTabs .nav-link {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--primary) !important;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: all 0.2s ease;
}

#agendaTabs .nav-link::after {
    display: none;
}

#agendaTabs .nav-link:hover {
    color: var(--primary-dark) !important;
    background-color: rgba(10, 87, 174, 0.06);
}

#agendaTabs .nav-link.active {
    color: var(--primary) !important;
    background-color: #fff;
    border-color: var(--light-gray) var(--light-gray) #fff;
}

#agendaTabs.tabs-stuck .nav-link.active {
    background-color: rgba(10, 87, 174, 0.08);
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(10, 87, 174, 0.12);
}

.time {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    margin-bottom: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.session-content {
    flex: 1;
    text-align: left;
}

.session-title,
.workshop-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.session-desc {
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.speaker {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 500;
}

.agenda-time {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .agenda-item {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1.15rem 1rem;
    }

    .time {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .session-content {
        width: 100%;
        text-align: left;
    }
}

/* Speakers */
.speaker-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.speaker-card.clickable-card {
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(43, 84, 126, 0.2);
}

.speaker-img-wrapper {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.speaker-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.06);
}

.speaker-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--primary);
    line-height: 1.3;
}

.speaker-role {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    #speakers .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 0.75rem;
    }

    #speakers .row.g-4 > .mb-4 {
        margin-bottom: 0 !important;
    }

    .speaker-card {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas:
            "image name"
            "image role"
            "image profile";
        align-content: center;
        align-items: center;
        column-gap: 0.9rem;
        padding: 1rem;
        text-align: left;
    }

    .speaker-img-wrapper {
        grid-area: image;
        width: 72px;
        height: 72px;
        margin-bottom: 0;
    }

    .speaker-name {
        grid-area: name;
        align-self: end;
        margin-bottom: 0.2rem;
    }

    .speaker-role {
        grid-area: role;
        align-self: start;
        margin-bottom: 0;
    }

    .speaker-bio-btn {
        grid-area: profile;
        justify-self: start;
        margin-top: 0.5rem !important;
    }
}

.speaker-bio-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(10, 87, 174, 0.2);
    border-radius: 4px;
    background: rgba(10, 87, 174, 0.07);
    color: var(--primary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.speaker-bio-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.speaker-bio-btn:focus-visible,
.speaker-profile-dismiss:focus-visible,
.speaker-profile-close:focus-visible {
    outline: 3px solid rgba(10, 87, 174, 0.35);
    outline-offset: 3px;
    box-shadow: none;
}

#speakerBioModal.fade {
    transition: opacity 180ms ease;
}

#speakerBioModal.fade .modal-dialog {
    transform: translateY(12px) scale(0.98);
    transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

#speakerBioModal.show .modal-dialog {
    transform: none;
}

.modal-backdrop.fade {
    transition: opacity 180ms ease;
}

.speaker-profile-modal {
    overflow: hidden;
    border: 1px solid rgba(10, 87, 174, 0.12);
    border-radius: 12px;
}

.speaker-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem 0;
    border: 0;
}

.speaker-profile-eyebrow {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.speaker-profile-body {
    padding: 1rem 2rem 1.75rem;
}

.speaker-profile-intro {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.speaker-profile-avatar {
    display: grid;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
}

.speaker-modal-avatar {
    width: 100%;
    height: 100%;
    padding: 0.35rem;
    object-fit: contain;
}

.speaker-profile-name {
    margin: 0 0 0.35rem;
    color: var(--primary-dark);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.speaker-profile-role {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.speaker-profile-divider {
    height: 1px;
    margin: 1.5rem 0 1.2rem;
    background: rgba(10, 87, 174, 0.14);
}

.speaker-profile-highlights-title {
    margin-bottom: 0.9rem;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.speaker-profile-highlights {
    max-width: 68ch;
    margin-bottom: 0;
    color: var(--dark);
    line-height: 1.65;
}

.speaker-profile-highlight {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.speaker-profile-highlight:last-child {
    margin-bottom: 0;
}

.speaker-profile-check {
    flex: 0 0 auto;
    margin-top: 0.35rem;
    color: var(--primary);
}

.speaker-profile-footer {
    padding: 0 2rem 1.5rem;
    border: 0;
}

.speaker-profile-close {
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.speaker-profile-close:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 1.75rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.socialMediaLinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
}

.footer-social-title {
    margin: 0 0.4rem 0 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.socialMediaLinks a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.socialMediaLinks a:hover,
.socialMediaLinks a:focus-visible {
    border-color: #fff;
    background-color: #fff;
    color: var(--primary-dark);
}

.socialMediaLinks a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

.social-x-mark {
    font-size: 1.2rem;
    font-weight: 600;
}

.copyright {
    margin-left: auto;
    text-align: right;
}

.copyright p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

.locationCard {
    height: 600px;
}

@media (max-width: 575.98px) {
    #agendaTabs {
        gap: 0.375rem;
        padding: 0.5rem 0;
    }

    #agendaTabs .nav-link {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    #agendaTabs .nav-link small {
        font-size: 0.6875rem;
        white-space: nowrap;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.45rem;
        margin-right: 0.5rem;
        font-size: 1rem;
    }

    .navbar-brand img {
        flex: 0 0 auto;
        width: 42px;
    }

    .navbar-wordmark {
        flex: 0 1 172px;
        width: 172px;
        font-size: 1rem;
    }

    .navbar-brand span {
        margin-top: 0.15rem;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .navbar-toggler {
        flex: 0 0 auto;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        padding: 6.5rem 0 2rem;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0.75rem 0;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 1.5rem;
        margin-bottom: 0.65rem;
    }

    .hero h1 sup {
        font-size: 0.65em;
    }

    .hero-content > h2 {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }

    .hero-content > h4 {
        font-size: 1rem;
        margin-top: 1.1rem !important;
    }

    .countdown-value {
        font-size: 1.35rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.04em;
    }

    .socialMediaLinks {
        flex: 0 1 68%;
        justify-content: flex-start;
        gap: 0.55rem;
    }

    .footer-social-title {
        flex-basis: 100%;
        margin: 0 0 0.15rem;
        font-size: 1rem;
        text-align: left;
    }

    .socialMediaLinks a {
        width: 34px;
        height: 34px;
    }

    .copyright {
        flex: 0 1 30%;
        margin-left: auto;
        text-align: right;
    }

    .copyright p {
        font-size: 0.72rem;
    }

    .locationCard {
        height: 420px;
    }

    .speaker-profile-header {
        padding: 1.1rem 1.2rem 0;
    }

    .speaker-profile-body {
        padding: 0.9rem 1.25rem 1.5rem;
    }

    .speaker-profile-intro {
        flex-direction: column;
        text-align: center;
    }

    .speaker-profile-name {
        font-size: 1.25rem;
    }

    .speaker-profile-footer {
        padding: 0 1.25rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-inline: 20px;
    }

    .hero-content {
        margin-inline: auto;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content > h2 {
        margin-inline: auto;
    }

    .hero-content > h4 {
        margin-top: 2.5rem !important;
    }

    .event-details {
        grid-template-columns: minmax(0, 1fr);
    }

    #hero .event-detail-registration {
        padding-inline: 14px;
        font-size: 0.82rem;
    }

    .event-detail {
        justify-content: flex-start;
        text-align: left;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    #hero .event-detail > i {
        align-self: center;
        line-height: 1;
    }

    .event-detail-location::before {
        top: 0;
        right: 20px;
        bottom: auto;
        left: 20px;
        width: auto;
        height: 1px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.35rem;
    }

    #hero .event-detail-registration {
        gap: 0.4rem;
        padding-inline: 8px;
        font-size: 0.65rem;
    }

    #hero .event-detail-registration > i {
        flex-basis: 20px;
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .hero-content > h2 {
        max-width: none;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-toggler,
    #navbarNav.collapsing,
    #navbarNav .nav-link {
        transition: none;
    }

    .speaker-bio-btn,
    .speaker-profile-close {
        transition: none;
    }

    .socialMediaLinks a {
        transition: none;
    }
}