
:root {
    --ntv-primary: #f6931f;
    --ntv-secondary: #0d47a1;
    --ntv-accent: #f6931f;
    --ntv-light: #f8f9fa;
    --ntv-dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.9);
}
body {
    font-family: 'Mukta', sans-serif;
    background-color: var(--ntv-light);
}

/* --- Modern Navbar Styling --- */
.navbar {
    padding: 0.6rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--glass);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
/*    background: linear-gradient(135deg, var(--ntv-primary), #0d47a1);*/
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.4rem;
    box-shadow: 0 4px 8px rgba(26, 35, 126, 0.3);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: rgb(247 152 4);
    font-weight: 600;
}
.nav-link {
    font-weight:500;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .navbar .dropdown .dropdown-menu {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}
.btn-live {
    background: var(--ntv-accent);
    color: white;
    border: solid 1px #bd2130;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    animation: pulse-border 2s infinite;
}

    .btn-live:hover {
        background: #bd2130;
        transform: scale(1.05);
        color: white;
    }

 

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
/* Offcanvas for Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link {
        padding: 10px !important;
        border-bottom: 1px solid #eee;
    }
}

/* News Ticker Wrapper */
.news-ticker-wrapper { 
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 76px; /* Approx navbar height */
    z-index: 1020;
}

.news-ticker-container {
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f3f3f3;
    border-radius: 0 0 12px 12px; 
}

.ticker-label {
    background: var(--ntv-accent);
    color: white;
    padding: 0 25px;
    font-weight: 700;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

    .ticker-label::after {
        content: '';
        position: absolute;
        right: -12px;
        top: 0;
        border-left: 12px solid var(--ntv-accent);
        border-top: 21px solid transparent;
        border-bottom: 21px solid transparent;
    }

.marquee-content {
    font-weight: 500;
    color: #333;
    padding-left: 15px;
    font-size: 0.95rem;
}



#my-video {  
    border-radius: 15px;  
}

.placeholder-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255,255,255,0.4);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.news-card {
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 15px;
    overflow: hidden;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
}

    footer h5 {
        color: white;
        margin-bottom: 25px;
    }

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

    .footer-link:hover {
        color: #38bdf8;
        transform: translateX(5px);
    }











[data-theme='dark'] {
    --ntv-light: #1e293b;
    --glass: rgba(15, 23, 42, 0.9);
    color: #f1f5f9;
}

body {
    font-family: 'Mukta', sans-serif;
    background-color: var(--ntv-light);
    transition: background-color 0.3s ease;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--ntv-primary);
    border-radius: 10px;
}



.logo-box {
/*    background: linear-gradient(135deg, var(--ntv-primary), var(--ntv-secondary));*/
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}




/* --- Video Player Styling --- */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.video-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: #000;
    position: relative;
}

/* --- Weather Widget --- */
.weather-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
}

/* --- News Ticker --- */
.ticker-wrap {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

[data-theme='dark'] .ticker-wrap {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- Program Carousel Custom Styling --- */
.program-carousel-section {
    padding: 40px 0;
    background: rgba(0,0,0,0.02);
}

.carousel-program-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 10px 5px;
}

[data-theme='dark'] .carousel-program-card {
    background: #1e293b;
}

.carousel-program-card img {
    height: 180px;
    object-fit: cover;
    border-bottom: 4px solid var(--ntv-accent);
}

.carousel-program-card .card-body {
    padding: 1.2rem;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--ntv-primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* --- Card Hover Effects --- */
.news-card {
    border: none;
    border-radius: 20px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
}

[data-theme='dark'] .news-card {
    background: #1e293b;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.news-card img {
    border-radius: 20px 20px 0 0;
    height: 129px;
    object-fit: cover
}

/* --- Dark Mode Toggle --- */
.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--ntv-primary);
}



 

.clock-card {
    border-radius: 10px; 
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
 
    position: relative;
    border: 1px solid #dee2e6;
    z-index: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Flag Icon Styling */
.flag-icon {
    width: 70px;
    height: 45px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clock-card:hover .flag-icon {
    transform: scale(1.15);
}

.clock-card:hover {
    border-color: #adb5bd;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.city-name {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2d3436;
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #2d3436;
    font-weight: 700;
    margin: 5px 0;
}

.ampm {
    font-size: 0.85rem;
    margin-left: 4px;
    color: #636e72;
    font-weight: 400;
}

.date-display {
    font-size: 0.7rem;
    color: #636e72;
    font-weight: 500;
    margin-top: 5px;
}

.top-bar {
    background-color: #f6931f;
    color:#fff;
}
.social-icons >a{
    color:#fff;

}



.schedule-wrapper {
    padding: 15px;
    height: 350px;
    overflow-y: auto;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 0 20px rgba(255,153,51,0.4);
}

.schedule-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    color: #ffe6b3;
    letter-spacing: 1px;
}

.schedule-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

    .schedule-item:last-child {
        border-bottom: none;
    }

    .schedule-item:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 8px;
        cursor: pointer;
    }

.program-img {
    width: 75px;
    height: 65px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #ffd700;
}

.program-time {
    font-size: 12px;
    font-weight: bold;
    color: #fffacd;
}

.program-name {
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
    color: #ffffff;
}

