html {
  scroll-behavior: smooth;
}

body {
  color: #1f2933;
  background: #f5f7f8;
}

a,
button,
.site-button {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.top-bar {
  background: #121619;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.top-bar a {
  color: rgba(255,255,255,.86);
}

.header-style-5 .main-bar {
  background: rgba(18,22,25,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.dez-logo img,
.logo-footer img {
  max-height: 68px;
  width: auto;
}

.header-nav .nav > li > a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  padding-left: 16px;
  padding-right: 16px;
}

.header-nav .nav > li > a:hover,
.header-nav .nav > li.active > a {
  color: #d71920;
}

.header-nav .nav > li > a.nav-quote-link {
  background: #d71920;
  color: #111;
  border-radius: 4px;
  margin-top: 18px;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(215,25,32,.24);
}

.header-nav .nav > li > a.nav-quote-link:hover {
  background: #fff;
  color: #111;
}

.tp-caption {
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}

.buffalo-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(10,13,16,.86), rgba(10,13,16,.54) 52%, rgba(10,13,16,.2)), url("../images/main-slider/slide1.jpg") center / cover no-repeat;
  color: #fff;
  padding: 190px 0 120px;
}

.buffalo-hero__content {
  max-width: 760px;
}

.buffalo-hero__eyebrow {
  margin: 0 0 16px;
  color: #d71920;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.buffalo-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.buffalo-hero__text {
  max-width: 660px;
  color: rgba(255,255,255,.9);
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 34px;
}

.buffalo-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.buffalo-hero__phone {
  color: #fff;
  font-weight: 800;
  padding: 13px 0;
  border-bottom: 2px solid #d71920;
}

.buffalo-hero__phone:hover {
  color: #d71920;
}

.site-button,
.btn-primary {
  background: #d71920;
  border-color: #d71920;
  color: #111 !important;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(215,25,32,.24);
}

.site-button:hover,
.btn-primary:hover,
.site-button:focus,
.btn-primary:focus {
  background: #111820;
  border-color: #111820;
  color: #fff !important;
  transform: translateY(-1px);
}

.section-full.content-inner,
.section-full.content-inner-1 {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-head {
  margin-bottom: 36px;
}

.section-head .h2,
.contact-form-box h4,
#contact h4 {
  color: #111820;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head p {
  color: #55616d;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.dez-separator.bg-primary,
.dez-separator.bg-primary.style-liner {
  background: #d71920 !important;
}

#services {
  box-shadow: none;
}

#services .dez-box {
  height: 100%;
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(17,24,32,.08);
}

#services .dez-media img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

#services .dez-info {
  border: 0 !important;
  min-height: 245px;
}

#services .dez-title {
  font-size: 22px;
  line-height: 1.25;
}

#services .dez-title a {
  color: #111820;
}

#services .dez-info p,
#contact p,
#contact li,
.site-footer p,
.site-footer li {
  line-height: 1.72;
}

#gallery .section-head p {
  color: rgba(255,255,255,.82);
}

#gallery .section-head .h2 {
  color: #fff;
}

#testimonials .section-head .h2 {
  color: #fff;
}

#testimonials {
  background-image: linear-gradient(135deg, #0c1116, #161d24) !important;
}

#testimonials:after {
  background: rgba(0,0,0,.18);
}

#testimonials .section-head {
  margin-bottom: 30px;
}

#testimonials .section-head p {
  color: rgba(255,255,255,.72);
  max-width: 620px;
}

.site-filters .site-button.white {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: none;
}

.site-filters .active .site-button.white,
.site-filters .site-button.white:hover {
  background: #d71920;
  color: #111 !important;
  border-color: #d71920;
}

.dez-gallery-box img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#contact {
  background: #f5f7f8 !important;
}

#contact .list-check {
  margin-top: 22px;
}

#contact .list-check li {
  margin-bottom: 10px;
  color: #26323d;
}

.contact-form-box {
  background: #fff !important;
  border: 1px solid #e1e6ea;
  border-radius: 6px !important;
  box-shadow: 0 18px 44px rgba(17,24,32,.1);
}

.contact-form-box .form-control {
  height: 50px;
  border: 1px solid #d9e0e5;
  border-radius: 4px;
  color: #111820;
  box-shadow: none;
}

.contact-form-box textarea.form-control {
  min-height: 126px;
}

.contact-form-box .form-control:focus {
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215,25,32,.18);
}

