:root {
    /* Primary Brand */
    --navy: #5B1F1F; /* Main Header Maroon */
    --navy-2: #6D2424; /* Navbar */
    --navy-3: #823232; /* Hover */
    /* Gold Theme */
    --orange: #D89A2B; /* Buttons */
    --orange-dark: #B98118; /* Button Hover */
    /* Blue Highlight */
    --blue: #0D6EFD;
    --blue-dark: #0A58CA;
    /* Background */
    --bg: #F4F4F4;
    --card: #FFFFFF;
    /* Borders */
    --border: #E5E5E5;
    /* Text */
    --text: #222222;
    --muted: #777777;
    /* Success */
    --success: #2E8B57;
    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0,0,0,.08);
    --shadow-md: 0 8px 20px rgba(0,0,0,.10);
    --shadow-lg: 0 15px 35px rgba(0,0,0,.15);
}
* {
    box-sizing: border-box
}

html, body {
    overflow-x: hidden;
    max-width: 100%
}

main, header, footer, section {
    max-width: 100%;
    overflow-x: clip
}

body {
    font-family: 'Inter',system-ui,sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
   
}



.page-wrapper {
    height: 100vh;
}

.left-sidebar,
.right-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.main-content {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.tender-page .row {
    align-items: flex-start;
}

.tender-page aside {
    position: sticky;
    top: 20px;
}

#tenderGrid {
    min-height: 500px;
}

    #tenderGrid .col-lg-4 {
        margin-bottom: 25px;
    }
/*.left-sidebar,
.right-sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.main-content {
    height: 100vh;
    overflow-y: auto;*/ /* Sirf center scroll hoga */
    /*overflow-x: hidden;
}*/

a {
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* ===== Header ===== */
.site-header {
    background: #5b1f1f;
    color: #fff;
    box-shadow: var(--shadow-md)
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
    line-height: 1
}

.brand-sub {
    font-size: .7rem;
    color: #ffc107;
    font-weight: 700;
    letter-spacing: 2px
}

.tagline {
    padding: 0 .25rem .5rem;
    line-height: 1.3
}

.search-bar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

    .search-bar .form-control {
        font-size: .85rem;
        padding: .55rem .8rem
    }

        .search-bar .form-control:focus {
            box-shadow: none
        }

.cat-btn {
    background: var(--navy-3);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: .85rem;
    padding: .55rem .9rem;
    white-space: nowrap
}

    .cat-btn:hover, .cat-btn:focus {
        background: #234d8a;
        color: #fff
    }

.btn-orange {
    background: #d89a2b;
    color: #fff;
    border: 0;
    font-weight: 600;
    transition: background .2s,transform .15s
}
.btn-blue {
    background: #0d6efd;
    color: #fff;
    border: 0;
    font-weight: 600;
    transition: background .2s,transform .15s
}

.btn-orange:hover, .btn-orange:focus {
    background: #b77d18;
    color: #fff
}

    .btn-orange:active {
        transform: scale(.97)
    }

.btn-outline-light {
    font-weight: 600
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--orange);
    color: #fff;
    font-size: .65rem;
    border-radius: 50%;
    padding: 1px 5px;
    min-width: 18px;
    text-align: center
}

.cat-nav {
    background: #f57c1f;
    border-top: 1px solid rgba(255,255,255,.08)
}

    .cat-nav .nav-link {
        color: #fff;
        font-size: .85rem;
        padding: .65rem 1rem;
        font-weight: 500;
        transition: color .2s
    }

        .cat-nav .nav-link:hover {
            color: #ffff00;
        }

/* Mobile menu */
.mobile-menu li a {
    display: block;
    padding: .7rem .25rem;
    color: var(--navy);
    font-weight: 500;
    border-bottom: 1px solid var(--border)
}

    .mobile-menu li a:hover {
        color: #0d6efd;
    }

/* ===== Sections ===== */
.section-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s
}

    .section-card:hover {
        box-shadow: var(--shadow-md)
    }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    background: #5b1f1f;
    padding: 9px 9px;
    border-radius: 10px;
}

.section-title {
    font-size: .85rem;
    font-weight: 700;
   
    letter-spacing: .5px;
    text-transform: uppercase;
    position: relative;
   
    padding: 5px;
    border-radius: 5px;
    background: #fff;
    color: #5b1f1f;
    border-left: 4px solid #d89a2b;
}

