@import url(https://fonts.googleapis.com/css?family=Finlandica+Headline:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url(https://fonts.googleapis.com/css?family=Lora:regular,500,600,700,italic,500italic,600italic,700italic);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.title-block {
  background-color: #2f6f67d1;

  font-family: "Lora", sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  padding: 18px 36px;
  min-width: 240px;
  text-align: center;

  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Index styles*/
/* Home Hero Slider */

.hero-slider {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: #3d3028;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.18)
  );
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;

  max-width: 720px;
  color: white;
}

.hero-eyebrow {
  font-family: "Finlandica Headline", sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #dddddd;
}

.slide-content h1 {
  font-family: "Finlandica Headline", sans-serif;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
  margin-bottom: 30px;
  color: #dddddd;
  mix-blend-mode: overlay;
}

.hero-button {
  display: inline-block;
  background: #2f6f68;
  color: white;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 4px;
  font-size: 18px;
  transition: 0.3s ease;
}

.hero-button:hover {
  background: #18453f;
}

/* Photos banner */
.photo-banner {
  background-color: #c4b1da;
  display: flex;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 200px;
  margin: 20px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 3;
  background: rgba(255, 255, 255, 0.22);
  color: white;

  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;

  font-size: 28px;
  cursor: pointer;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.38);
}

.slider-arrow.prev {
  left: 22px;
}

.slider-arrow.next {
  right: 22px;
}

.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);

  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background: white;
}

/* content */
.index-content {
  background-color: #f7f2ec;
  font-family: "Finlandica Headline", sans-serif;
  font-size: 18px;
}

.index-content p {
  padding: 0 140px 15px 140px;
}

/* Mission */
.page-content.mission {
  background: #b7c8b0;
}

.mission-hero {
  position: relative;
  width: 100%;
}

.photo-banner-mission {
  width: 100%;
  height: 500px;
  overflow: hidden; /* Hides anything outside the box */
  position: relative;
}

.photo-banner-mission::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

.photo-banner-mission img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.mission-intro {
  max-width: 950px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  text-align: center;
}
.eyebrow {
  font-family: "Finlandica Headline", sans-serif;
  color: #2f3a3a;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mission-intro h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 28px;
}

.mission-lead {
  font-size: 22px;
  line-height: 1.7;

  max-width: 800px;
  margin: 0 auto;
}

.mission-cards {
  max-width: 1150px;
  margin: 0 auto;
  padding: 30px 24px 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-card {
  background: #fbf9f6;
  padding: 36px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(112, 86, 66, 0.12);
}

.mission-card h2 {
  font-size: 34px;
  color: #18453f;
  padding: 0 0 20px 20px;
}

.mission-card p {
  font-size: 18px;
  line-height: 1.7;
}

/* About */
.about-content p {
  padding: 0 140px;
}

.about-card {
  height: 300px;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  align-self: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-more {
  background-color: #fbf8f4;
}

.about-more h2 {
  justify-content: center;
  padding: 45px 0 0px;
  font-size: 42px;
}

.about-project-cards {
  display: grid;
  grid-template-columns: repeat(2, 300px);

  justify-content: center;

  gap: 140px;

  padding: 60px 20px;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  display: block;
}

.about-card h3 {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 3;

  color: white;

  font-size: 36px;
  letter-spacing: 2px;

  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);

  margin: 0;
}

.about-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.35);

  z-index: 1;
}

.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay */

.image-link h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: white;
}

/* Foundations */
.foundations-intro h1 {
  padding: 30px;
}

.foundations-intro h2 {
  padding: 50px 0 0 0;
  justify-content: center;
}

.page-content {
  background: #b7c8b0;
}

.found-img-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 14px;
  max-width: 100vw;
  gap: 10px;
  background-color: #18453f;
  border-radius: 12px;
  box-shadow: 0 12px 10px rgba(0, 0, 0, 0.25);
}

.foundations-img {
  max-width: 600px;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  margin: 10px 0;
  border-radius: 12px;
}

.foundations-intro {
  max-width: 80vw;
  margin: 0 auto;

  text-align: center;
}

.foundations-cards {
  max-width: 1150px;
  margin: 50px auto 0;
  padding: 0 24px 90px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.foundation-card {
  background: #fbf9f6;
  padding: 38px;
  border-radius: 22px;

  box-shadow: 0 12px 35px rgba(112, 86, 66, 0.12);

  text-align: left;
}

.foundation-card h2 {
  font-family: "Finlandica Headline", sans-serif;
  font-size: 36px;
  justify-content: center;

  padding: 0;
}

.foundation-card p {
  font-size: 18px;
  line-height: 1.8;
  color: #3d3028;
  padding: 20px 40px;
}

/* Team */

.team-hero {
  position: relative;
  width: 100%;
}

.photo-banner-team {
  width: 100%;
  height: 500px;
  overflow: hidden; /* Hides anything outside the box */
  position: relative;
}

.photo-banner-team::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

.photo-banner-team img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.team-intro {
  max-width: 950px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  text-align: center;
}

.team-intro h1 {
  font-family: "Finlandica Headline", sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 28px;
}

.team-lead {
  font-size: 22px;
  line-height: 1.7;
  color: #5a4434;
  max-width: 800px;
  margin: 0 auto;
}

/* What's coming */
.coming-content p {
  padding: 10px 60px 10px 60px;
}
