/* ==========================================================================
   TRAINING HEIGHTS 2027 TRAINING & MARKETING EVENTS - DESIGN SYSTEM & STYLES
   Brand Colors: Primary Purple #AA538C | Primary Green #AED254 | Navy #0B192C
   ========================================================================== */

:root {
    /* Brand Primary Colors */
    --th-purple: #AA538C;
    --th-purple-dark: #8C3F71;
    --th-purple-darker: #5A1E44;
    --th-purple-light: #FBF2F8;
    --th-purple-glow: rgba(170, 83, 140, 0.22);

    --th-green: #AED254;
    --th-green-dark: #8EAE36;
    --th-green-light: #F4F9E6;
    --th-green-glow: rgba(174, 210, 84, 0.28);

    /* Corporate Neutral & Dark Tones */
    --th-navy: #0B192C;
    --th-navy-card: #112239;
    --th-navy-light: #1A365D;
    --th-navy-muted: #243B5A;
    --th-dark: #0F172A;
    --th-slate: #475569;
    --th-slate-light: #64748B;
    --th-muted: #94A3B8;

    /* Backgrounds & Surfaces */
    --th-light: #F8FAFC;
    --th-light-alt: #F1F5F9;
    --th-white: #FFFFFF;
    --th-border: #E2E8F0;
    --th-border-focus: #CBD5E1;
    --th-border-dark: #1E293B;

    /* Geometry & Spacing */
    --th-radius-xs: 6px;
    --th-radius-sm: 10px;
    --th-radius: 16px;
    --th-radius-lg: 24px;
    --th-radius-xl: 32px;
    --th-radius-full: 9999px;

    /* Shadows & Glows */
    --th-shadow-xs: 0 1px 3px rgba(11, 25, 44, 0.05);
    --th-shadow-sm: 0 4px 12px rgba(11, 25, 44, 0.05);
    --th-shadow: 0 12px 32px rgba(11, 25, 44, 0.08);
    --th-shadow-lg: 0 20px 48px rgba(11, 25, 44, 0.12);
    --th-shadow-purple: 0 10px 25px rgba(170, 83, 140, 0.35);
    --th-shadow-green: 0 10px 25px rgba(174, 210, 84, 0.35);

    /* Transitions */
    --th-transition-fast: all 0.15s ease-in-out;
    --th-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    --th-transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout Constraints */
    --container-width: 1240px;
    --header-height: 84px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--th-dark);
    background-color: var(--th-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--th-transition);
}

button, input, select, textarea {
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

::selection {
    background-color: var(--th-purple);
    color: var(--th-white);
}

:focus-visible {
    outline: 2px solid var(--th-purple);
    outline-offset: 3px;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 96px 0;
    position: relative;
}

.section-padding-sm {
    padding: 64px 0;
}

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

.section-header {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--th-purple-light);
    color: var(--th-purple);
    border: 1px solid rgba(170, 83, 140, 0.2);
    border-radius: var(--th-radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag.tag-green {
    background: var(--th-green-light);
    color: var(--th-green-dark);
    border-color: rgba(174, 210, 84, 0.3);
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--th-navy);
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--th-slate);
    line-height: 1.65;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: var(--th-radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--th-transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    user-select: none;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--th-purple);
    color: var(--th-white);
    box-shadow: 0 4px 14px rgba(170, 83, 140, 0.3);
}

.btn-primary:hover {
    background-color: var(--th-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--th-shadow-purple);
    color: var(--th-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--th-green);
    color: var(--th-navy);
    box-shadow: 0 4px 14px rgba(174, 210, 84, 0.3);
}

.btn-secondary:hover {
    background-color: #A1C649;
    transform: translateY(-2px);
    box-shadow: var(--th-shadow-green);
    color: var(--th-navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--th-navy);
    border: 2px solid var(--th-border);
}

