/* ==========================================================================
   TSI Salvexis India - Premium Modern Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Palette (Harmonized with TSI Salvexis India Logo) */
    --navy-deep: #061426;       /* Logo Dark Background */
    --navy-dark: #0a2540;       /* Logo Corporate Royal Navy */
    --navy-surface: #132e4f;    /* Surface Navy */
    --blue-primary: #0284c7;    /* Logo Monogram Sapphire Blue */
    --blue-vibrant: #1d4ed8;    /* Logo Deep Metallic Blue */
    --blue-light: #38bdf8;     /* Logo Sky Sheen */
    --cyan-accent: #0284c7;     /* Primary Logo Accent Blue */
    --cyan-light: #7dd3fc;
    --gold-accent: #f59e0b;     /* Logo Gavel Gold */
    --gold-vibrant: #d97706;    /* Logo Metallic Amber */
    --saffron-orange: #f97316;  /* Logo Tricolor Saffron */
    --emerald-success: #10b981; /* Logo Tricolor Green */
    --rose-danger: #ef4444;

    /* Backgrounds & Surfaces */
    --bg-slate: #f8fafc;
    --bg-subtle: #f1f5f9;
    --surface-white: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.85);

    /* Text Colors */
    --text-heading: #0a2540;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Shadows & Elevations */
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 12px 28px rgba(10, 37, 64, 0.12), 0 4px 10px rgba(10, 37, 64, 0.06);
    --shadow-glow: 0 8px 24px rgba(2, 132, 199, 0.35);

    /* Radius & Transitions */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Base Reset & Typography --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-slate);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--blue-primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--blue-vibrant);
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Utility Helper Classes --- */
.text-navy { color: var(--navy-dark) !important; }
.text-vibrant { color: var(--blue-primary) !important; }
.text-cyan { color: var(--blue-light) !important; }
.text-gold { color: var(--gold-accent) !important; }
.bg-navy-deep { background-color: var(--navy-deep) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-slate-light { background-color: var(--bg-slate) !important; }

/* Gradient Buttons */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-vibrant));
    color: #ffffff !important;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: var(--transition-smooth);
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow) !important;
    color: #ffffff !important;
}

.btn-gradient-cyan {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-vibrant));
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    transition: var(--transition-smooth);
}

.btn-gradient-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4) !important;
    color: #ffffff !important;
}

.btn-gradient-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4) !important;
    color: #ffffff !important;
}

.btn-outline-glow {
    border: 2px solid var(--blue-vibrant);
    color: var(--blue-vibrant);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 10px 26px;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-glow:hover {
    background-color: var(--blue-vibrant);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* --- Top Bar & Header Navigation --- */
.top-bar {
    background: linear-gradient(90deg, #071120 0%, #0f2547 50%, #071120 100%);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-pill {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    color: var(--cyan-light);
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.3px;
}

.top-bar-hot-deal {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
}

.top-bar-contact-item {
    color: #cbd5e1;
    font-size: 13px;
    transition: var(--transition-fast);
    padding: 3px 10px;
    border-radius: 20px;
}

.top-bar-contact-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.main-header {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky !important;
    top: 0;
    z-index: 1020;
    transition: var(--transition-fast);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7 0%, #f59e0b 50%, #10b981 100%);
}

.navbar-brand img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.navbar-brand:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.25));
}

/* Header Quick Search Box */
.header-search-form {
    position: relative;
    max-width: 260px;
    width: 100%;
}

.header-search-form .form-control {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 7px 16px 7px 38px;
    font-size: 13px;
    color: var(--navy-dark);
    transition: var(--transition-fast);
}

.header-search-form .form-control:focus {
    background: #ffffff;
    border-color: var(--blue-vibrant);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    max-width: 290px;
}

.header-search-form i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}

.navbar-nav .nav-item {
    margin: 0 2px;
}

.navbar-nav .nav-link {
    color: #1e293b !important;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 0.4px;
    padding: 8px 14px !important;
    border-radius: 30px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    color: var(--blue-vibrant) !important;
    background: rgba(37, 99, 235, 0.08);
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--blue-primary) !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-weight: 700;
}

.header-live-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: liveBadgePulse 1.5s infinite;
}

@keyframes liveBadgePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-header-signin {
    color: var(--navy-dark) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    border: 1px solid #cbd5e1;
    background: #ffffff;
    transition: var(--transition-fast);
}

.btn-header-signin:hover {
    border-color: var(--blue-vibrant);
    color: var(--blue-vibrant) !important;
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.header-notify-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--navy-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: var(--transition-fast);
}