.client-think {
  max-width: 760px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.client-think:before {
  display: none;
}

.client-think:after {
  display: none;
}

.client-think .tab-pane {
  padding: 34px 38px !important;
}

.client-think p {
  color: #2c3540;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.client-think h5 {
  color: #111820;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 3px;
}

.client-think span {
  color: #68727d;
  font-size: 14px;
}

.client-think .dez-separator-outer {
  margin-bottom: 12px;
}

.review-stars {
  color: #d71920;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-tabs {
  gap: 10px;
  margin-top: 26px !important;
}

.review-tabs li {
  padding: 0;
}

.review-tabs li a {
  width: auto;
  height: auto;
  min-width: 104px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-weight: 800;
}

.review-tabs li a.active,
.review-tabs li a:hover {
  background: #d71920;
  border-color: #d71920;
  color: #111;
}

.review-tabs a.active:after {
  display: none;
}

.site-footer .footer-top {
  background: #121619;
}

.site-footer .footer-bottom {
  background: #0c0f12;
}

.site-footer a:hover {
  color: #d71920;
}

.buffalo-footer {
  color: rgba(255,255,255,.78);
}

.buffalo-footer .footer-top {
  padding: 48px 0 34px;
  border-top: 4px solid #d71920;
}

.buffalo-footer .footer-top .row {
  align-items: flex-start;
}

.buffalo-footer .widget {
  margin-bottom: 18px;
}

.buffalo-footer .logo-footer {
  margin-bottom: 16px;
}

.buffalo-footer .logo-footer img {
  max-height: 72px;
}

.buffalo-footer p {
  max-width: 410px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.76);
}

.buffalo-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 20px;
  position: relative;
}

.buffalo-footer h4:after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: #d71920;
  margin-top: 10px;
}

.buffalo-footer .widget_services ul,
.buffalo-footer .widget_getintuch ul {
  margin: 0;
}

.buffalo-footer .widget_services ul li,
.buffalo-footer .widget_getintuch ul li {
  border: 0;
  padding: 0 0 10px 0;
  color: rgba(255,255,255,.76);
}

.buffalo-footer .widget_services ul li:before,
.buffalo-footer .widget_getintuch ul li:before {
  display: none !important;
}

.buffalo-footer .widget_services ul li {
  line-height: 1.35;
}

.buffalo-footer .widget_services ul li a,
.buffalo-footer .widget_getintuch ul li a {
  color: rgba(255,255,255,.86);
}

.buffalo-footer .widget_services ul li a {
  display: inline-block;
  padding: 2px 0;
}

.buffalo-footer .widget_getintuch i {
  display: none;
}

.buffalo-footer .widget_getintuch strong {
  display: block;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.buffalo-footer .widget_getintuch ul li {
  padding-left: 0 !important;
  margin-bottom: 13px;
}

.buffalo-footer .widget_getintuch span,
.buffalo-footer .widget_getintuch a {
  display: inline-block;
  color: rgba(255,255,255,.78);
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-phone,
.footer-quote {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 4px;
  font-weight: 800;
}

.footer-phone {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
}

.footer-quote {
  background: #d71920;
  color: #111 !important;
  padding: 8px 16px;
}

.footer-quote:hover {
  background: #fff;
  color: #111 !important;
}

.buffalo-footer .footer-social {
  display: flex;
  gap: 10px;
  margin: 0;
}

.buffalo-footer .footer-social li {
  padding: 0;
}

.buffalo-footer .footer-social li a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.buffalo-footer .footer-social li a:hover {
  background: #d71920;
  color: #111;
}

.buffalo-footer .footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.buffalo-footer .footer-bottom span,
.buffalo-footer .footer-bottom a {
  color: rgba(255,255,255,.68);
  opacity: 1;
}

.buffalo-footer .footer-bottom a:hover {
  color: #d71920;
}

@media only screen and (max-width: 991px) {
  .buffalo-hero {
    min-height: 620px;
    padding: 150px 0 86px;
  }

  .buffalo-hero h1 {
    font-size: 54px;
  }

  .buffalo-hero__text {
    font-size: 18px;
  }

  .header-nav .nav > li > a.nav-quote-link {
    display: inline-block;
    margin: 8px 15px 14px;
  }

  .section-full.content-inner,
  .section-full.content-inner-1 {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

@media only screen and (max-width: 767px) {
  .buffalo-hero {
    min-height: 560px;
    padding: 128px 0 70px;
  }

  .buffalo-hero h1 {
    font-size: 42px;
  }

  .buffalo-hero__text {
    font-size: 16px;
  }

  .buffalo-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .dez-logo img,
  .logo-footer img {
    max-height: 58px;
  }

  #services .dez-info {
    min-height: 0;
  }

  .contact-form-box {
    padding: 24px !important;
  }

  .client-think .tab-pane {
    padding: 28px 24px !important;
  }

  .review-tabs {
    justify-content: flex-start !important;
  }

  .review-tabs li a {
    min-width: 0;
  }
}
