/* =====================================================
   KESA Learn - Main Stylesheet
   Mobile-first responsive design with KESA brand colors
   ===================================================== */

/* SEEDS Font for KESA Logo Text */
@font-face {
    font-family: 'SEEDS';
    src: url('/assets/fonts/SEEDS-by-Agent-C.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties */
:root {
    --red: #e7404a;
    --red-light: #fef0f0;
    --red-dark: #c0353d;
    --purple: #a058ae;
    --purple-light: #f5edf7;
    --blue: #4950ba;
    --blue-light: #ecedf8;
    --blue-dark: #3a409a;
    --yellow: #f5cb39;
    --yellow-light: #fef9e7;
    --yellow-dark: #d4ad1e;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-warm: #fef9f0;

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #6c757d;
    --text-light: #adb5bd;

    --border-color: #e9ecef;
    --border-light: #f1f3f5;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 50%;

    --font-sans: 'Google Sans Flex', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Google Sans Flex', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --transition: all 0.3s ease;
    --max-width: 1200px;
    --nav-height: 72px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* =====================================================
   Utility Classes
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-purple { color: var(--purple); }
.text-yellow { color: var(--yellow-dark); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo span.k { color: var(--red); }
.nav-logo span.e { color: var(--purple); }
.nav-logo span.s { color: var(--blue); }
.nav-logo span.a { color: var(--yellow-dark); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-actions {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-blue {
    background: var(--blue);
    color: #fff;
}

.btn-blue:hover {
    background: var(--blue-dark);
    color: #fff;
}

.btn-purple {
    background: var(--purple);
    color: #fff;
}

.btn-purple:hover {
    background: #8a479a;
    color: #fff;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--text-primary);
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* =====================================================
   Cards
   ===================================================== */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================================================
   Badges
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-red, .badge-danger { background: var(--red-light); color: var(--red); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-blue, .badge-info { background: var(--blue-light); color: var(--blue); }
.badge-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.badge-success { background: #e6f9f0; color: #0d7a42; }
.badge-warning { background: #fff8e1; color: #c17b00; }
.badge-draft { background: var(--bg-tertiary); color: var(--text-muted); }
.badge-published { background: #e6f9f0; color: #0d7a42; }
.badge-completed { background: var(--blue-light); color: var(--blue); }
.badge-cancelled { background: var(--red-light); color: var(--red); }

/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--red);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(73, 80, 186, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control.error {
    border-color: var(--red);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    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='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-error {
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 4px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--blue);
}

/* =====================================================
   Flash Messages
   ===================================================== */
.flash-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.flash-success {
    background: #e6f9f0;
    color: #0d7a42;
    border: 1px solid #b7e9cf;
}

.flash-error {
    background: var(--red-light);
    color: var(--red-dark);
    border: 1px solid #f5c6cb;
}

.flash-warning {
    background: #fff8e1;
    color: #856404;
    border: 1px solid #ffeeba;
}

.flash-info {
    background: var(--blue-light);
    color: var(--blue);
    border: 1px solid #c3c5e8;
}

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    line-height: 1;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Announcements Marquee (Homepage Only)
   ===================================================== */
.announcements-marquee {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.marquee-label-box {
    background: linear-gradient(135deg, var(--red) 0%, #dc2626 100%);
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.marquee-label-box::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(135deg, var(--red) 0%, #dc2626 100%);
    clip-path: polygon(0 0, 50% 50%, 0 100%);
}

.marquee-label-box svg {
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0); }
}

.marquee-container {
    overflow: hidden;
    flex: 1;
    padding: 0 20px;
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
    padding: 12px 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.marquee-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.02);
}

.marquee-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.marquee-badge.badge-new { 
    background: linear-gradient(135deg, #22c55e, #16a34a); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.marquee-badge.badge-important { 
    background: linear-gradient(135deg, #ef4444, #dc2626); 
    color: #fff; 
    animation: pulseGlow 2s infinite;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}
.marquee-badge.badge-download { 
    background: linear-gradient(135deg, #3b82f6, #2563eb); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.marquee-badge.badge-register { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.marquee-badge.badge-free { 
    background: linear-gradient(135deg, #a855f7, #9333ea); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(168,85,247,0.3);
}
.marquee-badge.badge-update { 
    background: linear-gradient(135deg, #6366f1, #4f46e5); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.marquee-badge.badge-info { 
    background: linear-gradient(135deg, #64748b, #475569); 
    color: #fff;
    box-shadow: 0 2px 8px rgba(100,116,139,0.3);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; box-shadow: 0 2px 8px rgba(239,68,68,0.3); }
    50% { opacity: 0.85; box-shadow: 0 2px 16px rgba(239,68,68,0.5); }
}

.marquee-content {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

a.marquee-content {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
}

a.marquee-content:hover {
    color: #fbbf24;
}

.marquee-content svg {
    opacity: 0.6;
    transition: all 0.2s;
}

a.marquee-content:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

.marquee-time {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .marquee-label-box {
        padding: 10px 16px;
        font-size: 0.7rem;
    }
    .marquee-label-box::after {
        display: none;
    }
    .marquee-item {
        padding: 4px 12px;
    }
    .marquee-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
    .marquee-content {
        font-size: 0.8rem;
    }
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-warm) 100%);
    position: relative;
    overflow: hidden;
}

/* Reduce top padding when marquee is present */
.announcements-marquee + .hero {
    padding-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 64, 74, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(73, 80, 186, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight-red { color: var(--red); }
.hero h1 .highlight-blue { color: var(--blue); }

.hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-bar {
    background: var(--bg-primary);
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-item:nth-child(1) h3 { color: var(--red); }
.stat-item:nth-child(2) h3 { color: var(--purple); }
.stat-item:nth-child(3) h3 { color: var(--blue); }
.stat-item:nth-child(4) h3 { color: var(--yellow-dark); }

/* =====================================================
   Events Grid
   ===================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-card .card-body {
    display: flex;
    flex-direction: column;
}

.event-card .card-meta {
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.event-card .event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card .event-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.event-card .event-price.free {
    color: #0d7a42;
}

/* =====================================================
   Event Detail Page
   ===================================================== */
.event-hero {
    padding: 100px 0 40px;
    background: var(--bg-secondary);
}

.event-hero-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.event-hero-content {
    flex: 1;
}

.event-hero-image {
    width: 400px;
    flex-shrink: 0;
}

.event-hero-image img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 48px 0;
}

.event-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}

.sidebar-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card + .sidebar-card {
    margin-top: 20px;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center;
    margin: 20px 0;
}

.countdown-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 12px 8px;
}

.countdown-item .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.speaker-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.speaker-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto 16px;
    background: var(--bg-tertiary);
}

.speaker-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.speaker-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Agenda / Timeline */
.agenda-timeline {
    position: relative;
    padding-left: 32px;
}

.agenda-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.agenda-item {
    position: relative;
    padding: 20px 0;
}

.agenda-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--blue-light);
}

.agenda-time {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.agenda-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.agenda-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Seat Counter */
.seats-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin: 12px 0;
}

.seats-bar-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.seats-bar-fill.filling { background: var(--yellow); }
.seats-bar-fill.almost-full { background: var(--red); }

.seats-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.seats-text strong {
    color: var(--text-primary);
}

/* =====================================================
   User Dashboard
   ===================================================== */
.dashboard-layout {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: var(--bg-secondary);
}

.dashboard-header {
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
}

.dashboard-header p {
    color: var(--text-secondary);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.dash-stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-stat-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.dash-stat-icon.red { background: var(--red); }
.dash-stat-icon.purple { background: var(--purple); }
.dash-stat-icon.blue { background: var(--blue); }
.dash-stat-icon.yellow { background: var(--yellow); }

.dash-stat-content h3 {
    font-size: 1.8rem;
    line-height: 1;
}

.dash-stat-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =====================================================
   Tables
   ===================================================== */
.table-wrapper {
    overflow-x: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   Pagination
   ===================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.page-link:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.page-link.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.page-dots {
    padding: 0 4px;
    color: var(--text-muted);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--text-primary);
    color: #c7c9d9;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #c7c9d9;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7c9d9;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* =====================================================
   Banner / Carousel
   ===================================================== */
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.banner-carousel.no-shadow {
    box-shadow: none;
    border-radius: 0;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.banner-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =====================================================
   Testimonials
   ===================================================== */
/* =====================================================
   Modern Testimonials Slider - Manual Navigation
   ===================================================== */

.testimonials-section {
    padding: 60px 0;
}

.testimonials-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.testimonials-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.testimonials-nav {
    display: flex;
    gap: 12px;
}

.testimonials-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(79, 172, 254, 0.2);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonials-nav-btn:hover {
    border-color: var(--blue);
    background: rgba(79, 172, 254, 0.1);
    transform: translateY(-2px);
}

.testimonials-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonials-slider {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Slide Card */
.testimonial-slide {
    flex: 0 0 calc(25% - 21px);
    min-width: calc(25% - 21px);
    background: var(--bg-primary);
    border: 1px solid rgba(79, 172, 254, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-slide:hover {
    border-color: rgba(79, 172, 254, 0.25);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.08);
    transform: translateY(-4px);
}

/* Avatar - Top of Card */
.testimonial-avatar-top {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid rgba(79, 172, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4facfe, #9333ea);
}

.testimonial-avatar-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initials-badge {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #4facfe, #9333ea);
    border-radius: 50%;
}

/* Quote Text */
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    font-style: normal;
    flex: 1;
}

/* Author Info */
.testimonial-author-info {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

.testimonial-author-name {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-author-role {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 19px);
        min-width: calc(33.333% - 19px);
    }

    .testimonials-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .testimonials-title {
        font-size: 1.5rem;
    }

    .testimonials-nav {
        gap: 10px;
    }

    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
    }

    .testimonial-slide {
        flex: 0 0 calc(50% - 14px);
        min-width: calc(50% - 14px);
        padding: 24px 16px;
    }

    .testimonials-slider {
        gap: 20px;
    }

    .testimonial-avatar-top {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-header-wrapper {
        margin-bottom: 24px;
    }

    .testimonials-title {
        font-size: 1.3rem;
    }

    .testimonials-nav-btn {
        width: 36px;
        height: 36px;
    }

    .testimonial-slide {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 20px;
    }

    .testimonials-slider {
        gap: 16px;
    }

    .testimonial-avatar-top {
        width: 70px;
        height: 70px;
    }
}

/* Stars */
.testimonial-carousel-stars {
    display: flex;
    gap: 6px;
}

.star-icon {
    width: 18px;
    height: 18px;
    color: #fbbf24;
    transition: all 0.2s ease;
}

.star-icon.empty {
    color: rgba(79, 172, 254, 0.2);
}

/* Quote Text */
.testimonial-carousel-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    flex: 1;
}

/* Author Section */
.testimonial-carousel-author {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

.testimonial-carousel-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(79, 172, 254, 0.2);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-carousel-info {
    flex: 1;
    min-width: 0;
}

.testimonial-carousel-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-carousel-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.testimonial-carousel-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-carousel-date svg {
    opacity: 0.6;
}

/* Event Badge */
.testimonial-carousel-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(147, 51, 234, 0.05));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 500;
    width: fit-content;
    transition: all 0.3s ease;
}

.testimonial-carousel-event:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(147, 51, 234, 0.1));
    border-color: rgba(79, 172, 254, 0.3);
}

.testimonial-carousel-event svg {
    width: 14px;
    height: 14px;
}

/* CTA Button */
.testimonials-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.testimonials-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(79, 172, 254, 0.35);
    position: relative;
    overflow: hidden;
}

.testimonials-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.testimonials-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.testimonials-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(79, 172, 254, 0.45);
}

.testimonials-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonials-cta-btn:hover svg {
    transform: translateX(4px);
}

/* =====================================================
   Premium Testimonials Grid (Feedbacks Page)
   ===================================================== */

.testimonials-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.testimonial-premium-card {
    background: var(--bg-primary);
    border: 1px solid rgba(79, 172, 254, 0.12);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.testimonial-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4facfe, #9333ea, #4facfe);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.03) 0%, rgba(147, 51, 234, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.testimonial-premium-card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 20px 50px rgba(79, 172, 254, 0.12);
    transform: translateY(-6px);
}

.testimonial-premium-card:hover::before {
    opacity: 1;
}

.testimonial-premium-card:hover::after {
    opacity: 1;
}

/* Stars Grid */
.testimonial-premium-stars {
    display: flex;
    gap: 6px;
    z-index: 1;
}

/* Quote Text Grid */
.testimonial-premium-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    flex: 1;
    z-index: 1;
}

/* Author Section Grid */
.testimonial-premium-author {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    z-index: 1;
}

.testimonial-premium-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(79, 172, 254, 0.2);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-premium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-premium-info {
    flex: 1;
    min-width: 0;
}

.testimonial-premium-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-premium-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.testimonial-premium-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-premium-date svg {
    opacity: 0.6;
}

/* Event Badge Grid */
.testimonial-premium-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(147, 51, 234, 0.05));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 500;
    width: fit-content;
    transition: all 0.3s ease;
    z-index: 1;
}

.testimonial-premium-event:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(147, 51, 234, 0.1));
    border-color: rgba(79, 172, 254, 0.3);
}

.testimonial-premium-event svg {
    width: 14px;
    height: 14px;
}

/* Pagination */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.testimonials-pagination .btn {
    position: relative;
    overflow: hidden;
}

/* Responsive Testimonials Grid */
@media (max-width: 1024px) {
    .testimonials-premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }

    .testimonial-carousel-card {
        flex: 0 0 340px;
        min-width: 340px;
        padding: 28px;
    }

    .testimonials-carousel-track {
        gap: 24px;
        padding: 0 24px;
    }

    .testimonial-carousel-quote {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .testimonial-premium-card {
        padding: 24px;
        gap: 16px;
    }

    .testimonials-carousel-wrapper {
        padding: 12px 0;
        border-radius: var(--radius-lg);
    }

    .testimonials-carousel-track {
        gap: 20px;
        padding: 0 16px;
    }

    .testimonial-carousel-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 24px;
        gap: 16px;
    }

    .testimonial-carousel-quote {
        font-size: 0.95rem;
    }

    .testimonial-carousel-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonials-cta-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .testimonials-pagination {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .testimonials-premium-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-premium-card {
        padding: 20px;
        gap: 14px;
    }

    .testimonials-carousel-track {
        gap: 16px;
        padding: 0 12px;
    }

    .testimonial-carousel-card {
        flex: 0 0 240px;
        min-width: 240px;
        padding: 20px;
        gap: 14px;
    }

    .testimonial-carousel-quote {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimonials-cta-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 90%;
    }

    .testimonials-pagination {
        gap: 6px;
    }

    .testimonials-pagination .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* =====================================================
   Auth Pages
   ===================================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* =====================================================
   Filters Bar
   ===================================================== */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* =====================================================
   Empty State
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* =====================================================
   Loading / Spinner
   ===================================================== */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* =====================================================
   SEEDS Logo Font Class
   ===================================================== */
.logo-font {
    font-family: 'SEEDS', sans-serif !important;
    font-size: 2.2rem;
    letter-spacing: 2px;
}

.nav-logo .logo-font,
.sidebar-logo .logo-font {
    font-size: 1.6rem;
}

/* =====================================================
   Form Row (side-by-side fields)
   ===================================================== */
.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

/* =====================================================
   Label Sub-text & Info Tooltip
   ===================================================== */
.label-sub {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 4px;
    color: var(--text-light);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.info-tooltip svg {
    width: 10px;
    height: 10px;
}

.info-tooltip:hover,
.info-tooltip:focus {
    color: var(--blue);
    background: var(--blue-light);
    border-color: var(--blue);
    outline: none;
}

.tooltip-text {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 400;
    z-index: 1000;
    max-width: 240px;
    width: max-content;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-primary);
}

.info-tooltip:hover .tooltip-text,
.info-tooltip:focus .tooltip-text,
.info-tooltip.active .tooltip-text {
    display: block;
}

/* =====================================================
   Star Rating
   ===================================================== */
.star-rating {
    display: inline-flex;
    gap: 4px;
    direction: rtl;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.15s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--yellow);
}

.star-display {
    display: inline-flex;
    gap: 2px;
    color: var(--yellow);
}

.star-display .empty {
    color: #ddd;
}

/* =====================================================
   Rating Popup Modal
   ===================================================== */
.rating-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.rating-modal {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
}

.rating-modal h3 {
    margin-bottom: 8px;
}

.rating-modal p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.rating-modal .close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.rating-modal .star-rating {
    font-size: 2rem;
    justify-content: center;
    margin-bottom: 16px;
}

.rating-modal .star-rating label {
    font-size: 2rem;
}

/* =====================================================
   Feedback Card
   ===================================================== */
.feedback-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.feedback-card:hover {
    box-shadow: var(--shadow-md);
}

.feedback-stars {
    margin-bottom: 12px;
}

/* =====================================================
   Profile Completion Indicator
   ===================================================== */
.profile-completion {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.profile-completion h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-completion h4 span {
    font-weight: 800;
    color: var(--blue);
}

.progress-bar-track {
    width: 100%;
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
    background: var(--blue);
}

.progress-bar-fill.low { background: var(--red); }
.progress-bar-fill.medium { background: var(--yellow); }
.progress-bar-fill.high { background: #0d7a42; }

.profile-completion-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.completion-tip {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--red-light);
    color: var(--red);
}

.completion-tip.done {
    background: #e6f9f0;
    color: #0d7a42;
    text-decoration: line-through;
    opacity: 0.6;
}

/* =====================================================
   Profile Photo Upload
   ===================================================== */
.profile-photo-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-photo-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--border-color);
    position: relative;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-preview .initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
}

.profile-photo-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-photo-actions .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* =====================================================
   Responsive Breakpoints
   ===================================================== */

/* Tablet */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.4rem; }
    .hero-text { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-image { max-width: 400px; }
    
@media (max-width: 1200px) {
    .testimonials-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .testimonials-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-modern-card {
        padding: 24px;
        gap: 14px;
    }

    .testimonial-modern-text {
        font-size: 0.95rem;
    }

    .btn-show-more-testimonials {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}
    
    .event-detail-grid { grid-template-columns: 1fr; }
    .event-sidebar { position: static; }
    .event-hero-inner { flex-direction: column; }
    .event-hero-image { width: 100%; }
    
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    
    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 1.8rem; }
    
    /* Banner images visible on mobile */
    .banner-slide img {
        height: 200px;
        object-fit: cover;
    }
    
    .banner-carousel {
        border-radius: var(--radius-md);
        margin-bottom: 0;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100% !important;
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Event card images on mobile */
    .card-image {
        height: 180px;
        object-fit: cover;
    }
    
    .event-hero-image {
        width: 100% !important;
    }
    
    .event-hero-image img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
.events-grid { grid-template-columns: 1fr; }
  @media (max-width: 480px) {
    .testimonials-modern-grid {
        gap: 16px;
    }

    .testimonial-modern-card {
        padding: 20px;
        gap: 12px;
    }

    .testimonial-modern-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-modern-name {
        font-size: 0.9rem;
    }

    .testimonial-modern-text {
        font-size: 0.9rem;
    }

    .btn-show-more-testimonials {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
    .speakers-grid { grid-template-columns: repeat(2, 1fr); }
    
    .dashboard-stats { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .section { padding: 48px 0; }
    
    .countdown-timer { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .countdown-item .number { font-size: 1.3rem; }
    
    .filters-bar { flex-direction: column; align-items: stretch; }
    
    .auth-card { padding: 28px 20px; }
    
    .form-row { flex-direction: column; gap: 0; }
    
    .desktop-only { display: none !important; }
    
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
        list-style: none;
    }
    
    .table { font-size: 0.85rem; }
    .table th, .table td { padding: 10px 8px; }
    
    .dashboard-header h1 { font-size: 1.5rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-item h3 { font-size: 1.8rem; }
    
    .speakers-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Testimonials Carousel - Manual Navigation Design
   ===================================================== */

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 24px;
}

.testimonials-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.testimonials-controls {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(79, 172, 254, 0.2);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    border-color: var(--blue);
    background: rgba(79, 172, 254, 0.1);
    transform: translateY(-2px);
}

.testimonial-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.testimonials-carousel {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Card */
.testimonial-card-new {
    flex: 0 0 calc(25% - 18px);
    min-width: calc(25% - 18px);
    background: var(--bg-primary);
    border: 1px solid rgba(79, 172, 254, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card-new:hover {
    border-color: rgba(79, 172, 254, 0.25);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.08);
    transform: translateY(-4px);
}

/* Avatar - Rounded at Top */
.testimonial-avatar-top {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid rgba(79, 172, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4facfe, #9333ea);
}

.testimonial-avatar-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initial {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 16px;
}

.testimonial-rating .star {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.testimonial-rating .star.filled {
    color: #fbbf24;
}

.testimonial-rating .star.empty {
    color: rgba(79, 172, 254, 0.15);
}

/* Quote Text */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    flex: 1;
}

/* Author Info Section */
.testimonial-info {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-event {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.testimonial-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-time svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-card-new {
        flex: 0 0 calc(33.333% - 16px);
        min-width: calc(33.333% - 16px);
    }
    
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 32px;
    }
    
    .testimonials-controls {
        width: 100%;
        justify-content: flex-start;
    }
    
    .testimonials-header h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-card-new {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
        padding: 24px 16px;
    }
    
    .testimonials-carousel {
        gap: 16px;
    }
    
    .testimonial-avatar-top {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-header h2 {
        font-size: 1.3rem;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card-new {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 20px;
    }
    
    .testimonials-carousel {
        gap: 12px;
    }
    
    .testimonial-avatar-top {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}
.new-label-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: newBadgePulse 2s ease-in-out infinite;
}

.new-label-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes newBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
    }
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {
    .navbar, .footer, .nav-toggle, .btn { display: none; }
    body { font-size: 12pt; color: #000; }
    .hero { padding: 20px 0; }
}