.section-head .section-title {
    padding-left: 10px;
    border-left: 3px solid var(--orange)
}

.view-all {
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap
}

    .view-all:hover {
        color: var(--orange-dark)
    }

.text-orange {
    color: var(--orange) !important
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient( 135deg, #B64E1E 0%, #D26A35 50%, #F4A261 100% );
    min-height: 260px;
    position: relative;
    box-shadow: var(--shadow-md)
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600') center/cover;
        opacity: .25;
        mix-blend-mode: luminosity
    }

.hero-content {
    position: relative;
    max-width: 600px;
    z-index: 1
}

.hero-title {
    font-size: clamp(1.4rem,3vw,2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.25)
}

.hero-sub {
    color: rgba(255,255,255,.85);
    font-weight: 500
}

.ad-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 5px 10px;
    font-size: .65rem;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: .5px
}

/* ===== Ad slots ===== */
.ad-slot {
    background: #dcd9d0;
    color: #555;
    text-align: center;
    padding: 36px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 1px
}

.ad-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

    .ad-card .ad-img {
        height: 140px;
        background-size: cover;
        background-position: center
    }

/* ===== Tender Cards (Uniform) ===== */
.tender-card {
    background: #fff;
    border: 1px solid #ececec;
    transition: .3s;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease
}

    .tender-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
       border-color:#d89a2b;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
    }

.t-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: #eef1f5;
}

.badge-featured {
    position: absolute;
    top: 8px;
    left: 0;
    background: #d89a2b;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 0 4px 4px 0;
    letter-spacing: .5px;
    box-shadow: var(--shadow-sm)
}

.t-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.t-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
   /* margin-bottom: 6px*/
}

.t-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    color: var(--muted);
    margin-bottom: 6px
}

.t-dept {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.t-loc {
    color: var(--orange);
    font-weight: 600;
    white-space: nowrap
}

    .t-loc i {
        font-size: .75rem
    }

.t-price {
    font-size: .95rem;
    font-weight: 800;
    color: #0d6efd;
    margin-top: auto
}

.t-date {
    font-size: .7rem;
    color: var(--muted);
    border-top: 1px dashed var(--border);
    padding-top: 6px;
    margin-top: 6px
}

    .t-date i {
        margin-right: 3px;
        color: var(--orange)
    }

.tender-card .btn-outline-primary {
    --bs-btn-color: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--navy);
    --bs-btn-hover-border-color: var(--navy);
    font-size: .72rem;
    font-weight: 600;
    padding: .35rem .5rem
}

/* ===== Carousel (universal) ===== */
.tender-carousel {
    padding: 0 4px;
    position: relative
}

    .tender-carousel .carousel-inner {
        padding: 6px 2px 4px
    }

    .tender-carousel .custom-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: var(--orange);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        opacity: 1;
        box-shadow: 0 6px 14px rgba(245,124,31,.4);
        transition: background .2s,transform .2s;
        z-index: 5;
        color: #fff;
        font-size: 1.1rem
    }

        .tender-carousel .custom-arrow:hover {
            background: var(--orange-dark);
            transform: translateY(-50%) scale(1.08);
            color: #fff
        }

    .tender-carousel .carousel-control-prev.custom-arrow {
        left: -18px
    }

    .tender-carousel .carousel-control-next.custom-arrow {
        right: -18px
    }

.custom-indicators {
    position: static;
    margin: 14px 0 0;
    justify-content: center
}

    .custom-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cbd5e1;
        border: 0;
        margin: 0 4px;
        opacity: 1;
        transition: all .25s
    }

        .custom-indicators button.active {
            background: var(--orange);
            width: 24px;
            border-radius: 10px
        }

/* ===== Tender Alerts card ===== */
.alert-card {
    background: linear-gradient(180deg,#fff,#fff8f1);
    border-color: #ffd9b8
}

/* ===== Latest tenders vertical scroller ===== */
.latest-ticker-box {
    overflow: hidden
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #e11d48;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulseDot 1s infinite
}

@keyframes pulseDot {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(225,29,72,.6)
    }

    50% {
        box-shadow: 0 0 0 6px rgba(225,29,72,0)
    }
}

