* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif Bengali", serif;
}

/* body {
    background-color: #111;
} */
a {
    text-decoration: none;
    color: #111;
}

img {
    transition: 0.5s;
}

img:hover {
    opacity: 0.7;
}

nav {
    padding: 0 0 3px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.sm-nav-icon {
    display: none;
}

.nav-heading {
    display: flex;
    justify-content: space-between;
}

.nav-logo img {
    width: 350px;
    margin-top: -20px;
}
.nav-ad-img {
    width: 100%;
    margin-left: 15px;
}
.nav-ad-img img {
    width: 100%;
}

.nav-other {
    position: relative;
}

.nav-other .ajker-potrika {
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #c3bdbd;
    color: black;
    transition: 0.5s;
}

.nav-other .ajker-potrika:hover {
    background: red;
    color: #fff;
}

.nav-main {
    padding-top: 0;
}

.nav-main ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.nav-main ul a {
    color: black;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: 0.5s;
}

.nav-main ul a:hover {
    color: red;
}
.nav-icon ul {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    list-style-type: none;
    padding-left: 0;
}

.nav-icon ul li img {
    width: 35px;
    border: 1px solid #c3bdbd;
    padding: 4px;
    border-radius: 4px;
    transition: 0.5s;
}

.nav-icon ul li img:hover {
    opacity: 1;
    background-color: red;
}

.nav-date-sicial {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.nav-date-sicial .nav-date {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-date-sicial .nav-date h5 {
    margin-bottom: 0;
}

/* DSE Stock Market start */
.scroll-container {
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 10px 0;
    box-sizing: border-box;
}

.scroll-content {
    display: flex;
    gap: 15px; /* slightly more spacing for readability */
    align-items: center;
}

.ticker-item {
    background: #f8f8f8;
    padding: 0 30px 0 10px; /* more balanced padding */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    text-align: left;
    font-family: Arial, sans-serif !important;
    color: #0b7a0b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* slightly stronger shadow */
    white-space: nowrap;
    position: relative;
    flex-shrink: 0; /* prevents shrinking in flex container */
}

.ticker-item > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px; /* space between rows */
}

.ticker-item img {
    position: absolute;
    width: 15px; /* slightly larger */
    height: auto;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.ticker-item:hover {
    cursor: pointer;
}

.t-name {
    font-weight: bold;
    font-size: 14px;
}

.t-price {
    font-size: 16px;
    font-weight: bold;
    margin-top: 2px;
}

.t-change,
.t-percent {
    font-size: 13px;
    margin-left: 5px;
}

.green {
    color: #00a000;
}

.red {
    color: #d60000;
}

/* Optional: smooth transition for hover effect */
.ticker-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

/* DSE Stock Market start */

/* Latest News Start */
.latest-news {
    padding: 30px 0;
}

.latest-news-head-part {
    border-bottom: 1px solid #c2bfbf;
    padding-bottom: 20px;
}

.latest-news-head-text h1 {
    font-weight: 700;
    font-size: 35px;
    transition: 0.5s;
}

.latest-news-head-text p {
    color: #737272;
    font-size: 18px;
}

.latest-news-head-text h6 {
    color: #737272;
}

.latest-news-head-img img {
    width: 100%;
    border-radius: 5px;
}

.latest-news-head-part:hover h1 {
    color: red;
}

.latest-news-main-part {
    margin: 10px 0;
}

.latest-news-image {
    width: 100%;
    border-radius: 4px;
}

.latest-news-item {
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    min-height: 150px;
    max-height: 200px;
}

.latest-news-right {
    border: 1px solid #d6d6d6;
    border-radius: 10px;
}

.latest-news-right .right-text-content {
    height: 70vh;
    overflow-y: scroll;
}

.latest-news-right ul {
    background-color: #f1f1f1;
    margin-bottom: 10px;
}

.latest-news-right ul li {
    width: 50%;
}

.latest-news-right ul li button {
    width: 100%;
    color: #111;
    font-weight: 600;
    font-size: 18px;
}

.latest-news-right .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: green !important;
    border: none !important;
    color: #fff;
}

/* .latest-news-right::-webkit-scrollbar {
    display: none;
} */
.latest-news-item a {
    color: #111;
    text-decoration: none;
    transition: 0.5s;
}

.latest-news-item a:hover {
    color: red;
}

.latest-news-right a {
    text-decoration: none;
    color: #111;
    transition: 0.5s;
}

.latest-news-right a:hover {
    color: red;
}

.latest-news-right-item {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #b8b7b7;
    margin-bottom: 10px;
}

.latest-news-right-item img {
    width: 100px;
    height: 60px;
    border-radius: 4px;
}

.latest-news-right-item h4 {
    font-size: 20px;
}

/* Latest News End */


/* Politic News Start */
.politic-heading {
    border-bottom: 2px solid #b8b7b7;
    margin-bottom: 20px;
}

.politic-heading h3 {
    font-size: 40px;
    font-weight: 700;
}

.politic-heading h3 span {
    color: red !important;
}

.politic-left img {
    width: 100%;
    border-radius: 5px;
}

.politic-left h4 {
    margin-top: 10px;
    font-size: 30px;
    transition: 0.5s;
}

.politic-left h4:hover {
    color: red;
}

.politic-left p {
    font-size: 20px;
}

.politic-right-item {
    border: 1px solid #b8b7b7;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: 0.5s;
}

.politic-right-item img {
    width: 100%;
}

.politic-right-item h4 {
    margin-top: 10px;
    padding: 0 10px;
    transition: 0.5s;
}

.politic-right-item:hover h4 {
    color: red;
}

/* Politic News End */


/* Saradesh News Start */
.saradesh {
    margin-top: 50px;
}

.saradesh-heading {
    border-bottom: 2px solid #b8b7b7;
    margin-bottom: 20px;
}

.saradesh-heading h3 {
    font-size: 40px;
    font-weight: 700;
}

.saradesh-heading h3 span {
    color: red !important;
}

.saradesh-news-item {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #b8b7b7;
}

.saradesh-news-item img {
    width: 200px;
    height: 100px;
    border-radius: 5px;
}

/* Saradesh News End */


/* International News Start */
.international {
    margin-top: 50px;
}

.international-heading {
    border-bottom: 2px solid #b8b7b7;
    margin-bottom: 20px;
}

.international-heading h3 {
    font-size: 40px;
    font-weight: 700;
}

.international-heading h3 span {
    color: red !important;
}

.international-right h3 {
    border-bottom: 1px solid #b8b7b7;
}

.international-right-sub-main {
    height: 55vh;
    overflow-y: scroll;
    border: 1px solid gray;
    border-radius: 10px;
}

.international-right-sub-main::-webkit-scrollbar {
    display: none;
}

/* International News End */


/* Sports News Start */
.sports {
    margin-top: 50px;
}

.sports-heading {
    border-bottom: 2px solid #b8b7b7;
    margin-bottom: 20px;
}

.sports-heading h3 {
    font-size: 40px;
    font-weight: 700;
}

.sports-heading h3 span {
    color: red !important;
}

.sports-item {
    margin-bottom: 20px;
}

.sports-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.sports-item h3 {
    font-size: 22px;
    font-weight: 600;
}

.sports-middle {
    text-align: center;
}

.sports-middle img {
    width: 100%;
    border-radius: 5px;
}

.sports-middle h3 {
    margin-top: 10px;
    font-weight: 600;
}

.sports-middle p {
    font-size: 18px;
    color: #4b4a4a;
}

.sports-bottom-item img {
    width: 100%;
    border-radius: 5px;
}

.sports-bottom-item h3 {
    font-size: 22px;
    font-weight: 600;
}

/* Sports News End */


/* Video News Start */
.video {
    margin-top: 50px;
}

.video-heading {
    border-bottom: 2px solid #b8b7b7;
    margin-bottom: 20px;
}

.video-heading h3 {
    font-size: 40px;
    font-weight: 700;
}

.video-heading h3 span {
    color: red !important;
}

.video-main iframe {
    width: 100%;
    border-radius: 5px;
}

.mini-video-item {
    height: 200px;
    margin-top: 20px;
}

/* Video News End */


/* Other css start */
.read-blog-main {
    margin-top: 50px;
}

.blog-breadcome {
    text-decoration: underline;
    color: purple !important;
    margin-bottom: 20px;
}

.blog-breadcome h3 {
    font-weight: 900;
}

.read-blog-banner {
    margin-top: 20px;
    border-top: 1px solid #e0dddd;
    padding-top: 20px;
}

.read-blog-banner img {
    width: 100%;
}

.related-blog {
    position: sticky;
    top: 20px;
}

.view-nav-page-right img {
    border-radius: 10px;
    margin-bottom: 20px;
}

.view-nav-page-right:hover h1 {
    color: red;
}

.view-right-nav-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.view-right-nav-item h3 {
    font-weight: 700;
    font-size: 25px;
    transition: 0.5s;
}

.view-right-nav-item:hover h3 {
    color: red;
}

.view-nav-page-items {
    margin-top: 20px;
    border-top: 1px solid #bdbdbd;
    padding-top: 50px;
}

.view-nav-page-items article {
    color: #767474;
}

.view-nav-page-items h6 {
    color: #767474;
    margin-top: 10px;
}

.view-nav-page-items img {
    border-radius: 10px;
}

.view-nav-bottom-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #bdbdbd;
}

.view-nav-bottom-item:hover h3 {
    color: red;
}

.view-blog-breadcome {
    margin-bottom: 20px;
}

.show-nav-tag ul {
    display: flex;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

.show-nav-tag ul li {
    font-size: 20px;
    font-weight: 700;
}

.show-nav-tag ul li i {
    color: #930ff8;
    font-size: 15px;
}

.read-blog-tags ul {
    display: flex;
    gap: 20px;
    list-style-type: none;
    padding-left: 0;
}

.read-blog-tags ul li {
    border: 1px solid #f05757;
    border-radius: 5px;
    padding: 4px 20px 2px 20px;
    transition: 0.5s;
}

.read-blog-tags ul li:hover {
    background-color: #f05757;
    color: #fff;
}

.video-main img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.watch-video-content iframe {
    width: 100%;
    min-height: 500px;
    border-radius: 10px;
}

#clock {
    color: #111;
    padding: 5px 0;
    border-radius: 10px;
    font-size: 18px !important;
    font-weight: 700;
    user-select: none;
}

.buletin marquee {
    border-radius: 5px;
    padding: 5px 0;
}

.buletin marquee ul {
    display: flex;
    list-style-type: none;
    gap: 20px;
    margin-bottom: 0;
}

.buletin marquee ul li {
    color: black;
    font-size: 18px;
}

.buletin marquee ul li span {
    font-size: 10px;
    color: red !important;
}

.play-button-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.read-blog-comment-main textarea {
    min-height: 150px !important;
}

.read-blog-comment-header {
    display: flex;
    justify-content: space-between;
}

.blog-share-icons {
    display: flex;
    gap: 20px;
}

.blog-share-icons img {
    width: 40px;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 5px;
}

.blog-action-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.blog-action-icons div {
    position: relative;
}

.blog-action-icons div span {
    position: absolute;
    bottom: 0;
    left: 50%;
    background-color: #f1f1f1;
    transform: translate(-50%, 50%);
    padding: 2px 5px;
    border-radius: 4px;
}

.blog-action-icons i {
    font-size: 40px;
    border: 1px solid gray;
    width: 70px;
    height: 100px;
    line-height: 100px;
    border-radius: 5px;
    cursor: pointer;
}

.blog-action-icons i:first-child:hover {
    font-size: 45px;
    border: 1px solid #ff0707;
}

.blog-action-icons i:nth-child(2):hover {
    font-size: 45px;
    border: 1px solid #1a7604;
}

.blog-action-icons i:nth-child(3):hover {
    font-size: 45px;
    border: 1px solid #092988;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.comments-box {
    padding-top: 20px;
}

.comment-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-text h5 {
    font-size: 18px;
}

.comment-text h6 {
    font-size: 13px;
}

.next-icon {
    width: 20px;
}

/* Other End */

/* Play Button */
.play-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6f61, #ffcc00);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 111, 97, 0.7), 0 0 40px rgba(255, 204, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute;
    top: 0;
    right: 0%;
    /* overflow: hidden; */
    z-index: 1;
}

