@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --bkash-pink: #e2136e;
    --bkash-light: #fdedf3;
    --dark: #1e272e;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #fcfcfc;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Responsive Header --- */
header {
    background: var(--white);
    padding: 15px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--bkash-pink);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

/* 3-Dot / Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 3px;
    background: var(--bkash-pink);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 6%;
        background: white;
        flex-direction: column;
        width: 180px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav-links.active { display: flex; }
}

/* --- Hero Section --- */
.hero-container {
    background: linear-gradient(135deg, var(--bkash-pink) 0%, #ff4b91 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.avatar-box img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

#typing-text {
    font-size: 19px;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.5;
    min-height: 60px;
}

.hero-btn {
    background: var(--white);
    color: var(--bkash-pink);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

/* --- Chat Pop-up Animation --- */
.chat-wrapper {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-bubble {
    background: white;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 20px 20px 2px 20px;
    font-size: 13px;
    margin-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--bkash-pink);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.chat-wrapper.active .chat-bubble {
    opacity: 1;
    transform: translateX(0);
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: var(--bkash-pink);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(226, 19, 110, 0.4);
    cursor: pointer;
}

/* --- Entry Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex; justify-content: center; align-items: center;
    z-index: 5000;
    padding: 15px;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.modal-content input, .modal-content select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

@media (min-width: 768px) {
    #typing-text { font-size: 26px; }
    .hero-container { padding: 100px 20px; }
}
