/* ==========================================
   ARCHO CIVIL TENDERS - COMPLETE PREMIUM STYLE SYSTEM
   ========================================== */

:root {
    /* Brand Colors (UP eTender Real Color Scheme - Maroon & Terracotta) */
    --navy-dark: #7A0016;      /* Rich Maroon for main header logo background */
    --navy-medium: #b34a12;    /* Terracotta Brown/Orange for category navigation bar */
    --navy-light: #d6641e;     /* Brighter accent terracotta */
    --orange-primary: #C85A17; /* Saffron/Terracotta Orange for buttons/links */
    --orange-hover: #9c3c0c;   /* Darker terracotta hover */
    
    /* Neutral Colors */
    --bg-light: #f7f5f2;       /* Warm cream/off-white background */
    --card-bg: #FFFFFF;
    --border-color: #e2dcd3;   /* Soft warm grey border */
    --text-main: #33221e;      /* Warm dark charcoal/brown text */
    --text-muted: #6e5e5b;     /* Muted warm grey text */
    --text-light: #a69895;     /* Light warm grey text */
    
    /* Shadows & Transitions */
    --shadow-subtle: 0 4px 12px rgba(122, 0, 22, 0.04);
    --shadow-premium: 0 10px 30px rgba(122, 0, 22, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Top Header */
.site-header {
    background: #7a0016;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Custom Search Box */
.header-search-container {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.header-search-category {
    border: none;
    background: #F8FAFC;
    color: var(--text-main);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 16px;
    border-right: 1px solid var(--border-color);
    outline: none;
    cursor: pointer;
}

.header-search-input {
    border: none;
    outline: none;
    font-size: 13px;
    padding: 10px 16px;
    flex-grow: 1;
    color: var(--text-main);
}

.header-search-input::placeholder {
    color: var(--text-light);
}

.header-search-btn {
    background: var(--orange-primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.header-search-btn:hover {
    background: var(--orange-hover);
}

/* Location Selector */
.location-selector {
    color: #FFFFFF;
    cursor: pointer;
    font-size: 12px;
}
.location-selector span {
    font-size: 10px;
    color: var(--text-light);
    display: block;
}

/* Cart & Header Actions */
.become-seller {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.become-seller:hover {
    color: var(--orange-primary);
}

.cart-icon-container {
    position: relative;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
}

.cart-icon-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--orange-primary);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Buttons */
.btn-orange {
    background-color: var(--orange-primary);
    color: #FFFFFF !important;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    transition: var(--transition-smooth);
}
.btn-orange:hover {
    background-color: var(--orange-hover);
}

.btn-navy-outline {
    background-color: transparent;
    color: var(--navy-dark) !important;
    border: 1px solid var(--navy-dark);
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    transition: var(--transition-smooth);
}
.btn-navy-outline:hover {
    background-color: var(--navy-dark);
    color: #FFFFFF !important;
}

.btn-navy-outline-white {
    background-color: transparent;
    color: #FFFFFF !important;
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    transition: var(--transition-smooth);
}
.btn-navy-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
}

/* Category Navbar */
.cat-nav {
    background-color: var(--navy-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-nav .nav-link {
    color: #E2E8F0;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 5px;
    transition: var(--transition-smooth);
}

.cat-nav .nav-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
}

.cat-nav .nav-link.active {
    color: #FFFFFF;
    background-color: var(--navy-light);
    border-bottom: 2px solid var(--orange-primary);
}

/* Dropdown Hover opening on Desktop */
@media (min-width: 992px) {
    .cat-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .cat-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid var(--border-color);
        background-color: #FFFFFF;
        padding: 8px 0;
        min-width: 200px;
    }
}

.cat-nav .dropdown-menu .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 20px;
    transition: var(--transition-smooth);
}

.cat-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--orange-primary);
    padding-left: 24px;
}

/* Scrollable dropdown for large lists like departments/states */
.cat-nav .dropdown-menu.scrollable-menu {
    max-height: 280px;
    overflow-y: auto;
}

/* Page Layout Grid */
.main-wrapper {
    display: flex;
    gap: 16px;
    padding: 16px;
}

/* Filters Sidebar (Common across home & listing page) */
.filters-sidebar, .filter-pro {
    width: 260px;
    flex-shrink: 0;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    padding: 16px;
}

.filters-header, .fp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.filters-header h5, .fp-head h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0;
}

.filters-header .clear-all, .fp-head .clear-link {
    font-size: 12px;
    font-weight: 600;
    color: #0284C7;
    text-decoration: none;
}

.filter-section, .fp-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.filter-section:last-child, .fp-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title, .fp-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.filter-option, .fp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-main);
    margin-bottom: 8px;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"],
