/* Fade-in for Rolunk logo and text */
.rolunk-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.rolunk-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive map for Kapcsolat page */
.kapcsolat-center iframe {
  max-width: 98vw;
  width: 600px;
  height: 450px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  margin-top: 40px;
  margin-bottom: 70px;
}

@media (max-width: 900px) {
  .kapcsolat-center iframe {
    width: 98vw;
    height: 320px;
    min-width: 0;
    max-width: 99vw;
  }
}
/* Fade-in animation for Kapcsolat page bubbles and map */
.kapcsolat-fadein {
  margin-left: 15px;
  margin-left: 40px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.kapcsolat-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.kapcsolat-center {
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}

.kapcsolat-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  width: 100%;
}

.kapcsolat-row iframe {
  flex: 1;
}

.kapcsolat-row .bgclr {
  flex: 1;
}

@media (max-width: 900px) {
  .kapcsolat-row {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.card.card-slideup {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.card.card-slideup {
  opacity: 1;
  transform: translateY(0);
}

.card .fa-solid {
  font-size: 3.2rem;
  display: block;
  margin: 24px auto 12px auto;
  color: #d4af37;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: none !important;
  margin-bottom: 10px;
  padding: 0 0 10px 0;
}

.card-body {
  width: 100%;
  text-align: center;
}

.row.row-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .row.row-cols-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card {
    width: 100%; /* full width of parent container */
    max-width: 74vw;
    margin: 0 auto 38px; /* center horizontally + bottom spacing */
    padding: 0 10px 10px 10px; /* optional padding inside card */
  }
}

.card .fa-solid {
  font-size: 3.2rem;
  display: block;
  margin: 24px auto 12px auto;
  color: #d4af37;
  text-align: center;
}

.card-body {
  width: 100%;
  text-align: center;
}

.row.row-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .row.row-cols-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card {
    width: 95vw !important;
    margin-bottom: 38px !important;
    padding: 0 0 10px 0;
  }
}

.kepek {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.kepek:hover {
  transform: scale(1.2) translateX(0);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
/* Termek Slide Animations */
.kepek {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  width: 360px !important;
  height: 360px !important;
  max-width: 100%;
  max-height: 400px;
}
.kepek.img-animate {
  opacity: 1;
  transform: translateX(0);
}

.kepek.img-animate.hover-enabled:hover,
.kepek.hover-enabled:hover {
  opacity: 1;
  transform: scale(1.15) translateX(0);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  z-index: 2;
}
.focim,
.szoveg2 {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.focim.text-animate,
.szoveg2.text-animate {
  opacity: 1;
  transform: translateX(0);
}
/* Team Card Slide Up*/
.our-team {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.our-team.card-animate {
  opacity: 1;
  transform: translateY(0);
}

.main-section {
  flex: 1;
}

/* Footer */
.footer-dark {
  margin-top: 60px;
  width: 100%;
}
body {
  background-color: #546a7b;
  padding-top: 60px;
}
/* Navbar */
.navbar {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  width: 100%;
  background: #222e36;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar-logo {
  height: 60px;
  margin-left: 18px;
  margin-right: 32px;
  object-fit: contain;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 60px;
}

@media (max-width: 768px) {
  .navbar ul.navbar-menu {
    display: block;
    height: auto;
    padding: 0;
  }
}

.navbar li {
  margin-left: 50px;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 8px 12px;
  border-radius: 4px;
}

.navbar a:hover {
  background: #31404d;
  color: #ffb347;
}

/* Hamburger menu */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  z-index: 1100;
}

.navbar-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(-4px);
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(4px);
}

@media (max-width: 768px) {
  .navbar-menu {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #222e36;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 0;
    margin: 0;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    opacity: 0;
  }

  .navbar-menu.active {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #31404d;
  }

  .navbar a {
    display: block;
    width: 100%;
    padding: 16px 24px;
    color: #fff;
    text-decoration: none;
  }

  .navbar-toggle {
    display: flex;
  }
}

/* Loader  */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(24, 23, 23);
  animation: fadeOut 2s forwards;
  z-index: 2000;
}

.loader img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.main-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  width: 100%;
  min-height: 300px;
  gap: 40px;
}

.main_image {
  width: 78%;
  max-width: 580px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.main-text {
  color: #fff;
  font-size: 1.35rem;
  max-width: 440px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .main-section {
    flex-direction: column;
    gap: 28px;
    margin-top: 100px;
  }
  .main_image {
    width: 80%;
    max-width: 260px;
  }
  .main-text {
    text-align: center;
    font-size: 1.1rem;
    max-width: 95vw;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.footer-dark {
  padding: 50px 0;
  color: #f0f9ff;
  background-color: #282d32;
}

.footer-dark h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 16px;
}

.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
}

.footer-dark ul a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
}

.footer-dark ul a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .footer-dark .item:not(.social) {
    text-align: center;
    padding-bottom: 20px;
  }
}