.btn-outline:hover {
    border-color: var(--th-purple);
    color: var(--th-purple);
    background-color: var(--th-purple-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--th-white);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
    border-color: var(--th-white);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--th-white);
    transform: translateY(-2px);
}

.btn-outline-green {
    background-color: transparent;
    color: var(--th-green);
    border: 2px solid var(--th-green);
}

.btn-outline-green:hover {
    background-color: var(--th-green);
    color: var(--th-navy);
    transform: translateY(-2px);
    box-shadow: var(--th-shadow-green);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
    min-height: 40px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    min-height: 54px;
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--th-transition);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--th-transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--th-shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 32px;
    background: var(--th-border);
}

.brand-tagline-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--th-slate);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}

.brand-tagline-text .brand-year {
    color: var(--th-purple);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--th-navy);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--th-purple);
    transition: width var(--th-transition);
}

.nav-link:hover {
    color: var(--th-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--th-navy);
    border-radius: var(--th-radius-xs);
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--th-white);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--th-transition-smooth);
    z-index: 999;
    border-bottom: 2px solid var(--th-border);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--th-navy);
    padding: 10px 0;
    border-bottom: 1px solid var(--th-border);
}

.mobile-nav-link:hover {
    color: var(--th-purple);
}

.mobile-contact-info {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--th-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--th-slate);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background-color: var(--th-navy);
    background-image: 
        linear-gradient(135deg, rgba(11, 25, 44, 0.92) 0%, rgba(11, 25, 44, 0.82) 50%, rgba(170, 83, 140, 0.55) 100%),
        url('../images/hero-african-tech.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--th-white);
    padding: 110px 0 90px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(174, 210, 84, 0.15), transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(170, 83, 140, 0.25), transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--th-radius-full);
    margin-bottom: 24px;
}

.hero-badge-pill {
    background: var(--th-green);
    color: var(--th-navy);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--th-radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--th-white);
}

.hero-title .highlight-year {
    color: var(--th-green);
    display: inline-block;
    position: relative;
}

.hero-title .highlight-purple {
    color: #F1A3D6;
}

.hero-headline {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--th-green);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.pillar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--th-green);
    box-shadow: 0 0 10px var(--th-green);
}

/* Hero Visual & Feature Cards */
.hero-visual-card {
    background: rgba(17, 34, 57, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--th-radius-lg);
    padding: 32px;
    box-shadow: var(--th-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.hero-card-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--th-green);
}

.hero-card-badge {
    font-size: 12px;
    padding: 3px 10px;
    background: rgba(170, 83, 140, 0.3);
    border: 1px solid var(--th-purple);
    border-radius: var(--th-radius-full);
    color: #F8B4E3;
    font-weight: 600;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--th-radius-sm);
    padding: 16px;
    transition: var(--th-transition);
}

.hero-stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(174, 210, 84, 0.4);
    transform: translateY(-2px);
}

