/*
 * Theme Name:  HW 26
 * Description: NDI
 * Author:      Alliant Studios
 * Author URI:  https://alliantstudios.com
 * Template:    dopplehaus
 * Version:     1.7
 * Text Domain: dopplehaus
 */


/* =============================================================================
   Base
   ============================================================================= */

html {
  scroll-behavior: smooth !important;
}

body {
  margin-top: 32px;
}

body.top-margin-fixer {
  margin-top: 0;
}

section {
  scroll-margin: 114px;
}


/* =============================================================================
   Typography
   ============================================================================= */

.page-layout h2,
.page-layout h3,
.page-layout h4,
.page-layout h5,
.page-layout h6,
.block.content-area h2,
.block.content-area h3,
.block.content-area h4,
.block.content-area h5,
.block.content-area h6,
.alt-font {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-weight: 400 !important;
}

p.alt-font,
p span.alt-font {
  font-weight: 400 !important;
}

.text-area h1 { font-size: 3.3rem; }
.text-area h2 { font-size: 3rem;   }
.text-area h3 { font-size: 2.7rem; }
.text-area h4 { font-size: 2.4rem; }
.text-area h5 { font-size: 2.1rem; }
.text-area h6 { font-size: 1.8rem; }


/* =============================================================================
   Content Area — Headings & Links
   ============================================================================= */

.text-area .wpb-content-wrapper h2,
.text-area .wpb-content-wrapper h3,
.text-area .wpb-content-wrapper h4 {
  color: #555d96;
}

.text-area .wpb-content-wrapper h2 {
  font-size: 38px;
  line-height: 1.2;
}

.text-area .wpb-content-wrapper a {
  color: #072a8a;
}

.text-area h2 {
  font-size: 3rem;
}

body.single-post .text-area h2,
.single-post .text-area h2,
.single-post .text-area h3 {
  color: #555d96;
}


/* =============================================================================
   Blockquotes
   ============================================================================= */

.block.text-area blockquote {
  border-color: #fff;
}


/* =============================================================================
   Buttons
   ============================================================================= */

.btn {
  font-weight: bold;
}

.restack-services .btn-medium {
  display: none;
}

.cta-inline-button {
  display: inline-block;
  padding: 20px;
  background-color: #072a8a;
  color: #fff !important;
  text-decoration: none !important;
}


/* =============================================================================
   Blue-Green Gradient Utility
   ============================================================================= */

.blue-green {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    #072a8a  0%,
    #6a72ad 25%,
    #4cad5a 50%,
    #6a72ad 75%,
    #072a8a 100%
  );
  background-size: 260% 260%;
  background-position: 50% 50%;
  animation: ambientFlow 20s ease-in-out infinite;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.blue-green::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.06),
    transparent 65%
  );
  pointer-events: none;
}

@keyframes ambientFlow {
  0%   { background-position: 25%  50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 25%  50%; }
}


/* =============================================================================
   FAQs
   ============================================================================= */

.faqs.blue-green .border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.faqs .accordion-title .fw-500 {
  font-weight: 700 !important;
}


/* =============================================================================
   Awards Grid
   ============================================================================= */

.awards-grid {
  padding: 25px 0 50px;
  margin: 0 auto;
  text-align: center;
}

.single-award {
  display: inline-block;
  margin: 5px 20px;
}


/* =============================================================================
   Pricing Area — Column Styles
   ============================================================================= */

.pricing-area.text-area.content-area .col-md-4,
.pricing-area.text-area.content-area .col-md-6,
.pricing-area.text-area.content-area .col-12:nth-of-type(2) {
  padding: 20px;
  margin: 5px;
  border: 1px solid rgba(91, 103, 112, 0.5);
}

.pricing-area.text-area.content-area .col-md-4 {
  width: calc(33% - 10px);
}

.pricing-area.text-area.content-area .col-md-6 {
  width: calc(50% - 10px);
}

.pricing-area.text-area.content-area .col-12:nth-of-type(2) {
  width: calc(100% - 10px);
}


/* =============================================================================
   Header — Top Bar & Sticky States
   ============================================================================= */

.header-top-bar,
.header-top-bar .top-bar-social ul li a {
  font-size: 14px !important;
}

header .header-top-bar .icon-feather-mail {
  color: #fff;
}

.header-transparent .fa-angle-down::before {
  color: #fff;
}

.header-transparent .active .fa-angle-down::before {
  color: rgba(255, 255, 255, 0.6);
}

header.sticky.sticky-active [data-header-hover="light"].header-transparent .fa-angle-down::before {
  color: #333;
}

header.sticky.sticky-active [data-header-hover="light"] .navbar-nav .nav-link.schedule-now {
  color: #fff;
}


/* =============================================================================
   Navigation — Schedule Now CTA
   ============================================================================= */

li:has(> a.schedule-now) {
  padding-top: 55px;
  padding-bottom: 55px;
}

.schedule-now {
  padding-left: 10px;
  color: #fff;
  background-color: #072a8a;
}

[data-mobile-nav-style="modern"] .navbar-modern-inner .navbar-nav .nav-item .nav-link.schedule-now {
  padding-right: 10px !important;
  padding-left: 10px !important;
  background-color: #fff;
  color: #072a8a;
}


/* =============================================================================
   Mobile Auxiliary Navigation
   ============================================================================= */

.mobile-aux {
  padding: 15px;
  background-color: #fff;
  font-size: 16px;
}

.mobile-aux a {
  display: block;
  padding-top: 10px !important;
  color: #072a8a;
}


/* =============================================================================
   Before/After Showcase
   ============================================================================= */

.block.before-after-showcase .ba-slider-handle-icon {
  mix-blend-mode: color-dodge;
}


/* =============================================================================
   Estimate Table
   ============================================================================= */

.estimate-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-family: inherit;
}

.estimate-table th,
.estimate-table td {
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #e5e5e5;
}

.estimate-table thead th {
  background-color: #1f2f4a;
  color: #fff;
  font-weight: 600;
}

.estimate-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.estimate-table tbody tr:nth-child(even) {
  background-color: #f7f9fc;
}

.estimate-table tbody tr:hover {
  background-color: #eef2f7;
  transition: background-color 0.2s ease-in-out;
}


/* =============================================================================
   Admin Bar Overrides
   ============================================================================= */

.logged-in.admin-bar {
  margin-top: 0;
}

.logged-in.admin-bar .header-top-bar {
  display: none !important;
}


/* =============================================================================
   Responsive — ≤ 991px
   ============================================================================= */

@media (max-width: 991.98px) {

  body {
    margin-top: 0;
  }

  /* Estimate table — stacked card layout */
  .estimate-table,
  .estimate-table thead,
  .estimate-table tbody,
  .estimate-table th,
  .estimate-table td,
  .estimate-table tr {
    display: block;
    width: 100%;
  }

  .estimate-table thead {
    display: none;
  }

  .estimate-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
  }

  .estimate-table td {
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }

  .estimate-table td:first-child {
    background-color: #f7f9fc;
    font-weight: 600;
  }

  .estimate-table td:last-child {
    border-bottom: none;
  }

  .estimate-table td + td {
    padding-top: 8px;
  }

}