.main-slider {
    height: calc(100vh - 146px);
    position: relative;
}

.main-slider .row {
    height: calc(100vh - 146px);
}

.main-slider .file-video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

.main-slider .file-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    object-fit: cover;
}

.main-slider .file-video::after {
    content: '';
    z-index: 1;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.25;
}

.main-slider.video-slider .img-container::after, .main-slider.video-slider .img-container img {
    opacity: 0 !important;
}

.main-slider .swiper {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}

.main-slider .img-container {
    aspect-ratio: unset;
    height: 100%;
    z-index: 0;
}

.main-slider .text {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    left: 0;
    top: 0;
}

.main-slider .col, .main-slider .row {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
}

.main-slider .col {
    width: 100%;
}


.main-slider .h3 {
    color: white;
    margin: 0;
    display: block;
    margin-bottom: -12px;
    float: left;
    clear: both;
    transition: all 0.5s ease-in-out;
    transform: translateX(48px) translateY(0px);
    opacity: 0;
    font-weight: 900;
}

.main-slider .text-right .h3  {
    float: right;
    text-align: right;
    transform: translateX(-48px) translateY(0px);

}

.main-slider .swiper-slide-active .h3 {
    transition-delay: 0.6s;
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}

.main-slider .h1 {
    color: white;
    display: block;
    margin: 0;
    font-weight: 900;
    font-size: 54px;
    float: left;
    clear: both;
}

.main-slider .h1 {
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: translateX(-48px) translateY(0px);
}

.main-slider .text-right .h1 {
    text-align: right;
    float: right;
    transform: translateX(48px) translateY(0px);
}


.main-slider .swiper-slide-active .h1 {
    transition-delay: 0.6s;
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}


.main-slider .text-description {
    margin-bottom: 48px;
    clear: both;
    float: left;
    max-width: 50%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease-in-out;

}

.main-slider .text-right .text-description {
    float: right;
    text-align: right;
}

.main-slider .swiper-slide-active .text-description {
    transition-delay: 0.9s;
    opacity: 1;
}

.main-slider .text-description p {
    margin: 0 !important;
    color: white;
    font-size: 18px;
    line-height: 160%;
    opacity: 0.85;
    font-weight: 400;
}

.main-slider .button {
    float: left;
    clear: both;
}

.main-slider .text-right .button {
    float: right;
}

.main-slider .button-container {
    transform: translateX(0px) translateY(-12px);
    transition: all 0.6s ease-in-out;
    opacity: 0;
    transition-delay: 0.1s;
}

.main-slider .swiper-slide-active .button-container {
    transform: translateX(0px) translateY(0px);
    transition-delay: 0.6s;
    opacity: 1;
}

.main-slider .img-container img {
    transition: all 0.5s ease-in-out;
    transform: scale(1.25);
    opacity: 1;
}


.main-slider .swiper-slide-active .img-container img {
    transition-delay: 0.3s;
    transform: scale(1);
    opacity: 1;
}

.main-slider .img-container.loaded::after {
    opacity: 1;
    background-color: transparent;
    visibility: visible;
    background: linear-gradient(to right,  rgba(40,40,40,0.95) 0%,rgba(88,88,88,0.5) 100%); 
}

.main-slider .text-right .img-container.loaded::after {
    background: linear-gradient(to right,  rgba(88,88,88,0.5) 0%,rgba(40,40,40,0.95) 100%); 
}

.swiper-button-next, .swiper-button-prev {
    background-color: #ffffff;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    color: #2f2e2d;
}

.swiper-button-next:hover, .swiper-button-prev:hover, .swiper-button-next:hover::before, .swiper-button-prev:hover::before {
    background-color: #2f2e2d !important;
    color: white !important;
}

.swiper-button-prev::before, .swiper-button-next::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: -39px;
    left: -39px;
    width: 78px;
    height: 78px;
    background-color: white;
    transform: rotate(45deg);
}

.swiper-button-next::before {
    top: auto;
    left: auto;
    right: -39px;
    bottom: -39px;
}

.swiper-button-next {
    right: 6px;
    transform: scale(1.2) rotate(-45deg);
}

.swiper-button-prev {
    left: 6px;
    transform: scale(1.2) rotate(-45deg);
}

.swiper-button-next::after {
    transform: rotate(45deg);
    z-index: 2;
    position: absolute;
    margin-bottom: -12px;
    margin-right: -12px;
}

