html, body, * {
  font-family: 'Open Sans', sans-serif !important;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.navbar {
  background: #154D42;
  color: white;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: bold;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.btn {
  background: #22967A;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #19795f;
}

.btn-outline {
  background: transparent;
  border: 2px solid #22967A;
  color: #22967A;
}

.btn-outline:hover {
  background: #22967A;
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}
.logo-img {
  height: 50px; /* lub inna wysokość dostosowana do Twojego nagłówka */
  max-height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

/* Responsywność */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #154D42;
    flex-direction: column;
    display: none;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 40px auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
   
  filter: brightness(60%);
  
}
@media (max-width: 768px) {
  .sub-caption {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}


.caption-wrapper {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  max-width: 80%;
}

.caption {
  font-size: 2rem;
  margin-bottom: 10px;
}

.sub-caption {
  font-size: 1rem;
  line-height: 1.5;
}

.navigation-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.navigation-dots .dot {
  height: 12px;
  width: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.navigation-dots .dot.active {
  background-color: #333;
}