
.hero {
    position: relative;
    padding: 96px 24px 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    min-height: 560px;
}


.hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('/user/assets/img/search/search_image.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    transform: scale(1.05); 
    z-index: 0;
}


.hero-bg-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        160deg,
        rgba(10, 36, 68, 0.82) 0%,
        rgba(15, 52, 96, 0.75) 50%,
        rgba(10, 20, 40, 0.88) 100%
    );
    z-index: 1;
}

.hero-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
    z-index: 2;
}


.hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(255,69,0,.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}


.hero-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.hero-headline {
    font-family: 'Fraunces', serif; 
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -2px;
    color: var(--pk_up_white); 
    margin-bottom: 18px;
    animation: fadeUp .7s .08s cubic-bezier(.22,1,.36,1) both;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--pk_up_secondary); 
    position: relative;
    white-space: nowrap;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pk_up_secondary) 0%, var(--pk_up_warning) 100%); 
    border-radius: 2px;
    opacity: .5;
}

.hero-sub {
    font-family: var(--pk_up_font-family); 
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 44px;
    animation: fadeUp .7s .15s cubic-bezier(.22,1,.36,1) both;
}


.search-shell {
    width: 100%;
    max-width: 750px;
    position: relative;
    z-index: 9999;
    animation: fadeUp .7s .22s cubic-bezier(.22,1,.36,1) both;
}


.search-card {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: var(--pk_up_radius-md); 
    transition: all .25s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.15);
}

.search-card:focus-within {
    border-color: var(--pk_up_secondary); 
    box-shadow: 0 0 0 3px rgba(255,69,0,.2), 0 12px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15);
}


.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
}

.search-input-wrapper svg {
    width: 18px; height: 18px;
    color: rgba(255,255,255,.4);
    flex-shrink: 0;
    margin-right: 12px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--pk_up_font-family); 
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--pk_up_white);
    padding: 20px 0;
    background: transparent;
    caret-color: var(--pk_up_secondary);
}

.search-input::placeholder {
    color: rgba(255,255,255,.38);
    font-weight: 300;
}


.s-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
    margin: 0 2px;
}


.search-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--pk_up_secondary); 
    color: var(--pk_up_white);
    border: none;
    padding: 0 28px;
    cursor: pointer;
    font-family: var(--pk_up_font-family);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .1px;
    border-radius: 0 calc(var(--pk_up_radius-md) - 2px) calc(var(--pk_up_radius-md) - 2px) 0;
    transition: background .2s, box-shadow .2s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

.search-btn:hover {
    background: var(--pk_up_protikriya-orange-dark); 
    box-shadow: 0 4px 14px rgba(255,69,0,.4);
}

.search-btn svg { width: 18px; height: 18px; }

/* Autocomplete box */
#autocomplete-box {
    position: absolute;
    top: calc(100% + 10px);
    left: -18px;
    right: 0;
    background: rgba(10, 28, 58, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--pk_up_radius-md); /* রুট বর্ডার রেডিয়াস */
    overflow: hidden;
    box-shadow: var(--pk_up_shadow-lg); /* রুট শ্যাডো অ্যাড করা হলো */
    z-index: 200;
    display: none;
}

#autocomplete-box.open { display: block; }

@keyframes fadeUp {
    from { opacity:0; transform:translateY(22px); }
    to   { opacity:1; transform:translateY(0); }
}


@media (max-width: 600px) {
    .hero { padding: 70px 16px 200px; }
    .hero-headline { letter-spacing: -1.2px; }
    .search-card { flex-wrap: wrap; border-radius: var(--pk_up_radius); } /* রুট বর্ডার রেডিয়াস */
    .search-input-wrapper { width: 100%; padding: 0 16px; }
    .s-divider { display: none; }
    .search-btn { 
        width: 100%; 
        height: 52px; 
        border-radius: 0 0 var(--pk_up_radius) var(--pk_up_radius); 
        justify-content: center; 
    }
}