:root {
  /* Główne kolory strony */
  --hover-color: #FF8800;
  --text-color: #333;
  --bg-hover: #f0f0f0;

  /* Kolory dla menu głównego */
  --border-color: #e7e7e7;        /* Obramowanie elementów menu */
  --dropdown-text-color: #252525; /* Kolor tekstu w menu rozwijanym */
  --arrow-color: #ff8c00;         /* Kolor strzałek w menu */

  /* Kolory dla elementów daty w artykułach */
  --date-bg-color: #EC430F;       /* Tło dla elementu daty */
  --date-text-color: #fff;        /* Kolor tekstu daty */

  /* Kolory dla pionowego menu (vm) */
  --vm-hover-bg: #f2f0f0;         /* Tło dla efektu hover w menu pionowym */

  /* Kolory dla box menu */
  --box-menu-bg: #ffffff;         /* Tło dla box menu */
  --box-menu-border: #e0e0e0;     /* Obramowanie box menu */
  --box-menu-shadow: rgba(0, 0, 0, 0.1); /* Cień box menu */
  --box-menu-title-color: #333333;       /* Kolor tytułu w box menu */
  --box-menu-title-border: #ff8c00;      /* Obramowanie tytułu w box menu */
  --header-bakground:#fff; /* Header backround */

  /* Zmienne dla animacji i efektów */
  --transition-speed: 0.3s;
  --animation-duration: 1s;
  --animation-timing: ease-in-out;
  --zoom-scale: 1.05;
  --rotate-angle: 2deg;
}
/* LOGO */
.header-sticky .logo img{transform:scale(0.8);transition:transform .3s ease-in-out;margin-top:10px}
/* header */
#sp-header {
background-color: var(--header-bakground);
    
}
/* Menu Styles */
body.ltr .sp-megamenu-parent>li.sp-has-child>a:after, 
body.ltr .sp-megamenu-parent>li.sp-has-child>span:after {
    font-family: "Font Awesome 6 Free";
    content: "";
    float: left;
    margin-left: 7px;
    font-weight: 900;
    display: none;
}

.sp-megamenu-parent > li > a {
  position: relative;
  text-decoration: none;
  padding: 0 15px;
  color: var(--text-color);
  transition: color var(--transition-speed) ease-in-out, 
              background-color var(--transition-speed) ease-in-out;
}

.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li.active > a {
  color: var(--hover-color);
  background-color: var(--bg-hover);
}

.sp-megamenu-parent > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background-color: var(--hover-color);
  transition: width 0.4s ease-in-out;
}

.sp-megamenu-parent > li > a:hover::after,
.sp-megamenu-parent > li.active > a::after {
  width: 100%;
}

.sp-megamenu-parent > li {
  position: relative;
  display: inline-block;
}

.sp-megamenu-parent > li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--text-color), transparent);
  transition: transform var(--transition-speed) ease, 
              background-color var(--transition-speed) ease;
  transform: scaleY(0.8);
}

.sp-megamenu-parent > li:hover::after {
  transform: scaleY(1);
  background: linear-gradient(to bottom, transparent, var(--hover-color), transparent);
}

.sp-megamenu-parent > li > a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--hover-color);
  opacity: 0;
  transition: opacity var(--transition-speed) ease, 
              transform var(--transition-speed) ease;
}

.sp-megamenu-parent > li > a:hover::before,
.sp-megamenu-parent > li.active > a::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sp-megamenu-parent > li.active > a::before {
  animation: pulse-triangle var(--animation-duration) infinite;
}

@keyframes pulse-triangle {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(0) scale(var(--zoom-scale)); }
}

