/* Custom Color Overrides - MB Prime Tech */
/* Applying Royal Blue #0044FF to buttons and details (lighter shade) */

/* Text Divider Lines */
.text-divider-item::before,
.text-divider-item::after {
  background-color: #0033CC !important;
}

/* Primary Buttons */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background-color: #0033CC !important;
  border-color: #0033CC !important;
}

.btn-primary:hover {
  background-color: #002299 !important;
  border-color: #002299 !important;
}

/* Links and Accents */
a:hover,
a:focus {
  color: #0033CC !important;
}

.link-primary {
  color: #0033CC !important;
}

/* Header Social Icons */
.header-social a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-social a:hover {
  color: #0033CC !important;
  transform: scale(1.15);
}

.header-social a:hover svg {
  fill: #0033CC !important;
}

/* Footer Social Icons - Threads SVG hover */
.social a svg {
  transition: fill 0.2s ease;
}

.social a:hover svg {
  fill: #1a3a5c !important;
}

/* Team Person Cards - Hover Effects */
.person {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person:hover {
  transform: translateY(-8px);
}

.person .person-media {
  overflow: hidden;
  border-radius: 8px;
}

.person .person-img {
  transition: transform 0.4s ease, filter 0.3s ease;
}

.person:hover .person-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.person .person-title a {
  transition: color 0.2s ease;
}

.person:hover .person-title a {
  color: #3b82f6 !important;
}

/* Tags and Badges */
.tag-primary,
.badge-primary {
  background-color: #3b82f6 !important;
  color: #ffffff !important;
}

/* Form Focus States */
.form-input:focus,
.form-control:focus {
  border-color: #0033CC !important;
}

/* Navigation Active States */
.nav-link.active,
.navbar-nav .active > .nav-link {
  color: #0033CC !important;
}

/* Breadcrumbs */
.breadcrumbs-custom-path a:hover {
  color: #0033CC !important;
}

/* Icons and Highlights */
.icon-primary,
.text-primary {
  color: #0033CC !important;
}

/* WhatsApp Button - Keep green */
.whatsapp-float {
  background-color: #25d366 !important;
}

/* Box CTA Buttons */
.box-cta-btn {
  background-color: #0033CC !important;
  border-color: #0033CC !important;
}

.box-cta-btn:hover {
  background-color: #002299 !important;
  border-color: #002299 !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet-active {
  background-color: #0033CC !important;
}

/* Counter and Statistics */
.counter,
.counter-value,
.counter-simple .counter {
  color: #0033CC !important;
}

/* Links in general - Exclude footer links */
a[href]:not(.btn):not(.whatsapp-float):not(footer a):not(.footer a) {
  color: #0033CC !important;
}

a[href]:not(.btn):not(.whatsapp-float):not(footer a):not(.footer a):hover {
  color: #002299 !important;
}

/* Link Buttons */
.link-btn:hover {
  color: #0033CC !important;
}

/* Agendar Reparo links - WhatsApp green */
.thumbnail-price a[href*="wa.me"] {
  color: #25d366 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.thumbnail-price a[href*="wa.me"]:hover {
  color: #128c7e !important;
  text-decoration: underline;
}

/* Form Submit Buttons - WhatsApp style */
:root {
  --form-button-green: #00a94f;
  --form-button-green-hover: #009146;
}

.rd-mailform .form-button .btn[type="submit"],
.rd-mailform .form-button .btn[data-newsletter-submit] {
  background-color: var(--form-button-green) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 32px;
  width: 100%;
  box-shadow: 0 10px 24px rgba(0, 169, 79, 0.25);
  text-transform: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rd-mailform .form-button .btn[type="submit"]::after,
.rd-mailform .form-button .btn[data-newsletter-submit]::after {
  content: "\F690";
  font-family: "Material Design Icons";
  font-size: 1.4rem;
  line-height: 1;
}

.rd-mailform .form-button .btn[type="submit"]:hover,
.rd-mailform .form-button .btn[type="submit"]:focus,
.rd-mailform .form-button .btn[data-newsletter-submit]:hover,
.rd-mailform .form-button .btn[data-newsletter-submit]:focus {
  background-color: var(--form-button-green-hover) !important;
  box-shadow: 0 14px 28px rgba(0, 145, 70, 0.3);
  transform: translateY(-1px);
  outline: none;
}

/* Footer Background - Using default bg-primary color */
/* Removed forced color to allow bg-primary to work naturally */

/* Force all footer content to white - Highest specificity */
footer,
footer *,
.footer,
.footer *,
.footer-classic,
.footer-classic *,
.footer-minimal,
.footer-minimal *,
footer a,
footer p,
footer li,
footer span,
footer div,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer .link,
footer .contact-info,
footer .contact-info *,
footer .contact-info-link,
footer .contact-info-item,
.footer a,
.footer p,
.footer li,
.footer span,
.footer div,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
  color: #ffffff !important;
}

/* Ensure SVG icons are white */
footer svg,
.footer svg,
footer i,
.footer i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

footer a:hover,
.footer a:hover,
.footer-classic a:hover,
.footer-minimal a:hover,
footer .link:hover,
.footer .link:hover,
.footer-classic .link:hover,
.footer-minimal .link:hover {
  color: #1e3a8a !important;
}

/* Footer Social Icons and Special Elements */
footer .icon,
.footer .icon,
.footer-classic .icon,
.footer-minimal .icon,
footer .mdi,
.footer .mdi,
footer .fa,
.footer .fa,
footer [class*="icon-"],
.footer [class*="icon-"] {
  color: #ffffff !important;
}

footer .icon:hover,
.footer .icon:hover,
.footer-classic .icon:hover,
.footer-minimal .icon:hover,
footer .mdi:hover,
.footer .mdi:hover,
footer .fa:hover,
.footer .fa:hover,
footer [class*="icon-"]:hover,
.footer [class*="icon-"]:hover {
  color: #1e3a8a !important;
}

/* Newsletter Button - Only right side rounded */
footer .rd-form-inline .form-button .btn,
.footer .rd-form-inline .form-button .btn {
  border-radius: 0 999px 999px 0 !important;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Newsletter Input - Only left side rounded */
footer .rd-form-inline .form-wrap .form-input,
.footer .rd-form-inline .form-wrap .form-input {
  border-radius: 999px 0 0 999px !important;
  pointer-events: auto !important;
  cursor: text !important;
  position: relative !important;
  z-index: 1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  caret-color: #0f172a !important;
}

footer .rd-form-inline .form-wrap .form-input::placeholder,
.footer .rd-form-inline .form-wrap .form-input::placeholder {
  color: rgba(15, 23, 42, 0.55) !important;
}

/* Ensure form-wrap doesn't block input */
footer .rd-form-inline .form-wrap,
.footer .rd-form-inline .form-wrap {
  pointer-events: auto !important;
  position: relative !important;
}

/* Ensure form-icon doesn't block input */
footer .rd-form-inline .form-icon,
.footer .rd-form-inline .form-icon {
  pointer-events: none !important;
  z-index: 2 !important;
}

/* Ensure form-label doesn't block input */
footer .rd-form-inline .form-label,
.footer .rd-form-inline .form-label {
  pointer-events: none !important;
}
