@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}
#cookie-banner button {
  background: #128572;
  border: none;
  padding: 8px 14px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
}#cookie-banner button:hover {
  background: #0a6354;
  color: black;
}
#cookie-banner button#cookie-decline {
  background: #555;
}
.cookie-banner .choose{
  background-color: transparent;
}
.slider {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 500px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
    overflow: hidden;

  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
  z-index: 1;
}

/* --- TEKST NA ŚRODKU --- */
.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centrowanie */
  text-align: center;
  background: transparent;
  z-index: 2; /* nad obrazkami */

    background: rgba(0,0,0,0.4);
  padding: 20px 100%;
}

.slider-text h2 {
  font-size: 48px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  color: #128572;
    background: transparent;
    font-family: 'ClashDisplay-SemiBold';
}

.slider-text h1 {
  font-size: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  color: white;
    background: transparent;
    font-family: 'ClashDisplay-SemiBold';
  letter-spacing: 1px;
  
}
html{
  scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
    font-family: 'Nunito-Regular';
}

li, a, button{
    font-weight: 500;
    font-size: 16px;
    color: black;
    text-decoration: none;
}
header{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 25px 15%;
}

.logo{
    cursor: pointer;
    margin-right: auto;
}
.nav_links{
    list-style: none;
}
.nav_links li{
    display: inline-block;
    padding: 0px 20px;
}
.nav_links li a{
    transition:  all 0.3s ease 0s;
}
.nav_links li a{
  color: #414141;
  display: inline-block;
  padding-bottom:2px;
  background-image: linear-gradient(#128572 0 0);
  background-position: 0 100%; /*OR bottom left*/
  background-size: 0% 2px;
  background-repeat: no-repeat;
  transition:
    background-size 0.3s,
    background-position 0s 0.3s; /*change after the size immediately*/
}
.nav_links li a:hover{
  color: black;
  background-position: 100% 100%; /*OR bottom right*/
  background-size: 100% 2px;
}
button{
  color: white;
    margin-left: 30px;
    padding: 9px 25px;
    background-color: #12907c;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
button:hover{
  color: black;
    background-color: #128572;
}
/* ----------------------------------------------------------- */

.hidden{
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}
.show{
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}
@media(prefers-reduced-motion){
  .hidden{
    transition: none;
  }
}
/* ----------------------------------------------------------- */

    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      min-height: 60vh;
      justify-self: center;
      margin-top: 2rem;
    }
    .color-hero{
  color: #0a6354;
  font-family: 'ClashDisplay-SemiBold';

}
    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      line-height: 0.9;
      font-family: 'ClashDisplay-SemiBold';
    }

    .hero-text p {
      margin-bottom: 2rem;
      color: #555;
      max-width: 400px;
      font-family: 'Nunito-Regular';
    }

    .buttons {
      display: flex;
      gap: 1rem;
    }

    .buttons a {
      padding: 0.8rem 1.5rem;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      font-family: 'Nunito-Regular';
      letter-spacing: 1.1px;
    }

    .join {
      background: #12907c;
      color: #fff;
    }
    .join:hover{
      background: #128572;
}
    .learn {
      border: 1px solid #12907c;
      color: #6b6b6b;
    }
    .learn:hover{
      color: #414141;
    }

    .hero-image {
      flex: 1;
      text-align: center;
    }

    .hero-image img {
      max-width: 100%;
      height: auto;
    }

    /* 📱 Mobile layout */
    @media (max-width: 1440px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }

      .hero-text h1 {
        font-size: 2.3rem;
      }

      .hero-text p {
        margin: 1rem auto 2rem;
      }
      .hero .buttons{
  justify-self: center;
}
    }

/* ----------------------------------------------------------- */

.container-dlaczego{
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 60%;
    justify-self: center;
    margin-top: 5rem;
    color: rgb(24, 24, 24);
    
}
.container-dlaczego ul {
  text-align: left;
}
.container-dalczego-nagl{
  padding-bottom: 30px;
}
.container-dlaczego .title-section{
    text-align: center;
  position: relative;
  overflow: hidden;
}

.container-dlaczego .dlaczego-left{
  text-align: left;
  padding-top: 10px;
}
.container-dlaczego h2{
    font-size: 70px;
    color: #128572;
    font-family: 'ClashDisplay-SemiBold';
}
.container-dlaczego p{
    font-weight: 400;
    font-size: 18px;
    margin-top: 1rem;
}
.container-dlaczego div{
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 20% cover 100%;
}
@keyframes text-appear{
  form{
    opacity: 0;
    transform: translateY(100px);
  }
  to{
    opacity: 1;
    transform:  translateY(0);
  }
}
/* ----------------------------------------------------------- */

