﻿
.container,
.container-fluid {
    width: 100%;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

body {
    overflow-x: hidden;
}

html,
body {
    width: 100%;
}

.body_ecm {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 30px;
}

.container_ecm {
    max-width: 1000px;
    margin: auto;
}

.header_ecm {
    text-align: center;
    margin-bottom: 10px;
}

    .header_ecm h1 {
        margin: 0;
        font-size: 28px;
        color: #222;
    }

    .header_ecm p {
        color: #666;
        margin-top: 6px;
    }

.card_ecm {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Table Styles */
.table-responsive-ecm {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    font-size: 15px;
}

th {
    background: #f0f3f8;
    padding: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.party_ecm {
    font-weight: 600;
    text-align: center;
}

/* Bar Styles */
.bar-wrap_ecm {
    background: #e9edf3;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.bar_ecm {
    height: 100%;
    border-radius: 10px;
}

.predicted_ecm {
    background: #0077ff;
}

/* Difference Styling */
.diff-positive_ecm {
    color: #00a859;
    font-weight: 600;
    text-align: center;
}

.diff-negative_ecm {
    color: #e63946;
    font-weight: 600;
}

.variation_ecm {
    color: orangered;
    font-weight: 600;
}

.Actual_Results_ecm {
    color: forestgreen;
    font-weight: 600;
}

/* Footer Note */
.footer-note_ecm {
    margin-top: 5px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

/* =========================
   Summary Cards
   ========================= */

/*.prediction-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
    margin: 1rem 0;
}*/

.prediction-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 10px;
}

.summary-card {
    background: white;
    padding: 1rem;
    border-top: 6px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
}

    .summary-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
        z-index: 10;
    }

.party-icon {
    font-size: 16px;
    text-align: center !important;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #1e293b;
}

.seat-info {
    display: flex;
    font-size: 13px;
    text-align: center !important;
    flex-direction: column;
    gap: 0.5rem;
}

.estimated,
.calculated,
.actual {
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.estimated {
    background: #fef3c7;
    color: #92400e;
}

.actual_ecm {
    background: #00a859;
}

.actual {
    background: #dcfce7;
    color: #166534;
}

.difference {
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    background: #e5e7eb;
    color: #374151;
}

/* Party Card Colors */
.summary-card.jdu-card {
    border-top-color: #237a5e;
    border-left-color: #237a5e;
    border-right-color: #237a5e;
    border-bottom-color: #237a5e;
}

.summary-card.rjd-card {
    border-top-color: #10b981;
    border-left-color: #10b981;
    border-right-color: #10b981;
    border-bottom-color: #10b981;
}

.summary-card.bjp-card {
    border-top-color: #ff9933;
    border-left-color: #ff9933;
    border-right-color: #ff9933;
    border-bottom-color: #ff9933;
}

.summary-card.ljp-card {
    border-top-color: #0000FF;
    border-left-color: #0000FF;
    border-right-color: #0000FF;
    border-bottom-color: #0000FF;
}

.summary-card.rlm-card {
    border-top-color: #9797f0;
    border-left-color: #9797f0;
    border-right-color: #9797f0;
    border-bottom-color: #9797f0;
}

.summary-card.hams-card {
    border-top-color: #964B00;
    border-left-color: #964B00;
    border-right-color: #964B00;
    border-bottom-color: #964B00;
}

.summary-card.vip-card {
    border-top-color: #C46200;
    border-left-color: #C46200;
    border-right-color: #C46200;
    border-bottom-color: #C46200;
}

.summary-card.cpi_m-card {
    border-top-color: #FF2C2C;
    border-left-color: #FF2C2C;
    border-right-color: #FF2C2C;
    border-bottom-color: #FF2C2C;
}

.summary-card.cpi_ml-card {
    border-top-color: #ff7678;
    border-left-color: #ff7678;
    border-right-color: #ff7678;
    border-bottom-color: #ff7678;
}

.summary-card.cpi-card {
    border-top-color: #ed023d;
    border-left-color: #ed023d;
    border-right-color: #ed023d;
    border-bottom-color: #ed023d;
}

.summary-card.aimim-card {
    border-top-color: #046A38;
    border-left-color: #046A38;
    border-right-color: #046A38;
    border-bottom-color: #046A38;
}

.summary-card.sad-card {
    border-top-color: #043fcf;
    border-left-color: #043fcf;
    border-right-color: #043fcf;
    border-bottom-color: #043fcf;
}

.summary-card.aap-card {
    border-top-color: #ffe038;
    border-left-color: #ffe038;
    border-right-color: #ffe038;
    border-bottom-color: #ffe038;
}

.summary-card.rld-card {
    border-top-color: #19b919;
    border-left-color: #19b919;
    border-right-color: #19b919;
    border-bottom-color: #19b919;
}

.summary-card.congress-card {
    border-top-color: #19a7ce;
    border-left-color: #19a7ce;
    border-right-color: #19a7ce;
    border-bottom-color: #19a7ce;
}

.summary-card.sp-card {
    border-top-color: #10b981;
    border-left-color: #10b981;
    border-right-color: #10b981;
    border-bottom-color: #10b981;
}

.summary-card.others-card {
    border-top-color: #999999;
    border-left-color: #999999;
    border-right-color: #999999;
    border-bottom-color: #999999;
}

.summary-card.tmc-card {
    border-top-color: #aebedf;
    border-left-color: #aebedf;
    border-right-color: #aebedf;
    border-bottom-color: #aebedf;
}

.summary-card.aifb-card {
    border-top-color: #ff7979;
    border-left-color: #ff7979;
    border-right-color: #ff7979;
    border-bottom-color: #ff7979;
}

.summary-card.bsp-card {
    border-top-color: #9797f0;
    border-left-color: #9797f0;
    border-right-color: #9797f0;
    border-bottom-color: #9797f0;
}

.summary-card.null-card {
    border-top-color: #f2f2f2;
    border-left-color: #f2f2f2;
    border-right-color: #f2f2f2;
    border-bottom-color: #f2f2f2;
}

.summary-card.ss-shinde-card {
    border-top-color: #FFB97D;
    border-left-color: #FFB97D;
    border-right-color: #FFB97D;
    border-bottom-color: #FFB97D;
}

.summary-card.ss-ubt-card {
    border-top-color: #ffd8b6;
    border-left-color: #ffd8b6;
    border-right-color: #ffd8b6;
    border-bottom-color: #ffd8b6;
}

.summary-card.mns-card {
    border-top-color: #ffecdb;
    border-left-color: #ffecdb;
    border-right-color: #ffecdb;
    border-bottom-color: #ffecdb;
}

.summary-card.ncp-card {
    border-top-color: #5363da;
    border-left-color: #5363da;
    border-right-color: #5363da;
    border-bottom-color: #5363da;
}

.summary-card.ncp-sp-card {
    border-top-color: #4052D6;
    border-left-color: #4052D6;
    border-right-color: #4052D6;
    border-bottom-color: #4052D6;
}

.summary-card.vba-card {
    border-top-color: #3142d1;
    border-left-color: #3142d1;
    border-right-color: #3142d1;
    border-bottom-color: #3142d1;
}

.summary-card.rsp-card {
    border-top-color: #de0000;
    border-left-color: #de0000;
    border-right-color: #de0000;
    border-bottom-color: #de0000;
}

.summary-card.ysrcp-card,
.summary-card.tdp-card,
.summary-card.jsp-card {
    border-top-color: #ff9933;
    border-left-color: #ff9933;
    border-right-color: #ff9933;
    border-bottom-color: #ff9933;
}

/* =========================
   Charts & Images
   ========================= */
.chart-wrap-ecm {
    max-width: 420px;
    margin: 20px auto;
}

.col-md-4 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: 0;
}


/* Single scroll container for table */
.table-scroll-wrapper {
    max-height: 515px;
    overflow-y: auto;
    overflow-x: auto;
    border: 2px solid #ffa8a8;
    -webkit-overflow-scrolling: touch;
}

    /* Sticky header works ONLY inside scroll container */
    .table-scroll-wrapper thead th {
        position: sticky;
        top: 0;
        z-index: 2;
    }

/* Table stability */
.prediction-table {
    width: 100%;
    border-collapse: separate;
}

/* =========================
   Responsive Media Queries
   ========================= */

/* Tablet & below */
@media (max-width: 767px) {
    .body_ecm {
        padding: 15px;
    }

    .container_ecm {
        max-width: 100%;
    }

    .header_ecm h1 {
        font-size: 22px;
    }

    .card_ecm {
        padding: 18px;
    }

    table {
        font-size: 13px;
        min-width: 520px;
    }

    th, td {
        padding: 10px;
    }

    .summary-card {
        padding: 1rem;
    }

    .party-icon {
        font-size: 16px;
    }

    .table-container {
        font-size: 0.8rem;
    }
}

/* Mobile only */
@media (max-width: 480px) {
    .body_ecm {
        padding: 10px;
    }

    .header_ecm h1 {
        font-size: 20px;
    }

    .header_ecm p {
        font-size: 13px;
    }

    .summary-card {
        padding: 0.9rem;
    }

    table {
        font-size: 12px;
    }

    .footer-note_ecm {
        font-size: 12px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-content {
        border-radius: 10px;
    }
}

.excel-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.excel-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.excel-table thead th {
    position: sticky;
    top: 0;
    background: #e9ecef;
    z-index: 2;
}

.table-responsive-excel {
    width: 100%;
    overflow-x: auto;
}

@media print {
    .excel-table {
        font-size: 12px;
    }

        .excel-table th {
            background: #ddd !important;
            color: #000;
        }

        .excel-table,
        .excel-table th,
        .excel-table td {
            border: 1px solid #000 !important;
        }
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    /* ALL cells border */
    .excel-table th {
        border: 1px solid #e2e8f0;
        padding: 8px 10px;
        text-align: center;
        vertical-align: middle;
    }

    .excel-table td {
        border: 1px solid #e2e8f0;
        padding: 8px 10px;
        text-align: center;
        vertical-align: middle;
    }

    /* Header styling */
    .excel-table thead th {
        background: #f2f2f2;
        font-weight: 600;
        text-align: center;
        background-color: #a3a3a9;
    }

    /* District column center align */
    .excel-table td[rowspan] {
        text-align: center;
        font-weight: 600;
        background: #f2f2f2;
    }

/* Mobile scroll */
.table-responsive-excel {
    width: 100%;
    overflow-x: auto;
}

/* Zebra rows */
.excel-table-force tbody tr:nth-child(even) {
    background-color: #f9f9f9 !important;
}

.excel-table-force tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
}
/* Sticky table header */
.excel-table-force thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #eaeaea !important;
}

@media (max-width: 768px) {
    .excel-table-force thead {
        display: none;
    }

    .excel-table-force tr {
        display: block;
        border: 1px solid #333;
        margin-bottom: 10px;
    }

    .excel-table-force td {
        display: block;
        text-align: right;
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 50%;
    }

        .excel-table-force td::before {
            content: attr(data-label);
            position: absolute;
            left: 10px;
            font-weight: bold;
            text-align: left;
        }
}

.party-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Party Colors */
.badge-bjp {
    background: #ff9933;
}

.badge-inc {
    background: #19a7ce;
}

.badge-rjd {
    background: #10b981;
}

.badge-jdu {
    background: #237a5e;
}

.badge-aap {
    background: #ffe038;
}

.badge-rld {
    background: #19b919;
}

.badge-sad {
    background: #043fcf;
}

.badge-cpi {
    background: #ed023d;
}

.badge-ljp {
    background: #0000FF;
}

.badge-rlm {
    background: #9797f0;
}

.badge-hams {
    background: #964B00;
}

.badge-vip {
    background: #C46200;
}

.badge-cpi_m {
    background: #FF2C2C;
}

.badge-cpi_ml {
    background: #ff7678;
}

.badge-sp {
    background: #10b981;
}

.badge-tmc {
    background: #aebedf;
}

.badge-aifb {
    background: #ff7979;
}

.badge-bsp {
    background: #0047AB;
}

.badge-ysrcp {
    background: #0047AB;
}

.badge-tdp {
    background: #0047AB;
}

.badge-jsp {
    background: #0047AB;
}

.badge-aimim {
    background: #046A38;
}

.badge-iip {
    background: #9797f0;
}

.badge-null {
    background: #f2f2f2;
}

.badge-others {
    background: #999999;
}

.badge-ss-shinde {
    background: #FFB97D;
}

.badge-ss-ubt {
    background: #ffd8b6;
}

.badge-mns {
    background: #ffecdb;
}

.badge-ncp {
    background: #5363da;
}

.badge-ncp-sp {
    background: #4052D6;
}

.badge-vba {
    background: #3142d1;
}

.badge-rsp {
    background: #de0000;
}

.badge-ss-shinde-card {
    background: #FFB97D;
}

.badge-ss-ubt-card {
    background: #ffd8b6;
}

.badge-mns-card {
    background: #ffecdb;
}

.badge-ncp-card {
    background: #5363da;
}

.badge-ncp-sp-card {
    background: #4052D6;
}

.badge-vba-card {
    background: #3142d1;
}

.badge-rsp-card {
    background: #de0000;
}

.badge-status_right {
    background: #2e7d32;
}

.badge-status_wrong {
    background: #FA003F;
}

.tdfontsize {
    font-size: 12px;
    font-weight: 700;
    text-shadow: none;
}

.trfontsize {
    font-size: 12px;
    font-weight: 700;
    text-shadow: none;
}

.iso-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 4px;
    margin: 5px;
    display: inline-block;
}

/*FAQ MODAL ONLY STYLES*/

#faqModal .icon {
    transition: transform .25s ease;
}

    #faqModal .icon.rotate {
        transform: rotate(180deg);
    }

