#top-header {
    background-color: #060665;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

#middle-header {
    background-color: #ffffff;
    text-align: center;
}

#middle-header .logo img {
    max-height: 130px;
    position: relative;
    right: 43px;
    width: 180px;
}

#middle-header h1 {
    font-size: 20px;
    margin: 10px;
    font-weight: bold;
    color: black;
    position: relative;
    right: 70px;
}

.social-icons {
    position: relative;
    left: 30px;
}

.custom-social {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    z-index: 1;
}

.custom-social::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 100%;
    transition: all 0.4s ease;
    z-index: -1;
}

.custom-social.facebook::before {
    background: linear-gradient(135deg, #1877f2, #0e5cda);
}

.custom-social.twitter::before {
    background: linear-gradient(135deg, #000, #333);
}

.custom-social.linkedin::before {
    background: linear-gradient(135deg, #0a66c2, #004182);
}

.custom-social.instagram::before {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.custom-social.whatsapp::before {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.custom-social.wechat::before {
    background: linear-gradient(135deg, #7BB32E, #609A23);
}

.custom-social:hover::before {
    top: 0;
}

.custom-social:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.custom-social i {
    transition: transform 0.3s ease;
}

.custom-social:hover i {
    transform: scale(1.2);
}

#header {
    background-color: #060665;
}

.navmenu ul li.dropdown ul li a.active {
    background-color: #060665;
    color: white !important;
}

/* Typewriter effect styling */
#typewriter {
    white-space: nowrap;
    border-right: 2px solid white;
    font-family: 'Poppins', sans-serif;
    width: 160px;
    display: inline-block;
}

.search-area {
    position: relative;
    width: 400px;
}

#suggestProduct {
    position: absolute;
    top: 100%;
    width: 88%;
    background: #fff;
    z-index: 999;
    border-radius: 4px;
    margin-top: 2px;
}

.suggestion-box {
    position: absolute;
    background: #fff;
    width: 100%;
    border: 1px solid #ddd;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-box a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.suggestion-box a:hover {
    background: #f8f9fa;
}

.suggestion-box img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.default_btn {
    background-color: #af1317;
    color: #fff;
}

.default_btn:hover {
    background-color: #911013;
    color: #fff;
}

@media (max-width: 768px) {
    .navmenu ul li a.active {
        background-color: transparent !important;
        color: #212529 !important;
    }

    .header .logo h1 {
        font-size: 20px;
    }

    .mobile-nav-toggle {
        color: white;
        font-size: 28px;
        position: relative;
        left: 170px;
    }

    #middle-header .social-icons {
        display: none !important;
    }

    #middle-header .logo img {
        max-height: 85px !important;
        position: relative;
        right: 43px;
        width: 100px !important;
    }

    #middle-header h1 {
        font-size: 15px;
    }

    .input-group {
        display: none;
    }
}