/* Mobile Burger Menu Styles */

/* Hide the default topbar menu on mobile */
@media (max-width: 768px) {
    .container-header .navbar-toggler {
        border: none;
    }
    .container-topbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.85);
        z-index: 999;
        display: none;
        align-items: flex-start;
        justify-content: flex-start;
        backdrop-filter: blur(5px);
        padding: 0;
    }
    
    .container-topbar.show {
        display: flex !important;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Style the topbar content for mobile */
    .container-topbar .mod-menu {
        color: white;
        padding: 0;
        border-radius: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        position: relative;
        box-shadow: none;
        animation: slideInDown 0.4s ease;
    }
    
    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .container-header image.png {
        border: none;
    }
    /* Style the burger button */
    .navbar-toggler {
        display: block !important;
        border: none;
        background: transparent;
        padding: 8px 12px;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 48%;
        transform: translateY(-50%);
        z-index: 1000;
    }
    
    .navbar-toggler .icon-menu {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .navbar-toggler .icon-menu::before,
    .navbar-toggler .icon-menu::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease;
        border-radius: 1px;
        left: 0px;
    }
    
    .navbar-toggler .icon-menu::before {
        top: -6px;
    }
    
    .navbar-toggler .icon-menu::after {
        bottom: -6px;
    }
    
    /* Animate burger to X when menu is open */
    .navbar-toggler[aria-expanded="true"] .icon-menu {
        background-color: transparent;
    }
    
    .navbar-toggler[aria-expanded="true"] .icon-menu::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .navbar-toggler[aria-expanded="true"] .icon-menu::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Mobile menu list styles */
    .container-topbar .mod-menu {
        list-style: none;
        padding: 4rem 0 0 0;
        margin: 0;
    }
    
    .container-topbar .mod-menu li {
        margin-bottom: 0;
    }
    
    .container-topbar .mod-menu li:last-child {
        border-bottom: none;
    }
    
    .container-topbar .mod-menu a {
        display: block;
        padding: 20px 2rem;
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .container-topbar .mod-menu a:hover {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.1);
        padding-left: 2.5rem;
        border-radius: 0;
    }
    
    .container-topbar .mod-menu .current a {
        color: #ffffff;
        font-weight: bold;
        background-color: rgba(255, 255, 255, 0.2);
        border-left: 4px solid #ffffff;
        padding-left: 2.5rem;
    }
    
    /* Mobile submenu styles */
    .container-topbar .mobile-submenu {
        list-style: none;
        padding-left: 20px;
        margin: 0;
        background-color: rgba(255, 255, 255, 0.05);
        display: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-top: 8px;
    }
    
    .container-topbar .mobile-submenu.show {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .container-topbar .mobile-submenu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .container-topbar .mobile-submenu a {
        font-size: 16px;
        padding: 16px 2rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    /* Parent menu items with submenu */
    .container-topbar .parent > a {
        position: relative;
    }
    
    .container-topbar .parent > a::after {
        content: '▼';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .container-topbar .parent > a[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* Mobile menu item animations */
    .mobile-menu-content .mod-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.3s ease forwards;
    }
    
    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Desktop styles - hide mobile menu */
@media (min-width: 769px) {
    .mobile-menu-container {
        display: none !important;
    }
    
    .navbar-toggler {
        display: none !important;
    }
    
    .container-topbar {
        display: block !important;
    }
}

/* Override header layout for mobile */
@media (max-width: 768px) {
    .header {
        position: relative;
        padding: 15px 0;
    }
    
    .header .col-4 {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
    
    .header .navbar-brand {
        margin: 0 auto;
    }
    
    .header .brand-logo {
        margin-left: 0 !important;
    }
} 
.container-header {
  z-index: 10;
  background-color: #5c6700;
  background-image: inherit;
  position: relative;
  box-shadow: inset 0 5px 5px #00000008;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-component>:first-child, .container-sidebar-left>:first-child, .container-sidebar-right>:first-child, .container-component>*+*, .container-sidebar-left>*+*, .container-sidebar-right>*+* {
  margin-top: 0px !important;
}