/* ===================================================
   ON DEMAND APP SECTION — tvi-demand-*
   =================================================== */

.tvi-demand-section {
    padding: 80px 0 70px;
    background: #0a0f1e;
    position: relative;
    overflow: hidden;
}

/* Background grid pattern */
.tvi-demand-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,100,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,100,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.tvi-demand-section::after {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,120,255,0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* ---- Section Header ---- */
.tvi-demand-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.tvi-demand-label {
    display: inline-block;
    background: rgba(0,100,255,0.15);
    border: 1px solid rgba(0,120,255,0.3);
    color: #5baaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.tvi-demand-heading {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.tvi-demand-heading span {
    background: linear-gradient(90deg, #4d9fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tvi-demand-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.50);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Cards Grid ---- */
.tvi-demand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* ---- Single Card ---- */
.tvi-demand-card {
    display: flex;
    flex-direction: column;
    background: #111827;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.tvi-demand-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 55px rgba(0,80,220,0.30);
    border-color: rgba(77,159,255,0.35);
}

/* ---- Image on top ---- */
.tvi-demand-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.tvi-demand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.tvi-demand-card:hover .tvi-demand-img {
    transform: scale(1.06);
}

/* ---- Text body at bottom ---- */
.tvi-demand-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Colored icon — absolute top-right inside image */
.tvi-demand-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform 0.3s;
}
.tvi-demand-card:hover .tvi-demand-icon {
    transform: scale(1.12) rotate(-5deg);
}

.tvi-demand-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #f0f4ff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.tvi-demand-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.50);
    line-height: 1.7;
    margin: 0 0 16px;
    flex: 1;
}

.tvi-demand-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5baaff !important;
    text-decoration: none !important;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}
.tvi-demand-link i {
    font-size: 11px;
    transition: transform 0.2s;
}
.tvi-demand-card:hover .tvi-demand-link {
    gap: 10px;
    color: #fff !important;
}
.tvi-demand-card:hover .tvi-demand-link i {
    transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .tvi-demand-grid { grid-template-columns: repeat(2, 1fr); }
    .tvi-demand-heading { font-size: 30px; }
}
@media (max-width: 600px) {
    .tvi-demand-grid { grid-template-columns: 1fr; }
    .tvi-demand-section { padding: 50px 0; }
    .tvi-demand-heading { font-size: 26px; }
}