.swiper-button-prev::after {
    transform: rotate(45deg);
    z-index: 2;
    position: absolute;
    margin-top: -12px;
    margin-left: -12px;
}



.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px;
}



.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 24px;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 1;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
    transform: skewX(-15deg);
}

.swiper-pagination-bullet-active {
    background: #2d3168 !important;
    width: 24px;
 }

 /* blog slider */
 .blog-slider .swiper-button-next, .blog-slider .swiper-button-prev,  .blog-slider .swiper-button-next::before, .blog-slider .swiper-button-prev::before {
    background-color: #2f2f2f;
    color: white;
}



.blog-slider .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.5);
}

 .blog-slider .top .col {
    flex-wrap: wrap;
 }

 .blog-slider .top .h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #df3237;
  }



 .blog-slider .top .h1 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 900;
 }

 .blog-slider .top .h2 {
    opacity: 0;
    transition: all 0.6s ease-in-out;
    transform: translateX(-60px) translateY(0px);
 }

 .blog-slider .top .h1 {
    opacity: 0;
    transition: all 0.6s ease-in-out;
    transform: translateX(60px) translateY(0px);
 }

 .blog-slider.anim .top .h2 {
    opacity: 1;
    transform: translateX(0px) translateY(0px);
 }

 .blog-slider.anim .top .h1 {
    opacity: 1;
    transform: translateX(0px) translateY(0px);
 }

 .blog-slider .bottom {
    transition: all 0.6s ease-in-out;
    opacity: 0;
 }

 .blog-slider.anim .bottom {
    transition-delay: 0.6s;
    opacity: 1;
 }

 .blog-slider .top {
    padding-top: 60px;
    padding-bottom: 30px;
 }

 .blog-slider .top .row,  .blog-slider .top .col {
    padding-top: 0;
    padding-bottom: 0;
 }

 .blog-slider .bottom {
    padding-top: 60px;
    padding-bottom: 60px;
 }

 .blog-slider .bottom .row,  .blog-slider .bottom .col {
    padding-top: 0;
    padding-bottom: 0;
 }

 .blog-slider .bottom .button {
    margin-bottom: 0;
 }


 .blog-slider .text-right .section  .col-img:first-child {
    display: block;
 }

 .blog-slider .text-right .section  .col-img:last-child {
    display: none;
 }

 .blog-slider .text-right .section .button {
    background-color: #2f2e2d;
 }

 .blog-slider.section:nth-child(odd) .section {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.0);
}

.blog-slider.section:nth-child(even) .section {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.0);
    border-bottom: 1px solid rgba(0, 0, 0, 0.0);
}

/* Opinie */

.opinions-slider .top, .opinions-slider .top  .col, .opinions-slider .bottom, .opinions-slider .bottom  .col {
    padding-top: 0;
    padding-bottom: 0;
}

.opinions-slider .top {
    padding-top: 80px;
}

.opinions-slider .bottom {
    padding-top: 24px;
    padding-bottom: 60px;
}

.opinions-slider .swiper-pagination {
    margin-bottom: 50px;
}

.opinions-slider {
    padding-bottom: 40px;
}

.opinions-slider .top .h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #df3237;
}

.opinions-slider .top .col {
    flex-wrap: wrap;
}

 .opinions-slider .top .h1 {
    width: 100%;
    text-align: center;
    margin: 0;
}

.opinions-slider .top {
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(-60px);
    opacity: 0;
}

.opinions-slider.anim .top {
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}

.opinions-slider .col-full {
    display: block;
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(60px);
    opacity: 0;
}

.opinions-slider.anim .col-full {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0px) translateY(0px);
}

.opinions-slider .col-full .swiper {
    padding: 24px;
    width: calc(100% + 48px);
    margin-left: -24px;
}

.opinions-slider .swiper-slide .full {
    padding: 24px;
    text-align: center;
    margin-top: 40px;
    min-height: 260px;
    background-color: white;
    position: relative;
    border-radius: 0;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.05);
}

.opinions-slider .swiper-slide .full::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: 0;
    background-color: transparent !important;
    background: linear-gradient(to right, #2f2f2f 0%,#2f2f2f 100%);
    opacity: 0;
    transition: all 0.6s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);

}

.opinions-slider .swiper-slide .full .text {
    position: relative;
    z-index: 2;
}

