body,
html {
  width: 100%;
  height: 100%;
  margin: 0px;
}
#header {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: fixed;
  top: 0px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  -webkit-box-shadow: 0px 2px 12px 0px rgba(28, 50, 91, 0.43);
  -moz-box-shadow: 0px 2px 12px 0px rgba(28, 50, 91, 0.43);
  box-shadow: 0px 2px 12px 0px rgba(28, 50, 91, 0.43);
}
#header .logo {
  margin-top: 20px;
  margin-bottom: 14px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
}
#header .logo img {
  width: 50vw;
  max-width: 257px;
}
#header .logo.sm {
  display: none;
}
label.hamburg,
input#hamburg {
  display: none;
}
#header .nav ul {
  text-align: right;
  position: absolute;
  top: 10px;
  right: 50px;
}
#header .nav li {
  float: left;
  list-style: none;
  padding-left: 20px;
}
#header .nav li a {
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  font-size: 1.15em;
  text-decoration: none;
  color: #000;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0.2em;
  padding-bottom: 4px;
  margin-top: 0.2em;
  padding-top: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
}
#header .nav li a:before {
  background-color: #008c99;
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  top: 0;
  height: 1px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#header .nav li a:after {
  background-color: #008c99;
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#header .nav li a:hover:before,
#header .nav li a.active:before,
#header .nav li a:hover:after,
#header .nav li a.active:after {
  left: 0px;
  right: 0px;
}
#header .nav li a:hover,
#header .nav li a.active {
  color: #000;
}
#main {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
#home.headerimage {
  background-image: url("../img/header_image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: calc(100vh - 86px);
  width: 100%;
  position: relative;
  margin-top: 86px;
  margin-bottom: 0px;
}
#home ul {
  height: 100%;
  list-style: none;
  padding: 0px;
  margin: auto;
  position: relative;
}
#home ul:after {
  content: url("../img/header_lines.svg");
  width: 300px;
  height: auto;
  position: absolute;
  top: 220px;
  margin: auto;
  left: 0;
  right: 0;
}
#home li {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.4em;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  position: absolute;
  top: 455px;
  max-width: 440px;
  margin: auto;
  left: 0;
  right: 0;
}
#home li:first-child {
  top: 182px;
  left: -700px;
  max-width: 400px;
}
#home li:last-child {
  top: 280px;
  left: 600px;
}
#main p,
#main li {
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  font-size: 1.35em;
  color: #000000;
  text-align: left;
  line-height: 1.3em;
}
#mission,
#services,
#main.text {
  margin-top: 100px;
  margin-bottom: 50px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;
}
#mission p,
#main.text p {
  border-left: 2px solid #008c99;
  padding-left: 30px;
  padding-right: 20px;
  position: relative;
}
#services ul {
  padding-left: 50px;
  padding-right: 20px;
  position: relative;
}
#services ul li {
  font-weight: 700;
}
#services .specreg {
  border-left: 2px solid #008c99;
  padding-left: 30px;
  padding-right: 20px;
  position: relative;
}

#main.textplain {
  margin-top: 140px;
  margin-bottom: 50px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
#mission p:before,
#mission p:after,
#services p:before,
#services p:after,
#main.text p:before,
#main.text p:after {
  position: absolute;
  left: -8px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  border: 2px solid #008c99;
  content: " ";
  background-color: #fff;
}
#mission p:before,
#services p:before,
#main.text p:before {
  top: 0px;
}
#mission p:after,
#services p:after,
#main.text p:after {
  bottom: 0px;
}
#main h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 2.25em;
  color: #1c325b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: relative;
  margin-bottom: 100px;
}
#main h1:after {
  width: 100%;
  max-width: 65px;
  height: 2px;
  background-color: #1c325b;
  content: " ";
  left: 0;
  right: 0;
  position: absolute;
  bottom: -15px;
  margin: auto;
}
#main h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 1.75em;
  color: #1c325b;
  position: relative;
  margin-bottom: 50px;
}
#contact {
  padding-top: 50px;
  margin-top: 100px;
}
#about {
  background-color: #e6e6eb;
  padding: 50px 20px;
  margin-top: 100px;
}
#about .portrait {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
#about .portrait div {
  max-width: 350px;
  width: 100%;
  text-align: center;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#about .portrait img {
  border-radius: 100%;
  border: 2px solid #008c99;
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}
#about .portrait p {
  text-align: center;
  margin-top: 10px;
}
#about .portrait strong {
  font-weight: 400;
  display: block;
  color: #008c99;
}
#about .portrait a {
  position: relative;
  display: block;
  transition: all 0.3s ease-in-out;
}
#about .portrait a:after {
  width: 70px;
  height: 70px;
  content: url("../img/linkedin.svg");
  position: absolute;
  top: 0px;
  left: 0px;
  margin: auto;
  bottom: 0px;
  right: 0px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
#about .portrait a:hover:after {
  width: 70px;
  height: 70px;
  content: url("../img/linkedin.svg");
  position: absolute;
  top: 0px;
  left: 0px;
  margin: auto;
  bottom: 0px;
  right: 0px;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
