/*
 * IEEE CIS ASI 2026 Conference Website
 * Complete Visual Overhaul - Modern, Fluid Design
 */

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

:root {
    /* Enhanced Color Palette */
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #e6f2ff;
    --accent: #ff6b35;
    --accent-dark: #e55a2b;
    --accent-light: #fff0eb;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004d99 50%, #003366 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-hero: linear-gradient(135deg, #0066cc 0%, #004d99 40%, #1a1a2e 100%);

    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-secondary: #6b7280;
    --text-light: #6b7280;
    --text-white: #ffffff;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-dark: #1a1a2e;

    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(0,102,204,0.3);

    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1280px;
    --container-narrow: 900px;

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-logo {
    height: 22px;
    width: auto;
}

.logo {
    height: 35px;
    width: auto;
    border-radius: var(--radius-sm);
}

.conference-acronym {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.conference-name {
    font-size: 1.9rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.conference-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-primary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0.6rem;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-menu .btn-nav {
    background: var(--gradient-accent);
    color: white !important;
    padding: 0.5rem 1rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

.nav-menu .btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-accent);
}

.nav-menu .btn-nav-register {
    background: var(--gradient-primary);
}

.nav-menu .btn-nav-register:hover {
    background: var(--gradient-primary);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,107,53,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 .title-main {
    display: block;
    white-space: nowrap;
    color: white;
    -webkit-text-fill-color: white;
}

.hero h1 span:not(.title-main) {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero h1 .title-main {
        white-space: normal;
    }
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.hero-meta-item .icon {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.5);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

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

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

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-dark p {
    color: rgba(255,255,255,0.8);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-dark .section-label {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* ============================================
   IMPORTANT DATES
   ============================================ */
.dates-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.date-card {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.date-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.date-card.highlighted {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.date-card.highlighted h4,
.date-card.highlighted p {
    color: white;
}

.date-card h4 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.date-card .date {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.date-card.highlighted .date {
    color: white;
}

/* ============================================
   TRACKS SECTION
   ============================================ */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.track-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--track-color, var(--primary));
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--track-color, var(--primary));
}

.track-card:nth-child(1) { --track-color: #0066cc; }
.track-card:nth-child(2) { --track-color: #dc2626; }
.track-card:nth-child(3) { --track-color: #059669; }
.track-card:nth-child(4) { --track-color: #f97316; }
.track-card:nth-child(5) { --track-color: #8b5cf6; }

.track-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--track-color, var(--primary));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.track-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.track-card ul {
    list-style: none;
}

.track-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.track-card li::before {
    content: '→';
    color: var(--track-color, var(--primary));
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   COLLABORATION SECTION
   ============================================ */
.collab-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collab-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,107,53,0.3) 0%, transparent 60%);
    pointer-events: none;
}

.collab-box h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.collab-box .partner-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
}

.collab-box p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}

/* ============================================
   NEWS/UPDATES
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.news-card-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.news-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.logo-card-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.logo-card-image img {
    max-height: 100px;
    max-width: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.news-card-body {
    padding: 1.5rem 2rem 2rem;
}

.news-card .tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.news-card a {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card a:hover {
    gap: 0.75rem;
}

/* ============================================
   SCHEDULE/PROGRAM
   ============================================ */
.schedule-container {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: white;
    border: 1px solid var(--border-light);
}

.schedule-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.schedule-time {
    min-width: 140px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.schedule-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

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

.schedule-item.keynote {
    background: var(--accent-light);
    border-color: var(--accent);
}

.schedule-item.break {
    background: var(--bg-alt);
    border-color: var(--border);
}

.schedule-item.poster {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #059669;
}

/* ============================================
   COMMITTEE
   ============================================ */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-light);
}

.member-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.member-card .role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.member-card .affiliation {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-label .required {
    color: #dc2626;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

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

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.form-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.file-upload h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.file-upload p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.file-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    display: none;
}

.file-info.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-info .file-name {
    font-weight: 600;
    color: var(--text-dark);
}

.file-info .file-size {
    color: var(--text-light);
    font-size: 0.9rem;
}

.file-info .remove-file {
    color: #dc2626;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 160px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   SIDEBAR LAYOUT
   ============================================ */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

/* ============================================
   VENUE
   ============================================ */
.venue-hero {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.venue-map {
    min-height: 400px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.venue-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.venue-info .address {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.venue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.venue-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   PRICING / REGISTRATION
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card .price-period {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.pricing-card li::before {
    content: '✓';
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* ============================================
   ALERTS / MESSAGES
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid #93c5fd;
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .venue-hero {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 1.5rem 60px;
        min-height: auto;
    }

    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .dates-timeline {
        flex-direction: column;
        align-items: center;
    }

    .date-card {
        max-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }

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

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

    .section-header {
        margin-bottom: 2.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .page-header {
        padding: 120px 1rem 60px;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Table styles */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

tr:hover {
    background: var(--bg-light);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: #ecfdf5;
    color: #065f46;
}

.badge-warning {
    background: #fffbeb;
    color: #92400e;
}

.badge-error {
    background: #fef2f2;
    color: #991b1b;
}

.badge-info {
    background: var(--primary-light);
    color: var(--primary);
}

/* ================================
   Program Schedule Styles
   ================================ */
.schedule-container {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.schedule-item.keynote {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, #fff9f5 0%, white 100%);
}

.schedule-item.session {
    border-left-color: var(--primary);
}

.schedule-item.break {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.schedule-item.closing {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, white 100%);
}

.schedule-item.banquet {
    border-left-color: #ec4899;
    background: linear-gradient(135deg, #fdf2f8 0%, white 100%);
}

.schedule-time {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding-top: 0.25rem;
}

.schedule-content h3 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.schedule-content p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.schedule-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent);
    color: white;
}

.schedule-badge.session-badge {
    background: var(--primary);
}

.schedule-badge.break-badge {
    background: #10b981;
}

.schedule-badge.closing-badge {
    background: #8b5cf6;
}

.schedule-badge.banquet-badge {
    background: #ec4899;
}

.schedule-speaker {
    font-style: italic;
    color: var(--text-secondary);
}

.schedule-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.parallel-tracks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.track-pill {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.awards-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.awards-list li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.awards-list li::before {
    content: "🏆 ";
}

/* ================================
   Committee Styles
   ================================ */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.committee-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.committee-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.2);
}

.committee-member h3 {
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin: 0.5rem 0;
}

.member-affiliation {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ================================
   CFP Layout Styles
   ================================ */
.cfp-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.cfp-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cfp-main .content-box {
    margin-bottom: 2rem;
}

.cfp-main h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.cfp-main ul {
    margin: 0.5rem 0 1.5rem;
    padding-left: 1.5rem;
}

.cfp-main li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.dates-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.dates-box h3 {
    margin: 0 0 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.date-item-cfp {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--bg-light);
}

.date-item-cfp.highlighted {
    background: linear-gradient(135deg, #1a365d, #2d4a7c);
    color: white;
}

.date-item-cfp.highlighted .date-label,
.date-item-cfp.highlighted .date-value-cfp {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.date-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.date-value-cfp {
    font-weight: 700;
    color: var(--text-dark);
}

.submission-box {
    background: linear-gradient(135deg, #1a365d, #2d4a7c);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.submission-box h3 {
    margin: 0 0 1rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.submission-box p {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ================================
   Responsive Adjustments
   ================================ */
@media (max-width: 900px) {
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-time {
        font-size: 0.85rem;
        color: var(--primary);
    }

    .cfp-layout {
        grid-template-columns: 1fr;
    }

    .cfp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

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

    .parallel-tracks {
        flex-direction: column;
    }

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