.fp-check input {
    cursor: pointer;
    accent-color: var(--orange-primary);
}

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

.filter-select, .form-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 12.5px;
    outline: none;
    color: var(--text-main);
    background-color: #F8FAFC;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.range-input {
    width: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 12px;
    outline: none;
}

.btn-go {
    background: #F1F5F9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-go:hover {
    background: var(--border-color);
}

.btn-apply-filters {
    width: 100%;
    background-color: var(--navy-dark);
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-apply-filters:hover {
    background-color: var(--navy-medium);
}

/* Center Content */
.center-content {
    flex-grow: 1;
    overflow-x: hidden;
}

/* Banner Slider */
.promo-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    border-radius: 12px;
    padding: 32px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.promo-banner::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,108,34,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.promo-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.promo-title span {
    color: var(--orange-primary);
}

.promo-subtitle {
    color: #CBD5E1;
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 480px;
}

/* Info Strips */
.info-strip {
    display: flex;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    padding: 12px;
    margin-bottom: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px;
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
}

.info-strip-icon {
    font-size: 18px;
    color: var(--orange-primary);
    background: rgba(255, 108, 34, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-strip-text strong {
    display: block;
    color: var(--navy-dark);
    font-size: 12.5px;
}

.info-strip-text span {
    color: var(--text-muted);
}

/* Featured Tenders Section */
.section-wrapper {
    margin-bottom: 24px;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-title-bar h4 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 10px;
    border-left: 3px solid var(--orange-primary);
    color: var(--navy-dark);
}

.section-title-bar .view-all-link {
    font-size: 12px;
    font-weight: 700;
    color: #0284C7;
    text-decoration: none;
}

/* Tender Premium Cards */
.tender-premium-card, .tender-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
}

.tender-premium-card:hover, .tender-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 27, 61, 0.12), 0 4px 12px rgba(255, 108, 34, 0.05);
    border-color: var(--orange-primary);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.card-img-box, .t-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tender-premium-card:hover .card-img-box,
.tender-card:hover .t-img {
    transform: scale(1.08);
}

.card-tag-featured, .badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--orange-primary);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 108, 34, 0.3);
    z-index: 2;
}

.badge-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(11, 27, 61, 0.85);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
}

.card-body-box, .t-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title-box, .t-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.45;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.tender-premium-card:hover .card-title-box,
.tender-card:hover .t-title {
    color: var(--orange-primary);
}

