/* ============================================================
   AAIC Neuroscience Next - Global Styles
   Design inspired by https://www.alz.org/neurosciencenext
   Color Palette: Deep Purple #4a0d66, Gold #ffa400, Dark #1a1a2e
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    /* Primary Colors */
    --color-purple-deep: #4a0d66;
    --color-purple-dark: #380a50;
    --color-purple-light: #6b2d8b;
    --color-purple-glow: #8b5fbf;
    --color-purple-subtle: #f3eaf9;

    /* Accent Colors */
    --color-gold: #ffa400;
    --color-gold-hover: #e09000;
    --color-gold-shadow: #CC8300;
    --color-gold-light: #ffc85c;

    /* Neutrals */
    --color-dark: #1a1a2e;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-gray-bg: #f1f2f2;
    --color-gray-border: #e7e7e7;
    --color-white: #ffffff;

    /* Status Colors */
    --color-success: #2ecc71;
    --color-error: #e74c3c;
    --color-info: #3498db;
    --color-warning: #f1c40f;

    /* Typography */
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 65px 0;
    --section-padding-mobile: 30px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(74, 13, 102, 0.08);
    --shadow-md: 0 4px 20px rgba(74, 13, 102, 0.12);
    --shadow-lg: 0 8px 40px rgba(74, 13, 102, 0.16);
    --shadow-glow: 0 0 30px rgba(139, 95, 191, 0.3);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 800;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--color-white);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--color-purple-deep);
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-purple-deep);
    font-weight: 700;
}

h4 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-purple-deep);
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--color-text);
}

a {
    color: var(--color-purple-deep);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-purple-light);
    text-decoration: none;
}

sup {
    font-size: 0.65em;
    top: -0.3em;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Layout ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
    section {
        padding: var(--section-padding);
    }
}

.text-center {
    text-align: center;
}

/* ---- Top Announcement Bar ---- */
.top-bar {
    width: 100%;
    background: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-purple-dark) 100%);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.top-bar p {
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

.top-bar sup {
    font-size: 0.55em;
}

@media (min-width: 768px) {
    .top-bar p {
        font-size: 1rem;
    }
}

/* ---- Navigation ---- */
.navbar {
    background: var(--color-white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--color-gray-border);
    transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 38px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

@media (min-width: 576px) {
    .navbar-brand img {
        height: 44px;
        max-width: 340px;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        height: 52px;
        max-width: 440px;
    }
}

/* Hamburger Menu */
.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-purple-deep);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}

/* Nav Links */
.nav-menu {
    display: none;
    width: 100%;
    padding: 16px 0;
    list-style: none;
    border-top: 1px solid var(--color-gray-border);
    margin-top: 10px;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        width: auto;
        padding: 0;
        border-top: none;
        margin-top: 0;
    }
}

.nav-menu li a {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-purple-deep);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: var(--color-purple-subtle);
    color: var(--color-purple-deep);
}

@media (min-width: 992px) {
    .nav-menu li a {
        font-size: 1.05rem;
    }
}

/* ---- Nav Dropdown (Attend) ---- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-purple-deep);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
    background-color: var(--color-purple-subtle);
}

.nav-dropdown-toggle .caret {
    font-size: 0.7rem;
    transition: transform var(--transition-normal);
}

.nav-dropdown.open .caret {
    transform: rotate(180deg);
}

.nav-submenu {
    list-style: none;
    display: none;
    padding: 6px 0 6px 12px;
}

.nav-dropdown.open .nav-submenu {
    display: block;
    animation: slideDown 0.25s ease;
}

.nav-menu .nav-submenu a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    white-space: normal;
}

.nav-submenu .sub-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-purple-deep), var(--color-purple-glow));
    color: #fff;
    font-size: 0.95rem;
    transition: transform var(--transition-fast);
}

.nav-submenu a:hover .sub-icon {
    transform: scale(1.08) rotate(-4deg);
}

.nav-submenu .sub-text strong {
    display: block;
    font-size: 0.98rem;
    color: var(--color-purple-deep);
}

.nav-submenu .sub-text small {
    display: block;
    font-weight: 500;
    font-size: 0.8rem;
    color: #6b6b80;
    line-height: 1.35;
    margin-top: 2px;
}

@media (min-width: 992px) {
    .nav-dropdown-toggle {
        font-size: 1.05rem;
        width: auto;
    }

    .nav-submenu {
        display: block;
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        min-width: 320px;
        padding: 10px;
        background: var(--color-white);
        border-radius: var(--radius-md, 10px);
        border: 1px solid rgba(74, 13, 102, 0.08);
        box-shadow: 0 18px 50px rgba(74, 13, 102, 0.18);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
        z-index: 1000;
    }

    .nav-submenu::before {
        content: '';
        position: absolute;
        top: -7px;
        left: 50%;
        width: 14px;
        height: 14px;
        background: var(--color-white);
        border-left: 1px solid rgba(74, 13, 102, 0.08);
        border-top: 1px solid rgba(74, 13, 102, 0.08);
        transform: translateX(-50%) rotate(45deg);
    }

    .nav-dropdown.open .nav-submenu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        animation: none;
    }

    .nav-submenu li+li {
        border-top: 1px solid var(--color-gray-border);
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 36px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-purple-deep);
    box-shadow: 0 5px var(--color-gold-shadow);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-purple-deep);
    transform: translateY(2px);
    box-shadow: 0 3px var(--color-gold-shadow);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 1px var(--color-gold-shadow);
}

.btn-secondary {
    background-color: var(--color-purple-deep);
    color: var(--color-white);
    box-shadow: 0 5px var(--color-purple-dark);
}

.btn-secondary:hover {
    color: var(--color-white);
    transform: translateY(2px);
    box-shadow: 0 3px var(--color-purple-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-purple-deep);
    border: 2px solid var(--color-purple-deep);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--color-purple-deep);
    color: var(--color-white);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ---- Hero Banner ---- */
