/* ==========================================================================
   Global Color Overrides - ALL Pages
   #ff3e41 / #fd8e44 -> #2F5F8F (buttons + text ONLY)
   Backgrounds, icons, and decorative shapes left ORIGINAL.
   ========================================================================== */

/* --- Global text/link overrides --- */
a:focus,
a:hover {
  color: #2F5F8F;
}

/* --- Utility classes --- */
.theme-color {
  color: #2F5F8F;
}

/* --- Section subtitle text (H6) --- */
.sec-title .title {
  color: #2F5F8F !important;
}
.section-title h6,
.section-title2 h6 {
  color: #2F5F8F !important;
}

/* --- Hamburger menu --- */
.hamburger-menu > a {
  color: #2F5F8F;
}

/* --- Navigation text --- */
.navbar-nav > .nav-item > .nav-link::before {
  background-color: #2F5F8F;
}
.navbar-nav .nav-item .nav-link:hover {
  color: #2F5F8F;
}
.navbar .dropdown-menu .dropdown-item:hover {
  color: #2F5F8F;
}
.navbar .navbar-nav .nav-item.active > .nav-link {
  color: #2F5F8F !important;
}
.navbar .navbar-nav .nav-item.active > .nav-link::before {
  background-color: #2F5F8F;
}

/* --- Mobile menu --- */
.open-mobile-menu a:hover,
.open-mobile-menu a.active {
  background: #2F5F8F;
}
.side-mobile-menu ul li a:hover,
.side-mobile-menu ul li a[aria-expanded="true"] {
  color: #2F5F8F;
}
.side-mobile-menu ul li a[aria-expanded="true"]:before {
  background: #2F5F8F;
  border-color: #2F5F8F;
}
.side-mobile-menu ul li ul li:hover > a {
  color: #2F5F8F;
}
.side-mobile-menu ul li ul li:hover > a:before {
  background: #2F5F8F;
  border-color: #2F5F8F;
}

/* ==========================================================================
   BUTTONS — with smooth hover transitions
   ========================================================================== */

/* --- Primary solid buttons --- */
.theme_btn {
  background: #2F5F8F !important;
  transition: background-color 0.25s ease, opacity 0.25s ease, transform 0.15s ease !important;
}
.theme_btn:hover {
  background: #1d3f5f !important;
  opacity: 0.95;
}
/* Keep outline buttons transparent when combined with .theme_btn */
.theme_btn.border_btn_red,
.theme_btn.theme_btn_border.border_btn_red {
  background: transparent !important;
}
.theme_btn.border_btn_red:hover,
.theme_btn.theme_btn_border.border_btn_red:hover {
  background-color: #2F5F8F !important;
  color: #ffffff !important;
}

