/* Resetowanie styli */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    padding-top: 0px !important ;
}
.navbar.navbar-expand-lg.navbar-dark{
    height: 100px;
}
.header {
    position: relative;
    background: url('/img/swisehader.webp') no-repeat 10% 30%;
    background-size: cover;
    height: 500px; /* Wysokość nagłówka */
    color: white;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Półprzezroczysta czarna warstwa */
    z-index: 1;
}
.header h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: left;
}
.header .slogan {
    font-size: 1rem;
    color: #ffffff;
    text-align: left;
}
.navbar {
    background-color:#3c3b3a;
}
#navbarNav {
    background-color:#3c3b3a;
}
.navbar-nav .nav-link {
    color: white;
}
body {
    padding-top: 20px;
}

.show .navbar-nav {
    padding: 0px 15px;
}

.wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: ghostwhite;
    border-radius: 8px;
}

.sidebar {
    width: 300px; /* Szerokość sidebaru */
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* Płynne przejście */
    margin-top: 20px; /* Odstęp od góry */
}

/* Przypinanie sidebaru tylko na większych ekranach */
.sidebar.fixed {
    position: fixed;
    top: 50px;
    right: 5;
    overflow-y: auto;
    margin-right: 15px;
}

/* Właściwości dla przycisku */
.sidebar h4 {
    margin-bottom: 15px;
}

.sidebar ol {
    margin-bottom: 15px;
}

.sidebar .btn-apply {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.sidebar .btn-apply:hover {
    background-color: #0056b3;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    background: #333;
    z-index: 100;
  }

  .footer {
    background-color: #3c3b3a;
    padding: 40px 0;
    color: #333;
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer p {
    font-size: 1rem;
    line-height: 1.6;
}

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

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

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer .row {
    margin-bottom: 30px;
}

.footer hr {
    margin-top: 30px;
    border: 0;
    border-top: 1px solid #ddd;
}

.footer .text-center {
    font-size: 0.875rem;
    color: #ffffff;
}
.faq{
    padding-bottom: 80px;
}

/* Media Queries dla mniejszych ekranów */
@media (max-width: 992px) {
    .wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%; /* Pełna szerokość na mniejszych ekranach */
        margin-top: 0;
    }
}
.footer-info{
    color: #fff !important;
}
 
h2{
    position: relative;
    margin-top: 30px;
    margin-bottom: 10px;
}
h2::before{
    content: "";
    position: absolute;
    top: 7px;
    left: -30px;
    width: 10px;
    height: 30px;
    background-color: #007bff;
}
.types-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.types{
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.highlight{
    background-color: #f8f9fa;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}
.btn-apply {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    
    /* Animacja pulsowania z przerwą 5 sekund */
    animation: pulse 2s ease-in-out 0s infinite;

}
.buy-section{
    border: 1px solid #e6e6e6;
    padding: 20px 10px;
    border-radius: 10px;
    background-color: #e7eeff;
}
/* Animacja pulsowania (skala) */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Zwiększenie rozmiaru przycisku */
    }
    100% {
        transform: scale(1); /* Powrót do pierwotnego rozmiaru */
    }
}

/* Opóźnienie animacji - nie zmienia nic, wprowadza tylko przerwę */

  details{
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 8px 5px;
    margin: 8px 0px;
  }
  details p{
    margin: 10px 0px;
    background-color: #fff;
    padding: 8px;
  }
  summary{
    font-size:16px;
    font-weight: 600;
  }
 
.footer-links li a{
    color: #ffffff !important;
}

  @keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