#faqModal .faq-answer {
    display: none;
}

#faqModal .faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

#faqModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}
/* QUESTION */
#faqModal .faq-question {
    width: 100%;
    background: #f7f7f7;
    border: none;
    padding: 14px 40px 14px 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    color: #9595d1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    #faqModal .faq-question:focus {
        outline: none;
    }

    /* ICON */
    #faqModal .faq-question .icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: bold;
        color: #5c5ce1;
        transition: color 0.3s ease;
    }

    /* HOVER */
    #faqModal .faq-question:hover {
        background-color: #e6f7ee;
        color: #198754;
    }

        #faqModal .faq-question:hover .icon {
            color: #198754;
        }

/* ANSWER (CLOSED) */
#faqModal .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background: #ffffff;
    border-top: 1px solid #ddd;
    color: #000;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* OPEN STATE */
#faqModal .faq-item.open .faq-answer {
    max-height: 2000px; /* long answer safe */
    padding: 15px 16px;
}

#faqModal .faq-item.open .faq-question {
    background-color: #e6f7ee;
    color: #198754;
}

    #faqModal .faq-item.open .faq-question .icon {
        color: #198754;
    }

/* NO COPY ---------- */
.px-scope {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

    .px-scope * {
        user-select: none;
    }

/*Prediction Table Text Water Mark */
#watermarkTable tbody tr {
    position: relative;
}

