/* ===================================
   NEW ADDITIONS — Urban Land Monitor + Governance Section
   Append to docs/styles.css
   =================================== */

/* Governance Section */
.governance-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.indiaai-badge {
    background: linear-gradient(135deg, #FF9933, #138808) !important;
    color: white !important;
    font-weight: 700;
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gov-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gov-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.gov-card-new {
    border: 2px solid #FF9933;
    background: linear-gradient(135deg, #fffbf5 0%, #fff8ee 100%);
    position: relative;
}

.gov-card-new::before {
    content: "✨ Just Added";
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #FF9933, #e67e00);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

.gov-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gov-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4169E1, #000080);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.gov-icon-new {
    background: linear-gradient(135deg, #FF9933, #e67e00);
}

.gov-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-live { background: #d1fae5; color: #065f46; }
.status-docs { background: #dbeafe; color: #1e40af; }
.status-new  { background: #fef3c7; color: #92400e; }

.gov-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

.gov-card p {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    flex: 1;
}

.gov-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gov-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.gov-link-primary {
    flex: 1;
    text-align: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, #4169E1, #000080);
    color: white;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.gov-link-primary:hover { opacity: 0.85; }

.gov-link-highlight {
    background: linear-gradient(135deg, #FF9933, #e67e00) !important;
}

.gov-link-secondary {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    border-radius: 8px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.gov-link-secondary:hover { border-color: #4169E1; color: #4169E1; }

.governance-cta {
    text-align: center;
    margin-top: 8px;
}

/* NVIDIA tag styling */
.tag-nvidia {
    background: rgba(118,185,0,0.12) !important;
    color: #4a7c00 !important;
    border: 1px solid rgba(118,185,0,0.3) !important;
    font-weight: 700;
}

/* New project card highlight */
.project-card-new {
    border: 2px solid #FF9933 !important;
    background: linear-gradient(135deg, #fffbf5, #fff8ee) !important;
    position: relative;
}

.project-icon-new {
    background: linear-gradient(135deg, #FF9933, #e67e00) !important;
    color: white !important;
}

.project-badge-new {
    background: linear-gradient(135deg, #FF9933, #e67e00) !important;
    color: white !important;
}

/* New badge inline */
.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9933, #e67e00);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    vertical-align: middle;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

/* Featured card new variant */
.featured-card-new {
    border: 2px solid #FF9933;
}

.featured-image-satellite {
    background: linear-gradient(135deg, #0f1117 0%, #1a1d27 50%, #22263a 100%);
    position: relative;
    overflow: hidden;
}

.featured-image-satellite::before {
    content: "🛰️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.4;
}

/* Responsive governance grid */
@media (max-width: 1024px) {
    .governance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .governance-grid { grid-template-columns: 1fr; }
    .gov-footer { flex-direction: column; }
    .gov-link-primary { text-align: center; }
}
