:root {
    --primary-color: #003087;
    --secondary-color: #f4a261;
    --accent-color: #8d5524;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #f5f5f5;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section.active {
    display: block;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.nav-link {
    font-size: 1rem;
    color: dimgrey;
    padding: 0.6rem 1rem !important;
    margin: 0.2rem 0;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 48, 135, 0.1) !important;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 500;
}

.sidebar {
    background-color: white;
    position: sticky;
    top: 60px; /* Below header */
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 1rem;
    border-right: 1px solid #eee;
}

.sidebar h5 {
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    font-size: 1.2rem;
}

main {
    padding: 1rem !important;
}

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

strong {
    color: var(--accent-color);
}

.emoji {
    font-size: 1.1em;
    margin-right: 0.4rem;
}

.card {
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.placeholder-img {
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #6c757d;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar.show {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    main {
        margin-left: 0 !important;
    }

    .content-section.active {
        padding: 1.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 56px;
    }

    .sidebar {
        top: 56px;
        height: calc(100vh - 56px);
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-section.active {
        padding: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    h2 {
        font-size: 1.4rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.95rem;
    }

    .emoji {
        font-size: 1em;
    }
}



.img-fluid {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
}
.img-fluid:hover {
    transform: scale(1.05);
}
.image-title {
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    margin-top: 8px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .row {
        margin: 10px;
    }
    .img-fluid {
        height: 150px;
    }
    .image-title {
        font-size: 0.85rem;
    }
}
@media (max-width: 576px) {
    .img-fluid {
        height: 120px;
    }
    .image-title {
        font-size: 0.8rem;
    }
}