#watermarkTable tbody td {
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120px;
}

.row-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    width: 100%;
    text-align: center;
    font-size: 52px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.050) !important;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.fix-header thead th {
    position: sticky;
    top: 0;
    background-color: #a3a3a9;
    z-index: 5;
}
/*END Prediction Table Text Water Mark */

/* ===== IMAGE WATERMARK PREDICTION TABLE ===== */

#watermarkTable1 {
    position: relative;
}

    #watermarkTable1 thead th {
        position: sticky;
        top: 0;
        background: #a3a3a9;
        z-index: 5;
    }

    #watermarkTable1 tbody {
        position: relative;
        z-index: 1;
    }

#watermarkTable2 {
    position: relative;
}

    #watermarkTable2 thead th {
        position: sticky;
        top: 0;
        background: #a3a3a9;
        z-index: 5;
    }

    #watermarkTable2 tbody {
        position: relative;
        z-index: 1;
    }

    @media (max-width: 767px) {
    #watermarkTable2 thead th {
        position: sticky;
        top: 0;
        z-index: 5;
       background: #a3a3a9;
    }
}
.table-image-watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Content/Images/watermarkpredication.png');
    background-repeat: repeat-y;
    background-position: center 60px;
    background-size: 220px auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

#watermarkTable tbody td {
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120px;
}

.row-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    width: 100%;
    text-align: center;
    font-size: 52px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.050) !important;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.fix-header thead th {
    position: sticky;
    top: 0;
    background-color: #a3a3a9;
    z-index: 5;
}

#predictionPdfArea table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
    page-break-inside: auto;
}

#predictionPdfArea tr {
    page-break-inside: avoid;
    page-break-after: auto;
}

