/*
Author: Minhaj Uddin
Author URI: http://minhaj-it.com/
*/
@font-face {
font-family: 'SolaimanLipi';
src: url('fonts/SolaimanLipiNormal.eot');
src: url('fonts/SolaimanLipiNormal.eot?#iefix') format('embedded-opentype'),
url('fonts/SolaimanLipiNormal.woff2') format('woff2'),
url('fonts/SolaimanLipiNormal.woff') format('woff'),
url('fonts/SolaimanLipiNormal.ttf') format('truetype'),
url('fonts/SolaimanLipiNormal.svg#SolaimanLipiNormal') format('svg');
font-weight: normal;
font-style: normal;
}
*{
font-family: 'SolaimanLipi';
}
html {
scroll-behavior: smooth; /* Smooth scroll effect */
}
body{
    padding-top: 50px;
}
p{
    font-size: 18px !important;
}
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
body {
background-color: #fff;
font-family: 'SolaimanLipi';
transition: background-color 0.3s, color 0.3s;
}
a{
text-decoration: none;
color: #000;
}
/* color */
.brand-color{
color: #124b65;
}
/* Navbar Styles */
.navbar-brand img{
height: 50px;
width: auto;
}
.navbar-custom {
background-color: #0d5963;
}
.navbar{
padding: 0 10px;
}

.navbar-brand {
font-size: 2.2rem;
font-weight: bold;
letter-spacing: -2px;
}

.navbar-brand .post-part {
font-weight: 300;
}

.navbar-nav .nav-link {
color: white;
padding: 0.5rem 1rem;
font-weight: 500;
font-size: 18px;
}

.dropdown-menu {
border-radius: 0.2rem;
}

.header-icons .nav-link {
color: white;
font-size: 1.2rem;
}
@media (max-width: 991.98px) {
    .dropdown-menu {
        display: none;
    }
}
/* Ad Banner */
/* .ad-banner {
background-color: #e9e9ff;
color: #4a4a8a;
font-size: 2rem;
font-weight: bold;
padding: 1rem 0;
border: 2px solid #c9c9f0;
} */
/* tab */
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
color: #194087;
background-color: #0d6efd1c;
border-color: var(--bs-nav-tabs-link-active-border-color);
font-size: 20px;
}
.nav-tabs .nav-link {
font-size: 20px;
}
/* news */
/* Card image zoom effect on hover */
.card .cate-two-zoom5 {
overflow: hidden;
}

.card .cate-two-zoom5 img {
transition: transform 0.4s ease;
height: auto;
}

/* Zoom effect when hovering over the card */
.card:hover .cate-two-zoom5 img {
transform: scale(1.08);
}


/* news6 */
/* Card image zoom effect on hover */
.card .cate-two-zoom6 {
overflow: hidden;
width: 200px;
}

.card .cate-two-zoom6 img {
transition: transform 0.4s ease;
height: auto;
}

/* Zoom effect when hovering over the card */
.card:hover .cate-two-zoom6 img {
transform: scale(1.08);
}





/* ========= news two======== */
/* Card image zoom effect on hover */
.card .cate-two-zoom {
overflow: hidden;
}

.card .cate-two-zoom img {
transition: transform 0.4s ease;
/*height: 200px;*/
}

/* Zoom effect when hovering over the card */
.card:hover .cate-two-zoom img {
transform: scale(1.08);
}

/* Title base style */
.card .news-title-two {
font-size: 18px;
font-weight: 500;
color: #212529; /* Default dark text */
transition: color 0.3s ease;
margin-bottom: 0;
}

/* Title color change when card is hovered */
.card:hover .news-title-two {
color: #3b82f6; /* Dark Blue on hover */
}

/* =====card big==== */
.card{
border: none;
}
.card .cate-two-zoom-big {
overflow: hidden;
}
.card .cate-two-zoom-big img {
transition: transform 0.4s ease;
height: auto;
}
.card:hover .cate-two-zoom-big img {
transform: scale(1.08);
}
.card .news-title-two-big {
font-weight: 500;
color: #212529; /* Default dark text */
transition: color 0.3s ease;
margin-bottom: 0;
}
.card:hover .news-title-two-big {
color: #0d47a1; /* Dark Blue on hover */
}

