/* Mobile Header Fix CSS */

/* Fix for header in mobile view */
@media (max-width: 767.98px) {
    header {
        background-color: white;
        padding: 10px 0;
    }
    
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    
    .logo {
        display: flex;
        align-items: center;
        padding: 0;
        max-width: 120px;
    }
    
    .logo img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu {
        display: block;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    
    /* Ensure the mobile menu is properly positioned */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        transition: right 0.3s ease;
        padding-top: 70px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    /* Ensure the page title is visible and properly positioned */
    .page-title {
        text-align: center;
        margin: 0;
        font-size: 20px;
        font-weight: bold;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .logo img {
        height: 35px;
    }
    
    .page-title {
        font-size: 18px;
    }
}
