/* INDEX.HTML SECTION */

@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:100,200,300,400,500,600,700,100i,200i,300i,400i,500i,600i,700i&display=swap");
@import url("https://fonts.googleapis.com/css?family=Syne:400,500,600,700,800&display=swap");
@font-face {
  font-family: "Satoshi";
  src: url("./fonts/Satoshi-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Beginning */

html {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.header {
  font-size: 70px;
}

#logo {
  width: auto;
  height: 30px;
}

.image-container {
  display: flex;
  justify-self: center;
  align-items: center;
}

.values-image-container {
  padding-top: 4rem;
}

.values-image {
  max-width: 533px;
}

img:not(#logo, .footer-logo) {
  border-radius: 6px;
}

.navbar {
  background-color: white !important;
}

.navbar-nav {
  margin-left: auto; /* Ensures the nav items are aligned to the right */
}

.navbar-collapse, .navbar-nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
}

.nav-link {
  position: relative;
  display: inline-block;
}

.nav-link:hover:not(.dropdown-toggle) {
  font-weight: bold;
  border-bottom: solid black 1px;
}

@keyframes underline {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

#hero-video {
  padding: 1px 0;
  opacity: 0;
  animation: appear 1s ease-in-out forwards 3s;
}

.hero-container, .hero-row {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.hero-container {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgb(0, 0, 0); /* Change to your desired text color */
  text-align: center;
  animation: appear-DisplayNone 1s ease-in-out reverse forwards 3s;
}


.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
}

.hero-text-col p {
  width: 60%;
}

.hero-header-1 {
  animation: header1 .5s ease-out forwards;
}

.hero-header-2 {
  opacity: 0;
  animation: header2 .7s ease-out forwards .8s;
}

.hero-img {
  opacity: 0;
  animation: appear 1s ease-in-out forwards 1.5s;
}

@keyframes header1 {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes header2 {
  0% {
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes appear-DisplayNone {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    display: none;
  }
}


#hero-video {
  max-width: 100%;
  height: auto;
  position: relative;
}

.hero-image-col {
  display: flex;
}

#hero-image-1 {
  filter:contrast(1.5) grayscale(100%);
  border-radius: 1rem;
}

#form-img {
  background-position-y: -130px;
  background-repeat: no-repeat;
  background-size: cover;
  filter:contrast(1.1) grayscale(100%);
  height: 700px;
  width: 100%;
  border-radius: 1rem;
}

button {
  cursor: pointer;
}

.values-quote-col, .principles-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
}

.what-we-do-container {
  padding: 4rem 0;
}

.what-we-do-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
}

.what-we-do-services-inner-col {
  display: flex;
  padding: 2rem;
  gap: 2rem;
}

.what-we-do-services-inner-col-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100px;
}

.what-we-do-services-inner-col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.what-we-do-services-inner-col-img {
  width: 100%;
  height: 100%;
}

.what-we-do-header {
  padding-bottom: 1rem;
  font-size: 1.5rem;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .what-we-do-services-inner-col {
    flex-direction: column;
  }

  .form {
    padding: 0px 0px;
  }

  .footer-logo {
    height: auto;
    max-width: 60px;
    padding: 0 0 0 50px;
  }
}

.values-container {
  padding-bottom: 4rem;
}

.values-mobile-container {
  display: none;
}

#values-quote-paragraph, #principles-paragraph {
  width: 60%;
}

/* Accordion */

.values-accordion-col {
  display: flex;
  flex-direction: column;
}

.accordion-title {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  cursor: pointer;
  padding: 3rem 0 0 0;
  min-width: 100%;
}

.accordion-title-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-header {
  min-width: 250px;
}

.plus {
  font-size: large;
  font-weight: bold;
}

/* Hide all accordion content by default */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-in;
  padding: 0;
}

/* Style the accordion to reveal the content when the checkbox is checked */
.accordion-checkbox {
  display: none;
}

.accordion-checkbox:checked + label + .accordion-content {
  max-height: 150px;
  transition: max-height 0.3s ease-in, padding 0.3s ease-in;
  padding: 40px 0;
}

/* Rotate the plus sign when the checkbox is checked */
.accordion-checkbox:checked + label h4 .plus {
  transform: rotate(45deg); /* Rotate 45 degrees */
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}