@media print {
    tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/*Up-Comming Flip CSS*/
.flip-container {
    perspective: 1000px;
    height: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-image {
    transform-origin: bottom center;
    transform: rotateX(90deg);
    animation: flipFromBottom 2s ease-in-out forwards;
    backface-visibility: hidden;
}

@keyframes flipFromBottom {
    0% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

.flip-card {
    position: relative;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: flipVertical 6s ease-in-out infinite;
}

/* COMMON FACE */
.flip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FRONT IMAGE */
.flip-front {
    transform: rotateX(0deg);
}

/* BACK TEXT */
.flip-back {
    transform: rotateX(180deg);
    font-size: 18px;
    font-weight: bold;
    color: #45a359;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #45a359;
    border-radius: 50%;
    box-sizing: border-box;
}

/* FLIP ANIMATION */
@keyframes flipVertical {
    0% {
        transform: rotateX(0deg);
    }

    40% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(-180deg);
    }

    90% {
        transform: rotateX(-180deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}
/*END Up-Comming Flip CSS*/

.image-badge-parent {
    position: relative;
}

/*Task Completed CSS*/
.img-corner-badge {
    position: absolute;
    top: 0px;
    right: -14px;
    width: 30px;
    height: 30px;
    background: #009719;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
    z-index: 3;
}
/*END Task Completed CSS*/

.upcoming-icon {
    /*font-size: 40px;*/ /* size */
    color: #28a745 !important; /* green */
    font-size: 2.5em !important;
    position: absolute !important;
    top: 0px !important;
    right: -14px !important;
    display: flex !important;
}

.upcoming-icon-text {
    /*font-size: 40px;*/ /* size */
    color: #28a745 !important; /* green */
    font-size: 1.7em !important;
    position: absolute !important;
    top: 0px !important;
    right: -20px !important;
    display: flex !important;
}
/*.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #eee;
    border-top: 6px solid #007bff;
    animation: spin 1s linear infinite;
    position: relative;
    margin: auto;
}

.progress-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}*/
/* ===============================
   PDF DOWNLOAD PROGRESS OVERLAY
   =============================== */

#pdfProgressBar {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

#pdfProgressBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 22px 28px;
    border-radius: 6px;
    width: 260px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#pdfProgressText {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

#pdfProgressTrack {
    width: 100%;
    height: 6px;
    background: #eeeeee;
    border-radius: 4px;
    overflow: hidden;
}

#pdfProgress {
    width: 0%;
    height: 100%;
    background: #d32f2f;
    transition: width 0.3s ease;
}

.cookie-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #213462;
    color: #ffffff;
    padding: 15px 20px;
    display: none;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    animation: cookieSlideIn 0.8s ease-out;
}

    .cookie-strip a {
        color: #38bdf8;
        text-decoration: underline;
    }

.cookie-actions button {
    margin-left: 8px;
}

@keyframes cookieSlideIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ===============================
   LEGAL HUB MODAL ONLY
   =============================== */

#legalHubModal .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden !important;
}

#legalHubModal.modal {
    z-index: 1055 !important;
}

#legalHubModal .modal-backdrop {
    z-index: 1050 !important;
}

/* stacked modal fix */
.modal-backdrop + .modal-backdrop {
    z-index: 1045;
}

/* ===============================
   LEGAL ITEM
   =============================== */

#legalHubModal .legal-item {
    margin-bottom: 6px;
}

#legalHubModal .legal-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #ddd;
}

/* ===============================
   TOGGLE BUTTON
   =============================== */

#legalHubModal .legal-toggle {
    width: 100%;
    text-align: left;
    border: none;
    font-weight: 600;
    padding: 12px 40px 12px 14px;
    cursor: pointer;
    border-radius: 6px;
    background-color: antiquewhite;
    color: #212529;
    position: relative;
    transition: background-color 0.35s ease, color 0.35s ease;
}

    /* Hover */
    #legalHubModal .legal-toggle:hover {
        background-color: #e6f7ee;
        color: #198754;
    }

/* Active / Open */
#legalHubModal .legal-item.open > .legal-toggle {
    background-color: #e6f7ee;
    color: #198754;
}

/* ===============================
   PLUS / MINUS ICON FIX
   =============================== */

#legalHubModal .legal-toggle .icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #198754;
}

/* open state me bhi perfectly straight */
#legalHubModal .legal-item.open .legal-toggle .icon {
    transform: translateY(-50%);
}

/* Default header already inline style me hai,
   hum class se override kar rahe hain */
#exploreHeader {
    background: #8ad9ad !important;
    cursor: pointer;
    padding: 10px 15px;
    background: #007bff;
    font-weight: bold;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

    #exploreHeader:hover {
        background: #77ade7 !important;
    }

    #exploreHeader.open {
        background: #ffa64d61 !important;
    }

#exploreIcon {
    transition: transform 0.3s ease;
}

#exploreHeader.open #exploreIcon {
    transform: rotate(180deg);
}

#exploreContent {
    height: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    border-top: none;
    transition: height 0.4s ease;
}

    #exploreContent.closed {
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border-width: 0 1px 1px 1px;
    }

#mapContainer svg {
    width: 100% !important;
    height: auto !important;
    max-height: 100%;
    display: block;
}

#mapContainer {
    min-height: auto !important;
    height: auto !important;
    align-self: flex-start;
}

#indiaMap {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100%;
}

.rsm-svg {
    height: auto !important;
    min-height: 0 !important;
}

.rsm-svg,
.rsm-geography {
    pointer-events: all !important;
}

#exploreIcon {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

