/* ==========================================================================
   Dagar Fire Control - Theme Customization (Matching Logo Colors)
   Primary Red: #E51A1A (Bold Fire Red)
   Hover Red:   #B80C0C (Dark Crimson)
   Accent Gold: #FFB800 / #F5A623 (Safety Amber Yellow)
   Dark Base:   #16191D / #1A1D20 (Deep Charcoal)
   ========================================================================== */

:root {
  --dfc-primary: #E51A1A;
  --dfc-primary-hover: #B80C0C;
  --dfc-accent: #FFB800;
  --dfc-dark: #16191D;
  --dfc-text-dark: #222222;
  --dfc-light-bg: #FFF5F5;
}

/* 1. Brand Accents & Highlights */
.main-color,
.style1,
span.highlight,
.mf-section-title h2 span,
.mf-section-title h3 span,
.mf-section-title h5 span,
.wpb_wrapper h2 span,
.wpb_wrapper h3 span,
.wpb_wrapper p span {
  color: #E51A1A !important;
}

.main-background-color {
  background-color: #E51A1A !important;
}

/* 2. Topbar */
#topbar {
  background-color: #16191D !important;
  border-bottom: 2px solid #E51A1A;
}
#topbar .topbar-office li i,
#topbar .topbar-office li.phone i {
  color: #FFB800 !important;
}
#topbar a:hover {
  color: #E51A1A !important;
}

/* 3. Site Header & Contacts */
.header-contact.mail i,
.header-contact i,
.header-contact .flaticon-note,
.header-contact .fa-volume-control-phone {
  color: #E51A1A !important;
  border-color: #E51A1A !important;
}
.header-contact a:hover {
  color: #E51A1A !important;
}
.site-description {
  color: #E51A1A !important;
  font-weight: 700;
}

/* 4. Navigation Menu */
.site-menu {
  background-color: #ffffff !important;
  border-bottom: 2px solid #E51A1A !important;
}
.main-nav ul.menu > li > a {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  background: transparent !important;
}
.main-nav ul.menu > li:hover > a,
.main-nav div.menu > ul > li.current_page_item > a,
.main-nav div.menu > ul > li:hover > a,
.main-nav ul.menu > li.active > a,
.main-nav ul.menu > li.current-menu-item > a {
  color: #E51A1A !important;
  background: transparent !important;
}
.main-nav ul.menu > li.nav-item-products > a {
  color: #E51A1A !important;
  font-weight: 700 !important;
}
.main-nav ul.menu > li.nav-item-products > a:hover {
  color: #B80C0C !important;
}
.main-nav ul.menu > li > a i.fa {
  font-size: 11px;
  margin-left: 3px;
  vertical-align: middle;
}
.main-nav ul ul,
.main-nav .dropdown-submenu {
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-top: 3px solid #E51A1A !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12) !important;
  padding: 0 !important;
  min-width: 230px !important;
}
.main-nav ul ul li,
.main-nav .dropdown-submenu li {
  border-bottom: 1px solid #f0f0f0 !important;
  background-color: #ffffff !important;
  padding: 0 !important;
  display: block !important;
}
.main-nav ul ul li:last-child,
.main-nav .dropdown-submenu li:last-child {
  border-bottom: none !important;
}
.main-nav ul ul li a,
.main-nav .dropdown-submenu li a {
  color: #2b2b2b !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 11px 18px !important;
  display: block !important;
  background-color: #ffffff !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: 0px !important;
  transition: all 0.2s ease !important;
}
.main-nav ul ul li:hover > a,
.main-nav ul ul li a:hover,
.main-nav .dropdown-submenu li a:hover {
  color: #E51A1A !important;
  background-color: #fff8f8 !important;
  padding-left: 22px !important;
}

/* Navbar Contact Us Button */
.header-v5 .mf-header-item-button a.contact-btn-custom,
.header-v5 .mf-header-item-button a {
  background-color: #E51A1A !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-left: 4px solid #FFB800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(229, 26, 26, 0.3) !important;
  transition: all 0.3s ease;
}
.header-v5 .mf-header-item-button a.contact-btn-custom:hover,
.header-v5 .mf-header-item-button a:hover {
  background-color: #B80C0C !important;
  color: #ffffff !important;
}

/* 5. Buttons across Website */
.mf-btn,
.button,
a.button,
input[type="submit"],
button[type="submit"],
.btn-primary,
.wpcf7-submit {
  background-color: #E51A1A !important;
  border-color: #E51A1A !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}
.mf-btn:hover,
.button:hover,
a.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.btn-primary:hover,
.wpcf7-submit:hover {
  background-color: #B80C0C !important;
  border-color: #B80C0C !important;
  color: #ffffff !important;
}

.mf-button2 a.button.mf-btn4.has-background {
  background-color: #E51A1A !important;
  color: #fff !important;
}
.mf-button2 a.button.mf-btn4.has-background:hover {
  background-color: #B80C0C !important;
}

/* 6. Section Titles & Lines */
.mf-section-title h1,
.mf-section-title h2,
.mf-section-title h3,
.mf-section-title h4,
.mf-section-title h5,
.mf-section-title h6 {
  color: #16191D !important;
}
.mf-section-title h2:after {
  background-color: #E51A1A !important;
}
.mf-section-title:after,
.mf-section-title.dark:after,
.widget-title:after {
  background-color: #E51A1A !important;
}
.mf-section-title .title-separator,
.mf-section-title.style-1:after,
.mf-section-title.style-2:after,
.mf-section-title.style-3:after {
  background-color: #E51A1A !important;
}

/* 7. Page Header Banner & Breadcrumbs */
.page-header .featured-image {
  border-bottom: 3px solid #E51A1A !important;
}
.page-header h1 {
  color: #16191D;
}
.breadcrumbs a:hover {
  color: #E51A1A !important;
}
.breadcrumbs i.fa {
  color: #FFB800 !important;
}

/* 8. Services, Solutions & Features */
.service-inner:hover .service-title a,
.service-title a:hover {
  color: #E51A1A !important;
}
.service-thumbnail .pro-link,
.mf-portfolio-icon {
  background-color: #E51A1A !important;
  color: #ffffff !important;
}
.service-thumbnail .pro-link:hover,
.mf-portfolio-icon:hover {
  background-color: #B80C0C !important;
}
.mf-box-feature:hover i,
.mf-box-feature i {
  color: #E51A1A !important;
}

/* 9. Sidebar Navigation */
.mainNav ul li.selected > a,
.mainNav ul li a.active,
.mainNav ul li a.active2,
.mainNav ul li a:hover {
  color: #E51A1A !important;
  border-left-color: #E51A1A !important;
}

/* 10. Forms */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #E51A1A !important;
  box-shadow: 0 0 5px rgba(229, 26, 26, 0.4) !important;
}