.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--th-white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-stat-num span {
    color: var(--th-green);
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-motto-box {
    background: linear-gradient(135deg, rgba(170, 83, 140, 0.25) 0%, rgba(174, 210, 84, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--th-radius-sm);
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--th-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-motto-box svg {
    color: var(--th-green);
    flex-shrink: 0;
}

/* ==========================================================================
   ACCREDITATION MARQUEE
   ========================================================================== */
.accreditation-marquee {
    background: var(--th-white);
    border-bottom: 1px solid var(--th-border);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marqueeScroll 45s linear infinite;
    align-items: center;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    height: 52px;
    min-width: 130px;
}

.marquee-logo {
    max-height: 42px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: var(--th-transition);
}

.marquee-item:hover .marquee-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   EVENT SERIES INTRODUCTION & TIMELINE BAR
   ========================================================================== */
.intro-section {
    background-color: var(--th-white);
}

.timeline-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.timeline-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--th-light);
    border: 2px solid var(--th-border);
    border-radius: var(--th-radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--th-navy);
    cursor: pointer;
    transition: var(--th-transition);
}

.timeline-tab-btn .tab-num {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(11, 25, 44, 0.08);
    border-radius: var(--th-radius-full);
    color: var(--th-slate);
}

.timeline-tab-btn:hover {
    border-color: var(--th-purple);
    color: var(--th-purple);
    background: var(--th-purple-light);
    transform: translateY(-2px);
}

.timeline-tab-btn.active {
    background: var(--th-purple);
    border-color: var(--th-purple);
    color: var(--th-white);
    box-shadow: 0 4px 14px rgba(170, 83, 140, 0.35);
}

.timeline-tab-btn.active .tab-num {
    background: rgba(255, 255, 255, 0.25);
    color: var(--th-white);
}

/* ==========================================================================
   EVENT CARDS GRID (MAIN CALENDAR)
   ========================================================================== */
.events-section {
    position: relative;
    background: 
        radial-gradient(ellipse 70% 50% at 10% 15%, rgba(170, 83, 140, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 85%, rgba(174, 210, 84, 0.16) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(36, 59, 90, 0.25) 0%, transparent 70%),
        linear-gradient(145deg, #091322 0%, #161030 35%, #241135 65%, #0B192C 100%);
    color: var(--th-white);
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(174, 210, 84, 0.5), rgba(170, 83, 140, 0.5), transparent);
    pointer-events: none;
}

.events-section .section-title {
    color: var(--th-white);
}

.events-section .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

/* Ensure cards take appropriate width to maintain 3-per-row on desktop */
.event-card {
    width: calc(33.333% - 32px);
    min-width: 300px;
    max-width: 380px;
    background: var(--th-white);
    border: 2px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--th-transition);
    position: relative;
    box-shadow: var(--th-shadow-xs);
}

.event-card:hover {
    border-color: rgba(170, 83, 140, 0.5);
    box-shadow: var(--th-shadow-lg);
    transform: translateY(-6px);
}

/* Active Event Card Glowing Green Light Line */
.event-card.is-active-card {
    border-color: var(--th-green);
    box-shadow: 0 0 0 2px var(--th-green), 0 16px 40px rgba(174, 210, 84, 0.32);
    transform: translateY(-6px);
}

/* Green pulsing top indicator line for active card */
.event-card.is-active-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--th-green), #C5E86B, var(--th-green));
    background-size: 200% 100%;
    animation: greenPulseSlide 2s linear infinite;
    z-index: 10;
    border-radius: var(--th-radius-lg) var(--th-radius-lg) 0 0;
}

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

.event-active-indicator-tag {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--th-green);
    color: var(--th-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--th-radius-full);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: none;
    animation: fadeIn 0.3s ease;
}

.event-card.is-active-card .event-active-indicator-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-card.is-active-card .event-active-indicator-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--th-navy);
    display: inline-block;
}

.event-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--th-navy);
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-img {
    transform: scale(1.06);
}

.event-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 25, 44, 0.85) 0%, rgba(11, 25, 44, 0.2) 60%, transparent 100%);
}

.event-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.event-month-pill {
    padding: 6px 14px;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--th-radius-full);
    font-size: 12px;
    font-weight: 800;
    color: var(--th-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-num-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(170, 83, 140, 0.9);
    color: var(--th-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.event-card-cert-bar {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.event-cert-logo-box {
    width: 34px;
    height: 34px;
    background: var(--th-white);
    border-radius: var(--th-radius-xs);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.event-cert-logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.event-cert-title-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--th-white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

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

.event-schedule-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--th-slate);
}

.event-schedule-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--th-navy);
}

.event-status-tag {
    padding: 3px 8px;
    background: var(--th-light-alt);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-xs);
    font-size: 11px;
    font-weight: 700;
    color: var(--th-slate);
    letter-spacing: 0.5px;
}

.event-status-tag.confirmed {
    background: var(--th-green-light);
    color: var(--th-green-dark);
    border-color: rgba(174, 210, 84, 0.4);
}