.container-o_mnie{
  font-family: 'Nunito-Regular';
    margin-top: 5rem;
    justify-self: center;
    align-items: center;
    width: 60%;
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto;
    grid-template-areas: grid1 grdi2 ;
    padding: 10px;
    color: rgb(24, 24, 24);
}
.grid1{
  background-color: black;
}
.grid2{
   justify-self: right;
  align-self: center;
}
.image2{
  border-radius: 1rem;
}
.omnie1{
  font-size: 25px;
  color: #128572;
      font-family: 'ClashDisplay-Medium';
}
.omnie2{
    font-size: 18px;
}
.container-o_mnie .grid1 p{
  padding-top: 10px;
}
/* ----------------------------------------------------------- */
.container-Pokaż button{
  color: white;
}
.container-Pokaż button:hover{
  color: black;
}
#hiddenText {
  margin-top: 15px;
  padding: 23px;
  background: #f0f0f0;
  border-radius: 8px;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
}

.hidden1 {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.hidden1 ul{
  text-align: right;
}
.visible {
  max-height: 308px; /* dowolna wysokość większa niż zawartość */
  opacity: 1;
  pointer-events: auto;
}
.container-Pokaż{
  justify-items: center;
}

/* ----------------------------------------------------------- */

.container-contact{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 10%;
}
.contatct h4{
    font-size: 70px;
    margin-top: 10rem;
    justify-self: center;
    color: #128572;
    font-family: 'ClashDisplay-SemiBold';
}
.contact_links li a{
    font-size: 50px;
    color: #0a6354;
    padding: 0 200px;
}
.contact_links li{
    display: inline-flex;
}
.contatct h1{
  font-family: 'ClashDisplay-Medium';
}
.contact-container .contact-boxes .contact-item .contact-icon{
  background-color: white;
}
.contact-container .contact-boxes .contact-item .contact-icon .bi{
  background-color: white;
}
.contact-container .contact-boxes .contact-item p{
  background-color: white;
}
.contact-container .contact-boxes .contact-item strong{
  background-color: white;
}
.contact-container .contact-boxes .contact-item a{
  background-color: white;
}
/* ----------------------------------------------------------- */

    .contact-container {
      max-width: 1100px;
      margin: 50px auto;
      margin-top: 0;
      padding: 20px;
      text-align: center;
    }

    .contact-container h2 {
      margin-bottom: 40px;
    }

    .contact-boxes {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }

    .contact-item {
      flex: 1 1 calc(25% - 20px);
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    .contact-item .mniejszy{
      font-size: 13px;
    }
    .contact-item:hover {
      transform: translateY(-5px);
    }

    .contact-icon a i{
      width: 50px;
      height: 50px;
      margin: 0 auto 15px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0a6354;
      font-size: 40px;
    }

    .contact-item p {
      margin: 0;
      font-size: 14px;
      color: #0a6354;
      font-family: 'ClashDisplay-Semibold';
    }

    .contact-item a {
      text-decoration: none;
      font-weight: bold;
      color: rgb(43, 43, 43);
    }

    /* Responsywność */
    @media (max-width: 992px) {
      .contact-item {
        flex: 1 1 calc(50% - 20px);
      }
    }

    @media (max-width: 600px) {
      .contact-item {
        flex: 1 1 100%;
      }
    }

    /* ----------------------------------------------------------- */
    .mapa{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction:  column;
    }
    .mapa h1{
        padding-bottom: 2rem;
    }
    iframe{
        width: 70%;
        height: 200px;
    }

    /* ----------------------------------------------------------- */

    footer {
    margin-top: 4rem;
      color: #fff;
      padding: 20px 10px;
      text-align: center;
      background-color: #003a30;
      font-family: 'Nunito-Regular';
    }
.cytat{
  color: white;
  background-color: #003a30;
  font-family: 'Nunito-ExtraLightItalic';
  margin-bottom: 3px;
}
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-bottom: 10px;
      background-color: #003a30;
    }

    .footer-links a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
      background-color: #003a30;
    }

    .footer-links a:hover {
      color: #dbdbdb;
      
    }

    .footer-copy {
      font-size: 12px;
      color: #fff;
      background-color: #003a30;
    }
    @media (max-width: 600px) {
      .footer-links {
        flex-direction: column;
        gap: 10px;
      }
    }
    /* ----------------------------------------------------------- */
    #myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #12907c;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}
#myBtn i{
  background-color: transparent;
  font-family: 'ClashDisplay-Bold';
}
#myBtn:hover {
  background-color: #555;
}

.pricing-grid .pricing-item h3{
  background-color: white;
}
.pricing-grid .pricing-item .price{
  background-color: white;
}

.Lokalizacja-google{
  font-size: 30px;
}
#toggleBtn{
  display: flex;
  justify-content: center;
}