#about .portrait a:before {
  background-color: rgba(255, 255, 255, 0.4);
  width: 100%;
  height: 100%;
  content: " ";
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
#about .portrait a:hover:before {
  background-color: rgba(255, 255, 255, 0.4);
  width: 100%;
  height: 100%;
  content: " ";
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}
#contact p,
#about p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#soc2 {
  background-color: #e6e6eb;
  padding: 50px 20px;
  margin-top: 100px;
  text-align: center;
}
#soc2 h1 {
  font-size: 2.25em;
  color: #1c325b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  position: relative;
}
#soc2 h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #1c325b;
  margin: 10px auto;
}
.soc2-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
  gap: 30px;
}
.soc2-content {
  max-width: 500px;
  text-align: left;
  font-size: 1.2em;
  color: #333;
  line-height: 1.6;
}
.soc2-content strong {
  color: #008c99;
}
.soc2-image img {
  max-width: 400px;
  width: 100%;
  border: 4px solid #d4af37;
  border-radius: 12px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  padding: 15px;
  background: white;
  transition: transform 0.3s ease-in-out;
}
.soc2-image img:hover {
  transform: scale(1.05);
}
#projects {
  padding-top: 50px;
  margin-top: 100px;
  text-align: center;
}
#projects h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 2.25em;
  color: #1c325b;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
  position: relative;
}
.projects-container-wrapper {
  max-width: 950px;
  margin: 0 auto;
  overflow: hidden;
}
.projects-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 5px;
  padding: 10px 0;
  margin: 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.projects-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}
.project-card {
  flex: 0 0 calc(50% - 55px);
  scroll-snap-align: start;
  border: 2px solid #008c99;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  min-height: 320px;
  padding: 20px;
}
.project-card:hover {
  transform: scale(1.05);
}
.project-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.project-info {
  text-align: center;
  width: 100%;
}
.project-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #008c99;
  display: block;
}
.project-description {
  flex-grow: 1; /* Allows the description to expand */
  display: -webkit-box;
  -webkit-line-clamp: 10; /* Limits to 10 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  font-size: 1em;
  padding: 10px;
}
.scroll-indicator {
  position: relative;
  margin: 20px auto 0;
  width: 100%;
  max-width: 950px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 2px;
  background-color: #008c99;
}
.scroll-indicator .indicator {
  width: 16px;
  height: 16px;
  border: 2px solid #008c99;
  border-radius: 50%;
  background-color: #fff; /* White fill for inactive */
  margin: 0 10px;
  display: inline-block;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}
.scroll-indicator .indicator.active {
  background-color: #008c99;
}
#clients {
  background-color: #e6e6eb;
  padding: 50px 20px;
  margin-top: 100px;
}
#clients h1 {
  color: #008c99;
  letter-spacing: 0.1em;
}
#clients h1:after {
  background-color: #008c99;
}
#clients .partner {
  display: flex;
  max-width: 950px;
  margin: auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#clients .partner img {
  -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 140, 153, 0.31);
  -moz-box-shadow: 0px 0px 8px 0px rgba(0, 140, 153, 0.31);
  box-shadow: 0px 0px 8px 0px rgba(0, 140, 153, 0.31);
  max-width: 250px;
  width: 30%;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 2%;
  border-radius: 10px;
}
form {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 120px;
}
form input {
  display: block;
  width: calc(100% - 20px);
  background-color: #fff;
  border-bottom: 2px solid #008c99;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  font-size: 1.5em;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  margin-bottom: 20px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
  padding-right: 10px;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #1c325b;
  box-shadow: 0 0 5px rgba(28, 50, 91, 0.5);
}
form button {
  display: block;
  width: 200px;
  color: #fff;
  background-color: #008c99;
  border: none;
  font-size: 1em;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  margin-bottom: 20px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}