.section.opinions-slider:nth-child(even) .swiper-slide .full {
    background-color: #f9f9f9;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.075);
}

.opinions-slider .bottom .h4 {
    transition: all 0.6s ease-in-out;
    margin: 0;
    font-size: 24px;
    margin-bottom: 6px;
}

.opinions-slider .bottom .h5 {
    transition: all 0.6s ease-in-out;
    margin: 0;
    font-size: 16px;
}

.opinions-slider .bottom p {
    transition: all 0.6s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opinions-slider .swiper-slide.swiper-slide-next .full::before {
    opacity: 1;
}

.opinions-slider .swiper-slide.swiper-slide-next .full * {
    color: white;
}

.opinions-slider .swiper-slide .img-container  {
    aspect-ratio: 1/1;
    max-width: 120px;
    border-radius: 0;
    margin-top: -60px;
    margin-bottom: 36px;
    transform: rotate(45deg);
    border: 4px solid white;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.1);
}

.opinions-slider .swiper-slide .img-container img {
    transform: rotate(-45deg);
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
}

.opinions-slider.team-slider .swiper-slide .img-container {
    transform: rotate(0);
}

.opinions-slider.team-slider .swiper-slide .img-container img {
    transform: rotate(0);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}


.opinions-slider .swiper-scrollbar {
    display: none;
}

.opinions-slider .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.75);
}

.opinions-slider .swiper-button-next, .opinions-slider .swiper-button-prev, .opinions-slider .swiper-button-next::before, .opinions-slider .swiper-button-prev::before {
    background-color: #2f2f2f;
    color: white;
}



/* Certyfikaty */

.certyficates-slider .top, .certyficates-slider .top  .col, .certyficates-slider .bottom, .certyficates-slider .bottom  .col {
    padding-top: 0;
    padding-bottom: 0;
}

.certyficates-slider .top {
    padding-top: 80px;
}

.certyficates-slider .bottom {
    padding-top: 24px;
    padding-bottom: 60px;
}

.certyficates-slider .swiper-pagination {
    margin-bottom: 50px;
}

.certyficates-slider {
    padding-bottom: 40px;
}

.certyficates-slider .top .h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #df3237;
}

.certyficates-slider .top .col {
    flex-wrap: wrap;
}

 .certyficates-slider .top .h1 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 900;
}

.certyficates-slider .top {
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(-60px);
    opacity: 0;
}

.certyficates-slider.anim .top {
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}

.certyficates-slider .col-full {
    display: block;
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(60px);
    opacity: 0;
}

.certyficates-slider.anim .col-full {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0px) translateY(0px);
}

.certyficates-slider .col-full .swiper {
    padding: 24px;
    width: calc(100% + 48px);
    margin-left: -24px;
}

.certyficates-slider .swiper-slide .full {
    padding: 12px;
    text-align: center;
    margin-top: 0;
    background-color: white;
    position: relative;
    border-radius: 5px;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.05);
}


.certyficates-slider .swiper-slide .full .text {
    position: relative;
    z-index: 2;
}

.section.certyficates-slider:nth-child(even) .swiper-slide .full {
    background-color: #f9f9f9;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.075);
}


.certyficates-slider .bottom .h5 {
    transition: all 0.6s ease-in-out;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
}



.certyficates-slider .swiper-slide.swiper-slide-next .full::before {
    opacity: 1;
}


.certyficates-slider .swiper-slide .img-container  {
    width: 100%;
    height: auto;
    aspect-ratio: 400/550;
    margin-bottom: 12px;
}

.certyficates-slider .swiper-scrollbar {
    display: none;
}

.certyficates-slider .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.5);
}

.certyficates-slider .swiper-button-next, .certyficates-slider .swiper-button-prev, .certyficates-slider .swiper-button-next::before, .certyficates-slider .swiper-button-prev::before {
    background-color: #2c2c2c;
    color: white;
}



/* Koniec Certyfikaty */

/* Team */

.team-slider .top, .team-slider .top  .col, .team-slider .bottom, .team-slider .bottom  .col {
    padding-top: 0;
    padding-bottom: 0;
}

.team-slider .top {
    padding-top: 80px;
}

.team-slider .bottom {
    padding-top: 24px;
    padding-bottom: 60px;
}

.team-slider .swiper-pagination {
    margin-bottom: 50px;
}

.team-slider {
    padding-bottom: 40px;
}

