/* ============================================================================
   Strict 4-color theme — The UpScale Tech & Print
   ONLY these four colors appear anywhere (background, text, icon, border):
     Blue        #1c59a9
     Light blue  #ecf4ff
     Dark grey   #58585a
     Bronze      #c4996c
   Loaded LAST so it governs the whole palette.
   ========================================================================== */

:root{
  /* Core */
  --bs-body-color:            #58585a;
  --bs-body-color-rgb:        88,88,90;
  --bs-body-bg:               #ecf4ff;
  --bs-body-bg-rgb:           236,244,255;
  --bs-emphasis-color:        #58585a;
  --bs-emphasis-color-rgb:    88,88,90;
  --bs-secondary-color:       #58585a;
  --bs-secondary-color-rgb:   88,88,90;
  --bs-tertiary-color:        #58585a;
  --bs-secondary-bg:          #ecf4ff;
  --bs-tertiary-bg:           #ecf4ff;
  --bs-heading-color:         inherit;
  --bs-border-color:          #c4996c;
  --bs-border-color-translucent: #c4996c;

  /* Theme colors */
  --bs-primary:               #1c59a9;  --bs-primary-rgb:   28,89,169;
  --bs-primary-text-emphasis: #1c59a9;
  --bs-primary-bg-subtle:     #ecf4ff;
  --bs-primary-border-subtle: #c4996c;
  --bs-secondary:             #58585a;  --bs-secondary-rgb: 88,88,90;
  --bs-success:               #1c59a9;  --bs-success-rgb:   28,89,169;
  --bs-info:                  #1c59a9;  --bs-info-rgb:      28,89,169;
  --bs-warning:               #c4996c;  --bs-warning-rgb:   196,153,108;
  --bs-danger:                #c4996c;  --bs-danger-rgb:    196,153,108;
  --bs-light:                 #ecf4ff;  --bs-light-rgb:     236,244,255;
  --bs-dark:                  #1c59a9;  --bs-dark-rgb:      28,89,169;

  /* Links */
  --bs-link-color:            #1c59a9;  --bs-link-color-rgb: 28,89,169;
  --bs-link-hover-color:      #1c59a9;
}

