/* ==========================================================
   Invictus Construction LLC - Brand colors (from logo)
   Red   #FF2814  -> primary / theme color
   Blue  #007ABB  -> secondary accent
   Black #111111  -> titles, dark sections
   Loaded after style.css to override the template palette.
   ========================================================== */
:root,
.theme-yellow2 {
  --theme-color: #FF2814;
  --theme-color2: #007ABB;
  --title-color: #111111;
  --brand-blue: #007ABB;
  --brand-blue-dark: #005F91;
}

::selection { background: var(--theme-color); color: #fff; }

/* Top bar of the header in brand blue */
.header-layout1 .header-top,
.header-layout-default .header-top {
  background-color: var(--brand-blue);
}
.header-top a:hover,
.header-top .social-links a:hover,
.header-top .header-social a:hover { color: #111111; }

/* Buttons: red by default, blue on hover */
.th-btn:hover,
.th-btn.style3:hover,
.th-btn.style4:hover { color: #fff; }
.th-btn:before, .th-btn:after { background-color: var(--brand-blue); }
.icon-btn:hover,
.slick-arrow:hover { background-color: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

/* Process step icons with a blue tint */
.process-card4_icon { background-color: rgba(0, 122, 187, 0.18); }
.process-card4_subtitle { color: var(--theme-color); }

/* Choose-us tabs */
.choose-tabs .nav-link.active,
.choose-tabs .nav-link:hover { background-color: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

/* Skill bars: red to blue */
.skill-feature .progress-bar { background: linear-gradient(90deg, #FF2814 0%, #007ABB 100%); }

/* Service cards hover accent */
.service-item:hover .box-title a { color: var(--brand-blue); }

/* Project cards overlay in brand black/blue */
.project-card .gallery-btn { background-color: var(--theme-color); }
.project-card .gallery-btn:hover { background-color: var(--brand-blue); }

/* Scroll to top */
.scroll-top:after { color: var(--theme-color); }
.scroll-top svg.progress-circle path { stroke: var(--brand-blue); }

/* Pagination in the gallery */
.pagination .page-item.active .page-link { background-color: var(--theme-color); border-color: var(--theme-color); }
.pagination .page-link { color: var(--brand-blue); }

/* ---------- Footer: trust badges ---------- */
.footer-badges {
  padding: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-badges_title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-badges_title span { color: var(--theme-color); }
.footer-badges_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.footer-badges_list img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}
.footer-badges_list img:hover { transform: translateY(-4px); }

/* Copyright bar in brand blue */
.footer-layout5 .copyright-wrap {
  background-color: var(--brand-blue);
  border-top: 0;
}
.footer-layout5 .copyright-wrap,
.footer-layout5 .copyright-wrap a,
.footer-layout5 .copyright-text { color: #fff; }
.footer-layout5 .copyright-wrap a:hover { color: #111111; }

@media (max-width: 575px) {
  .footer-badges_list img { width: 90px; height: 90px; }
}

/* ---------- Service-related icons (Font Awesome) ---------- */
.process-card4_icon { display: inline-flex; align-items: center; justify-content: center; }
.process-card4_icon i { font-size: 42px; line-height: 1; color: var(--theme-color); }
.process-card4:hover .process-card4_icon i { color: #fff; }
.process-card4:hover .process-card4_icon { background-color: var(--brand-blue); }
.counter-grid_icon i { font-size: 46px; line-height: 1; color: var(--theme-color); }
.counter-grid:hover .counter-grid_icon i { color: var(--brand-blue); }
.service-item_badge {
  position: absolute; left: 20px; bottom: -28px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--theme-color); color: #fff; font-size: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); transition: background-color .3s ease;
}
.service-item:hover .service-item_badge { background: var(--brand-blue); }
.service-item_img { position: relative; overflow: visible; }
.service-item_img img { border-radius: inherit; }

/* Space so the service icon badge doesn't overlap the title */
.service-item_img { margin-bottom: 48px; }

/* ---------- About page: round "Based in WI" badge ---------- */
.faq-img5 { position: relative; }
.ic-badge {
  position: absolute; top: -30px; left: -30px; z-index: 3;
  width: 210px; height: 210px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  display: flex; align-items: center; justify-content: center;
}
.ic-badge_ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: icBadgeSpin 18s linear infinite;
}
.ic-badge_ring text {
  font-family: var(--title-font, inherit);
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  fill: #111111;
}
.ic-badge_center {
  position: relative; z-index: 1;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--theme-color);
  border: 4px solid var(--brand-blue);
  color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.ic-badge_center span {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.ic-badge_center strong {
  font-family: var(--title-font, inherit);
  font-size: 46px; font-weight: 800; line-height: 1; margin: 4px 0;
  color: #fff;
}
@keyframes icBadgeSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ic-badge_ring { animation: none; } }
@media (max-width: 991px) { .ic-badge { left: 10px; top: -20px; } }
@media (max-width: 575px) {
  .ic-badge { width: 160px; height: 160px; left: 10px; top: -20px; }
  .ic-badge_center { width: 92px; height: 92px; }
  .ic-badge_center strong { font-size: 34px; }
  .ic-badge_ring text { font-size: 12px; }
}
