/* Reset stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  max-width: 1200px;
}
/* Ustawienia ogólne */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  width: 150px;
  height: auto;
}

/* Nawigacja */
.navbar {
  position: fixed;
  width: 100%;
  transition: 0.5s ease;
  z-index: 999;
  font-size: 14px;
}

.navbar.scrolled {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  font-size: 12px;
  transition: 0.5s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.navbar .logo img {
  width: 150px;
  height: auto;
}

.navbar .nav-menu {
  list-style: none;
  display: flex;
  align-items: left;
}

.navbar .nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
  font-weight: bold;
  margin-right: 20px;
}

.navbar .nav-menu a:hover {
  color: #1a76d1;
}

.btn-nav {
  background-color: #1a76d1;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-nav:hover {
  background-color: #155a9c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: fixed; /* Zapewnia, że hamburger będzie na stałe w tym miejscu */
    top: 15px; /* Dostosuj w razie potrzeby */
    right: 15px; /* Ustawienie blisko prawej krawędzi */
    z-index: 1001; /* Upewnia się, że hamburger jest nad innymi elementami */
    background: none;
    padding: 10px; /* Powiększenie obszaru klikalnego */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Styl dla menu mobilnego */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        height: 100%;
        width: 250px;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px; /* Padding na górze dla przestrzeni od hamburgera */
        transform: translateX(100%); /* Domyślnie menu poza ekranem */
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateX(0); /* Przesuwanie menu na ekran */
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        color: #fff;
    }
}

/* Sekcja Hero */
.hero {
  position: relative;
  height: 80vh;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: #1a76d1;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background-color: #1a76d1;
  color: #fff;
}

.btn-primary:hover {
  background-color: #155a9c;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #1a76d1;
}

/* Dodatkowe style */
body.scrolled .navbar {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Sekcja Oferta */
.services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #212b54;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 40px;
  color: #1a76d1;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #212b54;
}

.card p {
  color: #666;
}

/* Sekcja Fizjoterapia młodych sportowców */
.fizjoterapia-sportowcow,
.leczenie-wad-postawy {
  padding: 80px 0;
}

.fizjoterapia-sportowcow h2,
.leczenie-wad-postawy h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #212b54;
}

.fizjoterapia-sportowcow .content,
.leczenie-wad-postawy .content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #666;
  font-size: 18px;
}

/* Sekcja Statystyki */
.stats {
  background-color: #1a76d1;
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  margin: 20px;
}

.stat h3 {
  font-size: 48px;
  margin-bottom: 10px;
}

.stat p {
  font-size: 18px;
}

/* Sekcja Fizjoterapeuta */
.expert {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.expert h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #212b54;
}

.expert-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.expert-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.expert-image img {
  width: 100%;
  border-radius: 8px;
}

.expert-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.expert-text h3 {
  display: block;
  font-size: 1.17em;
  margin-block-start: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  color: #666;
}

.expert-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.expert-text ul {
  list-style: none;
  padding: 0;
}

.expert-text ul li {
  margin-bottom: 10px;
  font-size: 18px;
  color: #666;
}

.expert-text ul li::before {
  content: "\f058";
  font-family: 'Font Awesome 5 Free';
  margin-right: 10px;
  color: #1a76d1;
  font-weight: 900;
}

/* Sekcja Galeria */
.gallery {
  padding: 80px 0;
}

.gallery h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #212b54;
}

.gallery-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-slider .slide {
  display: none;
}

.gallery-slider .slide img {
  width: 100%;
  border-radius: 8px;
}

.gallery-slider .slide.active {
  display: block;
}

/* Sekcja Kontakt */
.contact {
  padding: 80px 0;
}

.contact .container {
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #212b54;
}

.contact p {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.contact form {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-label {
  font-weight: bold;
}

.contact-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-input:focus {
  outline: none;
  border-color: #1a76d1;
}

.btn {
  background-color: #1a76d1;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #155a9c;
}

/* Stopka */
#footer {
  background-color: #212b54;
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
  margin: 20px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
}

#footer-links {
  list-style: none;
  padding: 0;
}

#footer-links li {
  margin-bottom: 10px;
}

#footer-links a {
  color: #fff;
  text-decoration: none;
}

#footer-links a:hover {
  text-decoration: underline;
}

