body {
  background-color: white;
  font-family: 'Poppins', 'Open Sans', 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

a.href-text {
  color:#003264;
  text-decoration: none;
}

/* MENU GŁÓWNE */
.main-header {
  /* height: 100px; */
  border-bottom: 0px solid #e5eaef !important;
  /* background-color: #f2f5f7; */
  background-color: #bebe00;
  width: 100%;
  display: flex;
  align-items: center;
}

.logo-top {
  max-height: 75px;
  /* padding: 10px 0; */
}

.site-title {
  text-transform: uppercase;
  font-size: 1.75rem;
  /* color: #003264; */
  color: black;
  font-weight: 500;
}

.main-nav .nav-link {
  /* color: #404040; */
  font-family: Poppins;
  color: black;
  font-weight: 500;
  margin-left: 20px;
  text-decoration: none;
  position: relative;
}

.main-nav .nav-link:first-child {
  margin-left: 0;
}

.main-nav .nav-link:last-child {
  margin-left: 40px;
}

.main-nav .nav-link:hover {
  /* color: #003264; */
  color: black;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  /* background-color: #003264; */
  background-color: black;
  transition: width 0.3s ease;
}

.main-nav .nav-link:hover::after {
  width: 100%;
}

.icon-external {
  position: relative;
  top: -1px;
}

/* SEKCJA HERO - BANER GŁÓWNY */

.hero-section {
  background-color: #f2f5f7;
  /*background-image: linear-gradient(135deg, #f2f5f7 0%, #00326415 100%);*/
  padding: 80px 0px;
}

.hero-section p {
  font-size: 1.125rem;
  line-height: 1.5em;
  /* color: #404040; */
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  /* color: #003264; */
  /* color: #404040; */
  color: #202020;
  line-height: 1.2;
}

.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  align-self: stretch;
  /* dopasowanie wysokości do kolumny tekstowej */
  transition: transform 0.1s ease-out;
  will-change: transform;
}

@media (max-width: 991.98px) {
  .hero-image {
    width: 95%;
    margin: 40px auto;
  }
}

/* SEKCJA ZAGROŻENIA */

.features-section {
  background-color: white;
  padding: 80px 0;
}

.features-section .row {
  align-items: stretch;
}

.section-title {
  font-size: 2rem;
  color: #404040;
  font-weight: 600;
}

.feature-item {
  background-color: white;
  padding: 36px 12px;
  border: 1px solid #e5eaef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: left;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  /*box-shadow: 0 0 16px rgba(0, 0, 0, 0.1); */
  border: 1px solid #e43836;
}

.feature-icon {
  flex: 0 0 20%;
  max-width: 20%;
  text-align: center;
}

.feature-icon img {
  max-width: 60px;
  height: auto;
}

.feature-text {
  flex: 1;
  padding-left: 8px;
}

.feature-text h3 {
  font-size: 1.25rem;
  line-height: 1.5em;
  font-weight: 500;
  margin: 0;
  color: #404040;
}

/* FULL BANER */

.cta-section {
  background-color: #003264;
  background-image: url('gfx/nowy-sposob-raportowania-do-giif-tlo.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #003264;
  opacity: 0.9;
  /* zmniejszamy tło, zostawiamy 10% przezroczystości */
  z-index: 0;
}

.cta-section>* {
  position: relative;
  z-index: 1;
}

.btn-transparent-border {
  background-color: #ffffff;
  font-size: 1.125rem;
  border: 2px solid white;
  color: #404040;
  padding: 0.75rem 1.5rem;
  border-radius: 0px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.5s ease, color 0.5s ease, border-radius 0.3s ease, padding 0.3s ease;
}

.btn-transparent-border:hover {
  /* background-color: #ffffff25; */
  background-color: white;
  color: #404040;
  border: 2px solid white;
  border-radius: 10px;
  padding: 0.75rem 2rem;
}

.section-title-baner {
  font-size: 2.75rem;
  line-height: 1.5;
  font-weight: 600;
}

.cta-section a {
  text-decoration: none;
  color: white;
}

@media (max-width: 991.98px) {
  .cta-title-wrapper {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* rozbudowa full banera */
.cta-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.66;
    fill: #e43836;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    fill: #e43836;
  }
  100% {
    transform: scale(1);
    opacity: 0.66;
    fill: #e43836;
  }
}

@media (max-width: 991.98px) {
  .cta-title-wrapper {
    max-width: 100%;
    padding: 0 1rem;
    text-align: center;
  }

  .section-title-baner {
    text-align: center;
  }

  .btn-transparent-border {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }

  .cta-icon-wrapper {
    margin-bottom: 2rem;
  }
}

/* SEKCJA HERO - FILM */

.hero-video-section {
  background-color: #f2f5f7;
  padding: 80px 0px;
}

.hero-video-section p {
  font-size: 1.125rem;
  line-height: 1.5em;
  color: #404040
}

.hero-video-title {
  font-size: 2rem;
  font-weight: 600;
  color: #404040;
  line-height: 1.5;
}

.hero-video-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  align-self: stretch;
  /* dopasowanie wysokości do kolumny tekstowej */
}

@media (max-width: 991.98px) {
  .hero-video-image {
    width: 80%;
    margin: 40px auto;
  }
}

/* LIGHTBOX WIDEO */
.video-thumbnail-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.overlay-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: 0.3s ease;
}

