* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: sans-serif;
  font-weight: 400;
  line-height: 1;
  color: #555;

  overflow-x: hidden;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(168, 218, 220, 0.97);
  padding: 0 4.8rem;
  height: 11.6rem;

  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
}

.logo-head {
  width: 15.6rem;
}

.nav-bar {
  display: flex;
  gap: 4.8rem;
}

.nav-bar-link {
  display: inline-block;
  font-size: 1.8rem;
  color: #555;
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.8px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

a {
  text-decoration: none;
}

.nav-bar-link:hover {
  color: #172a46;
  border-bottom: 1px solid currentColor;
}

.section {
  padding: 9.6rem 9.6rem;
  background-color: #a8dadc;
}

.container-metode {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-top: 5.6rem;
}

.heading-pro {
  font-size: 7.2rem;
  padding-bottom: 4rem;
}

.heading {
  font-size: 5.2rem;
}

.text-metode {
  font-size: 2rem;
  line-height: 2.6rem;
}

.metode-img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.martemeoimg {
  width: 20%;
}

/* Reedukacija prisomotorike */

.section-RP {
  background-color: #344968;
  color: #fff;
}

.list {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-top: -3rem;
}

.RE-img {
  width: 20%;
  height: auto;
}

/* Senzorna integracija */

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.img {
  transition: all 0.3s;
}

.img:hover {
  transform: scale(1.05);
}

/* SECTION CONTACT */

.container {
  max-width: 120rem;
  padding: 2rem 3.2rem;
  margin: 0 auto;
}

.heading-secondary {
  font-size: 4.4rem;
}

.section-contact {
  padding: 9.6rem 9.6rem;
  background-color: #a8dadc;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #dcf0f1;
  width: 100%;
  height: 60rem;
  border-radius: 2rem;
  padding: 3.6rem 3.6rem;
  font-size: 1.8rem;
  margin-top: 4.8rem;
  column-gap: 3.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-form input,
.pitanje,
.send {
  width: 100%;
  padding: 1rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  outline: none;
}

.mail-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pitanje {
  height: 10rem;
}

.polje {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.send {
  cursor: pointer;
  background-color: #344968;
  color: #fff;
}

.send:hover {
  background-color: #172a46;
}

.contact-img {
  background-image: url(img/contact/contactus.avif);
  background-size: cover;
  border-radius: 1rem;
}

.error-message {
  color: red;
  font-size: 1.5rem;
  visibility: hidden;
  transition: opacity 0.3s ease;
  height: 1.5rem;
}

/* FOOTER */

.footer {
  padding: 12.8rem 0 2rem 0;
  border-top: 1px solid rgb(204, 204, 204);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 3fr;
  column-gap: 6.4rem;
}

.first-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logofb {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.titula {
  font-size: 1.4rem;
  line-height: 1.4;
}

.ime {
  font-size: 1.9rem;
}

.logo-footer {
  width: 21.6rem;
  margin-top: -4rem;
}

.footer-logofb a {
  color: inherit;
}

.logo {
  height: 2.4rem;
  width: 2.4rem;
}

.copy-and-design {
  text-align: center;
  margin-top: 10rem;
}

.copyright {
  font-size: 1.4rem;
}

.design {
  font-size: 1.2rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.grid-2-cols-contact {
  display: grid;
  grid-template-columns: 10fr 90fr;
  align-items: center;
  column-gap: 1.2rem;
  row-gap: 1.6rem;
}

.contact-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  font-size: 1.6rem;
}

.location {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.container-map {
  width: auto;
  height: 30rem;
}

/* REVEALING SECTIONS */

.reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 2s ease;
}

.reveal.active {
  transform: translateY(0px);
  opacity: 1;
}

/* MOBILE NAVIGATION */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* LOADER */

.modal {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
  height: 60%;
  display: none;
  background: rgba(36, 52, 94, 0.893);
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 2rem;
}

.modal-content {
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-message {
  font-size: 2.4rem;
  color: #a8dadc;
}

.loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: inset(-45px);
  box-shadow: -60px 15px, -60px 15px, -60px 15px;
  transform: translateY(-15px);
  animation: l19 1s infinite linear;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

@keyframes l19 {
  16.67% {
    box-shadow: -60px 15px, -60px 15px, 19px 15px;
  }
  33.33% {
    box-shadow: -60px 15px, 0px 15px, 19px 15px;
  }
  40%,
  60% {
    box-shadow: -19px 15px, 0px 15px, 19px 15px;
  }
  66.67% {
    box-shadow: -19px 15px, 0px 15px, 60px 15px;
  }
  83.33% {
    box-shadow: -19px 15px, 60px 15px, 60px 15px;
  }
  100% {
    box-shadow: 60px 15px, 60px 15px, 60px 15px;
  }
}
