/**
 * SEMICON India brand colors – single source of truth
 * Regional: #005ABB | Black: #000000 | White: #FFFFFF | Gray: #666666
 */

:root {
  /* Brand palette */
  --brand-primary: #005ABB;
  --brand-primary-hover: #004a99;
  --brand-primary-active: #003d80;
  --brand-primary-rgb: 0, 90, 187;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --brand-gray: #666666;
  --brand-gray-rgb: 102, 102, 102;
}

/* Bootstrap 5 primary overrides (so .btn-primary, .bg-primary, etc. use brand) */
:root {
  --bs-primary: var(--brand-primary);
  --bs-primary-rgb: var(--brand-primary-rgb);
  --bs-primary-text-emphasis: var(--brand-primary-active);
  --bs-primary-bg-subtle: rgba(var(--brand-primary-rgb), 0.15);
  --bs-primary-border-subtle: rgba(var(--brand-primary-rgb), 0.35);
}

/* Button primary – ensure navbar and all primary buttons use brand */
.btn-primary,
.bg-primary {
  --bs-btn-color: var(--brand-white) !important;
  --bs-btn-bg: var(--brand-primary) !important;
  --bs-btn-border-color: var(--brand-primary) !important;
  --bs-btn-hover-bg: var(--brand-primary-hover) !important;
  --bs-btn-hover-border-color: var(--brand-primary-hover) !important;
  --bs-btn-active-bg: var(--brand-primary-active) !important;
  --bs-btn-active-border-color: var(--brand-primary-active) !important;
}

/* Links and accents that use primary */
a.text-primary,
.text-primary {
  color: var(--brand-primary) !important;
}
.border-primary {
  border-color: var(--brand-primary) !important;
}
