/* GENERAL */

html {
  scroll-padding-top: 70px; /* height of your sticky header */
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat";
  background-color: white;
  margin: 0;
}

* {
  box-sizing: border-box;
}

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

/*LOADER*/

.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #242f3f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* HEADINGS */

h1 {
  font-size: 45px;
  color: white;
}

h2 {
  font-size: 30px;
  font-weight: normal;
  color: white;
}

h3 {
  color: #06215c;
  font-size: 22px;
  font-weight: normal;
}

h4 {
  color: white;
  font-size: 22px;
  font-weight: bold;
}

p {
  line-height: 1.5;
  letter-spacing: 0.6;
  font-size: 14px;
}

/*BUTTONS*/

.button {
  background-color: white;
  font-size: 14px;
  font-weight: bold;
  color: #082c7c;
  padding: 8px 50px;
  border: 3px solid white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button:hover {
  background-color: transparent;
  color: white;
  transition: all ease-in-out 350ms;
}

.button2 {
  background-color: white;
  font-size: 12px;
  font-weight: bold;
  color: #082c7c;
  border: 3px solid white;
  padding: 4px 38px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button2:hover {
  background-color: transparent;
  color: white;
  transition: all ease-in-out 350ms;
}

/*NAVIGATION*/

nav {
  width: 100%;
  transition: top 0.5s;
  background-color: white;
  display: flex;
  position: fixed;
  z-index: 9997;
  -webkit-box-shadow: 0 8px 6px -10px #004d79;
  -moz-box-shadow: 0 8px 6px -10px #004d79;
  box-shadow: 0 8px 6px -10px #004d79;
}

.logo {
  padding: 2px 0px 2px 180px;
}
.logo img {
  height: 100%;
  max-height: 50px;
  position: relative;
}

/*Styling Links*/
.nav-links {
  display: flex;
  list-style: none;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  padding-left: 400px;
  padding-right: 50px;
}
.navbar-link {
  text-decoration: none;
  color: #06215c;
  font-size: 16px;
}

.navbar-link:hover {
  color: #082c7c;
  transition: all ease-in-out 300ms;
}

.nav-links li {
  position: relative;
}

/*Styling Hamburger Icon*/
.hamburger div {
  width: 40px;
  height: 3px;
  background: #06215c;
  margin: 5px 7px 7px 7px;
  transition: all 0.3s ease;
  position: relative;
  top: 25%;
  vertical-align: center;
}

.hamburger {
  display: none;
}

.sticky {
  position: fixed;
  top: 70px;
  width: 100%;
  z-index: 9998;
}

/*Animating Hamburger Icon on Click*/
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 10px);
}
.toggle .line2 {
  transition: all 0.7s ease;
  width: 0;
  background: white;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -10px);
}

/* HEADER */

.header-container {
  position: relative;
  color: white;
}

.header-h1 {
  padding-bottom: 10px;
}

.header-container-text {
  position: absolute;
  text-align: center;
  padding: 0px 250px;
  top: 15%;
}

.header-paragraph {
  color: white;
  font-size: 16px;
  padding: 0px 100px;
}

.header-paragraph-second {
  color: white;
  padding: 0px 100px 35px 100px;
  font-size: 16px;
}

.contact {
  padding-bottom: 10px;
}

