html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000630;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 110;
  transition: opacity 0.5s;
}

.mouse-scroll {
  background-color: #000630;
  border-radius: 30px;
  box-shadow: 0 0 20px 20px #000630;
}

.m-scroll-arrows {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.mouse {
  border: 2px solid #fff;
}

.wheel {
  background: #fff;
  border: 2px solid #fff;
}

@font-face {
  font-family: indivisible-regular;
  src: url("../fonts/Indivisible-Regular.woff2") format("woff2");
}

@font-face {
  font-family: indivisible-semibold;
  src: url("../fonts/Indivisible-SemiBold.woff2") format("woff2");
}

.indivisible-regular {
  font-family: indivisible-regular, Fallback, sans-serif;
}

h1.sekcja {
  font-family: indivisible-regular, Fallback, sans-serif;
}

h1.bold {
  font-family: indivisible-semibold, Fallback, sans-serif;
}

.mask-custom {
  backdrop-filter: blur(8px);
  background-color: rgba(0 0 0 / 40%);
}

.navbar {
  background-color: #000630;
  font-size: 20px;
}

.contact-card {
  border: 1px solid #000630;
  min-width: 300px !important;
  min-height: 150px !important;
  cursor: pointer;
}

.contact-card a,
.contact-card .fas {
  color: #757575 !important;
  transition: all 0.2s ease-in;
}

.contact-card:hover a,
.contact-card:hover .fas {
  color: #66b0f4 !important;
}

.inline-link {
  color: #000630;
}

.inline-link:hover {
  color: #66b0f4;
}

.nowrap {
  white-space: nowrap;
}

.form-range::-webkit-slider-thumb {
  background-color: #137b56 !important;
}

.form-range::-moz-range-thumb {
  background-color: #137b56 !important;
}

.form-range::-ms-thumb {
  background-color: #137b56 !important;
}

.range {
  --mdb-range-thumb-height: 46px;
  --mdb-range-thumb-width: 46px;
  --mdb-range-thumb-top: -52px;
  --mdb-range-thumb-margin-left: -24px;
  --mdb-range-thumb-border-radius: 50% 50% 50% 0;
  --mdb-range-thumb-transform: scale(0);
  --mdb-range-thumb-transition: transform 0.2s ease-in-out;
  --mdb-range-thumb-value-font-size: 15px;
  --mdb-range-thumb-value-line-height: 46px;
  --mdb-range-thumb-value-color: #fff;
  --mdb-range-thumb-value-font-weight: 500;
  --mdb-range-thumb-background: #137b56 !important;
}

.header-menu {
  opacity: 0;
  transition: opacity 0.7s;
  z-index: 101;
}

.prevent-select {
  user-select: none;
}

/* .navbar * {
  color: #b700ff !important;
} */

.nav-link:hover {
  color: #66b0f4 !important;
}

.nav-item .active {
  color: #ffc83e !important;
}

.text-gold {
  color: #fff !important;
}

.menu-button {
  color: #fff !important;
}

.menu-button:hover {
  color: #ffc83e !important;
}

.bg-image.parallax {
  background-image: url("../images/background5.jpg");
  height: 100vh;
}

.bg-image.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* siatka kropek */
  background-image: radial-gradient(circle, #000630 1px, transparent 3px);
  background-size: 7px 7px; /* odległość między kropkami */
}

.cursor-pointer {
  cursor: pointer;
}

.btn-custom {
  background-color: #000630 !important;
}

.text-specific {
  color: #66b0f4;
}

.logo-container {
  position: absolute;
  height: 550px;
  width: 350px;
  margin: 0;

  /* top: 50%; */
  top: calc(50% + 50px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

img {
  /* filter: drop-shadow(0 0 14px white); */
  z-index: 998;
  position: relative;
}

.logo-picture-shine::before {
  content: "";
  z-index: 10;
  position: absolute;
  height: 130%;
  width: 130%;
  top: 100%;
  left: -90%;
  background: linear-gradient(
    transparent 0%,
    rgba(255 255 255 / 20%) 45%,
    rgba(255 255 255 / 50%) 50%,
    rgba(255 255 255 / 20%) 55%,
    transparent 100%
  );
  transition: all 2s;
  transform: rotate(45deg);
  animation: shine 2s infinite forwards;
}

@keyframes shine {
  0% {
    top: 50%;
    left: -100%;
  }

  100% {
    left: 90%;
    top: -90%;
  }
}

/* @keyframes shine {
  0% {
    transform: translate(-100%, 100%) rotate(45deg);
  }
  100% {
    transform: translate(100%, -100%) rotate(45deg);
  }
} */

.logo-picture-shine {
  overflow: hidden;
  position: fixed;
  height: 350px;
  width: 350px;
  margin: 0;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  mask-repeat: no-repeat;
  mask-size: cover;
  z-index: 999;

  /* Base64 string for avoiding CORS issues */
  mask-image: url("../img/logo/logo_nazwa_kolko_bez_tla.png");
}

.logo-picture {
  overflow: hidden;
  position: fixed;
  height: 350px;
  width: 350px;
  margin: 0;
  top: 0;
  z-index: 100;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: opacity 0.4s;
  background: url("../img/logo/logo_nazwa.png") no-repeat;
  background-size: 100%;
  background-color: transparent;
  border-radius: 50%; /* okrągłe logo */
  box-shadow: inset 0 0 30px #0248b1, 0 0 70px #000630; /* cień wewnątrz i delikatny na zewnątrz */

  /* box-shadow: inset 0 0 50px #000630; */
}

@media (max-width: 1000px) {
  .logo-container {
    position: absolute;
    height: 400px;
    width: 250px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
  }

  .logo-picture {
    height: 250px;
    width: 250px;
  }

  .logo-picture-shine {
    height: 250px;
    width: 250px;
  }
}

@media (max-height: 530px) {
  .logo-container {
    top: 310px; /* Provide a minimum top margin for small heights */
  }
}

.nav-pills .nav-link.active {
  background-color: #137b56;
  color: #fff;
  font-size: 20px;
}

.nav-pills .nav-link {
  background-color: #fff;
  font-size: 20px;
}

.nav-pills .menu-tabs:hover {
  color: #fff !important;
  background-color: #137b56;
  font-size: 20px;
}

.menu-panel-dnia {
  width: 800px;
}

.contact-link {
  color: #757575 !important;
}

.contact-link:hover {
  color: #e0ac00 !important;
}

.carousel-control-prev-icon {
  position: absolute;
  bottom: -40px;
  left: 20px;
}

.carousel-control-next-icon {
  position: absolute;
  bottom: -40px;
  right: 20px;
}

.carousel-control:hover::before {
  color: red !important;
}

.carousel-control:hover::after {
  color: red !important;
}

.testimonial-carousel .carousel-control {
  opacity: unset;
}

.accordion {
  --mdb-accordion-active-color: #137b56;
  --mdb-accordion-btn-focus-border-color: #137b56;
  --mdb-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23137b56'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.map-overlay {
  background: transparent;
  position: relative;
  width: 100%;
  height: 550px;
  top: 550px;
  margin-top: -550px;
}

.map-overlay-text {
  background: #137b56;
  padding: 10px;
  border-radius: 10px;
  opacity: 1;
  display: inline-block;
  position: relative;
  text-align: center;
  height: auto;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  color: #fff;
  font-size: 16px;
}

.zosia-picture {
  background: url("../img/pic1.png") no-repeat;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
}

.panel-picture {
  background: url("../img/panel-klienta-small.png") no-repeat;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
}

.zosia-picture-wrapper {
  width: 350px;
  height: 350px;
}

.panel-picture-wrapper {
  width: 350px;
  height: 245px;
}

.modal-send-mail-spinner {
  color: #137b56;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(
    255 255 255 / 80%
  ); /* Optional: Adds a semi-transparent background */
  
  z-index: 1050; /* Make sure the spinner is above other elements */
}

/* .steps-head-vertical {
  --mdb-steps-head-vertical-padding-top: 10px !important;
} */

.stepper-head-icon {
  background-color: #e4f2ff !important;
  color: #000630 !important;
  font-size: 18px !important;
  transition: background-color 0.4s ease, color 0.4s ease; /* <--- tu magia */
}

.stepper-completed .stepper-head-icon {
  background-color: #e4f2ff !important;
  color: #000630 !important;
}

.stepper-active .stepper-head-icon {
  background-color: #66b0f4 !important;
  color: #000630 !important;
}