.blink-badge {
    animation: blink 1.2s infinite;
    font-size: .6rem;
    letter-spacing: .5px
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.latest-scroll {
    position: relative;
    height: 450px;
    overflow: hidden;
    mask-image: linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%);
    -webkit-mask-image: linear-gradient(180deg,transparent 0,#000 10%,#000 90%,transparent 100%)
}

.latest-list {
    list-style: none;
    margin: 0;
    padding: 8px 6px;
    animation: scrollUp 18s linear infinite
}

.latest-ticker-box:hover .latest-list {
    animation-play-state: paused
}

.latest-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    margin-bottom: 6px;
    border-left: 3px solid var(--orange);
    background: #f8fafc;
    border-radius: 4px;
    font-size: .75rem;
    animation: itemBlink 2.4s ease-in-out infinite
}

    .latest-list li .lt-title {
        font-weight: 600;
        color: var(--navy);
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .latest-list li .lt-meta {
        color: var(--orange);
        font-weight: 700;
        white-space: nowrap;
        font-size: .7rem
    }

@keyframes scrollUp {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-50%)
    }
}

@keyframes itemBlink {
    0%,100% {
        background: #f8fafc
    }

    50% {
        background: #fff3e6
    }
}

/* ===== Live ticker ===== */
.ticker {
    background: linear-gradient(90deg,var(--navy),var(--navy-2));
    color: #fff;
    box-shadow: var(--shadow-sm)
}

.ticker-label {
    background: var(--orange);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
    letter-spacing: .5px
}

    .ticker-label i {
        margin-right: 4px
    }

/* ===== Categories grid ===== */
.cat-grid .cat-item {
    cursor: pointer;
    padding: 14px 6px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all .2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

    .cat-grid .cat-item:hover {
        background: #fff;
        border-color: var(--orange);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md)
    }

.cat-grid i {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 6px
}

.cat-grid .cat-item div {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text)

}

.cat-grid .cat-item:hover i {
    color: var(--orange)
}

.trust-badge {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    width:100px;
}

/* ===== Why list ===== */
.why-list {
    list-style: none;
    padding-left: 0;
    margin: 0
}

    .why-list li {
        padding: 6px 0;
        display: flex;
        align-items: center;
        gap: 8px
    }

    .why-list i {
        font-size: 1rem
    }

/* ===== H Ad ===== */
.h-ad {
    background: linear-gradient(90deg,#1f3a68,#2d5294);
    position: relative;
    min-height: 80px;
    box-shadow: var(--shadow-sm)
}

.ad-tag-blue {
    background: var(--navy);
    color: #fff;
    padding: 6px 10px;
    font-size: .65rem;
    border-radius: 4px;
    letter-spacing: .5px
}

/* ===== Services ===== */
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all .2s;
    box-shadow: var(--shadow-sm)
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--orange)
    }

.sponsor {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 6px;
    padding: 14px 6px;
    text-align: center;
    font-size: .75rem;
    min-height: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    line-height: 1.1;
    width: 100px;
}

/* ===== Subscribe / Footer ===== */
.subscribe-strip {
    background: linear-gradient(90deg,var(--navy-2),var(--navy))
}

    .subscribe-strip .form-control {
        border: 0;
        padding: .6rem .9rem
    }

        .subscribe-strip .form-control:focus {
            box-shadow: none
        }

.store-btn {
    background: #000;
    color: #fff;
    font-size: .72rem;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px
}

    .store-btn:hover {
        color: #fff;
        background: #222
    }

.site-footer {
    background: #be5825;
    color: #fff
}

    .site-footer h6 {
        font-size: .85rem;
        font-weight: 700;
        letter-spacing: .5px;
        margin-bottom: .9rem;
        color: #fff
    }

    .site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0
    }

        .site-footer ul li {
            margin-bottom: .5rem
        }

            .site-footer ul li a {
                color: rgba(255,255,255,.7);
                font-size: .82rem;
                transition: color .2s
            }

                .site-footer ul li a:hover {
                    color: #0d6efd;
                }

    .site-footer .contact-list li {
        color: rgba(255,255,255,.7);
        font-size: .8rem;
        display: flex;
        align-items: center;
        gap: 6px
    }

    .site-footer .contact-list i {
        color: #ffc107
    }

