/*
Theme Name: mtrucktheme
Author: Me
Text Domain: mtrucktheme
*/

:root {
  --clr-accent: 36, 49, 138;
  --clr-secondary: 26, 83, 92;
  --clr-light: 45 80% 88%;
  --clr-white: 255, 255, 255;
  --clr-dark: 14, 50, 72;
  --clr-black: 0, 0, 0;

  --ff-main: "Noto Sans", sans-serif;
}

/* 

#24318A
#0e3248

*/

/* ------------------- */
/* Reset               */
/* ------------------- */

html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
figure,
picture {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background-color: rgba(var(--clr-white), 1);
  font-family: var(--ff-main);
  color: rgba(var(--clr-black), 1);
  line-height: 1.5;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
.single h1 {
  font-size: 2rem;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0.5rem 0;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
p {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}
ul {
  font-size: 1rem;
}
main {
  flex-grow: 1;
}

a {
  color: rgba(var(--clr-accent), 1);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: rgba(var(--clr-accent), 0.5);
}

.container {
  margin-inline: auto;
  width: 100%;
}

.grid-container {
  display: grid;
  text-align: center;
  place-items: center;
  padding-inline: 1rem;
}

.primary-navigation a {
  text-decoration: none;
}

.primary-navigation a > span {
  font-weight: 700;
  margin-right: 0.5em;
}

header.primary-header {
  background-color: rgba(var(--clr-white), 1);
  padding: 0.125rem 0.25rem;
  border-bottom: 1px solid rgba(var(--clr-black), 0.1);
}

.footer {
  display: flex;
  flex-direction: column;
  background-color: rgba(var(--clr-black), 0.9);
}

.footer-inner {
  margin-inline: auto;
  display: flex;
  padding: 1.5rem 2rem;
  justify-content: center;
  gap: 0.5rem;

  flex-direction: column;
}
.footer-inner p {
  margin: 0.25rem 0.625rem;
  font-size: 0.875rem;
}
.footer-copyright {
  max-width: 1200px;
  color: rgba(var(--clr-white), 1);
  width: 100%;
  margin: 5px auto;
  /* display: flex; */
  flex-direction: row;
  padding: 2.5rem 1rem 2rem;
  justify-content: space-between;
}
.footer-copyright p {
  font-size: 0.875rem;
  margin: 0rem 0.5rem;
}
.footer a {
  color: rgba(var(--clr-light), 1);
}
.footer a:hover {
  color: rgba(var(--clr-light), 0.8);
}
.primary-header > * {
  width: 100%;
}

.logo-and-phones {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.header-logo-img,
.header-phones {
  display: flex;
  align-items: center;
}
.header-logo-img figure {
  display: flex;
  align-items: center;
}
.header-phones {
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.header-contact {
  /* position: absolute;
  right: 20px; */
  display: flex;
  gap: 15px;

  margin-left: 30px;
}
.header-btn-wrapper {
  display: flex;
  align-items: center;
}
.header-btn {
  display: flex;
  align-items: center;
  border: 1px solid rgba(var(--clr-accent), 1);
  padding: 0.25rem 0.5rem 0.25rem 1.25rem;
  background-color: rgba(var(--clr-white), 1);
  color: rgba(var(--clr-accent), 0.8);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.header-btn:hover {
  background-color: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1);
}
.header-btn-text {
  white-space: nowrap;
}
.header-btn-icon {
  /* background-color: rgba(var(--clr-accent), 1); */
  /* border-radius: 50%; */
  padding: 3px;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(var(--clr-accent), 0.8);

  transition: all 0.3s ease-in-out;
}
.header-btn:hover .header-btn-icon {
  color: rgba(var(--clr-white), 1);
}
@media (min-width: 768px) {
  .header-phones {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .logo-and-phones .footer-inner {
    flex-direction: row;
  }
}

.phone-header-text,
.header-phones a {
  text-decoration: none;
  color: rgb(var(--clr-dark));
}

.header-phones--phone {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header-phones--location {
  display: flex;
  font-size: 0.875rem;
}

/* navbar-1 */
.mobile-nav-toggle {
  display: none;
}

header.primary-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
@media only screen and (max-width: 768px) {
  header.primary-header {
    position: relative;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 12px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
}

/* .btn1 a {
  background-color: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1);
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  display: inline-block;
  text-decoration: none;
  font-size: 0.875rem;
  display: block;
  width: fit-content;
  margin: 0.5rem auto;

  transition: background-color 0.3s ease-in-out;
}
.btn1 a:hover {
  background-color: rgba(var(--clr-accent), 0.8);
} */
.wp-block-button__link {
  /* letter-spacing: 1px; */
  padding: 1rem 2rem 1rem 2rem;
  font-size: 1rem;
  font-weight: 300;

  border-radius: 0;

  transition: all 0.3s ease-in-out;
}
.btn1 {
  font-weight: 300;

  position: relative;

  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
}
.btn1::after {
  /* content: ""; */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 20px;
  background-image: url(images/btn1.png);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
}
.btn2 {
  background-color: rgba(var(--clr-accent), 0.1);
  color: rgba(var(--clr-dark), 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--br-small);
  display: inline-block;
  text-decoration: none;
}
.btn2:hover {
  background-color: rgba(var(--clr-accent), 0.3);
}

.card {
  border: 1px solid rgba(var(--clr-accent), 0.1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.card a {
  text-decoration: none;
  color: rgba(var(--clr-accent), 1);
}
.card h4 {
  font-size: 1.5rem;
}

.product-img img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.forminator-row.forminator-row-last .forminator-field {
  display: flex;
  justify-content: center;
}

.postheader {
  text-align: center;
  margin-top: 1rem;
}

@media (min-width: 20rem) and (max-width: 42rem) {
  .container {
    padding-inline: 0rem;
  }
  .products-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));

    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .product-img img {
    width: 100%;
  }
}
.fw-900 {
  font-weight: 900;
}
.text-underline {
  color: #fff;
  border-radius: 3px;
  padding: 0.375rem 0.25rem;
  background-color: #333;
}
.btn-header {
  cursor: pointer;
  border-radius: 3px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid rgb(var(--clr-accent));
  background-color: rgb(var(--clr-accent));
  color: #fff;
  width: 100%;
  transition: background-color 0.3s ease-in-out;
}

.btn-header:hover {
  color: #222;
}
.btn-header:hover,
.header-phone-link:hover {
  background-color: rgba(var(--clr-accent), 0.15);
}

.phone-icon-header {
  border-radius: 6px;
  border: 1px solid rgb(var(--clr-accent));
  background-color: #fff;
  padding: 5px;
  border-radius: 3px;
}
a.phone-header-text {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.logo-and-phones {
  width: 100%;
  max-width: 1280px;
  margin: 5px auto;
  padding: 0px;
  display: flex;
  justify-content: space-between;
}
.logo-and-phones .navbar-1 {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}
.logo-and-phones .header-phones--phone {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: flex-end;
  align-items: end;
}
.header-logo-img img {
  height: 70px;
  width: auto;
}
@media all and (max-width: 680px) {
  .logo-and-phones .header-phones--phone {
    flex-direction: row;
    width: 100%;
  }
  .header-logo-img img {
    height: 45px;
    width: auto;
  }
  .logo-and-phones {
    justify-content: start;
  }
}
.max-width-1200 {
  width: 100%;
  max-width: 1200px;
}

.lang-item img {
  border-radius: 8px;
  width: 28px;
  height: auto;
}
@media all and (max-width: 680px) {
  .lang-item {
    margin-top: 8px;
  }
}

/*--------------main navigation  */
.main-nav {
  position: relative;
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
}

.main-nav ul {
  list-style-type: none;
  display: flex;
}
.main-nav .nav li {
  /* letter-spacing: -1px; */
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.875rem;
  padding: 0 10px;
  display: flex;
  align-items: center;
}
.main-nav .nav a {
  color: rgba(var(--clr-black), 1);
  margin: 0px;
  display: block;
  text-decoration: none;
  padding: 0;
  transition: color 0.3s ease-in-out;
  position: relative;
}
.main-nav .nav li:first-of-type {
  border-left: 0;
  box-shadow: none;
}

.main-nav .nav a:hover {
  color: rgba(var(--clr-accent), 0.8);
}
.main-nav .nav a::after {
  content: "";
  background-color: rgba(var(--clr-white), 0.8);
  position: absolute;
  height: 1px;
  width: 100%;
  display: block;
  margin: 0 auto;
  /* width: 0; */
  scale: 0;
  transition: width 0.2s ease-in-out;
  transition: scale 0.3s ease-in-out;
}
.main-nav .nav a:hover::after {
  content: "";
  background-color: rgba(var(--clr-white), 0.8);
  height: 1px;
  width: 100%;
  scale: 1;
}

.main-nav .nav .current_page_item a {
  /* color: rgba(var(--clr-white), 0.8); */
}
.main-nav .nav .current_page_item a::after {
  /* content: "";
  background-color: rgba(var(--clr-white), 0.8);
  height: 1px;
  width: 100%;
  scale: 1; */
}
.header-social {
  display: flex;
  flex-direction: row;
  gap: 7px;
  justify-content: space-between;
  align-items: center;
}
.header-social img {
  height: 24px;
  width: auto;
  transition: all 0.3s ease-in-out;
}
.header-social img:hover {
  opacity: 0.8;
}
.header-social-languages {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  justify-content: center;
  align-items: center;
}
.header-social-languages a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgb(var(--clr-black));

  transition: color 0.3s ease-in-out;
}
.header-social-languages a:hover {
  color: rgb(var(--clr-accent));
}
.header-languages {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 3px;
  justify-content: space-between;
  align-items: center;
}
.header-languages .polylang-shortcode-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.header-languages a {
  text-transform: uppercase;
  display: flex;
  gap: 3px;
  text-decoration: none;
  color: rgba(var(--clr-black), 0.8);
  font-size: 0.75rem;
  padding: 3px;
}

.header-languages a:hover {
  color: rgba(var(--clr-accent), 1);
}
.header-social a {
  color: rgba(var(--clr-dark), 0.4);
  transition: color 0.3s ease-in-out;
}
.header-social a:hover {
  color: rgba(var(--clr-accent), 1);
}

.header-social span a {
  display: flex;
  align-items: center;
}
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
}
@media only screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    align-items: center;
    /* position: absolute; */
    z-index: 101;
    right: 10px;
    top: 30px;
    /* transform: translateY(-30px); */
    padding: 0px;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter, top;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
  }
  .sticky .hamburger {
    /* top: 22px; */
  }
  .hamburger:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active:hover {
    /* opacity: 0.7; */
  }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    /*     background-color: rgb(var(--clr-accent)); */
    background-color: rgb(var(--clr-accent));
  }

  .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: rgb(var(--clr-accent));
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -8px;
  }
  .hamburger-inner::after {
    bottom: -8px;
  }

  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .hamburger--squeeze .hamburger-inner::before {
    transition:
      top 0.075s 0.12s ease,
      opacity 0.075s ease;
  }
  .hamburger--squeeze .hamburger-inner::after {
    transition:
      bottom 0.075s 0.12s ease,
      transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition:
      top 0.075s ease,
      opacity 0.075s 0.12s ease;
  }

  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition:
      bottom 0.075s ease,
      transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    position: absolute;
    z-index: 99;
    text-align: left;
    top: 0;
    left: 0;
    /*     background: rgb(var(--clr-white) / 1); 
    background: rgb(var(--clr-accent) / 1);*/
    background: rgb(var(--clr-white), 1);
    width: 100%;
    height: 100vh;
    padding: 20px 10px 10px 30px;
    /* transform:scale(1, 0);*/
    transform: translateX(-100%);
    transition: transform 400ms ease-in-out;
  }
  .main-nav.show-nav {
    transform: translateX(0);
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px 0px;
    gap: 7px;
  }

  .main-nav .nav li {
    border: 0;
    box-shadow: none;
    margin: 5px 0;
  }
  .main-nav .nav li {
    font-size: 1rem;
  }
}

.gallery-white-bg .kb-splide .splide__slide {
  background-color: rgb(var(--clr-white));
}
.forminator-ui.forminator-custom-form:not(
    .forminator-size--small
  )[data-grid="open"]
  .forminator-row:not(:last-child) {
  margin-bottom: 15px !important;
}

body.no-scroll {
  overflow-y: hidden;
}

.forminator-button-submit {
  font-weight: 400 !important;
  border-radius: 5px !important;
}
.services h3 {
  font-weight: 900;
  font-size: 2rem;
}
.services img {
  background-color: rgba(var(--clr-accent), 1);
  padding: 0.5rem;
}
.services .kt-adv-heading-has-icon {
  justify-content: space-between;
}

.subtitle-text {
  position: relative;
  display: inline-block;
  color: rgb(var(--clr-accent));
}
.subtitle-text::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -23px;
  background-color: rgba(var(--clr-dark), 0.8);
  height: 18px;
  width: 15px;
}
.subtitle-text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -23px;
  background-color: rgba(var(--clr-dark), 0.8);
  height: 18px;
  width: 15px;
}

