* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
}

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

.slide {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.slide:hover {
    transform: translateY(-5px);
}

.slide-header {
    background: linear-gradient(135deg, #0052cc, #2684ff);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 40px;
}

.slide-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.slide-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

h1 {
    color: #0052cc;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #2684ff;
    padding-bottom: 10px;
}

h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-top: 25px;
}

h3 {
    color: #0052cc;
    font-size: 1.4em;
    margin-bottom: 10px;
    margin-top: 20px;
}

.problem-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.solution-highlight {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.research-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.research-card {
    background: #f8f9ff;
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.research-number {
    background: #0052cc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2em;
}

.timeline {
    position: relative;
    margin: 30px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0052cc, #2684ff);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    margin-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #0052cc;
    border-radius: 50%;
    border: 3px solid white;
}

.architecture-diagram {
    background: #f8f9ff;
    border: 2px solid #e3f2fd;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.tech-stack {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.tech-item {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.result-card {
    background: #fff;
    border: 2px solid #e3f2fd;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.success { color: #51cf66; }
.warning { color: #ffd43b; }
.info { color: #339af0; }

.conclusion-box {
    background: linear-gradient(135deg, #0052cc, #2684ff);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.recommendation-card {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
    overflow-x: auto;
}

.navigation {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: block;
    color: #0052cc;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #0052cc;
    color: white;
}

.nav-item.active {
    background: #0052cc;
    color: white;
}

@media (max-width: 768px) {
    .slide {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 2em;
    }
    
    .navigation {
        display: none;
    }
    
    .tech-stack {
        flex-direction: column;
    }
    
    .research-process {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .timeline {
        padding-left: 20px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .slide {
        page-break-after: always;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .navigation {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .slide {
        transition: none;
    }
    
    .research-card:hover {
        transform: none;
    }
    
    .tech-item:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.nav-item:focus {
    outline: 2px solid #0052cc;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}