 @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@100..900&display=swap');
 @font-face {
    font-family: Noto Serif Bengali;
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

body {
    font-family: "Noto Serif Bengali", serif !important;
    font-family: Noto Serif Bengali, Arial, Helvetica, sans-serif !important;
    background:#f4f7f6!important;
}

.custom-navbar {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
    margin-bottom: 0; /* ঘড়ির সাথে গ্যাপ কমানোর জন্য */
}

.navbar-brand img {/*
    height: 50px; /* লোগোর সাইজ */*/
    width: auto;
    margin-top: -10px;
}

.navbar-nav > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.navbar-nav > li > a:hover {
    color: #e74c3c !important; /* লাল থিম লোগোর সাথে মিল রেখে */
    background: transparent !important;
}

/* মোবাইল মেনু বাটন */
.navbar-toggle {
    border: none;
    margin-top: 15px;
}
.navbar-toggle .icon-bar {
    background-color: #e74c3c;
    height: 3px;
    width: 25px;
}

/* ড্রপডাউন বা বিশেষ বাটন (ঐচ্ছিক) */


@media (max-width: 767px) {
    .navbar-nav {
        text-align: center;
        background: #fff;
        padding-bottom: 20px;
    }
    .nav-live-btn {
        margin: 10px auto;
        display: inline-block;
    }
}

/* ১. ডিজিটাল ঘড়ি */
.clock-section { text-align: center; margin-bottom: 15px; margin-top: 15px}
.digital-clock {
    background: #fff; padding: 5px 15px;
    border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
}
#time { font-size: 30px; font-weight: 700; color: #2c3e50; }

/* ২. পরবর্তী ওয়াক্ত ব্যানার */
.next-namaz-banner {
    height: 140px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white; padding: 10px; border-radius: 20px;
    margin-bottom: 30px; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.countdown { font-size: 30px!important; font-weight: 600; color: #2ecc71!important; }

/* ৩. সেহরি-ইফতার এবং দোয়া (সমান হাইট) */
.flex-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.flex-card { flex: 1; min-width: 300px; background: #fff; padding: 25px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.fasting-time { font-size: 35px; font-weight: 700; color: #c0392b; margin: 10px 0; }
.arabic-text { font-size: 22px; direction: rtl; line-height: 1.8; color: #2c3e50; margin-bottom: 10px; }

/* ৪. নামাজের কার্ড */
.namaj-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.namaj-card { background: #fff; width: 155px; padding: 15px; border-radius: 15px; text-align: center; transition: 0.3s; border: 2px solid transparent; }
.active-now { background: #e8f8f5; border-color: #27ae60; transform: scale(1.05); }
.namaj-card img { width: 40px; margin-bottom: 10px; }

/* ৫. নিউজ সেকশন */
.ramjan-news-section{
    padding: 30px 0px;
}
.news-title-main { border-left: 5px solid #e74c3c; padding-left: 15px; margin-bottom: 25px; font-weight: 700; }
.news-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); }
.news-img { width: 100%; height: 160px; object-fit: cover; }
.news-body h3 {
    padding: 10px;
    margin: 0px;
    font-size: 17px;
    font-weight: 600;
    line-height: 25px;
}
.news-card a{
    color: #2b2b2b;
}
.news-card a:hover{
    text-decoration: none;
}
.news-tag { background: #e74c3c; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
h3.news-title-main a {
    color: #2b2b2b;
}
.mode-badge {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}
h2.v-section-title a {
    color: #2b2b3d;
}
@media (max-width: 768px) { 
    .mode-badge {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}
    .namaj-card { width: 35%; } 
    .flex-card { flex: 1 1 100%; }
.namaj-container{
    gap: 25px;
}
.timer-container {
    margin-top: 15px!important;}
 }
 .ramadan-calendar-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 0px!important;
    border: none!important;
}
.phase-btn {
    padding: 12px 8px!important;
   
}
.sehri-card {
    margin-bottom: 20px;
}
/* ইনফো সেকশন স্টাইল */
.ramjan-infrmation-section{
    padding: 30px 0px;
    background: #ffffff;
}
.ramadan-guidelines {;
}

.guideline-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    height: 100%; /* সমান হাইট নিশ্চিত করবে */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.guideline-card:hover { transform: translateY(-5px); }

/* টাইটেল স্টাইল */
.card-head {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* গুরুত্বপূর্ণ তথ্যের জন্য নীল/সবুজ থিম */
.info-theme { border-top: 6px solid #27ae60; }
.info-theme i-icon { color: #27ae60; }

/* রোজা ভঙ্গের কারণের জন্য লাল থিম */
.danger-theme { border-top: 6px solid #e74c3c; }
.danger-theme i-icon { color: #e74c3c; }

/* লিস্ট স্টাইল */
.guideline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guideline-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* আইকন বুলেটের মতো কাজ করবে */
.guideline-list li::before {
    content: '●';
    position: absolute;
    left: 5px;
    font-size: 18px;
}

.info-theme .guideline-list li::before { color: #27ae60; }
.danger-theme .guideline-list li::before { color: #e74c3c; }

.note-text {
    margin-top: auto;
    padding-top: 15px;
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    border-top: 1px solid #f1f1f1;
}

/* ফ্লেক্সবক্স গ্রিড */
.flex-row-guideline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .flex-row-guideline { display: block; }
    .guideline-card { margin-bottom: 20px; }
}
.video-feed-section {
 padding: 30px 0px;
}

.v-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    border-left: 5px solid #e74c3c;
    padding-left: 15px;
}

.v-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    margin-bottom: 25px;
    position: relative;
}
.v-card a:hover{
    text-decoration: none;
}

.v-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* ভিডিও থাম্বনেইল কন্টেইনার */
.v-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.v-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: 0.5s;
}

.v-card:hover .v-img {
    transform: scale(1.05);
}

/* প্লে বাটন (Font Awesome) */
.v-play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.v-play-btn {
    width: 55px;
    height: 55px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
}

.v-card:hover .v-play-btn {
    background: #e74c3c;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(231, 76, 60, 0.7);
}

/* ভিডিও ডিউরেশন */
.v-time-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.v-content {
    padding: 15px;
}

.v-content h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: #333;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.v-meta {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
}

.phase-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; }
.phase-btn { padding: 12px 25px; border: none; border-radius: 50px; background: #f1f5f9; font-weight: 700; cursor: pointer; transition: 0.3s; color: #64748b; }

/* অ্যাক্টিভ কালার */
.rahmat.active { background: #27ae60; color: #fff; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3); }
.magfirat.active { background: #f39c12; color: #fff; box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3); }
.najat.active { background: #e74c3c; color: #fff; box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3); }

.calendar-table { width: 100%; border-collapse: collapse; }
.calendar-table th { background: #f8fafc; padding: 15px; border-bottom: 2px solid #edf2f7; text-align: center; }
.calendar-table td { padding: 12px; text-align: center; border-bottom: 1px solid #f1f5f9; }

/* আজকের দিন হাইলাইট */
.today-row { 
    background-color: #f0fdf4 !important; /* হালকা সবুজ ব্যাকগ্রাউন্ড */
    font-weight: bold; 
    border-left: 5px solid #27ae60; 
}
/* দশক টেবিল ডিজাইন */
.ramadan-calendar-wrapper { background: #fff; border-radius: 20px; padding: 25px; border:1px solid #ddd }
.filter-seheri-section{
    background: #ffffff;
    padding: 30px 0px;
}
/* ফুটার স্টাইল */
.main-footer {
    background-color: #1e293b;
    color: #f1f5f9;
    padding: 30px 0 0px;
    /* margin-top: 50px; */
    font-family: 'Hind Siliguri', sans-serif;
}

.footer-about {
    color: #94a3b8;
    line-height: 20px;
    font-size: 13px;
}
.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #e74c3c; /* লাল হাইলাইট */
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}
.footer-links li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* সোশ্যাল আইকন */
.social-links {
    margin-top: 20px;
}
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}
.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}



/* স্মার্ট কার্ড স্টাইল - অ্যানিমেটেড গ্র্যাডিয়েন্ট */
.smart-trigger-card {
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px 15px 0 0;
    transition: 0.5s ease;
    background: red;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
}

/* সেহরি ও ইফতারের জন্য আলাদা অ্যানিমেটেড গ্র্যাডিয়েন্ট */
.mode-sehri {
    background: linear-gradient(-45deg, #157347, #27ae60, #1e7e34, #2ecc71);
    animation: gradientBG 10s ease infinite;
    border-bottom: 3px solid #0f5132;
}

.mode-iftar {
    background: linear-gradient(-45deg, #c0392b, #e74c3c, #962d22, #ff5e57);
    animation: gradientBG 10s ease infinite;
    border-bottom: 3px solid #842029;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* টেবিল কন্টেইনার */
.table-container {
    background: #fff;
    padding: 0px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    border: 1px solid #eee;
}

.live-table { width: 100%; border-collapse: collapse; }

.live-table th {
    padding: 5px 10px;
    background: #f8fafc;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    text-align: center;
    color: #334155;
    font-size: 14px;
}

/* সুন্দর স্লাইড অ্যানিমেশন */
.slide-row {
    opacity: 0;
    transform: translateY(20px);
    animation: smoothSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes smoothSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ডিলে ইফেক্ট */
.slide-row:nth-child(1) { animation-delay: 0.1s; }
.slide-row:nth-child(2) { animation-delay: 0.15s; }
.slide-row:nth-child(3) { animation-delay: 0.2s; }
.slide-row:nth-child(4) { animation-delay: 0.25s; }
.slide-row:nth-child(5) { animation-delay: 0.3s; }
.slide-row:nth-child(6) { animation-delay: 0.35s; }
.slide-row:nth-child(7) { animation-delay: 0.4s; }

.live-table td { 
    padding: 5px 10px; 
    text-align: center; 
    border-bottom: 1px solid #f1f5f9; 
    font-size: 15px;
}

#status-label {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    opacity: 0.9;
    color: #fff !important;
}

#timer-val {
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.adsbox-section{
    padding: 10px 0px;

}
.adsboxhere{
    margin: 0 auto;
    text-align: center;
}
/* ফুটার স্টাইল */
.main-footer {
    background-color: #1e293b;
    color: #f1f5f9;
    padding: 30px 0 0px;
    /* margin-top: 50px; */
    font-family: 'Hind Siliguri', sans-serif;
}
.footer-logo img {
    margin-bottom: 20px;
}
.footer-about {
    color: #94a3b8;
    line-height: 20px;
    font-size: 13px;
}
.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #e74c3c; /* লাল হাইলাইট */
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}
.footer-links li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* সোশ্যাল আইকন */
.social-links {
    margin-top: 20px;
}
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}
.social-links a:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* নিচের কপিরাইট অংশ */
.footer-bottom {
    background-color: #0f172a;
    padding: 10px 10px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: #64748b;
}
p.footer-c-text {
    margin-bottom: 0px;
    font-size: 12px;
    color: #f5f5f5;
}


.page-header-wrapper {
    padding: 20px 0px;
    background: #ffffff;
}
.page-header-wrapper .main-page-title{
    margin-top: 0px;
}
.ramjan-calender-section{
    padding: 20px 0px;
}
.read-more-wrapper {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.btn-read-more {
    display: inline-block;
    padding: 12px 35px;
    background-color: #ffffff;
    color: #27ae60;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #27ae60;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.btn-read-more:hover {
    background-color: #27ae60;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.2);
}
.btn-read-more i {
    margin-left: 8px;
    font-size: 12px;
}
.timer-container { margin-top: 30px; margin-bottom: 40px; position: relative; }

/* মেইন কার্ড ডিজাইন */
.status-card {
    background: #fff; border-radius: 25px; padding: 45px 30px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    text-align: center; position: relative; overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid #f1f1f1;
}
.district-box { 
    position: absolute; top: 15px; left: 20px; 
    z-index: 10; display: flex; align-items: center; gap: 5px;
}
.district-box i { color: #27ae60; font-size: 14px; }
.district-box select {
    border: none; background: #f8fafc; font-family: 'Hind Siliguri', sans-serif;
    font-weight: 700; font-size: 13px; color: #475569; outline: none;
    padding: 5px 10px; border-radius: 10px; cursor: pointer;
    transition: 0.3s;
}
.district-box select:hover { background: #f1f5f9; }

/* মোড ব্যাজ */
.mode-badge {
    position: absolute; top: 15px; right: 20px;
    padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    color: #fff; letter-spacing: 0.5px;
}

/* ইফতার ও সেহরি মোড থিম */
.iftar-mode { border-bottom: 8px solid #e74c3c; background: linear-gradient(135deg, #ffffff 0%, #fffafa 100%); }
.iftar-mode .mode-badge { background: #e74c3c; }
.iftar-mode .district-box i { color: #e74c3c; }

.sehri-mode { border-bottom: 8px solid #27ae60; background: linear-gradient(135deg, #ffffff 0%, #f7fff9 100%); }
.sehri-mode .mode-badge { background: #27ae60; display: none}
.sehri-mode .district-box i { color: #27ae60; }

/* টাইমার ডিজাইন */
.event-label { font-size: 15px; color: #64748b; font-weight: 600; margin-bottom: 5px; display: block; }
.main-timer { 
    font-size: 52px; font-weight: 800; color: #1e293b; 
    margin-bottom: 15px; font-family: 'Courier New', Courier, monospace; 
}

/* প্রোগ্রেস বার */
.progress-wrapper { background: rgba(0,0,0,0.04); height: 8px; border-radius: 10px; width: 65%; margin: 0 auto 25px; }
.progress-fill { height: 100%; width: 0%; border-radius: 10px; transition: width 1s linear; }
.iftar-mode .progress-fill { background: #e74c3c; }
.sehri-mode .progress-fill { background: #27ae60; }

/* ইনফো সেকশন */
.time-hints { display: flex; justify-content: space-around; padding-top: 15px; border-top: 1px solid #f1f1f1; }
.hint-box span { display: block; font-size: 11px; color: #94a3b8; font-weight: 700; text-transform: uppercase; }
.hint-box strong { font-size: 19px; color: #334155; display: block; margin-top: 3px; }

.pulse-dot { height: 8px; width: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; animation: pulse 1.5s infinite; }
.iftar-mode .pulse-dot { background: #e74c3c; }
.sehri-mode .pulse-dot { background: #27ae60; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 70% { opacity: 0; transform: scale(2); } 100% { opacity: 0; } }

.prayer-dua-section {
    margin: 40px 0;
    font-family: 'Hind Siliguri', sans-serif;
}
.dua-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border-bottom: 5px solid transparent;
    transition: 0.3s;
}
.sehri-card { border-color: #27ae60; }
.iftar-card { border-color: #e74c3c; }

.dua-card:hover { transform: translateY(-5px); }

.dua-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}
.dua-title {
    font-size: 22px;
    margin: 10px;
    font-weight: 600;
    color: #1e293b;
}
.arabic-text {
    font-family: 'Traditional Arabic', serif;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 35px;
    direction: rtl;
}
.dua-label {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.translation-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}
.divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}
.advertisement.mobile-leaderboard-ad {
    margin-top: 75px;
}