/* Dropdown Menu */
.sp-megamenu-parent > li > ul.sp-dropdown {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sp-megamenu-parent > li:hover > ul.sp-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Istniejące style dla menu */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    color: var(--dropdown-text-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease-in-out;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a::before {
    content: "▶";
    color: var(--arrow-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.3s ease-in-out;
}

/* Nowe style dla efektu ruchu po najechaniu */
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover {
    color: var(--hover-color);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover::before {
    animation: move-arrow 0.5s infinite alternate ease-in-out;
    color: var(--hover-color);
}

/* Definicja animacji ruchu w lewo i prawo */
@keyframes move-arrow {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(3px);
    }
}

/* Article Styles */
.sppb-addon-article {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-speed) ease;
}

/* Image Styles */
.image-article img {
    width: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-speed) var(--animation-timing), 
                border-color var(--transition-speed) var(--animation-timing), 
                filter var(--transition-speed) var(--animation-timing);
}

.image-article img:hover {
    transform: scale(var(--zoom-scale)) rotateY(var(--rotate-angle)); 
    filter: brightness(0.7);
}

/* Date Styles */
.published,
.sppb-meta-date {
  --r: 0.8em;
  font-size: 28px;
  font-weight: bold;
  color: var(--date-text-color);
  position: absolute;
  left: 20px;
  top: calc(-1 * var(--r));
  border-inline: 0.5em solid transparent;
  padding: 0.8em 0.2em calc(var(--r) + 0.2em);
  clip-path: polygon(
    0 0, 100% 0, 100% 100%,
    calc(100% - 0.5em) calc(100% - var(--r)),
    50% 100%, 0.5em calc(100% - var(--r)),
    0 100%
  );
  background: 
    radial-gradient(50% 0.2em at top, var(--date-text-color), transparent) border-box,
    var(--date-bg-color) padding-box;
  width: fit-content;
  white-space: nowrap;
  z-index: 1;
}

.article-info > span + span::before {
  display: inline-block;
  padding: 0;
  content: '';
}

/* image article effect */
.article-list .article {
  overflow: hidden;
}

.article-list .article .article-intro-image img {
  transition: transform var(--transition-speed) var(--animation-timing);
  min-height: 300px;
}

.article-list .article:hover .article-intro-image img {
  animation: zoomRotate var(--animation-duration) var(--animation-timing);
}

@keyframes zoomRotate {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(var(--zoom-scale)) rotate(var(--rotate-angle));
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* menu */
.vm {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.vm li {
    margin: 0;
    padding: 0;
}

.vm a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) var(--animation-timing);
}

.vm a:hover {
    background-color: var(--vm-hover-bg);
    padding-left: 15px;
}

.vm a::before {
    content: "\2192";
    color: var(--arrow-color);
    margin-right: 10px;
    transition: transform var(--transition-speed) var(--animation-timing);
}

.vm a:hover::before {
    transform: translateX(5px);
}

/* box-menu */
.box-menu {
    background-color: var(--box-menu-bg);
    border: 1px solid var(--box-menu-border);
    border-radius: 5px;
    padding: 20px;
    margin-top: 60px;
    box-shadow: 0 2px 5px var(--box-menu-shadow);
}

.box-menu h3 {
    color: var(--box-menu-title-color);
    border-bottom: 2px solid var(--box-menu-title-border);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}
.border-news {
	border: solid 1px #e0e0e0;
	border-image: linear-gradient(to bottom, #d2d2d2, rgba(0, 0, 0, 0)) 1 15%;
}
.grey{
color:#1C476C;
}
.orange{
color:orange;
}
.blue {
    color: #ffffff;
    text-shadow: 
        0 0 5px #00e6ff,
        0 0 3px #00e6ff,
        0 0 3px #00e6ff,
        0 0 3px #00e6ff;
}

/* divider */


        .divider {
            width: 100%;
            height: 1px;
            background-color: #e0e0e0;
            position: relative;
            margin: 10px 0;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            right: 50%;
            bottom: 0;
            background-color: #ffa500;
            transition: all 0.5s ease;
        }

        .box:hover .divider::before,
        .box.active:hover .divider::before {
            left: 0;
            right: 0;
        }

        /* li */
.links {
    list-style-type: none;
    padding: 0;
}

.links li {
    margin: 10px 0;
}

.links a {
    display: block;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.links a:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #e0e0e0;
}

.links a:hover::before {
    left: 100%;
}

.links a::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.links a:hover::after {
    opacity: 1;
    right: 15px;
}
        /* image hover */
  .image-hover {
       
            overflow: hidden;
      
            position: relative;
        }

        .image-hover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.6s ease;
            filter: saturate(50%);
            transform-origin: center center;
        }

        .image-hover:hover img {
            transform: scale(1.5) rotate(5deg);
            filter: saturate(150%);
        }

        .image-hover::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
         
            border-radius: 5px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .image-hover:hover::after {
            opacity: 1;
        }
      /* footer menu */
.footer-vmenu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-vmenu li {
    margin-bottom: 0; /* Usunięto odstęp między elementami listy */
}

.footer-vmenu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 1px 0; /* Dodano minimalny padding dla zachowania klikalności */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #444;
}

.footer-vmenu a::before {
    content: '›';
    color: #ff6600;
    font-size: 20px;
    margin-right: 10px;
}

