/* Kontener slidera - ukrywa to, co wystaje poza ekran */
.logo-slider {
    overflow: hidden;
    padding: 40px 0;
    background: white;
    white-space: nowrap;
    position: relative;
    /* Efekt zanikania (gradientu) na bokach */
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 15%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}
.content-text img{width:100%;}
.checkbox-row input {
    margin: 0;
    position: relative;
    top: 0.7em; /* 🔥 JEDYNA SENSOWNA KOREKTA */
}

.checkbox-row span {
    line-height: 2;
}


/* "Tor", który się przesuwa */
.logo-track {
    display: flex;
    width: calc(250px * 8); /* Szerokość jednego logo * liczba wszystkich elementów (4+4) */
    animation: scroll 20s linear infinite;
}

/* Styl pojedynczego slajdu */
.logo-slide {
    width: 250px; /* Stała szerokość elementu */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    max-width: 180px; /* Maksymalna szerokość logo */
    height: auto;
    filter: grayscale(100%); /* Opcjonalnie: loga w czerni i bieli */
    transition: 0.3s;
    opacity: 0.7;
}

.logo-slide img:hover {
    filter: grayscale(0%); /* Kolor po najechaniu */
    opacity: 1;
}

/* Animacja ruchu */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); } /* Przesuwamy o połowę szerokości toru (o 4 loga) */
}

/* Zatrzymanie po najechaniu myszką */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    z-index: 999999;
    display: none; /* Ukryte domyślnie, JS je pokaże */
}

/* Dostosowanie dla trybu Wysokiego Kontrastu */
body.wcag-contrast .cookie-banner {
    background-color: #000 !important;
    border-top: 2px solid #FFFF00 !important;
    color: #FFFF00 !important;
}

body.wcag-contrast .cookie-banner .btn-primary {
    background-color: #FFFF00 !important;
    color: #000 !important;
    border: 1px solid #FFFF00 !important;
}

/* Dostosowanie dla czcionki dyslektycznej */
body.wcag-dyslexic .cookie-banner p {
    font-family: 'Open-Dyslexic', sans-serif !important;
}
/* Przycisk pływający */
#wcag-open-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    bottom: 20px; /* Odległość od dołu */
    right: 20px;  /* Odległość od prawej */
    width: 60px;
    height: 60px;
    background-color: #F4D501; /* Twój żółty z szablonu */
    color: #000000;            /* Czarna ikona */
    border: 3px solid #000000; /* Czarna obwódka */
    border-radius: 50%;        /* Okrągły kształt */
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;             /* Zawsze na wierzchu */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Ramka dla trybu Wysoki Kontrast (Żółty na czarnym) */
body.wcag-contrast .wcag-panel {
    border-left: 5px solid #FFFF00 !important; /* Gruba lewa krawędź */
    outline: 2px solid #FFFF00 !important;      /* Obramowanie całego panelu */
    box-shadow: none !important;                 /* Cienie są niewidoczne w WCAG, usuwamy */
}

/* Ramka dla trybu Odwrócony Kontrast (Czarny na żółtym) */
body.wcag-inverted-contrast .wcag-panel {
    border-left: 5px solid #000000 !important;
    outline: 2px solid #000000 !important;
}