.hero-banner {
    position: relative;
    min-height: 350px;
    background-image: url('../img/wat_v3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 13, 102, 0.85) 0%, rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.hero-banner>* {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    max-width: 800px;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-banner .banner-subtitle {
    color: var(--color-gold);
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-banner .banner-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 32px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-banner {
        min-height: 450px;
        padding: 20px 20px;
    }
}

@media (min-width: 1200px) {
    .hero-banner {
        min-height: 550px;
    }
}

/* Interior Banner */
.interior-banner {
    position: relative;
    min-height: 200px;
    background-image: url('../img/interior_banner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.interior-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 13, 102, 0.9) 0%, rgba(26, 26, 46, 0.75) 100%);
    z-index: 1;
}

.interior-banner>* {
    position: relative;
    z-index: 2;
}

.interior-banner h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
    .interior-banner {
        min-height: 280px;
    }
}

/* ---- Section Styles ---- */
.section-gray {
    background-color: var(--color-gray-bg);
}

.section-purple {
    background: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-purple-dark) 100%);
}

.section-purple h2,
.section-purple h3,
.section-purple p,
.section-purple li {
    color: var(--color-white);
}

/* Lined Heading */
.lined-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.lined-heading::before,
.lined-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-gray-border);
    max-width: 200px;
}

.lined-heading h2,
.section-title {
    margin: 0;
    white-space: nowrap;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {

    .lined-heading h2,
    .section-title {
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .lined-heading::before,
    .lined-heading::after {
        display: none;
        /* Hide lines on mobile to give text more room to wrap */
    }

    .mobile-break {
        display: block;
    }
}

/* ---- Grid System ---- */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.col-3 {
    flex: 0 0 calc(25% - 23px);
}

.col-4 {
    flex: 0 0 calc(33.333% - 20px);
}

.col-6 {
    flex: 0 0 calc(50% - 15px);
}

.col-8 {
    flex: 0 0 calc(66.666% - 10px);
}

.col-12 {
    flex: 0 0 100%;
}

@media (max-width: 991px) {
    .col-4 {
        flex: 0 0 calc(50% - 15px);
    }

    .col-3 {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .row {
        gap: 20px;
    }

    .col-3,
    .col-4,
    .col-6,
    .col-8 {
        flex: 0 0 100%;
    }
}

/* ---- Feature Cards ---- */
.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-purple-deep), var(--color-gold));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-purple-subtle);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-purple-subtle), #ede0f7);
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.feature-card:hover .icon {
    transform: scale(1.1);
}

.feature-card .icon img,
.feature-card .icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ---- Info Grid ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-box {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.info-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-box h3 {
    margin-bottom: 12px;
}

.info-box p {
    flex: 1;
}

.info-box .btn {
    margin-top: auto;
    align-self: center;
}

/* ---- Gray Box (Callout) ---- */
.callout-box {
    background-color: var(--color-gray-bg);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
}

.callout-box hr {
    border: none;
    border-top: 1px solid var(--color-gray-border);
    margin: 16px 0;
}

/* ---- Form Styles ---- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group label .required {
    color: var(--color-error);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
    color: var(--color-text);
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-purple-light);
    box-shadow: 0 0 0 3px rgba(74, 13, 102, 0.1);
}

.form-control::placeholder {
    color: #999;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a0d66' d='M6 8.825L0.375 3.2l.85-.85L6 7.125l4.775-4.775.85.85L6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-control {
    border-color: var(--color-error);
}

.form-group.error .form-error {
    display: block;
}

/* Hub Location (conditional) */
.hub-selection {
    display: none;
    animation: fadeIn 0.3s ease;
}

.hub-selection.visible {
    display: block;
}

/* Radio/Checkbox Custom */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    position: relative;
}

