@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
}

root {
  display: block;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
  font-size: 100%;
}

body {
  zoom: initial;
  overflow-x: hidden;

  font-family: "Montserrat", sans-serif;
  background: var(--bs-white);
  color: var(--bs-dark);
  -webkit-text-size-adjust: 100%;
}

::-moz-selection {
  background: rgba(var(--bs-secondary-rgb), 0.4);
  text-shadow: none;
}

::selection {
  background: rgba(var(--bs-secondary-rgb), 0.4);
  text-shadow: none;
}

input::-webkit-input-placeholder {
  color: #ccc !important;
}
input:-moz-placeholder {
  color: #ccc !important;
}
input::-moz-placeholder {
  color: #ccc !important;
}
input:-ms-input-placeholder {
  color: #ccc !important;
}

img::selection {
  background: 0 0;
}

img::-moz-selection {
  background: 0 0;
}

a {
  color: var(--bs-secondary);
  text-decoration: none;
  outline-width: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--bs-success);
}

p {
  color: var(--bs-ws-color);
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}

.main-content {
  min-height: 65vh;
}

.container-fluid.ws-container {
  max-width: 100rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.ws-title {
  overflow: hidden;
  letter-spacing: 0.02em;
  text-align: left;
  font-weight: 900;
  position: relative;
  padding-bottom: 1rem;
}

.ws-title::after {
  content: "";
  display: block;
  width: 5rem;
  height: 2px;
  position: relative;
  bottom: -1rem;
  background: var(--bs-secondary);
  transition: width 0.3s ease-in-out;
}

.ws-title.ws-title-center {
  text-align: center !important;
}

.ws-title.ws-title-center::after {
  margin: 0 auto;
}

.ws-title > small {
  display: block;
  font-size: 30%;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: var(--bs-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ws-title > small.small-alt {
  font-size: 50%;
  text-transform: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: var(--bs-ws-color);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--bs-light);
}

.feature-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bs-secondary);
  flex-shrink: 0;
  margin-top: 7px;
}

ul.list-custom {
  list-style: none;
  padding: 0;
}

ul.list-custom > li {
  position: relative;
  padding: 0.5rem 0.2rem 0.5rem 1.75rem;
}

ul.list-custom > li:before {
  position: absolute;
  left: 0;
  top: 0.25em;
  font-family: "bootstrap-icons";
  content: "\F135";
  padding-right: 0.5rem;
  color: var(--bs-secondary);
  font-size: 1.2rem;
}

.article-ul ul {
  list-style: none;
  padding: 0;
}

.article-ul ul li {
}

.article-ul ul li::before {
  content: "\25CF";
  color: var(--bs-primary);
  display: inline-block;
  font-size: 0.9em;
  width: 1em;
}

.table {
  max-width: 30rem;
}

.table td {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.lighter {
  font-weight: 300;
  color: var(--bs-primary);
}

.article {
  max-width: 60rem;
  margin: 0 auto;
}

.article-img {
  display: block;
  max-width: 100%;
  border-radius: 0.25rem;
}

.article p {
  font-size: 1.2rem;
  text-align: justify;
  text-align-last: center;
}

.ws-img-responsive {
  display: block;
  width: 100%;
  max-width: 40rem;
  margin: 1rem auto;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section-light {
  background: var(--bs-light);
}

.section-dark {
  background: var(--bs-primary);
  color: var(--bs-white) !important;
}

.section-dark a {
  color: var(--bs-secondary);
}

.section-dark p {
  color: var(--bs-light) !important;
}

.bg-grad-dark {
  background: var(--bs-primary);
  background: linear-gradient(
    327deg,
    rgba(var(--bs-dark-rgb), 1) 0%,
    rgba(var(--bs-success-rgb), 1) 73%
  );
}

.bg-grad-blue {
  background: var(--bs-success);
  background: linear-gradient(
    327deg,
    rgba(var(--bs-success-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 1) 73%
  );
}

.ws-card {
  padding: 2rem;
  background: var(--bs-light);
  border-left: 3px solid var(--bs-secondary);
  /* box-shadow: 0 0 40px rgba(var(--bs-secondary-rgb), 0.1); */
}

.ws-card p {
  padding: 0;
  margin: 0;
}

.main-footer {
  padding: 1rem 0;
  background: var(--bs-dark);
  color: #fff;
}

.foo-content {
  color: var(--bs-white);
  height: 100%;
}

.foo-content p {
  font-size: 0.9rem;
  color: var(--bs-info);
  text-align: center;
  padding: 0;
  margin: 0;
}

.main-footer a {
  color: var(--bs-secondary);
}

.foo-links-section {
  padding: 2rem 0 1.5rem 0;
  background: var(--bs-primary);
}

.foo-links {
  list-style: none;
  text-align: center;
  padding: 0;
}

.foo-links li {
  display: inline-block;
  padding: 0.2rem 1rem;
}

.foo-links li > a {
  display: block;
  color: #fff;
  text-decoration: none;
  outline-width: 0;
}

.foo-links li > a:hover {
  color: #fff;
}

.foo-logo {
  height: 4rem;
  max-width: 100%;
  display: block;
  margin: 2rem auto;
}
.contact-datas-container {
  background: var(--bs-light);
}

.contacts-datas {
  display: block;
  width: 100%;
  background: var(--bs-light);
  height: 100%;
  position: relative;
  padding: 8rem 20%;
}

.contact-data a {
  font-weight: 600;
}

.map-title {
  text-align: left;
  padding: 2rem 0;
  background: var(--bs-primary);
  text-align: center;
}

.map-title h4 {
  color: var(--bs-secondary);
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.map-title p {
  color: var(--bs-info);
  padding: 0;
  margin: 0;
}
.map-canvas-container {
  position: relative;
}

#map-canvas {
  display: block;
  width: 100%;
  height: 45rem;
}

#map-content {
  padding: 0.5rem;
  color: var(--bs-dark) !important;
}

#map-content img {
  display: block;
  width: 18rem;
  max-width: 100%;
}

#map-dest {
  display: block;
  width: 100%;
  height: 50rem;
}