.team-slider .top .h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.team-slider .top .col {
    flex-wrap: wrap;
}

 .team-slider .top .h1 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 900;
}

.team-slider .top {
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(-60px);
    opacity: 0;
}

.team-slider.anim .top {
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}

.team-slider .col-full {
    display: block;
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(60px);
    opacity: 0;
}

.team-slider.anim .col-full {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0px) translateY(0px);
}

.team-slider .col-full .swiper {
    padding: 24px;
    width: calc(100% + 48px);
    margin-left: -24px;
}

.team-slider .swiper-slide .full {
    padding: 24px;
    padding-bottom: 48px;
    text-align: center;
    margin-top: 120px;
    min-height: 0;
    background-color: white;
    position: relative;
    border-radius: 15px;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.05);
}

.team-slider .swiper-slide .full::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    border-radius: 15px;
    background-color: transparent !important;
    background: linear-gradient(to right, rgba(88,88,88,1) 0%,rgba(88,88,88,1) 100%);
    opacity: 0;
    transition: all 0.6s ease-in-out;
}

.team-slider .swiper-slide .full .text {
    position: relative;
    z-index: 2;
}

.section.team-slider:nth-child(even) .swiper-slide .full {
    background-color: #f9f9f9;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.075);
}

.team-slider .bottom .h4 {
    transition: all 0.6s ease-in-out;
    margin: 0;
    font-size: 24px;
    margin-bottom: 6px;
}

.team-slider .bottom .h5 {
    transition: all 0.6s ease-in-out;
    margin: 0;
    font-size: 16px;
    margin-top: 12px;
}

.team-slider .bottom p {
    transition: all 0.6s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-slider .bottom p  a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
}

.team-slider .swiper-slide.swiper-slide-next .full::before {
    opacity: 1;
}

.team-slider .swiper-slide.swiper-slide-next .full * {
    color: white;
}

.team-slider .swiper-slide .img-container  {
    aspect-ratio: 1/1;
    max-width: 180px;
    border-radius: 120px;
    margin-top: -110px;
    margin-bottom: 12px;
    border: 4px solid white;
    box-shadow:  0px 0px 12px rgba(0, 0, 0, 0.1);
}

.team-slider .swiper-scrollbar {
    display: none;
}

.team-slider .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.5);
}

.team-slider .swiper-button-next, .team-slider .swiper-button-prev {
    background-color: #2f2f2f;
    color: white;
}



/* Koniec Team */


.product-slider-page {
    padding-top: 64px;
    position: relative;
}

.product-slider-page .row.top {
    padding: 0;
    padding-bottom: 32px;
}

.product-slider-page .row.top .col {
    padding-top: 0;
    padding-bottom: 0;
    display: block;
}

.product-slider-page .row.top .h2 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #2d3168;
}

.product-slider-page .row.top .h1 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-weight: 900;
}


.product-slider-page .row.bottom {
    padding: 0;
}

.product-slider-page .row.bottom .swiper {
    padding-bottom: 36px;
}

.product-slider-page  .img-container {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 0;
    margin-bottom: -3px;
    margin-bottom: 12px;
    background-color: white;
    clip-path: polygon(
        30px 0,              /* góra lewa */
        calc(100% - 30px) 0, /* góra prawa */
        100% 30px,           /* prawa góra */
        100% calc(100% - 30px), /* prawa dół */
        calc(100% - 30px) 100%, /* dół prawa */
        30px 100%,           /* dół lewa */
        0 calc(100% - 30px), /* lewa dół */
        0 30px               /* lewa góra */
      );
}

.product-slider-page  .img-container img {
    object-fit: cover;
}

.product-slider-page.gallery-slider  .img-container {
    aspect-ratio: 9/16;
}

.product-slider-page .text .h4 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-slider-page .text p {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 36px;
    text-align: center;
}

.product-slider-page .text {
    width: 100%;
    text-align: center;
}

.product-slider-page .swiper-scrollbar {
    display: none;
}

.product-slider-page .swiper-button-next, .product-slider-page .swiper-button-prev, .product-slider-page .swiper-button-next::before, .product-slider-page .swiper-button-prev::before {
    background-color: #2f2f2f;
    color: white;
}


.product-slider-page .top {
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(60px);
    opacity: 0;
}

.product-slider-page.anim .top {
    transform: translateX(0px) translateY(0px);
    opacity: 1;
}