.social-media-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #1a76d1;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* Responsywność */
@media (max-width: 768px) {
  .services .service-cards,
  .features .features-grid,
  .stats-grid,
  .expert-content {
    flex-direction: column;
  }

  .services .service-cards,
  .features .features-grid {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.fizjoterapia-sportowcow,
.leczenie-wad-postawy {
  padding: 80px 0;
}

.fizjoterapia-sportowcow h2,
.leczenie-wad-postawy h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #212b54;
}

.fizjoterapia-sportowcow .content,
.leczenie-wad-postawy .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.fizjoterapia-sportowcow .content .image,
.leczenie-wad-postawy .content .image {
  flex: 1;
  min-width: 45%;
  padding: 20px;
}

.fizjoterapia-sportowcow .content .image img,
.leczenie-wad-postawy .content .image img {
  width: 100%;
  border-radius: 8px;
}

.fizjoterapia-sportowcow .content .text,
.leczenie-wad-postawy .content .text {
  flex: 2;
  min-width: 300px;
  padding: 20px;
  text-align: left;
}

.fizjoterapia-sportowcow .content .text p,
.leczenie-wad-postawy .content .text p {
  margin-bottom: 15px;
  color: #666;
  font-size: 18px;
}

/* FAQ w nowych sekcjach */
.fizjoterapia-sportowcow .faq-accordion,
.leczenie-wad-postawy .faq-accordion {
  margin-top: 50px;
}

.fizjoterapia-sportowcow .faq-accordion h3,
.leczenie-wad-postawy .faq-accordion h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #212b54;
}

/* Używamy tych samych stylów dla FAQ */
.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 20px;
  color: #212b54;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 30px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-toggle {
  font-size: 20px;
  color: #1a76d1;
}

/* Responsywność */
@media (max-width: 768px) {
  /* Dostosowanie nowych sekcji do mniejszych ekranów */
  .fizjoterapia-sportowcow .content,
  .leczenie-wad-postawy .content {
    flex-direction: column;
  }
  .fizjoterapia-sportowcow .content .image,
  .leczenie-wad-postawy .content .image,
  .fizjoterapia-sportowcow .content .text,
  .leczenie-wad-postawy .content .text {
    padding: 0;
  }
  .fizjoterapia-sportowcow .content .image,
  .leczenie-wad-postawy .content .image {
    margin-bottom: 20px;
  }
}

/* Sekcja Nowości */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #212b54;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature {
  flex: 1;
  min-width: 250px;
  background: #fff;
  padding: 30px;
  margin: 10px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 40px;
  color: #1a76d1;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #212b54;
}

.feature p {
  color: #666;
}

/* Media Queries dla urządzeń mobilnych */
@media (max-width: 768px) {
  .hero {
    height: 700px;
    padding: 100px 0 50px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
  }

  .hero .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons .btn {
    font-size: 16px;
    padding: 10px;
  }
}

@media (max-width: 1200px) {
  .hamburger {
    display: flex !important;
    z-index: 1001;
    position: fixed; /* Zapewnia, że hamburger będzie na stałe widoczny */
    right: 100px; /* Przycisk hamburgera na stałe z prawej strony */
    top: 15px; /* Możesz dostosować to położenie, jeśli potrzebujesz */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 350px;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 20px; /* Padding z góry, aby menu nie nachodziło na hamburger */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-menu a {
    color: #fff;
  }
}

/* Stylizacja sekcji z wideo */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

.single-slider .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.cta-container {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
}

.cta-container h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-container h1 span {
  color: #1a76d1;
}

.cta-container p {
  color: #fff;
  font-size: 18px;
  margin-bottom: 30px;
}

.button .button-appointment,
.button .button-learn {
  background-color: #1a76d1;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.button .button-learn {
  background-color: transparent;
  border: 2px solid #fff;
}

.button .button-appointment:hover,
.button .button-learn:hover {
  background-color: #fff;
  color: #1a76d1;
}

/* Styl dla sekcji hero */
.hero {
  position: relative;
  height: 100vh; /* Pełna wysokość okna */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Upewnij się, że wideo pokrywa całą sekcję */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Przyciemnienie wideo */
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #1a76d1; /* Kolor dla wyróżnienia */
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background-color: #1a76d1;
  color: #fff;
}

.btn-primary:hover {
  background-color: #155a9c;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #1a76d1;
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}
.nav-menu a.active {
  color: #1a76d1; /* Kolor podświetlenia aktywnej sekcji */
  font-weight: bold; /* Możesz dodać inne efekty, jak np. pogrubienie */
}


#nav-toggle{
    display: none !important;
}
        .success-message {
    text-align: center;
    margin-top: 20px;
    color: #28a745; /* Zielony kolor */
}

.success-message .check-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 18px;
}