.event-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--th-navy);
    line-height: 1.35;
    margin-bottom: 14px;
    min-height: 54px;
}

.event-card-desc {
    font-size: 14px;
    color: var(--th-slate);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    padding-top: 14px;
    border-top: 1px dashed var(--th-border);
}

.highlight-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-full);
    color: var(--th-slate);
}

.event-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    margin-top: auto;
}

/* ==========================================================================
   INTERACTIVE EVENT DETAILS EXPLORER (DEEP DIVE SECTION)
   ========================================================================== */
.details-section {
    background-color: var(--th-white);
}

.details-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.details-tab-btn {
    padding: 12px 22px;
    background: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--th-slate);
    cursor: pointer;
    transition: var(--th-transition);
    white-space: nowrap;
}

.details-tab-btn:hover {
    color: var(--th-purple);
    border-color: var(--th-purple);
}

.details-tab-btn.active {
    background: var(--th-navy);
    color: var(--th-white);
    border-color: var(--th-navy);
    box-shadow: var(--th-shadow-sm);
}

.details-tab-btn.active span.tab-cert {
    color: var(--th-green);
}

.event-detail-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.event-detail-pane.active {
    display: block;
}

.details-card-wrapper {
    background: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    box-shadow: var(--th-shadow-sm);
}

.details-main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.details-header-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--th-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: var(--th-navy);
    line-height: 1.25;
}

.details-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--th-navy);
    align-self: flex-start;
}

.details-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.meta-box {
    background: var(--th-white);
    padding: 16px;
    border-radius: var(--th-radius-sm);
    border: 1px solid var(--th-border);
}

.meta-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--th-slate-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--th-navy);
}

.details-block h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--th-navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-block p {
    font-size: 15px;
    color: var(--th-slate);
    line-height: 1.7;
}

/* Syllabus Module Cards */
.syllabus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.syllabus-module-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    padding: 20px;
    transition: var(--th-transition);
}

.syllabus-module-card:hover {
    border-color: var(--th-purple);
    box-shadow: var(--th-shadow-xs);
}

.module-code {
    font-size: 11px;
    font-weight: 800;
    color: var(--th-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.module-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--th-navy);
    margin-bottom: 8px;
}

.module-desc {
    font-size: 13px;
    color: var(--th-slate);
    line-height: 1.55;
}

/* Learning Outcomes & Audience Lists */
.outcomes-list, .audience-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.outcome-item, .audience-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--th-slate);
    line-height: 1.5;
}

