/* Modern polish layer for the tabela theme. Loaded after the legacy theme. */
:root {
  --tm-ink: #1f2933;
  --tm-muted: #667085;
  --tm-surface: #ffffff;
  --tm-soft: #f6f8fb;
  --tm-line: #e6eaf0;
  --tm-accent: #f28c28;
  --tm-accent-dark: #b75c12;
  --tm-charcoal: #202427;
}

body {
  color: var(--tm-ink);
  background: var(--tm-soft);
  text-rendering: optimizeLegibility;
}

a,
.theme_color {
  color: var(--tm-accent);
}

a:hover {
  color: var(--tm-accent-dark);
}

.auto-container {
  max-width: 1180px;
}

.main-header.header-style-one {
  background: var(--tm-surface);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
}

.header-style-one .header-upper {
  margin-top: 0;
}

.header-style-one .header-upper .info-outer {
  padding: 14px 30px;
  background: var(--tm-charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-style-one .header-upper .info-outer:before,
.header-style-one .header-upper .upper-right .header-lower:before {
  display: none;
}

.main-header .info-box {
  margin-right: 36px;
  padding-left: 44px;
}

.main-header .info-box .icon-box {
  color: var(--tm-accent);
  font-size: 26px;
}

.main-header .info-box li,
.main-header .info-box li a {
  color: rgba(255, 255, 255, 0.82);
}

.main-header .info-box li span,
.main-header .info-box li span a {
  color: #fff;
  font-weight: 700;
}

.header-style-one .header-upper .logo-box {
  padding: 18px 0;
}

.main-header .header-upper .logo-box .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
  max-height: 76px;
  width: auto;
}

.main-header .header-upper .upper-right .header-lower {
  padding-left: 34px;
  background: transparent;
}

.main-menu .navigation > li {
  margin-right: 4px;
}

.main-menu .navigation > li > a {
  color: var(--tm-ink);
  padding: 21px 16px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0;
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a {
  color: #fff;
  background: var(--tm-accent);
}

.main-menu .navigation > li > ul {
  border: 1px solid var(--tm-line);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
}

.main-menu .navigation > li > ul > li > a {
  color: var(--tm-ink);
}

.main-slider {
  padding: 0;
  background: var(--tm-charcoal);
}

.main-slider .color-one,
.main-slider .color-two,
.main-slider .mouse-btn-down {
  display: none;
}

.main-slider .slide {
  min-height: 620px;
  padding: 178px 0 150px;
}

.main-slider .slide:before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(14, 18, 22, 0.84) 0%, rgba(14, 18, 22, 0.58) 48%, rgba(14, 18, 22, 0.22) 100%);
}

.main-slider .content {
  max-width: 760px;
  text-align: left;
}

.main-slider h2 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  text-transform: none;
  margin-bottom: 22px;
}

.main-slider .text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.theme-btn {
  border-radius: 6px;
}

.btn-style-one,
.btn-style-two,
.btn-style-three,
.main-footer .newsletter-form .form-group button {
  background: var(--tm-accent);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(242, 140, 40, 0.24);
}

.btn-style-one:hover,
.btn-style-two:hover,
.btn-style-three:hover {
  background: var(--tm-accent-dark);
}

.sec-title {
  margin-bottom: 44px;
}

.sec-title h2 {
  color: var(--tm-ink);
  font-size: 36px;
  font-weight: 800;
  text-transform: none;
}

.sec-title .separate,
.page-title h2:after {
  width: 76px;
}

.sec-title .separate:before {
  background-color: var(--tm-line);
}

.sec-title .separate:after,
.page-title h2:after,
.services-block .inner-box .lower-box:before,
.gallery-block .inner-box .image .overlay-box .plus-icon,
.call-to-action-section-three:before {
  background-color: var(--tm-accent);
}

.experiance-section,
.services-section,
.gallery-section,
.news-section,
.clients-section {
  background: var(--tm-surface);
}

.experiance-section {
  padding: 86px 0 40px;
}

.experiance-section .pattern-layer {
  opacity: 0.18;
}

.experiance-section .title-column .upper-box {
  margin-bottom: 34px;
}

.experiance-section .title-column .upper-box .upper-inner {
  padding: 34px 34px 34px 172px;
  background: var(--tm-soft);
  border: 1px solid var(--tm-line);
}

.experiance-section .title-column .upper-box .upper-inner:before {
  display: none;
}

.experiance-section .title-column .upper-box .number {
  left: 34px;
  top: 26px;
  color: var(--tm-accent);
  font-size: 92px;
}

