:root {
    --color-primary: #003366;
    /* Corporate Blue */
    --color-secondary: #004080;
    /* Lighter Blue */
    --color-accent: #C0C0C0;
    /* Silver */
    --color-background: #F5F5F5;
    /* Light Gray */
    --color-text: #333333;
    /* Dark Gray */
    --color-white: #FFFFFF;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    overflow: hidden;
    /* Prevent scrolling for full-screen app feel */
}

/* Layout Structure */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Navigation Sidebar */
.nav-sidebar {
    width: 250px;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.nav-sidebar h2 {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.nav-btn {
    background: none;
    border: none;
    color: var(--color-white);
    padding: 15px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    margin-bottom: 10px;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: var(--color-secondary);
    color: var(--color-accent);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 0;
    position: relative;
    overflow-y: auto;
    /* Allow vertical scrolling */
    overflow-x: hidden;
}

/* Components */
.component-section {
    display: none;
    /* Hidden by default */
    height: 100%;
    width: 100%;
    /* padding: 40px;  Removed padding to allow full width components */
    box-sizing: border-box;
    animation: fadeIn 0.5s ease-in-out;
}

.component-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Component */
.card-component {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 600px;
    margin: 40px auto;
    /* Added margin for spacing */
    /* height: 100%; Removed fixed height */
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.card-image {
    height: 250px;
    /* Fixed height for image */
    background-image: url('https://picsum.photos/800/600');
    /* Generic placeholder */
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    color: var(--color-primary);
    margin-top: 0;
}

/* Other Components (Placeholders) */
.info-panel {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 40px;
    /* Added margin */
}