/**
 * ============================================
 * CORPORATE COLOR SCHEME OVERRIDES
 * Primary: #022C5F (Dark Blue)
 * Secondary: #3b9e43 (Green)
 * ============================================
 * This file overrides the default theme colors
 * to match the corporate visual identity.
 * Load this AFTER style.css
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (Variables)
   ========================================== */
:root {
  --corporate-primary: #022c5f;
  --corporate-primary-light: #0364ae;
  --corporate-primary-dark: #0364ae;
  --corporate-secondary: #3b9e43;
  --corporate-secondary-light: #4cb856;
  --corporate-secondary-dark: #2d7a33;
  --corporate-primary-rgb: 2, 44, 95;
  --corporate-secondary-rgb: 59, 158, 67;
}

/* ==========================================
   GLOBAL OVERRIDES
   ========================================== */

/* Text Selection */
::selection {
  background: #022c5f !important;
  color: #fff !important;
}

/* ==========================================
   TEXT COLORS
   ========================================== */
.text-primary {
  color: #022c5f !important;
}

.text-secondary {
  color: #3b9e43 !important;
}

/* ==========================================
   BACKGROUND COLORS
   ========================================== */
.bg-primary {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

.bg-secondary {
  background-color: #3b9e43 !important;
  border-color: #3b9e43 !important;
}

.bg-soft-primary {
  background-color: rgba(2, 44, 95, 0.15) !important;
  color: #022c5f !important;
}

.bg-primary-transparent {
  background-color: rgba(2, 44, 95, 0.1) !important;
  color: #022c5f !important;
}

.bg-transparent-primary {
  background: rgba(2, 44, 95, 0.1) !important;
}

/* Gradient Overrides */
.bg-primary-gradient {
  background: linear-gradient(90deg, #022c5f 0%, #3b9e43 100%) !important;
}

/* ==========================================
   BUTTON OVERRIDES
   ========================================== */
.btn-primary {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #0364ae !important;
  border-color: #0364ae !important;
}

.btn-outline-primary {
  color: #022c5f !important;
  border-color: #022c5f !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
  color: #fff !important;
}

.btn-secondary {
  background-color: #3b9e43 !important;
  border-color: #3b9e43 !important;
  color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #2d7a33 !important;
  border-color: #2d7a33 !important;
}

.btn-view {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

.btn-view:hover {
  background-color: #0364ae !important;
  border-color: #0364ae !important;
}

/* ==========================================
   HEADER / NAVBAR OVERRIDES
   ========================================== */
.header-login {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
  color: #fff !important;
}

.header-login:hover {
  background-color: #0364ae !important;
  border-color: #0364ae !important;
}

.header-navbar-rht li > a.header-login-outline {
  border-color: #022c5f !important;
  color: #022c5f !important;
}

.header-navbar-rht li > a.header-login-outline:hover {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
  color: #fff !important;
}

.header-navbar-rht .has-submenu > a .user-img {
  color: #022c5f !important;
}

.header-navbar-rht .has-submenu .submenu-header {
  background: linear-gradient(135deg, #022c5f 0%, #0364ae 100%) !important;
}

.header-navbar-rht .submenu li a:hover {
  color: #022c5f !important;
  border-left-color: #022c5f !important;
}

/* Navigation Active States */
.main-nav li.active > a,
.main-nav li a:hover {
  color: #022c5f !important;
}

.main-nav .has-submenu.active .submenu li.active > a {
  color: #022c5f !important;
}

/* ==========================================
   FOOTER OVERRIDES
   ========================================== */
.footer,
.footer-two {
  background-color: #022c5f !important;
}

.footer-title::after {
  background-color: #3b9e43 !important;
}

.footer-widget .footer-address span i {
  color: #3b9e43 !important;
}

.social-icon ul li a:hover {
  background-color: #3b9e43 !important;
  border-color: #3b9e43 !important;
}

/* ==========================================
   HERO / BANNER SECTION OVERRIDES
   ========================================== */
.hero-section-two,
.section-search-two {
  background-color: #022c5f !important;
}

.hero-section-two h1 span,
.banner-search h1 span {
  color: #3b9e43 !important;
}

/* Search Button */
.search-btn button,
.search_service {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

.search-btn button:hover,
.search_service:hover {
  background-color: #0364ae !important;
  border-color: #0364ae !important;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-heading h2 span,
.section-heading-two h2 span {
  color: #3b9e43 !important;
}

/* ==========================================
   FORM CONTROLS
   ========================================== */
.form-control:focus,
.form-select:focus {
  border-color: #022c5f !important;
  box-shadow: 0 0 0 0.2rem rgba(2, 44, 95, 0.25) !important;
}

.form-check-input:checked {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

/* ==========================================
   CARDS & SERVICE WIDGETS
   ========================================== */
.service-widget:hover {
  border-color: #022c5f !important;
}

.service-widget:hover .serv-info h6 a {
  color: #022c5f !important;
}

.feature-widget:hover .feature-icon span {
  background-color: #022c5f !important;
}

.work-wrap-box .work-icon span {
  background-color: rgba(2, 44, 95, 0.1) !important;
}

.work-wrap-box .work-icon span img {
  filter: none !important;
}

/* Category Tags */
.item-cat {
  background-color: #022c5f !important;
}

/* ==========================================
   RATINGS & STARS
   ========================================== */
.rating i.filled {
  color: #ffc107 !important; /* Keep gold for stars */
}

/* ==========================================
   CURSOR OVERRIDES
   ========================================== */
.mouse-cursor.cursor-inner {
  background-color: #022c5f !important;
}

.mouse-cursor.cursor-outer {
  border-color: #022c5f !important;
}

/* ==========================================
   CAROUSEL / SLIDER OVERRIDES
   ========================================== */
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
  background-color: #022c5f !important;
}

.slick-dots li.slick-active button:before {
  color: #022c5f !important;
}

/* ==========================================
   BADGES
   ========================================== */
.badge-primary,
.badge.bg-primary {
  background-color: #022c5f !important;
}

.badge-secondary,
.badge.bg-secondary {
  background-color: #3b9e43 !important;
}

/* ==========================================
   SVG FILLS
   ========================================== */
.svg-primary {
  fill: #022c5f !important;
}

.svg-secondary {
  fill: #3b9e43 !important;
}

/* ==========================================
   LINK OVERRIDES
   ========================================== */
a:hover {
  color: #022c5f;
}

.text-primary:hover {
  color: #0364ae !important;
}

/* ==========================================
   LOGIN / REGISTER PAGE OVERRIDES
   ========================================== */
.login-section .form-control:focus,
.login-section .form-select:focus {
  border-color: #022c5f !important;
  box-shadow: 0 0 0 0.2rem rgba(2, 44, 95, 0.15) !important;
}

.login-section .btn-primary {
  background: linear-gradient(135deg, #022c5f 0%, #0364ae 100%) !important;
  border: none !important;
}

.login-section .btn-primary:hover {
  background: linear-gradient(135deg, #0364ae 0%, #022c5f 100%) !important;
  box-shadow: 0 5px 15px rgba(2, 44, 95, 0.3) !important;
}

.login-section .form-check-input:checked {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

.login-section a:hover {
  color: #0364ae !important;
}

/* ==========================================
   MISCELLANEOUS OVERRIDES
   ========================================== */

/* Fav Icon */
.fav-icon:hover {
  background-color: #022c5f !important;
}

/* Scroll to Top */
.scroll-top {
  background-color: #022c5f !important;
}

.scroll-top:hover {
  background-color: #0364ae !important;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #022c5f !important;
  border-color: #022c5f !important;
}

.page-link:hover {
  color: #022c5f !important;
}

/* Tabs */
.nav-tabs .nav-link.active {
  color: #022c5f !important;
  border-bottom-color: #022c5f !important;
}

/* Progress Bars */
.progress-bar {
  background-color: #022c5f !important;
}

/* Border Colors */
.border-primary {
  border-color: #022c5f !important;
}

.border-secondary {
  border-color: #3b9e43 !important;
}

/* ==========================================
   OUTLINE VARIANTS
   ========================================== */
.bg-outline-primary {
  background-color: #fff !important;
  border: 1px solid #022c5f !important;
  color: #022c5f !important;
}

.bg-outline-secondary {
  background-color: #fff !important;
  border: 1px solid #3b9e43 !important;
  color: #3b9e43 !important;
}