.radio-option input,
.checkbox-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-option label,
.checkbox-option label {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.radio-option input:checked+label,
.checkbox-option input:checked+label {
    border-color: var(--color-purple-deep);
    background-color: var(--color-purple-subtle);
    color: var(--color-purple-deep);
}

.radio-option label:hover,
.checkbox-option label:hover {
    border-color: var(--color-purple-light);
}

/* ---- Alerts / Messages ---- */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ---- Program / Schedule ---- */
.day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
}

.day-tab {
    padding: 10px 24px;
    background: var(--color-white);
    border: 2px solid var(--color-purple-deep);
    color: var(--color-purple-deep);
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.day-tab:hover {
    background-color: var(--color-purple-subtle);
}

.day-tab.active {
    background-color: var(--color-purple-deep);
    color: var(--color-white);
}

.session-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border-left: 4px solid var(--color-purple-deep);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    align-items: flex-start;
}

.session-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.session-time {
    flex-shrink: 0;
    min-width: 100px;
    font-weight: 700;
    color: var(--color-purple-deep);
    font-size: 0.95rem;
    padding-top: 2px;
}

.session-content {
    flex: 1;
}

.session-content h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.session-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}

.session-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-keynote {
    background: #ffeaa7;
    color: #856404;
}

.tag-symposium {
    background: #d4edda;
    color: #155724;
}

.tag-workshop {
    background: #d1ecf1;
    color: #0c5460;
}

.tag-poster {
    background: #e2d9f3;
    color: #4a0d66;
}

.tag-networking {
    background: #fde2cc;
    color: #9a5b13;
}

.tag-award {
    background: #fff3cd;
    color: #856404;
}

.tag-break {
    background: #e2e3e5;
    color: #383d41;
}

.tag-plenary {
    background: #cce5ff;
    color: #004085;
}

@media (max-width: 600px) {
    .session-card {
        flex-direction: column;
        gap: 8px;
    }

    .session-time {
        min-width: auto;
    }
}

/* ---- Press Cards ---- */
.press-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.press-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.press-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-card .category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-purple-subtle);
    color: var(--color-purple-deep);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.press-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.press-card h3 a {
    text-decoration: none;
    color: var(--color-purple-deep);
    transition: color var(--transition-fast);
}

.press-card h3 a:hover {
    color: var(--color-purple-light);
}

.press-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    flex: 1;
}

.press-card .card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--color-gray-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ---- Footer ---- */
footer {
    background: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-purple-dark) 100%);
    padding: 50px 0 30px;
    color: var(--color-white);
}

footer .footer-logo {
    display: inline-block;
    margin-bottom: 0px;
}

footer .footer-logo img {
    height: 60px;
    width: auto;
    /*max-width: 380px;*/
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

footer a {
    text-decoration: underline;
}

footer a:hover {
    color: var(--color-gold);
    text-decoration: none;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 10px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-gold);
    color: var(--color-purple-deep);
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-bottom a {
    font-weight: 500;
}

.pipe {
    margin: 0 12px;
    opacity: 0.5;
}

/* ---- Countdown / Stats ---- */
.countdown-section {
    background: linear-gradient(135deg, var(--color-purple-deep), #2a0845, var(--color-dark));
    padding: 50px 20px;
    text-align: center;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    min-width: 100px;
    text-align: center;
}

.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
    font-family: var(--font-heading);
}

.countdown-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    font-weight: 600;
}

/* ---- Loading Spinner ---- */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(74, 13, 102, 0.1);
    border-top-color: var(--color-purple-deep);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-content .close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.modal-content .close-modal:hover {
    color: var(--color-text);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.modal-icon.success {
    background-color: #d4edda;
    color: #28a745;
}

.modal-icon.error {
    background-color: #f8d7da;
    color: #dc3545;
}

/* ---- Animations ---- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

/* ---- Responsive Image Utility ---- */
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ---- Skip to Content (Accessibility) ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-purple-deep);
    color: var(--color-white);
    padding: 12px 24px;
    z-index: 99999;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

/* ---- Print Styles ---- */
@media print {

    .navbar,
    .top-bar,
    footer,
    .nav-toggle,
    .btn {
        display: none !important;
    }

    body {
        color: #000;
        font-size: 12pt;
    }

    section {
        padding: 10px 0;
    }
}

/* ---- PDPA Banner ---- */
.pdpa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(74, 13, 102, 0.15);
    z-index: 10001;
    /* Higher than other elements */
    padding: 20px;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    display: flex;
    justify-content: center;
    border-top: 4px solid var(--color-purple-deep);
}

.pdpa-banner.show {
    transform: translateY(0);
}

.pdpa-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdpa-content h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--color-purple-deep);
}

.pdpa-content p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text);
    line-height: 1.6;
}

.pdpa-content p a {
    color: var(--color-purple-deep);
    font-weight: 700;
    text-decoration: underline;
}

.pdpa-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .pdpa-content {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .pdpa-text {
        flex: 1;
    }

    .pdpa-actions {
        margin-top: 0;
        flex-shrink: 0;
    }
}