.card-meta-line, .t-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.card-meta-line span, .t-meta div {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta-line span i, .t-meta i {
    color: var(--orange-primary);
    font-size: 12px;
}

.card-price-row {
    font-size: 15px;
    font-weight: 800;
    color: #0284C7;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.card-date-row {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.price-box {
    display: flex;
    justify-content: space-between;
    background: #F8FAFC;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    margin-top: auto;
    border: 1px solid var(--border-color);
}

.price-box h6 {
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 0;
    font-size: 13.5px;
}

.price-box small {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.date-row {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-bottom: 14px;
}

.date-row i {
    color: var(--orange-primary);
    margin-right: 4px;
}

.closing-soon {
    background-color: #FEF2F2;
    color: #EF4444;
    border: 1px solid #FEE2E2;
    padding: 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

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

.action-btns .btn {
    flex-grow: 1;
    font-size: 12px;
    padding: 8px;
    font-weight: 600;
    border-radius: 6px;
}

/* Alerts box widget */
.alerts-box-widget {
    background: #FFF7ED;
    border: 1px dashed #FFD8A8;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.alerts-box-widget h6 {
    font-weight: 700;
    color: #C2410C;
    margin-bottom: 8px;
    font-size: 13px;
}

.alerts-box-widget p {
    font-size: 11.5px;
    color: #7C2D12;
    margin-bottom: 12px;
}

/* Swiper Navigation and Slides Custom Style */
.btn-swiper-nav {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.btn-swiper-nav:hover {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}
.btn-swiper-nav:focus {
    outline: none;
}
.swiper-slide {
    height: auto !important;
}

/* Category Grid & Slider */
.top-cat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    height: auto;
    box-shadow: var(--shadow-subtle);
}

.top-cat-card:hover {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.top-cat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 27, 61, 0.04) 0%, rgba(21, 50, 114, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(11, 27, 61, 0.05);
}

.top-cat-card:hover .top-cat-icon-wrapper {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-hover) 100%);
    box-shadow: 0 4px 10px rgba(255, 108, 34, 0.2);
    border-color: transparent;
}

.top-cat-icon {
    font-size: 20px;
    color: var(--navy-dark);
    transition: var(--transition-smooth);
}

.top-cat-card:hover .top-cat-icon {
    color: #FFFFFF !important;
    transform: scale(1.15) rotate(5deg);
}

.top-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.top-cat-count {
    font-size: 10px;
    color: var(--text-muted);
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.top-cat-card:hover .top-cat-count {
    background: rgba(255, 108, 34, 0.1);
    color: var(--orange-primary);
}

/* View All Categories Special Card styling */
.top-cat-card-all {
    background: #FFF7ED;
    border-color: #FFD8A8;
}
.bg-orange-light {
    background: rgba(255, 108, 34, 0.1) !important;
}
.top-cat-card-all:hover .top-cat-icon-wrapper {
    background: var(--orange-primary) !important;
}
/* Swiper Custom Button Overlay styles */
.slider-outer-wrapper {
    position: relative;
    padding: 0 24px;
}

.swiper-button-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.swiper-button-custom:hover {
    background: var(--orange-primary);
    color: #FFFFFF;
    border-color: var(--orange-primary);
    box-shadow: 0 4px 15px rgba(255, 108, 34, 0.3);
}

.swiper-button-custom:focus {
    outline: none;
}

.swiper-prev-featured,
.swiper-prev-categories,
.swiper-prev-recommended,
.swiper-prev-govt,
.swiper-prev-private {
    left: 2px;
}

.swiper-next-featured,
.swiper-next-categories,
.swiper-next-recommended,
.swiper-next-govt,
.swiper-next-private {
    right: 2px;
}

/* Make slider navigation hide on small mobile screens */
@media (max-width: 576px) {
    .swiper-button-custom {
        display: none !important;
    }
}

/* Right Sidebar Ads */
.right-sidebar {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-ad-banner {
    background-color: var(--navy-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    position: relative;
}

.side-ad-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.side-ad-body {
    padding: 16px;
    color: #FFFFFF;
}

.side-ad-body h6 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.side-ad-body p {
    font-size: 11.5px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.side-ad-body .know-more-btn {
    display: inline-block;
    background-color: var(--orange-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.side-ad-body .know-more-btn:hover {
    background-color: var(--orange-hover);
}

/* Trust Badge Grid */
.trust-widget {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 16px;
}

.trust-widget h6 {
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy-dark);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.trust-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    align-items: center;
}

.trust-logo-item {
    background: #F8FAFC;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.trust-logo-item img {
    max-height: 32px;
    max-width: 100%;
    object-fit: contain;
}

/* Why list */
.why-widget {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 16px;
}

.why-widget h6 {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.why-widget-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 8px;
}

.why-widget-item i {
    color: var(--orange-primary);
}

/* Bottom Ticker bar */
.bottom-ticker-bar {
    background: var(--navy-dark);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    overflow: hidden;
}

.bottom-ticker-label {
    background: var(--orange-primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Horizontal Banner Ad */
.horizontal-banner-ad {
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    border-radius: 12px;
    padding: 18px 24px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.horizontal-banner-ad h5 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
}

.horizontal-banner-ad p {
    font-size: 12px;
    color: #CBD5E1;
}

/* Footer Accent */
.footer-accent {
    background: var(--orange-primary);
    color: #FFFFFF;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 0;
}

/* ==========================================
   LISTING PAGE SPECIFIC (`tenders.cshtml`)
   ========================================== */
.top-bar {
    background-color: var(--navy-medium);
    border-bottom: 2px solid var(--orange-primary);
}

.top-bar .brand-text {
    color: #FFFFFF;
}

.top-bar .brand-mark {
    background-color: var(--orange-primary);
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

.page-hero {
   /* background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);*/
    background: #7a0016;
    color: #FFFFFF;
    border-bottom: 4px solid var(--orange-primary);
    padding: 24px 0;
}

.search-hero {
    background:linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
}

.search-hero input {
    border: none !important;
    outline: none !important;
}

.search-hero .input-group-text {
    background: transparent;
    border: none;
    color: var(--text-light);
}

.tender-page {
    padding: 24px 0;
}

/* Detail page styles (`tenderDetails.cshtml`) */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    height: 100%;
}

.info-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.info-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-dark);
}

.desc-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    font-size: 14.5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .featured-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-categories-strip {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 991px) {
    .main-wrapper, .tender-page .row {
        flex-direction: column;
    }
    .filters-sidebar, .filter-pro {
        width: 100%;
        margin-bottom: 20px;
    }
    .right-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .right-sidebar > * {
        flex: 1 1 240px;
    }
}

@media (max-width: 768px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
    }
    .recommended-grid {
        grid-template-columns: 1fr;
    }
    .top-categories-strip {
        grid-template-columns: repeat(3, 1fr);
    }
    .promo-banner {
        padding: 20px;
    }
    .promo-title {
        font-size: 20px;
    }
}

/* ==========================================
   SITE FOOTER - DESIGN REFACTOR (PREMIUM DARK MODE)
   ========================================== */
.site-footer {
    background-color: #491b05; /* Elegant dark maroon-charcoal background */
    color: #e2dcd3; /* Soft warm grey for readable, modern typography */
    position: relative;
    border-top: 4px solid var(--orange-primary); /* Top brand highlight border */
    font-family: 'Inter', sans-serif;
}

/* Brand Block Styling */
.site-footer .brand {
    display: flex;
    flex-direction: column;
}

.site-footer .brand-name {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 2px;
    line-height: 1.1;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.site-footer .brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange-primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.site-footer p.small {
    color: #a69895; /* Muted warm gray text */
    line-height: 1.7;
    margin-top: 14px;
    font-size: 13.5px;
}

/* Section Titles */
.site-footer h6 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.site-footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--orange-primary);
}

/* Lists and Links Styling - REMOVES BULLET POINTS AND ADDS MICRO-ANIMATION */
.site-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer ul li {
    margin-bottom: 12px;
}

.site-footer ul li a {
    color: #c4b9b6;
    font-size: 13.5px;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
}

.site-footer ul li a:hover {
    color: var(--orange-primary);
    transform: translateX(6px);
    text-decoration: none;
}

/* Contact List Specific Styling */
.site-footer .contact-list li {
    font-size: 13.5px;
    color: #c4b9b6;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.site-footer .contact-list li i {
    color: var(--orange-primary);
    font-size: 16px;
    flex-shrink: 0;
}

/* Social Media Circles with Hover Bounces */
.site-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e2dcd3;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .social a:hover {
    background-color: var(--orange-primary);
    color: #FFFFFF;
    border-color: var(--orange-primary);
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 4px 12px rgba(200, 90, 23, 0.35);
}

/* Modern Bottom Copyright Bar */
    .site-footer .copyright-bar {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background-color: #c85a17; /* Darker tone for separation */
        font-size: 12.5px;
    }

.site-footer .copyright-bar a.text-white-50:hover {
    color: var(--orange-primary) !important;
    text-decoration: none;
}

/* Visitor Stats & Counter Widget Styles */
.site-footer .visitor-counter-widget {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.site-footer .visitor-counter-widget:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.site-footer .pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.site-footer .live-label {
    font-size: 12px;
    color: #a69895;
    font-weight: 500;
}

.site-footer .live-label strong {
    color: #22c55e;
}

.site-footer .counter-label {
    font-size: 11px;
    color: #a69895;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.site-footer .digit-box {
    background: linear-gradient(180deg, #2b1718 0%, #150808 100%);
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 14px;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 2px 5px rgba(0,0,0,0.3);
    display: inline-block;
    min-width: 19px;
    text-align: center;
    text-shadow: 0 0 2px rgba(255,255,255,0.4);
    letter-spacing: 0;
}

.bg-navy {
    background-color: var(--navy-dark) !important;
}

/* ==========================================
   MOBILE VIEW & RESPONSIVENESS OVERRIDES
   ========================================== */
body {
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 576px) {
    /* Header & Brand Optimization */
    .site-header {
        padding: 4px 0;
    }
    
    .brand img {
        height: 38px;
    }
    
    .site-header .row {
        gap: 8px !important;
    }
    
    /* Compact Search Container on Mobile */
    .header-search-container {
        border-radius: 6px;
    }
    
    .header-search-input {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .header-search-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Outer slider wrapper padding reduction */
    .slider-outer-wrapper {
        padding: 0 4px !important;
    }
    
    /* Live Updates Ticker adjustment */
    .bottom-ticker-bar {
        padding: 6px 10px;
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .bottom-ticker-label {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    /* Info Strip responsive column style */
    .info-strip {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }
    
    .info-strip-item {
        justify-content: flex-start;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 8px;
    }
    
    .info-strip-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Details Page Title Scale down */
    .tender-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }
    
    .desc-box {
        padding: 16px !important;
        font-size: 13.5px !important;
    }
    
    /* Card layout spacing */
    .tender-premium-card, .tender-card {
        margin-bottom: 12px !important;
    }
    
    .card-body-box, .t-body {
        padding: 12px !important;
    }
    
    /* Action button sizes on mobile */
    .action-btns .btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    /* Fix potential footer padding overflow */
    .site-footer {
        padding-top: 24px !important;
    }
    
    .site-footer h6 {
        margin-top: 16px;
        margin-bottom: 12px;
    }
    
    .visitor-counter-widget {
        padding: 10px !important;
    }
}