.experiance-section .title-column .upper-box h3 {
  color: var(--tm-ink);
  font-size: 26px;
}

.experiance-section .title-column .upper-box .upper-title {
  color: var(--tm-muted);
  font-size: 17px;
}

.experiance-section .text {
  color: var(--tm-muted);
  line-height: 1.85;
}

.text-center > img[src*="logo2"] {
  max-width: 320px;
  width: 70%;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 14px 24px rgba(16, 24, 40, 0.12));
}

.services-section {
  padding: 84px 0 62px;
}

.services-block .inner-box {
  overflow: hidden;
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.services-block .inner-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(16, 24, 40, 0.14);
}

.services-block .inner-box .image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.services-block .inner-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.services-block .inner-box:hover .image img {
  transform: scale(1.06);
}

.services-block .inner-box .image .overlay-box {
  background: rgba(32, 36, 39, 0.86);
}

.services-block .inner-box .lower-box {
  min-height: 92px;
  border: 0;
  padding: 24px 18px;
}

.services-block .inner-box .lower-box h3 {
  font-size: 20px;
  line-height: 1.35;
}

.services-block .inner-box .lower-box h3 a {
  color: var(--tm-ink);
}

.gallery-section {
  padding: 82px 0;
  background: var(--tm-soft);
}

.gallery-block .inner-box {
  overflow: hidden;
  border: 1px solid var(--tm-line);
  background: var(--tm-surface);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
}

.gallery-block .inner-box .image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-block .inner-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-block .inner-box .image .overlay-box {
  inset: 0;
  background-color: rgba(32, 36, 39, 0.78);
}

.team-section-two {
  background: var(--tm-charcoal);
}

.team-block-two .inner-box {
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.clients-section {
  padding: 54px 0;
}

.clients-section .sponsors-outer .image-box img {
  max-height: 78px;
  object-fit: contain;
}

.news-section {
  padding: 82px 0;
  background: var(--tm-soft);
}

.news-block .inner-box {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
}

.page-title {
  background-color: var(--tm-charcoal);
}

.page-title:before {
  background: rgba(10, 13, 16, 0.72);
}

.sidebar-page-container {
  background: var(--tm-surface);
}

.blog-cat li a {
  border-radius: 6px;
}

.service-single .inner-box .lower-content h2 {
  color: var(--tm-ink);
  font-weight: 800;
}

.service-single .inner-box .lower-content .text {
  color: var(--tm-muted);
}

.main-footer {
  background-color: #121619;
}

.main-footer .footer-social-box {
  background: #171c20;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.main-footer .footer-social-box .social-nav li {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.main-footer .footer-social-box .social-nav li:last-child {
  border-right-color: rgba(255, 255, 255, 0.08);
}

.main-footer .logo-widget .text,
.main-footer .contact-link li,
.main-footer .newsletter-widget .text,
.main-footer .footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.68);
}

.main-footer .newsletter-form .form-group input[type="text"],
.main-footer .newsletter-form .form-group input[type="email"] {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.main-footer .footer-bottom {
  background: #0d1012;
}

@media only screen and (max-width: 1023px) {
  .header-style-one .header-upper .info-outer {
    padding: 14px 15px;
  }

  .main-header .info-box {
    margin-right: 18px;
  }

  .main-slider .slide {
    min-height: 540px;
    padding: 132px 0 118px;
  }

  .main-slider h2 {
    font-size: 44px;
  }
}

@media only screen and (max-width: 767px) {
  .main-header .info-box {
    width: 100%;
    padding-left: 0;
    margin: 0 0 14px;
  }

  .main-header .info-box .icon-box {
    display: none;
  }

  .main-menu .navbar-header {
    padding: 10px 0;
  }

  .main-slider .content {
    text-align: center;
  }

  .main-slider .slide:before {
    background: rgba(14, 18, 22, 0.72);
  }

  .main-slider h2 {
    font-size: 34px;
  }

  .main-slider .text {
    font-size: 16px;
  }

  .experiance-section,
  .services-section,
  .gallery-section,
  .news-section {
    padding: 58px 0;
  }

  .experiance-section .title-column .upper-box .upper-inner {
    padding: 28px;
    text-align: center;
  }

  .experiance-section .title-column .upper-box .number {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    margin-bottom: 10px;
    font-size: 72px;
  }

  .sec-title h2 {
    font-size: 28px;
  }

  .main-footer .footer-social-box .social-nav li {
    width: 49%;
  }
}