#tooltip {
    position: fixed;
    display: none;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    pointer-events: none;
    z-index: 999999;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #mapContainer {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    #miniMap {
        height: auto;
        min-height: 300px;
        margin-top: 10px;
    }
}

/* Scroll Button & Scroll Progress CSS Right Side Container */
#scrollProgress {
    position: fixed;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 160px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease;
}

    #scrollProgress span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background: #ff9933;
        border-radius: 6px;
        transition: height 0.2s linear;
    }

#scrollBtn {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ff9933;
    color: #fff;
    font-size: 22px;
    font-weight: 900 !important;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.show-scroll {
    opacity: 1 !important;
    pointer-events: auto !important;
}
/*END Scroll Button & Scroll Progress CSS Right Side Container */

/* Sirf ContactLogTable ke liye override */
#ContactLogTable {
    table-layout: auto !important;
    width: auto !important;
}

    #ContactLogTable th,
    #ContactLogTable td {
        white-space: nowrap;
    }

/* Contact form textbox fix */
#contact .form-control {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #ccc !important;
}

    #contact .form-control::placeholder {
        color: #666 !important;
        opacity: 1;
    }

#contact textarea.form-control {
    background-color: #ffffff !important;
}

.Brochure-card {
    border: 2px solid #ff9933;
    border-top: 4px solid #ff9933;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #d7d4d4 !important;
    text-shadow: none !important;
}

.Contact-card {
    border: 2px solid #1ead13;
    border-top: 4px solid #1ead13;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #a6a76f !important;
    text-shadow: none !important;
}



.Active-User-card {
    border: 2px solid #ff003d;
    border-top: 4px solid #ff003d;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #049509 !important;
    text-shadow: none !important;
}

.User-card {
    border: 2px solid #337dff;
    border-top: 4px solid #337dff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #ff383857 !important;
    text-shadow: none !important;
}
/*TV SLIDER WRAPPER*/
.tv-slider-wrapper {
    height: 277px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 5px 0;
}

    /* edge fade effect like TV */
    .tv-slider-wrapper:before,
    .tv-slider-wrapper:after {
        content: "";
        position: absolute;
        top: 0;
        width: 120px;
        height: 100%;
        z-index: 2;
    }

    .tv-slider-wrapper:before {
        left: 0;
        background: linear-gradient(to right,#fff,transparent);
    }

    .tv-slider-wrapper:after {
        right: 0;
        background: linear-gradient(to left,#fff,transparent);
    }

/*SLIDER STRUCTURE*/
.tv-slider {
    overflow: hidden;
}

/* 🔥 FIX 1: width + flex control */
.tv-track {
    display: flex;
    width: max-content;
    gap: 20px !important;
    will-change: transform;
}

/* REMOVE animation completely */

.tv-group {
    display: flex;
    gap: 20px !important;
}

/*SLIDER CARDS*/
.tv-card {
    height: 268px;
    width: 260px;
    flex: 0 0 auto;
    background: #d6f7d6;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    transition: transform 0.6s, box-shadow 0.3s;
}

    .tv-card.active {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(0,0,0,.3);
    }

    .tv-card:hover {
        transform: scale(1.05);
    }

    .tv-card img {
        width: 110px;
        display: block;
        margin: auto;
    }

/*UPCOMING CARD*/
.upcoming-tv-card {
    padding: 19px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100% !important;
    border-radius: 10px;
    background-color: bisque;
}

/* TV slider navigation buttons */
.tv-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 15px 15px;
    line-height: 19px !important;
}

.tv-nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 25px;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0;
    transition: .3s;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-prev {
    left: 0;
}

.tv-next {
    right: 0;
}

.tv-slider-wrapper:hover .tv-nav {
    opacity: 1;
}

.tv-nav:hover {
    background: rgba(0,0,0,.55);
}

/*Upcoming card heading*/
.upcoming-tv-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 15px 15px;
    line-height: 19px !important;
}

.upcoming-tv-card {
    padding: 22px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid #ff9800;
    animation: upcomingGlow 2s infinite alternate;
}

    .upcoming-tv-card:after {
        content: "UPCOMING";
        position: absolute;
        top: 16px;
        right: -40px;
        background: #ff0000;
        color: #fff;
        padding: 2px 40px;
        transform: rotate(45deg);
        font-size: 11px;
        font-weight: bold;
        text-shadow: none;
        margin-top: 5px;
    }

@keyframes upcomingGlow {
    from {
        box-shadow: 0 0 5px rgba(255,152,0,.4);
    }

    to {
        box-shadow: 0 0 20px rgba(255,152,0,.9);
    }
}

body.modal-open-noscroll {
    margin-right: 0 !important;
    overflow: hidden;
}

.modal-open-noscroll .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0 !important;
}

.far {
    background-size: cover;
    font-family: 'Cabin Condensed', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}

svg {
    font-weight: bold;
    max-width: 600px;
    height: auto;
}