.outcome-icon {
    color: var(--th-green-dark);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.audience-icon {
    color: var(--th-purple);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Details Sidebar / Enrollment Card */
.details-sidebar-card {
    background: var(--th-navy);
    color: var(--th-white);
    border-radius: var(--th-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
    box-shadow: var(--th-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-media-preview {
    height: 180px;
    border-radius: var(--th-radius-sm);
    overflow: hidden;
    position: relative;
}

.sidebar-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-heading-box h3 {
    color: var(--th-white);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.sidebar-heading-box p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.sidebar-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-highlight-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-highlight-row svg {
    color: var(--th-green);
    flex-shrink: 0;
}

/* ==========================================================================
   WHY ATTEND SECTION
   ========================================================================== */
.why-section {
    position: relative;
    background: 
        radial-gradient(ellipse 70% 50% at 85% 20%, rgba(170, 83, 140, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(174, 210, 84, 0.16) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(20, 36, 60, 0.3) 0%, transparent 70%),
        linear-gradient(140deg, #091322 0%, #180F2E 38%, #122238 75%, #0B192C 100%);
    color: var(--th-white);
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(170, 83, 140, 0.5), rgba(174, 210, 84, 0.5), transparent);
    pointer-events: none;
}

.why-section .section-title {
    color: var(--th-white);
}

.why-section .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.why-section .section-tag {
    background: rgba(170, 83, 140, 0.22);
    color: #F8B4E1;
    border: 1px solid rgba(170, 83, 140, 0.45);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: rgba(17, 34, 57, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--th-radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--th-transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.why-card:hover {
    border-color: var(--th-green);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(174, 210, 84, 0.22);
    background: linear-gradient(160deg, rgba(26, 54, 93, 0.88), rgba(17, 34, 57, 0.95));
}

.why-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--th-radius-sm);
    background: rgba(170, 83, 140, 0.22);
    color: #F8B4E1;
    border: 1px solid rgba(170, 83, 140, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--th-transition);
}

.why-card:hover .why-icon-box {
    background: var(--th-green);
    color: var(--th-navy);
    border-color: var(--th-green);
    box-shadow: 0 0 20px rgba(174, 210, 84, 0.45);
}

.why-icon-box svg {
    width: 28px;
    height: 28px;
}

.why-card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--th-white);
}

.why-card-desc {
    font-size: 14px;
    color: #CBD5E1;
    line-height: 1.6;
}

/* ==========================================================================
   WHO SHOULD ATTEND (INDIVIDUALS VS ORGANISATIONS)
   ========================================================================== */
.who-section {
    background-color: var(--th-white);
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.who-card {
    border-radius: var(--th-radius-xl);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--th-transition);
}

.who-card-individual {
    background: var(--th-light);
    border: 1px solid var(--th-border);
}

.who-card-individual:hover {
    box-shadow: var(--th-shadow-lg);
    border-color: rgba(170, 83, 140, 0.3);
}

.who-card-corporate {
    background: linear-gradient(145deg, var(--th-navy) 0%, #152C4A 100%);
    color: var(--th-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--th-shadow-lg);
}

.who-card-corporate:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(11, 25, 44, 0.25);
}

.who-card-header {
    margin-bottom: 28px;
}

.who-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.who-card-individual .who-card-tag {
    color: var(--th-purple);
}

.who-card-corporate .who-card-tag {
    color: var(--th-green);
}

.who-card-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.who-card-individual .who-card-title {
    color: var(--th-navy);
}

.who-card-corporate .who-card-title {
    color: var(--th-white);
}

.who-card-desc {
    font-size: 15px;
    line-height: 1.6;
}

.who-card-individual .who-card-desc {
    color: var(--th-slate);
}

.who-card-corporate .who-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.who-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.who-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
}

.who-card-individual .who-check-item {
    color: var(--th-navy);
}

.who-card-corporate .who-check-item {
    color: var(--th-white);
}

.who-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.who-card-individual .who-check-icon {
    background: var(--th-purple-light);
    color: var(--th-purple);
}

.who-card-corporate .who-check-icon {
    background: rgba(174, 210, 84, 0.2);
    color: var(--th-green);
}

/* ==========================================================================
   2027 PROFESSIONAL DEVELOPMENT JOURNEY (TIMELINE ROADMAP)
   ========================================================================== */
.journey-section {
    background-color: var(--th-light);
    overflow: hidden;
}

.journey-timeline-wrapper {
    position: relative;
    max-width: 960px;
    margin: 48px auto 0;
    padding: 24px 0;
}

.journey-spine-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--th-purple) 0%, var(--th-green) 50%, var(--th-navy) 100%);
    transform: translateX(-50%);
    border-radius: var(--th-radius-full);
}

.journey-step-row {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 48px;
    width: 100%;
}

.journey-step-row:last-child {
    margin-bottom: 0;
}

.journey-step-row:nth-child(even) {
    flex-direction: row-reverse;
}

.journey-step-card {
    width: calc(50% - 48px);
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 28px;
    box-shadow: var(--th-shadow-xs);
    transition: var(--th-transition);
}

.journey-step-card:hover {
    border-color: var(--th-purple);
    box-shadow: var(--th-shadow);
    transform: translateY(-4px);
}

.journey-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.journey-month-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--th-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journey-cert-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--th-light);
    border-radius: var(--th-radius-xs);
    color: var(--th-slate);
}