.footer-dark .item.text {
  margin-bottom: 36px;
}

@media (max-width: 767px) {
  .footer-dark .item.text {
    margin-bottom: 0;
  }
}

.footer-dark .item.text p {
  opacity: 0.6;
  margin-bottom: 0;
}

.footer-dark .item.social {
  text-align: center;
}

@media (max-width: 991px) {
  .footer-dark .item.social {
    text-align: center;
    margin-top: 20px;
  }
}

.footer-dark .item.social > a {
  font-size: 20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  margin: 0 8px;
  color: #fff;
  opacity: 0.75;
}

.footer-dark .item.social > a:hover {
  opacity: 0.9;
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  opacity: 0.3;
  font-size: 13px;
  margin-bottom: 0;
}

.our-team {
  padding: 30px 0 40px;
  margin-bottom: 5vh;
  top: 4vh;
  background-color: #f7f5ec;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.our-team .picture {
  display: inline-block;
  height: 130px;
  width: 130px;
  margin-bottom: 50px;
  z-index: 1;
  position: relative;
}

.our-team .picture::before {
  content: "";
  width: 100%;
  height: 0;
  border-radius: 50%;
  background-color: #546a7b;
  position: absolute;
  bottom: 135%;
  right: 0;
  left: 0;
  opacity: 0.9;
  transform: scale(3);
  transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
  height: 100%;
}

.our-team .picture::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #546a7b;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.our-team .picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.9s ease 0s;
}

.our-team:hover .picture img {
  box-shadow: 0 0 0 14px #f7f5ec;
  transform: scale(0.7);
}

.our-team .title {
  display: block;
  font-size: 15px;
  color: #4e5052;
  text-transform: capitalize;
}

.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #546a7b;
  position: absolute;
  bottom: -100px;
  left: 0;
  transition: all 0.5s ease 0s;
}

.our-team:hover .social {
  bottom: 0;
}

.our-team .social li {
  display: inline-block;
}

.our-team .social li a {
  display: block;
  padding: 10px;
  font-size: 17px;
  color: white;
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.our-team .social li a:hover {
  color: #1369ce;
  background-color: #f7f5ec;
}
.logo-side {
  position: relative;
  left: 40 px;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 500px;
  height: 500px;
  margin-top: 215px;
  background-color: #aeb3c2;
  border-radius: 500px;
  padding: 3%;
}
.text-side {
  padding: 3%;
  margin-top: 100px;
  background-color: #aeb3c2;
  border-radius: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  position: relative;
}
.szoveg1 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bolder;
  position: relative;
}

@media (max-width: 768px) {
  .szoveg1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .row {
    flex-direction: column;
  }

  .logo-side {
    position: static;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 25px auto 5px auto;
    display: block;
    border-radius: 50%;
  }
}
.kepek {
  margin-bottom: 30px;
  margin-top: 80px;
  border-radius: 3%;
}
.focim {
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px #000000;
}
.szoveg2 {
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px #000000;
}
.kapcs1 {
  justify-content: center;
  max-width: 700px;
  text-align: center;
  padding: 21px;
  margin-top: 60px;
  background-color: #aeb3c2;
  border-radius: 50px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .kapcs1 {
    width: 98vw;
    max-width: 100%;
    padding: 12px;
    margin-top: 24px;
    border-radius: 24px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .kapcs1 {
    font-size: 0.9rem;
    padding: 12px;
  }

  .kapcsolat-center-title {
    font-size: 1.2rem;
  }
}

.h11 {
  color: #000000;
  text-align: center;
}

h4 {
  font-family: "Roboto", sans-serif, "arial";
  font-weight: 400;
  font-size: 20px;
  color: black;
}

/* ///// inputs /////*/

input:focus ~ label,
textarea:focus ~ label,
input:valid ~ label,
textarea:valid ~ label {
  font-size: 0.75em;
  color: #999;
  top: -5px;
  -webkit-transition: all 0.225s ease;
  transition: all 0.225s ease;
}

.styled-input {
  float: left;
  width: 293px;
  margin: 1rem 0;
  position: relative;
  border-radius: 4px;
}

@media only screen and (max-width: 768px) {
  .styled-input {
    border-radius: 40px;
    width: 100%;
  }
}

.styled-input label {
  border-radius: 40px;
  color: #999;
  padding: 1.3rem 30px 1rem 30px;
  position: absolute;
  top: 10px;
  left: 0;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  pointer-events: none;
}

.styled-input.wide {
  border-radius: 40px;
  width: 650px;
  max-width: 100%;
}

input,
textarea {
  padding: 30px;
  border: 0;
  width: 80%;
  font-size: 1rem;
  background-color: #2d2d2d;
  color: white;
}
textarea {
  border-radius: 40px;
  padding: 30px;
  border: 0;
  width: 100%;
  font-size: 1rem;
  background-color: #2d2d2d;
  color: white;
}

textarea:focus {
  outline: 0;
}

.input-container {
  width: 650px;
  max-width: 100%;
  margin: 20px auto 25px auto;
}



.cimm {
  font-family: "Poppins", sans-serif, "arial";
  font-weight: 600;
  font-size: 42px;
  color: black;
  text-align: center;
}

input:focus,
textarea:focus {
  outline: 0;
}

input:focus ~ span,
textarea:focus ~ span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
}