.product-slider-page .col-full {
    display: block;
    transition: all 0.6s ease-in-out;
    transform: translateX(0px) translateY(-60px);
    opacity: 0;
}

.product-slider-page.anim .col-full {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0px) translateY(0px);
}

.swiper-product-slider-page-grid .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: calc(100% + 36px);
    max-width: 200%;
    margin-left: -18px;
}

.swiper-product-slider-page-grid  .swiper-slide {
    width: calc(33.333% - 18px);
    margin: 9px;
    height: auto;
    padding: 9px;
}

.certyficates-slider.partners .swiper-slide .full {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    padding-left: 12.5%;
    padding-right: 12.5%;
    background-color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.certyficates-slider.partners .swiper-pagination {
    visibility: hidden;
}


.certyficates-slider.partners .swiper-slide .img-container {
    aspect-ratio: 16/12;
    margin-bottom: 0;
}

.certyficates-slider .swiper-scrollbar {
    display: none;
}

.certyficates-slider.partners .swiper-scrollbar {
    display: none;
}

.certyficates-slider.partners .h5 {
    display: none;
}

.certyficates-slider.partners .img-container img {
    position: relative;
    object-fit: scale-down;
    margin-bottom: 0;
    width: 100%;
    height: 70%;
    margin-top: 10%;
    margin-left: 0;
}

.certyficates-slider.partners .img-container::before, .certyficates-slider.partners .img-container::after {
    display: none !important;
}

.certyficates-slider.partners .partners-swiper-grid {
    position: relative;
    height: auto;
}

.certyficates-slider.partners .partners-swiper-grid  .swiper-wrapper {
    flex-wrap: wrap;
    width: calc(100% + 36px);
    margin-left: -18px;
}

.certyficates-slider.partners .partners-swiper-grid  .swiper-wrapper .swiper-slide {
    width: calc(25% - 36px);
    margin: 18px;
}


@media screen and (max-width: 1420px) {
    .main-slider .text .full {
        padding-left: 64px;
        padding-right: 64px;
    }

    .blog-slider .middle .section {
        padding-left: 64px;
        padding-right: 64px;
    }

}    

/* mobial */
@media screen and (max-width: 890px) {

    .main-slider {
        height: calc(100vh - 76px);
    }

    .swiper-button-next, .swiper-button-prev {
        transform: scale(0.8) rotate(-45deg);
    }

    .swiper-button-prev {
        left: -10px;
    }

    .swiper-button-next {
        right: -10px;
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 16px;
    }

    .main-slider .text .full {
        padding-left: 24px;
        padding-right: 24px;
    }

    .main-slider .h3 {
        font-size: 24px;
    }

    .main-slider .h1 {
        font-size: 38px;
    }

    .main-slider .text-description {
        margin-bottom: 36px;
        -webkit-line-clamp: 3;
    }

    .main-slider .text-description p {
        font-size: 15px;
    }

    .product-slider-page {
        padding-top: 32px;
    }

    .product-slider-page .row.bottom .swiper {
        padding-bottom: 0;
        margin-bottom: -4px;
    }

    .product-slider-page .row.top {
        padding-bottom: 24px;
    }

    .product-slider-page .row.top .h2 {
        font-size: 20px;
    }

    .product-slider-page .row.top .h1 {
        font-size: 28px;
    }

    .product-slider-page .text .h4 {
        font-size: 22px;
    }

    .product-slider-page .text p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .opinions-slider .top {
        padding-top: 36px;
    }

    .opinions-slider {
        padding-bottom: 0px;
    }

    .opinions-slider .bottom {
        padding-top: 9px;
        padding-bottom: 56px;
    }

    .opinions-slider .swiper-pagination {
        margin-bottom: 0;
    }

    .opinions-slider .bottom .col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .opinions-slider .col-full .swiper {
        margin-bottom: -24px;
    }

    .opinions-slider .top .h2 {
        font-size: 20px;
    }

    .opinions-slider .top .h1 {
        font-size: 28px;
    }

    .opinions-slider .bottom p {
        font-size: 14px;
        margin-bottom: 18px;
        -webkit-line-clamp: 4;
    }

    /* ceryfikaty */

    .certyficates-slider .top {
        padding-top: 36px;
    }

    .certyficates-slider {
        padding-bottom: 0px;
    }

    .certyficates-slider .bottom {
        padding-top: 9px;
        padding-bottom: 56px;
    }

    .certyficates-slider .swiper-pagination {
        margin-bottom: 0;
    }

    .certyficates-slider .bottom .col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .certyficates-slider .col-full .swiper {
        margin-bottom: -24px;
    }

    .certyficates-slider .top .h2 {
        font-size: 20px;
    }

    .certyficates-slider .top .h1 {
        font-size: 28px;
    }

    .certyficates-slider .bottom p {
        font-size: 14px;
        margin-bottom: 18px;
        -webkit-line-clamp: 4;
    }

    /* Team */

    .team-slider .top {
        padding-top: 36px;
    }

    .team-slider {
        padding-bottom: 0px;
    }

    .team-slider .bottom {
        padding-top: 9px;
        padding-bottom: 56px;
    }

    .team-slider .swiper-pagination {
        margin-bottom: 0;
    }

    .team-slider .bottom .col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .team-slider .col-full .swiper {
        margin-bottom: -24px;
    }

    .team-slider .top .h2 {
        font-size: 20px;
    }

    .team-slider .top .h1 {
        font-size: 28px;
    }

    .team-slider .bottom p {
        font-size: 14px;
        margin-bottom: 18px;
        -webkit-line-clamp: 4;
    }

    .team-slider .bottom .h4 {
        font-size: 18px;
    }

    .team-slider .bottom .h5 {
        font-size: 15px;
    }

    /* Blog */

    .blog-slider .top {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .blog-slider .top .h2 {
        font-size: 22px;
    }

    .blog-slider .top .h1 {
        font-size: 32px;
    }

    .blog-slider .bottom {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .blog-slider .middle .section {
        padding-left: 36px;
        padding-right: 36px;
    }

}

@media screen and (max-width: 800px) {

    .opinions-slider .swiper-slide.swiper-slide-next .full * {
        color: rgba(0, 0, 0, 0.85);
    }

    .opinions-slider .swiper-slide.swiper-slide-next .full p {
        color: rgba(0, 0, 0, 0.5);
    }

    .opinions-slider .swiper-slide.swiper-slide-next .full::before {
        opacity: 0;
    }

    .opinions-slider .swiper-slide.swiper-slide-active .full::before {
        opacity: 1;
    }

    .opinions-slider .swiper-slide.swiper-slide-active .full * {
        color: white;
    }

    .opinions-slider .col-full .swiper {
        width: calc(100% + 48px);
        margin-left: -24px;
        padding-left: 56px;
        padding-right: 56px;
    }

    /* Team */

    .team-slider .swiper-slide.swiper-slide-next .full * {
        color: rgba(0, 0, 0, 0.85);
    }

    .team-slider .swiper-slide.swiper-slide-next .full p {
        color: rgba(0, 0, 0, 0.5);
    }

    .team-slider .swiper-slide.swiper-slide-next .full::before {
        opacity: 0;
    }

    .team-slider .swiper-slide.swiper-slide-active .full::before {
        opacity: 1;
    }

    .team-slider .swiper-slide.swiper-slide-active .full * {
        color: white;
    }

    .team-slider .col-full .swiper {
        width: calc(100% + 48px);
        margin-left: -24px;
        padding-left: 56px;
        padding-right: 56px;
    }

    .product-slider-page .text {
        padding-left: 18px;
        padding-right: 18px;
    }

}

@media screen and (max-width: 799px) {
.swiper-product-slider-page-grid  .swiper-slide {
    width: calc(50% - 18px);
}
}



@media screen and (max-width: 540px) {

    .main-slider .text .full  {
        text-align: center !important;
    }

    .main-slider .h1, .main-slider .text-right .h1  {
        width: 100%;
        text-align: center;
    }

    .main-slider .h3, .main-slider .text-right .h3 {
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }

    .main-slider .text-description {
        max-width: 100%;
        text-align: center !important;
        -webkit-line-clamp: 5;
    }

    .main-slider .button, .main-slider .text-right .button {
        float: none;
        clear: both;
    }

    .product-slider-page  .swiper-slide {
        text-align: center;
    }

    .product-slider-page .img-container {
        max-width: 100%;
        width: calc(70% - 6px);
    }

    .blog-slider .middle .section .col-text {
        text-align: center;
        margin-bottom: 24px;
    }

    .product-slider-page .img-container {
        aspect-ratio: 1/1;
    }

    .swiper-product-slider-page-grid  .swiper-slide {
    width: calc(100% - 18px);
    }

}   