.program-desc {
    font-size: 12px;
    color: #ffe6cc;
}

/* Scrollbar */
.schedule-wrapper::-webkit-scrollbar {
    width: 6px;
}

.schedule-wrapper::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}






.blog-title {
    color: #2a7dbf;
    font-size: 22px;
    font-weight: 500;
}

.blog-meta {
    font-size: 14px;
    color: #8a8a8a;
}

.read-more {
    color: #2a7dbf;
    text-decoration: none;
    font-weight: 500;
}

    .read-more:hover {
        text-decoration: underline;
    }

.blog-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}





 
 

.schedule-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 10px 40px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    /* Hide scrollbar but keep functionality */
    .schedule-grid::-webkit-scrollbar {
        height: 8px;
    }

    .schedule-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 10px;
    }

    .schedule-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

.day-card {
    min-width: 320px;
    max-width: 320px;
   
    background: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
   
}

    .day-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--accent-color);
    }

.day-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .day-title span {
        background: #e0e7ff;
        color: #4338ca;
        font-size: 0.75rem;
        padding: 4px 12px;
        border-radius: 20px;
        text-transform: uppercase;
    }

.timeline-wrapper {
    position: relative;
    overflow-y: scroll;
    max-height:80vh;
}

    /* The refined vertical line */
    .timeline-wrapper::before {
        content: '';
        position: absolute;
        left: 70px;
        top: 5px;
        bottom: 5px;
        width: 2px;
        background: linear-gradient(to bottom, transparent, #5e7a9d, transparent);
       
    }

.timeline-wrapper>.program-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    
}

.program-row > .program-time {
    
    font-size: 0.75rem;
    font-weight: 700;
        color: #64748b;
    text-align: right;
    padding-top: 2px;
    margin-right: 15px;
}

.dot-container {
    position: relative;
    z-index: 2;
    margin-right: 15px;
    padding-top: 4px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%; 
     
}

.program-details {
    flex: 1;
}

.program-name {
    font-size: 0.95rem;
    font-weight: 600;
/*    color: #1e293b;*/
    line-height: 1.4;
    margin-bottom: 2px;
}

.program-category {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

/* Pulse animation for 'Live' effect */
.is-live .timeline-dot {
    animation: pulse 2s infinite;
    background-color: #ef4444;
    border-color: #fee2e2;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 576px) {
    .day-card {
        min-width: 290px;
    }
}




#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}












/* Fixed Header & Tabs */

/* Card Styling */
.program-container {
    padding: 15px;
}

.program-card {
    background: var(--bs-white);
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.img-box {
    width: 85px;
    height: 85px;
    min-width: 85px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    align-self: center;
}

    .img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.content-box {
    padding: 5px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.time-text {
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.p-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-duration {
    font-size: 0.7rem;
    background: #eef4ff;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.remarks-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}





.header-title {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tabs-wrapper {
    display: flex;
    overflow-x: auto;
    padding: 10px 15px 15px;
    gap: 10px;
    scrollbar-width: none;
}

    .tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

.day-chip {
    padding: 8px 20px;
    background: #f1f3f4;
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

    .day-chip.active {
        background: var(--ntv-primary);
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
    }


.my-video-dimensions {
    width: 100% !important;
    height: 100% !important;
}

.video-js {
     width: auto; 
     height: auto; 
}





/*light box*/
 

.page-title {
    text-align: center;
    margin-bottom: 32px;
}

    .page-title h1 {
        font-size: 24px;
    }

    .page-title p {
        color: #888;
        font-size: 14px;
    }

.post {
     
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
     
    overflow: hidden;
}

.post-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
}

.post-author {
    font-weight: 600;
    font-size: 14px;
}

.post-time {
    font-size: 12px;
    color: #999;
}

.post-body {
    padding: 16px 20px;
    font-size: 14px;
}

.post-attachments {
  
    padding: 15px;
}

.att {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    height: 200px;
    border-radius: 8px;
    background: #f5f5f5;
    cursor: pointer;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    margin-bottom: 15px;
}

    .att:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
    }

    .att img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .att i {
        font-size: 22px;
        opacity: .5;
    }

    .att .att-label {
        font-size: 11px;
        color: #888;
    }

.cv-single-item {
    display: flex;
}

    .cv-single-item > .att {
        flex: 1;
        min-width: 0;
    }

.section-title {
    max-width: 680px;
    margin: 40px auto 10px;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 6px;
    border-bottom: 2px solid #ddd;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto 16px;
    font-size: 14px;
    color: #666;
}

.api-buttons {
    max-width: 680px;
    margin: 0 auto 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.api-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}

    .api-btn:hover {
        background: #555;
    }

#log {
    max-width: 680px;
    margin: 0 auto 20px;
    background: #1e1e1e;
    color: #8f8;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: monospace;
    font-size: 12px;
    max-height: 160px;
    overflow-y: auto;
    line-height: 1.8;
}

    #log:empty::after {
        content: 'Events appear here...';
        color: #666;
    }

pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 14px 18px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px auto 20px;
    max-width: 680px;
}

.cm {
    color: #6a9955;
}

.kw {
    color: #c586c0;
}

.str {
    color: #ce9178;
}

.fn {
    color: #dcdcaa;
}