/* ---- Base ---- */
body{ background-color:#ecf4ff; color:#58585a; }
a{ color:#1c59a9; }
a:hover{ color:#1c59a9; }

/* ---- Backgrounds → light blue (incl. the navbar's light bar) ---- */
.bg-light, .bg-white, .bg-body, .bg-body-secondary, .bg-body-tertiary,
.bg-secondary-subtle, .bg-light-subtle, .navbar.bg-light{
  background-color:#ecf4ff !important;
}
/* ---- Dark / primary backgrounds → blue ---- */
.bg-dark, .bg-primary, .bg-secondary, .bg-success, .bg-info{
  background-color:#1c59a9 !important;
}
.bg-warning, .bg-danger{ background-color:#c4996c !important; }

/* ---- Text ---- */
.text-dark, .text-body, .text-body-secondary, .text-muted, .text-secondary,
.text-black, .text-black-50, .text-body-tertiary{ color:#58585a !important; }
.text-white, .text-white-50, .text-light{ color:#ecf4ff !important; }
.text-primary, .text-info, .text-success, .link-primary, .link-body-emphasis{ color:#1c59a9 !important; }
.text-danger, .text-warning{ color:#c4996c !important; }

/* ---- Borders ---- */
.border, .border-top, .border-bottom, .border-start, .border-end,
.border-light, .border-secondary{ border-color:#c4996c !important; }
.border-primary{ border-color:#1c59a9 !important; }

/* ---- Form controls ---- */
.form-control, .form-select, .input-group-text, textarea, select{
  background-color:#ecf4ff; color:#58585a; border-color:#c4996c;
}
.form-control::placeholder, textarea::placeholder{ color:#58585a; opacity:.65; }
.form-control:focus, .form-select:focus{ border-color:#1c59a9; box-shadow:0 0 0 3px rgba(28,89,169,.18); }
.form-check-input{ color:#58585a; border-color:#c4996c; accent-color:#1c59a9; }
.form-check-input:checked{ background-color:#1c59a9; border-color:#1c59a9; }

/* ---- Dropdown / list / card / modal ---- */
.dropdown-menu{ --bs-dropdown-bg:#ecf4ff; --bs-dropdown-link-color:#58585a; --bs-dropdown-link-hover-bg:#ecf4ff; --bs-dropdown-link-hover-color:#1c59a9; }
.dropdown-item.text-danger{ color:#c4996c !important; }
.card{ --bs-card-bg:#ecf4ff; --bs-card-color:#58585a; --bs-card-border-color:#c4996c; }
.modal-content{ --bs-modal-bg:#ecf4ff; --bs-modal-color:#58585a; }
.list-group{ --bs-list-group-bg:#ecf4ff; --bs-list-group-color:#58585a; }

/* ---- Catch browser/component defaults so nothing falls outside the 4 colors ---- */
input:not([type=checkbox]):not([type=radio]):not([type=range]){
  background-color:#ecf4ff !important; color:#58585a; border-color:#c4996c;
}
.hh-branchbtn, .utf-btn{ color:#58585a; }
.badge, .cart-items-count{ color:#ecf4ff; }
.carousel-control-prev, .carousel-control-next,
.carousel-control-prev-icon, .carousel-control-next-icon{ color:#ecf4ff; }

/* ====== Blue bands: headings → BROWN, body text/links → light blue ====== */
.hp-trust, .hp-impact, .hp-portfolio, .hp-close,
.lg-hero, .fdr-tl-sec, .fdr-cta, .final-cta,
.section-pad.Pblueish, .py-5.Pblueish, .bg-dark, footer{ color:#ecf4ff; }

.hp-trust :is(h1,h2,h3,h4,h5,h6),
.hp-impact :is(h1,h2,h3,h4,h5,h6),
.hp-portfolio :is(h1,h2,h3,h4,h5,h6),
.hp-close :is(h1,h2,h3,h4,h5,h6),
.lg-hero :is(h1,h2,h3,h4,h5,h6),
.fdr-tl-sec :is(h1,h2,h3,h4,h5,h6),
.fdr-cta :is(h1,h2,h3,h4,h5,h6),
.final-cta :is(h1,h2,h3,h4,h5,h6),
.section-pad.Pblueish :is(h1,h2,h3,h4,h5,h6),
.py-5.Pblueish :is(h1,h2,h3,h4,h5,h6),
.bg-dark :is(h1,h2,h3,h4,h5,h6),
footer :is(h1,h2,h3,h4,h5,h6),
footer .footer-heading, footer .fw-bold{ color:#c4996c !important; }

.hp-trust :is(p,a,li,span,small,strong,blockquote),
.hp-close :is(p,a,li,span,small,strong),
.lg-hero :is(p,a,li,span,small,strong),
.fdr-cta :is(p,a,li,span,small,strong),
.fdr-tl-sec :is(p,span,small),
.final-cta :is(p,a,li,span,small,strong),
.section-pad.Pblueish :is(p,a,li,span,small,strong),
.py-5.Pblueish :is(p,a,li,span,small,strong),
.bg-dark :is(p,a,li,span,small,strong),
footer :is(p,li,small), footer a:not(.btn){ color:#ecf4ff; }
footer a:not(.btn):hover{ color:#c4996c; }

/* ====== Form cards / boxes: BROWN strokes (selected = blue) ====== */
.hh-card, .hh-opt, .hh-branchbtn,
.lg-card, .lg-opt, .lg-chip, .lg-media,
.hp-why, .hp-svc, .hp-quote, .hp-step, .fdr-value, .u-card, .mn-about{
  border:1px solid #c4996c !important;
}
.hh-opt.sel, .hh-branchbtn.sel, .lg-opt.sel, .lg-chip.sel{ border-color:#1c59a9 !important; }

/* ====== Scrollbar: blue track, brown thumb ====== */
html{ scrollbar-color:#c4996c #1c59a9; scrollbar-width:auto; }
::-webkit-scrollbar{ width:14px; height:14px; }
::-webkit-scrollbar-track{ background:#1c59a9; }
::-webkit-scrollbar-thumb{ background:#c4996c; border-radius:10px; border:3px solid #1c59a9; }
::-webkit-scrollbar-thumb:hover{ background:#c4996c; }
::-webkit-scrollbar-corner{ background:#1c59a9; }