/* Dodatkowo: oddzielenie nagłówka wewnątrz panelu */
body.wcag-contrast .wcag-panel-header {
    border-bottom: 2px solid #FFFF00 !important;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

body.wcag-inverted-contrast .wcag-panel-header {
    border-bottom: 2px solid #000000 !important;
}
/* Panel */
.wcag-panel {
    position: fixed;
    right: -350px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 10000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.wcag-panel.active { right: 0; }

.wcag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.wcag-grid button {
    font-size: 12px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
}

.wcag-grid button:hover { background: #eee; }

#wcag-reset {
    width: 100%;
    background: #901010;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* --- LOGIKA FUNKCJI WCAG --- */

/* Czcionka dyslektyczna */
body.wcag-dyslexic * {
    font-family: 'OpenDyslexic', sans-serif !important;
}

/* Podkreślanie linków */
body.wcag-underline-links a {
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Ukrywanie tła (tylko kolory/obrazy tła sekcji) */
body.wcag-hide-bg *:not(body) {
    background-image: none !important;
    background-color: transparent !important;
}

/* Filtry daltonizmu - stosujemy na dzieci body, aby nie zepsuć pozycji fixed przycisku */

body.wcag-protanopia > *:not(#wcag-panel):not(#wcag-open-menu) {
  filter: contrast(100%) hue-rotate(-50deg) !important;
}

body.wcag-deuteranopia > *:not(#wcag-panel):not(#wcag-open-menu) {
  filter: contrast(100%) hue-rotate(90deg) !important;
}

body.wcag-tritanopia > *:not(#wcag-panel):not(#wcag-open-menu) {
  filter: contrast(100%) hue-rotate(120deg) !important;
}

@font-face {
  font-family: 'Open-Dyslexic';
  font-style: normal;
  font-weight: 400;
  src: local('Open-Dyslexic'), url('https://fonts.cdnfonts.com/s/29616/open-dyslexic.woff') format('woff');
  font-display: swap;
}

body.wcag-dyslexic, 
body.wcag-dyslexic * {
  font-family: 'Open-Dyslexic', sans-serif !important;
}
body.wcag-dyslexic *:not(.fas):not(.far):not(.fab):not(.fa) {
    font-family: 'Open-Dyslexic', sans-serif !important;
}

/* Opcjonalnie: upewnij się, że ikony zawsze mają swoją czcionkę */
body.wcag-dyslexic .fas, 
body.wcag-dyslexic .far, 
body.wcag-dyslexic .fa {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
}
/* Gwarancja pozycji przycisku */


.blog .blog-item .project-img img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px; /* dziedziczy z rodzica, ale dodajemy dla pewności */
}
.form-control {height: calc(3.5rem + 2px);}
/* Tablety */
@media (max-width: 992px) {
  .blog .blog-item .project-img img {
    height: 300px;
  }
}
/* Kontener obrazka wyrównany do lewej */
.tresc-wpisu .cke_image_resettable.align-left, 
.tresc-wpisu figure.image-style-side,
.tresc-wpisu img[style*="float:left"],
.tresc-wpisu img.align-left {
    float: left;
    margin-top: 10px;      /* Odstęp od góry */
    margin-bottom: 15px;   /* Odstęp od dołu */
    margin-right: 20px;    /* Odstęp od tekstu po prawej stronie */
    margin-left: 0;        /* Przyklejony do lewej krawędzi */
    max-width: 100%;       /* Żeby obrazek nie wyszedł poza div na komórkach */
    height: auto !important;
}

/* Czyścimy opływanie po bloku tekstu, żeby tekst nie "wpadał" pod obrazek jeśli jest krótki */
.tresc-wpisu::after {
    content: "";
    display: table;
    clear: both;
}
.card-text{line-height:1.4em !important; font-size:0.88em; font-style: italic;}
/* Telefony */
@media (max-width: 576px) {
  .blog .blog-item .project-img img {
    height: 200px;
  }
}
h1 {font-size:1.7em !important;}
h2 {font-size:1.2em !important;}
h3 {font-size:1.0em !important;}
body{color:#030303;}

ul.contact-list {
    list-style: none;        /* usuwa kropki */
    margin: 0;
    padding: 0;
}

ul.contact-list li {
    display: flex;           /* ikona + tekst w jednej linii */
    align-items: center;
    gap: 8px;                /* odstęp między ikoną a tekstem */
    padding: 8px 0;          /* odstęp góra/dół */
    border-bottom: 1px solid #eee; /* linia oddzielająca */
    font-size: 16px;
}

ul.contact-list li:last-child {
    border-bottom: none;     /* brak linii w ostatnim */
}

ul.contact-list i {
    font-size: 18px;
    color: #0d6efd;          /* np. Bootstrap primary */
    min-width: 20px;         /* zachowanie wyrównania */
    text-align: center;
}




.sidebar-menu {
    position: sticky;
    top: 20px;
}

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

.menu-list li {
    margin-bottom: 2px;
}

.wpis ul {
  list-style: none;   /* wyłączamy standardowe kropki */
  margin: 0;          /* możesz zostawić domyślne np. 1em */
  padding-top: 1em;         /* to samo */
  padding-left: 1.5em;
}

.wpis ul li {
  position: relative;
  padding-left: 1em;  /* 🔹 tutaj sterujesz wcięciem */
  margin-bottom: 0.1em;
}

.wpis ul li::before {
  content: "";
  position: absolute;
  left: 0;             /* pozycja kwadracika */
  top: 0.45em;         /* pionowe wyrównanie */
  width: 0.5em;        /* szerokość kwadracika */
  height: 0.8em;       /* wysokość kwadracika */
  background-color: #901010; /* kolor kwadracika */
}



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

.menu-list a {
  display: block;
  padding: 12px 16px;       /* 🔹 większy obszar klikalny (≥44px wysokości) */
  color: #333;              /* bardzo dobry kontrast na białym tle */
  font-weight: 500;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
}

/* Hover – nie tylko kolor, ale też tło */
.menu-list a:hover {
  background: #f7f7f7;
  border-left-color: #901010;
  color: #901010;
}

/* Focus – wyraźny obrys dla użytkowników klawiatury */
.menu-list a:focus {
  outline: 3px solid #ffcc00;  /* żółty, mocny kontrast */
  outline-offset: 2px;
  background: #fffbe6;         /* delikatne tło dla większej czytelności */
}

/* Active – mocne wyróżnienie */
.menu-list a.active {
  background: #f0f0f0;
  border-left-color: #901010;
  font-weight: 700;            /* wyróżnienie nie tylko kolorem */
  color: #901010;
}

/* Active + Hover – nie odwracamy kontrastu, zostaje czytelny */
.menu-list a.active:hover {
  background: #e7e7e7;
  color: #000;
}

.menu-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.5em;
  padding-bottom: 0.25em;
  border-bottom: 2px solid #901010; /* 🔹 podkreślenie */
  display: inline-block;            /* linia pod samym tekstem */
}

.side-info {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #333;
}

.side-info .info-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd; /* <-- linia przerywana */
}

.side-info .info-item:last-child {
  border-bottom: none;
}

.side-info .info-item i {
  flex-shrink: 0;
  color: #901010;       /* akcent kolorystyczny */
  margin-right: 10px;
  font-size: 1.0rem;    /* czytelna wielkość */
  margin-top: 2px;      /* lekkie wyrównanie do tekstu */
}

.side-info .info-item strong {
  color: #000;
  font-weight: 600;
}

.side-info a {
  color: #901010;
  text-decoration: underline;
  transition: color 0.2s;
}

.side-info a:hover,
.side-info a:focus {
  color: #600808;
  outline: none;
}

.image-crop {
  width: 100%;
  padding-top: 33.33%; /* 1/3 wysokości kontenera względem szerokości */
  position: relative;
  overflow: hidden;
  margin: 20px 0 20px 0;
}

.image-crop img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}





.blog .blog-item .project-imga {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}
.text-dark{font-size:0.8em;}

.h4{font-size:18px;}
.opis h6 span{float:right;}
.display-4{font-size:40px;}
.cont{display:block;}
.blog-item h4{font-size:22px;}
.grey img {
  filter: grayscale(100%);
}
ul{list-style-type: none;}
.imgsylwetka
{
width:100%;
filter: grayscale(100%);
}
.opis img
{
width:100%;
padding-top:4px;
padding-bottom:14px;
filter: grayscale(0%);
}
a {
    word-wrap: break-word;
}
.btn {border-radius: 1px;}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
.logo{height:50px;}
.text-mutedd{color:#f2f2f2;font-size:15px;}
.text-center{text-align:center;}
.ikona{display:block;}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400; 
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-dark) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before, .navbar .navbar-nav .nav-item::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 0px solid var(--bs-primary);
  transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        /* Usuń display: block; i visibility: hidden; */
        top: 100%;
        transform: rotateX(-75deg); /* Początkowy stan ukrycia */
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 1px;
        margin-top: 20px !important;
        transition: .5s;
        opacity: 0; /* Początkowy stan ukrycia */
        z-index: 9;
        /* Dodaj: */
        pointer-events: none; /* Aby nie blokować elementów pod menu, gdy jest ukryte */
    }

    /* Gdy Bootstrap doda klasę .show, zastosuj animację */
    .navbar .nav-item .dropdown-menu.show {
        transform: rotateX(0deg); /* Końcowy stan widoczności */
        visibility: visible; /* Końcowy stan widoczności (nie jest absolutnie konieczne, ale dla spójności) */
        opacity: 1; /* Końcowy stan widoczności */
        pointer-events: auto; /* Zezwól na interakcje, gdy menu jest widoczne */
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }

}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -400px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;}
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0%   {left: 0px;}
    50%   {left: 70px;}
    100%  {left: 0px;}
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--bs-light);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }
    .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}

        .card-img-top {
            object-fit: cover;
            height: 200px;
        }

        .card-link {
            position: relative;
            display: block;
            overflow: hidden;
        }

        .card-img-top {
            transition: transform 0.3s ease;
        }

        .card-link:hover .card-img-top {
            transform: scale(1.05);
        }

        .play-icon-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: rgba(255, 255, 102, 0.6);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0.8;
            transition: opacity 0.3s ease, background-color 0.3s ease;
        }

        .card-link:hover .play-icon-overlay {
            background-color: rgba(0, 0, 0, 0.8);
            opacity: 1;
        }

        .play-icon-overlay svg {
            width: 30px;
            height: 30px;
        }