.social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 50%;
    transition: all .2s
}

    .social a:hover {
        background: var(--orange);
        transform: translateY(-2px)
    }

/* ===== Responsive ===== */
@media(max-width:991px) {
    .hero {
        min-height: 220px
    }

    .hero-title {
        font-size: 1.5rem
    }

    .tender-carousel .carousel-control-prev.custom-arrow {
        left: -6px
    }

    .tender-carousel .carousel-control-next.custom-arrow {
        right: -6px
    }

    .tender-carousel .custom-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,.3)
    }
}

@media(max-width:991px) {
    .featured-wrap {
        margin-bottom: 0
    }
}

@media(max-width:767px) {
    .section-card {
        border-radius: 8px
    }

    .section-head {
        margin-bottom: 10px;
        padding-bottom: 8px
    }

    .ticker-label {
        font-size: .7rem;
        padding: 8px 10px
    }
}

@media(max-width:575px) {
    body {
        font-size: 13px
    }

    .brand-name {
        font-size: 1.25rem
    }

    .brand-sub {
        font-size: .62rem;
        letter-spacing: 1.5px
    }

    .hero {
        min-height: 180px
    }

    .hero-title {
        font-size: 1.15rem
    }

    .hero-sub {
        font-size: .8rem
    }

    .hero-content {
        padding: 1rem !important
    }

    .section-title {
        font-size: .78rem
    }

    .t-title {
        font-size: .78rem;
        min-height: 2.4em
    }

    .t-price {
        font-size: .85rem
    }

    .tender-carousel .custom-arrow {
        width: 32px;
        height: 32px;
        font-size: .9rem
    }

    .tender-carousel .carousel-control-prev.custom-arrow {
        left: -2px
    }

    .tender-carousel .carousel-control-next.custom-arrow {
        right: -2px
    }

    .latest-scroll {
        height: 210px
    }

    .h-ad {
        text-align: center;
        justify-content: center
    }

        .h-ad .ms-auto {
            margin: 0 auto !important
        }

    .subscribe-strip .text-md-end {
        text-align: center !important
    }

    .subscribe-strip .justify-content-md-end {
        justify-content: center !important
    }

    .cat-grid .cat-item {
        padding: 10px 4px
    }

    .cat-grid i {
        font-size: 1.4rem
    }

    .cat-grid .cat-item div {
        font-size: .65rem
    }
}

/* ========== Tenders listing & details ========== */
.page-hero {
    background: #BE5825;
    color: #fff;
    border-bottom: 4px solid #5b1f1f;
}

.page-title {
    font-weight: 800;
    letter-spacing: .3px
}

.page-sub {
    color: rgba(255,255,255,.78)
}

.search-hero .input-group {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.15)
}

.search-hero .form-control {
    box-shadow: none
}

.text-orange {
    color: #FFC107 !important
}

.bg-orange {
    background: #f57c1f !important;
    color: #fff
}

.bg-navy {
    background: #0b2447 !important;
    color: #fff
}

.filter-card {
    border-radius: 12px
}

.filter-heading {
    font-weight: 700;
    color: #0b2447
}

.filter-card .form-check-label {
    font-size: .9rem
}

/* Tender pro card */
.tender-card-pro {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .tender-card-pro:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(11,36,71,.12);
        border-color: #f57c1f
    }

.tcp-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f4f6fa
}

    .tcp-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease
    }

.tender-card-pro:hover .tcp-img img {
    transform: scale(1.06)
}

.tcp-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.tcp-title {
    font-weight: 700;
    color: #0b2447;
    font-size: 1rem;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tcp-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .82rem;
    color: #5b6577;
    margin: 8px 0 10px
}

    .tcp-meta i {
        color: #f57c1f;
        margin-right: 4px
    }

.tcp-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #e6e9ef;
    padding-top: 10px;
    margin-top: auto
}

.tcp-price {
    color: #0b2447;
    font-weight: 800;
    font-size: 1.05rem
}

.tcp-date {
    font-size: .78rem;
    color: #5b6577
}