/* cover news hover */
.card .cover-news-zoom {
overflow: hidden;
}
.card .cover-news-zoom img {
transition: transform 0.4s ease;
width: auto
}
.card:hover .cover-news-zoom img {
transform: scale(1.08);
}

.card .cover-news-zoom1 {
    overflow: hidden;
    width: 300px;
    height: 120px;
}
.card .cover-news-zoom1 img {
transition: transform 0.4s ease;
    width: 200px;
    height: 120px;
    float: right;
}
.card:hover .cover-news-zoom1 img {
transform: scale(1.08);
}

@media (max-width: 991.98px) {
.dropdown-menu {
position: static;
float: none;
}
}
.bb-social-sharing li{
    list-style: none;
    margin: 0;
    display: inline;
    padding: 10px;
}
.bb-social-sharing li a{
    padding: 6px 5px;
    border: 1px solid #686868;
}
/* block */
.ck-content blockquote{
    background-color: #e9f5ff;
    border-left: 4px solid #0d6efd;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}

.card:hover h1, .card:hover .card-title{
    color: #007bff;
}
/* Trending Bar */
.trending-bar {
border-radius: 0.25rem;
}

.trending-bar .trending-label {
background-color: #dc3545;
color: white;
padding: 0.25rem 0.75rem;
font-weight: bold;
margin-right: 10px;
}

.trending-bar a {
color: #495057;
    text-decoration: none;
    padding: 6px 22px;
    font-size: 18px;
}
.trending-bar a:hover {
color: #0d6efd;
}


.trending-bar a{
margin-right: 10px;
background-color: rgb(227 227 227);
}
/* Content Styles */
.main-headline{
border-left: 5px solid #124b65;
padding-left: 10px;
}
.main-headline h1 {
font-size: 2.5rem;
font-weight: 700;
line-height: 1.3;
color: #212529;
}

.main-headline p {
font-size: 1.1rem;
color: #6c757d;
}
.card{
background-color: #ffffff00;
padding: 0;
}

.tag-button {
background-color: #e9ecef;
border: none;
color: #495057;
font-size: 0.9rem;
padding: 0.3rem 1rem;
}

.news-card {
border: none;
transition: background-color 0.3s, border-color 0.3s;
}
.news-card-sm {
border: none;
transition: background-color 0.3s, border-color 0.3s;
}
.h-row{
border-bottom: 1px solid #adb3be;
margin-bottom: 10px;
margin-top: 10px;
}
.border-left{
border-left: 1px solid #cfd1d5;
}
.border-right{
border-right: 1px solid #cfd1d5;
}
.border-bottom{
border-bottom: 1px solid #cfd1d5 !important;
}
.bg-cat-news:hover h4{
color: rgb(59, 127, 245);
}
/* Colorize-zoom Container */

.img-hover-zoom img {
transition: transform 0.3s ease-out;
}
.img-hover-zoom:hover h5{
color: rgb(59, 127, 245);
}

/* The Transformation */

.img-xize{
height: 120px;
width: 200px;
}
.news-card .card-title {
font-weight: 500;
font-size: 19px;
color: #212529;
}
.news-card .card-text {
font-size: 0.9rem;
color: #6c757d;
}
.news-card img {
width: 200px;
}
.news-card-sm .card-title {
font-weight: 500;
font-size: 18px;
color: #212529;
}
.news-card-sm .card-text {
font-size: 18px;
color: #6c757d;
}
.news-card-sm img {
width: 100px;
height: 80px;
object-fit: cover;
margin-left: 15px;
}
.btn-primary{
background-color: #124b65;
}
/* Anchor title style */
.news-title {
text-decoration: none;
color: #212529;
font-weight: 500;
transition: color 0.3s;
font-size: 17px;
}
.lat-tab:hover .news-title {
color: #007bff; /* Blue on hover */
}

/* Fixed image size */
.fixed-img {
/* width: 110px;
height: 75px; */
object-fit: cover;
}
/* Image hover zoom effect */
.img-hover-zoom-tb {
overflow: hidden;
width: 250px;
height: auto;
}
.img-hover-zoom-tb img {
transition: transform 0.4s ease;
width: 100px !important;
    float: right;
}
.img-hover-zoom-tb:hover img {
transform: scale(1.1);
}
.ck-content p img{
    max-width: 100%;
    height: auto;
}
.card-body{
padding: 0;
}
.cover-area .cover-card:first-child{
border-right: 1px solid #adb3be;
}
.topnews .tpcard:nth-child(-n+6){
border-right: 1px solid #adb3be;
margin-bottom: 15px;


}
.opinion-section h4 {
font-weight: 700;
border-bottom: 2px solid #dee2e6;
padding-bottom: 5px;
margin-bottom: 1rem;
border-left: 3px solid #0d5963;
padding-left: 10px;
}

.opinion-item h6 {
font-weight: 600;
color: #212529;
}

.opinion-item p {
font-size: 0.9rem;
color: #dc3545;
}

.opinion-item img {
width: 60px;
height: 60px;
object-fit: cover;
}

/* Notification Dropdown */
.notification-dropdown {
width: 320px;
padding: 0;
}
.notification-dropdown .dropdown-header {
font-weight: bold;
background-color: #f8f9fa;
}
.notification-dropdown .dropdown-item {
white-space: normal;
border-bottom: 1px solid #eee;
font-size: 0.9rem;
}
/* This CSS will make the dropdown menu appear on hover for larger screens */
@media (min-width: 992px) {
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
display: block;
margin-top: 0; /* Removes the small gap */
}
}

