/*
Theme Name: besttradezllctheme
Author: Val

*/

:root {
  --clr-accent: 348 83% 47%;
  --clr-accent-dark: 194 100% 15%;
  --clr-gray: 0 0% 31%;
  --clr-light: 36 11% 92%;
  --clr-white: 180 0% 100%;
  --clr-dark: 0 0% 16%;
  --clr-black: 0 0% 0%;

  --ff-main: "Raleway", 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;
}

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;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

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

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;
}

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

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;

  scroll-margin-top: 4rem;
}

main {
  flex-grow: 1;
}
a {
  color: hsl(var(--clr-accent));
}
a:hover {
  color: hsl(var(--clr-dark));
}
.footer {
  background-color: hsl(var(--clr-dark));
  padding: 1rem 0.5rem;
}
.footer a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: hsl(var(--clr-white) / 0.9);
  text-decoration: none;
}
.footer-copyright {
  display: flex;
  justify-content: space-between;
  color: hsl(var(--clr-white) / 0.9);
  font-size: 0.875rem;

  max-width: 1260px;
  margin: 0 auto;
}

.header-logo-img figure {
  margin: 5px 0 0 0;
}
.header-logo-img img {
  height: 60px;
  width: auto;
}
.primary-header {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid hsl(var(--clr-dark));
}
.logo-and-phones {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1 {
  color: hsl(var(--clr-black));
}

.hero-subtitle {
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  color: white;
  text-align: center;
  max-width: fit-content;
  font-size: 0.875rem;

  background-color: hsl(var(--clr-dark) / 0.8);
}

.services .kt-inside-inner-col {
  position: relative;
  padding: 1rem 2rem 1.75rem 2rem;
}
.services {
  color: #fff;
}
.services .kt-inside-inner-col::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: hsl(var(--clr-dark) / 0.7);
  pointer-events: none;
  z-index: 1;
  transition: height 0.3s ease, background 0.3s ease;
}
.services h3 {
  font-size: 1.5rem;
  padding: 0.5rem 0.5rem 0.125rem 0.75rem;
  position: relative;
  z-index: 3;
  margin-bottom: 0.5rem;
  text-align: center;
}

.services a {
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-decoration: none;
  display: block;
  max-width: fit-content;

  background-image: url(images/arrow-right-fill-white.svg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 20px;
  padding: 0.5rem 1.75rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--clr-white));

  transition: transform 0.3s ease-in-out;
}

.services a:hover {
  transform: translateY(-5px);
}
.btn1 a {
  position: relative;
  background-color: hsl(var(--clr-dark));
  color: hsl(var(--clr-white));
  display: block;
  max-width: fit-content;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
}
.btn1 a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 100%;

  border: 1px solid hsl(var(--clr-dark) / 0.7);
  transition: all 0.3s ease-in-out;
}
.btn1 a:hover {
  background-color: hsl(var(--clr-dark) / 1);
}
.btn1 a:hover::after {
  bottom: 0;
  right: 0;
}
.btn1.btn-phone a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/phone-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.btn1.btn-email a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/email-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.postheader {
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .header-logo-img img {
    height: 40px;
    width: auto;
  }

  h1 {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}