.footer-row {
  margin-bottom: 0;
}

.products h2 {
  font-weight: 700;
  font-size: 2rem;
}
.hero {
  height: calc(100vh - 87px);
  display: flex;
  align-items: center;
}
.hero h1 {
  font-size: 3rem;
  margin: 0.5rem 0;
  line-height: 1;
}
.hero p {
  font-weight: 300;
  font-size: 1.5rem;
}
.hero-subtitle {
  font-weight: 500;
  /* text-transform: uppercase; */
  display: block;
  width: fit-content;
  /* color: rgba(var(--clr-secondary), 1); */
  font-size: 1.125rem;
  /* letter-spacing: 1px; */
}
.hero-subtitle-white {
  display: block;
  width: fit-content;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(var(--clr-secondary), 0.5);
  font-size: 0.875rem;
}
.hero-list {
  background-color: rgba(var(--clr-white), 0.6);
  padding: 0.875rem 0.75rem 0.5rem 0.75rem;
  border-radius: 8px;
  width: fit-content;
}

.services2 .kt-inside-inner-col {
  padding: 2rem;
}

.services2 .kt-inside-inner-col::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px dashed rgb(var(--clr-accent));
  box-sizing: border-box;
  pointer-events: none;
  border-radius: 10px;
}

.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input,
.forminator-ui.forminator-custom-form[data-design="default"]
  .forminator-textarea {
  border-radius: 5px !important;
}
@media all and (max-width: 768px) {
  .hero {
    height: auto;
    height: calc(100vh - 120px);
  }
  .hero-h1 {
    font-size: 1.875rem;
    text-align: center;
  }
  h2 {
    font-size: 2rem;
  }
  .hero-subtitle {
    text-align: center;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    background-color: rgba(var(--clr-accent), 0);
    /* color: rgba(var(--clr-white), 0.7); */
    /* font-size: 0.875rem; */
  }
  .hero-list li {
    font-size: 1rem;
  }
}
.link-arial {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

.forminator-button-submit,
.forminator-ui.forminator-custom-form[data-design="material"]
  .forminator-button {
  color: rgba(var(--clr-white), 1) !important;
  background-color: rgba(var(--clr-accent), 1) !important;
  border: 1px solid rgba(var(--clr-accent), 1) !important;
  font-size: 0.875rem !important;
  border-radius: 5px !important;
  padding: 0.5rem 1.5rem !important;
}

.perevaga {
  background-image: linear-gradient(
    to right top,
    #051937,
    #0a2e63,
    #194491,
    #305ac2,
    #4d71f5
  );
  border-radius: 6px;
  padding: 0.25rem 1rem 1rem;
  transition: background-color 0.3s ease-in-out;
}
.perevaga h3 {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(var(--clr-white), 1);
}
.perevaga p {
  text-align: center;
  font-size: 0.938rem;
  line-height: 1.3;
  color: rgba(var(--clr-white), 0.9);
}
.perevaga figure {
  margin: 1rem;
}
.perevaga img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  opacity: 0.7;
}
.perevaga:hover {
  background-color: rgba(var(--clr-white), 0.8);
}

