:root {
    --primary: #2D3691;
    --primary-dark: #1a237e;
    --primary-light: #3949ab;
    --secondary: #F28A24;
    --secondary-dark: #e65100;
    --secondary-light: #ff9800;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Session Type Colors */
    --workshop: #8b5cf6;
    --lecture: #2D3691;
    --presentation: #14b8a6;
    --panel: #f59e0b;
    --ceremony: #ef4444;
    --break: #10b981;
    --registration: #6366f1;
    
    --gradient-primary: linear-gradient(135deg, #2D3691 0%, #3949ab 100%);
    --gradient-secondary: linear-gradient(135deg, #F28A24 0%, #ff9800 100%);
    --gradient-combined: linear-gradient(135deg, #2D3691 0%, #F28A24 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-combined);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-combined);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.6s ease;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.conference-dates {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.date-badge,
.location-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(242, 138, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 54, 145, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Agenda Controls */
.agenda-controls {
    padding: 2rem;
    background: white;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Day Tabs */
.day-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.day-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-tab i {
    font-size: 1.125rem;
    color: var(--primary);
}

.day-tab:hover {
    border-color: var(--primary);
    background: rgba(45, 54, 145, 0.05);
}

.day-tab.active {
    background: var(--gradient-combined);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.day-tab.active i {
    color: white;
}

.day-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.day-tab.active .day-date {
    background: rgba(255, 255, 255, 0.3);
}

/* Quick Info Cards */
.agenda-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary);
    width: 40px;
    text-align: center;
}

.info-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.info-card span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Agenda Content */
.agenda-content {
    padding: 3rem 2rem;
}

/* Day Header */
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary);
    flex-wrap: wrap;
    gap: 1rem;
}

.day-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 250px;
}

.day-number {
    width: 90px;
    height: 60px;
    background: var(--gradient-combined);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.day-title h2 {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.3;
}

.day-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.day-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.day-location i {
    color: var(--secondary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.4s ease both;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
}

.timeline-item.break::before {
    background: var(--break);
}

.timeline-time {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.time-start {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.time-end {
    color: var(--text-light);
    font-size: 1rem;
}

.duration {
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

/* Session Cards */
.session-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.session-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.session-card.workshop { border-left-color: var(--workshop); }
.session-card.lecture { border-left-color: var(--lecture); }
.session-card.presentation { border-left-color: var(--presentation); }
.session-card.panel { border-left-color: var(--panel); }
.session-card.ceremony { border-left-color: var(--ceremony); }
.session-card.registration { border-left-color: var(--registration); }

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.session-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--light-bg);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.session-venue {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.session-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.session-speaker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.session-speaker i {
    color: var(--secondary);
}

.session-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.session-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.75rem;
    background: var(--light-bg);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Break Card */
.break-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px dashed var(--break);
}

.break-card i {
    font-size: 2rem;
    color: var(--break);
    margin-bottom: 0.75rem;
}

.break-card h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.break-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Parallel Sessions */
.parallel-sessions {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.parallel-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.parallel-note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.workshop-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.workshop-card:hover {
    border-color: var(--workshop);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.workshop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workshop-track {
    padding: 0.3rem 0.75rem;
    background: var(--workshop);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.workshop-venue {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.workshop-title {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.workshop-speaker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.workshop-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.workshop-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.workshop-level,
.workshop-format {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-show-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-all:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Download Section */
.download-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.download-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-combined);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-download.secondary {
    background: var(--light-bg);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-download.secondary:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .day-header {
        flex-direction: column;
        text-align: center;
    }
    
    .day-title {
        justify-content: center;
    }
    
    .day-location {
        justify-content: center;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 2px;
    }
    
    .timeline-item::before {
        left: -18px;
    }
    
    .timeline-time {
        min-width: 100px;
        align-items: flex-start;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .page-header {
        margin-top: 70px;
        padding: 3rem 1.5rem;
    }
    
    .agenda-controls {
        padding: 1.5rem;
        top: 70px;
    }
    
    .day-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .day-tab {
        justify-content: center;
    }
    
    .agenda-info {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-time {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .session-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .workshop-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .download-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .day-title h2 {
        font-size: 1.25rem;
    }
    
    .session-title {
        font-size: 1.1rem;
    }
    
    .timeline-time {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .agenda-controls,
    .download-section,
    .footer,
    .session-tags,
    .btn-download {
        display: none !important;
    }
    
    .page-header {
        margin-top: 0;
        padding: 2rem;
        background: white;
        color: black;
    }
    
    .timeline::before {
        background: #ccc;
    }
    
    .session-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}