/* Reset the rotation when the accordion is closed */
.plus {
  display: inline-block; /* Allows rotation */
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}

/* Style the label to look like clickable headers */
.accordion label {
  width: 100%;
  cursor: pointer;
  display: block;
}

/* Optional: Add hover effect for the headers */
.accordion label:hover {
  background-color: #e1e1e1;
}

/* img, video {
  filter:brightness(0) invert(0.5);
  border-radius: 1rem;
} */

.learn-more-button-container {
  padding-top: 30px;
  margin-bottom: 0;
}

.service-text {
  padding: 20px 0;
}

.button:hover {
  background-color: #000;
  cursor: pointer;
  color: white;
  transition: background-color 0.2s ease-out;
}

/* Retain hover-like style when clicked (active) */
.service-link:active {
  background-color: #000;
  color: white;
}

/* Retain hover-like style when the link is focused (for accessibility) */
.service-link:focus {
  background-color: #000;
  color: white;
}

/* Form */

.contact-row {
  display: flex;
  justify-content: center;
  align-items: space-between;
  padding: 4rem 0;
}

.contact-image-col {
  display: flex;
  align-items: center;
}

.contact-image {
  height: auto;
  max-width: 533px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.form h2 {
  border-bottom: #000 solid 1px;
}

.form-group {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.form-subgroup {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
}

.form-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  align-self: flex-start;
}

.form-input input {
  width: 100%;
  border-radius: .5rem;
  outline: none;
  border: solid 1px black;
  align-self: flex-end;
  padding: 5px 0;
  transition: border-radius 0.2s ease-out;
}

.form-input input:focus, .fg3 .form-input textarea:focus {
  border-radius: 0;
}

.fg3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.fg3 .form-input textarea {
  width: 100%;
  border-radius: .5rem;
  align-self: flex-end;
  border: solid 1px black;
  transition: border-radius 0.2s ease-out;
}

.fg4 {
  display: flex;
  justify-content: end;
}

.form-button, .alert-button, .learn-more-button-wwd {
  color: #121416;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid #191919;
  border-radius: 6px;
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 15px;
  font-weight: 400;
  line-height: 110%;
  text-decoration: none;
  transition: border 0.3s;
  position: relative;
  overflow: hidden;
}

.alert-popup {
  border-radius: 1rem;
}

.alert-title {
  color: #000;
}

.alert-button {
  outline: none;
  border: none;
}

/* SERVICES CUSTOM */

.service-main-row {
  display: flex;
  justify-content: space-around;
  padding: 4rem 0;
}

.service-main-row div:not(div:first-of-type){
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-main-row div:first-of-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.service-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  list-style: none;
  gap: 1rem;
  text-align: left;
}

.service-menu a {
  text-decoration: none;
  color: #191919;
}

.service-menu h5 {
  padding-left: 1rem;
}

.service-link {
  color: #191919;
  padding: .6rem 1rem;
  border-radius: 6px;
}

.service-menu-mobile, .service-menu-mobile > *{
  display: none;
}

#services-img { 
  filter: grayscale(100%);
  height: 300px;
  background-image: url("/static/media/image/km2pm_12.jpg");
  background-position: center; /* Centers the background image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-size: cover; /* Ensures the image covers the entire area */
  background-attachment: fixed; /* Fixes the background image */
}

.service-sub-row {
  padding: 4rem 0;
}

.service-text.service-text-default {
  opacity: 1; 
  display: block;
}

.service-text {
  opacity: 0; /* Start hidden */
  display: none; /* Prevents the element from taking up space */
  transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
  padding: 0;
  max-width: 95%;
  padding-left: 5%;
}
.service-text > * {
  max-width: 95%;
  padding-left: 5%;
}

/* Footer */

.footer-container {
  display: flex;
  padding: 2rem 0;
}

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

.footer-sitemap {
  padding: 50px;
  display: flex;
  gap: 1rem;
  list-style: none;
}

.footer-sitemap a {
  text-decoration: none;
  color: #191919;
}

.footer-sitemap a:hover {
  border-bottom: solid black 1px;
  padding-bottom: 10px;
}

.footer-logo, .copyright {
  height: 50px;
  padding: 50px;
}