.play-button .play-icon-hover {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translate(100%, -50%);
    background-color: gray;
    color: #fff;
    width: 100px;
    padding: 2px 5px 0 5px;
    border-radius: 5px;
    z-index: -1;
    display: none;
    transition: 0.5s;
}

.play-button:hover .play-icon-hover {
    display: block;
}

/* Play Icon */
.play-button i {
    font-size: 20px;
    color: white;
    margin-left: 5px;
    /* Adjusts the play icon position */
    transition: transform 0.3s ease;
}

/* Glow and Pulse Animation */
.play-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
    border-radius: 50%;
    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* Hover Effects */
.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 111, 97, 0.9), 0 0 60px rgba(255, 204, 0, 0.9);
}

.play-button:hover i {
    transform: scale(1.2);
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.play-button {
    animation: bounce 2s infinite ease-in-out;
}

.search-heading h2 {
    border-bottom: 1px solid gray;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

/* Other css end */


/* Footer Part Start */
footer {
    margin-top: 50px;
    border-top: 1px solid gray;
}

.footer-logo {
    border-bottom: 1px solid #cfcece;
    padding-bottom: 10px;
}

.footer-logo img {
    width: 250px;
    margin-top: 20px;
}

.footer-text {
    margin-top: 20px;
}

.footer-text h4 span {
    font-weight: 700;
}

.footer-text h5 span {
    font-weight: 700;
}

.footer-icon ul {
    list-style-type: none;
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

.footer-icon ul li img {
    width: 40px;
    border: 1px solid gray;
    padding: 5px;
    border-radius: 5px;
    transition: 0.5s;
}

.footer-icon ul li img:hover {
    background-color: red;
    opacity: 1;
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 18px;
}

.copyright p span {
    color: red;
}

/* Footer Part End */


/* flag start */
.search_and_flag {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
}

.flag {
    width: 80px;
    height: 50px;
    overflow: hidden;
    cursor: pointer;
}
.search_and_flag img {
    width: 25px;
}

/* flag end */
.read-blog-user-profile-date {
    display: flex !important;
    gap: 10px !important;
}

.read-blog-user-profile-date .profile img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.read-blog-user-profile-date .name-time h5 {
    font-size: 17px;
}

.read-blog-user-profile-date .name-time h6 {
    font-size: 15px;
    margin-top: -5px;
}

#myCalendar {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}