.tcp-btn {
    margin-top: 10px;
    text-align: center;
    background: linear-gradient(135deg,#f57c1f,#ff9a3d);
    color: #fff;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .85rem;
    transition: filter .2s ease;
}

.tender-card-pro:hover .tcp-btn {
    filter: brightness(1.08)
}

.badge-cat {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .3px
}

.badge-days {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px
}

    .badge-days.ok {
        background: #e7f7ec;
        color: #1f8a3a
    }

    .badge-days.warn {
        background: #fff4e1;
        color: #b46900
    }

    .badge-days.urgent {
        background: #fde7e9;
        color: #c2253b
    }

/* Details page */
.detail-img {
    aspect-ratio: 21/9;
    overflow: hidden;
    background: #f4f6fa
}

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

.detail-info li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #e6e9ef;
    font-size: .92rem
}

    .detail-info li:last-child {
        border-bottom: none
    }

.detail-info span {
    color: #5b6577
}

.footer-bar {
    background: #0b2447;
    color: #fff
}

@media (max-width: 575.98px) {
    .tcp-title {
        font-size: .95rem;
        min-height: 2.5em
    }

    .page-title {
        font-size: 1.5rem
    }
}

/* Ensure top-bar contrast on inner pages */
.top-bar {
    background: #5b1f1f !important;
    color: #fff
}

    .top-bar .brand-text, .top-bar .brand-text strong {
        color: #fff !important
    }

    .top-bar .brand-mark {
        background: #0d2851;
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        margin-right: 8px
    }

/* ===== Pro Filter Sidebar ===== */
.filter-pro {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden
}

    .filter-pro .fp-head {
        background: #5b1f1f;
        color: #fff;
        padding: 12px 14px;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

        .filter-pro .fp-head h6 {
            margin: 0;
            font-size: .85rem;
            font-weight: 700;
            letter-spacing: .5px
        }

        .filter-pro .fp-head .clear-link {
            color: var(--orange-light);
            font-size: .72rem;
            text-decoration: none;
            font-weight: 600
        }

    .filter-pro .fp-body {
      /*  max-height: calc(100vh - 140px);
        overflow-y: auto*/
    }

.fp-section {
    border-bottom: 1px solid var(--border);
    padding: 12px 14px
}

    .fp-section:last-child {
        border-bottom: 0
    }

    .fp-section .fp-title {
        font-size: .78rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #5b1f1f;
        letter-spacing: .5px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 6px
    }

        .fp-section .fp-title i {
            color: #d89a2b;
        }

.fp-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: .82rem;
    color: #374151;
    cursor: pointer
}

    .fp-check input {
        margin-right: 8px
    }

    .fp-check .count {
        color: var(--muted);
        font-size: .72rem
    }

.fp-more {
    font-size: .72rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 4px
}

.fp-input {
    font-size: .8rem
}

.fp-radio-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px
}

.fp-radio {
    font-size: .82rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.fp-cost-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 6px
}

    .fp-cost-row .form-control {
        font-size: .78rem;
        padding: .35rem .5rem
    }

.fp-go {
    background: var(--orange);
    color: #fff;
    border: 0;
    padding: .35rem .8rem;
    font-size: .78rem;
    border-radius: 6px;
    font-weight: 600
}

.fp-date-row {
    display: flex;
    gap: 6px;
    margin-top: 6px
}
/* ===== Category carousel arrows ===== */
.cat-carousel {
    position: relative;
    padding: 0 4px
}

    .cat-carousel .carousel-inner {
        padding: 4px 2px
    }

    .cat-carousel .custom-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        background: var(--orange);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        opacity: 1;
        box-shadow: 0 6px 14px rgba(245,124,31,.4);
        color: #fff;
        font-size: 1rem;
        z-index: 5;
        transition: background .2s,transform .2s
    }

        .cat-carousel .custom-arrow:hover {
            background: var(--orange-dark);
            transform: translateY(-50%) scale(1.08)
        }

    .cat-carousel .carousel-control-prev.custom-arrow {
        left: -18px
    }

    .cat-carousel .carousel-control-next.custom-arrow {
        right: -18px
    }

    .cat-carousel .custom-indicators {
        position: static;
        margin: 12px 0 0;
        justify-content: center
    }

@media(max-width:991px) {
    .cat-carousel .carousel-control-prev.custom-arrow {
        left: -4px
    }

    .cat-carousel .carousel-control-next.custom-arrow {
        right: -4px
    }

    .cat-carousel .custom-arrow {
        width: 34px;
        height: 34px
    }
}
/*====================================================
            PREMIUM TOP CATEGORY SLIDER
====================================================*/

