@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-gray: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-login {
    border: 1.5px solid var(--primary);
    color: var(--primary) !important;
}

.btn-register {
    background: var(--primary);
    color: #fff !important;
}

.hero-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #fee2e2;
}

.hero-content h1 {
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto 30px;
}

.search-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 14px;
}

.search-input i {
    color: var(--primary);
    margin-right: 10px;
}

.search-input select, 
.search-input input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 0;
    outline: none;
    font-size: 15px;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-search:hover {
    background: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
    cursor: pointer;
    z-index: 9999;
}

.chat-box-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 340px;
    height: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border: 1px solid #cbd5e1;
    flex-direction: column;
    overflow: hidden;
}

.chat-box-header {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.chat-box-body {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.msg-in {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--text-dark);
}

.msg-out {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-box-footer {
    padding: 10px 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
}

.chat-box-footer input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}

.chat-box-footer button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: 0.2s ease;
}

.chat-box-footer button:hover {
    background: var(--primary-dark);
}

footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 30px;
    margin-top: 80px;
    font-size: 15px;
}

footer strong {
    color: #ffffff;
}
/* রেজিস্ট্রেশন ফর্মের জন্য রেসপন্সিভ সিএসএস */
.register-container {
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.register-container input, 
.register-container select, 
.register-container textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 6px;
    margin-bottom: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box; /* মোবাইল স্ক্রিনে বক্স বাইরে চলে যাওয়া রোধ করবে */
    outline: none;
}

.register-container input:focus, 
.register-container select:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.btn-register {
    width: 100%;
    background: #e11d48;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.btn-register:hover {
    background: #be123c;
}

/* মোবাইল ডিভাইসের জন্য অতিরিক্ত প্যাডিং ও ফন্ট সাইজ অ্যাডজাস্টমেন্ট */
@media (max-width: 576px) {
    .register-container {
        margin: 20px 15px;
        padding: 20px;
    }
}