.video-thumbnail-wrapper:hover .overlay-white {
  background-color: transparent;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 20px;
  transition: background-color 0.3s ease;
}

.video-thumbnail-wrapper:hover .play-button {
  background-color: rgba(0, 0, 0, 0.8);
}

/* SEKCJA KORZYŚCI */

.benefits-section {
  background-color: white;
  padding: 80px 0;
}

.features-section .row {
  align-items: stretch;
}

.benefits-title {
  font-size: 2.5rem;
  color: #404040;
  font-weight: 600;
}

.benefits-item {
  background-color: white;
  padding: 36px 12px;
  border: 1px solid #e5eaef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  text-align: left;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.benefits-item:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 0 16px rgba(0, 0, 0, 0.1); */
  /* border: 1px solid #36ae26; */
  border: 1px solid #bebe00;
}

.benefits-item .benefits-icon svg {
  transition: fill 0.5s ease;
}

.benefits-item:hover .benefits-icon svg {
  /* fill: #36ae26; */
  fill: #bebe00;
}

.benefits-icon {
  flex: 0 0 15%;
  max-width: 15%;
  text-align: center;
}

.benefits-text {
  flex: 1;
  padding-left: 8px;
}

.benefits-text p {
  color: #404040;
  margin-bottom: 0;
}

.benefits-text h3 {
  font-size: 1.5rem;
  line-height: 1.25em;
  font-weight: 600;
  margin: 0;
  /* color: #003264; */
  color: #404040;
}

.benefits-item h3 {
  transition: color 0.5s ease;
}

.benefits-item:hover h3 {
  /* color: #36ae26; */
  color: #abab00;
}

/* EKSPERCI */
.info-section {
  background-color: #003264;
  background-image: url('gfx/nowy-sposob-raportowania-do-giif-tlo.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 80px 0;
}

.info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #003264;
  opacity: 0.9;
  /* zmniejszamy tło, zostawiamy 10% przezroczystości */
  z-index: 0;
}

.info-section h2 {
  font-weight: 600;
  font-size: 2.5rem;
}

.info-section h3 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #404040;
}

.info-section p {
  font-weight: 400;
  font-size: 1rem;
  color: #404040;
}

.overlay-box {
  border: 1px solid #e5eaef;
  opacity: 0.9;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 80%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.5s ease, opacity 0.2s ease;
}

.overlay-box:hover {
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.overlay-box a {
  position: relative;
  color: #404040;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.125rem;
  transition: color 0.5s ease;
}

.overlay-box a:hover {
  color: #003264;
}

.overlay-box a svg {
  transition: fill 0.5s ease;
}

.overlay-box a:hover svg {
  fill: white;
}

/*
.overlay-box a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #003264;
  transition: width 0.3s ease;
}
  */

.overlay-box a:hover::after {
  width: 100%;
}

.info-section .container-xl {
  position: relative;
  z-index: 1;
}

.fixed-img {
  width: 100%;
  height: 300px;
  /* możesz dopasować wysokość do projektu */
  object-fit: cover;
  border-radius: 10px;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.image-wrapper:hover .fixed-img {
  transform: scale(1.05);
}

.btn-eksperci {
  background-color: #404040;
  font-size: 1.125rem;
  border: 2px solid #404040;
  padding: 0.66rem 2rem;
  border-radius: 0px;
  font-weight: 400 !important;
  cursor: pointer;
  color: white !important;
  transition: background-color 0.5s ease, color 0.5s ease, border-radius 0.3s ease, padding 0.3s ease !important;
}

.btn-eksperci:hover {
  color: white;
  background-color: #003264;
  border: 2px solid #003264;
  border-radius: 10px;
  padding: 0.66rem 2.5rem;
}



/* SEKCJA PS AML */

.aml-img {
  max-height: 450px;
}

.aml h2 {
  font-size: 2.5rem;
}

.aml ul {
  font-size: 1.125rem;
  color: #404040;
}

.features-section ul li svg {
  flex-shrink: 0;
}

.btn-border {
  background-color: #404040;
  font-size: 1.125rem;
  border: 2px solid #404040;
  padding: 0.75rem 1.5rem;
  border-radius: 0px;
  font-weight: 400;
  cursor: pointer;
  color: white;
  transition: background-color 0.5s ease, color 0.5s ease, border-radius 0.3s ease, padding 0.3s ease;
}

.btn-border:hover {
  background-color: #003264;
  border: 2px solid #003264;
  border-radius: 10px;
  color: white;
  padding: 0.75rem 2rem;
}

/* KONTAKT */

.contact-section {
  background-color: #003264;
  padding: 80px 0;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

.contact-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-section p {
  font-size: 1rem;
  font-weight: 300;
}

.contact-box {
  background: #002850;
  padding: 1.5rem 1.5rem;
  border-radius: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.3s ease;
}

.contact-box:hover, .contact-box-obserwuj:hover, .contact-box-photo:hover {
box-shadow: 0 0 16px rgba(255, 255, 255, 0.05); 
}

.contact-box-obserwuj {
  background: #002850;
  padding: 1.5rem 1.5rem;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-box-photo {
  background: #002850;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-box a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.contact-box a::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.contact-box a:hover::after {
  width: calc(100% - 10px);
}

svg {
  flex-shrink: 0;
}

.contact-photo {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* FOOTER */
.footer-section {
  background-color: #002850;
  padding: 20px 0;
  font-size: 0.75rem;
  color: white;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}