h5 {
    font-family: "Paytone One";
    color: #202020;
    text-transform: uppercase;
    letter-spacing: -2px;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

h5 span {
    display: block;
    margin: 11px 0 17px 0;
    font-size: 50px;
    line-height: 80px;
    color: #7a6619;
    text-shadow: 0 13.36px 8.896px #c4b59d,0 -2px 1px #fff;
}

h6 {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    font-size: 15px;
    font-family: Arial, verdana;
}

    h6 span {
        display: block;
        margin: 11px 0 17px 0;
        font-size: 60px;
        line-height: 80px;
        color: #7a6619;
        text-shadow: 0 13.36px 8.896px #c4b59d, 0 -2px 1px #fff;
        letter-spacing: -4px;
    }
/*CM History*/
.cm-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.cm-tooltip {
    position: absolute;
    top: 20px;
    left: 0;
    background: #fff;
    padding-bottom: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 9999;
    display: none;
    width: 700px;
    max-width: 95vw;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
}

.cm-hover:hover .cm-tooltip {
    display: block;
}

.cm-table {
    border-collapse: collapse;
    width: auto;
    font-size: 13px;
    color: #000;
    text-align: left;
    margin-top: 0px;
}

    .cm-table th {
        padding: 4px 8px;
        border: 1px solid #ccc;
        background: #f5f5f5;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
    }

    .cm-table td {
        padding: 4px 8px;
        border: 1px solid #ccc;
        white-space: nowrap;
        text-align: left;
    }

    .cm-table tr:hover {
        background: #f9f9f9;
    }

.cm-tooltip button {
    margin-top: 8px;
    width: 100%;
    font-size: 12px;
    padding: 5px;
}

.cm-hover:hover .cm-tooltip,
.cm-tooltip:hover {
    display: block;
}

.cm-tooltip::-webkit-scrollbar {
    width: 6px;
}

.cm-tooltip::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.cm-tooltip::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.cm-table thead th {
    position: sticky;
    top: 0;
    background: #f5f5f5;
    z-index: 2;
}

.cm-table thead th {
    border-bottom: 2px solid #999;
}

.president-row {
    background-color: #ffe5e5;
    color: #c00000;
    font-weight: 500;
}

.current-row {
    background-color: #e6ffe6;
    color: #006600;
    font-weight: 600;
}

    .current-row:hover {
        background-color: #ccffcc;
    }

.longest-row {
    background-color: #fff8dc;
    color: #b8860b;
    font-weight: 600;
}

    .longest-row td:first-child {
        border-left: 4px solid gold;
    }

    .longest-row:hover {
        background-color: #ffeaa7;
    }

.current-longest {
    background-color: #e6ffe6;
    color: #b8860b;
    font-weight: 700;
}

    .current-longest td:first-child {
        border-left: 4px solid gold;
    }

    .current-longest:hover {
        background-color: #ccffcc;
    }
/*CM History*/

#state-summary-box {
    margin-top: 0px;
}

#miniMap {
    width: 100%;
    min-height: 300px;
}

.MiniMap {
    width: 100%;
    min-height: 300px;
    background-color: transparent !important;
    height: auto;
    border: 1px solid #7ecd5c !important;
    border-top: 3px solid #7ecd5c !important;
    border-left: 3px solid #7ecd5c !important;
    border-radius: 4px !important;
    background: #fff;
    pointer-events: none;
    margin-top: 2px;
}

.teamMiniMap {
    width: 100%;
    min-height: 300px;
    background-color: transparent !important;
    height: auto;
    border: 1px solid red !important;
    border-top: 3px solid red !important;
    border-left: 3px solid red !important;
    border-radius: 4px !important;
    background: #fff;
    pointer-events: none;
    margin-top: 2px;
    margin-bottom: 5px;
}

.summary-card-state {
    background: #eef7ff;
    border-left: 3px solid #007bff;
    border-top: 3px solid #007bff;
    border-right: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    padding: 3px 6px 4px 6px;
    border-radius: 5px;
    font-size: 14px;
    text-align: left;
    margin-top: 4px;
    margin-bottom: 4px;
}

    .summary-card-state p {
        margin: 4px 0;
    }

.intro-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
}

.more-text {
    display: none;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
    text-align: justify;
}

#readMoreBtn {
    color: blue;
    cursor: pointer;
    margin-bottom: 10px;
}

.intro-heading h2 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    display: inline;
    margin-right: 2px;
    margin-top: 0;
}

.intro-heading h3 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    display: inline;
    margin-right: 2px;
    margin-top: 0;
}

.intro-heading more-text p {
    display: inline !important;
}

#Politicals {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#politicalsHeading {
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 22px !important;
    font-style: italic;
    line-height: 1.6;
    text-decoration: underline;
    font-weight: 600;
    color: green;
}

/* 📱 TABLET */
@media (max-width: 991px) {
    #politicalsHeading {
        font-size: 16px !important;
        line-height: 1.5;
    }
}

/* 📱 MOBILE */
@media (max-width: 767px) {
    #politicalsHeading {
        font-size: 14px !important;
        line-height: 1.4;
        text-decoration-thickness: 1px;
    }
}

.politicals-heading p {
    font-size: 14px;
    text-align: justify;
}

.politicals-heading h2 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    display: inline;
    margin-right: 2px;
    margin-top: 0;
}

.politicals-heading h3 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    display: inline;
    margin-right: 2px;
    margin-top: 0;
}

.politicals-Footer-heading h3 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    display: inline;
    margin-right: 2px;
    margin-top: 0;
}
/* Blog Dropdown Fix */
.navbar-nav li.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    background: #fff;
    border-radius: 5px;
}

    .dropdown-menu li a {
        color: gray !important;
        padding: 10px 20px;
    }

        .dropdown-menu li a:hover {
            background: #f5f5f5;
            color: #000 !important;
        }

    /* Submenu Divider Line */
    .dropdown-menu li {
        border-bottom: 1px solid #e5e5e5;
    }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

        .dropdown-menu li a {
            transition: all 0.3s ease;
        }

            .dropdown-menu li a:hover {
                padding-left: 25px;
            }

/* ONLY SCROLL ADD – NOTHING ELSE TOUCH */
.navbar-nav .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.navbar-nav .dropdown-menu {
    min-width: 300px;
}

.dropdown-menu {
    transition: none !important;
}

    .dropdown-menu::-webkit-scrollbar {
        width: 5px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 10px;
    }

