/*** TechPeritum master theme overrides. ***/
:root {
  --tp-primary: #0f766e;
  --tp-primary-dark: #134e4a;
  --tp-accent: #d97706;
  --tp-ink: #111827;
  --tp-muted: #64748b;
  --tp-surface: #f8fafc;
  --tp-line: #dbe3ea;
}

body {
  background: #ffffff;
  color: var(--tp-muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-content,
.f-content__title,
.icon-m__title,
.recent-portfolio__title,
.portfolio-modern__title {
  color: var(--tp-ink) !important;
}

a,
.btn-link,
.primary,
.contact-info .fa,
.counter .counter-number,
.icon-m__link,
.rp-modern__icon,
.hovercolor,
i.hovercolor,
.post.style-2 header i.hovercolor.fa,
.site-navigation .current-menu-item > a:not(:focus):not(:hover),
.home .site-navigation .current-menu-item > a:not(:focus):not(:hover),
.home .site-header.site-header-sticky-active .menu-item-depth-0.current-menu-item > a:not(:focus):not(:hover) {
  color: var(--tp-primary) !important;
}

a:hover,
a:focus,
.site-header a:hover,
.top-bar a:hover,
.page-heading a:hover,
.menu a:hover,
.menu .is-active a,
.page-numbers a:hover,
.nav-links a:hover,
.widget_archive a:hover,
.widget_categories a:hover,
.widget_recent_entries a:hover,
.socialize a:hover,
.icon a:hover h2,
.icon.style-2 a:hover .fa,
.team .socialize a:hover,
.recentblog header a:hover h2,
.scrollup a:hover,
.vc_tta-tab:hover > a > span {
  color: var(--tp-accent) !important;
}

.heading-left.divider-sm span:before,
.heading-middle.divider-sm span:before,
.heading-middle span:before,
.heading-left span:before,
.divider-modern:not(.heading-content) span:after,
.recent-portfolio__title::after,
.portfolio-modern__title::after,
.rp-modern__header::after,
.progress-bar,
.nav-tabs > li.active:after,
.vc_tta-style-anps_tabs .vc_tta-tabs-list > li.vc_active:after,
.site-search,
.onsale,
.plus,
.minus,
.form-submit #submit,
.f-content__icon,
.f-content__divider,
.icon-m__media,
.menu-button,
.logos .owl-dot.active,
.testimonials-modern .owl-dot.active {
  background-color: var(--tp-primary) !important;
}

.btn,
.btn.style-1,
.btn.style-2,
.wpcf7-submit,
button.single_add_to_cart_button,
p.form-row input.button,
.woocommerce-page .button,
input#place_order {
  background-color: var(--tp-primary-dark) !important;
  border-color: var(--tp-primary-dark) !important;
  color: #ffffff !important;
}

.btn:hover,
.btn:active,
.btn:focus,
.btn.style-1:hover,
.btn.style-1:active,
.btn.style-1:focus,
.btn.style-2:hover,
.btn.style-2:active,
.btn.style-2:focus,
.wpcf7-submit:hover,
.wpcf7-submit:active,
.wpcf7-submit:focus,
button.single_add_to_cart_button:hover,
button.single_add_to_cart_button:active,
button.single_add_to_cart_button:focus,
p.form-row input.button:hover,
p.form-row input.button:focus,
.woocommerce-page .button:hover,
.woocommerce-page .button:focus,
input#place_order:hover,
input#place_order:focus {
  background-color: var(--tp-accent) !important;
  border-color: var(--tp-accent) !important;
  color: #ffffff !important;
}

.btn.style-4,
.vc_btn.style-4 {
  color: var(--tp-primary) !important;
}

.btn.style-4:hover,
.btn.style-4:focus,
.vc_btn.style-4:hover,
.vc_btn.style-4:focus {
  color: var(--tp-accent) !important;
}

.top-bar {
  background-color: var(--tp-primary-dark) !important;
  color: #d7f3ef !important;
}

.top-bar a:not(:hover) {
  color: #d7f3ef !important;
}

.site-header-style-normal .nav-wrap,
.site-navigation .sub-menu {
  background-color: #ffffff !important;
}

.site-header {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.page-header {
  background-image: linear-gradient(rgba(15, 78, 74, 0.78), rgba(15, 78, 74, 0.78)), url("/wp-content/uploads/2024/01/main-Copy-2.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

.page-header h1 {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer {
  background: var(--tp-ink) !important;
}

.site-footer .copyright-footer {
  background: #0b1220 !important;
  color: #cbd5e1 !important;
}

.vc_row-has-fill {
  background-color: var(--tp-surface) !important;
}

.vc_box_shadow_3d,
.vc_box_border,
.vc_box_border_grey,
.vc_box_border_mulled_wine {
  border-color: var(--tp-line) !important;
}

.wpb_single_image img,
.post.style-2 header img,
.gallery img,
.team img {
  border-radius: 6px;
}

.post.style-2,
.sidebar .widget-container,
.portfolio-single .gallery-inner,
.vc_row.vc_inner {
  border-color: var(--tp-line);
}

a#custom-id-0 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 14px 30px !important;
  border: 2px solid var(--tp-primary) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--tp-primary-dark) !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.16);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a#custom-id-0:hover,
a#custom-id-0:focus,
a#custom-id-0:active {
  border-color: var(--tp-accent) !important;
  background: var(--tp-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.22);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 991px) {
  .site-search-toggle button:hover,
  .site-search-toggle button:focus,
  .navbar-toggle:hover,
  .navbar-toggle:focus,
  .navbar-toggle {
    background-color: var(--tp-primary) !important;
  }
}