.header-h1 {
  opacity: 0;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-duration: 3.2s;
  animation-delay: 0.1s;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header-paragraph {
  opacity: 0;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-duration: 3.2s;
  animation-delay: 0.9s;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header-paragraph-second {
  opacity: 0;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-duration: 3.2s;
  animation-delay: 0.9s;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header-container-button {
  opacity: 0;
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-duration: 3.2s;
  animation-delay: 2s;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* MAIN */

.ginop {
  width: 250px;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
}

.column-about {
  float: left;
  width: 100%;
  padding: 150px 240px 150px 240px;
  text-align: center;
  position: relative;
}

.column-about::after {
  content: "";
  background-image: url("https://forgacsbalint.hu/assets/img/innomask-favicon-v2.png");
  background-repeat: no-repeat;
  background-size: 480px 480px;
  background-position: -70px 70px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.1;
  z-index: -1;
}

.about-us-card {
  box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: left;
  background-color: white;
}

.feedback-card {
  margin: 0px 70px 0px 70px;
}

.feedback {
  padding: 30px;
}

.about-us-card-inner-column {
  float: left;
  width: 100%;
  padding: 70px;
}

.about-us-card-inner-column-error {
  float: left;
  width: 50%;
  padding: 0px;
  text-align: center;
}

.feedback-error {
  padding: 0px;
}

.about-text {
  text-align: justify;
}

.img-container {
  max-width: 400px;
  margin: auto;
}

.column-about h2 {
  color: #808080;
  padding-bottom: 10px;
}

.column-about p {
  color: #808080;
}

.ginop-img {
  max-width: 100%;
  max-height: 100%;
}

.contact-map-img {
  max-width: 80%;
  max-height: 80%;
}

.about-us-card-inner-img {
  max-width: 100%;
  max-height: 100%;
}

.column-highlight {
  float: left;
  width: 100%;
  padding: 60px 350px 60px 350px;
  background-color: #082c7c;
  text-align: center;
}

.column-highlight h2 {
  padding-bottom: 35px;
}

.column-highlight p {
  color: white;
}

.what-we-do {
  margin: 0px;
  position: relative;
}

.what-we-do::after {
  content: "";
  background-image: url("https://forgacsbalint.hu/assets/img/innomask-background.png");
  background-repeat: no-repeat;
  background-size: 948px 473px;
  background-position: center 0px;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.1;
  z-index: -1;
}

.column-do {
  float: left;
  width: 100%;
  padding: 60px 480px 60px 480px;
  text-align: center;
}

.column-do h2 {
  color: #666666;
}

.column-do p {
  color: #666666;
  font-weight: bold;
  padding: 0px 20px 0px 20px;
  text-align: center;
}

.do-service {
  margin: 0px 150px 100px 150px;
}

.column-service {
  float: left;
  width: 33.3%;
  padding: 0px 25px;
  text-align: center;
}

.card {
  box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.2);
  padding: 20px 18px;
  text-align: center;
  background-color: white;
  transition: transform 0.5s ease;
}

.card:hover {
  -ms-transform: scale(1.09); /* IE 9 */
  -webkit-transform: scale(1.09); /* Safari 3-8 */
  transform: scale(1.09);
}

.flex-card img {
  width: 25%;
  height: auto;
}

.service-icon {
  width: 10%;
}

.flex-card p {
  color: #808080;
  padding: 0px;
  text-align: center;
}

.offer-paragraph {
  padding-bottom: 25px;
}

.about-us-img {
  width: 10%;
}

/*CONTACT*/

.column-contact {
  float: left;
  width: 100%;
  padding: 60px 480px 0px 480px;
  text-align: center;
}

.column-contact h2 {
  color: #06215c;
}

.contact-map {
  padding: 10px 180px;
}

.column-header-aloldal h2 {
  color: 06215c;
}

/* Create two equal columns that floats next to each other */
.column-works-right {
  float: left;
  width: 50%;
  padding: 30px 10px 60px 10px;
  text-align: center;
}

.column-works-left-inner {
  float: left;
  width: 100%;
}

.column-works-left {
  float: left;
  width: 50%;
  padding: 30px 60px 10px 10px;
  text-align: center;
}

.column-works-left p {
  color: #666666;
  font-weight: bold;
  padding: 0px 0px 40px 0px;
}

.column-project {
  float: left;
  width: 50%;
  padding: 10px 10px;
}

.card-project {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 16px;
  text-align: center;
  background-color: #1f1f1f;
}

.container {
  position: relative;
}

.ajanlatkeres-form {
  max-width: 350px;
  margin: 0px auto;
  padding: 0px;
}

.feedback-input {
  color: black;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 12px;
  line-height: 20px;
  background-color: transparent;
  border: 1px solid gray;
  transition: all 0.3s;
  padding: 10px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

@-webkit-keyframes autofill {
  0%,
  100% {
    color: black;
    background: transparent;
  }
}

input:-webkit-autofill {
  -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

.contactbutton {
  width: 30%;
  background: #06215c;
  cursor: pointer;
  color: white;
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
  transition: all 0.3s;
  margin-top: -4px;
  font-weight: 400;
  border: 3px solid #06215c;
}

.contactbutton:hover {
  color: #06215c;
  background: transparent;
}

.column-socials {
  float: left;
  width: 100%;
  padding: 50px 0px;
  text-align: center;
}

.socials a {
  padding-right: 100px;
  padding-left: 0px;
}

.socials a:last-child {
  padding-right: 0px;
}

.socials a:link {
  color: #06215c;
}

.socials a:hover {
  color: #808080;
}

.socials a:visited {
  color: #06215c;
}
.socials a:visited:hover {
  color: #808080;
}

/*FOOTER*/

footer {
  background-color: #666666;
}

.column-footer {
  float: left;
  width: 30%;
  padding: 30px;
  margin: 10px;
  color: white;
}

.column-footer p {
  font-size: 12px;
  font-weight: bold;
  padding-bottom: 8px;
}

.column-footer-link {
  float: left;
  width: 33.3%;
}

.footer-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-bottom: 20px;
}

.footer-links li {
  margin: 5px 0;
  font-size: 16px;
}

.footer-links li a {
  text-decoration: none;
}

.footer-links li a:link {
  color: white;
}

.footer-links li a:hover {
  color: #082c7c;
}

.footer-links li a:visited {
  color: white;
}
.footer-links li a:visited:hover {
  color: #082c7c;
}

.fab {
  padding-right: 6px;
  padding-left: 0px;
}

.column-footer p {
  font-size: 12px;
  font-weight: bold;
}

.column-copyright {
  float: left;
  width: 100%;
  background-color: #808080;
  padding: 12px;
}

.copyright-content {
  display: inline;
  margin: 0;
  font-weight: bold;
}

.rights {
  float: left;
  padding: 8px 8px 8px 15px;
}

.documents {
  float: right;
  padding: 8px 15px 8px 8px;
}

.column-copyright p {
  font-size: 12px;
  color: #666666;
}

.column-copyright a {
  font-size: 12px;
  color: #666666;
  text-decoration: none;
}

.column-copyright a:link {
  color: #666666;
}

.column-copyright a:hover {
  color: #082c7c;
}

.column-copyright a:visited {
  color: #666666;
}
.column-copyright a:visited:hover {
  color: #082c7c;
}

.feedback {
  text-align: center;
  padding: 30px;
}

.feedback-message {
  font-size: 22px;
  color: #808080;
  font-weight: bold;
}

.buttons-koszonjuk {
  padding-top: 40px;
}

.button-back {
  background: #06215c;
  cursor: pointer;
  color: white;
  font-size: 14px;
  padding: 12px 24px;
  font-weight: 400;
  border: 3px solid #06215c;
  text-decoration: none;
}

.button-back:hover {
  color: #06215c;
  background: transparent;
  transition: all ease-in-out 350ms;
}

.column-about-feedback {
  float: left;
  width: 100%;
  padding: 150px 240px 150px 240px;
  background-color: white;
  text-align: center;
}

#website {
  display: none;
}

.img-loader {
  width: 6%;
  min-width: 70px;
  height: auto;
  opacity: 1;
  animation-name: animation-loader;
  animation-duration: 1.3s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-play-state: running;
  animation-delay: 0.4s;

  -webkit-animation-name: animation-loader;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-direction: alternate;
  -webkit-animation-iteration-count: 2;
  -webkit-animation-play-state: running;
  -webkit-animation-delay: 0.4s;

  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -45px; /* Half the height */
  margin-left: -45px; /* Half the width */
  -webkit-filter: drop-shadow(0px 5px 5px #a8a8a8);
  filter: drop-shadow(0px 5px 5px #a8a8a8);
}

@keyframes animation-loader {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  90% {
    transform: scale(1.1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

.img-loader-text {
  width: 6%;
  min-width: 70px;
  height: auto;
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 35px; /* Half the height */
  margin-left: -45px; /* Half the width */
}

.flex-row {
  display: flex;
  width: 100%;
  flex-direction: row;
}

.flex-row-1 {
  display: flex;
  width: 100%;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
  flex-direction: row;
}

.flex-card {
  flex: 1;
  background: white;
  box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.2);
  padding: 20px 18px;
  text-align: center;
  transition: transform 0.5s ease;
  margin: 0px 25px;
}

.flex-card-1 {
  flex: 1;
  background: white;
  padding: 15px;
}

.flex-card:hover {
  -ms-transform: scale(1.09); /* IE 9 */
  -webkit-transform: scale(1.09); /* Safari 3-8 */
  transform: scale(1.09);
}
.header-video {
  margin: 30px auto 0;
  max-width: 960px;
  position: relative;
}

.hero-video-poster {
  cursor: pointer;
  background: url("../img/animacio-kezdokep.jpg") center / cover no-repeat;
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hero-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease;
}

.hero-video-poster:hover::after {
  background: rgba(0, 0, 0, 0.28);
}

.hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hero-video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

.hero-video-play::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #08235d;
}

.hero-video {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 12px;
}

/* HEADER - FIXED VERSION */

header {
  padding-top: 54px; /* fixed navbar miatt */
}

.header-container {
  position: relative;
  min-height: 960px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 90px;
  overflow: hidden;
  background-color: #06215c;
}

.header-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 33, 92, 0.58);
  z-index: 1;
}

.header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.header-container-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.header-h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  margin: 0 0 24px;
  padding-bottom: 0;
  color: #ffffff;
}

.header-paragraph,
.header-paragraph-second {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

.header-paragraph {
  margin-bottom: 16px;
}

.header-paragraph-second {
  margin-bottom: 36px;
}

/* VIDEO */

.header-video {
  width: 100%;
  max-width: 860px;
  margin: 36px auto 0;
  position: relative;
}

.hero-video-poster {
  cursor: pointer;
  background: url("../img/animacio-kezdokep.jpg") center / cover no-repeat;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease;
  z-index: 1;
}

.hero-video-poster:hover::after {
  background: rgba(0, 0, 0, 0.28);
}

.hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.hero-video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

.hero-video-play::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 25px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #08235d;
}

.hero-video {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* RESPONSIVE HEADER */

@media (max-width: 1024px) {
  .header-container {
    min-height: 880px;
    padding: 70px 22px 80px;
  }

  .header-video {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  header {
    padding-top: 54px;
  }

  .header-container {
    min-height: auto;
    padding: 70px 18px 70px;
  }

  .header-paragraph,
  .header-paragraph-second {
    font-size: 14px;
    line-height: 1.65;
  }

  .header-video {
    margin-top: 28px;
  }

  .hero-video-play {
    width: 64px;
    height: 64px;
  }

  .hero-video-play::before {
    left: 27px;
    top: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 54px 16px 56px;
  }

  .header-h1 {
    margin-bottom: 18px;
  }

  .header-paragraph-second {
    margin-bottom: 28px;
  }
}

/* TEAM SECTION */

.team-section {
  padding: 90px 160px 110px;
  background-color: #ffffff;
  position: relative;
}

.team-section::after {
  content: "";
  background-image: url("https://innomask.us/assets/img/innomask-header.jpg");
  background-repeat: no-repeat;
  background-position: center 40px;
  position: absolute;
  inset: 0;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  background-size: cover;
}

.team-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.team-heading h2 {
  color: #06215c;
  margin-bottom: 16px;
}

.team-heading p {
  color: #666666;
  font-size: 15px;
}

.team-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 34px;
  justify-content: center;
  align-items: stretch;
}

.team-card {
  flex: 1;
  max-width: 360px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  padding: 30px 24px 28px;
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.team-img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 22px;
}

.team-card h3 {
  color: #06215c;
  font-size: 22px;
  margin: 0 0 14px;
}

.team-card p {
  color: #808080;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.team-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-links a {
  color: #082c7c;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.team-links a:hover {
  color: #666666;
}
.team-position {
  display: block;
  color: #082c7c;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 16px;
}
.text-link {
  color: white;
}