/* 11. Footer */
#footer-widgets {
  background-color: #16191D !important;
  color: #aaaaaa;
}
#footer-widgets .widget-title {
  color: #ffffff !important;
  border-bottom: 2px solid #E51A1A !important;
  padding-bottom: 8px;
}
#footer-widgets a:hover {
  color: #E51A1A !important;
}
.footer-widget-contact i {
  color: #E51A1A !important;
}
.site-footer {
  background-color: #111315 !important;
  border-top: 1px solid #25282c !important;
}
.site-footer .footer-copyright a {
  color: #E51A1A !important;
}
.footer-social a:hover {
  background-color: #E51A1A !important;
  color: #ffffff !important;
}

/* 12. Back to Top Button */
#scroll-top {
  background-color: #E51A1A !important;
  color: #ffffff !important;
  border-radius: 4px;
}
#scroll-top:hover {
  background-color: #B80C0C !important;
}

/* 13. Sliders & Carousels */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #E51A1A !important;
}
.owl-nav div:hover {
  background-color: #E51A1A !important;
  border-color: #E51A1A !important;
  color: #ffffff !important;
}

/* 14. Products We Offer - Slider & Card Styling (Matching User Screenshot) */
.mf-portfolio.style-1 {
  position: relative;
  padding: 10px 0 20px 0;
}
.mf-portfolio.style-1 .portfolio-list {
  position: relative;
  margin: 0 -12px;
}
.mf-portfolio.style-1 .project-wrapper {
  padding: 10px 12px;
  outline: none !important;
}
.mf-portfolio.style-1 .project-inner {
  text-align: center;
  background: transparent;
  transition: all 0.3s ease;
}
.mf-portfolio.style-1 .project-inner:before {
  display: none !important;
}
.mf-portfolio.style-1 .project-thumbnail {
  background: #ffffff;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 20px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  height: 250px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mf-portfolio.style-1 .project-inner:hover .project-thumbnail {
  border-color: #E51A1A;
  box-shadow: 0 4px 15px rgba(229, 26, 26, 0.15);
  transform: translateY(-3px);
}
.mf-portfolio.style-1 .project-thumbnail img {
  max-height: 200px;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain;
  display: inline-block !important;
}
.mf-portfolio.style-1 .project-summary {
  margin-top: 15px;
  padding: 0;
  background: transparent !important;
}
.mf-portfolio.style-1 .project-title {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}
.mf-portfolio.style-1 .project-title a {
  color: #222222 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mf-portfolio.style-1 .project-inner:hover .project-title a,
.mf-portfolio.style-1 .project-title a:hover {
  color: #E51A1A !important;
}
.mf-portfolio.style-1 .pro-link {
  display: none !important;
}

/* Slick Carousel Arrow Navigation */
.mf-portfolio.style-1 .slick-prev,
.mf-portfolio.style-1 .slick-next {
  width: 44px !important;
  height: 48px !important;
  background-color: #ffffff !important;
  border: 2px solid #E51A1A !important;
  border-radius: 4px !important;
  color: #E51A1A !important;
  cursor: pointer;
  position: absolute !important;
  top: 42% !important;
  transform: translateY(-50%) !important;
  z-index: 100 !important;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.mf-portfolio.style-1 .slick-prev {
  left: -25px !important;
}
.mf-portfolio.style-1 .slick-next {
  right: -25px !important;
}
.mf-portfolio.style-1 .slick-prev:before,
.mf-portfolio.style-1 .slick-next:before {
  color: #E51A1A !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
.mf-portfolio.style-1 .slick-prev:hover,
.mf-portfolio.style-1 .slick-next:hover {
  background-color: #E51A1A !important;
  border-color: #E51A1A !important;
}
.mf-portfolio.style-1 .slick-prev:hover:before,
.mf-portfolio.style-1 .slick-next:hover:before {
  color: #ffffff !important;
}

/* 19. Client Logo Carousel */
.mf-partner .partner-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 95px !important;
  background: #ffffff !important;
  border: 1px solid #ebebeb !important;
  border-radius: 4px !important;
  padding: 10px 15px !important;
  box-sizing: border-box !important;
  margin: 0 6px 20px 6px !important;
  transition: all 0.3s ease !important;
}
.mf-partner .partner-item:hover {
  border-color: #E51A1A !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
}
.mf-partner .partner-item img {
  max-height: 65px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

/* 20. Hero Banner Slider - Text Contrast & Dark Gradient Overlay */
#rev_slider_1_1 .slotholder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

#rev_slider_1_1 .tp-caption[id*="-layer-2"] {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

#rev_slider_1_1 .tp-caption[id*="-layer-4"] {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

