/*
Theme Name: HeChangedIt Hello Child
Theme URI: https://hechangedit.com/
Description: Lightweight Hello Elementor child theme for HeChangedIt.
Author: We Community Corp
Template: hello-elementor
Version: 1.0.0
Text Domain: hechangedit-hello-child
*/

:root {
  --he-green: #86AD34;
  --he-text: #222222;
  --he-muted: #6b7280;
  --he-border: rgba(0,0,0,.10);
  --he-max: 1200px;
  --he-font: Futura, "Avenir Next", "Century Gothic", Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--he-font);
}

body {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--he-font);
  font-weight: 700;
}

h1 {
  font-size: 64px;
  line-height: 1;
}

h2 {
  font-size: 42px;
  line-height: 1.08;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

h4 {
  font-size: 20px;
  line-height: 1.3;
}

h5 {
  font-size: 16px;
  line-height: 1.35;
}

h6 {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.he-site-header,
.he-site-footer {
  box-sizing: border-box;
  font-family: inherit;
}

.he-site-header a,
.he-site-footer a {
  text-decoration: none;
}

.he-site-header--home {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  pointer-events: none;
}

.he-site-header--home .he-home-header-inner {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 32px 25px;
}

.he-site-header--home .he-logo-link {
  pointer-events: auto;
}

.he-site-header--home .he-logo {
  display: block;
  width: auto;
  height: 120px;
  max-width: 160px;
}

.he-site-header--inner {
  background: var(--he-green);
  color: #fff;
}

.he-header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 24px 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.he-site-header--inner .he-logo {
  display: block;
  width: auto;
  height: 100px;
  max-width: 130px;
}

.he-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.he-primary-nav {
  margin-left: auto;
}

.he-primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.he-primary-nav a {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  padding: 7px 0;
}

.he-primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: #fff;
  transition: left .18s ease, right .18s ease;
}

.he-primary-nav a:hover::after,
.he-primary-nav a:focus-visible::after,
.he-primary-nav .current-menu-item > a::after,
.he-primary-nav .current_page_item > a::after {
  left: 0;
  right: 0;
}

.he-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.he-menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

.he-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.he-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.he-menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.he-site-footer {
  background: #fff;
  color: var(--he-text);
  border-top: 1px solid var(--he-border);
}

.he-footer-inner {
  max-width: var(--he-max);
  margin: 0 auto;
  padding: 40px 30px 28px;
}

.he-footer-top,
.he-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.he-footer-top {
  padding-bottom: 28px;
}

.he-footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--he-text);
  font-weight: 700;
}

.he-footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.he-footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.he-footer-nav a,
.he-social-links a {
  color: var(--he-text);
  font-size: 14px;
}

.he-footer-nav a:hover,
.he-footer-nav a:focus-visible,
.he-social-links a:hover,
.he-social-links a:focus-visible {
  color: var(--he-green);
}

.he-footer-rule {
  border: 0;
  border-top: 1px solid var(--he-border);
  margin: 0 0 24px;
}

.he-footer-bottom {
  align-items: flex-start;
}

.he-copyright {
  margin: 0;
  font-size: 14px;
  color: var(--he-muted);
}

.he-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 900px) {
  .he-site-header--home .he-home-header-inner {
    min-height: 120px;
    padding: 10px 24px;
  }

  .he-site-header--home .he-logo {
    height: 90px;
  }

  .he-header-inner {
    padding: 12px 24px;
    gap: 16px;
    position: relative;
  }

  .he-site-header--inner .he-logo {
    height: 72px;
  }

  .he-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .he-primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 22px;
    background: var(--he-green);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }

  .he-primary-nav.is-open {
    display: block;
  }

  .he-primary-nav ul {
    display: block;
  }

  .he-primary-nav li + li {
    margin-top: 5px;
  }

  .he-primary-nav a {
    display: block;
    padding: 12px 0;
  }

  .he-primary-nav a::after {
    display: none;
  }

  .he-footer-top,
  .he-footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .he-footer-nav ul,
  .he-social-links {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .he-site-header--home .he-logo {
    height: 74px;
  }

  .he-footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .he-footer-nav ul {
    gap: 14px 20px;
  }

  .he-social-links {
    gap: 12px;
  }
}
