@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Base styles */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* Accessibility */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: #6A8643;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* Print styles */

@media print {
  *, *:before, *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a, a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }
}

/* Layout */

body {
  margin: 0;
  font-size: 1.4em;
  font-family: 'Open Sans', sans-serif;
  -webkit-text-size-adjust: 100%;
  position: relative;
  height: 100%;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

header {
  background-color: white;
  text-align: center;
  padding: 10px;
}

.btn {
  display: inline-block;
  font-size: 0.7em;
  padding: 15px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 15px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover, button:hover {
  background-color: #2EE59D;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.btn:focus-visible, button:focus-visible {
  outline: 2px solid #2EE59D;
  outline-offset: 2px;
}

/* Header & Navigation */

#headerContent {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: flex-end;
}

.desktop-menu {
  display: none;
}

header nav a:hover { color: #E30606; }

.hamburger-icon {
  z-index: 6;
  cursor: pointer;
  margin-right: 20px;
  position: absolute;
  right: 0;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-icon .bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.hamburger-icon-click .mobile-menu-container { opacity: 1; height: auto; overflow: visible; }
.hamburger-icon-click .mobile-menu { width: 50%; }
.hamburger-icon-click .mobile-menu-outside { width: 100%; }
.hamburger-icon-click .bar1 { transform: rotate(-45deg) translate(-9px, 6px); }
.hamburger-icon-click .bar2 { opacity: 0; }
.hamburger-icon-click .bar3 { transform: rotate(45deg) translate(-8px, -8px); }

.mobile-menu-container {
  display: block;
  opacity: 0;
  height: 0;
  width: 0;
  transition: 0.25s;
  z-index: 5;
}

.mobile-menu-outside {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: grey;
  opacity: 0.25;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
}

.mobile-menu {
  position: fixed;
  z-index: 5;
  right: 0;
  top: 0;
  height: 100%;
  width: 0;
  opacity: 1;
  background-color: white;
  overflow: auto;
  box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.20);
  transition: width 0.25s;
}

.mobile-menu-nav {
  margin-top: 80px;
  text-align: left;
}

.mobile-menu-nav ul {
  display: grid;
  padding: 0 0 0 20px;
}

.mobile-menu-li {
  margin: 10px 0 0 0;
  text-align: left;
  width: 100%;
  flex: none;
  padding: 10px;
}

header li {
  list-style-type: none;
  display: inline;
  margin: 0 10px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 95%;
  max-width: 500px;
}

/* Main Container */

.main-container {
  background-color: #6A8643;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

main {
  flex-grow: 1;
}

.title {
  text-align: center;
  color: white;
}

/* Content Sections */

.full-width-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.full-width-image {
  width: 100%;
}

.services {
  margin: 15px;
  margin-top: 75px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.service {
  padding: 5px;
  margin: 0 25px 50px 25px;
  width: 100%;
  max-width: 500px;
  background-color: black;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 2px 3px white;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service:hover {
  transform: scale(1.03);
  box-shadow: 4px 6px white;
}

.service:active {
  transform: scale(0.98);
  box-shadow: 1px 2px white;
}

.service-content {
  position: relative;
  z-index: 2;
  color: white;
  opacity: 1;
  font-size: 1.6em;
}

.service p {
  font-size: 0.8em;
}

.service-content img {
  max-width: 50%;
}

.service-content .btn {
  color: white;
  background-color: #6A8643;
}

.service-content button {
  color: white;
  background-color: #6A8643;
}

.service-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.text-content {
  max-width: 1000px;
  padding: 15px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.text-content li {
  text-align: left;
  list-style-type: disc;
  display: list-item;
  text-transform: capitalize;
}

.two-column-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.two-column-list ul {
  padding-left: 40px;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cta-container {
  margin: 15px auto;
  text-align: center;
}

.section-divider {
  background-color: black;
  color: black;
  border-top-color: black;
  margin: 0;
}

/* Side by Side Layout */

.side-by-side {
  padding: 50px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.side-by-side img {
  object-fit: contain;
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 400px;
  border-radius: 10px;
}

.side-by-side p {
  max-width: 750px;
}

/* Image Grid */

.image-grid {
  display: grid;
  grid-column-gap: 0;
  grid-template-columns: auto auto auto auto;
}

.image-grid img {
  border: 1px solid rgba(0, 0, 0, 0.8);
  text-align: center;
  width: 100%;
  height: auto;
}

/* About Page */

.about-us-image-1 {
  margin-top: -200px;
}

.about-slideshow {
  border-radius: 15px;
  width: 375px;
  height: 500px;
  background-color: #eeeeee;
  margin: auto;
  margin-bottom: 50px;
  background-image: url("/images/people-working.webp");
  animation: slide 10s ease infinite;
}

@keyframes slide {
  0%    { background-position: 0 0; }
  12.5% { background-position: 0 0; }
  25.0% { background-position: -375px 0; }
  37.5% { background-position: -375px 0; }
  50.0% { background-position: -750px 0; }
  62.5% { background-position: -750px 0; }
  75.0% { background-position: -1125px 0; }
  87.5% { background-position: -1125px 0; }
  100%  { background-position: 0 0; }
}

.partners-div {
  text-align: center;
  color: #6a8643;
  background-color: white;
  padding: 3% 10% 5% 10%;
}

.partners {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.partners a {
  padding: 20px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners img {
  width: 95%;
  max-width: 300px;
}

/* Footer */

footer {
  flex-shrink: 0;
  background-color: white;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 0 auto;
  padding: 20px;
  font-size: 0.9em;
}

.footer-container div {
  width: 95%;
  max-width: 500px;
  padding: 15px;
  flex: 1;
  text-align: center;
}

.footer-image-container {
  display: flex;
  justify-content: center;
}

.footer-image-container a {
  display: flex;
  justify-content: center;
}

footer img {
  max-width: 200px;
}

.social-icon {
  max-width: unset;
}

.email-link {
  font-size: 0.85em;
  overflow-wrap: break-word;
}

.contact-card {
  margin: 50px auto;
  max-width: calc(100% - 30px);
  background-color: black;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 5px;
  user-select: text;
  cursor: default;
}

.contact-card-content {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 1.6em;
}

.contact-card-content img {
  max-width: 50%;
}

.contact-list {
  margin: 0;
}

.contact-list dt {
  font-weight: bold;
  margin-top: 1em;
}

.contact-list dd {
  margin: 0;
}

/* Photo Grid (Gallery) */

.photo-grid-container {
  background-color: white;
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  box-sizing: border-box;
  max-width: 1300px;
  margin: 0 auto;
}

.photo-grid-column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  box-sizing: border-box;
}

.photo-grid-column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive */

@media only screen and (max-width: 760px) {
  .about-us-image-1 {
    margin-top: 0;
  }

  .header-logo {
    width: 65%;
    max-width: 500px;
  }

  h2 {
    font-size: 1.0em;
  }

  .image-grid {
    grid-template-columns: auto auto;
  }
}

@media screen and (min-width: 940px) {
  header ul, .desktop-menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    flex: 0 1 auto;
    text-align: left;
    align-items: flex-end;
  }
  header .hamburger-icon { display: none; }
}

@media screen and (max-width: 800px) {
  .photo-grid-column {
    flex: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 600px) {
  .photo-grid-column {
    flex: 100%;
    max-width: 100%;
  }
}
