/*
Theme Name: avcompanytheme
Author: Val

*/

 :root {
  /* colors */
  --clr-accent: 216 100% 50%;
  --clr-accent-light: 207 91% 64%;
  --clr-dark-blue: 224 65% 30%;
  --clr-white: 0 0% 100%;
  --clr-dark: 0 0% 0%;

  /* font-families */
  --ff-main: "Inter", sans-serif;
}

/* Reset               */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/* Reset               */
/* ------------------- */
/* 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;
  }
}

html {
  scroll-behavior: smooth;
}

/* set up the body */
body {
  font-family: var(--ff-main);
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-white));
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
main {
  flex-grow: 1;
}
.font-300 {
  font-weight: 300;
}
.font-500 {
  font-weight: 500;
}
.font-900 {
  font-weight: 900;
}
h1, h2 {
  font-size: 2.5rem;
}
a {
  color: hsl(var(--clr-accent));
  transition: all 0.3s ease-in-out;
}
a:hover {
  color: hsl(var(--clr-accent));
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

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

/* ------------------- */
/* Page specifics  backgrounds      */

/* ------------------- */

header.primary-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 0;
  width: 100%;
  margin: 0 auto 0px;
  background-color: hsl(var(--clr-white));
  border-bottom: 1px solid hsl(var(--clr-accent) / 0.3);
}

.footer {
  display: flex;
  flex-direction: column;
  margin-top: 0rem;
}
.footer {
  background-color: hsl(var(--clr-dark-blue));
}

.footer-copyright {
  color: hsl(var(--clr-white) / 0.7);
  width: 100%;
  margin-inline: auto;
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
}
.footer-copyright p {
  font-size: 0.75rem;
}

.logo-and-phones {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  padding: 0 15px;
  margin: 0 auto;
}