.journey-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--th-navy);
    margin-bottom: 8px;
}

.journey-step-desc {
    font-size: 13px;
    color: var(--th-slate);
    line-height: 1.55;
}

.journey-node-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--th-white);
    border: 3px solid var(--th-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--th-navy);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(170, 83, 140, 0.15);
    transition: var(--th-transition);
}

.journey-step-row:hover .journey-node-center {
    background: var(--th-purple);
    color: var(--th-white);
    border-color: var(--th-green);
    box-shadow: 0 0 0 8px rgba(174, 210, 84, 0.3);
    transform: translateX(-50%) scale(1.1);
}

/* ==========================================================================
   CERTIFICATIONS & RECOGNISED FRAMEWORKS SECTION
   ========================================================================== */
.frameworks-section {
    background-color: var(--th-white);
}

.frameworks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.framework-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    font-size: 16px;
    font-weight: 700;
    color: var(--th-navy);
    transition: var(--th-transition);
}

.framework-badge-item:hover {
    border-color: var(--th-purple);
    background: var(--th-white);
    color: var(--th-purple);
    transform: translateY(-3px);
    box-shadow: var(--th-shadow-sm);
}

.framework-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--th-green);
}

/* ==========================================================================
   HOW REGISTRATION WORKS (4 SIMPLE STEPS)
   ========================================================================== */
.how-section {
    background-color: var(--th-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.step-card {
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--th-transition);
    position: relative;
}

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

.step-number-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--th-purple);
    color: var(--th-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(170, 83, 140, 0.3);
}

.step-card:nth-child(even) .step-number-badge {
    background: var(--th-green);
    color: var(--th-navy);
    box-shadow: 0 4px 14px rgba(174, 210, 84, 0.3);
}

.step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--th-navy);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--th-slate);
    line-height: 1.55;
}

/* ==========================================================================
   FINAL CONVERSION CTA BANNER
   ========================================================================== */
.final-cta-section {
    background: linear-gradient(135deg, var(--th-navy) 0%, #3B1633 50%, var(--th-purple) 100%);
    color: var(--th-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 85%, rgba(174, 210, 84, 0.2), transparent 45%),
                radial-gradient(circle at 85% 15%, rgba(170, 83, 140, 0.3), transparent 50%);
    pointer-events: none;
}

.final-cta-box {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--th-white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.final-cta-title span {
    color: var(--th-green);
}

.final-cta-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 40px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.final-cta-motto {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
    background-color: var(--th-white);
}

.faq-container {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--th-light);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    overflow: hidden;
    transition: var(--th-transition);
}

.faq-item:hover {
    border-color: rgba(170, 83, 140, 0.3);
}

.faq-item.active {
    border-color: var(--th-purple);
    background: var(--th-white);
    box-shadow: var(--th-shadow-sm);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--th-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--th-transition);
}

.faq-trigger:hover {
    color: var(--th-purple);
}

.faq-chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--th-white);
    border: 1px solid var(--th-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--th-purple);
    transition: transform var(--th-transition);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    background: var(--th-purple);
    color: var(--th-white);
    border-color: var(--th-purple);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--th-slate);
    line-height: 1.7;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding-top: 16px;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--th-navy);
    color: var(--th-white);
    padding: 80px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.footer-vision-badge {
    font-size: 12px;
    color: var(--th-green);
    font-weight: 700;
    line-height: 1.4;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--th-white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--th-transition);
}

