/**
 * Project-wide theme override – Teal
 * Primary: #0d9488 (teal-600), #0f766e (teal-700)
 * Accent: #2dd4bf (teal-400)
 */
:root {
  --theme-primary: #0d9488;
  --theme-primary-dark: #0f766e;
  --theme-accent: #2dd4bf;
  --theme-primary-rgb: 13, 148, 136;
}

/* Buttons */
.button-primary,
.button.button-primary,
a.button-primary,
button.button-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-dark) 100%) !important;
  border-color: var(--theme-primary-dark) !important;
  color: #fff !important;
}
.button-primary:hover,
.button.button-primary:hover,
a.button-primary:hover {
  background: linear-gradient(135deg, var(--theme-primary-dark) 0%, #0d5c55 100%) !important;
  border-color: #0d5c55 !important;
  color: #fff !important;
  opacity: 1;
}

/* Dividers */
.divider-primary,
hr.divider-primary {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

/* Text accent */
.text-info-dr,
.text-primary {
  color: var(--theme-primary) !important;
}

/* Icon / gradient circles */
.icon-primary,
.text-primary-grad,
.icon-circle.icon-primary {
  color: var(--theme-primary) !important;
}
[class*="icon-primary"].icon-circle {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
  color: #fff !important;
}

/* ===== Header / Navbar design ===== */
.rd-navbar-wrap-header-theme {
  background: linear-gradient(135deg, var(--theme-primary-dark) 0%, var(--theme-primary) 100%) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.rd-navbar-wrap-header-theme .rd-navbar-panel,
.rd-navbar-wrap-header-theme .rd-navbar-inner {
  background: transparent !important;
}
.rd-navbar-wrap-header-theme .brand-name,
.rd-navbar-wrap-header-theme .rd-navbar-nav a {
  color: #fff !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-nav a:hover {
  color: var(--theme-accent) !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-nav li.active > a {
  color: var(--theme-accent) !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-toggle span,
.rd-navbar-wrap-header-theme .rd-navbar-toggle span::before,
.rd-navbar-wrap-header-theme .rd-navbar-toggle span::after {
  background: #fff !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-search-toggle {
  color: #fff !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-dropdown {
  background: var(--theme-primary-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rd-navbar-wrap-header-theme .rd-navbar-dropdown a {
  color: #fff !important;
}
.rd-navbar-wrap-header-theme .rd-navbar-dropdown a:hover {
  color: var(--theme-accent) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Navbar active state (global fallback) */
.rd-navbar-nav li.active > a {
  color: var(--theme-accent) !important;
}

/* Labels / tags */
.label-primary {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #fff !important;
}

/* Owl carousel dots */
.owl-dots-primary .owl-dot.active span,
.owl-dots-primary .owl-dot:hover span {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}

/* Preloader */
.preloader .cssload-speeding-wheel {
  border-color: var(--theme-primary) transparent transparent transparent !important;
}
