/* Brand tokens */
:root {
  --color-primary: #378c3f;
  --color-primary-hover: #40a249;
  --color-text: #2c2c2c;
  --color-muted: #9a9a9a;
  --color-white: #fff;
  --shadow-card: 0 5px 25px rgba(0, 0, 0, 0.2);
  --shadow-raised: 0 10px 25px rgba(0, 0, 0, 0.3);
  --font-sans: system-ui, -apple-system, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-family: var(--font-sans);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-primary);
}

/* Layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Utilities */
.text-center {
  text-align: center !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-white {
  color: var(--color-white) !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mr-auto {
  margin-right: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-raised {
  box-shadow: var(--shadow-raised);
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 400;
  margin-top: 0;
}

.h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.h3 {
  font-size: 2em;
  margin-bottom: 30px;
  line-height: 1.4em;
}

.h4 {
  font-size: 1.714em;
  line-height: 1.45em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.h5 {
  font-size: 1.57em;
  line-height: 1.4em;
  margin-bottom: 15px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

p {
  line-height: 1.61em;
}

.title {
  font-weight: 700;
}

.title + .category {
  margin-top: -25px;
}

.category {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  border-radius: 0.1875rem;
  padding: 11px 22px;
  font-weight: 400;
  font-size: 0.8571em;
  line-height: 1.35em;
  margin: 5px 1px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  background-color: #888;
  color: var(--color-white);
  transition: all 300ms ease;
}

.btn:hover,
.btn:focus {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.17);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-round {
  border-radius: 30px !important;
  padding: 11px 23px;
}

/* Cards */
.card {
  border: 0;
  border-radius: 0.1875rem;
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}

.card .card-body {
  padding: 1.25rem;
  min-height: 190px;
}

/* Badges */
.badge {
  display: inline-block;
  border-radius: 0.875rem;
  padding: 4px 8px;
  text-transform: uppercase;
  font-size: 0.7142em;
  line-height: 12px;
  background-color: transparent;
  border: 1px solid;
  margin-bottom: 5px;
}

.badge-primary {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Progress */
.progress-container {
  position: relative;
  margin-bottom: 20px;
  font-size: 18px;
}

.progress-container + .progress-container,
.progress-container ~ .progress-container {
  margin-top: 15px;
}

.progress-container .progress-badge {
  color: #888;
  font-size: 0.8571em;
  text-transform: uppercase;
}

.progress-container .progress {
  display: flex;
  overflow: hidden;
  height: 5px;
  margin-top: 14px;
  border-radius: 0;
  box-shadow: none;
  background: rgba(222, 222, 222, 0.8);
  font-size: 18px;
}

.progress-container .progress .progress-bar {
  height: 5px;
  box-shadow: none;
  background-color: #888;
  transition: width 0.6s ease;
}

.progress-container .progress .progress-value {
  position: absolute;
  top: 2px;
  right: 0;
  color: #888;
  font-size: 0.8571em;
}

.progress-container.progress-primary .progress {
  background: rgba(55, 140, 63, 0.4);
}

.progress-container.progress-primary .progress-bar,
.progress-container.progress-primary .progress-bar-primary {
  background: var(--color-primary);
}

.progress-container.progress-primary .progress-value,
.progress-container.progress-primary .progress-badge {
  color: var(--color-primary);
}

/* Navbar */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  min-height: 53px;
  margin-bottom: 20px;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  transition: all 300ms ease;
}

.navbar.fixed-top {
  position: fixed;
  margin-bottom: 0;
}

.navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar a:not(.btn) {
  color: var(--color-white);
}

.navbar .navbar-brand {
  display: inline-block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-right: 1rem;
  text-transform: uppercase;
  font-size: 0.8571em;
  line-height: 1.625rem;
  color: var(--color-white);
}

.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  text-decoration: none;
  color: var(--color-white);
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-nav .nav-link {
  display: block;
  padding: 0.5rem 0.7rem;
}

.nav-item .nav-link:not(.btn) {
  text-transform: uppercase;
  font-size: 0.7142em;
  line-height: 1.625rem;
}

.nav-item .nav-link:not(.btn):hover,
.nav-item .nav-link:not(.btn):focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.1875rem;
}

.navbar-collapse {
  flex-basis: 100%;
  align-items: center;
}

.navbar-toggler {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.navbar.navbar-transparent {
  background-color: transparent !important;
  box-shadow: none;
  color: var(--color-white);
  padding-top: 20px;
}

.navbar.navbar-transparent .navbar-brand,
.navbar.navbar-transparent .nav-link {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.navbar.navbar-transparent .navbar-toggler-bar {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 991px) {
  .navbar-expand-lg > .container {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .navbar-expand-lg > .container {
    flex-wrap: nowrap;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

/* Mobile nav drawer */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav-toggle:focus-visible + header .navbar-toggler {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.nav-backdrop {
  display: none;
}

@media screen and (max-width: 991px) {
  .sidebar-collapse .navbar-collapse {
    position: fixed;
    display: block;
    top: 0;
    right: 0;
    height: 100% !important;
    width: 300px;
    z-index: 1032;
    visibility: visible;
    background-color: #999;
    overflow-y: visible;
    border-top: none;
    text-align: left;
    max-height: none !important;
    transform: translate3d(300px, 0, 0);
    transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  }

  .sidebar-collapse .navbar-collapse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.76;
    background: linear-gradient(#378c3f 0%, #000 80%);
  }

  .sidebar-collapse .navbar .navbar-nav {
    margin-top: 53px;
  }

  .sidebar-collapse .navbar .navbar-nav .nav-link {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: var(--color-white);
  }

  .sidebar-collapse .navbar .navbar-translate {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    width: 100%;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  }

  .sidebar-collapse .navbar .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sidebar-collapse .navbar .navbar-toggler-bar {
    display: block;
    position: relative;
    width: 22px;
    height: 1px;
    border-radius: 1px;
    background: var(--color-white);
  }

  .sidebar-collapse .navbar .navbar-toggler-bar + .navbar-toggler-bar {
    margin-top: 7px;
  }

  .sidebar-collapse .navbar .navbar-toggler-bar.bar2 {
    width: 17px;
    transition: width 0.2s linear;
  }

  .sidebar-collapse .wrapper {
    transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
  }

  html:has(#nav-toggle:checked) .sidebar-collapse .navbar-collapse {
    transform: translate3d(0, 0, 0);
  }

  html:has(#nav-toggle:checked) .sidebar-collapse .wrapper {
    transform: translate3d(-150px, 0, 0);
  }

  html:has(#nav-toggle:checked) .sidebar-collapse .navbar-translate {
    transform: translate3d(-300px, 0, 0);
  }

  html:has(#nav-toggle:checked) .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    right: 300px;
    left: 0;
    bottom: 0;
    z-index: 9999;
    cursor: pointer;
  }
}

/* Page header / profile hero */
.page-header {
  position: relative;
  height: 60vh;
  max-height: 440px;
  padding: 0;
  color: var(--color-white);
  background: linear-gradient(0deg, rgba(44, 44, 44, 0.2), rgba(55, 140, 63, 0.6));
}

.page-header .page-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-header .page-header-image picture,
.page-header .page-header-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-header .page-header-image img {
  object-fit: cover;
  object-position: center center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-header .container {
  position: relative;
  z-index: 2;
  height: 100%;
  text-align: center;
}

.page-header .container > .content-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 880px;
  padding: 0 15px;
  color: var(--color-white);
  text-align: center;
}

.page-header .category {
  color: rgba(255, 255, 255, 0.5);
}

.page-header .btn {
  width: 140px;
}

.profile-page .title {
  text-align: center;
  margin-top: 30px;
}

.profile-page .category {
  text-align: center;
}

.cc-profile-image a {
  position: relative;
}

.cc-profile-image a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 180px;
  height: 180px;
  border: 15px solid rgba(55, 140, 63, 0.6);
  border-radius: 50%;
  opacity: 0;
  z-index: 99;
}

.cc-profile-image img {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0;
  padding: 0;
  border: 15px solid transparent;
  border-radius: 50%;
  z-index: 9999;
  transition: all 0.3s ease-out;
}

.cc-profile-image a:hover img {
  transform: scale(1.06, 1.06);
}

/* Sections */
.section {
  position: relative;
  padding: 70px 0 0;
  background: var(--color-white);
}

/* Portfolio gallery */
.gallery {
  margin-top: 45px;
  padding-bottom: 50px;
}

#portfolio .portfolio-row {
  display: flex;
  flex-wrap: wrap;
}

#portfolio .portfolio-row > [class*="col-"] {
  display: flex;
}

#portfolio .portfolio-row .cc-porfolio-image {
  width: 100%;
}

#portfolio .portfolio-icon-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 2rem;
  background: #f4f4f4;
}

#portfolio .portfolio-logo-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  box-sizing: border-box;
  transform: none;
}

@media (min-width: 992px) {
  #portfolio .portfolio-row .cc-porfolio-image figure img:not(.portfolio-icon-img):not(.portfolio-logo-img) {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }
}

.gallery .cc-porfolio-image figure {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gallery .cc-porfolio-image figure img:not(.portfolio-logo-img) {
  position: relative;
  display: block;
  max-width: 100%;
  opacity: 1;
  transition: opacity 0.35s, transform 0.35s;
  transform: scale(1.06, 1.06);
}

.gallery .cc-porfolio-image figure img.portfolio-logo-img {
  position: relative;
  display: block;
  max-width: 100%;
  opacity: 1;
  transition: opacity 0.35s;
}

.gallery .cc-porfolio-image figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--color-white);
  backface-visibility: hidden;
}

.gallery .cc-porfolio-image figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.gallery .cc-porfolio-image figure .h4,
.gallery .cc-porfolio-image figure p {
  margin: 0;
}

.gallery figure.cc-effect figcaption::before,
.gallery figure.cc-effect figcaption::after {
  position: absolute;
  content: "";
  opacity: 0;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  transition: opacity 0.35s, transform 0.35s;
}

.gallery figure.cc-effect figcaption::before {
  transform: scale(0, 0);
  transform-origin: 0 0;
}

.gallery figure.cc-effect figcaption::after {
  transform: scale(0, 0);
  transform-origin: 100% 0;
}

.gallery figure.cc-effect .h4 {
  margin-top: 25%;
  opacity: 0;
  transform: scale(1.06, 1.06);
  transition: transform 0.35s, opacity 0.35s;
}

.gallery figure.cc-effect p {
  padding: 0.5em 2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.gallery figure.cc-effect:hover img:not(.portfolio-logo-img) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.gallery figure.cc-effect:hover img.portfolio-logo-img {
  opacity: 1;
}

.gallery figure.cc-effect:hover figcaption::before,
.gallery figure.cc-effect:hover figcaption::after {
  opacity: 1;
  transform: scale(1);
}

.gallery figure.cc-effect:hover figcaption::before {
  background: rgba(27, 23, 23, 0.5);
}

.gallery figure.cc-effect:hover .h4,
.gallery figure.cc-effect:hover p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  color: var(--color-white);
}

.gallery figure.cc-effect:hover figcaption::after,
.gallery figure.cc-effect:hover .h4,
.gallery figure.cc-effect:hover p,
.gallery figure.cc-effect:hover img {
  transition-delay: 0.15s;
}

@media (max-width: 480px) {
  .gallery figure.cc-effect .h4 {
    font-size: 14px;
  }
}

/* Experience */
.cc-experience .cc-experience-header {
  padding-top: 60px;
  padding-right: 0;
  text-align: center;
  color: var(--color-white);
  text-transform: uppercase;
}

/* Footer */
.footer {
  padding: 24px 0;
  text-align: center;
}

a.credit {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer;
}