.footer-links-list a:hover {
    color: var(--th-green);
    transform: translateX(4px);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-row svg {
    color: var(--th-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-row a:hover {
    color: var(--th-green);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--th-white);
    transition: var(--th-transition);
}

.social-btn:hover {
    background: var(--th-purple);
    border-color: var(--th-purple);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(170, 83, 140, 0.4);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--th-white);
}

/* ==========================================================================
   REGISTRATION MODAL SYSTEM (GOOGLE APPS SCRIPT READY)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 44, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    background: var(--th-white);
    width: 100%;
    max-width: 660px;
    max-height: 90vh;
    border-radius: var(--th-radius-xl);
    padding: 40px;
    position: relative;
    box-shadow: var(--th-shadow-lg);
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--th-light);
    border: 1px solid var(--th-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--th-slate);
    transition: var(--th-transition);
}

.modal-close-btn:hover {
    background: var(--th-purple-light);
    color: var(--th-purple);
    border-color: var(--th-purple);
}

.modal-header {
    margin-bottom: 24px;
    padding-right: 40px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--th-navy);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 14px;
    color: var(--th-slate);
}

/* Event Selected Info Banner */
.modal-event-recap-banner {
    background: var(--th-light);
    border-left: 4px solid var(--th-purple);
    border-radius: var(--th-radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.modal-event-recap-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-recap-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--th-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-recap-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--th-navy);
}

.modal-recap-meta {
    font-size: 13px;
    color: var(--th-slate);
}

.modal-recap-cert-pill {
    padding: 4px 12px;
    background: var(--th-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--th-navy);
    flex-shrink: 0;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--th-navy);
}

.form-group label span.required {
    color: #E11D48;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-xs);
    font-size: 15px;
    color: var(--th-dark);
    background-color: var(--th-white);
    transition: var(--th-transition);
}

.form-control:focus {
    border-color: var(--th-purple);
    outline: none;
    box-shadow: 0 0 0 3px var(--th-purple-glow);
}

/* Radio attendee type switcher */
.attendee-type-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 6px;
}

.type-radio-card {
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-xs);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--th-transition);
    font-size: 14px;
    font-weight: 600;
    color: var(--th-navy);
}

.type-radio-card:hover {
    border-color: var(--th-purple);
    background: var(--th-purple-light);
}

.type-radio-card input[type="radio"]:checked + span {
    color: var(--th-purple);
    font-weight: 700;
}

.form-submit-row {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-privacy-note {
    font-size: 12px;
    color: var(--th-slate);
    text-align: center;
}

/* Success Modal View */
.success-card {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.success-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--th-green-light);
    color: var(--th-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--th-green);
}

.success-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--th-navy);
    margin-bottom: 12px;
}