/* --- Dark Mode Styles --- */
body.dark-mode {
background-color: #1a1a1a;
color: #e0e0e0;
}
body.dark-mode .navbar-custom { background-color: #1f2937; }
body.dark-mode .ad-banner { background-color: #2c2c3b; color: #d1d1f0; border-color: #4a4a8a; }
body.dark-mode .trending-bar { background-color: #343a40; }
body.dark-mode .trending-bar a { color: #0a0a0a; }
body.dark-mode .main-headline h1, 
body.dark-mode .news-card .card-title,
body.dark-mode .opinion-item h6 { color: #ffffff; }
body.dark-mode .main-headline p, 
body.dark-mode .news-card .card-text { color: #adb5bd; }
body.dark-mode .tag-button { background-color: #343a40; color: #f8f9fa; }
body.dark-mode .card { background-color: #282828; border-color: #444; }
body.dark-mode .opinion-section { border-color: #444; }
body.dark-mode .dropdown-menu { background-color: #282828; border-color: #444; }
body.dark-mode .dropdown-item { color: #e0e0e0; }
body.dark-mode .dropdown-item:hover { background-color: #343a40; }
body.dark-mode .notification-dropdown .dropdown-header { background-color: #343a40; color: #fff; }
body.dark-mode .notification-dropdown .dropdown-item { border-bottom-color: #444; }
body.dark-mode .modal-content { background-color: #282828; color: #e0e0e0; }
body.dark-mode .btn-close { filter: invert(1); }
body.dark-mode .dhaka-post-footer{ background-color: #282828; color: #e0e0e0; }
body.dark-mode .dhaka-post-footer a { color: #e0e0e0; }
body.dark-mode .dhaka-post-footer a i { color: #e0e0e0; }
body.dark-mode .news-title-two { color: #e0e0e0; }
body.dark-mode .news-title-two-big { color: #e0e0e0; }
body.dark-mode .bg-cat-news a{ color: #e0e0e0; }
body.dark-mode .card-title { color: #e0e0e0; }
body.dark-mode .opinion-section a { color: #e0e0e0; }
body.dark-mode .news-title { color: #e0e0e0; }
body.dark-mode .nav-tabs .nav-link.active { color: #e0e0e0; }
body.dark-mode .section-title {color: #f4f4f4;}
body.dark-mode .main-nav .nav-link  {color: #f4f4f4;}
body.dark-mode .cat-main-headline  {color: #f4f4f4;}
body.dark-mode .news-title-link  {color: #f4f4f4;}



.dhaka-post-footer {
    background-color: #eff3f4; /* Light grey-cyan background */
    color: #0d536f; /* Dark teal text color */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 4px solid #0d536f; /* Dark teal top border */
    font-size: 15px;
}

.dhaka-post-footer .logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d536f;
    text-decoration: none;
}

.dhaka-post-footer .footer-nav-links a {
    color: #0d536f;
    text-decoration: none;
    padding: 0.25rem 0.75rem;
}

.dhaka-post-footer .footer-nav-links a:hover {
    text-decoration: underline;
}

.dhaka-post-footer .contact-info span {
    display: inline-block;
    margin-bottom: 0.5rem; /* For spacing on wrap */
}

.dhaka-post-footer .contact-info i {
    margin-right: 5px;
}

.dhaka-post-footer .social-icons .btn {
    color: #0d536f;
    border-color: #b0c1c6;
    border-radius: 4px; /* Slightly rounded corners like the image */
}

.dhaka-post-footer .social-icons .btn:hover {
    background-color: #0d536f;
    color: #fff;
    border-color: #0d536f;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .dhaka-post-footer .text-md-start,
    .dhaka-post-footer .text-md-end {
        text-align: center !important;
    }
    .dhaka-post-footer .logo-column {
        margin-bottom: 1rem;
    }
}
.footer-logo img{
    height: 90px;
}


/* Styling the Offcanvas Header */
.news-hub-header {
    background-color: #0d536f; /* Dark teal background */
    color: white;
}

.news-hub-header .offcanvas-title h5 {
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: bold;
}

.news-hub-header .powered-by {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.news-hub-header .powered-by a {
    color: white;
    font-weight: bold;
}

/* White close button for dark background */
.news-hub-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Styling the Offcanvas Body and news items */
.news-list-item {
    display: block; /* Make the entire area clickable */
    text-decoration: none;
    color: inherit;
    padding: 1rem 0;
}

.news-list-item:hover {
    background-color: #f8f9fa; /* Slight hover effect */
}

.news-list-item .news-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.news-list-item .news-title {
    font-size: 0.95rem;
    color: #212529;
    font-weight: 500;
}

.news-list-item .news-time {
    font-size: 0.8rem;
    color: #6c757d; /* text-muted color */
}

/* Thin separator line */
.offcanvas-body hr {
    margin: 0;
    color: #e9ecef;
}

/* Adjusting offcanvas width */
.offcanvas.offcanvas-end {
    width: 380px;
}

@media (max-width: 576px) {
    .offcanvas.offcanvas-end {
        width: 90%; /* Take more width on smaller screens */
    }
    .main-headline h1 {
  font-size: 24px;
    }
    .news-card img {
  width: 120px;
}
.card .cate-two-zoom6 {
  overflow: hidden;
  width: 120px;
}
}

/* right side popup menu */
.offcanvas-header {
            border-bottom: 1px solid #dee2e6;
        }

        .category-menu .list-group-item {
            border: none;
            border-bottom: 1px solid #dee2e6;
            border-radius: 0;
            padding: 0.9rem 1rem;
            color: #212529;
            font-size: 1rem;
        }
        
        .category-menu .list-group-item:last-child {
            border-bottom: none;
        }

        .category-menu .list-group-item:hover {
            background-color: #f8f9fa;
        }
        
        /* Style for the dropdown toggle */
        .submenu-toggle::after {
            display: none; /* Hide default bootstrap dropdown arrow */
        }
        
        .submenu-toggle .bi-chevron-down {
            transition: transform 0.3s ease;
        }

        .submenu-toggle[aria-expanded="true"] .bi-chevron-down {
            transform: rotate(180deg);
        }

        /* Styling for the submenu items */
        .submenu .list-group-item {
            padding-left: 2.5rem; /* Indent submenu items */
            font-size: 0.95rem;
            background-color: #f8f9fa; /* Slightly different background for submenu */
        }
        
        .submenu .list-group-item:last-child {
            border-bottom: 1px solid #dee2e6;
        }

        /* category */
        .single-cat:hover h2{
            color: #007bff;
        }
        .cat-serice .cover-card h4{
            font-size: 20px;
        }
         .section-title {
            color: #020202; /* Title color */
        }
        
        .main-nav .nav-link {
        color: #333;
        font-weight: 500;
        padding: 0 10px;
        border-right: 1px solid #aaa9a9;
        }
        .main-nav .nav-link:hover {
            color: #0d6efd;
        }

        /* News Item Hover Effects */
        .news-item {
            display: block; /* To make the whole area clickable */
            text-decoration: none;
            color: inherit;
        }
        .news-item:hover .news-title{
            color: #007bff;
        }

        .news-image-wrapper {
            overflow: hidden; /* This is crucial for the zoom effect */
            border-radius: 4px; /* Optional: adds rounded corners to images */
        }

        .news-image-wrapper img {
            transition: transform 0.4s ease-in-out;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .news-item:hover .news-image-wrapper img {
            transform: scale(1.08); /* Zoom effect on hover */
        }
        
        .news-title {
            font-weight: 600;
        }

        .news-title-link-latest {
            text-decoration: none;
            color: #212529; /* Default title color */
            transition: color 0.3s ease;
        }

        .news-item:hover .news-title-link-latest {
            color: #002366; /* Dark Blue on hover */
        }

        .latest-news-item .news-image-wrapper {
            width: 100px;
            height: 75px;
            flex-shrink: 0;
        }

/* single */
.article-container {
           
            border-radius: 8px;
            /* Set a base font size for JS to work with */
            font-size: 20px; 
            line-height: 1.8;
        }

        .article-meta {
            color: #1a1a1a;
        }

        .social-share-buttons .btn {
            background-color: #d3d3d3;
            border: none;
            color: #444;
            font-weight: bold;
        }
        .social-share-buttons .btn:hover {
            background-color: #e2e6ea;
        }

        .read-more-box {
            background-color: #e9f5ff;
            border-left: 4px solid #0d6efd;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 4px 4px 0;
        }
        .read-more-box ul { list-style-type: none; padding-left: 0; }
        .read-more-box li a { text-decoration: none; color: #212529; font-weight: 500; }
        .read-more-box li a:hover { color: #0d6efd; }
        .read-more-box li::before {
            content: "\F287";
            font-family: 'bootstrap-icons';
            color: #0d6efd;
            margin-right: 10px;
            font-size: 0.6em;
            vertical-align: middle;
        }

        .article-tags .btn { background-color: #e9ecef; color: #333; border: none; font-size: 0.9rem; margin-right: 5px; margin-bottom: 5px; }

        /* --- Sticky Sidebar Logic --- */
        .sidebar-sticky-wrapper { position: -webkit-sticky; position: sticky; top: 20px; }
        
        .sidebar-widget-title { font-size: 1.25rem; font-weight: 700; border-bottom: 2px solid #0d6efd; padding-bottom: 0.5rem; margin-bottom: 1rem; }
        .sidebar-post a { text-decoration: none; color: #212529; font-weight: 500; font-size: 19px; }
        .sidebar-post a:hover { color: #0d6efd; }

        /* --- Print Specific Styles --- */
        @media print {
            .no-print {
                display: none !important;
            }
            .container, .article-container {
                padding: 0;
                margin: 0;
                max-width: 100%;
                box-shadow: none;
                border: none;
            }
            .col-lg-8 {
                width: 100% !important;
                flex: 0 0 100%;
            }
        }