/* --- Outline / border buttons --- */
.border_btn_red {
  color: #2F5F8F !important;
  border-color: #2F5F8F !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}
.border_btn_red:hover,
.border_btn_red.active {
  background-color: #2F5F8F !important;
  border-color: #2F5F8F !important;
  color: #ffffff !important;
}

.theme_btn_border.style-2b {
  border-color: #2F5F8F !important;
  color: #2F5F8F !important;
  transition: background-color 0.25s ease, color 0.25s ease !important;
}
.theme_btn_border.style-2b:hover {
  background-color: #2F5F8F !important;
  color: #ffffff !important;
}

/* --- CTA-style buttons --- */
.btn-style-two {
  background-color: #2F5F8F !important;
  transition: background-color 0.25s ease !important;
}
.btn-style-two:before {
  background-color: #1d3f5f !important;
}
.btn-style-two .btn-wrap .text-one,
.btn-style-two .btn-wrap .text-two {
  color: #ffffff !important;
}
.btn-style-two:hover {
  background-color: #1d3f5f !important;
}
.btn-style-three {
  background-color: #2F5F8F !important;
  transition: background-color 0.25s ease !important;
}
.btn-style-three:hover {
  background-color: #1d3f5f !important;
}
.btn-style-four:hover .btn-wrap .text-two {
  color: #2F5F8F !important;
}

/* ==========================================================================
   TEXT & ACCENTS
   ========================================================================== */

/* --- Services block text links --- */
.services-block_one h4 a:hover,
.services-block_two h4 a:hover,
.services-block_two .read-more:hover,
.services-block_two .read-more i {
  color: #2F5F8F !important;
}

/* --- Services block accent bars --- */
.services-block_one .inner-box:before,
.services-block_two .inner-box:before {
  background-color: #2F5F8F !important;
}

/* --- Portfolio text --- */
.portfolio-block_one h4 a:hover {
  color: #2F5F8F !important;
}
.portfolio-block_one .info {
  color: #2F5F8F !important;
}
.portfolio-block_one .read-more:hover {
  background-color: #2F5F8F !important;
}
.portfolio-one .owl-nav .owl-prev i:hover,
.portfolio-one .owl-nav .owl-next i:hover {
  color: #ffffff !important;
  border-color: #2F5F8F !important;
  background-color: #2F5F8F !important;
}

/* --- Step number text --- */
.step-block_one .step-number {
  color: #2F5F8F !important;
}

/* --- News / Blog block accents --- */
.news-block_one-content {
  border-right-color: #2F5F8F !important;
}
.news-block_one-meta li {
  color: #2F5F8F !important;
}
.news-block_one-meta li .icon {
  color: #2F5F8F !important;
}

/* --- Blog meta badges --- */
.meta-btn {
  background-color: #2F5F8F !important;
  transition: background-color 0.25s ease !important;
}
.meta-btn:hover {
  background-color: #1d3f5f !important;
}
.blogs-content .blog-title a:hover {
  color: #2F5F8F;
}
.blog-single .blog-title a:hover {
  color: #2F5F8F;
}
.blog-single .meta-links:hover {
  color: #2F5F8F;
}

/* --- Carousel dots --- */
.nav-style-1 .owl-dots .owl-dot.active {
  background-color: #2F5F8F !important;
}

/* --- Team social buttons --- */
.team-block-one .inner-box .socials-links {
  background-color: #2F5F8F !important;
}
.team-block-one .inner-box .socials-links a[style*="background-color"] {
  background-color: #2F5F8F !important;
}
.team-wrapper .social-links a {
  background-color: #2F5F8F !important;
  transition: background-color 0.25s ease, opacity 0.25s ease !important;
}
.team-wrapper .social-links a:hover {
  background-color: #1d3f5f !important;
}
.social_share ul li a {
  background-color: #2F5F8F !important;
}

/* --- Services card text --- */
.c-services a:hover {
  color: #2F5F8F;
}
.c-services:hover .c-services__icon,
.c-services.active .c-services__icon {
  border-color: #2F5F8F;
}
.c-services:hover a,
.c-services.active a {
  color: #2F5F8F !important;
}

/* --- Case / Portfolio --- */
.case-title:hover a {
  color: #2F5F8F;
}
.case-mesonry:hover .plus-icon {
  background-color: #2F5F8F;
  border-color: #2F5F8F;
}

/* --- Filter buttons --- */
.gf_btn.active {
  color: #2F5F8F;
}

/* --- Arrow icon hover text --- */
.arrow-icon:hover {
  color: #2F5F8F !important;
}

/* --- CTA border --- */
.cta-border {
  border-color: #2F5F8F !important;
}

/* --- Work process icon border --- */
.single-work__icon {
  border-color: #2F5F8F;
}

/* --- CTA buttons --- */
.offer-bg .theme_btn,
.cta-section .theme_btn {
  background: #2F5F8F !important;
}
.offer-bg .theme_btn:hover,
.cta-section .theme_btn:hover {
  background: #1d3f5f !important;
}

/* ==========================================================================
   SCROLL-TO-TOP
   ========================================================================== */
.scrollUp {
  background-color: #2F5F8F !important;
  transition: background-color 0.25s ease !important;
}
.scrollUp:hover {
  background-color: #1d3f5f !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-widget ul li a:hover {
  color: #2F5F8F;
}
.footer-style__four .footer-widget ul li a:hover {
  color: #2F5F8F !important;
}
.fot-list li a:hover {
  color: #2F5F8F;
}
.main-footer .footer_socials a:hover {
  background-color: #2F5F8F !important;
}
.footer__widget .social-links a:hover {
  background-color: #2F5F8F !important;
}
.footer-widget .tagcloud a:hover {
  background: #2F5F8F;
}

/* ==========================================================================
   HEADER & SIDEBAR
   ========================================================================== */
.main-header .search-box-btn:hover {
  color: #2F5F8F !important;
}
.about-sidebar .close-button span:hover {
  background-color: #2F5F8F !important;
}
.about-sidebar .social-box a {
  color: #2F5F8F !important;
}
.main-header .main-menu .navigation > li > ul > li > a > span,
.main-header .main-menu .navigation > li > ul > li > ul > li > a > span {
  background-color: #2F5F8F;
}

/* --- Video popup button --- */
.popup-video:hover {
  background: #2F5F8F !important;
  background-color: #2F5F8F !important;
}

/* --- Breadcrumb text --- */
.page-title-wrapper .page-breadcrumb li a {
  color: #2F5F8F;
}

/* --- Page title text --- */
.page-title-wrapper .page-title span {
  color: #2F5F8F;
}

/* --- Blockquote --- */
blockquote {
  border-left-color: #2F5F8F;
}

/* --- Tag cloud buttons --- */
.tag_cloud .tag:hover,
.tag_cloud a:hover {
  background: #2F5F8F;
}
.tagcloud a {
  background: #2F5F8F;
}

/* --- Sidebar / Widget text --- */
.post-widget .sidebar-blog-post .post .post-cont i {
  color: #2F5F8F;
}
.post-left:hover h4,
.post-right:hover h4 {
  color: #2F5F8F;
}
.widget ul li a:hover,
.widget_block ol li a:hover {
  color: #2F5F8F;
}
.widget_categories ul li:hover a,
.widget_categories ul li:hover span {
  color: #2F5F8F;
}

/* --- Pagination buttons --- */
.page-navigation .page-link:hover,
.page-navigation .page-link:focus {
  background-color: #2F5F8F;
  border-color: #2F5F8F;
}
.pagination li a:focus,
.pagination li a:hover,
.pagination li span:focus,
.pagination li span:hover,
.pagination li span.current {
  background-color: #2F5F8F;
  border-color: #2F5F8F;
}
.paginate-links a,
.paginate-links > span {
  border-color: #2F5F8F;
  color: #2F5F8F;
}
.paginate-links a:hover,
.paginate-links > span.current {
  background: #2F5F8F;
  border-color: #2F5F8F;
}

/* --- RSS Widget text --- */
.widget_rss.widget ul li .rss-date,
.widget_rss.footer-widget ul li .rss-date {
  color: #2F5F8F;
}
.widget_rss.widget ul li cite,
.widget_rss.footer-widget ul li cite {
  color: #2F5F8F;
}

/* --- Password form button --- */
.post-password-form input[type="password"] {
  border-color: #2F5F8F;
}
.post-password-form input[type="submit"] {
  background: #2F5F8F;
  transition: background-color 0.25s ease !important;
}
.post-password-form input[type="submit"]:hover {
  background: #1d3f5f;
}

/* --- Links --- */
dl dd a {
  color: #2F5F8F;
}

/* --- Elementor inline text color overrides --- */
.elementor-widget-container [style*="color: #ff3e41"],
.elementor-widget-container [style*="color:#ff3e41"],
.elementor-widget-container [style*="color: #fd8e44"],
.elementor-widget-container [style*="color:#fd8e44"] {
  color: #2F5F8F !important;
}

/* --- Progress bars (About page stats) --- */
.progress-bar {
  background-color: #2F5F8F !important;
}
.progress-bar.bar-3 {
  background-color: #3a7bbf !important;
}