.success-card p {
    font-size: 15px;
    color: var(--th-slate);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1200px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .event-grid > .event-card:nth-child(4),
    .event-grid > .event-card:nth-child(5) {
        grid-column: auto;
        justify-self: auto;
        margin: 0;
    }
    .details-card-wrapper {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .event-card {
        max-width: 100%;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-badge-wrapper {
        margin: 0 auto 24px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-pillars {
        justify-content: center;
    }
    .details-card-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    .details-sidebar-card {
        position: static;
    }
    .who-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }
    
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .section-padding {
        padding: 56px 0;
    }

    .section-padding-sm {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Site Header Mobile Tuning */
    .header-container {
        gap: 8px;
    }

    .main-nav {
        display: none;
    }

    .brand-wrapper {
        gap: 0;
    }

    .brand-logo img {
        height: 36px;
        max-width: 140px;
    }

    .brand-tagline-text,
    .brand-divider {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
        min-height: 38px;
        letter-spacing: 0.2px;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }

    .mobile-toggle svg {
        width: 26px;
        height: 26px;
    }

    /* Hero Section Mobile Tuning */
    .hero {
        padding: 50px 0 44px;
    }

    .hero-title {
        font-size: clamp(28px, 7.5vw, 40px);
        margin-bottom: 14px;
    }

    .hero-headline {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-visual-card {
        padding: 22px 18px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .hero-stat-num {
        font-size: 24px;
    }

    .hero-stat-box {
        padding: 12px;
    }

    /* Event Main Cards */
    .event-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .event-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .event-card-body {
        padding: 20px 18px;
    }

    /* Interactive Details Deep Dive Mobile */
    .details-nav-tabs {
        justify-content: flex-start;
        padding-bottom: 12px;
        margin-bottom: 24px;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .details-tab-btn {
        padding: 9px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .details-card-wrapper {
        padding: 22px 16px;
        border-radius: var(--th-radius-lg);
        gap: 28px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .details-main-content {
        gap: 24px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .details-title {
        font-size: clamp(22px, 5.5vw, 30px);
        word-break: break-word;
    }

    .details-meta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .meta-box {
        padding: 12px 10px;
        min-width: 0;
    }

    .meta-label {
        font-size: 10px;
    }

    .meta-value {
        font-size: 13px;
        word-break: break-word;
    }

    .details-block h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .details-block p {
        font-size: 14px;
        line-height: 1.6;
    }

    .syllabus-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        min-width: 0;
        width: 100%;
    }

    .syllabus-module-card {
        padding: 16px 14px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .module-title {
        font-size: 14px;
        word-break: break-word;
    }

    .module-desc {
        font-size: 13px;
        word-break: break-word;
    }

    .outcomes-list, .audience-list {
        grid-template-columns: 1fr;
        gap: 10px;
        min-width: 0;
        width: 100%;
    }

    .outcome-item, .audience-item {
        font-size: 13.5px;
        word-break: break-word;
    }

    .details-sidebar-col {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .details-sidebar-card {
        padding: 24px 18px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .sidebar-media-preview {
        height: 160px;
    }

    /* Who It's For */
    .who-card {
        padding: 32px 20px;
    }

    .who-card-title {
        font-size: 22px;
    }

    .who-check-item {
        font-size: 14px;
    }

    /* Why Attend */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .why-card {
        padding: 24px 20px;
    }

    /* Roadmap Timeline */
    .journey-spine-line {
        left: 20px;
    }

    .journey-step-row, .journey-step-row:nth-child(even) {
        flex-direction: row;
        padding-left: 48px;
        margin-bottom: 28px;
    }

    .journey-step-card {
        width: 100%;
        padding: 20px 16px;
    }

    .journey-node-center {
        left: 20px;
        width: 36px;
        height: 36px;
        font-size: 12px;
        transform: translateX(-50%);
    }

    .journey-step-row:hover .journey-node-center {
        transform: translateX(-50%) scale(1.05);
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 24px 18px;
    }

    /* Final CTA */
    .final-cta-section {
        padding: 64px 0;
    }

    .final-cta-title {
        font-size: clamp(24px, 6vw, 34px);
    }

    .final-cta-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    /* FAQ */
    .faq-trigger {
        padding: 18px 16px;
        font-size: 15px;
    }

    .faq-content-inner {
        padding: 0 16px 18px;
        font-size: 14px;
    }

    /* Footer */
    .site-footer {
        padding: 56px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    /* Modal System Mobile */
    .modal-dialog {
        padding: 24px 16px;
        border-radius: var(--th-radius-lg);
        max-height: 94vh;
    }

    .modal-header h3 {
        font-size: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-full {
        grid-column: span 1;
    }

    .attendee-type-switcher {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .modal-event-recap-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Header ultra-compact */
    .brand-logo img {
        height: 32px;
        max-width: 120px;
    }

    .header-actions .btn-sm {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 34px;
    }

    .header-actions .btn-sm svg {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-pillars {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .details-card-wrapper {
        padding: 16px 12px;
        border-radius: var(--th-radius);
    }

    .details-sidebar-card {
        padding: 18px 14px;
    }

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

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .timeline-filter-wrapper {
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        width: 100%;
    }

    .timeline-tab-btn {
        padding: 6px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .details-meta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .meta-box {
        padding: 8px 6px;
    }

    .meta-label {
        font-size: 9.5px;
    }

    .meta-value {
        font-size: 11.5px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track {
        animation: none !important;
    }
}

