/* Hero Banner CSS - Modern & Clean Design */
/* Using unique class names to avoid conflicts */

.main-hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.main-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(40, 167, 69, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
    z-index: 1;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.4);
    animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite alternate;
    border: 3px solid rgba(255, 255, 255, 0.8);
    z-index: 5;
}

.floating-icon.marketplace {
    top: 12%;
    left: 8%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 15px 45px rgba(40, 167, 69, 0.5);
}

.floating-icon.cart {
    top: 20%;
    right: 12%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #007bff, #17a2b8);
    box-shadow: 0 15px 45px rgba(0, 123, 255, 0.5);
}

.floating-icon.disability {
    bottom: 25%;
    left: 6%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    box-shadow: 0 15px 45px rgba(111, 66, 193, 0.5);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-20px) rotate(5deg);
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg);
    }
    75% { 
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 12px 40px rgba(40, 167, 69, 0.4);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 16px 50px rgba(40, 167, 69, 0.6);
        transform: scale(1.05);
    }
}

/* Additional floating icons for decoration */
.floating-icon.small {
    width: 40px;
    height: 40px;
    font-size: 16px;
    opacity: 0.7;
}

.floating-icon.business {
    top: 60%;
    right: 8%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    box-shadow: 0 6px 24px rgba(253, 126, 20, 0.3);
}

.floating-icon.support {
    top: 45%;
    left: 5%;
    animation-delay: 3s;
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    box-shadow: 0 6px 24px rgba(220, 53, 69, 0.3);
}

.main-hero-banner .container,
.main-hero-banner .banner-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Language Selector */
.lang-selector-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.lang-dropdown-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.lang-dropdown-btn i {
    margin-right: 0.5rem;
    color: #28a745;
}

/* Main Content Wrapper */
.banner-content-wrapper {
    text-align: center;
    padding: 2rem 0;
}

/* Hero Title */
.banner-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #1a202c !important;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #1a202c !important;
    background-clip: unset !important;
}

/* Category Navigation Buttons */
.category-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.nav-category-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #1a202c !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-category-btn:hover {
    background: white;
    border-color: rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.nav-category-btn.active {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: white;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.nav-category-btn i {
    font-size: 1.1rem;
}

/* Search Input Area */
.main-search-wrapper {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-input-box:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    border-color: rgba(40, 167, 69, 0.3);
}

.search-input-box:focus-within {
    box-shadow: 0 20px 60px rgba(40, 167, 69, 0.25);
    border-color: #28a745;
    transform: translateY(-3px);
}

.search-input-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-input-box:focus-within .search-input-icon {
    color: #28a745;
    transform: translateY(-50%) scale(1.1);
}

.primary-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 22px 30px 22px 65px;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
    width: 100%;
}

.primary-search-input::placeholder {
    color: #8b949e;
    font-weight: 400;
}

.search-submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    padding: 22px 35px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.search-submit-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: scale(1.02);
}

/* Popular Search Tags */
.popular-search-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tags-intro-text {
    color: #1a202c !important;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 12px;
}

.search-tag-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #495057;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-tag-item:hover {
    background: white;
    border-color: #28a745;
    color: #28a745;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

/* Features Statistics Grid */
.features-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.feature-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon-wrapper {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-text-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c !important;
}

.feature-text-content p {
    font-size: 0.9rem;
    color: #4a5568 !important;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Search Results Container */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    margin: 1rem;
    z-index: 100;
    max-height: 70vh;
    overflow-y: auto;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .banner-main-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .category-nav-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .nav-category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .main-search-wrapper {
        margin-bottom: 2rem;
    }
    
    .search-input-box {
        border-radius: 40px;
    }
    
    .search-input-icon {
        left: 20px;
        font-size: 18px;
    }
    
    .primary-search-input {
        padding: 18px 25px 18px 50px;
        font-size: 16px;
    }
    
    .search-submit-btn {
        padding: 18px 25px;
        min-width: 80px;
        border-radius: 0 40px 40px 0;
    }
    
    .popular-search-tags {
        gap: 8px;
        margin-bottom: 3rem;
    }
    
    .search-tag-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .features-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-stat-card {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .lang-selector-wrapper {
        top: 1rem;
        right: 1rem;
    }
    
    .main-hero-banner {
        background-attachment: scroll;
    }
    
    /* Mobile Floating Icons */
    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .floating-icon.small {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .floating-icon.marketplace {
        top: 12%;
        left: 8%;
    }
    
    .floating-icon.cart {
        top: 20%;
        right: 12%;
    }
    
    .floating-icon.disability {
        bottom: 25%;
        left: 6%;
    }
    
    .floating-icon.business {
        top: 55%;
        right: 6%;
    }
    
    .floating-icon.support {
        top: 40%;
        left: 3%;
    }
}

@media (max-width: 480px) {
    .banner-main-title {
        font-size: 2rem;
    }
    
    .nav-category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .primary-search-input {
        padding: 16px 20px 16px 45px;
        font-size: 15px;
    }
    
    .search-submit-btn {
        padding: 16px 20px;
        min-width: 60px;
    }
    
    .search-input-icon {
        left: 16px;
        font-size: 16px;
    }
    
    /* Extra Small Mobile Floating Icons */
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        box-shadow: 0 6px 24px rgba(40, 167, 69, 0.4);
    }
    
    .floating-icon.small {
        width: 30px;
        height: 30px;
        font-size: 12px;
        opacity: 0.8;
    }
    
    .floating-icon.marketplace {
        top: 10%;
        left: 5%;
    }
    
    .floating-icon.cart {
        top: 18%;
        right: 8%;
    }
    
    .floating-icon.disability {
        bottom: 22%;
        left: 4%;
    }
    
    .floating-icon.business {
        top: 50%;
        right: 4%;
    }
    
    .floating-icon.support {
        top: 35%;
        left: 2%;
    }
}
