@import url("https://fonts.cdnfonts.com/css/proxima-nova-2");

body {
  font-family: "Proxima Nova", sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #14532d;
  color: #ffffff;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
}

#values {
  background-color: #f7f7f7;
  padding-top: 40px;
  padding-bottom: 80px;
}

#values h2 {
  text-align: center;
  margin-bottom: 40px;
  /* font-weight: 700;
  font-size: 36px; */
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.value {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
  color: #2f2f2f;
  font-weight: 400;
  font-size: 18px;
}

.value i {
  font-size: 48px;
  color: #166534;
  margin-bottom: 20px;
}

.value h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.value p {
  line-height: 1.6;
  margin-bottom: 0;
}

.portfolio {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.portfolio h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #343434;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.portfolio-grid a {
  display: block;
  margin: 10px;
}

.portfolio-grid img {
  width: 200px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.portfolio-grid img:hover {
  filter: grayscale(0%);
}

a.sub:link {
  color: #3b82f6;
}

/* visited link */
a.sub:visited {
  color: #1d4ed8;
}

/* mouse over link */
a.sub:hover {
  color: #1e3a8a;
}

/* selected link */
a.sub:active {
  color: #14532d;
}

.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slide-up 1s ease-out;
}

.hero-subtitle {
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slide-up 1s ease-out 0.5s;
}

.hero-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

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

.about {
  padding: 4rem 0;
  background-color: #f7f7f7;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
  .about-text {
    font-size: 1.25rem;
  }
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
  max-width: 400px;
  padding: 20px;
  text-align: center;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  font-size: 18px;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 1rem;
}

.grid > div {
  background: #f8fafc;
  padding: 1rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.grid > div::before {
  content: "";
  display: block;
}
.grid > div img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-gap: 1rem;
    margin: 0px 1rem;
  }
}

@media screen and (max-width: 480px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 1rem;
    margin: 0px 1rem;
  }
}

/* Large devices such as laptops (1024px and up) */
/* @media only screen and (min-width: 64em) {
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 1rem;
    justify-content: center;
  }
} */

/* Largest devices such as desktops (1280px and up) */
@media only screen and (min-width: 80em) {
}
