/* Slide 3 Fullscreen Fix - No Scrolling */
#slide-3 {
    overflow: hidden;
    height: 100vh;
}

#slide-3 .content {
    height: 100vh;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
}

#slide-3 .section-title {
    font-size: 48px;
    margin-bottom: 30px;
    margin-top: 10px;
}

/* Compact the entire structure */
#slide-3 .team-showcase {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

/* Core Team Section - Smaller */
#slide-3 .org-section {
    margin-bottom: 0;
}

#slide-3 .org-section-header {
    margin-bottom: 12px;
}

#slide-3 .org-section-title {
    font-size: 20px;
    margin-bottom: 4px;
}

#slide-3 .org-section-subtitle {
    font-size: 14px;
}

/* Team Grid - More Compact */
#slide-3 .team-grid {
    gap: 20px;
    margin-bottom: 0;
}

#slide-3 .member-avatar {
    width: 96px;
    height: 96px;
    margin-bottom: 12px;
}

#slide-3 .member-name {
    font-size: 18px;
    margin-bottom: 2px;
}

#slide-3 .member-role {
    font-size: 14px;
    margin-bottom: 4px;
}

#slide-3 .member-achievement {
    font-size: 12px;
    line-height: 1.3;
}

/* AI Agents - More Compact */
#slide-3 .ai-agents-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

#slide-3 .ai-agent-card {
    padding: 12px;
}

#slide-3 .ai-agent-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

#slide-3 .ai-agent-name {
    font-size: 14px;
    margin-bottom: 3px;
}

#slide-3 .ai-agent-function {
    font-size: 11px;
    margin-bottom: 3px;
}

#slide-3 .ai-agent-description {
    font-size: 10px;
    line-height: 1.3;
}

/* Network Section - Most Compact */
#slide-3 .network-grid {
    gap: 16px;
}

#slide-3 .network-member {
    padding: 12px;
}

#slide-3 .network-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 8px;
}

#slide-3 .network-name {
    font-size: 15px;
    margin-bottom: 2px;
}

#slide-3 .network-expertise {
    font-size: 12px;
    margin-bottom: 4px;
}

#slide-3 .network-description {
    font-size: 11px;
    line-height: 1.3;
}

/* Dividers - Thinner */
#slide-3 .org-divider {
    margin: 16px 0;
}

/* Hide animations to save space */
#slide-3 .ai-agent-card::before {
    display: none;
}

/* For very large screens (1920x1080 and up) */
@media (min-width: 1600px) and (min-height: 900px) {
    #slide-3 .content {
        padding: 50px 40px;
    }
    
    #slide-3 .section-title {
        font-size: 56px;
        margin-bottom: 40px;
    }
    
    #slide-3 .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    #slide-3 .ai-agent-icon {
        font-size: 40px;
    }
    
    #slide-3 .network-avatar {
        width: 60px;
        height: 60px;
    }
}

/* For presentation mode (16:9 aspect ratio) */
@media (aspect-ratio: 16/9) {
    #slide-3 .team-showcase {
        gap: 15px;
    }
    
    #slide-3 .team-grid {
        gap: 15px;
    }
    
    #slide-3 .ai-agents-grid {
        gap: 12px;
    }
    
    #slide-3 .network-grid {
        gap: 12px;
    }
}

/* Emergency compact mode for smaller screens */
@media (max-height: 768px) {
    #slide-3 .section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    #slide-3 .member-avatar {
        width: 72px;
        height: 72px;
    }
    
    #slide-3 .member-achievement {
        display: none;
    }
    
    #slide-3 .ai-agent-description {
        display: none;
    }
    
    #slide-3 .network-description {
        display: none;
    }
    
    #slide-3 .org-section-subtitle {
        display: none;
    }
}