.tableSearch:disabled {
    background-color: #eee !important;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .intro-heading h2 {
        font-size: 18px;
    }
}

/* Mobile spacing safety */
@media (max-width: 576px) {
    .iso-img {
        width: 50px;
        height: 50px;
    }
}

/* =========================================
   INDEX HEADER
========================================= */
#mainHeading {
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 30px !important;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    margin: 10px auto 10px;
    color: gray;
    max-width: 1200px;
}

#mainHeadingIndex {
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 30px !important;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    margin: 10px auto 10px;
    color: gray;
    max-width: 1200px;
}

/* =========================================
   ABOUT SECTION
========================================= */

#about .section-heading {
    font-size: 34px;
    margin-bottom: 15px;
}

#about p {
    font-size: 16px;
    line-height: 1.9;
    max-width: 1100px !important;
    margin: 0 auto;
    text-align: justify;
    display: block;
}

/* =========================================
   TIMELINE DEFAULT
========================================= */

.timeline {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 40px;
}

    .timeline:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        margin-left: -1px;
        background: #eeeeee;
    }

    .timeline > li {
        position: relative;
        margin-bottom: 100px;
        min-height: 170px;
    }

        .timeline > li:after,
        .timeline > li:before {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

/* =========================================
   IMAGE
========================================= */

        .timeline > li .timeline-image {
            position: absolute;
            left: 50%;
            width: 170px;
            height: 170px;
            margin-left: -85px;
            border-radius: 100%;
            overflow: hidden;
            z-index: 100;
            border: 7px solid #f1f1f1;
            background: #fed136;
        }

            .timeline > li .timeline-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

/* =========================================
   PANEL
========================================= */

        .timeline > li .timeline-panel {
            position: relative;
            width: 40%;
            float: left;
            /*padding: 0 30px 20px 0;*/
            text-align: right;
        }

        .timeline > li.timeline-inverted .timeline-panel {
            float: right;
            text-align: left;
            /*padding: 0 0 20px 30px;*/
        }

    .timeline .timeline-heading h4 {
        margin-top: 0;
        font-size: 16px;
        font-weight: 700;
    }

    .timeline .timeline-body p {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 1.9;
    }

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    #mainHeading {
        font-size: 22px;
        line-height: 1.6;
    }

    #mainHeadingIndex {
        font-size: 22px;
        line-height: 1.6;
    }

    .timeline > li .timeline-image {
        width: 130px;
        height: 130px;
        margin-left: -65px;
    }

    .timeline > li .timeline-panel {
        width: 38%;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    #mainHeading {
        font-size: 20px !important;
        line-height: 1.7 !important;
        padding: 0 10px;
    }

    #mainHeadingIndex {
        font-size: 20px !important;
        line-height: 1.7 !important;
        padding: 0 10px;
    }

        #mainHeadingIndex br {
            /*display: none;*/
        }

    #about .section-heading {
        font-size: 28px;
    }

    #about p {
        font-size: 18px !important;
        line-height: 1.9 !important;
    }

    /* REMOVE CENTER LINE */
    .timeline:before {
        display: none !important;
    }

    /* EACH ITEM */

    .timeline > li,
    .timeline > li.timeline-inverted {
        margin-bottom: 50px;
        min-height: auto;
        text-align: center;
    }

        /* IMAGE TOP CENTER */

        .timeline > li .timeline-image {
            position: relative;
            left: auto;
            margin: 0 auto 25px;
            width: 120px;
            height: 120px;
        }

        /* FULL WIDTH CONTENT */

        .timeline > li .timeline-panel,
        .timeline > li.timeline-inverted .timeline-panel {
            width: 100% !important;
            float: none !important;
            padding: 0 15px !important;
            text-align: center !important;
        }

    .timeline .timeline-heading h4 {
        font-size: 16px;
    }

    .timeline .timeline-body p {
        font-size: 15px !important;
        text-align: justify !important;
    }
}

/*-------------------------------------------*/
.election-btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.election-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

/* Tablet */
@media(max-width:991px) {

    .election-btn {
        flex: 1 1 calc(50% - 10px);
    }
}

/* Mobile */
@media(max-width:576px) {

    .election-btn {
        flex: 1 1 100%;
    }
}

