/* =========================================================================
   BIGHA LAND - ERP & Marketplace Styling System
   Primary: #0f3854 | Agri Accent: #1f8a4c | Gold: #d99b26 | Badge: #028090
   ========================================================================= */

:root {
    --primary: #0f3854;
    --primary-dark: #0a2436;
    --primary-light: #1b537a;
    --agri-green: #1f8a4c;
    --agri-dark: #145e33;
    --verified-blue: #028090;
    --gold: #d99b26;
    --surface: #ffffff;
    --background: #f8fafc;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navbar */
.navbar-bigha {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.5rem;
}

.navbar-brand-bigha {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-badge {
    background: var(--agri-green);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.nav-link-bigha {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .nav-link-bigha:hover {
        color: #ffffff !important;
        background: rgba(255,255,255,0.1);
    }

/* Badges */
.badge-bigha-verified {
    background: linear-gradient(135deg, #028090 0%, #00a896 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(2, 128, 144, 0.3);
}

/* Enhanced Hero Section */
.hero-bigha {
    background: radial-gradient(circle at 15% 25%, rgba(31, 138, 76, 0.25) 0%, transparent 45%), radial-gradient(circle at 85% 65%, rgba(217, 155, 38, 0.20) 0%, transparent 45%), linear-gradient(135deg, #061a29 0%, #0d2c44 50%, #0f3854 100%);
    color: #ffffff;
    padding: 4.5rem 1rem 3.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-bigha::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0V0zm1 1h38v38H1V1z" fill="%23ffffff" fill-opacity="0.02"/></svg>');
        pointer-events: none;
    }

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
    /* text-shadow: 0 2px 10px rgba(0,0,0,0.3); */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 820px;
    margin: 0 auto 2.25rem auto;
    line-height: 1.6;
}

/* Search Box Container */
.search-card-hero {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    padding: 1.75rem;
    max-width: 1040px;
    margin: 0 auto;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Quick Filter Badges */
.hero-filter-chip {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

    .hero-filter-chip:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

/* Metric Counter Cards */
.bigha-stat-counter {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 4px 20px rgb(15 35 55 / 13%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

    .bigha-stat-counter:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.08);
        border-color: #cbd5e1;
    }

/* Category Feature Cards */
.vertical-feature-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

    .vertical-feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 30px rgba(0,0,0,0.12);
    }

/* Card Headers by Category */
.card-header-agri {
    background: linear-gradient(135deg, #0e3b25 0%, #155724 50%, #198754 100%) !important;
}

.card-header-warehouse {
    background: linear-gradient(135deg, #18283b 0%, #223851 50%, #2f4e72 100%) !important;
}

.card-header-residential {
    background: linear-gradient(135deg, #0c2340 0%, #1b4d89 100%) !important;
}

.card-header-commercial {
    background: linear-gradient(135deg, #2e1a47 0%, #5a2d82 100%) !important;
}

.card-header-pooling {
    background: linear-gradient(135deg, #5c141d 0%, #a71d2a 100%) !important;
}

.card-header-auction {
    background: linear-gradient(135deg, #1b263b 0%, #0284c7 100%) !important;
}

/* Enhanced Property Listing Cards */
.prop-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .prop-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(15, 56, 84, 0.12);
        border-color: #cbd5e1;
    }

.prop-card-header {
    height: 175px;
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.prop-card-body {
    padding: 1.35rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prop-card-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
}

/* Role Hub Card */
.role-hub-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .role-hub-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        border-color: var(--primary);
    }

/* Property Health Box */
.health-box-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    border-top: 4px solid var(--agri-green);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.health-score-dial {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--agri-green) 0%, #34d399 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 8px rgba(31, 138, 76, 0.3);
    font-size:16px;
}

    .health-score-dial small {
        font-size: 0.6rem;
        text-transform: uppercase;
        margin-top: -3px;
    }

.health-metric-item {
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* ERP Dashboard Layouts */
.erp-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.erp-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}

.erp-content {
    flex-grow: 1;
    padding: 2rem;
    background: #fff;
}

.erp-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 6px;
    transition: all 0.2s;
}

    .erp-nav-item:hover, .erp-nav-item.active {
        background: rgba(15, 56, 84, 0.08);
        color: var(--primary);
    }

.erp-card-kpi {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.erp-kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Master Data Table */
.erp-table {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .erp-table thead {
        background: #f1f5f9;
        color: var(--text-muted);
        font-size: 0.85rem;
        text-transform: uppercase;
    }

/* Footer */
.footer-bigha {
    background: var(--primary-dark);
    color: #94a3b8;
    padding: 3rem 1rem 1.5rem 1rem;
    margin-top: auto;
}

    .footer-bigha h5 {
        color: #ffffff;
        font-weight: 700;
    }

    .footer-bigha a {
        text-decoration: none;
        color: #e5c47e;
    }

        .footer-bigha a:hover {
            color: #ffffff;
        }

/* Landing Page UI Polish & Unsplash Card Enhancements */
.hero-bigha-modern {
    background: linear-gradient(180deg, rgba(6, 26, 41, 0.88) 0%, rgba(13, 44, 68, 0.94) 100%), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 5rem 1rem 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prop-card-img-header {
    height: 200px;
    position: relative;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover !important;
    background-position: center !important;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.4s ease;
}

.prop-card:hover .prop-card-img-header {
    transform: scale(1.02);
}

.market-trend-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

    .market-trend-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 28px rgba(15, 56, 84, 0.10);
        border-color: #0d6efd;
    }

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 26px rgba(0,0,0,0.08);
    }

.about-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-icon-pill {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* =========================================================================
   ERP MODERN UI, HOVER EFFECTS & ANIMATIONS
   ========================================================================= */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(31, 138, 76, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(31, 138, 76, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(31, 138, 76, 0);
    }
}

.animate-fade-in {
    animation: fadeInScale 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ERP Cards Hover Lift */
.erp-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e2e8f0;
}

    .erp-card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(15, 56, 84, 0.08) !important;
        border-color: #cbd5e1;
    }

/* Modern Stat KPI Cards */
.stat-kpi-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

    .stat-kpi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(15, 56, 84, 0.09);
        border-color: #0d6efd;
    }

    .stat-kpi-card .kpi-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }

    .stat-kpi-card:hover .kpi-icon {
        transform: scale(1.1) rotate(5deg);
    }

/* Sidebar Navigation Hover & Active States */
.erp-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

    .erp-nav-item:hover {
        background-color: #f1f5f9;
        color: var(--primary);
        transform: translateX(4px);
    }

    .erp-nav-item.active {
        background: linear-gradient(135deg, rgba(15, 56, 84, 0.1) 0%, rgba(31, 138, 76, 0.12) 100%);
        color: var(--primary) !important;
        font-weight: 700;
       
    }

/* Interactive Table Hover */
.table-hover-custom tbody tr {
    transition: background-color 0.15s ease, transform 0.15s ease;
}

    .table-hover-custom tbody tr:hover {
        background-color: #f8fafc;
    }

/* Page Sub-Header */
.subpage-header {
    background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    color: #ffffff;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.12);
}

/* Pulsing Status Badges */
.badge-pulse-green {
    background-color: #198754;
    color: #fff;
    animation: pulseGlow 2s infinite;
}