.get-direction {
  position: absolute;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  white-space: nowrap;
}

.ws-flex-row {
  display: -ms-flexbox !important;
  display: flex !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  margin: -0.25rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ws-flex-row > .ws-flex-item {
  display: block;
  width: 100%;
  height: 100%;
}

ul.ws-gallery {
  display: -ms-flexbox !important;
  display: flex !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  list-style: none;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 0 !important;
}

ul.ws-gallery > li.gallery-item {
  width: 50%;
  display: block;
  padding: 0.25rem;
  height: 12rem;
  overflow: hidden;
}

a.gallery-link {
  display: block;
  height: 100%;
  border: 2px solid var(--bs-success);
  text-align: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  position: relative;
  background: var(--bs-dark);
}
a.gallery-link > span {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.sample-gallery-cover {
  display: block;
  width: 100%;
  display: block;
  padding: 0.25rem;
}

.sample-gallery-cover > a > img {
  display: block;
  width: 100%;
}

ul.ws-gallery > li.gallery-item > a {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

ul.ws-gallery > li.gallery-item > a > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
ul.ws-gallery > li.gallery-item > a > img:hover {
  transform: scale(1.1);
}

.section-title {
  font-family: "Montserrat", sans-serif;
  position: relative;
  text-align: left;
  padding-left: 3rem;
  color: var(--bs-secondary);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 2rem;
  height: 1px;
  background-color: var(--bs-secondary);
}

.main-title {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  text-align: left;
  font-weight: 900;
  position: relative;
  font-size: 2.65rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0.25rem 0;
}

.service-list {
  text-align: center;
}

.sl-item {
  padding: 2rem 2rem 1rem 2rem;
  margin-bottom: 2rem;
  height: 100% !important;
}

.sl-img {
  display: block;
  margin: 2rem auto;
  height: 18rem;
  width: 18rem;
  border-radius: 12rem;
  object-fit: cover;
  border: 5px solid var(--bs-white);
}

.sl-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bs-primary);
  display: block;
  text-align: center;
}

.sl-info > p {
  text-align: justify;
  text-align-last: center;
}

.service-thumb {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 1rem;
}

a.service-thumb {
  color: var(--bs-secondary);
}

a.service-thumb:hover {
  color: var(--bs-secondary);
  border-radius: 0.25rem;
  box-shadow: 0px 0px 0px 6px rgba(var(--bs-secondary-rgb), 0.3);
}

.service-thumb > img {
  width: 3rem;
  height: 3rem;
  object-fit: scale-down;
}

.service-thumb > span {
  padding-left: 1.5rem;
}

.lead-text p {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  text-align: justify;
}

.parallax-container {
  display: block;
  width: 100%;
  max-height: 30rem;
  overflow: hidden;
  border-radius: 0.25rem;
}

.parallax-img {
  width: 100%;
  display: block;
}

.text-justify {
  text-align: justify;
}

.ap-cover > img {
  display: block;
  width: 100%;
}

.margin-flow {
  margin-right: -5rem;
  z-index: 99;
}

.member {
  margin-bottom: 3rem;
  padding: 3rem;
  background: var(--bs-white);
  box-shadow: 0 0 40px rgba(var(--bs-secondary-rgb), 0.1);
}

.member-img {
  width: 8rem;
  height: 8rem;
  border-radius: 8rem;
  object-fit: cover;
  margin-bottom: 1.5rem;
  background: var(--bs-secondary);
}

.member h3 > small {
  font-size: 70%;
  font-weight: 300;
}

.member a {
  color: var(--bs-secondary);
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

.member a:hover {
  color: var(--bs-success);
}

.stats-bar-container {
  background: var(--bs-dark);
  display: block;
  width: 100%;
}

.stat-item {
  width: 50%;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
  border-left: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
}

.stat-number {
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-number span {
  color: var(--bs-secondary);
}

.stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--bs-info-rgb), 0.9);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin-top: 4rem;
  border: 1.5px solid var(--border);
}