.footer-vmenu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6600;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.footer-vmenu a:hover::after {
    transform: translateX(0);
}

/* ofcanvas */
/* Główny kontener menu */
.offcanvas-menu .offcanvas-inner ul.menu {

  position: relative;
  padding: 0.25rem 0;
}

/* Jasna linia po lewej stronie */
.offcanvas-menu .offcanvas-inner ul.menu::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #f0f0f0; /* Jasnoszary */
}

/* Style dla elementów głównego menu */
.offcanvas-menu .offcanvas-inner ul.menu > li {
  position: relative;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > div {
  display: block;
  padding: 0.5rem 1rem;
  color: #333333; /* Ciemnoszary */
  text-decoration: none;
  transition: color 0.3s ease;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover > a,
.offcanvas-menu .offcanvas-inner ul.menu > li:hover > div,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a {
  color: #FF6600; /* Pomarańczowy */
}

/* Style dla elementów z submenu */
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div > span:last-child {
  color: #888888; /* Średnioszary */
}

/* Pomarańczowa kreska - widoczna tylko dla aktywnego elementu i przy hover */
.offcanvas-menu .offcanvas-inner ul.menu > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #FF6600; /* Pomarańczowy */
  transform: scaleY(0);
  transition: transform 0.2s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover::before,
.offcanvas-menu .offcanvas-inner ul.menu > li.active::before {
  transform: scaleY(1);
}

/* Submenu */
.offcanvas-menu .offcanvas-inner ul.menu ul {
  display: none;
  padding-left: 1rem;
  background-color: #f9f9f9; /* Jasnoszare tło dla submenu */
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:hover > ul,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:focus-within > ul {
  display: block;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li {
  position: relative;
  padding-left: 12px;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li > a {
  display: block;
  padding: 0.25rem 0.5rem;
  color: #555555; /* Ciemnoszary dla submenu */
  text-decoration: none;
  transition: color 0.3s ease;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover > a {
  color: #FF6600; /* Pomarańczowy */
}

/* Strzałki dla submenu */
.offcanvas-menu .offcanvas-inner ul.menu ul > li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #888888; /* Średnioszary */
  font-size: 0.8em;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover::before {
  color: #FF6600; /* Pomarańczowy */
}
/* box-1 */
.box-1 {
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 10px;
}

.box-1:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.box-1:hover::before {
  border-color: #ff5722;
  animation: borderAnimation 1.5s linear forwards;
}

.box-1 h3 {
  color: #ff5722; /* HouseSmart orange color */
  margin-top: 0;
  font-size: 24px;
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 10px 0;
  padding-left: 15px;
  transition: text-shadow 0.3s ease;
}

.box-1 h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  width: 3px;
  background-color: #ff5722;
  transition: height 0.3s ease;
}

.box-1:hover h3::before {
  height: 100%;
  animation: expandLine 0.3s ease-out forwards;
}

.box-1:hover h3 {
  animation: glowPulse 2s infinite;
}

.box-1 p {
  position: relative;
  z-index: 1;
}

@keyframes borderAnimation {
  0% {
    clip-path: inset(0 0 98% 0);
  }
  25% {
    clip-path: inset(0 98% 0 0);
  }
  50% {
    clip-path: inset(98% 0 0 0);
  }
  75% {
    clip-path: inset(0 0 0 98%);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 5px rgba(255, 87, 34, 0.5); }
  50% { text-shadow: 0 0 20px rgba(255, 87, 34, 0.8); }
}

@keyframes expandLine {
  0% { height: 0; }
  100% { height: 100%; }
}

/* box 2 */
.box-2 {
  background-color: #fff; /* Ciemny szary kolor tła */
 
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.box-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.box-2:hover::before {
  transform: translateY(0);
}

.box-2:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.box-2 h3 {
  color: #f39c12; /* Jaskrawy pomarańczowy dla tytułu */
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  transition: color 0.3s ease;
}

.box-2 h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #1C476C;
  transition: width 0.3s ease;
}

.box-2:hover h3::after {
  width: 100px;
}

.box-2 p {
  line-height: 1.6;
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

.box-2:hover p {
  transform: scale(1.05);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.box-2:hover::before {
  animation: gradientShift 3s ease infinite;
  background-size: 300% 300%;
}

/* box-3 */
.box-3 {
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-3::before,
.box-3::after {
  content: '';
  position: absolute;
  width: 15%;
  height: 15%;
  transition: all 0.3s ease;
}

.box-3::before {
  top: 0;
  left: 0;
  border-top: 2px solid #ff5722;
  border-left: 2px solid #ff5722;
}

.box-3::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #ff5722;
  border-right: 2px solid #ff5722;
}

.box-3:hover::before,
.box-3:hover::after {
  width: 100%;
  height: 100%;
}

.box-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.box-3 h3 {
  color: #ff5722;
  margin-top: 0;
  font-size: 24px;
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 10px 0;
  padding-left: 15px;
  transition: text-shadow 0.3s ease;
}

.box-3 h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  width: 3px;
  background-color: #ff5722;
  transition: height 0.3s ease;
}

.box-3:hover h3::before {
  height: 100%;
}

.box-3:hover h3 {
  text-shadow: 0 0 8px rgba(255, 87, 34, 0.8);
}

.box-3 p {
  position: relative;
  z-index: 1;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(255, 87, 34, 0.5); }
  50% { text-shadow: 0 0 20px rgba(255, 87, 34, 0.8); }
}

/* box-4 */
.box-4 {
  background-color: #f5f5f5; /* Jasny szary kolor tła */
  color: #333; /* Ciemny szary kolor tekstu */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.box-4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #bbb, #999, #777, #555);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.box-4:hover::before {
  transform: scaleX(1);
}

.box-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.box-4 h3 {
  color: #444; /* Ciemniejszy szary dla tytułu */
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
  transition: color 0.3s ease;
}

.box-4 h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #777;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.box-4:hover h3::after {
  width: 80px;
  background-color: #555;
}

.box-4 p {
  line-height: 1.5;
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

.box-4:hover p {
  transform: translateX(5px);
}

.box-4::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #e0e0e0 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.box-4:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

@keyframes pulseGradient {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.box-4:hover::before {
  animation: pulseGradient 2s ease-in-out infinite;
}
/* box-5 */
.box-5 {
  background:#fff;
  color: #2c3e50;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.box-5::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.box-5:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.box-5:hover::before {
  opacity: 1;
  animation: shine 1.5s infinite;
}

.box-5 h3, box-5 h1 {
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.box-5:hover h3, .box-5:hover h1 {
  transform: scale(1.05);
}

.box-5 h3::after, .box-5 h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  transition: width 0.3s ease;
}

.box-5:hover h3::after, .box-5:hover h1::after {
  width: 100%;
}



.box-5::after {
  content: '→';
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 24px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.box-5:hover::after {
  opacity: 1;
  transform: translateX(0);
}

@keyframes shine {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* box-txt */
.box-txt {
  background-color: #f8f9fa;
  color: #343a40;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.box-txt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #dee2e6, #ced4da, #adb5bd, #6c757d);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.box-txt:hover::before {
  transform: translateY(0);
}

.box-txt:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.box-txt h3 {
  color: #6c757d;
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.box-txt h3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #6c757d;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.box-txt:hover h3 {
  color: #495057;
  transform: scale(1.05);
}

.box-txt:hover h3::before {
  transform: translateX(0);
}

.box-txt p {
  line-height: 1.6;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.box-txt:hover p {
  transform: scale(1.05);
}

/* Nowy styl dla wytłuszczonego tekstu */
.box-txt strong {
  color: #ff8c00; /* Ciemny pomarańczowy kolor */
  font-weight: 700; /* Upewniamy się, że tekst jest wytłuszczony */
  transition: color 0.3s ease;
}

.box-txt:hover strong {
  color: #ff7f00; /* Nieco jaśniejszy pomarańczowy przy najechaniu na .box-txt */
}

/* Stylizacja dla elementów li */
.box-txt ul {
  list-style-type: none;
  padding-left: 0;
}

.box-txt li {
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.box-txt li:last-child {
  border-bottom: none;
}

.box-txt li:hover {
  padding-left: 10px;
  background-color: #e9ecef;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.box-txt:hover::before {
  animation: gradientShift 3s ease infinite;
  background-size: 300% 300%;
}
/* box image */
.styled-title {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #003366;  /* Ciemnoniebieski kolor tekstu */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding: 10px 0;
}

.styled-title::before,
.styled-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 100px;
}

.styled-title::before {
  top: 0;
  background: linear-gradient(to right, #e91e63, #003366);  /* Gradient od różowego do niebieskiego */
}

.styled-title::after {
  bottom: 0;
  background: linear-gradient(to right, #003366, #e91e63);  /* Gradient od niebieskiego do różowego */
}
/* search */
.mod-finder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-wrapper {
    position: relative;
    display: inline-block;
}

.js-finder-search-query {
    width: 140px; /* Początkowa szerokość */
    padding: 4px 10px;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.3s ease-in-out;
    outline: none;
    border-radius: 0;
    font-size: 14px;
}

.js-finder-search-query:focus,
.js-finder-search-query:not(:placeholder-shown) {
    width: 227px; /* Zwiększone o 30% z poprzedniej wartości 175px */
    border-color: #ddd;
}

.search-button {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Styl dla Awesomplete */
.awesomplete {
    width: 100%;
}

.awesomplete > ul {
    position: absolute;
    left: 0;
    z-index: 1;
    min-width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 1px 0 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
}

.awesomplete > ul:empty {
    display: none;
}

.awesomplete > ul > li {
    padding: 4px 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.awesomplete > ul > li:hover {
    background: #f8f9fa;
}
/* Button */
@keyframes buttonBorderPulse {
  0% { border-color: #6c757d; }
  50% { border-color: #ff8c00; }
  100% { border-color: #6c757d; }
}

@keyframes buttonReflectionSlide {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.but-1 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #6c757d;
  background-color: transparent;
  border: 2px solid #6c757d;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.but-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 140, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1;
}

.but-1::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 70px;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: all 0.3s ease;
  z-index: 2;
}

.but-1:hover {
  color: #ff8c00;
  animation: buttonBorderPulse 2s infinite;
}

.but-1:hover::before {
  left: 0;
}

.but-1:hover::after {
  animation: buttonReflectionSlide 1.5s infinite;
}

.but-1:active {
  transform: scale(0.95);
}
/* scroll up */
.sp-scroll-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s;
}

.sp-scroll-up:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.sp-scroll-up::before,
.sp-scroll-up::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.sp-scroll-up::before {
  animation-name: rotateClockwise;
}

.sp-scroll-up::after {
  animation-name: rotateCounterClockwise;
}

.sp-scroll-up .fas {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.7);
}

@keyframes rotateClockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounterClockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* Dodatkowa animacja dla ikony przy najechaniu */
.sp-scroll-up:hover .fas {
  animation: bounce 0.5s ease infinite alternate;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}
/* time line zoom */
.timeline-panel {
  transition: transform 0.3s ease;
}

.timeline-panel:hover {
  transform: scale(1.05);
}
/* slideshow arrows */
@keyframes controlHover {
  0% {
    transform: scale(1) rotate(0deg);
    background-color: transparent;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    background-color: rgba(254, 131, 0, 0.1);
  }
  100% {
    transform: scale(1) rotate(360deg);
    background-color: transparent;
  }
}

.sppb-carousel-extended-nav-control .nav-control {
  cursor: pointer;
  text-align: center;
  font-size: 24px;
  border-radius: 3px;
  color: #fe8300;
  border: 1px solid #d7d7d7;
  transition: .35s;
}

.sppb-carousel-extended-nav-control .nav-control:hover {
  animation: controlHover 0.8s ease-in-out;
}
/* animated border sections  */
#section-divider {
  position: relative;
  padding: 20px;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}

#section-divider::before,
#section-divider::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background-image: linear-gradient(to right, #6c757d 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  transition: width 0.6s ease;
  left: 50%;
  transform: translateX(-50%);
}

#section-divider::before {
  top: -1px;
}

#section-divider::after {
  bottom: -1px;
}

#section-divider:hover::before,
#section-divider:hover::after {
  width: 100%;
}
/* animated border sections 3  */
#section-divider3 {
  position: relative;
  padding: 20px;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}

#section-divider3::before,
#section-divider3::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background-image: linear-gradient(to right, #6c757d 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  transition: width 0.9s ease;
  left: 50%;
  transform: translateX(-50%);
}

#section-divider3::before {
  top: -1px;
}

#section-divider3::after {
  bottom: -1px;
}

#section-divider3:hover::before,
#section-divider3:hover::after {
  width: 100%;
}
/* animated border sections  1 */
#section-divider-1 {
  position: relative;
  padding: 20px;
  border-top: 1px solid #e9ecef;
}

#section-divider-1::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ff8c00;
  animation: borderSlide 3s infinite ease-in-out;
}

@keyframes borderSlide {
  0% {
    left: -100%;
    right: 100%;
  }
  50% {
    left: 0;
    right: 0;
  }
  100% {
    left: 100%;
    right: -100%;
  }
}
/* button form home */
