@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&display=swap");

* {
  font-weight: normal;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

html {
  background-color: #ffffff;
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 100%;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #1e367b;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

#myBtn img {
  width: 30px;
  height: 30px;
  display: block;
  margin: auto;
  filter: invert(1);
}

#myBtn:hover {
  background-color: #000000;
  transform: scale(1.3);
}

html {
  font-size: 8px;
}

h1 {
  text-transform: uppercase;
  font-weight: bold;
}

h2 {
  font-size: 2.3rem;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  h2 {
    font-size: 3.4em;
  }
}

h3 {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  h3 {
    font-size: 2.8em;
  }
}

h4 {
  font-size: 2.6rem;
}

p {
  font-size: 2rem;
  line-height: 3rem;
  letter-spacing: 0.5px;
}

button {
  border: none;
}

a {
  color: #1e367b;
}

a:visited {
  color: #1e367b;
}

a:hover {
  color: black;
}

.section__wrap {
  margin: 5rem auto 0 auto;
  width: 80vw;
}

@media (min-width: 320px) {
  .section__wrap {
    width: 90vw;
    margin: 3rem auto 0 auto;
  }

  .header__title-small {
    font-size: 2em;
    line-height: 40px;
    width: 25rem;
  }

  .header__button {
    width: 85vw;
  }
  .features__text {
    width: 85vw;
  }
}

@media (min-width: 576px) {
  html {
    font-size: 7px;
  }

  .section__wrap {
    width: 85vw;
  }

  .header__button {
    width: 75vw;
  }

  .features__text {
    width: 75vw;
  }
}

.row {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px;
  gap: 20px;
}

@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .section__wrap {
    width: 90vw;
  }
}

@media (min-width: 1620px) {
  .section__wrap {
    width: 1300px;
  }
}

.container {
  padding: 0 16px;
}

.container::after,
.row::after {
  content: "";
  clear: both;
  display: table;
}

.about {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 3;
}

.projects {
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 1;
}

.team-container {
  order: 4;
}

.clients-container {
  order: 5;
}

.policies {
  -webkit-box-ordinal-group: 7;
  -ms-flex-order: 6;
  order: 6;
}

.contact {
  -webkit-box-ordinal-group: 8;
  -ms-flex-order: 7;
  order: 7;
}

.enquiry {
  -webkit-box-ordinal-group: 9;
  -ms-flex-order: 8;
  order: 8;
}

.footer {
  -webkit-box-ordinal-group: 10;
  -ms-flex-order: 9;
  order: 9;
}

body {
  min-height: 100vh;
}

.header {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), url("../img/IMG_1452.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
}

.header__social {
  width: 22px;
  height: 225px;
  position: absolute;
  display: none;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  top: 2rem;
  right: -5rem;
  z-index: -5;
}

.header__social-li {
  display: none;
  color: #ccc;
  opacity: 0.5;
  font-size: 30px;
  padding-right: 10px;
}

@media (min-width: 576px) {
  .header__social-li {
    display: inline-block;
  }
}

.header__social-li:hover {
  cursor: url(http://www.rw-designer.com/cursor-extern.php?id=8610), auto;
  opacity: 1;
  color: #fff;
}

.header__plus-top {
  position: absolute;
  z-index: 2;
  left: -25px;
  bottom: -25px;
  width: 5rem;
  display: none;
}

@media (min-width: 768px) {
  .header__plus-top {
    display: block;
  }
}

.header__plus-bottom {
  color: #fff;
  position: absolute;
  z-index: 2;
  right: -25px;
  top: -25px;
  width: 5rem;
  display: none;
}

@media (min-width: 768px) {
  .header__plus-bottom {
    display: block;
  }
}

.header__frame {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-items: center;
  gap: 2rem;
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  opacity: 1.0;
}

@media (min-width: 768px) {
  .header__frame {
    display: grid;
    margin: 0;
    width: 100%;
    opacity: 1.0;
  }
}

@media (min-width: 1620px) {
  .header__frame {
    width: 100%;
    opacity: 1.0;
  }
}

.header__frame-bcg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1.0;
  z-index: -1;
  background-color: transparent;
}