.product-card {
  background: var(--bs-white);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.card-badge {
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  width: 6rem;
  height: auto;
  z-index: 99;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bs-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.card-index {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  color: var(--bs-secondary);
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

.thumb-img {
  display: block;
  width: 6rem;
}

.card-intro {
  min-height: 9rem;
}

.card-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 0.06em;
  color: var(--bs-dark);
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--bs-ws-color);
}

.card-specs {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec {
  display: flex;
  justify-content: space-between;
  font-family: "Rajdhani", sans-serif;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--bs-ws-color-rgb), 0.1);
  color: var(--bs-ws-color);
}

.spec:last-child {
  border-bottom: none;
}

.spec strong {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 480px) {
  html {
    font-size: 80%;
  }
}

@media (min-width: 576px) {
  .cover-img-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .ws-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  ul.ws-gallery > li.gallery-item {
    width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .stat-item {
    width: 25%;
  }
  .page-title {
    padding: 2rem 1.5rem;
  }

  .social-icons {
    text-align: left;
    transition: all 0.5s ease;
  }

  ul.ws-gallery > li.gallery-item {
    width: 33.3333%;
    height: 20rem;
  }

  .sample-gallery-cover {
    display: inline-block;
    max-width: 30rem;
  }

  .sample-gallery-cover > a > img {
    display: block;
    width: 100%;
    height: 39.5rem;
    object-fit: cover;
  }

  .ws-flex-row > .ws-flex-item {
    width: 33.333%;
  }

  .section {
    padding: 6rem 0;
  }

  .section-pb {
    padding-bottom: 12rem;
  }

  .section-img > img {
    height: 16rem;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .ws-flex-row > .ws-flex-item {
    width: 25%;
  }
  .section-relative {
    height: 10rem;
    background: var(--bs-primary);
  }

  .section-relative > div {
    position: relative;
  }

  .home-intro {
    position: absolute;
    right: 2rem;
    bottom: -10rem;
    z-index: 99;
    background: #fff;
    border-radius: 0.3rem;
    padding: 2rem;
    width: 70%;
    max-width: 50rem;
    text-align: justify;
  }

  .foo-logo {
    max-width: 100%;
    display: block;
    margin: 0;
  }

  .foo-content {
    padding-left: 2rem;
    margin-left: 2rem;
    border-left: 2px solid var(--bs-secondary);
  }

  .foo-content p {
    text-align: left;
  }

  ul.ws-gallery.gallery-wide > li.gallery-item {
    width: 25%;
  }
}

@media (min-width: 1440px) {
  .ws-flex-row > .ws-flex-item {
    width: 20%;
  }

  .section {
    padding: 8rem 0;
  }

  .section-pb {
    padding-bottom: 16rem;
  }

  .section-img {
    bottom: -7rem;
  }

  .section-img > img {
    height: 24rem;
  }
  .service-img {
    height: 32rem;
  }
}

@media (min-width: 1600px) {
  ul.ws-gallery.gallery-wide > li.gallery-item {
    width: 20%;
  }

  .stat-item {
    padding: 1.5rem 2rem;
  }

  .stat-number {
    font-size: 2.4rem;
  }
}
/********* THEME ********/

.btn {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bg-grad-dark {
  background: var(--bs-primary);
  background: linear-gradient(
    327deg,
    rgba(var(--bs-dark-rgb), 1) 0%,
    rgba(var(--bs-success-rgb), 1) 73%
  );
}

.bg-grad-blue {
  background: var(--bs-success);
  background: linear-gradient(
    327deg,
    rgba(var(--bs-success-rgb), 1) 0%,
    rgba(var(--bs-primary-rgb), 1) 73%
  );
}

.ws-btn {
  display: inline-block;
  background: var(--bs-secondary);

  background: linear-gradient(
    327deg,
    rgba(var(--bs-dark-rgb), 1) 0%,
    rgba(var(--bs-success-rgb), 1) 50%,
    rgba(var(--bs-secondary-rgb), 1) 100%
  );
  background-size: 300% 100%; /* minél nagyobb, annál lassabb a mozgás */
  background-position: 0% 0;

  padding: 0.75rem 1.5rem;
  border: none;
  font-weight: 500;
  cursor: pointer;

  transition:
    background-position 1.2s ease,
    transform 0.3s ease,
    box-shadow 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: white !important;
  margin: 0.1rem 0.5rem 0.1rem 0;
  min-width: 10rem;
  text-align: center;
}

.ws-btn.btn-blue {
  background: var(--bs-success);
  background: linear-gradient(
    327deg,
    rgba(var(--bs-dark-rgb), 1) 0%,
    rgba(var(--bs-dark-rgb), 1) 50%,
    rgba(var(--bs-secondary-rgb), 1) 100%
  );
  background-size: 300% 100%; /* minél nagyobb, annál lassabb a mozgás */
  background-position: 0% 0;
}

.ws-btn:hover {
  color: var(--bs-info);
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(var(--bs-dark-rgb), 0.2); /* glow hatás success színből */
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

hr.divider {
  opacity: 0.75;
  height: 1px;
  display: block;
  width: 100%;
  margin: 2rem 0;
  border: none;
  border-bottom: 2px solid rgba(var(--bs-secondary-rgb), 0.5);
}

.modal-content {
  border: 3px solid rgba(var(--bs-primary-rgb), 0.2);
}

.modal-header {
  border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.2);
  border: none;
  padding-bottom: 0;
  padding: 2rem 2rem 0 2rem;
}

.modal-body {
  padding: 0 2rem 1rem 2rem;
}

.btn-close {
  --bs-btn-close-color: #fff;
}

.cert-grid {
  --size: clamp(60px, 13vmin, 90px); /* hexagon "átmérő" */
  --h: calc(var(--size) * 0.8); /* magasság ≈ size * √3/2 */
  --gap: calc(var(--size) * 0.08); /* kis hézag a hexek között */
  --offset: calc(var(--size) * 0.45 + var(--gap));

  display: grid;
  grid-template-columns: repeat(5, var(--size));
  grid-auto-rows: calc(var(--h) + var(--gap));
  gap: var(--gap) var(--gap);

  justify-content: center;
  padding: 1rem;
  max-width: 100%;
}

/* Első sor (1-5): ne toljuk */
.cert-grid > :nth-child(-n + 5) {
  transform: none;
}

/* Második sor (6-10): toljuk balra */
.cert-grid > :nth-child(n + 6):nth-child(-n + 10) {
  transform: translateX(var(--offset));
}

/* Harmadik sor (11-15): ne toljuk */
.cert-grid > :nth-child(n + 11):nth-child(-n + 15) {
  transform: none;
}

/* Negyedik sor (16-20): toljuk balra */
.cert-grid > :nth-child(n + 16):nth-child(-n + 20) {
  transform: translateX(var(--offset));
}

/* Ötödik sor (21-25): ne toljuk (ha lenne) */
.cert-grid > :nth-child(n + 21) {
  transform: none;
}

/* Reszponzív breakpoint-ek */

/* ------------------- Hexagon alap ------------------- */

.cert-cell {
  width: var(--size);
  height: calc(var(--size) * 1.1547); /* pointy-top teljes magasság */
  background: rgba(var(--bs-secondary-rgb), 0.1);
  color: rgb(var(--bs-secondary-rgb));

  display: grid;
  place-content: center;
  text-align: center;
  /* font-size: clamp(0.85rem, 2.2vw, 1rem); */
  font-weight: 500;
  line-height: 1.25;
  padding: 0.5em 0.4em;
  font-size: 0.65rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

  transition: all 0.18s ease;
}

.cert-cell:hover {
  transform: scale(1.07);
  z-index: 99;
  cursor: pointer;
}

/* Üres / segéd cellák – teljesen láthatatlanok */
.cert-cell.empty {
  background: transparent;
  border: none;
  pointer-events: none;
  visibility: hidden; /* vagy opacity:0; */
}

/* Kiemelések – a te osztályaid */
.cert-cell.active {
  background: rgba(var(--bs-secondary-rgb), 1);
  color: var(--bs-white);
  font-weight: 600;
}

.cert-cell.accent-cell {
  background: rgba(var(--bs-primary-rgb), 0.85);
  color: var(--bs-white);
  font-weight: 600;
}

.cert-cell.accent-cell:empty {
  background: transparent;
  pointer-events: none;
}