form button:hover {
  background-color: #1c325b;
}
form textarea {
  display: block;
  width: calc(100% - 20px);
  background-color: #fff;
  border: none;
  font-size: 1.5em;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  margin-bottom: 0px;
  border-bottom: 2px solid #008c99;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
  padding-right: 10px;
}
form label,
form p {
  font-size: 1em;
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  color: #1c325b;
}
form label.required:after,
form span {
  color: #008c99;
  content: "*";
  font-size: 1em;
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
}
form .invisible {
  display: none;
}
form p {
  text-align: left !important;
  font-size: 0.8em !important;
}
#footer {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 1em;
  color: #fff;
  background-color: #1c325b;
  padding-top: 40px;
  padding-bottom: 10px;
}
#footer a {
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
#footer a:hover,
#footer a.active {
  color: #008c99;
}
#footer .contact {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 40px;
  align-items: center;
}
#footer .contact .box {
  width: 30%;
}
#footer .contact img {
  padding: 0px;
  width: 35px;
}
#footer .contact a:hover img {
  padding: 0px;
  transition: 0.5s;
}
#footer .footer_nav {
  border-top: 1px dotted #1c325b;
  width: calc(100% - 60px);
  margin-left: 30px;
  position: relative;
  font-size: 0.8em;
}
#footer .logo {
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}
#footer .logo img {
  width: 160px;
  padding-top: 20px;
  padding-bottom: 20px;
}
#footer p {
  margin-top: 10px;
}
@media only screen and (max-width: 1200px) {
  #header {
    width: 100%;
  }
  #mission p,
  #services p,
  #services .specreg,
  #main.text p {
    margin-left: 30px;
    margin-right: 30px;
  }
  #header .nav {
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    background-image: none;
    background: #1c325b;
    position: absolute;
    width: 100%;
    z-index: 1;
  }
  #header .nav ul {
    display: block;
    text-align: center;
    height: auto;
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    padding-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #header .nav ul li {
    float: none;
    text-align: center;
    border-bottom: 1px solid #008c99;
    padding-left: 0px;
  }
  #header .nav ul li.last {
    border-bottom: none;
  }
  #header .nav ul li a,
  #header .nav ul li a.active,
  #header ul li a:hover {
    color: #fff;
    display: block;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
  }
  #header .nav ul li a,
  #header ul li a:hover {
    font-size: 1.2em;
  }
  #header .nav ul li a.active,
  #header .nav ul li a:hover {
    color: #008c99 !important;
  }
  #header .nav li a:after,
  #header .nav li a:before {
    display: none;
  }
  input#hamburg {
    display: none;
  }
  label.hamburg {
    display: block;
    width: 65px;
    height: 65px;
    position: absolute;
    top: 14px;
    right: 30px;
    margin-left: auto;
    border-radius: 100%;
    cursor: pointer;
  }
  #hamburg:checked + .hamburg + .nav {
    max-height: 600px !important;
  }
  .line {
    position: absolute;
    left: 24px;
    height: 3px;
    width: 24px;
    background: #008c99;
    border-radius: 1px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
  }
  .line:nth-child(1) {
    top: 17px;
  }
  .line:nth-child(2) {
    top: 25px;
  }
  .line:nth-child(3) {
    top: 33px;
  }
  #hamburg:checked + .hamburg .line:nth-child(2) {
    opacity: 0;
  }
  #hamburg:checked + .hamburg .line:nth-child(1) {
    transform: translateY(4px) rotate(-45deg);
  }
  #hamburg:checked + .hamburg .line:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
  }
}
@media only screen and (max-width: 1000px) {
  #home ul:after {
    width: 230px;
  }
  #header .logo {
    text-align: center;
    padding-left: 0px;
  }
  #header .logo.sm {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
  }
  #header .logo.sm img {
    width: 50vw;
    max-width: 146px;
  }
  #header .logo.lg {
    display: none;
  }
  #main h1 {
    padding-left: 20px;
    padding-right: 20px;
  }
  #home ul:after {
    top: 233px;
  }
  #home li {
    font-size: 1.5em;
    max-width: 290px;
    top: 415px;
  }
  #home li:last-child {
    left: 485px;
  }
  #home li:first-child {
    top: 200px;
    left: -470px;
  }
}
@media only screen and (max-width: 768px) {
  #home.headerimage {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #home ul {
    flex-wrap: wrap;
    min-height: auto;
  }
  #home ul:after {
    display: none;
    width: 100%;
  }
  #home li {
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
    top: auto !important;
    width: calc(100% - 40px);
    max-width: 100% !important;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: none;
    position: relative;
    left: 0 !important;
    right: 0 !important;
  }
  #home li.sec:before {
    content: url("../img/line-header.svg");
    width: 30px;
    height: auto;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: -20px;
  }
  #home li.sec:after {
    content: url("../img/line-header.svg");
    width: 30px;
    height: auto;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -15px;
  }
  #mission,
  #services,
  #main h1 {
    margin-bottom: 60px;
  }
  form {
    margin-bottom: 0px;
  }
  label.hamburg {
    right: 0px;
  }
  #footer {
    padding-top: 10px;
  }
  #footer .contact .box {
    width: calc(50% - 60px);
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
    border-left: 0px;
    border-right: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #footer .logo {
    order: -1;
    padding-top: 0px !important;
    width: calc(100% - 60px) !important;
  }
  #footer .contact .box.last {
    width: calc(100% - 60px) !important;
    margin-bottom: 30px;
  }
  .projects-container {
    width: 100%;
  }
  .project-card {
    width: 90%;
  }
  .project-card img {
    height: 100px;
  }
  .soc2-container {
    flex-direction: column;
    text-align: center;
  }
  .soc2-content {
    font-size: 1.1em;
  }
  .soc2-image img {
    max-width: 90%;
  }
}
@media only screen and (max-width: 550px) {
  #main h1 {
    font-size: 1.85em;
  }
  #main p {
    font-size: 1.1em;
  }
  #main li {
    font-size: 1.1em;
  }
  #about p {
    width: 80%;
  }
  #footer .contact {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
