/* ===== TWO-ROW NAVBAR ===== */
.top-bar { background: #fff; border-bottom: 1px solid #eee; }
.logo-bangla { font-size: 11px; color: var(--primary); font-weight: 600; margin-right: -2px; position: relative; top: -8px; }
.logo-caption { font-size: 28px; font-weight: 800; font-style: italic; color: var(--primary); letter-spacing: -1px; }

.top-search-input {
    border: 2px solid #ddd; border-right: none; border-radius: 25px 0 0 25px;
    font-size: 14px; padding: 8px 20px; height: 42px;
}
.top-search-input:focus { border-color: var(--primary); box-shadow: none; }
.top-search-btn {
    background: var(--primary); color: #fff; border: 2px solid var(--primary);
    border-radius: 0 25px 25px 0; font-size: 14px; font-weight: 600;
    padding: 8px 24px; height: 42px;
}
.top-search-btn:hover { background: var(--primary-dark); color: #fff; }

.btn-publish-top {
    background: var(--primary); color: #fff; border: 2px solid var(--primary);
    border-radius: 25px; font-size: 13px; font-weight: 600; padding: 8px 20px;
    white-space: nowrap;
}
.btn-publish-top:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }

.notification-bell { color: #555; font-size: 22px; position: relative; text-decoration: none; }
.notification-bell:hover { color: var(--primary); }
.notif-badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--primary); color: #fff; font-size: 10px;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* Nav Menu Bar */
.nav-menu-bar {
    background: #fff; border-bottom: 2px solid #eee;
    padding: 0; min-height: auto;
}
.nav-menu-bar .nav-link {
    color: #555; font-size: 13.5px; font-weight: 500;
    padding: 12px 16px !important; transition: color 0.2s;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.nav-menu-bar .nav-link:hover { color: var(--primary); }
.nav-menu-bar .nav-link.active {
    color: var(--primary); border-bottom-color: var(--primary);
}
.nav-signin {
    color: #555; font-size: 13px; font-weight: 500;
    text-decoration: none; white-space: nowrap;
}
.nav-signin:hover { color: var(--primary); }

/* Bangla Caption - Red Theme */
:root {
    --primary: #c0392b;
    --primary-dark: #962d22;
    --primary-light: #e74c3c;
    --dark: #1a1a2e;
    --gray-bg: #f5f6fa;
    --border: #e9ecef;
}
body { font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif; background: var(--gray-bg); font-size: 14px; }

/* Navbar */
.navbar-custom { background: var(--primary) !important; }
.navbar-custom .navbar-brand { font-weight: 700; font-size: 1.4rem; }
.navbar-custom .nav-link { font-size: 13px; padding: 8px 12px !important; }
.navbar-custom .nav-link:hover { background: rgba(255,255,255,.15); border-radius: 4px; }
.btn-publish { background: #f39c12; border: none; color: #fff; font-size: 13px; font-weight: 600; }
.btn-publish:hover { background: #e67e22; color: #fff; }

/* Cards */
.card { border: 1px solid var(--border); border-radius: 8px; }
.card-header-red { background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px 8px 0 0 !important; }
.card-header-dark { background: var(--dark); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 12px; }

/* Section headers */
.section-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--primary); display: inline-block; }
.show-more { font-size: 12px; color: var(--primary); text-decoration: none; }
.show-more:hover { text-decoration: underline; }

/* Person cards */
.person-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.person-item:last-child { border-bottom: none; }
.person-item img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid #eee; }
.person-item .person-info { flex: 1; }
.person-item .person-name { font-weight: 600; font-size: 13px; color: #333; display: block; }
.person-item .person-role { font-size: 11px; color: #888; }
.person-item .person-date { font-size: 11px; color: var(--primary); font-weight: 500; }

/* Quote cards */
.quote-item { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 12px; margin-bottom: 8px; font-size: 13px; line-height: 1.6; position: relative; }
.quote-item:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.quote-item .copy-btn { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 2px 8px; }

/* Sidebar widgets */
.widget { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.widget-header { padding: 10px 12px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--border); }
.widget-body { padding: 12px; }

/* Trending profile */
.trending-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f5f5f5; }
.trending-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.trending-item .t-name { font-size: 13px; font-weight: 600; color: #333; }
.trending-item .t-role { font-size: 11px; color: #888; }

/* Birthday filters */
.filter-section h6 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.filter-section a { display: block; font-size: 12px; color: #555; text-decoration: none; padding: 2px 0; }
.filter-section a:hover { color: var(--primary); }

/* Image gallery */
.gallery-item { border-radius: 8px; overflow: hidden; height: 120px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Category cards */
.category-card { transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,.1) !important; }

/* Quote card legacy */
.quote-card { transition: box-shadow 0.2s; border-left: 3px solid var(--primary) !important; }
.quote-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,.08) !important; }

/* Copy button */
.copy-btn { transition: all 0.2s; }
.copy-btn:hover { transform: scale(1.05); }

/* Blog */
.blog-content { line-height: 1.8; font-size: 16px; }
.blog-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Tools */
.font-output { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 15px; margin: 5px 0; cursor: pointer; transition: background 0.2s; }
.font-output:hover { background: #e9ecef; }
.font-output.copied { background: #d4edda; border-color: #28a745; }

/* Calendar */
.calendar-widget table { width: 100%; font-size: 12px; }
.calendar-widget th { text-align: center; padding: 4px; color: #888; font-weight: 500; }
.calendar-widget td { text-align: center; padding: 4px; }
.calendar-widget td a { display: block; padding: 2px; border-radius: 4px; color: #333; text-decoration: none; }
.calendar-widget td a:hover { background: var(--primary); color: #fff; }
.calendar-widget td.today a { background: var(--primary); color: #fff; border-radius: 4px; }

/* Footer */
.footer-dark { background: #1a1a2e; }
.footer-dark h5, .footer-dark h6 { color: #fff; }
.footer-dark a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; }
.footer-dark a:hover { color: #fff; }
.footer-dark .social-icons a { font-size: 18px; margin-right: 12px; }
.newsletter-input { border-radius: 20px 0 0 20px; font-size: 13px; }
.newsletter-btn { border-radius: 0 20px 20px 0; background: var(--primary); border: none; font-size: 13px; }

/* Why choose us */
.why-section { background: #fff; padding: 40px 0; }
.why-section h2 { font-size: 22px; font-weight: 700; }

@media (max-width: 768px) {
    .navbar-brand { font-size: 1rem; }
}
/* Bangla Image Gallery */
.bangla-image-card {
    border-radius: 10px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.bangla-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    border-radius: 10px;
}
.bangla-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.bangla-image-text {
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


/* Birthday person items */
.birthday-person-item { transition: background 0.15s; border-bottom: 1px solid #f5f5f5; }
.birthday-person-item:hover { background: #fafafa; }

/* Calendar nav buttons */
.cal-nav-btn {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 12px;
}
.cal-nav-btn:hover { background: var(--primary-dark); color: #fff; }
.cal-footer-link { font-size: 13px; color: var(--primary); text-decoration: none; }
.cal-footer-link:hover { text-decoration: underline; }




/* Footer Refined */
.footer-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-heading { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-link { display: block; font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; padding: 4px 0; }
.footer-link:hover { color: #fff; }
.social-circle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6); font-size: 16px; text-decoration: none;
    transition: all 0.2s;
}
.social-circle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.newsletter-input-new {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    color: #fff; border-radius: 25px 0 0 25px; padding: 10px 16px; font-size: 13px;
    flex: 1;
}
.newsletter-input-new::placeholder { color: rgba(255,255,255,.3); }
.newsletter-input-new:focus { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); box-shadow: none; color: #fff; }
.newsletter-btn-new {
    background: var(--primary); color: #fff; border: 1px solid var(--primary);
    border-radius: 0 25px 25px 0; font-size: 13px; font-weight: 600; padding: 10px 24px;
    white-space: nowrap;
}
.newsletter-btn-new:hover { background: var(--primary-dark); color: #fff; }


/* 5-Column Filter Grid */
.filter-row-5 { display: flex; flex-wrap: wrap; gap: 12px; }
.col-filter { flex: 0 0 calc(20% - 10px); min-width: 0; }
@media (max-width: 1200px) { .col-filter { flex: 0 0 calc(33.33% - 8px); } }
@media (max-width: 768px) { .col-filter { flex: 0 0 calc(50% - 6px); } }
@media (max-width: 480px) { .col-filter { flex: 0 0 100%; } }

/* Decorative Filter Cards */
.filter-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid #ddd;
}
.filter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.filter-card-red { border-top-color: #c0392b; }
.filter-card-blue { border-top-color: #2980b9; }
.filter-card-green { border-top-color: #27ae60; }
.filter-card-orange { border-top-color: #e67e22; }
.filter-card-purple { border-top-color: #8e44ad; }

.filter-card-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    background: #fcfcfc;
}
.filter-card-header span {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.filter-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.filter-card-red .filter-icon { background: #fde8e8; color: #c0392b; }
.filter-card-blue .filter-icon { background: #e8f0fd; color: #2980b9; }
.filter-card-green .filter-icon { background: #e8fdf0; color: #27ae60; }
.filter-card-orange .filter-icon { background: #fdf3e8; color: #e67e22; }
.filter-card-purple .filter-icon { background: #f3e8fd; color: #8e44ad; }

.filter-card-list {
    list-style: none;
    padding: 10px 16px;
    margin: 0;
}
.filter-card-list li {
    padding: 4px 0;
    border-bottom: 1px solid #f8f8f8;
}
.filter-card-list li:last-child { border-bottom: none; }
.filter-card-list li a {
    font-size: 12.5px;
    color: #444;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.15s;
}
.filter-card-list li a:hover { color: var(--primary); }

.filter-count {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}
.pagination { margin-top: 24px; margin-bottom: 24px; }