/*----------India Map--------------*/
.indiaMap-card {
    background-color: white !important;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    max-width: 200px;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

    .indiaMap-card p {
        font-size: 12px;
        line-height: 1.75;
    }


/*Tablet*/

@media(max-width:768px) {

    .indiaMap-card {
        max-width: 100%;
        font-size: 11px;
        padding: 10px;
    }

        .indiaMap-card p {
            font-size: 12px;
            line-height: 1;
        }
}

/* Mobile */
@media(max-width:480px) {

    .indiaMap-card {
        max-width: 100%;
        width: 100%;
        font-size: 10px;
        padding: 8px;
        border-radius: 5px;
    }

        .indiaMap-card p {
            font-size: 10px;
            line-height: 1;
        }
}
/*------------------------------------*/
/* Desktop same as current */
/*.modal-footer-btn {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    justify-content: end;
}

@media(max-width:991px) {
    .modal-footer-btn {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
    }
}

@media(max-width:767px) {
    .modal-footer-btn {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:480px) {
    .modal-footer-btn {
        grid-template-columns: 1fr;
    }
}

.modal-footer-btn .btn {
    width: 100%;
    margin: 0 !important;
    white-space: normal;
}*/

/* Desktop: same Bootstrap style, right aligned */
.modal-footer-btn{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
}

.modal-footer-btn .btn{
    width:auto;
    margin:0 !important;
    white-space:normal;
}

/* Tablet: 3 buttons per row */
@media(max-width:991px){
    .modal-footer-btn{
        display:grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:10px;
    }

    .modal-footer-btn .btn{
        width:100%;
    }
}

/* Mobile: 2 buttons per row */
@media(max-width:767px){
    .modal-footer-btn{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* Small mobile: 1 button */
@media(max-width:480px){
    .modal-footer-btn{
        grid-template-columns:1fr;
    }
}

/*-------------------------------------*/
@media(max-width:991px) {
    .prediction-summary {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:576px) {
    .prediction-summary {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media(max-width:400px) {
    .prediction-summary {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------*/

@media(max-width:991px) {
    #electionCardContainer {
        margin-top: 20px;
    }
}

/*----------------------------*/

/* Mobile + Tablet par hide */
/* Desktop */
.mobile-service-text {
    display: none;
}

/* Mobile + Tablet */
@media(max-width:991px) {

    .desktop-svg {
        display: none;
    }

    .mobile-service-text {
        display: block;
    }
}
/*-------------------------------*/
.contact-heading {
    font-size: 50px;
}

@media(max-width:991px) {
    .contact-heading {
        font-size: 26px;
    }
}

@media(max-width:576px) {
    .contact-heading {
        font-size: 20px;
    }
}

/*------------------------------*/
/* Mobile + Tablet */
@media(max-width:991px) {

    .contact-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        .contact-section > div {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
}
/*--------------------------*/
@media(max-width:991px) {

    .scan-contact-box {
        display: none !important;
    }
}
/*-------------------------------------------*/
@media(max-width:991px) {

    .downloadCount {
        justify-content: center !important;
        text-align: center !important;
    }
}
/*------------------------------*/
@media (max-width: 1199px) {

    #predictionPdfArea {
        width: 100%;
        margin: 0;
        padding: 0;
    }

        #predictionPdfArea .modal-dialog {
            width: 100%;
            max-width: 100%;
            margin: 0;
        }

        #predictionPdfArea .modal-content {
            width: 100%;
            border-radius: 0;
        }
}

/*@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
  }
}*/
/*------------------------------*/
#miniMap {
    display: none;
}


/* Desktop only */
@media (min-width: 992px) {
    #miniMap {
        display: block;
    }
}

#teamMiniMap {
    display: none;
}

@media (min-width: 992px) {
    #teamMiniMap {
        display: block;
    }
}
/*------------------------*/
@media (max-width: 991px) {
    #details {
        margin-top: 32px;
        position: relative;
        padding-top: 10px;
    }

        #details::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: #ccc;
        }
}

@media (max-width: 991px) {
    #team-details {
        margin-top: 32px;
        position: relative;
        padding-top: 10px;
    }

        #team-details::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: #ccc;
        }
}

/*----------------------------------------*/

.floating-call-btn {
    position: fixed;
    left: 15px;
    bottom: 25px;
    background: #e53935;
    color: #fff !important;
    text-decoration: none;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    animation: callPulse 1.8s infinite;
    transition: 0.3s;
    text-shadow: none;
}

    .floating-call-btn i {
        font-size: 22px;
    }

    .floating-call-btn:hover {
        color: #fff;
        text-decoration: none;
        transform: scale(1.05);
    }

/* Pulse Animation */
@keyframes callPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(229,57,53,0.7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(229,57,53,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229,57,53,0);
    }
}

/* Mobile */
@media(max-width:767px) {

    .floating-call-btn {
        left: 10px;
        bottom: 12px;
        padding: 6px 12px;
        font-size: 15px;
    }

        .floating-call-btn i {
            font-size: 20px;
        }
}

.floating-whatsapp-btn {
    position: fixed;
    right: 15px;
    bottom: 25px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    animation: whatsappPulse 1.8s infinite;
    transition: 0.3s;
    text-shadow: none;
}

    .floating-whatsapp-btn i {
        font-size: 22px;
    }

    .floating-whatsapp-btn:hover {
        color: #fff;
        text-decoration: none;
        transform: scale(1.05);
    }

/* Pulse Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* Mobile */
@media(max-width:767px) {
    .floating-whatsapp-btn {
        right: 10px;
        bottom: 12px;
        font-size: 15px;
        padding: 6px 12px;
    }

        .floating-whatsapp-btn i {
            font-size: 20px;
        }
}
/*--------------------------------------------*/

.floating-exitpoll-btn{
    position:fixed;
    left:-40px;  
    top:50%;
    transform:translateY(-50%) rotate(90deg);

    background:#ff4c6b;
    color:#fff !important;
    text-decoration:none;

    display:flex;
    align-items:center;
    gap:8px;

    padding:6px 9px;

    border-radius:10px 10px 0 0;

    font-size:14px;
    font-weight:700;

    z-index:99999;

    box-shadow:0 4px 12px rgba(0,0,0,.3);
    text-shadow:none;

    opacity:0;
    visibility:hidden;

    transition:all .3s ease;
}


/* Scroll hone ke baad */
.floating-exitpoll-btn.show-btn{
    opacity:1;
    visibility:visible;
}

.floating-exitpoll-btn:hover{
    left:-35px;
    color:#fff;
    text-decoration:none;
}

.floating-exitpoll-btn i{
    font-size:18px;
}

#completed-projects{
    scroll-margin-top: 200px;
}
/*-----------------------------------------*/

.welcome-text{
    font-weight: 900;

    /* gradient text */
    background: linear-gradient(90deg, #ff512f, #dd2476);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ccc;

    /* red border on text */
    -webkit-text-stroke: 1px red;
}
.divider-line{
    display: block;
    width: 140px;
    height: 3px;
    margin: 8px auto 10px auto;

    background: linear-gradient(90deg, #ff512f, #dd2476);
    border-radius: 10px;
}