* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Glegoo", serif;
    background-color: #fffefa;
    color: #333;
}

/*.glegoo-regular {
  font-family: "Glegoo", serif;
  font-weight: 400;
  font-style: normal;
}

.glegoo-bold {
  font-family: "Glegoo", serif;
  font-weight: 700;
  font-style: normal;
}
  */                                                                  
.menu {
    width: 100%;
    box-shadow: inset 0 -5px 6px 0px rgba(0, 0, 0, 0.2);
}

.container {
    width: 70%;
    margin: 0 auto;
}

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

.logo{
    margin: 0px 0 0 50px;
    padding: 0;
    line-height: 1.1;
    font-weight: 900;
    font-size: 20px;
}


.logo a{
    text-decoration: none; /* Usuwa podkreślenie */
    color: inherit;        /* Dziedziczy kolor tekstu */
    font: inherit;         /* Dziedziczy czcionkę */
    display: inline;       /* Sprawia, że link zachowuje się jak zwykły tekst */
}


nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


/* Początkowo ukryte menu mobilne */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.nav-wrapper {
  display: flex;
}

.hero {
/*    background-color: #f4f4f4;*/
    background-color: #414141;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    text-align: center;
/*    min-width: 400px;*/
    margin: 50px;
}

.hero-text h2 span {
    color: #00c78cff;
    font-size: 36px;
}

.hero-text p {
    font-size: 18px;
    color: #fffefa;
    margin-bottom: 10px;
}

.insurance-form {
/*    background-color: #f4f4f4;*/
/*    padding: 20px;*/
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    width: -webkit-fill-available;
}

.input-group input[type="email"],
.input-group input[type="date"] {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 22px;
}

.input-group input[type="checkbox"] {
    -webkit-appearance: none; 
    appearance: none; 
    width: 20px;
    height: 20px;
    border: 2px solid #fffefa;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px; 
    margin-left: 5px;
}

.input-group input[type="checkbox"]:checked {
    background-color: #00c78cff; 
}

.input-group input[type="checkbox"]:checked::after {
    content: ''; 
    position: absolute;
    left: 4px; 
    top: 0px; 
    width: 5px; 
    height: 10px; 
    border: solid white; 
    border-width: 0 2px 2px 0; 
    transform: rotate(45deg); 
}

.input-group p{
    font-size: 12px;
    color: #fffefa;
}

.input-group p a{
    color: #00c78cff;
}

.btn-orange {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
}

.btn-orangeV1 {
    display: inline-block;        /* lub block jeśli ma zajmować całą szerokość */
    background-color: #ff6600;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;        /* usuwa podkreślenie */
    font-size: 16px;
    font-family: "Glegoo", serif;
    width: 100%;                  /* jeśli chcesz, żeby zajmowało całą szerokość */
    box-sizing: border-box;       /* żeby padding nie wychodził poza width */

    margin-top: auto; 
}

.btn-orangeV1:hover {
    background-color: #ff8533;    /* efekt po najechaniu */
}

.text-orangeV1{
    color: #ff6600;
    text-align: center;
    text-decoration: none;        /* usuwa podkreślenie */
    font-size: 20px;
    font-family: "Glegoo", serif;
    width: 100%;                  /* jeśli chcesz, żeby zajmowało całą szerokość */
    margin-top: auto; 
}




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

.lub p {
    font-size: 18px; 
    margin: 0; 
    font-weight: bold;
    color: #fffefa;
}

.lub h2 {
    font-size: 30px; 
    color: #fffefa;
/*    margin: 10px 0 10px 0; */
}

.lub h2 span {
    font-size: 30px; 
}

.hero-image{
    flex: 1; 
    display: flex; 
    justify-content: right; 
    align-items: center; 
    max-width: 750px;
    margin: 50px;
}

.hero-image img {
    max-width: 100%; 
    height: auto;
    padding: 20px;
}

.servicesVideo{
    box-shadow: inset 0 5px 6px 0px rgba(0, 0, 0, 0.2);
}











.slider-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
}

.slides-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  will-change: transform;
}

.slide {
  flex: 0 0 auto;
  width: 100%; /* będziemy kontrolować szerokość z JS */
}

.slide iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  display: block;
}

.nav-button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
  margin: 0 10px;
}







h2 {
    text-align: center;
    color: #333; /* Kolor nagłówka */

}

 .partners-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}
.partner {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
    gap: 20px;
}
.partner img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}
.partner-info {
    flex: 1;
}
.partner h3 {
    margin: 0;
    color: #333;
}
.partner p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}
.partner a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
.discount {
    width: 300px;
    background: #00c78cff;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
}

.discount p{
   color: #fffefa; 
    font-size: 18px;
}

.services, .why-choose-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fffefa; /* Kolor tła sekcji */
    border-radius: 8px; /* Zaokrąglenie rogów */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Cień */
}


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

