/* Mobile Header Styles - Local Needs */

/* Apply only on mobile devices (max-width: 768px) */
@media only screen and (max-width: 768px) {
    
    /* Header container with gradient background */
    .hom-top {
        background: linear-gradient(180deg, #c4d957 0%, #7ec5b5 100%) !important;
        padding: 20px 0 30px 0 !important;
        position: relative;
        overflow: hidden;
    }
    
    /* Add decorative circle elements like in the image */
    .hom-top::before {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: -50px;
        left: -30px;
        z-index: 0;
    }
    
    .hom-top::after {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        bottom: -40px;
        right: -20px;
        z-index: 0;
    }
    
    /* Navigation container */
    .hom-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        position: relative;
        z-index: 1;
    }
    
    /* Logo styling - centered and larger */
    .top-log {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 !important;
        padding: 10px 0;
    }
    
    .top-log img.ic-logo {
        max-width: 180px !important;
        width: auto !important;
        height: auto !important;
        max-height: 80px !important;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        transition: transform 0.3s ease;
    }
    
    /* Menu icon on the left */
    .mob-menu {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .mob-me-ic {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mob-me-ic i {
        color: #333;
        font-size: 24px;
    }
    
    /* Hide desktop menu items on mobile */
    .hom-nav .bl,
    .hom-nav .al {
        display: none !important;
    }
    
    /* Adjust menu button on mobile */
    .menu {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .menu h4 {
        display: none; /* Hide text, keep only icon if needed */
    }
    
    /* Banner section adjustments */
    .hom-head {
        background: none !important;
    }
    
    /* Search bar positioning */
    .ban-search {
        margin-top: 20px;
    }
    
    /* Banner title adjustments for mobile */
    .ban-tit {
        text-align: center;
        padding: 20px 15px 10px;
    }
    
    .ban-tit h1 {
        font-size: 24px;
        color: #333;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .ban-tit h1 b {
        display: block;
        margin-bottom: 5px;
    }
    
    .ban-tit .sub-category {
        font-size: 16px;
        font-weight: 400;
        color: #666;
    }
    
    /* User profile icon (if logged in) */
    .head-pro {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .head-pro img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    /* Notification bell positioning */
    .v3-not {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .v3-not-v1 a {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .v3-not-v1 i {
        color: #333;
        font-size: 22px;
    }
    
    /* Animation on logo hover/tap */
    .top-log:active img.ic-logo {
        transform: scale(0.95);
    }
}

/* Extra small devices (phones in portrait, less than 576px) */
@media only screen and (max-width: 575px) {
    .top-log img.ic-logo {
        max-width: 150px !important;
        max-height: 70px !important;
    }
    
    .ban-tit h1 {
        font-size: 20px;
    }
    
    .ban-tit .sub-category {
        font-size: 14px;
    }
}