*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

:root {
  --primary-color: #1167B1;
  --primary-color-dark: #07253f;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  color: #555;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  border-radius: 3px;
  display: block;
  margin-bottom: 2rem;
}

.image-animation {
  transition: transform .2s;
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.image-animation:hover {
  transform: scale(1.05);
}

p {
  text-align: justify;
  margin: 3rem 0;
  line-height: 150%;
}

label {
  color: #333;
  display: block;
  margin: 1.5rem 0 1rem 0;
}

input {
  width: 100%;
  padding: .7rem 1rem;
  color: #555;
  font-size: 1.6rem;
  border: 1px solid #AAA;
}

textarea {
  width: 100%;
  color: #555;
  font-size: 16px;
  padding: .7rem 1rem;
  border: 1px solid #AAA;
}

.header {
  background-color: white;
}

.lang-icon-flex {
  display: flex;
  justify-content: center;
}

.lang-icon {
  width: 2rem;
  margin-top: 1.2rem;
  margin-bottom: -.5rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.header.sticky {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-bottom: 2px solid rgba(0, 0, 0, .24);
}

.nav {
  padding: 1.2rem 0;
  padding-bottom: 0rem;
}

.nav-list {
  display: flex;
  justify-content: center;
}

.nav-item {
  margin: .7rem;
  color: var(--primary-color);
  padding-bottom: .7rem;
  transition: color .2s ease-in, border-bottom .2s ease-in;
  border-bottom: 1px solid transparent;
  position: relative;
}

.nav-item:hover {
  border-bottom: 1px solid var(--primary-color-dark);
}

.nav-item.active {
  border-bottom: 1px solid var(--primary-color-dark);
}

.nav-link {
  text-transform: uppercase;
}

/* Dropdown */
.dropbtn {
  color: var(--primary-color);
  background-color: transparent;
  text-transform: uppercase;
  border: none;
  outline: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.dropdown-content {
  position: absolute;
  background-color: #f9f9f9;
  margin-top: .7rem;
  min-width: 22rem;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-top: 1px solid #AAA;
  opacity: 0;
  transition: opacity 400ms ease-in;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
}

.dropdown-content.hide {
  display: none;
  opacity: 0;
}

.dropdown-content a {
  color: #333;
  text-transform: uppercase;
  padding: 1.5rem 2rem;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #ddd;
  font-size: 1.4rem;
}

  /* Desktop functionality */
  .dropdown-content a:hover {background-color: #ddd}
  .nav-item-dropdown:hover .dropdown-content {
    display: block;
  }
  .nav-item-dropdown:hover .fa,
  .nav-item-dropdown:hover .fa-caret-down {
    transform: rotate(180deg);
  }

.hero-section {
  width: 100%;
  height: calc(10rem + 40vw);
  background:linear-gradient(0deg, rgba(7, 37, 63, 0.6), rgba(7, 37, 63, 0.6)), url(assets/hero-image.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero-section-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.hero-section-heading {
  font-size: 2.2rem;
  font-weight: 300;
  color: white;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-section-btn {
  padding: 1rem 3rem;
  background-color: #0d5899;
  color: white;
  border-radius: .5rem;
  transition: background-color .2s ease-in;
  text-transform: uppercase;
  border: none;
  outline: none;
}

.hero-section-btn:hover {
  background-color: var(--primary-color);
}

.main {
  margin: -6rem 3rem;
}

.section-heading {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 400;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 3rem;
  margin-top: -7rem;
  padding-top: 9rem;
}

.section-map {
  padding: 8rem 0 10rem 0;
}

#map {
  height: calc(10rem + 40vw);
  width: 100%;
}

.section-heading-contact {
  text-align: left;
  
}

.contact-section {
 
  
}

.form-label {
  text-transform: capitalize;
  font-size: 1.6rem;
}

.btn-form {
  margin-top: 1.5rem;
}

.bg-footer {
  background-color: #D0EFFF;
  padding: 2rem 0;
}

.footer {
  text-align: center;
  margin: 3rem 3rem;
  position: relative;
}

.icon-info {
  fill: var(--primary-color);
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 1rem;
}

.footer-text {
  text-transform: uppercase;
  margin: 1rem 0;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.footer-text:first-of-type {
  margin-bottom: 4rem;
}

.created {
  text-align: center;
  padding: .7rem;
}

.created a {
  color: var(--primary-color);
  font-weight: 700;
}

/* Slider */
/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  position: relative;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -2rem;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* Tablet */
@media screen and (min-width: 48em) {
  html {
    font-size: 70%;
  }

  .hero-section-heading {
    font-size: 3rem;
  }

  .header {
    padding-left: 3rem;
    padding-right: 3rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .lang-icon-flex {
    align-items: center;
  }
  
  .lang-icon {
    margin: 0 .5rem;
    margin-top: .5rem;
  }

  .prev, .next {
    font-size: 2rem;
  }

  .grid-style-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 0.5fr);
    gap:3rem 3rem;
  }


  .grid-style-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:0 3rem;
  }

  .grid-style-1 p,
  .grid-style-6 p,
  .grid-style-7 p {
    margin: 0;
  }

  .grid-style-1 p:first-of-type {
    margin-bottom: 3rem;
  }

  .grid-style-7 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    align-items: center;
  }

  .grid-style-7 div:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .grid-style-71 {
    margin-top: -10rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 3rem;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
  }

  .grid-style-8 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:0 3rem;
  }

  .grid-style-8 p{
    padding-top: 2em;
  }

  .grid-style-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 3rem;
    align-items: center;
  }

  .grid-style-6 div:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .grid-style-61 {
    margin-top: -10rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 3rem;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
  }

  .md-paragraph {
    padding-bottom: 3rem;
  }
    
  .contact-section {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .tablet-section {
    margin-top: 7rem;
    margin-bottom: 7rem;
  }

  .tablet-section:last-of-type{
    margin-top: -17rem;
    margin-bottom: -9rem;
  }

  .created {
    padding: 1.5rem;
  }
}

/* Large desktop */
@media screen and (min-width: 64em) { 
  html {
    font-size: 75%
  }

  .hero-section-heading {
    font-size: 5rem;
  }

  .img-slider {
    height: 20%;
  }

  .tablet-section {
    margin-top: 10rem;
    margin-bottom: 10rem;
  }

  .tablet-section:last-of-type{
    margin-top: -22rem;
    margin-bottom: -10rem;
  }

  .created {
    padding: 2rem;
  }

  .main {
    margin: 8rem;
  }

  .section-heading {
    margin-bottom: 5rem;
  }
}

@media screen and (min-width: 75em) {
  .large-container {
    max-width: 960px;
    margin: 0 auto;
  }

  html {
    font-size: 80%
  }

  .hero-section-heading { 
    font-size: 6rem;
  }

  .contact-section {
    width: 700px;
    margin: 0 auto;
  }

  .section-heading {
    margin-bottom: 7rem;
  }

  .md-paragraph {
    padding-bottom: 5rem;
  }

  .p-large {
    margin-bottom: 5rem !important;
  }

  .header {
    padding-right: 10rem;
    padding-left: 10rem;
  }
}

@media screen and (min-width: 90em) { 
  .large-container {
    max-width: 1400px;
    margin: 0 auto;
  }
}