.card-img-top {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}        
/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb .bg-breadcrumb-single,
.bg-breadcrumb::before {
    pointer-events: none;
}


.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/tlo.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5px 0 5px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}


.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -100px;}
    75%   {top: -100px;}
    100%  {top: -200px;}
}


.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(204, 100, 80, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-secondary);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}
/*** Project End ***/

/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bs-dark);
    transition: 0.5s;
}

.team .team-item:hover {
    border: none !important;
}

.team .team-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0px;
    border: 1px solid;
    border-color: var(--bs-primary) transparent transparent var(--bs-primary) !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 0px;
    border: 1px solid;
    border-color: transparent var(--bs-primary) var(--bs-primary) transparent !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item:hover:after,
.team .team-item:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 8;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon .team-icon-share {
    position: relative;
    margin-top: -200px;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon .team-icon-share {
    margin-top: 0 !important;
}

.team .team-item .team-content {
    position: relative;
}

.team .team-content:hover {
    background: var(--bs-primary) !important;
    transition: 0.5s;
    color:#f2f2f2;
}

.team .team-item .team-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item .team-content::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item:hover .team-content::after,
.team .team-item:hover .team-content::before {
    width: 100% !important;
    height: 50% !important;
}

.team .team-item:hover .team-content .team-content-inner {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.team .team-item .team-content .team-content-inner h4,
.team .team-item .team-content .team-content-inner p {
    transition: 0.5s;
}

.team .team-item:hover .team-content .team-content-inner p {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content .team-content-inner h4 {
    color: var(--bs-dark) !important;
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
    background-image: url(../img/bg.png);
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 23px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/
/* Styl blockquote na front-end szlaków */
blockquote {
    position: relative;
    margin: 40px 0;
    padding: 30px 40px;
    background: #ffffff;
    border-left: 6px solid #8f0f0f; /* Kolor błękitny z Twojego panelu */
    border-radius: 4px 15px 15px 4px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    overflow: hidden; /* Dla ozdobnego tła */
}

/* Duży, stylowy cudzysłów w tle */
blockquote::before {
    content: "\f10d"; /* Ikona FontAwesome */
    font-family: 'FontAwesome';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 80px;
    color: #8f0f0f;
    opacity: 0.1; /* Bardzo delikatny, widoczny w tle */
    z-index: 0;
}

/* Styl dla autora cytatu */
blockquote cite {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #8f0f0f;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

blockquote cite::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #8f0f0f;
    vertical-align: middle;
    margin-right: 10px;
}

/* Wymuszamy, by modal był całkowicie nieprzezroczysty */
#searchModal .modal-content {
    background-color: #ffffff !important;
    opacity: 1 !important;
}

/* Stylizujemy pole wyszukiwania, by było bardziej widoczne */
#searchModal .form-control {
    border: 2px solid #dee2e6;
    border-radius: 50px 0 0 50px;
    font-size: 1.2rem;
}

#searchModal .btn {
    border-radius: 0 50px 50px 0;
}

/* Naprawa tła za modalem (backdrop) */
.modal-backdrop.show {
    opacity: 1 !important; /* Całkowite zasłonięcie strony */
    background-color: #ffffff !important; 
}