.header-notify-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-vibrant);
}

.header-notify-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--rose-danger);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* Category Header Dropdown */
.header-cat-dropdown .dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 220px;
}

.header-cat-dropdown .dropdown-item {
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 18px;
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.header-cat-dropdown .dropdown-item:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--blue-vibrant);
    padding-left: 22px;
}

/* --- Hero Banner & Login Card --- */
.position-relative-z2 {
    position: relative;
    z-index: 2;
}

.max-w-900 { max-width: 900px; }
.max-w-700 { max-width: 700px; }
.bg-white-10 { background: rgba(255, 255, 255, 0.1) !important; }
.border-white-20 { border: 1px solid rgba(255, 255, 255, 0.2) !important; }

.hero-banner-modern {
    position: relative;
    z-index: 1;
    padding: 35px 0 50px 0;
    background-image: url('../images/hero_banner_1782232504407.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-banner-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(6, 14, 26, 0.93) 0%, rgba(10, 25, 47, 0.90) 50%, rgba(15, 39, 74, 0.85) 100%);
    z-index: 1;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-glow-blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
}

.live-dot-glow {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #10b981;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-giant-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .hero-giant-title { font-size: 2.2rem; }
}

.hero-big-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 740px;
    margin: 0 auto 32px auto;
}

.hero-interactive-search-bar {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50px;
    padding: 8px 10px 8px 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    max-width: 780px;
    margin: 0 auto 40px auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-interactive-search-bar .form-control {
    border: none;
    background: transparent;
    font-size: 15px;
    color: #0f172a;
}

.hero-interactive-search-bar .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.hero-cat-select {
    border: none;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 30px;
    padding: 8px 16px;
    margin-right: 10px;
}

.hero-floating-live-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    height: 100%;
}

.hero-floating-live-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.15);
    color: #ffffff;
}

.hero-trust-checks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}

.hero-trust-check {
    font-size: 13.5px;
    color: #e2e8f0;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-check i {
    color: var(--emerald-success);
    font-size: 15px;
    margin-right: 8px;
}

.glass-form-card .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px 16px 12px 42px;
    font-size: 14px;
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.glass-form-card .form-control:focus {
    background: #ffffff;
    border-color: var(--blue-vibrant);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 5;
}

/* --- Stats Highlight Bar --- */
.stats-banner {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 40px;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 18px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Section Title & Divider --- */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.section-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-vibrant), var(--cyan-accent));
    border-radius: 2px;
    margin-bottom: 2.5rem;
}

/* --- Category Cards --- */
.category-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 230px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card .cat-bg {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .cat-bg {
    transform: scale(1.08);
}

.category-card .cat-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.3) 60%, rgba(10, 25, 47, 0.1) 100%);
}

.category-card .cat-content {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    z-index: 2;
}

.cat-badge-count {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 6px;
}