.header-logo-img {
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .logo-and-phones {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .navbar-1 {
    padding: 0.75rem 0.25rem;
    display: flex;
    align-items: center;
  }
}
/* header.primary-header {
  position: static;
} */
.header-logo-img img {
  height: 75px;
  width: auto;
}
@media only screen and (max-width: 768px) {
  .header-logo-img img {
    height: 65px;
  }
  .logo-and-phones {
    padding: 0 15px 0 5px;
    margin: 0 auto;
  }
  .primary-header {
    position: relative;
    /*     margin: 0.25rem 0.5rem; */
    margin: 0 auto 5px;
    padding-top: 0rem;
    /* 	  height:75px; */
    /* 	  outline: 1px solid red; */
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 0px;
    display: flex;
    margin-top: 22px;
    /* top: 50%;  
  transform: translateY(-50%);
	  transition: top 0.3s ease-in-out; */
    transition: all 0.3s ease-in-out;
    width: auto;
    /*     height: 40px; */
    z-index: 99999999999;
  }
  .primary-header.sticky .navbar-1 {
    margin-top: 13px;
  }
}

/* @media only screen and (max-width: 400px) {

  .primary-header {
    position: relative;

    padding-top: 0rem;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 20px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
} */

/*--------------*/
/*Buttons*/
/*--------------*/

/* 
.modal-overlay,
.modal-overlay-footer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: grid;
  place-items: center;
  display: none;
  background-color: hsl(var(--clr-dark) / 0.3);
  z-index: 9999;
}
.modal-overlay.show-modal,
.modal-overlay-footer.show-modal {
  display: grid;
}
.modal {
  width: 95%;
  max-width: 400px;
  background-color: hsl(var(--clr-white) / 1);
  padding: 1rem;
  border-radius: var(--br-medium);
}

.close-modal {
  cursor: pointer;
}
.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.25rem;
}
.modal-title h4 {
  font-size: 1.25rem;
} */

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

.postheader {
  text-align: center;
  margin-top: 1rem;
}
h1.postheader {
  font-size: 2rem;
}
@media (min-width: 20rem) and (max-width: 42rem) {
  .container {
    padding-inline: 0rem;
  }
}

/* custom*/

.max-width-1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* overwrite kadence colors */
body .kb-button.kb-btn-global-fill {
  background-color: hsl(var(--clr-accent));
}

.breadcrumbs {
  color: #999;
}
.breadcrumbs a {
  text-decoration: none;
  color: #999;
}
.breadcrumbs a:hover {
  color: hsl(var(--clr-accent));
}

/* sticky header*/
/* .page-template-menu-overlay-light-bg header.primary-header  */
.primary-header {
  transition: all 0.3s ease;
  /* height: 90px; */
}

.primary-header .header-logo-img img {
  height: 75px;
}
.primary-header .header-logo-img img {
  transition: height 0.5s ease-out;
  transform: scaleY(1);
  transform-origin: center;
  transition: all 0.3s ease;
}

/* */
.white-text h1,
.white-text h2,
.white-text h3,
.white-text p,
.white-text ul li {
  color: hsl(var(--clr-white));
}

.header-social a {
  text-decoration: none;
}

/*--------------main navigation  */
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
}
.main-nav .nav li {
}
.main-nav .nav a {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 5px 0.5rem;
  padding: 0.25rem;
  display: block;
  color: hsl(var(--clr-dark) / 0.8);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.main-nav .nav a::after {
  content: "";
  bottom: 0px;
  left: 0;
  height: 2px;
  width: 0%;
  position: absolute;
  background-color: hsl(var(--clr-accent));
  transition: width 0.3s ease;
}
/* 
.main-nav .nav .current_page_item a */
.main-nav .nav a:hover {
  color: hsl(var(--clr-accent));
  /* border: 1px solid hsl(var(--clr-accent)); */
}
.main-nav .nav a:hover::after {
  width: 100%;
}
/* .nav-toggle-label,
.nav-toggle {
  display: none;
} */
.header-social-languages {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}
.header-languages,
.header-social {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 3px;
  justify-content: space-between;
  align-items: center;
}
.header-languages a {
  display: block;
  text-decoration: none;
  color: hsl(var(--clr-dark) / 0.8);
  font-size: 13px;
  padding: 3px;
}
.header-languages a:hover {
  color: hsl(var(--clr-accent) / 1);
}
.header-social a {
  color: hsl(var(--clr-dark) / 0.4);
  transition: color 0.3s ease-in-out;
}
.header-social a:hover {
  color: hsl(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 {
    position: absolute;
    z-index: 100;
    right: 15px;
    top: 25px;
    padding: 0px;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;

    transition: top 0.3s ease-in-out;
  }
  .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: hsl(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: 40px;
    height: 2px;
    background-color: hsl(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: -10px;
  }
  .hamburger-inner::after {
    bottom: -10px;
  }

  .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;
    text-align: left;
    top: 0;
    left: 0;
    z-index: 99;
    background: hsl(var(--clr-white));
    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: 0;
  }
  .main-nav nav ul li {
    margin: 10px 0;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 15px;
  }
}
body.no-scroll {
  overflow-y: hidden;
}

/*--------------end main navigation  */

.customlist-1 {
  list-style: none;
  padding-left: 0;
}
.customlist-1 li {
  background-image: url(images/list-arrow.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 48px;
  margin: 7px 0;
  font-size: 1.5rem;
  padding: 0.5rem 0.75rem 0.5rem 4rem;
}


h3 {
  font-size: 1.875rem;
  line-height: 1.2;
}

.btn1 {

  margin-top: .25rem;
  display: inline-block;
  border-radius: 5px;
  border: 1px solid hsl(var(--clr-accent));
  color: hsl(var(--clr-accent));
  padding: .25rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;

  transition: background-color 0.3s ease-in-out;
}
.btn1:hover {
  color: hsl(var(--clr-accent));
  background-color: hsl(var(--clr-accent) / 0.1);
}
.btn2 {
  margin-top: 1rem;
  display: block;
  width: 200px;
  border-radius: 15px;
  border: 2px solid hsl(var(--clr-accent));
  color: hsl(var(--clr-white));
  padding: 15px 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;

  transition: background-color 0.3s ease-in-out;
}
.btn2:hover {
  color: hsl(var(--clr-white));
  background-color: hsl(var(--clr-white) / 0.1);
}
@media (max-width: 768px) {
  .primary-header {
    height: 70px;
  }
  .primary-header.sticky {
    height: 60px;
  }
  .primary-header.sticky .hamburger {
    top: 19px;
  }

  .customlist-1 li {
    background-image: url(images/list-arrow.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 36px;
    margin: 2px 0;
    font-size: 1rem;
    padding: 0.25rem 0.75rem 0.5rem 3.5rem;
  }

  h2 {
    font-size: 2.125rem;
    line-height: 1.2;
    text-align: center;
  }
  h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
  }
}

/* Contact form 7 */
.form-style {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.form-style__row {
  width: 100%;
  max-width: 350px;
  margin-top: 20px;
}
.form-style label {
  line-height: 1.7em;
  font-size: 1.5rem;
  font-weight: 400;
  color: hsl(var(--clr-accent));
}
.form-style input {
  background-color: hsl(var(--clr-dark));
  color: hsl(var(--clr-white));
  border: 2px solid hsl(var(--clr-accent));
  border-radius: 15px;
  height: 60px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  padding: 10px;
  width: 100%;
  max-width: 350px;
}
.form-style p {
  color: hsl(var(--clr-accent));
}
.form-style .btn {
  display: block;
  cursor: pointer;
  background-color: hsl(var(--clr-accent));
  color: hsl(var(--clr-dark));
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  width: 100%;
  max-width: 350px;
  height: 60px;
  margin-top: 20px;
  border-radius: 15px;
  padding-top: 15px;
  padding-bottom: 10px;
  transition: background-color 0.3s ease-in-out;
}
.form-style .btn:hover {
  background-color: hsl(var(--clr-accent) / 0.8);
}
.wpcf7-spinner {
  display: none;
}
.wpcf7-not-valid-tip {
  font-size: 0.875rem;
}
.wpcf7-form-control-wrap {
  display: block;
}
.use-floating-validation-tip .wpcf7-not-valid-tip {
  border-radius: 15px;
  position: absolute;
  padding: 7px;
  top: 2px;
  border: 0;
  left: 5px;
  background-color: hsl(var(--clr-dark));
  width: 95%;
  max-width: 340px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
  padding: 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 350px;
  margin: 20px auto;
  border: 0;
  background-color: #46b450;
  color: hsl(var(--clr-dark));
  text-align: center;
}

/* Contact form 7 */
.phone-popup-title {
  text-transform: uppercase;
  text-align: center;
}

.forminator-row.forminator-row-last {
  margin-top: -20px;
}

@media (max-width: 35rem) {
  .primary-header .header-logo-img img {
    /* width: 80%; */
    height: 65px;
  }
}

/* Custom rows */

/* .hero {
    background-image: url(http://avcompany.test/wp-content/uploads/2025/01/wave-bottom.svg), url(images/atlantic_cod.jpg);
    background-size: 100% auto, 300px auto;
    background-position: 50% 100%, 20px 40px;
    background-attachment: scroll, scroll,;
    background-repeat: no-repeat, no-repeat;
} */

.gallery-custom-caption {
}
.gallery-custom-caption
  .kb-gallery-ul
  .kadence-blocks-gallery-item
  .kadence-blocks-gallery-item-inner
  .kadence-blocks-gallery-item__caption {
  width: max-content;
  margin: 0 auto;
  /* background: hsl(var(--clr-accent-light) / 1); */
  background: hsl(var(--clr-white) / 1);
  border: 1px solid hsl(var(--clr-accent-light) / 1);
  color: hsl(var(--clr-black));
  text-transform: capitalize;
  border-radius: 3px;
  padding: 0.5rem 2rem;
}

.service-block {
  border: 1px solid hsl(var(--clr-accent-light) / 1);
  padding: 1rem;
  border-radius: 10px;
  background-color: #fff;
  background-image: url(images/corner-left-bottom.svg),
    url(images/corner-right-top.svg);
  background-position: left bottom, right top;
  background-size: 90%, 90%;
  background-repeat: no-repeat, no-repeat;
  transition: all 0.3s ease-in-out;

  position: relative;
  overflow: hidden;
}
.service-block img {
  width: 70px;
  height: 70px;
  background-color: hsl(var(--clr-accent));
  padding: 16px;
  border-radius: 5px;
}
.service-block h3,
.service-block p {
  margin: 0 0 0.375rem 0;
  padding: 0;
}
.service-block h3 {
  font-size: 1.25rem;
}
.service-block p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.4;
}
.service-block:hover {
  background-size: 100%, 100%;
}

.product-block {
  border: 1px solid hsl(var(--clr-accent-light) / 1);
  padding: 0rem;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

.product-block h3 {
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  border-top-right-radius: 10px;
  border: 0px solid hsl(var(--clr-accent-light) / 1);
  border-bottom: 0;
  border-left: 0;
  padding: 1rem 2rem;
  color: hsl(var(--clr-white));
  background-color: hsl(var(--clr-accent));
  font-size: 1.375rem;
  margin: 0;
  transition: background-color 0.3s ease-in-out;
}
.product-block figure {
  margin: 0;
}
.product-block:hover h3 {
  background-color: hsl(var(--clr-accent) / 0.8);
}
.product-block:hover {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.26);
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.26);
}

.team-block {
  border-left: 1px solid hsl(var(--clr-accent-light));
  background-color: hsl(var(--clr-white));
  padding: 0.5rem 0.5rem 1rem 1rem;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.team-block h3 {
  font-size: 1rem;
  font-weight: 700;
}
.team-block p {
  font-size: 0.875rem;
  color: hsl(var(--clr-dark) / 0.8);
}
.whyus {
  background: url(images/bg-1920-700-blue-salmon.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 10rem 2rem 12rem 2rem;
}
.whyus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--clr-accent));
  height: 100%;
  width: 100%;
  z-index: -10;
}

@media (max-width: 768px) {
  .whyus {
    background: url(images/salmon-blue-mobile.jpg),
      url(images/salmon-blue.jpg);
    background-position: center bottom, top center;
    background-size: contain, 240px;
    background-repeat: no-repeat;
    position: relative;
    padding: 6rem 1rem 6rem 1rem;
  }
}

.link-underline a {
  position: relative;
  text-decoration: none;
  color: hsl(var(--clr-white));
  transition: color 0.3s ease;
}
.link-underline a::after {
  content: "";
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: hsl(var(--clr-white) / 0.5);
  transition: background-color 0.3s ease;
}
.link-underline a:hover {
  color: hsl(var(--clr-white));
}
.link-underline a:hover::after {
  background-color: hsl(var(--clr-white));
}
