/* reset styles */
html {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

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

input,
textarea,
select,
button {
  outline: none;
}

input {
  line-height: normal;
}

label,
button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* common styles */

.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  padding: 100px 0;
}

/* header */
header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.25s linear;
}
header.header-scrolled {
  background: #fff;
  transition: all 0.25s linear;
}
header .container {height: 100%;}
header .wrapper {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
header nav ul {
  display: flex;
  gap: 20px;
}
header nav ul li {
  position: relative;
  transition: all 0.25s linear;
}
header nav ul li::before{
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  bottom: -10px;
  height: 2px;
  background-color: chocolate;
  transition: all 0.25s linear;
}
header nav ul li a {
  color: #000;
}
header .header-logo {
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  max-width: 200px;
}
header .header-logo img {
  height: 80%;
}
header .mobile {
  display: none;
  font-weight: bold;
  border: 1px solid #000;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px;
}
header .mobile-close {
  display: none;
}
header nav ul li:hover::before {
  width: 100%;
  transition: all 0.25s linear;
}
@media screen and (max-width: 850px) {
  header .mobile {
    display: block;
  }
  header nav {
    position: fixed;
    height: fit-content;
    width: 50%;
    height: 100vh;
    top: 0;
    right: -100%;
    background: #fff;
    padding: 40px 25px;
    justify-content: flex-start;
    align-items: flex-start;
    transition: all 0.25s linear;
  }
  header nav.nav-active {
    right: 0;
    transition: all 0.25s linear;
  }
  header nav ul {
    flex-direction: column;
    gap: 25px;
  }
  header .mobile-close {
    display: block;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
  }
}

/* footer */
footer {
  border-top: 1px solid #eee;
  padding: 60px 0 30px 0;
}

footer .row {
  --f-columns: 4;
  --f-gap: 30px;
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--f-gap));
  margin-bottom: calc(-1 * var(--f-gap));
}
footer .row > * {
  margin-left: var(--f-gap);
  margin-bottom: var(--f-gap);
  width: calc((100% / var(--f-columns) - var(--f-gap)));
}
@media screen and (max-width: 900px) {
  footer .row {
    --f-columns: 3;
    --f-gap: 20px;
  }
}

@media screen and (max-width: 767px) {
  footer .row {
    --f-columns: 2;
    --f-gap: 20px;
  }
}

@media screen and (max-width: 580px) {
  footer .row {
    --f-columns: 1;
    --f-gap: 20px;
  }
}

footer .heading {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 800;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul li a {
  color: #000;
}
footer ul li a:hover {
  color: #000;
  font-weight: 600;
}