/* --- Auction Cards --- */
.auction-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auction-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.card-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.card-img-wrapper .bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.auction-card:hover .card-img-wrapper .bg-img {
    transform: scale(1.07);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(10, 25, 47, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-uppercase;
    z-index: 2;
}

.lot-code-pill {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.location-tag {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.timer-pill {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.timer-box-modern {
    display: flex;
    align-items: center;
    color: var(--rose-danger);
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.pulse-dot-red {
    width: 9px;
    height: 9px;
    background-color: var(--rose-danger);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- Filter Bar Component --- */
.filter-toolbar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 2rem;
}

.filter-toolbar .form-control,
.filter-toolbar .custom-select {
    border-radius: var(--radius-sm);
    border: 1px solid #cbd5e1;
    font-size: 14px;
    height: 42px;
}

.filter-toolbar .form-control:focus,
.filter-toolbar .custom-select:focus {
    border-color: var(--blue-vibrant);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* --- Feature Cards (Why Choose Us) --- */
.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
    color: var(--blue-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* --- Bidders Manual Timeline --- */
.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-vibrant), var(--blue-primary));
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- FAQ Accordion --- */
.faq-accordion .card {
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-accordion .card:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.faq-accordion .card-header button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: var(--navy-dark) !important;
    padding: 16px 20px;
}

.faq-accordion .card-header button.collapsed i {
    transform: rotate(0deg);
}

.faq-accordion .card-header button i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* --- Registration Split Screen --- */
.register-split {
    min-height: 85vh;
}

.register-img-side {
    background-image: url('../images/hero_banner_1782232504407.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.register-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.92), rgba(15, 41, 74, 0.88));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: white;
}

.register-form-side {
    background-color: #ffffff;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-form-side .form-control {
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.register-form-side .form-control:focus {
    border-color: var(--blue-vibrant);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* --- Footer --- */
.premium-footer {
    background-color: var(--navy-deep);
    color: #94a3b8;
    padding: 70px 0 25px;
    position: relative;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7 0%, #f59e0b 50%, #10b981 100%);
}

.premium-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.premium-footer ul li {
    margin-bottom: 0.9rem;
}

.premium-footer a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

.premium-footer a:hover {
    color: var(--cyan-light);
    text-decoration: none;
    padding-left: 3px;
}

.social-pill-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-right: 8px;
}

.social-pill-btn:hover {
    background: var(--blue-vibrant);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Modal Customization */
.modal-content-custom {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.modal-header-custom {
    background: var(--navy-dark);
    color: white;
    border: none;
    padding: 20px 24px;
}

.modal-header-custom .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
}

.modal-header-custom .close:hover {
    opacity: 1;
}

/* Page Hero Banner for Subpages */
.subpage-banner {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
    padding: 60px 0;
    position: relative;
}

.subpage-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* --- Floating Pre-Footer CTA Card --- */
.auction-cta-card {
    background: linear-gradient(135deg, #061426 0%, #0a2540 50%, #132e4f 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(10, 37, 64, 0.25), 0 0 30px rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.auction-cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 70%);
    pointer-events: none;
}

.cta-trust-pill {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-right: 10px;
    margin-top: 10px;
}

.cta-trust-pill i {
    color: var(--blue-light);
    margin-right: 6px;
}

/* --- White Footer Logo --- */
.footer-logo-white {
    filter: brightness(0) invert(1) !important;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo-white:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)) !important;
    transform: scale(1.02);
}

/* --- Subpage Banner --- */
.subpage-banner {
    background: linear-gradient(135deg, #061426 0%, #0a2540 50%, #132e4f 100%);
    padding: 60px 0 50px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #0284c7 0%, #f59e0b 50%, #10b981 100%) 1;
}

.subpage-banner::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 70%);
    pointer-events: none;
}

/* --- Ultra-Modern Brand Preloader --- */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #061426;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#site-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 2;
}

.preloader-logo-wrapper {
    position: relative;
    width: 135px;
    height: 135px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    max-width: 95px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
    animation: preloaderPulse 1.8s infinite ease-in-out;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
    50% { transform: scale(1.05); filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(245, 158, 11, 0.5)); }
}

.preloader-spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: #0284c7;
    border-right-color: #f59e0b;
    animation: preloaderSpin 1.2s linear infinite;
}

.preloader-spinner-ring-outer {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 151px;
    height: 151px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #10b981;
    border-left-color: #38bdf8;
    animation: preloaderSpinReverse 2s linear infinite;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.preloader-brand-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin-top: 15px;
}

.preloader-subtext {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.preloader-dots::after {
    content: '';
    animation: preloaderDots 1.5s infinite;
}

@keyframes preloaderDots {
    0% { content: '.'; }
    33% { content: '..'; }
    66% { content: '...'; }
}

/* ==========================================================================
   Comprehensive Mobile, Tablet & High-DPI Responsive System
   ========================================================================== */

/* --- Fluid Global Touch & Container Sizing --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Large Desktops & Tablets Landscape (max-width: 1199px) --- */
@media (max-width: 1199.98px) {
    .main-header .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .hero-giant-title {
        font-size: 2.75rem !important;
    }
    
    .stats-banner {
        padding: 20px !important;
    }
}

/* --- Tablets & Mobile Drawer Navigation (max-width: 991px) --- */
@media (max-width: 991.98px) {
    /* Top Bar */
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .top-bar-contact-item {
        font-size: 12px !important;
        margin-right: 12px !important;
    }
    
    /* Main Navbar & Mobile Collapse */
    .main-header {
        padding: 6px 0;
    }
    
    .navbar-brand img {
        height: 60px !important;
    }
    
    .navbar-collapse {
        background: #0a2540;
        border-radius: 16px;
        padding: 20px;
        margin-top: 12px;
        border: 1px solid rgba(56, 189, 248, 0.2);
        box-shadow: 0 15px 35px rgba(6, 20, 38, 0.6);
    }
    
    .navbar-nav .nav-item {
        margin: 4px 0;
    }
    
    .navbar-nav .nav-link {
        color: #f1f5f9 !important;
        padding: 12px 16px !important;
        border-radius: 10px;
        font-weight: 600 !important;
        font-size: 14px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-nav .nav-item.active .nav-link,
    .navbar-nav .nav-link:hover {
        background: rgba(56, 189, 248, 0.15) !important;
        color: #38bdf8 !important;
    }
    
    .navbar-nav .dropdown-menu {
        background: #061426 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        padding: 8px 0;
        margin-top: 5px;
    }
    
    .navbar-nav .dropdown-item {
        color: #cbd5e1 !important;
        padding: 10px 20px !important;
        font-size: 13.5px;
    }
    
    .navbar-nav .dropdown-item:hover {
        background: rgba(2, 132, 199, 0.2) !important;
        color: #38bdf8 !important;
    }
    
    .header-action-btn-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-action-btn-group .btn {
        width: 100% !important;
        text-align: center;
        padding: 12px !important;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 55px 0 45px 0 !important;
    }
    
    .hero-giant-title {
        font-size: 2.25rem !important;
        line-height: 1.25 !important;
    }
    
    .hero-big-subtitle {
        font-size: 1.05rem !important;
        padding: 0 10px;
    }
    
    /* Stats Bar */
    .border-right-lg {
        border-right: none !important;
    }
    
    .stat-item {
        padding: 10px 5px !important;
    }
    
    .stat-number {
        font-size: 1.45rem !important;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
    
    /* Pre-Footer CTA */
    .auction-cta-card {
        padding: 30px 20px !important;
    }
}

/* --- Mobile Phones Portrait & Small Devices (max-width: 767px) --- */
@media (max-width: 767.98px) {
    /* Navbar */
    .navbar-brand img {
        height: 50px !important;
    }
    
    .top-bar-contact-item {
        display: inline-block;
        margin: 2px 6px !important;
        font-size: 11px !important;
    }
    
    /* Hero Badges */
    .hero-top-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
        margin-bottom: 6px !important;
    }
    
    .hero-giant-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-big-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    
    /* Hero Buttons */
    .hero-section .d-flex.justify-content-center a.btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    
    /* Dual Showcase Cards */
    .hero-floating-live-card,
    .hero-quick-login-card {
        padding: 20px !important;
        margin-top: 15px !important;
        border-radius: 16px !important;
    }
    
    /* Subpage Banners */
    .subpage-banner {
        padding: 40px 15px 35px 15px !important;
    }
    
    .subpage-banner h1 {
        font-size: 1.85rem !important;
    }
    
    .subpage-banner p {
        font-size: 0.95rem !important;
    }
    
    /* Section Headings */
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Filter Toolbars */
    .filter-toolbar {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    
    .filter-toolbar .col-md-5,
    .filter-toolbar .col-md-4,
    .filter-toolbar .col-md-3 {
        margin-bottom: 12px;
    }
    
    /* Auction Cards */
    .auction-card {
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .auction-card .card-img-wrapper {
        height: 180px !important;
    }
    
    .auction-card .p-4 {
        padding: 16px !important;
    }
    
    .auction-card h4 {
        font-size: 1rem !important;
        min-height: auto !important;
    }
    
    /* Floating CTA Pills */
    .cta-trust-pill {
        font-size: 11.5px !important;
        padding: 6px 12px !important;
        margin: 3px !important;
    }
    
    /* Footer */
    .premium-footer {
        padding-top: 35px !important;
    }
    
    .footer-logo-white {
        height: 60px !important;
    }
    
    .main-footer {
        padding: 45px 0 20px 0 !important;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-bottom-bar {
        padding-top: 20px !important;
        text-align: center;
    }
    
    .footer-bottom-bar .text-md-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Preloader */
    .preloader-logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .preloader-logo {
        max-width: 75px;
    }
    
    .preloader-spinner-ring {
        width: 100px;
        height: 100px;
    }
    
    .preloader-spinner-ring-outer {
        width: 116px;
        height: 116px;
    }
    
    .preloader-brand-title {
        font-size: 1rem;
    }
    
    /* Quick View Inspection Modal */
    .modal-dialog {
        margin: 10px !important;
    }
    
    .modal-content {
        border-radius: 16px !important;
    }
}

/* --- Extra Small Mobile Displays (max-width: 480px) --- */
@media (max-width: 480px) {
    .navbar-brand img {
        height: 44px !important;
    }
    
    .hero-giant-title {
        font-size: 1.6rem !important;
    }
    
    .hero-top-badge {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
    
    .stat-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        margin-right: 8px !important;
    }
    
    .btn {
        font-size: 13.5px !important;
    }
}