#catCarousel {
    position: relative;
    padding: 0 20px;
}

    #catCarousel .carousel-item {
        padding: 5px 30px;
    }

/*==========================
        CATEGORY CARD
===========================*/

.cat-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #edf2f7;
    height: 125px;
    padding: 15px 15px;
    text-align: center;
    transition: all .35s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

    .cat-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg,#0d6efd,#0dcaf0);
        transform: scaleX(0);
        transform-origin: left;
        transition: .35s;
    }

    .cat-card:hover::before {
        transform: scaleX(1);
    }

    .cat-card:hover {
        transform: translateY(-10px);
        border-color: #0d6efd;
        box-shadow: 0 18px 40px rgba(13,110,253,.20);
    }

/*==========================
        CATEGORY NAME
===========================*/

.cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #1d3557;
    line-height: 20px;
    margin-bottom: 15px;
    transition: .35s;
}


.cat-card:hover .cat-name {
    color: #0d6efd;
}

/*==========================
        CATEGORY COUNT
===========================*/

.cat-count {
    display: inline-block;
    padding: 2px 18px;
    border-radius: 50px;
    background: #f4f8ff;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 600;
    transition: .35s;
    border: 1px solid #dbe8ff;
}

.cat-card:hover .cat-count {
    background: #0d6efd;
    color: #fff;
}

/*==========================
        ARROWS
===========================*/

#catCarousel .carousel-control-prev,
#catCarousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    top: 35%;
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    transition: .35s;
}

#catCarousel .carousel-control-prev {
    left: -20px;
}

#catCarousel .carousel-control-next {
    right: -20px;
}

    #catCarousel .carousel-control-prev:hover,
    #catCarousel .carousel-control-next:hover {
        background: #0d6efd;
        transform: scale(1.08);
    }

#catCarousel .carousel-control-prev-icon,
#catCarousel .carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

#catCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#catCarousel .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/*==========================
        INDICATORS
===========================*/

#catCarousel .carousel-indicators {
    bottom: -35px;
}

    #catCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cfd8dc;
    }

    #catCarousel .carousel-indicators .active {
        background: #0d6efd;
        width: 28px;
        border-radius: 10px;
    }

/*==========================
        MOBILE
===========================*/

@media(max-width:991px) {

    #catCarousel .carousel-item {
        padding: 15px 35px;
    }

    .cat-card {
        height: 135px;
        padding: 20px 10px;
    }

    .cat-name {
        font-size: 18px;
        line-height: 24px;
    }

    .cat-count {
        font-size: 13px;
        padding: 7px 15px;
    }
}

@media(max-width:768px) {

    .cat-card {
        height: 120px;
    }

    .cat-name {
        font-size: 16px;
    }

    .cat-count {
        font-size: 12px;
    }

    #catCarousel .carousel-control-prev,
    #catCarousel .carousel-control-next {
        display: none;
    }
}

@media(max-width:576px) {

    #catCarousel .carousel-item {
        padding: 10px 15px;
    }

    .cat-card {
        height: 110px;
        padding: 15px 8px;
        border-radius: 14px;
    }

    .cat-name {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .cat-count {
        padding: 6px 12px;
        font-size: 11px;
    }
}
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media(max-width:991px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media(max-width:576px) {
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.tender-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tender-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

.t-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff9800;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.badge-type {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #0d6efd;
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
}

.t-body {
    padding: 10px;
}

/*.t-title {
    font-size: 19px;
    font-weight: 700;
    min-height: 60px;
}*/

.t-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin: 1px 0;
    color: #666;
}

.price-box {
    display: flex;
    justify-content: space-between;
    background: #f8f9fb;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 18px;
}

    .price-box h6 {
        margin: 5px 0 0;
        font-size: 18px;
        color: #0d6efd;
        font-weight: 700;
    }

.date-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

.closing-soon {
    background: #ffebee;
    color: #e53935;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.action-btns {
    display: flex;
    gap: 10px;
}

    .action-btns .btn {
        flex: 1;
    }
    .action-btns .btn {
        font-size: 14px !important;
    }