@media (min-width: 768px) {
  .header__frame-bcg {
    background: transparent;
  }
}

@media (min-width: 768px) {
  .header__frame-bcg::after {
    content: "";
  }
}

.header__title-big {
  margin: 2rem;
  writing-mode: vertical-lr;
  font-size: 7vh;
  line-height: 1.5;
  font-weight: 900;
  text-transform: uppercase;
  width: auto;
  max-width: 100vw;
  height: 80vh;
  letter-spacing: 0.1rem;
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 5vw;
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .header__title-big {
    writing-mode: horizontal-tb;
    margin: 0;
    text-align: left;
    font-size: 13vw;
    line-height: 0.8;
    letter-spacing: -0.05em;
    width: 100%;
    height: auto;
    display: block;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .header__title-big {
    margin: 0;
    font-size: 13vw;
    line-height: 0.8;
  }
}

@media (min-width: 1620px) {
  .header__title-big {
    margin: 0;
    font-size: 13vw;
    line-height: 0.8;
  }
}

.header__title-small {
  -ms-grid-column: 1;
  grid-column-start: 1;
  -ms-grid-row: 2;
  grid-row-start: 2;
  margin: 29rem auto;
  text-align: center;
  font-size: 2.8rem;
  line-height: 4rem;
  width: 30rem;
  letter-spacing: 0.2rem;
  color: #1e367b;
}

@media (min-width: 768px) {
  .header__title-small {
    margin: auto 6rem;
    font-size: 2.4rem;
    line-height: 4rem;
  }
}

@media (min-width: 1200px) {
  .header__title-small {
    border-bottom: solid 1px #fff;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1620px) {
  .header__title-small {
    margin: auto 12rem;
    line-height: 5.2rem;
    font-size: 3.6rem;
    width: 34rem;
  }
}

.header__a {
  display: inline-block;
  font-size: 2rem;
  line-height: 3.6rem;
  text-align: center;
  width: 100%;
  color: #ecece7;
}

@media (min-width: 768px) {
  .header__a {
    font-size: 1.8rem;
  }
}

@media (min-width: 1620px) {
  .header__a {
    font-size: 1.8rem;
  }
}

.header__button {
  padding: 1rem;
  margin: 2rem auto;
  color: #fff;
  background: #1e367b;
  border: 2px solid #ffffff;
  height: 3rem;
  width: 70vw;
  z-index: 3;
  -webkit-box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
  -webkit-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

@media (min-width: 768px) {
  .header__button {
    width: 16rem;
    line-height: 4rem;
    height: 4rem;
    -ms-grid-row: 3;
    grid-row-start: 3;
    -ms-grid-column: 1;
    grid-column-start: 1;
  }
}

@media (min-width: 1200px) {
  .header__button {
    -ms-grid-row: 3;
    grid-row-start: 3;
    -ms-grid-column: 1;
    grid-column-start: 1;
    width: 25rem;
  }
}

@media (min-width: 1620px) {
  .header__button {
    width: 32rem;
    line-height: 6rem;
    height: 6rem;
  }
}

.header__button a {
  text-decoration: none;
  line-height: 3.6rem;
}

.header__button:hover {
  cursor: pointer;
  border: 2px solid #1e367b;
  color: #1e367b;
  background: #ffffff;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
}

.header__icon {
  opacity: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  font-size: 25px;
  line-height: 40px;
}

@media (min-width: 576px) {
  .header__icon {
    opacity: 1;
  }
}



.header__img {
  -ms-grid-column: 1;
  grid-column-start: 1;
  grid-column-end: 2;
  -ms-grid-row: 3;
  grid-row-start: 3;
  grid-row-end: 4;
  margin: -20rem auto 0 auto;
  width: 60vw;
}

@media (min-width: 576px) {
  .header__img {
    display: inline;
    width: 50vw;
  }
}

@media (min-width: 768px) {
  .header__img {
    -ms-grid-column: 2;
    grid-column-start: 2;
    -ms-grid-row: 2;
    grid-row-start: 2;
    width: 35rem;
  }
}

@media (min-width: 1200px) {
  .header__img {
    width: 45rem;
  }
}

@media (min-width: 1620px) {
  .header__img {
    width: 64rem;
  }
}

.scroll {
  height: 17rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  padding-bottom: 1em;
  width: 40px;
}

@media (min-width: 576px) {
  .scroll {
    bottom: 0;
  }
}

.scroll__area {
  height: 15rem;
  width: 100vw;
}

.about {
  text-align: center;
  background-color: #ffffff;
  padding: 0;
  margin-top: 5rem;
}

.about__title-container {
  padding: 5rem 0;
  background-color: #ffffff;
}

.about__text-container {
  position: relative;
  z-index: 1;
  min-height: 40vh;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("../img/02.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 10rem 0;
}

.about__info-title {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 2em auto 1.3em auto;
  width: 100%;
  text-align: center;
  color: #fff;
}

.about__info-text {
  font-family: Tahoma, sans-serif;
  font-size: 2.1rem;
  color: #fff;
  max-width: 100rem;
  margin: 0 auto;
  line-height: 1.8;
  text-align: justify;
  padding: 3rem;
  border-radius: 10px;
}

.about__info-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(189 208 255);
  width: 100vw;
  height: 30px;
  opacity: 0.8;
  z-index: -1;
}

.features__info-subtitle {
  font-size: x-large;
  text-transform: uppercase;
  position: relative;
  margin: 1.5rem auto 1rem auto;
}

/*
.features__info-subtitle::before { 
  content: "";
  position: absolute;
  top: 16%;
  left: -1em;
  background-color: #004E7A;
  width: 8em;
  height: 1.5em;
  opacity: .8;
  z-index: -1;
}
*/

.features__text {
  width: 70vw;
  text-align: left;
  margin: 1.5rem 2rem;
}

@media (min-width: 768px) {
  .features__text {
    width: 30vw;
    -ms-grid-row: 2;
    grid-row-start: 2;
    margin: auto;
  }
}

.features__1 {
  border: dashed 1px #fff;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
  -ms-grid-rows: 10% 40% 50%;
  grid-template-rows: 10% 40% 50%;
  margin: 5em auto;
  padding: 5rem auto;
  color: #004e7a;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .features__1 {
    -ms-grid-columns: 45% 55%;
    grid-template-columns: 45% 55%;
    -ms-grid-rows: 10% 90%;
    grid-template-rows: 10% 90%;
  }
}

@media (min-width: 1620px) {
  .features__1 {
    margin: 3em auto;
  }
}

.features__2 {
  border: dashed 1px #fff;
  display: -ms-grid;
  display: grid;
  margin: 5em auto;
  color: #004e7a;
  background-color: #ffffff;
}

@media (min-width: 1620px) {
  .features__2 {
    margin: 3em auto;
  }
}

.features__3 {
  border: dashed 1px #fff;
  display: -ms-grid;
  display: grid;
  margin: 5em auto;
  color: #004e7a;
  background-color: #ffffff;
}

@media (min-width: 1620px) {
  .features__3 {
    margin: 3em auto;
  }
}

.features__img-1 {
  height: 25rem;
  -ms-grid-column: 1;
  grid-column-start: 1;
  -ms-grid-row: 3;
  grid-row-start: 3;
  margin: 1.5rem auto;
}

@media (min-width: 576px) {
  .features__img-1 {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .features__img-1 {
    -ms-grid-row: 1;
    grid-row-start: 1;
    grid-row-end: 3;
  }
}

@media (min-width: 1620px) {
  .features__img-1 {
    height: 300px;
  }
}

.features__img-2 {
  margin: 2.5rem auto;
  height: 25rem;
}

@media (min-width: 576px) {
  .features__img-2 {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .features__img-2 {
    -ms-grid-column: 2;
    grid-column-start: 2;
    -ms-grid-row: 1;
    grid-row-start: 1;
    grid-row-end: 3;
  }
}

@media (min-width: 1620px) {
  .features__img-2 {
    height: 300px;
  }
}

.features__img-3 {
  margin: 2.5rem auto;
  height: 20rem;
  -ms-grid-column: 1;
  grid-column-start: 1;
  -ms-grid-row: 3;
  grid-row-start: 3;
}

@media (min-width: 576px) {
  .features__img-3 {
    height: 250px;
  }
}

@media (min-width: 768px) {
  .features__img-3 {
    -ms-grid-row: 1;
    grid-row-start: 1;
    grid-row-end: 3;
  }
}

@media (min-width: 1620px) {
  .features__img-3 {
    height: 300px;
  }
}

.menu {
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 9999;
  width: 100%;
  transition: all 0.3s ease;
  height: 10rem;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex; /* Help align children if needed, though they are mostly absolute */
  align-items: center; /* Center content vertically */
}

.nav__logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 10002; /* Higher than menu background and button */
    width: 12rem;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.nav__logo--hidden {
    opacity: 0;
    pointer-events: none;
}

.nav__logo img {
    width: 100%;
    height: auto;
    display: block;
}


@media (min-width: 768px) {
    .nav__logo {
        position: absolute;
        top: 50%;
        left: 4rem;
        transform: translateY(-50%);
        width: 16rem;
    }
}

.menu--solid {
  height: 40px;
}

@media (min-width: 768px) {
  .menu {
    display: block;
  }
}

.menu__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* spacing between items */
  width: 100%;
  height: 100%;
  position: relative; /* keep existing absolute children working */
  padding: 0 1rem;
}

.menu__container li {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .menu__container {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-right: 2rem;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-left: 24rem;
  }
}

@media (min-width: 1200px) {
  .menu__container {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-right: 5rem;
  }
}

.menu__bcg {
  position: fixed;
  background-color: #ffffff;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  left: -100vw;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  padding: 0.5rem 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  z-index: 9999;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .menu__bcg {
    height: 100%;
    left: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: 0;
    transition: 0;
    position: relative;
    background-color: transparent;
    display: flex;
    align-items: center;
  }
}

.menu__bcg--open {
  left: 0 !important;
  transform: none !important;
}

@media (min-width: 768px) {
  .menu__bcg--open {
    left: 0;
  }
}

.menu__bcg--color {
  background-color: #ffffff !important;
  background-image: none !important;
  opacity: 1 !important;
  left: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.menu__bcg--solid {
  height: 40px;
}

@media (min-width: 768px) {
  .menu.menu--solid .menu__bcg {
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    transform: none !important;
    left: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

.menu__nav-btn {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1e367b;
  line-height: 40px;
  text-decoration: none;
  padding: 0 5%;
  padding-right: 5%;
  letter-spacing: 0.3rem;
  font-size: 3.5rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .menu__nav-btn {
    font-size: 2rem;
    margin-left: 2rem;
  }
}

@media (min-width: 1200px) {
  .menu__nav-btn {
    margin-left: 2.5rem;
  }
}

@media (min-width: 1620px) {
  .menu__nav-btn {
    margin-left: 3rem;
  }
}

.menu__nav-btn:hover {
  background-color: #fff;
  color: #1e367b;
  border-radius: 0 0 5rem 1rem;
}

.lang-container {
  display: flex;
  gap: 1.25rem; /* space between flags */
  margin-left: 0;
  align-items: center;
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.lang {
  text-decoration: none;
  display: inline-block;
}

.lang .fi {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.lang .fi:hover {
  transform: scale(1.2);
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu__container {
    gap: 1rem;
  }

  .lang-container {
    position: relative;
    top: auto;
    left: auto;
    margin-left: auto;
  }

  .lang .fi {
    font-size: 2.5rem; /* Even bigger on larger screens */
  }

  .lang-container {
    right: 40px;
  }
}

.menu-home {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  height: 3.2rem;
  -webkit-transform: translate(0, 10%);
  transform: translate(0, 10%);
}

.menu-home:hover {
  background-color: #fff;
  color: #1e367b;
  border-radius: 0 0 5rem 1rem;
}

.grid {
  display: -ms-grid;
  display: grid;
  grid-auto-flow: column;
  width: auto;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
  row-gap: 1.5em;
}

@media (min-width: 768px) {
  .grid {
    -ms-grid-columns: 50% 50%;
    grid-template-columns: 50% 50%;
    row-gap: 2em;
  }
}

@media (min-width: 1200px) {
  .grid {
    -ms-grid-columns: 33% 33% 33%;
    grid-template-columns: 33% 33% 33%;
    -webkit-column-gap: 1em;
    column-gap: 1em;
    row-gap: 3em;
  }
}

.grid__item {
  flex: 0 0 auto;
  width: 100%;
  height: 400px;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .grid__item {
    width: 300px;
  }
}

.grid__item:hover {
  transform: scale(1.05);
}

.grid__item {
    position: relative;
    overflow: hidden;
}

.project__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    transition: opacity 30% ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 2;
}

.grid__item:hover .project__overlay {
    opacity: 0.8;
}

.project__text {
    font-size: 3.6rem;
    font-weight: bold;
    color: #0c0c0c;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
}

.project__details {
    font-size: 1.8rem;
    color: #232323;
    text-align: center;
}

.grid__item--1 {
  -ms-grid-row: 1;
  grid-row-start: 1;
}

.grid__item--2 {
  -ms-grid-row: 2;
  grid-row-start: 2;
}

.grid__item--3 {
  -ms-grid-row: 3;
  grid-row-start: 3;
}

@media (min-width: 768px) {
  .grid__item--3 {
    -ms-grid-column: 2;
    grid-column-start: 2;
    grid-row-end: 3;
    -ms-grid-row: 1;
    grid-row-start: 1;
  }
}

@media (min-width: 1200px) {
  .grid__item--3 {
    grid-row-end: 3;
    -ms-grid-column: 3;
    grid-column-start: 3;
    grid-column-end: 4;
  }
}

.grid__item--4 {
  -ms-grid-row: 4;
  grid-row-start: 4;
}

@media (min-width: 1200px) {
  .grid__item--4 {
    -ms-grid-row: 1;
    grid-row-start: 1;
    -ms-grid-column: 2;
    grid-column-start: 2;
  }
}

.grid__item--5 {
  -ms-grid-row: 5;
  grid-row-start: 5;
}

@media (min-width: 768px) {
  .grid__item--5 {
    -ms-grid-column: 2;
    grid-column-start: 2;
    -ms-grid-row: 4;
    grid-row-start: 4;
  }
}

@media (min-width: 1200px) {
  .grid__item--5 {
    -ms-grid-row: 2;
    grid-row-start: 2;
    -ms-grid-column: 2;
    grid-column-start: 2;
  }
}

.grid__item--6 {
  -ms-grid-row: 6;
  grid-row-start: 6;
}

@media (min-width: 1200px) {
  .grid__item--6 {
    -ms-grid-row: 3;
    grid-row-start: 3;
  }
}

@media (min-width: 768px) {
  .grid__item--6 {
    -ms-grid-column: 2;
    grid-column-start: 2;
    -ms-grid-row: 3;
    grid-row-start: 3;
  }
}

.grid__item--7 {
  -ms-grid-row: 7;
  grid-row-start: 7;
  height: 212px;
}

@media (min-width: 768px) {
  .grid__item--7 {
    -ms-grid-column: 1;
    grid-column-start: 1;
    -ms-grid-row: 3;
    grid-row-start: 3;
  }
}

@media (min-width: 1200px) {
  .grid__item--7 {
    -ms-grid-row: 3;
    grid-row-start: 3;
    -ms-grid-column: 1;
    grid-column-start: 1;
  }
}

.grid__item--8 {
  -ms-grid-row: 8;
  grid-row-start: 8;
}

@media (min-width: 1200px) {
  .grid__item--8 {
    -ms-grid-row: 3;
    grid-row-start: 3;
    -ms-grid-column: 3;
    grid-column-start: 3;
  }
}

.projects {
  background-color: #ffffff;
}

.projects-container {
  width: 100%;
  margin: 2rem 0;
  overflow-x: hidden;
}

.projects-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  gap: 20px; /* Space between items */
  padding: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}

.projects-scroll::-webkit-scrollbar {
  display: none;
}

.projects-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.projects-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.projects-scroll.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.projects-scroll img {
  pointer-events: none; /* Prevents image interference */
  flex-shrink: 0; /* Prevents images from shrinking */
}

.projects__wrap {
  position: relative;
}

.projects__title {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 2em auto 1.3em auto;
  width: 100%;
  color: #fff;
  text-align: center;
}

.projects__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(189 208 255);;
  width: 100vw;
  height: 30px;
  opacity: 0.8;
  z-index: -1;
}

.projects__bcg {
  position: absolute;
  bottom: -150px;
  left: 300px;
  z-index: -1;
}

.team__title {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 2em auto 1.3em auto;
  width: 100%;
  color: #ffffff;
  text-align: center;
}

.team__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(189 208 255);
  width: 100vw;
  height: 30px;
  opacity: 0.8;
  z-index: -1;
}

.contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: auto;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
  -ms-grid-rows: 25% 25% 25% 25%;
  grid-template-rows: 25% 25% 25% 25%;
  margin-top: 12rem;
  margin: 5rem auto 0 auto;
  width: 80vw;
  background-color: #ffffff;
  color: #1e367b;
}

@media (min-width: 1200px) {
  .contact {
    background-color: #ffffff;
    -ms-grid-columns: 20% 60% 20%;
    grid-template-columns: 20% 60% 20%;
    -ms-grid-rows: 50% 50%;
    grid-template-rows: 50% 50%;
    -webkit-column-gap: 1em;
    column-gap: 1em;
    row-gap: 3em;
  }
}

@media (min-width: 1620px) {
  .contact {
    background-color: #ffffff;
    max-width: 1300px;
  }
}

.contact__title {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 0 auto 1.3em auto;
  width: 100%;
  color: #fff;
  text-align: center;
}

/* Ensure wrapper is full width and centered on mobile */
.contact__wrap {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.contact__text {
  -ms-grid-row: 2;
  grid-row-start: 2;
  -ms-grid-column: 1;
  grid-column-start: 1;
  text-align: center; /* Center on mobile */
}

@media (min-width: 576px) {
  .contact__text {
    -ms-grid-row: 1;
    grid-row-start: 1;
  }
  
  .contact__wrap {
      text-align: left; /* Reset for desktop if needed, or keep center */
      margin-bottom: 0;
  }
}

.contact__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(189 208 255);
  width: 100vw;
  height: 30px;
  opacity: 0.8;
  z-index: -1;
}

.contact__text {
  -ms-grid-row: 2;
  grid-row-start: 2;
  -ms-grid-column: 1;
  grid-column-start: 1;
}

@media (min-width: 576px) {
  .contact__text {
    -ms-grid-row: 1;
    grid-row-start: 1;
  }
}

.map {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin: auto;
}

@media (min-width: 576px) {
  .map {
    -ms-grid-row: 2;
    grid-row-start: 2;
    grid-column-end: 3;
  }
}

@media (min-width: 1200px) {
  .map {
    -ms-grid-column: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    -ms-grid-row: 1;
    grid-row-start: 1;
  }
}

.map__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
}

@media (min-width: 1200px) {
  .map__wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

@media (min-width: 320px) {
  .map__wrap {
    width: 90%;
    padding: 0.5rem;
  }

  .map {
    width: 100%;
    height: 300px;
    margin-bottom: 1rem;
  }
}

.map__img {
  width: 100%;
  opacity: 0.8;
  width: 100%;
  max-width: 300px;
  position: relative;
}

@media (min-width: 768px) {
  .map__img {
    width: 600px;
  }
}

.map__pin {
  position: absolute;
  top: 75px;
  left: 155px;
  color: #cf2428;
  font-size: 50px;
  z-index: 2;
  scale: 0.8;
}

@media (min-width: 768px) {
  .map__pin {
    top: 170px;
    left: 330px;
    scale: 1;
  }
}

.map__container {
  position: fixed;
  top: 250px; 
  left: 7px; 
  border-left-color: 200px;
  background-color: #f2070a;
  display: inline-block;
  color: #fff;
  -webkit-box-shadow: 5px 5px 5px #621113;
          box-shadow: 5px 5px 5px #621113;
  scale: 0.8;
}

@media (min-width: 768px) {
  .map__container {
    top: 250px;
    left: 7px;
    scale: 1;
  }
}

.map__info {
  font-size: 20px;
  padding: 40px;
  padding-left: 2em;
}

.enquiry {
  border: 1px #fff solid;
  padding: 4rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 2rem;
  background-color: #ffffff;
  max-width: 50em;
  font-size: 1.6rem;
}

@media (min-width: 1200px) {
  .enquiry {
    padding-bottom: 40px;
    -ms-grid-column: 2;
    grid-column-start: 2;
    -ms-grid-row: 2;
    grid-row-start: 2;
  }
}

.enquiry::after {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}

.enquiry__title {
  padding-bottom: 2.2rem;
  color: #1e367b;
}

.enquiry__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 576px) {
  .enquiry__form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.enquiry__container {
  width: 100%;
}

@media (min-width: 576px) {
  .enquiry__container {
    width: 50%;
  }
}

.enquiry__container-message {
  min-width: 100%;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

.enquiry__label {
  display: block;
  width: 100%;
  padding: 15px 0 5px 0;
  color: #1e367b;
}

.enquiry__input {
  font-size: 1rem;
  width: 96%;
  background-color: #ffffff;
  color: #1a3093;
  padding: 5px;
  padding-right: 0;
  font-size: 1.8rem;
}

@media (min-width: 576px) {
  .enquiry__input {
    width: 90%;
  }
}

.enquiry__input::-webkit-input-placeholder {
  color: #bbb;
}

.enquiry__input:-ms-input-placeholder {
  color: #bbb;
}

.enquiry__input::-ms-input-placeholder {
  color: #bbb;
}

.enquiry__input::placeholder {
  color: #bbb;
}

.enquiry__input:focus {
  border: 2px solid #fff;
  -webkit-box-shadow: 10px;
  box-shadow: 10px;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
}

.enquiry__text {
  min-width: 94%;
  background-color: hsl(0, 0%, 95%);
  color: #1658c9;
  font-size: 1.8rem;
  padding: 1rem;
  line-height: 2.6rem;
  margin: 0 auto;
}

.enquiry__text:focus {
  border: 2px solid #fff;
  -webkit-box-shadow: 10px;
  box-shadow: 10px;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
}

.enquiry__submit {
  color: #fff;
  background: #1e367b;
  border: 2px solid #ffffff;
  width: 165px;
  height: 40px;
  line-height: 40px;
  -webkit-box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
  -webkit-transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  float: right;
  margin-top: 3rem;
}

.enquiry__submit:hover {
  cursor: pointer;
  border: 2px solid #1e367b;
  color: #1e367b;
  background: #ffffff;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
}

.enquiry__span {
  display: inline-block;
}

.footer-info {
  text-align: center;
  padding: 3rem 1rem 3rem 1rem;
  background-color: #ffffff;
  color: #1e367b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.footer-info__logo-container {
  margin-bottom: 1rem;
}

.footer-info__logo {
  width: 60px;
  height: 60px;
  border: 1px solid #1e367b;
  border-radius: 50%;
  padding: 8px;
  object-fit: contain;
  background-color: transparent;
}

.footer-info__copyright {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.footer-info__details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.4rem;
  line-height: 1.6;
  font-family: Tahoma, sans-serif;
}

.footer-info__details p {
  margin: 0;
}

.footer-info__details a {
  color: inherit;
  text-decoration: none;
}

.footer-info__details a:hover {
  text-decoration: underline;
}

.footer-info__regulations {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: #666;
}


.policies {
  text-align: center;
}

.policies__title {
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin: 2em auto 1.3em auto;
  width: 100%;
  color: #fff;
  text-align: center;
}

.policies__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(189 208 255);
  width: 100vw;
  height: 30px;
  opacity: 0.8;
  z-index: -1;
}

.policies__content {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 6rem; /* Adjust this to control how close they are */
  align-items: center;
  margin-bottom: 5rem;
}

.policies__link {
  font-family: Tahoma, sans-serif;
  font-size: 2.7rem;
  color: #1e367b;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  justify-self: center;
  width: fit-content;
}


/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal__content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 4rem;
  border: 1px solid #1e367b;
  width: 80%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.4s ease-out;
}

.modal__close {
  color: #1e367b;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal__close:hover {
  color: #000;
}

.modal__body {
  font-family: Tahoma, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 1.5rem;
}

/* Custom scrollbar for modal body */
.modal__body::-webkit-scrollbar {
  width: 8px;
}
.modal__body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modal__body::-webkit-scrollbar-thumb {
  background: #1e367b;
  border-radius: 4px;
}

.modal__body h2, .modal__body h3, .modal__body h4 {
  color: #1e367b;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal__body p {
  margin-bottom: 1.5rem;
}

.modal__body ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style-type: square;
}