.service-item {
    flex: 1 1 calc(33% - 20px); /* Trzy elementy w rzędzie */
    margin: 10px; /* Odstępy między elementami */
    padding: 20px;
    border: 3px solid #00c78cff;

    border-radius: 5px; /* Zaokrąglenie rogów elementów */
    transition: transform 0.3s; /* Animacja powiększenia */

    display: flex;
    flex-direction: column; /* układ pionowy */

}

.service-item h3 {
    display: inline-block;
    position: relative;
    border-bottom: 3px solid #00c78cff;; /* Grubość: 4px, kolor: fioletowy */
    margin-bottom: 3px;

}

.service-item p {
    display: inline-block;
    position: relative;

    padding-bottom: 20px;

}

.service-item:hover {
    transform: translateY(-5px); /* Efekt powiększenia po najechaniu */
}

.pelno-item:hover a{
    transform: translateY(-5px); /* Efekt powiększenia po najechaniu */
}





.why-choose-us {
    margin-top: 40px; /* Odstęp od sekcji usług */
}

.why-choose-us ul {
    list-style-type: none; /* Usunięcie punktów z listy */
    padding: 0;
}

.why-choose-us li {
    margin: 10px 0;
    font-size: 16px;
    color: #555; /* Kolor tekstu */
}






footer {
    background-color: #414141;
    color: #fffefa; 
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #00c78cff; 
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-menu {
    list-style-type: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-contact p {
    margin: 10px 0;
}


.footer-bottom {
    background-color: #1a252f;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #bdc3c7;
}


#cookie-banner {
    display: none; /* Początkowo ukryty */
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background-color: #ffffff; /* Biały kolor tła */
    color: #333333; /* Kolor tekstu */
    border-radius: 10px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtelny cień */
    padding: 20px; /* Wewnętrzne odstępy */
    font-family: 'Arial', sans-serif; /* Nowoczesna czcionka */
    z-index: 1000; /* Na wierzchu */
}

#cookie-banner p {
    margin: 0 0 15px; /* Odstęp od dołu */
    font-size: 14px; /* Rozmiar tekstu */
    line-height: 1.5; /* Wysokość linii */
    color: #666666; /* Szary odcień tekstu */
}

#cookie-banner a {
    color: #007BFF; /* Kolor linku */
    text-decoration: none; /* Brak podkreślenia */
    font-weight: bold; /* Pogrubienie linku */
}

#cookie-banner a:hover {
    text-decoration: underline; /* Podkreślenie po najechaniu */
}

#cookie-banner button {
    background-color: #00c78cff; /* Zielony kolor przycisku */
    color: #ffffff; /* Biały kolor tekstu */
    border: none; /* Bez ramki */
    border-radius: 5px; /* Zaokrąglone rogi */
    padding: 10px 20px; /* Wewnętrzne odstępy */
    font-size: 14px; /* Rozmiar tekstu */
    cursor: pointer; /* Wskaźnik ręki */
    transition: background-color 0.3s ease; /* Animacja zmiany koloru */
}

#cookie-banner button:hover {
    background-color: #218838; 
}



@media (max-width: 1279px) {
    .header-container {
        flex-direction: column;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    .logo{
        margin: 5px;
    }

    .nav ul li {
        margin-right: 20px; 
    }
}




.modal {
    display: none; /* скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #333;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}


@media (max-width: 768px) {
    .menu {
        width: 100%;
        box-shadow: inset 0 -5px 6px 0px rgba(0, 0, 0, 0.2);
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-wrapper {
        display: none;
    }

    .nav-wrapper.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        margin: 0;
    }

    nav ul li {
        padding: 10px;
    }

    nav ul li form {
        display: inline-block;
        margin: 5px 0;
    }

    .container {
        width: 90%;
        margin: 0 auto;
    }


    .logo{
        margin: 10px;
        padding: 0;
        line-height: 1.1;
        font-weight: 900;
        font-size: 10px;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }


    .hero {
        padding: 30px 0;
        display: flex;
        flex-direction: column;
            align-items: center;
    }

    .hero-text h2 span {
        font-size: 28px;
    }

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

    .hero-image img {
        width: 100%;
        max-width: 350px;
    }

    .input-group input[type="email"],
    .input-group input[type="date"] {
        height: 40px; 
        font-size: 16px; 
    }

    .input-group p{
        font-size: 12px;
    }

    .btn-orange {
        padding: 8px;
    }

    .lub h2 {
        font-size: 20px;
    }

    .lub h2 span {
        display: block;
        text-align: center;
    }

  .partner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .partner img {
        width: 100px;
        height: 100px;
    }

    .services-container {
        flex-direction: column;
    }

    .service-item {
        width: 100%;
        margin: 5px 0;
    }

    button.prev, button.next {
        padding: 5px;
    }

 .service-item {
        flex: 1 1 calc(100% - 20px); /* Po jednym elemencie w rzędzie na małych ekranach */
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        margin-bottom: 30px;
    }
}