.product {
  padding: 0.25rem 1rem;
}
.product h3 {
  margin: 0.5rem 0.25rem 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(var(--clr-black), 0.9);
}
.product p {
  text-align: center;
  font-size: 0.938rem;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.product img {
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}

.hero-img img {
  height: auto;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  position: relative;

  -webkit-border-top-left-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.hero-img::after {
  content: "";
  top: 100px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  position: absolute;
  max-width: 600px;
  margin: 0 auto;

  background-image: linear-gradient(
    to bottom,
    #dceaed,
    #d5e4e8,
    #cddfe3,
    #c6d9de,
    #bfd4d9
  );

  border-radius: 20px;
}
.under-hero .kt-blocks-info-box-title {
  font-weight: bold;
  font-size: 1.25rem;
}
.text-2 {
  color: rgba(var(--clr-white), 0.3);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}
.wp-block-table table td {
  border: 1px solid #999;
}
.grafik-likariv table td,
.price-table table td {
  text-align: center;
}
.grafik-likariv table {
  overflow-x: visible;
}
.grafik-likariv table td:first-child,
.price-table table td:first-child {
  text-align: left;
}
.doctor-block h3 {
  font-size: 1.125rem;
  margin: 0.5rem 0;
  letter-spacing: -1px;
}
.doctor-block p {
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.price-table table td[colspan] {
  background-color: #fff;
  text-align: center;
}
.free-services h3 {
  text-align: center;
  font-weight: 700;
}
.breadcrumbs {
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
.breadcrumbs p,
.breadcrumbs a {
  font-size: 0.75rem;
}
.news-block .entry-title {
  font-weight: 700;
  text-transform: uppercase;
}

.offer-wrapper {
  /* background-image: url(images/offer-bg-1.jpg),
    url(images/bg-leaves-black-vertical.jpg);
  background-position: left bottom, right center;
  background-repeat: no-repeat;
  background-size: 400px, 200px; */
}
.offer {
  /* padding: 0; */
  /* transition: background-color 0.3s ease-in-out; */
  /* height: 400px; */
  /* border-radius: 10px; */
  overflow: hidden;
}
.offer .kt-inside-inner-col {
  height: 100%;
  padding: 2rem 1rem 3rem;

  background-color: rgba(var(--clr-accent), 1);
}

.offer .kt-inside-inner-col::before {
  /* content: ""; */
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  background-size: 100% 400%;
  background-position: 100% 0%;
  /* transform: translateY(100%); */
  transition: background-position 400ms ease-in-out;
  z-index: 1;
  /* pointer-events: none;
  will-change: transform; */
}

.offer .kt-inside-inner-col:hover::before {
  background-position: 100% 100%;
}

.offer .kt-inside-inner-col > * {
  position: relative;
  z-index: 2;
}

.offer h3 {
  text-align: center;
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 1rem 0.5rem;
  color: rgba(var(--clr-white), 1);

  transform: translateY(30px);
  transition: all 300ms ease-in-out;
}

.offer p {
  text-align: center;
  font-size: 0.938rem;
  font-weight: 500;
  margin: 0.5rem 1rem 1.5rem 1rem;
  line-height: 1.3;
  /* color: rgba(var(--clr-white), 0.9); */

  transform: translateY(0px);
  transition: all 300ms ease-in-out;
}
.offer figure {
  margin: 1rem;
}
.offer img {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  opacity: 0.7;
}
.offer p a {
  display: inline-block;
  background-color: rgba(var(--clr-accent), 1);
  color: rgb(var(--clr-white));
  font-size: 0.875rem;
  /* letter-spacing: -1px; */
  font-weight: 400;
  padding: 0.375rem 1.25rem;

  border-radius: 5px;
  transform: translateY(30px);
  transition: all 300ms ease-in-out;
}
.offer:hover p a,
.offer:hover h3,
.offer:hover p {
  transform: translateY(0px);
}

@media only screen and (max-width: 768px) {
  .offer .kt-inside-inner-col {
    height: 100%;
  }

  .single h1 {
    font-size: 1.5rem;
  }
  .logo-and-phones {
    align-items: center;
  }
  .header-contact {
    margin-right: 80px;
    flex-direction: column;
    margin: 20px 0 0 10px;
  }
  .header-languages .polylang-shortcode-switcher {
    flex-direction: row;
  }
  .header-languages a {
    font-size: 0.875rem;
  }
  .header-logo-img {
    margin-right: auto;
  }
  .header-contact {
    justify-content: center;
  }
  .header-btn {
    font-size: 0.875rem;
    /* padding: 0.25rem .25rem 0.25rem 0.25rem; */
  }
  .header-social img {
    height: 32px;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 15px;
  }
}

/* POPUP */
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--clr-black), 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1000;
}

/* Show popup */
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup content */
.popup-content .forminator-row {
  margin-bottom: 8px !important;
}
.popup-content
  .forminator-ui.forminator-custom-form[data-grid="open"]
  .forminator-row:not(:last-child) {
  margin-bottom: 18px !important;
}
.popup-content {
  background: rgb(var(--clr-white));
  padding: 1rem 2rem;
  border-radius: 10px;

  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;

  overflow: hidden;
}
.popup-content h3 {
  margin: 1rem auto 0.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
.popup-content ul {
  margin: 1rem;
  padding: 0;
}
.popup-content ul li {
  display: flex;
  justify-content: space-between;
}
.popup-overlay.active .popup-content {
  transform: scale(1);
}

/* Close button */
.popup-close {
  position: absolute;
  top: 0px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

/* POPUP */

/* MENU STYLING */
/* #mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  font-weight: 600;
} */
/* MENU STYLING */

.whyus-block {
  /* background-color: rgb(var(--clr-accent)); */
  /* border-radius: 10px; */
  /* height: 350px;
  min-height: 350px; */
  border: 1px solid rgba(var(--clr-white), 0.1);
  transition: all 0.3s ease-in-out;
}
.whyus-block:hover {
  border: 1px solid rgba(var(--clr-white), 0.5);
}
.whyus-block .kt-inside-inner-col {
  /* background-color: rgb(var(--clr-white)); */
  padding: 1.5rem;
}
.whyus-block h3 {
  color: rgb(var(--clr-white));
  font-size: 1.5rem;
  /* font-weight: 700; */
  margin: 0 0 0.5rem 0;
  /* text-transform: uppercase; */
}
.whyus-block p {
  color: rgba(var(--clr-white), 0.9);
  font-size: 0.978rem;
  line-height: 1.2;
}

.whyus-block p,
.whyus-block ul {
  font-weight: 300;
}
.whyus-block img {
  height: 60px;
  width: 60px;
  border-radius: 8px;
}

/* forminator */
#forminator-module-177.forminator-design--material
  .forminator-field-textarea
  .forminator-is_filled
  .forminator-label[class*="forminator-floating-"],
#forminator-module-177.forminator-design--material
  .forminator-field-textarea
  .forminator-is_active
  .forminator-label[class*="forminator-floating-"] {
  transform: translateY(calc(-100% -10px)) !important;
}
/* forminator */

.main-nav1 {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #mega-menu-wrap-top-menu
    .mega-menu-toggle.mega-menu-open
    ~ button.mega-close {
    display: none !important;
  }
}

#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.mega-current-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.mega-current-menu-ancestor
  > a.mega-menu-link,
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.mega-current-page-ancestor
  > a.mega-menu-link {
  font-weight: 500;
}

a.mega-menu-link:hover {
  color: rgba(var(--clr-accent), 1) !important;
}

.custom-textarea .forminator-field {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "label description"
    "textarea textarea";
  align-items: center;
  gap: 5px 8px;
}

.custom-textarea .forminator-label {
  grid-area: label;
}

.custom-textarea .forminator-description {
  grid-area: description;
}

.custom-textarea .forminator-textarea {
  grid-area: textarea;
  width: 100%;
  margin-top: 8px;
}

.custom-heading {
  color: rgba(var(--clr-accent), 1);
  position: relative;
  padding-bottom: 5px;

  font-weight: 900;
}

.custom-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-image: url(images/h2.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.custom-heading-white {
  color: rgba(var(--clr-white), 1);
  position: relative;
  padding-bottom: 5px;

  font-weight: 900;
}
.custom-heading-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-image: url(images/h2-white.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.block2 {
  background-color: #fff;
  padding: 0 10px;
}

.forminator-ui#forminator-module-177.forminator-design--flat
  .forminator-button-submit {
  border-radius: 0 !important;
}

/* MEGA MENU */
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.header-btn
  > a.mega-menu-link {
  display: flex;
  align-items: center;
  border: 1px solid rgba(var(--clr-accent), 1);
  padding: 0.25rem 2rem 0.25rem 1rem;
  background-color: rgba(var(--clr-white), 1);
  background-image: url(images/arrow.svg);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 16px;
  color: rgba(var(--clr-accent), 1);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin: 0 10px;
}
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-menu-item.header-btn
  > a.mega-menu-link:hover {
  background-color: rgba(var(--clr-accent), 1);
  color: rgba(var(--clr-white), 1) !important;
  background-image: url(images/arrow-up-right.svg);
}

#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  > li.mega-lang-item
  > a.mega-menu-link {
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(var(--clr-accent), 1);
  /* Додайте інші стилі за потреби */
}

/* Ховер для мов */
/* Додаємо .mega-menu-item до ланцюжка, щоб переважити стандартні стилі */
#mega-menu-wrap-top-menu
  #mega-menu-top-menu
  li.mega-menu-item.mega-lang-item
  > a.mega-menu-link {
  color: rgba(var(--clr-black), 1);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0px 5px;
}
/* Мобільна версія (зазвичай Max Mega Menu перемикається на 768px) */
@media only screen and (max-width: 768px) {
  /* 1. Робимо контейнери (li) мов в один ряд */
  html
    body
    #mega-menu-wrap-top-menu
    #mega-menu-top-menu
    li.mega-menu-item.mega-lang-item {
    display: inline-block;
    width: auto;
    clear: none; /* Щоб вони не скидалися на новий рядок */
    vertical-align: middle;
    width: 50px;
  }

  /* 2. Додаємо трохи відступів між ними, щоб зручно було натискати пальцем */
  html
    body
    #mega-menu-wrap-top-menu
    #mega-menu-top-menu
    li.mega-menu-item.mega-lang-item
    > a.mega-menu-link {
    padding-left: 10px;
    padding-right: 10px;
    display: inline-flex; /* Допомагає центруванню вмісту */
  }

  /* 3. Опціонально: центруємо весь блок з мовами, якщо вони єдині в рядку */
  /* #mega-menu-wrap-top-menu #mega-menu-top-menu {
        text-align: center; 
    }
    */
}
/* MEGA MENU */
