body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}
header {
    background: #007BFF;
    color: white;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header h1 {
    margin: 0;
}
.typing-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffeb3b;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid white;
    animation: typing 5.5s steps(30, end), blink .75s step-end infinite;
}
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}
@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}
section {
    padding: 2rem;
}
section h2 {
    text-align: center;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.service {
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:1.2rem;
    flex:1 1 220px;
    box-shadow:0 6px 14px rgba(0,0,0,0.06);
    text-align:center;
    transition:all .25s ease;
    cursor:pointer;
    position:relative;
    overflow:hidden;
}
.service:hover {
    transform:translateY(-6px);
    box-shadow:0 12px 26px rgba(0,0,0,0.12);
    border-color:#007BFF;
}
.service h3 {
    color: #007BFF;
}
.service i {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 0.5rem;
}
.service-details {
    display: none;
    padding-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: left;
}
.service.open .service-details {
    display: block;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    z-index: 9999;
}

.cookie-button {
    margin-left: 10px;
    padding: 5px 10px;
    background: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-button:hover {
    background: #0056b3;
}

.btn-primary {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.contact-form input, .contact-form textarea {
    display: block;
    width: 50%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    width: 80%;
}

#contact.section {
    text-align: center;
}

.contact-form {
    text-align: left;
}


.text-box {
    margin: auto;
    max-width: 60%;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    flex: 1 1 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.8s ease-in-out;
    position: relative;
}
.text-box p,
.text-box h3,
.text-box h2 {
    text-align: left;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
#formResponse p.success {
    color: green;
    font-weight: bold;
}

#formResponse p.error {
    color: red;
    font-weight: bold;
}

@media (max-width: 768px) {
    .text-box {
    max-width: 100%;
 }
 .contact-form input {
     width: 80%;
 }
}

header {
    padding-top: 80px;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 0px;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
  margin-right: 10px;
}
.navbar .container {
    display: flex; /* Zapewnia, że elementy są w jednej linii */
    align-items: center;
    padding: 0px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    position: fixed;
    right: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}
.hamburger {
    display: none; /* Ukryte na dużych ekranach */
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    header {
    padding-top: 60px;
    padding-left: 35px;
    padding-right: 35px;
}
header h2 {
    word-break: break-word;
    white-space: normal;
    text-align: center;
    padding: 0 10px; /* Zmniejszamy padding, aby zwiększyć miejsce */
}
    .hamburger {
        display: block; /* Pokazuje hamburgera na małych ekranach */
        position: absolute;
        right: 30px;
        top: 15px;
    }
    
    .navbar {
        height: 60px;
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
    }
    .nav-links {
        /*display: none; /* Ukryte menu domyślnie */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #007BFF;
        width: 100%;
        text-align: center;
        /*padding: 20px 0;*/
        max-height: 0;  /* Ukryte menu */
        overflow: hidden; 
        transition: max-height 0.5s ease-in-out; /* Animacja rozwijania */
    }

    .nav-links.active {
        /*display: flex; /* Pokazuje menu po kliknięciu hamburgera */
        max-height: 500px; /* Ustawienie wysokości większej niż wysokość menu */
    }

    .nav-links li {
        /*padding: 10px 0;*/
    }
}
section {
    scroll-margin-top: 60px; /* Dopasuj do wysokości nawigacji */
}
html {
    scroll-behavior: smooth;
}

.form-toggle {
  background: linear-gradient(135deg,#0d6efd,#003c88);
  color: #fff;
  padding: 14px 22px;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: 0.2s ease;
}

.form-toggle:hover {
  transform: scale(1.05);
}

#contactFormWrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

#contactFormWrapper.active {
  max-height: 1000px;
  opacity: 1;
}


.grecaptcha-badge {
  visibility: hidden !important;
}
.service h3 a{
color:#007BFF;
text-decoration:none;
}

.service h3 a:hover{
text-decoration:underline;
}
.service-header{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

.service-arrow{
font-size:14px;
opacity:0.6;
transition:transform .3s;
}

.service.open .service-arrow{
transform:rotate(180deg);
}

.service-link{
text-decoration:none;
color:inherit;
display:block;
}

.hero-sub{
font-size:18px;
margin-top:10px;
}

.hero-actions{
margin-top:25px;
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

.btn-phone{
background:#28a745;
color:#fff;
padding:12px 22px;
border-radius:5px;
text-decoration:none;
font-weight:bold;
}

.btn-phone:hover{
background:#218838;
}

.hero-benefits{
margin-top:20px;
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
font-size:14px;
opacity:0.85;
}

/*<!-- Floating Call Button -->*/
#floatingCallWrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  animation: fadeIn 0.6s ease forwards;
}

#floatingCallTooltip {
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

#floatingCallWrapper:hover #floatingCallTooltip {
  opacity: 1;
  transform: translateY(0);
}

#floatingCallBtn {
position:fixed;
bottom:25px;
right:25px;
width:60px;
height:60px;
background:#28a745;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
box-shadow:0 8px 20px rgba(0,0,0,0.25);
z-index:9999;
text-decoration:none;
animation:ringPulse 2.5s infinite;
}

#floatingCallBtn:hover {
  transform: scale(1.1);
}

#floatingCallBtn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile większy */
@media (max-width: 768px) {
  #floatingCallBtn {
    width: 74px;
    height: 74px;
  }
}

@keyframes ringPulse{

0%{
box-shadow:0 0 0 0 rgba(40,167,69,0.6);
}

70%{
box-shadow:0 0 0 15px rgba(40,167,69,0);
}

100%{
box-shadow:0 0 0 0 rgba(40,167,69,0);
}

}


a:visited{
color:inherit;
}

.service h3 a:visited{
color:#007BFF;
}
.service i{
    font-size:2rem;
    color:#007BFF;
    margin-bottom:.6rem;
    transition:transform .2s ease;
}

.service:hover i{
    transform:scale(1.15);
}
.service::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:12px;
    padding:1px;
    background:linear-gradient(120deg,#007BFF,#00c6ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    opacity:0;
    transition:opacity .25s;
}

.service:hover::before{
    opacity:1;
}

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:1.2rem;
    max-width:1200px;
    margin:auto;
}

.service{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:1.4rem;
    box-shadow:0 6px 14px rgba(0,0,0,0.06);
    transition:all .25s ease;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    height:100%;
}

.service-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:6px;
}

.service-header h3{
    margin:0;
    font-size:18px;
}
.service p{
    flex-grow:1;
}
@media(max-width:768px){

.services{
grid-template-columns:1fr;
}

}

.logo-link{
display:flex;
align-items:center;
gap:10px;
color:white;
text-decoration:none;
}

.logo-icon{
height:34px;
width:auto;
}
.logo-icon{
height:38px;
}