/* =========================================================
   RUSTAM INFOTECH - HIGH-CONTRAST DARK THEME OVERRIDES
   ========================================================= */

:root {
  --primary-blue: #0f2c59;
  --primary-blue-dark: #0a1f3f;
  --secondary-green: #00a86b;
  --accent-cyan: #00d2ff;
  --bg-dark: #0a0f1d;
  --card-bg: #111827;
  --text-white: #ffffff;
  --text-subtle: #e2e8f0;
}

/* Global Dark Background */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark) !important;
  color: var(--text-white) !important;
}

/* 1. FORCE ALL HEADINGS TO BRIGHT WHITE */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6,
.card-tech h1, .card-tech h2, .card-tech h3, .card-tech h4, .card-tech h5 {
  color: #ffffff !important;
  font-weight: 700;
}

/* 2. FORCE ALL BODY TEXT, PARAGRAPHS & MUTED TEXT TO BRIGHT LIGHT GRAY */
p, 
span, 
.text-muted, 
p.text-muted, 
span.text-muted, 
.text-small,
.card p,
footer p {
  color: #e2e8f0 !important; /* Extremely high contrast against dark bg */
}

/* 3. FIX FEATURE CHECKMARK LIST TEXT (EduTrack, HMS, CRM) */
.row.text-small, 
.row.text-small div, 
ul.list-unstyled li,
.card-tech div {
  color: #f1f5f9 !important;
  font-weight: 500;
}

/* 4. FIX NAVBAR HEADER PADDING OVERLAP */
section.hero-section, 
section:first-of-type {
  padding-top: 120px !important;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

/* Brand Button Styling */
.btn-brand-green {
  background-color: var(--secondary-green) !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-brand-green:hover {
  background-color: #008f5a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 5. CARDS & CONTAINERS */
.card-tech {
  background: var(--card-bg) !important;
  border: 1px solid #2d3748 !important;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card-tech:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-green) !important;
}

/* 6. TABLES (Access Control Specs) */
.table-dark {
  --bs-table-bg: #111827 !important;
  --bs-table-color: #f8fafc !important;
  border-color: #334155 !important;
}

.table-dark td, .table-dark th {
  color: #f8fafc !important;
}

/* 7. FOOTER LINKS */
footer a, 
footer .list-unstyled a {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover, 
footer .list-unstyled a:hover {
  color: var(--secondary-green) !important;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  border: 1px solid #2d3748;
}