.modal__body li {
  margin-bottom: 0.5rem;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery Section */
.gallery {
  padding: 4rem 5% 5rem 5%;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery__title {
  text-transform: uppercase;
  position: relative;
  margin-bottom: 5rem;
  color: #1e367b;
  text-align: left;
  font-weight: 600;
  font-size: 2.0rem;
  letter-spacing: 2px;
  padding-left: 0.5rem;
}

.gallery__title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0.5rem;
  width: 3rem;
  height: 2px;
  background-color: #1e367b;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  z-index: 2;
  text-align: center;
}

.gallery__project-name {
  font-size: 2.3rem;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* Gallery Navigation */
.gallery-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(30, 54, 123, 0.1);
  position: relative;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.gallery-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.gallery-nav__logo img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.gallery-nav__links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.gallery-nav__links a {
  text-decoration: none;
  color: #1e367b;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.gallery-nav__links a:hover {
  opacity: 0.6;
}

.gallery-nav__lang {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
}

.gallery-nav__lang .lang {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #1e367b;
  font-weight: 600;
  font-size: 1.2rem;
  transition: opacity 0.3s;
}

.gallery-nav__lang .lang:hover {
  opacity: 0.6;
}

.gallery-nav__lang .lang .fi {
  margin-right: 5px;
  border-radius: 2px;
}

@media (max-width: 850px) {
  .gallery-nav {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  .gallery-nav__links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .gallery-nav__links a {
    font-size: 1.2rem;
  }
  .gallery-nav__lang {
    margin-left: 0;
  }
}

/*# sourceMappingURL=main.css.map */

.team-container { background-color: #ffffff; width: 100%; }
