@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Variables */
:root {
  --normal-font: 400;
  --bold-font: 600;
  --bolder-font: 900;
  --primary-color: #fff;
  --secondary-color: #F6862F;
  --global-background: #121212;
  --line-height: 1.7rem;
  /* --transition: 0.4s ease-in; */
  --max-width: 75vw;
  --nav-height: 14vh;
}

/* Smooth scroll effect */
html {
  scroll-behavior: smooth;
  background-color: black;
  scroll-padding-top: var(--nav-height);
  /* height of sticky header */
}

/* Resets */
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
  transition: var(--transition);
  color: var(--primary-color);
  /* border: red solid 2px; */
}

body {
  font-family: "Noto Sans", sans-serif;
  color: var(--primary-color);
}

h1,
h2,
h3 {
  color: #FBBC00;
}

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

a:hover {
  color: var(--secondary-color);
}

/* Navbar starts */
nav {
  position: sticky;
  top: 0;
  left: 0;
  min-height: var(--nav-height);

  background: var(--global-background);

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1;
}

.color-bar {
  /* position: relative; */
  height: 1vh;
  width: 100%;
  background: linear-gradient(to right,
      #DC462B 0%,
      #DC462B 20%,
      #F6862F 20%,
      #F6862F 40%,
      #FBBC00 40%,
      #FBBC00 60%,
      #B3DD80 60%,
      #B3DD80 80%,
      #14DFF2 80%,
      #14DFF2 100%);
}

nav .color-bar {
  align-self: last baseline;
}


ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 1.5rem 0 0;
}

nav ul li {
  list-style-type: none;
  margin: 0 2vw;
}

.nav-link {
  font-weight: var(--bold-font);
}

.logo {
  margin: 0 0 0 1.5rem;
  max-height: 50px;
}

/* .hamburger {
  display: none;
}

.bar {
  background-color: #020202;
  display: block;
  width: 30px;
  height: 4px;
  margin: 6px auto;
} */

/* Navbar ends */

.hero,
.about,
.services,
.contact {
  min-height: calc(100vh - var(--nav-height));
}

/* Hero section starts */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url('../images/cocora-valley-lf.webp');
  background-size: cover;
}

.hero .intro-text {
  max-width: var(--max-width);
}

.hero h1 {
  font-size: 2.5rem;
}

.hero .subtitle {
  font-size: 1.5rem;
}

/* Hero section ends */

/* About section start*/
.about,
.contact {
  background: var(--global-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.description {
  background: transparent;
  max-width: var(--max-width);
  padding: 5vh 0;
}

.description h2 {
  font-size: 2rem;
  padding: 0 0 2vh 0;
}

.about p, .description p {
  font-size: 1.25rem;
  margin-bottom: 2vh;
}

.people-list {
  width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 3vh 0;
}

.person-card,
.service-card {
  margin: 10px;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.person-role {
  margin-bottom: 2vh;
}

.portrait {
  width: 30vh;
  height: 30vh;
  overflow: hidden;
  border-radius: 50%;
}

/* About section ends */

/* Services section starts */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  background-color: black;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
    url('../images/cauca-mountains-lf.webp');
  background-size: cover;
}

.service-list, .form-wrapper {
  width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.service-card {
  width: 300px;

}

/* Services section ends */

/* Contact us form starts */
.contact * {

  box-sizing: border-box;
}

.contact span {
  color: red;
}

.form-wrapper form {
  /* max-width: calc(var(--max-width) - 20vw); */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2vh 25px;
  margin-bottom: 4vh;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 320px;
}

form label, .input-box {
  grid-column: 1 / -1;
}

.input-box {
  height: 45px;
  margin: 12px 0;
  max-width: calc(var(--max-width) - 24vw)
}

.input-box input,
.input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #ddd;
  color: #121212;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
  font-family: 'Nano sans', sans-serif;
}

.message-box {
  min-height: 110px;
}

.input-box textarea {
  padding-top: 6px;
}

.button {
  font-size: 1rem;
  height: 40px;
  width: 110px;
  border-radius: 5px;
  margin: 0 auto;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  border: 0 solid transparent;
  grid-column: 3;
}

.required-text {
  grid-column: 1 / 2;
  font-size: 0.8rem;
}

.button:hover {
  background-color: #DC462B;
}

/* Contact us form ends */

/* Footer */
footer {
  min-height: var(--nav-height);
  text-align: center;
}

footer .color-bar {
  margin: 0 0 5vh;
}

/* Scroll to top button starts */
/* .scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
} */
/* Scroll to top button ends */

@media screen and (max-width: 926px) {
  .logo {
    height: 30px;
    padding: 2vh;
    margin: 0;
  }

  .required-text {
    grid-column: 1 / -1;
    margin: 0 0 6px;
  }
  .button {
    grid-column: 1  / -1;
  }

  /*  .hamburger {
    display: block;
    cursor: pointer;
  }

  ul {
    background-color: #fff;
    flex-direction: column;
    position: fixed;
    left: 100%;
    top: 5rem;
    width: 100%;
    text-align: center;
  }

  ul.active {
    left: 0;
  }

  .nav-item {
    margin: 2rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    flex-direction: column;
    max-width: 500px;
  }

  .about {
    text-align: center;
  }

  .persons {
    grid-template-columns: repeat(1, 1fr);
  }*/
}

@media screen and (max-width: 510px) {
  nav {
    justify-content: center;
  }
  .logo {
    margin: 0;
  }

  .button {
    width: 100%;
  }
}