textarea {
  width: 100%;
  min-height: 15em;
}

.input-container {
  width: 650px;
  max-width: 100%;
  margin: 20px auto 25px auto;
}


.submit-btn {
  padding: 7px 35px;
  justify-content: center;
  border-radius: 60px;
  display: inline-block;
  background-color: black;
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.06), 0 2px 10px 0 rgba(0, 0, 0, 0.07);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  opacity: 65%;
}

.submit-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .submit-btn {
    width: 100%;
    float: none;
    text-align: center;
  }
}

input[type="checkbox"] + label {
  color: #ccc;
  font-style: italic;
}

input[type="checkbox"]:checked + label {
  color: #f00;
  font-style: normal;
}

.bgclr {
  background-color: #aeb3c2;
  padding: 20px;
  border-radius: 60px;
  max-width: 100%;
  margin-right: 40px;
  margin-left: 15px;
  margin-top: 70px;
}

@media (max-width: 768px) {
  .bgclr {
    padding: 16px;
    margin-right: 90px;
    margin-left: 15px;
  }
}

h4 {
  font-family: "Roboto", sans-serif, "arial";
  font-weight: 400;
  font-size: 20px;
  color: #9b9b9b;
  line-height: 1.5;
}

/* ///// inputs /////*/

input:focus ~ label,
textarea:focus ~ label,
input:valid ~ label,
textarea:valid ~ label {
  font-size: 0.75em;
  color: #999;
  top: -5px;
  -webkit-transition: all 0.225s ease;
  transition: all 0.225s ease;
}

.styled-input {
  border-radius: 40px;
  float: left;
  width: 293px;
  margin: 1rem 0;
  position: relative;
  border-radius: 4px;
}

@media only screen and (max-width: 768px) {
  .styled-input {
    border-radius: 40px;
    width: 100%;
  }
}

.styled-input label {
  border-radius: 40px;
  color: #999;
  padding: 1.3rem 30px 1rem 30px;
  position: absolute;
  top: 10px;
  left: 0;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  pointer-events: none;
}

.styled-input.wide {
  border-radius: 40px;
  width: 650px;
  max-width: 100%;
}

.cime {
  padding-left: 150px;
  padding-right: 150px;
}
.cime2 {
  padding-left: 50px;
  padding-right: 50px;
}

input,
textarea {
  border-radius: 40px;
  padding: 30px;
  border: 0;
  width: 100%;
  font-size: 1rem;
  background-color: #2d2d2d;
  color: white;
  border-radius: 4px;
}

input:focus,
textarea:focus {
  outline: 0;
}

input:focus ~ span,
textarea:focus ~ span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
}

textarea {
  width: 100%;
  min-height: 15em;
}

.input-container {
  width: 650px;
  max-width: 100%;
  margin: 20px auto 25px auto;
}


.submit-btn {
  padding: 7px 35px;
  border-radius: 60px;
  display: inline-block;
  background-color: black;
  opacity: 70%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.06), 0 2px 10px 0 rgba(0, 0, 0, 0.07);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.submit-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .submit-btn {
    width: 100%;
    float: none;
    text-align: center;
  }
}

input[type="checkbox"] + label {
  color: #ccc;
  font-style: italic;
}

input[type="checkbox"]:checked + label {
  color: #f00;
  font-style: normal;
}

/* Flex row for form and map */
.kapcsolat-flex-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .kapcsolat-flex-row {
    flex-direction: column;
    gap: 24px;
  }
}

.kapcsolat-flex-half {
  flex: 1;
  min-width: 320px;
}

@media (max-width: 768px) {
  .kapcsolat-flex-half {
    width: 100%;
    padding: 0 16px;
  }
}

.kapcsolat-map {
  width: 100%;
  height: 650px;
  border: 0;
  min-width: 320px;
  margin-top: 110px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .kapcsolat-map {
    width: 80%;
    height: 300px;
  }
}

.kapcsolat-center-title {
  text-align: center;
  color: black;
  opacity: 50%;
}

@media (max-width: 576px) {
  .kapcsolat-center-title {
    font-size: 1.2rem;
  }
}

.styled-input.float-right {
  float: right;
}