/* Lines */

.lin-001 {
  height: 1px;
  background-color: #191919;
  border-top-width: 0;
  position: absolute;
  left: 0;
  background-color: #000; 
}

.line-001 {
  width: 1px;
  background-color: #191919;
}

.line-y-container, .line-x-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.line-y-what-we-do-1, .line-y-services-top, .line-y-services-bottom {
  max-height: 100%;
  position: absolute;
  top: 0;
}

.line-y-what-we-do-2 {
  max-height: 50%;
  position: absolute;
  top: 25%; 
  bottom: 5%;
  width: 1px; 
  background-color: #000; 
}

@media (max-width: 1399px) {

  .header {
    font-size: calc(50rem / 16);
  }
}

@media (max-width: 991px) {
  .hero-container, .hero-row {
    height: 100%;
  }

  .hero-row {
    padding: 0 0 0 0;
  }

  .hero-text-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    text-align: center;
  }

 .embed-responsive {
    width: auto;
    max-height: 500px;
  }

  .hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .contact-image, .values-image {
    height: auto;
    max-width: 533px;
  }

  .values-image-container, .contact-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .values-image-container {
    padding: 4rem 0;
  }

  .contact-image-col {
    padding-bottom: 4rem;
  }

  .footer-sitemap {
    padding: 0;
  }

}

@media (min-width: 992px) and (max-width: 1199px) {

  .contact-image, .values-image {
    height: auto;
    max-width: 450px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 

  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .header {
    font-size: calc(30rem / 16);
  }

  .what-we-do-text-col {
    justify-content: center;
    align-items: center;
  }

  .what-we-do-text-col h1 {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  #logo {
    height: 20px;
    width: auto;
  }

  .principles-container, 
  .values-quote-container, 
  .values-accordion, 
  .contact-container,
  .values-quote-col, 
  .principles-col,
  .what-we-do-container,
  .what-we-do-text-col {
    padding: .5rem 0;
  }

  .hero-row {
    justify-content: center;
    align-items: center;
  }

  .hero-img {
    height: auto;
    width: 85vw;
  }

  .hero-text-col {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    height: auto;
    text-align: left;
    z-index: 2;
  }

  .hero-text-col > * {
    margin-left: 100px;
  }

  .hero-row {
    position: relative;
    /* background-image: url("https://images.unsplash.com/photo-1674027444485-cec3da58eef4?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); */
    background-size: cover;
    background-position-x: -200px;
    z-index: 0;
  }

  .hero-image-col {
    display: none;
  }

  .principles-container {
    padding-top: 2rem;
  }

  #principles-paragraph {
    width: 100%;
  }

  #values-quote-paragraph {
    width: 100%;
  }

  .values-image-container {
    padding: 0;
  }

  .values-container {
    padding: 0;
  }

  .values-accordion-col {
    justify-content: center;
    align-items: center;
  }

  .line-x-container {
    display: none;
  }

  .learn-more-button-wwd {
    margin-bottom: 20px;
  }
  
  .what-we-do-text-col {
    gap: 0;
  }

  .values-image-container, .contact-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
  }

  .contact-image-col {
    padding-bottom: 0;
  }

  .values-image, .contact-image{
    height: auto;
    max-width: 90vw;
  }

  .contact-row {
    padding-top: 0px;
    gap: 60px;
  }

  .form {
    padding: 0;
  }

  .footer-container {
    border-top: solid black 1px;
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .footer-container > * {
    padding: 0;
  }

  .footer-logo {
    height: 30px;
    width: auto;
    border: none;
    padding: 10px 20px;
  }

  .footer-sitemap h5 {
    font-size: 25px;
  }

  .footer-sitemap {
    padding: 40px 0;
  }

  .footer-sitemap, .copyright {
    font-size: 20px;
    margin-bottom: 0;
  }

  /* Services */

  .service-menu {
    padding: 0 0 30px 0;
    width: 100%;
    margin: 0;
  }

  .service-main-row {
    padding: 30px 0;
  }

  .service-parallax-image {
    justify-content: center;
    align-items: center;
    height: 200px;
  }

  #services-img {
    height: 200px;
  }

  .service-sub-row {
    padding: 30px 0;
  }

 }