body {
    margin: 0;
    padding: 0;
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    color: var(--bodyTextColor);
    font-family: 'Exo', sans-serif;
    position: relative;
    background-color: var(--primary);
    line-height: 1;
}

*, *:before, *:after {
    box-sizing: border-box !important;
}
img {
    height: fit-content;
}
.row {
  margin: 0;
  padding: 0;
  width: 100%;
  --bs-gutter-x: 0;
}
a {
  text-decoration: none;
  color: black;
  transition: all 300ms;
}
button {
    background: none;
    border: none;
}
button:focus, input:focus, textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
section {
    scroll-margin-top: 100px;
}

/*----------------------------------------------------DORADZALISMY---------------------------------------------------------------------------------------------*/

.advised {
    padding: 80px 0 60px;
}

.advised .sub-heading {
    margin-bottom: 12px;
}

.advised .heading {
    max-width: 980px;
    margin-bottom: 30px;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    line-height: 1.4;
}

.logo-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: logo-scroll 40s linear infinite;
}

.logo-track img {
    height: 78px;
    width: auto;
    display: block;
    filter: none;
    opacity: 1;
    transition: opacity 300ms;
}

.logo-track img:hover {
    filter: none;
    opacity: 1;
}

@keyframes logo-scroll {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    #doradzalismy.advised {
        padding: 60px 0 40px;
    }
    .logo-track {
        gap: 28px;
        animation-duration: 28s;
    }
    .logo-track img {
        height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
    }
}

/*---containers---*/
.container-fluid {
    padding: 0 118px;
    gap: 12%;
    margin: 0 auto;
    max-width: 1660px;
}
@media (max-width: 1400px) {
    .container-fluid {
        gap: 3%;
        padding: 0 50px;
    }
}
@media (max-width: 1100px) {
    .container-fluid {
        gap: 2%;
        padding: 0 30px;
    }
}
@media (max-width: 576px) {
    .container-fluid {
        gap: 0;
        padding: 0 20px;
    }
}
/*----------------------------------------------------NAVBAR---------------------------------------------------------------------------------------------*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Optional: to make navbar readable */
    z-index: 5; /* Ensure it stays on top of the image */
    background-color: transparent !important;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    padding: 27px 0 22px 0;
    transition: 300ms all;
    z-index: 1000;
}
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.evmobility.pl/wp-content/uploads/2026/01/EVmobility_grafika_cala_strona.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0; /* Start with transparent image */
    transition: opacity 300ms ease-in-out;
    z-index: -1; /* Place behind the navbar content */
}

.navbar.scrolled::after {
    opacity: 1; /* Fade in the image */
}

.navbar ul {
    justify-content: start !important;

}
.navbar .logo img{
    height: 58px;
}
.navbar ul li a {
    color: white;
    padding: 0 21px !important;
}
.cta {
    font-family: 'Exo', sans-serif;
    margin-left: auto;
    font-weight: 800;
    line-height: 1.5;
    color: white;
    position: relative;
    padding: 0;
}
.cta::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: white;
  }
.navbar-toggler {
    padding: 0;
    border: 0;
    filter: invert(100%) sepia(2%) saturate(6%) hue-rotate(332deg) brightness(103%) contrast(100%);
}
.navbar-toggler ion-icon{
    width: 35px;
    height: 35px;
}

@media (max-width: 1400px) {
    .navbar ul li a {
        padding: 0 14px !important;
    }
}
@media (max-width: 1100px) {
    .navbar ul li a {
        padding: 0 8px !important;
    }
}


@media (max-width: 992px) {
    .offcanvas {
        max-width: 240px;
    }
    .navbar .logo img {
        height: 50px;
    }
    .offcanvas-header {
        background: #090C10;
    }
    .offcanvas-header .btn-close {
        opacity: 1;
        padding: 30px 30px 20px 20px;
    }
    .offcanvas-body {
        background: #090C10;
        padding: 0 24px;
    }
    .navbar ul {
        gap: 30px;
    }
    .navbar .nav-link {
        padding: 14px 7px !important;
    }
    .cta {
        margin: 35px 7px 0 7px;
    }

}






/*----------------------------------------------------HERO BANNER---------------------------------------------------------------------------------------------*/

#hero {
    position: relative;
    min-height: 100vh;
    height: 100%;
    color: white;
    overflow: hidden; /* Ensure the gradient and image don't overflow the container */
    display: flex;
    align-items: center;
}
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #078D1D 23%, #08841C 40%, #0B6519 100%);
    z-index: -1; /* Ensure it stays beneath the image */
}
#hero .swiper-container {
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Adjust overflow based on your design */
}
#hero .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
}
#hero .swiper-pagination {
    position: absolute;
    left: 0;    
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: center;
    margin: 0 40px;
    display: flex;
    flex-direction: column;
}
#hero .swiper-pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: white;
    opacity: 1;
    margin: 5px 0;
    border-radius: 20px;
    transition: opacity 0.5s, background-color 0.5s, width 0.5s;
    transition-delay: 0.5s, 0.5s, 0s;
}
#hero .swiper-pagination .swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer;
}
#hero .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
    height: 30px;
    transition-delay: 0s;
}
#hero .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 2; /* Ensure it stays on top of the gradient */
}



.hero-content {
    position: relative;
    z-index: 3;
    padding: 135px 0 35px 0;
    width: 100%;
}
.hero-content h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 80px;
    line-height: 1;
    font-weight: 600;
    margin-bottom: 35px;
}
.hero-content p {
    font-family: 'Exo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 780px;
}
.hero-content .cta {
    pointer-events: auto;
}
.hero-content .cta::after {
    width: 50%;
    left: 0;
    transform: none;
}
@media (max-width: 1400px) {
    .hero-content p {
        max-width: 650px;
    }
    #hero .swiper-pagination {
        margin: 0 20px;
    }
}
@media (max-width: 1150px) {
    #hero .swiper-pagination {
        right: 0;
        left: auto;
    }
}
@media (max-width: 992px) {
    #hero {
        min-height: 80vh;
        max-height: 100%;
    }
    .hero-content h1 {
        font-size: 60px;
    }
}
@media (max-width: 768px) {
    #hero .swiper-container {
        height: 80vh;
    }
}
@media (max-width: 550px) {
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-content .container-fluid {
        margin: 0;
        padding: 0 20px;
    }
}











/*------------------------------FIRST SLIDER--------------------------------------------------------------------------------*/
#o-nas {
    padding: 70px 0;
}

#o-nas .container-fluid {
    position: relative;
    display: flex;
    justify-content: end;
    overflow: hidden;
}

.container-content {
    width: 100%;
    display: flex;
    background: rgba(187, 187, 187, 0.1);
    justify-content: start;
    margin-left: 50px;
    margin-top: 50px;
}
.container-content .slider {
    height: 90%;
    top: -50px;
    left: -50px;
    position: relative;
}

.container-content .slider img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.slider {
    z-index: 2;
    max-width: 420px;
    margin: 0;
}

.slider .slider__wrap {
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    height: 450px;
}

.slider .slider__wrap .swiper-slide {
    width: 100% !important;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.3s;
    visibility: hidden;
    display: flex;
    justify-content: center;
}

.slider .slider__wrap .swiper-slide-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.slider .slider__controls {
    position: relative;
    z-index: 12;
}

.slider .slider__controls .slider__pagination {
    text-align: center;
    margin: 30px 0 30px 0;
}

.slider .slider__controls .slider__pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #808080;
    opacity: 1;
    margin: 0 5px;
    border-radius: 20px;
    transition: opacity 0.5s, background-color 0.5s, width 0.5s;
    transition-delay: 0.5s, 0.5s, 0s;
}

.slider .slider__controls .swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer;
}

.slider .slider__controls .slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #029519;
    width: 30px;
    transition-delay: 0s;
}

.text-container {
    padding: 50px 40px 50px 10px;
    max-width: 800px;
    z-index: 3;
}
#o-nas .text-container {
    background: #f8f8f8;
}
.sub-heading {
    font-family: 'Exo', sans-serif !important;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 10px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #505050;
    margin-left: -65px;
}

.sub-heading::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 1px;
    background-color: #505050;
    margin-right: 20px;
    vertical-align: middle;
}
@media (max-width: 992px) {
    .sub-heading {
        margin-left: 0;
    }
}
@media (max-width: 576px) {
    .sub-heading {
        margin-left: 0;
        position: relative;
        line-height: 1.5;
        font-size: 16px;
    }
    .sub-heading:before {
        position: absolute;
        bottom: -10px;
        width: 30%;
    }
}
#o-nas .sub-heading {
    margin-left: 0;
}

.heading {
    font-family: 'Exo', sans-serif;
    line-height: 1.1;
    font-weight: 700;
    font-size: 50px;
    color: #434343;
    margin-bottom: 20px;
}
.heading span{
    font-weight: 300;
}
.heading-3 {
    font-family: 'Exo', sans-serif;
    font-weight: 200;
    font-size: 38px;
    line-height: 1.3;
    color: #505050;
    margin-bottom: 20px;
}

.description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #696969;
    line-height: 24px;
    margin-bottom: 30px;
}
@media (max-width: 576px) {
    .heading {
        font-size: 35px;
    }
    .heading-3 {
        font-size: 25px;
    }
}
.partners {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 35px;
}
.partners .partner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 54px;
    padding: 0;
    max-width: none;
    width: auto;
    height: auto;
}

.partners .partner img {
    display: block;
    margin-bottom: 0;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.partners .partner p {
    font-size: 12px;
    line-height: 1.3;
}

a.more {
    font-weight: 800;
    font-size: 14px;
    color: #3F3F3F;
}
a.more:hover {
    color: #029519;
}

@media (max-width: 1200px) {
    .container-content {
        justify-content: space-between;
        margin: 0;
        gap: 40px;
    }
    .container-content .slider {
        transform: none;
        top: 0;
        left: 0;
    }
    
}

@media (max-width: 1030px) {
    #o-nas {
        padding-bottom: 0;
        background-color: rgba(187, 187, 187, 0.1);
    }
    #o-nas .text-container {
        order: 1;
    }
    #o-nas .slider {
        max-width: 100%;
    }
    .text-container {
        padding: 50px 0 40px 0;
        width: 100%;
    }
    .container-content {
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        background: none;
    }
    .container-content .slider {
        order: 2;
    }
    .partners {
        width: 100%;
        margin-right: 0;
        gap: 12px;
    }
}
@media (max-width: 1030px) and (min-width: 768px) {
    .container-content .slider img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .text-container {
        padding: 40px 0 40px 0;
    }
    .partners {
        width: 100%;
        margin-right: 0;
        gap: 8px;
    }
    .partners .partner {
        min-height: 34px;
    }
    .partners .partner img {
        max-height: 34px;
    }
}









/*---------------------------OUR SOLUTIONS-----------------------------------------------------------------------*/
#rozwiazania {
    padding: 100px 0;
    background-repeat: no-repeat;
    background-size: 1000px 150%;
    background-position: left 0 top calc(50% + 100px);
}
#rozwiazania .content_top {
    padding-bottom: 75px;
    flex-direction: row;
    gap: 25px;
}
#rozwiazania .heading {
    margin-bottom: 0;
}
#rozwiazania .description {
    margin-bottom: 0;
}
.content_top .col-lg-6 {
    display: flex;
    align-items: center;
}
.content_top .col-lg-6:nth-of-type(1) {
    padding-right: 35px;
}
.content_top .col-lg-6:nth-of-type(2) {
    
}

#rozwiazania .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

#rozwiazania .item {
    display: flex;
    flex-direction: column;
}

.heading-2 {
    font-weight: 700;
    font-size: 21px;
    line-height: 31px;
    color: #434343;
    margin-bottom: 0;
}




#rozwiazania .item img{
    width: 100%;
    min-height: 300px;
    height: 300px;
    object-fit: cover;
}
#rozwiazania .item .content {
    background: white;
    height: 100%;
    width: 100%;
    padding: 60px 40px 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}





#rozwiazania .item p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    font-size: 12px;
    color: #696969;
    margin: 10px 0 20px 0;
}

.item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #3F3F3F;
}

.item a:hover {
    color: #029519;
}



@media (max-width: 1250px) {
    #rozwiazania .item img{
        min-height: 260px;
        height: 280px;
    }
}
@media (max-width: 1060px) {
    #rozwiazania {
        padding: 70px 0 100px 0;
    }
    #rozwiazania .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    #rozwiazania .item {
        flex-direction: row;
    }
    #rozwiazania .item .content {
        padding: 50px 30px 40px 30px;
    }
    #rozwiazania .item img {
        max-width: 260px;
        min-width: 260px;
    }
    #rozwiazania .item p {
        max-width: 400px;
        margin: 20px 0 20px 0;
    }
}
@media (max-width: 992px) {
    #rozwiazania .heading {
        margin-bottom: 20px;
    }
    #rozwiazania .content_top {
        padding-bottom: 35px;
        gap: 0;
    }
    .content_top .col-lg-6:nth-of-type(2) {
        padding: 0;
    }
}
@media (max-width: 576px) {
    #rozwiazania .item {
        flex-direction: column;
        height: fit-content;
    }
    #rozwiazania .item img {
        min-height: 300px;
        height: 300px;
        max-width: 100%;
        min-width: 100%;
    }
}



















/*----------------------------CASES----------------------------------------------------------------------------------*/
#cases {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}
#cases .logo-bg {
    position: absolute;
    top: 0;
    z-index: -1;
    height: 400px;
}
#cases .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
#cases .item img {
    width: 100%;
    max-height: 400px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 630px;
}
#cases .item1 {
    padding-right: 20px;
}
#cases .item2 {
    margin-top: -60px;
}
#cases .item3 {
    grid-column: 1 / 4;
}

#cases .sub-heading {
    margin-bottom: 30px;
}

#cases .slider {
    max-width: 100%;
    overflow: hidden;
}
#cases .slider .slider__wrap {
    height: fit-content;
}
#cases .swiper-slide {
    display: flex;
    gap: 50px;
    width: 100vw;
    height: 100%;
}
#cases .swiper-slide img{
    height: fit-content;
    max-width: 33%;
}
#cases .swiper-slide {
    display: flex;
}

/* Responsive layout for medium screens (two rows) */
@media (max-width: 1150px) {
    #cases .grid {
        grid-template-columns: 1fr 1fr;
    }
    #cases .item1 {
        padding-right: 0;
    }
    #cases .item3 {
        grid-column: 1 / 3;
    }
    #cases .swiper-slide {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 50px;
        width: 100vw;
    }
    #cases .swiper-slide img {
        height: fit-content;
        width: 100%;
        max-width: 100%;
    }
    #cases .swiper-slide img:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    #cases .swiper-slide img:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    #cases .swiper-slide .slider-text {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #cases .heading-3 {
        font-size: 24px;
    }
}

/* Responsive layout for small screens (two rows) */
@media (max-width: 768px) {
    #cases .grid {
        grid-template-columns: 1fr;
    }
    #cases .item1,
    #cases .item2,
    #cases .item3 {
        grid-column: auto;
        min-width: 0;
    }
    .item { 
        width: 100% !important;
    }
    .item1 img {
        width: 100%; /* Ensure the image does not exceed the container */
        height: auto; /* Maintain aspect ratio */
    }
    #cases .swiper-slide {
        grid-template-columns: 1fr; /* One column layout */
        gap: 40px 20px; /* Gap between items */
        width: 100vw;
    }
    #cases .swiper-slide img {
        height: fit-content;
        width: 100%; /* Make sure images are responsive */
    }
    #cases .swiper-slide img:nth-child(1),
    #cases .swiper-slide img:nth-child(2) {
        width: 100%; /* Full width */
    }
    #cases .item2 {
        margin-top: 0;
    }
    #cases .heading-3 {
        font-size: 36px;
    }
}

/* Responsive layout for extra small screens (three rows) */
@media (max-width: 576px) {
    #cases .grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    #cases .item1,
    #cases .item2,
    #cases .item3 {
        grid-column: auto;
    }
    .item { 
        width: 100% !important;
    }
    .item1 img {
        width: 100%; /* Ensure the image does not exceed the container */
        height: auto; /* Maintain aspect ratio */
    }
    #cases .swiper-slide {
        display: block; /* One column layout */
        width: 100vw;
    }
    #cases .swiper-slide img {
        height: fit-content;
        width: 100%;
        margin-bottom: 12px;
    }
    #cases .swiper-slide img:nth-child(1) {
        width: 100%; /* Full width */
    }
    #cases .swiper-slide img:nth-child(2) {
        display: none;
    }
    #cases .heading-3 {
        font-size: 24px;
        margin: 16px 0 12px 0;
    }
    #cases .description {
        margin-bottom: 0;
    }
}



/*----------------------------SAFETY----------------------------------------------------------------------------------*/
#bezpieczenstwo {
    padding: 100px 0;
    background-repeat: no-repeat;
    background-position: calc(50% + 30%) 50%;
}
#bezpieczenstwo .container-fluid {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#bezpieczenstwo .text-container {
    max-width: 60%;
    padding-bottom: 0;
}
#bezpieczenstwo .sub-heading {
    margin-bottom: 60px;
}
#bezpieczenstwo .heading {
    margin-bottom: 45px;
}
#bezpieczenstwo .heading-2 {
    margin-bottom: 12px;
}
#bezpieczenstwo .description {
    max-width: 550px;
}


#bezpieczenstwo .info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}
#bezpieczenstwo .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%;
}
#bezpieczenstwo .info .top{
    min-width: 50%;
}
#bezpieczenstwo .info .safety_img {
    display: flex;
    flex-grow: 1;
}
#bezpieczenstwo .info .safety_img .bg {
    min-width: 500px;
    width: 80%;
    height: 290px;
    max-height: 290px;
}
#bezpieczenstwo .info .safety_img .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*svg case*/
#bezpieczenstwo .info .safety_img .bg.svg {
    padding: 20px 50px;
    background-color: rgba(187, 187, 187, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
#bezpieczenstwo .info .safety_img .bg.svg img{
    object-fit: contain;
}



@media (max-width: 1250px) {
    #bezpieczenstwo .info .safety_img .bg {
        min-width: 400px;
    }
}
@media (max-width: 992px) {
    #bezpieczenstwo {
        background-image: none !important;
        background-color: rgba(187, 187, 187, 0.1);
    }
    #bezpieczenstwo .container-fluid {
        flex-direction: column;
        align-items: start;
        gap: 0;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    #bezpieczenstwo .text-container {
        max-width: 100%;
    }
    #bezpieczenstwo .description {
        max-width: 660px;
    }
    #bezpieczenstwo .info-container {
        gap: 45px;
    }
    #bezpieczenstwo .info {
        gap: 5%;
        flex-direction: column-reverse;
        align-items: start;
        gap: 40px;
    }
    #bezpieczenstwo .info .safety_img {
        width: 100%;
    }
    #bezpieczenstwo .info .safety_img .bg {
        width: 85%;
        min-width: 85%;
    }
    #bezpieczenstwo .info .safety_img .bg.svg {
        padding: 35px 50px;
    }
}
@media (max-width: 768px) {
    #bezpieczenstwo .info .safety_img .bg {
        width: 100%;
        min-width: 100%;
    }
}
@media (max-width: 576px) {
    #bezpieczenstwo {
        padding: 0;
    }
    #bezpieczenstwo .info .safety_img .bg.svg {
        padding: 20px 50px;
    }
}

/*----------------------------OFFER--------------------------------------------------------------------------------*/
#oferta {
    margin: 25px 0 120px 0;
    position: relative;
    overflow: hidden;
}
#oferta .row_top {
    margin-bottom: 125px;
}
#oferta .row_top .row_top_col {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 50%;
}
#oferta .offer_row {
    justify-content: end;
    align-items: stretch;
    gap: 50px;
    display: flex;
}
#oferta .offer_column {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 55px 28px 36px;
    width: 33%;
    position: relative;
    gap: 20px;
}
#oferta .bg {
    position: absolute;
    left: 0;
    bottom: 0;
    border-left: 8px solid #029519;
    width: 100%;
    height: 150px;
}
#oferta .content .top {
    display: flex;
    gap: 40px;
    align-items: end;
    max-width: 80%;
    margin-bottom: 30px;
}
#oferta .content .top img{
    width: 60px;
    height: auto;
}

#oferta .heading-2 {
    margin-bottom: 0;
    line-height: 1;
}
#oferta .heading-3 {
    margin-bottom: 0;
}
#oferta .description {
    margin-bottom: 10px;
}
#oferta .btn {
    color: #029519;
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    padding: 0;
}
#oferta .btn:hover {
    color: #3F3F3F;
}
#oferta .bg {
    z-index: -1;
}
#oferta .bg img {
    position: absolute;
    top: -50%;
    right: -50px;
    max-width: 110px;
    max-height: 110px;
}
#oferta .logo-bg {
    position: absolute;
    bottom: -30px;
    left: -120px;
    z-index: -1;
    height: 400;
}
@media (max-width: 1200px) {
    #oferta .row_top {
        flex-direction: column;
        margin-bottom: 75px;
    }
    #oferta .row_top .row_top_col {
        width: 100%;
    }
    #oferta .offer_row {
        justify-content: space-between;
        gap: 20px;
    }
    #oferta .offer_column {
        width: 40%;
    }
}
@media (max-width: 1100px) {
    #oferta .offer_column {
        padding: 0 30px 28px 36px;
    }
}
@media (max-width: 992px) {
    #oferta .offer_row {
        flex-direction: column;
        gap: 75px;
    }
    #oferta .offer_column {
        width: 65%;
        padding: 0 55px 28px 46px;
    }

}
@media (max-width: 768px) {
    #oferta .offer_column {
        width: 80%;
    }
}
@media (max-width: 576px) {
    #oferta .offer_column {
        width: 100%;
        padding: 0 0 28px 36px;
    }
}

/*----------------------------STATISTICS----------------------------------------------------------------------------------*/
#statistics {
    padding-bottom: 60px;
}
#statistics iframe {
    width: 50%;
    min-height: 350px;
/*    min-width: 640px;*/
    overflow-x: hidden;
}
#statistics .row_top {
    justify-content: space-between;
    align-items: end;
    margin-bottom: 70px;
}
#statistics .row_top_col {
    width: fit-content;
    max-width: 50%;
} 

#statistics .heading, #statistics .heading-3 {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    #statistics iframe {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    #statistics .heading {
        margin-bottom: 20px;
    }
    #statistics .row_top_col {
        max-width: 100%;
    }
}
@media (max-width: 992px) {
    #statistics {
        padding-bottom: 100px;
    }
}
@media (max-width: 576px) {
    #statistics {
        padding-bottom: 40px;
    }
}




/*----------------------------MAP----------------------------------------------------------------------------------*/
#map {
    padding-bottom: 70px;
}
#map .container-fluid {
    display: flex;
    gap: 100px;
    align-items: center;
}
#map iframe {
    overflow-x: hidden;
    overflow-y: hidden;
    min-width: 840px;
    width: 800px;
    height: 640px;
}
.iframe-container {
    position: relative;
    width: 100%; /* You can set this to a specific width if needed */
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio (600/800 = 0.75) */
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform-origin: top left; /* This ensures scaling starts from the top-left corner */
    transform: scale(1); /* Adjust this value to scale the iframe content */
}

@media (max-width: 1320px) {
    #map iframe {
        width: 50px;
        min-height: 600px;
        min-width: 50%;
    }
}
@media (max-width: 992px) {
    #map {
        padding-bottom: 50px;
    }
    #map .container-fluid {
        flex-direction: column;
        gap: 15px;
    }
    #map iframe {
        width: 100%;
    }
}
@media (max-width: 576px) {
    #map {
        padding-bottom: 0;
    }
}



/*----------------------------FOOTER CONTACT----------------------------------------------------------------------------------*/
#fc {
    margin: 65px 0 90px 0;
}
#fc .container-fluid {
    display: flex;
    align-items: center;
    gap: 0;
}
#fc .contact {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}
/*#fc .contact::before {
    content: '';
    display: inline-block;
    width: 115px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #434343;
    vertical-align: middle;
}*/
#fc .contact_heading {
    font-weight: 800;
    font-size: 65px;
    line-height: 65px;
    color: #434343;
    position: relative;
    margin-right: 55px;
}

#fc .contact_link {
    color: #099E21;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.6;
    position: relative;
}
#fc .contact_link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #078D1D;
  }
@media (max-width: 1200px) {
    #fc .contact {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    #fc .contact::before {
        width: 10%;
    }
    #fc .contact_heading {
        text-align: center;
        margin-right: 0;
        font-size: 50px;
    }
    #fc .contact_link {
        width: fit-content;
        font-size: 36px;
    }
}
@media (max-width: 576px) {
    #fc {
        margin: 65px 0 70px 0;
    }
    #fc .contact::before {
        display: none;
    }
    #fc .contact_heading {
        font-size: 40px;
    }
    #fc .contact_link {
        font-size: 30px;
    }
}
/*----------------------------FOOTER----------------------------------------------------------------------------------*/
footer {
    height: -webkit-fit-content; /* Added for Safari */
    height: fit-content;
    padding: 55px 0 0 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
footer .container-fluid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from 'start' to 'flex-start' for better compatibility */
    gap: 35px;
    height: 100%;
}
footer .content {
    display: flex; /* Added for compatibility */
    justify-content: space-between;
    height: 150px;
}
footer .content .contact {
    padding-bottom: 18px;
    flex-direction: row;
    display: flex;
    column-gap: 40px;
    width: -webkit-fit-content; /* Added for Safari */
    width: fit-content;
    align-items: end;
    height: fit-content;
    padding-top: 20px;
}
footer .contact_block {
    width: -webkit-fit-content; /* Added for Safari */
    width: fit-content;
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
    font-size: 14px;
    line-height: 24px;
    color: white !important;
    display: flex;
    justify-content: end;
    align-items: start; /* Changed from 'end' to 'flex-end' for better compatibility */
}
footer .contact_block a {
    color: white !important;
}
footer img {
    max-height: 58px;
    width: auto !important;
}
footer .nav {
    width: -webkit-fit-content; /* Added for Safari */
    width: fit-content;
    display: flex;
    gap: 20px 40px;
}
footer .nav li {
    height: 100%;
    display: flex;
    align-items: start;
    padding-top: 40px;
}
footer .nav li a {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    line-height: 1.5;
}
footer .nav li:last-of-type {
    background: -webkit-linear-gradient(45deg, #078D1D 0%, #099E21 100%); /* Added for Safari */
    background: linear-gradient(45deg, #078D1D 0%, #099E21 100%);
    padding-right: 20px;
    padding-left: 25px;
}
footer .nav li:last-of-type a {
    position: relative;
    font-family: 'Exo', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
}
footer .nav li:last-of-type a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50%;
    height: 1px;
    background-color: white;
}

@media (max-width: 1380px) {
    footer .content {
        height: 100%;
    }
}
@media (max-width: 1250px) {
    footer .content {
        flex-direction: column;
        gap: 40px;
    }
    footer .content .contact {
        padding-bottom: 0;
    }
    footer .nav {
        width: 100%;
        justify-content: space-evenly;
    }
    footer .nav li {
        padding-bottom: 55px;
    }
}
@media (max-width: 992px) {
    footer .nav {
        flex-direction: column;
        height: -webkit-fit-content; /* Added for Safari */
        height: fit-content;
        gap: 5px;
        padding: 0;
    }
    footer .nav li {
        padding-bottom: 0;
        padding-top: 30px;
    }
    footer .nav li:last-of-type {
        justify-content: center;
        margin-top: 35px;
        padding: 0;
    }
    footer .nav li:last-of-type a{
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 40px 20px 25px 25px;
    }
}





















/*-------------------------------------CONTACT US PAGE---------------------------------------------------------------------*/
/*hero*/
.page-template-template-contact #fc {
    display: none;
}
.page-template-template-contact .hero-content .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
}
.page-template-template-contact .contact_block {
    display: flex;
    flex-direction: column;
}
.page-template-template-contact .contact_row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contact_block.address p{
    line-height: 36px;
    font-weight: 500;
    font-size: 24px;
}
.contact_block.details, .contact_block.details p {
    line-height: 51px;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 0;
}
.contact_block.details a {
    color: white;
    transition: 300ms all;
}
.contact_block.details a:last-of-type {
    text-decoration: underline;
    text-underline-offset: 4px; 
}
.contact_block.details a:last-of-type:hover {
    text-decoration: none;
}

.contact_form {
    width: 450px;
    background: white;
    padding: 50px 55px 20px 55px;
    display: flex;
    flex-direction: column;
}
.contact_form .heading-4 {
    color: #474747;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 35px;
    margin-bottom: 40px;
}
.contact_form form {
    display: flex;
    flex-direction: column;
}
.contact_form form p {
    color: #505D68;
    font-size: 7px;
}
.contact_form form input,
.contact_form form textarea {
    color: #505D68;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 12px 12px 0;
    border: 0.2px solid #656565;
    border-width: 0 0 0.2px 0;
}
.contact_form form textarea {
    padding-bottom: 50px;
    max-height: 90px;
    margin-bottom: 25px;
}
.contact_form .policy {
    font-family: 'Montserrat', sans-serif;
    font-size: 7px;
    color: #A2A2A2;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 15px;
}
.contact_form .regulamin {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
}
.contact_form .regulamin label {
    color: #2C2C2C;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 9px;
    cursor: pointer;
}
.contact_form .btn_submit {
    background: #078D1D;
    color: white;
    font-weight: 800;
    font-size: 14px;
    padding: 15px 0;
    transition: 300ms all;
}
.contact_form .btn_submit:hover {
    opacity: 0.7;
}

@media (max-width: 992px) {
    .page-template-template-contact .hero-content .container-fluid {
        flex-direction: column;
        gap: 50px;
    }
    .page-template-template-contact .contact_row {
        width: 100%;
        order: 2;
    }
    .contact_block.address {
        font-size: 20px;
    }
    .contact_block.details {
        font-size: 24px;
        line-height: 40px;
    }
    .page-template-template-contact .contact_form {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .contact_form {
        padding: 50px 40px 20px 40px;
    }
    .page-template-template-contact .contact_row {
        padding: 0 40px 0 40px;
    }
}




.notice {
    padding: 1em;
    margin-bottom: 1em;
}
.notice p {
    font-size: 14px;
    margin-bottom: 0;
}
.notice-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notice-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}















/*---------------------------------------REALIZATIONS PAGE---------------------------------------------------------------*/
.page-template-template-realizations #cases{
    padding: 80px 0 0 0;
}
.page-template-template-realizations #fc{
    margin-top: 20px;
}
.page-template-template-realizations #hero{
    min-height: 70vh;
}
.page-template-template-realizations .row_top {
    display: flex;
    gap: 80px;
    margin-bottom: 70px;
}
.page-template-template-realizations .row_top .heading {
    width: 50%;
    margin-bottom: 0;
}
.page-template-template-realizations .row_top .heading-3 {
    width: 50%;
}

.page-template-template-realizations .row_content {
    display: flex;
    gap: 70px;
    margin-bottom: 100px;
}
.page-template-template-realizations .slider {
    max-width: 550px !important;
    overflow: unset !important;
    min-height: fit-content;
    width: 50%;
}
.page-template-template-realizations .swiper-slide {
    display: flex !important;
    justify-content: end !important;
    height: 100% !important;
}
.page-template-template-realizations .slider img{
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    object-position: center;
}
.page-template-template-realizations .slider .slider__wrap {
    height: 450px !important;
}
.page-template-template-realizations .slider-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    z-index: 2;
    background: white;
}
.page-template-template-realizations .description {
    max-width: 370px;
    margin-bottom: 46px;
}
.page-template-template-realizations .container-inner {
    padding: 0 50px;
}
.page-template-template-realizations .slider__pagination {
    margin-bottom: 0 !important;
    margin-left: auto !important;
    text-align: start !important;
    width: fit-content;
}
@media (max-width: 1150px) {
    .page-template-template-realizations .row_top {
        flex-direction: column;
        gap: 0;
    }
    .page-template-template-realizations .row_top .heading {
        width: 100%;
    }
    .page-template-template-realizations .row_top .heading-3 {
        width: 100%;
        margin-top: 6px;
    }
    .page-template-template-realizations .swiper-slide {
        display: flex;
    }
    .page-template-template-realizations .description{
        max-width: none;
    }
}
@media (max-width: 992px) {
    .page-template-template-realizations .container-inner {
        padding: 0;
    }
    .page-template-template-realizations .heading-3 {
        margin: 24px 0 12px 0;
    }
}
@media (max-width: 768px) {
    .page-template-template-realizations .slider {
        max-width: 100% !important;
        max-height: 500px !important;
        width: 100%;
    }
    .page-template-template-realizations .swiper-slide {
        justify-content: start !important;
    }
    .page-template-template-realizations .slider__pagination {
        margin: 20px auto 15px auto !important;
    }
    .page-template-template-realizations .row_content {
        flex-direction: column;
        gap: 0;
        margin-bottom: 60px;
    }
    .page-template-template-realizations .slider-text{
        width:  100%;
    }
    .page-template-template-realizations .heading-3 {
        margin: 35px 0 12px 0;
    }
}

@media (max-width: 576px) {
    .page-template-template-realizations .heading-3 {
        margin-top: 40px !important;
    }
    .page-template-template-realizations .row_top {
        margin-bottom: 60px;
    }
    .page-template-template-realizations .row_content {
        margin-bottom: 40px;
    }
}



























/*-------------------------------------------CONTACT POPUP------------------------------------------------------------------------*/
#contact_modal .contact_form {
    width: 100%;
}
.modal .modal-content {
    border-radius: 0;
}
.modal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
}


/*-------------------------------------------SOLUTIONS POPUP------------------------------------------------------------------------*/
#solutions_modal .modal-dialog {
    max-width: 1000px;
}
#solutions_modal .modal-header{
    border-bottom: 0;
    height: 40px;
}
#solutions_modal .modal-body {
    display: flex;
    padding: 0 40px 40px 40px;
    justify-content: space-around;
}
#solutions_modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 50px;
}
#solutions_modal .product-image {
    width: 45%;
}
#solutions_modal .product-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}
#solutions_modal .heading-2 {
    margin-bottom: 70px;
}
#solutions_modal .description {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    #solutions_modal .modal-body {
        gap: 0;
    }
    #solutions_modal .modal-dialog {
        max-width: 576px;
    }
    #solutions_modal .product-image {
        width: 100%;
    }
    #solutions_modal img {
        max-height: 580px;
    }
    #solutions_modal .product-info {
        width: 100%;
    }
    #solutions_modal .heading-2 {
        margin-bottom: 25px;
    }

}
/* LinkedIn icon in header */
.social-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: 300ms all;
}
.social-linkedin:hover {
    opacity: 0.8;
}

/* Mobile spacing beside burger */
@media (max-width: 991px) {
    .social-linkedin {
        margin-left: auto;
        margin-right: 12px;
        font-size: 24px;
    }
}

/* Desktop spacing in nav */
@media (min-width: 992px) {
    .social-linkedin {
        margin: 0 12px;
    }
}

#realizacje-video {
    padding: 40px 0 100px;
    background: #fff;
}

#realizacje-video .sub-heading {
    margin-left: 0;
}

#realizacje-video .heading {
    margin-bottom: 28px;
}

#realizacje-video .video-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    background: #000;
}

#realizacje-video .realizacje-video-player {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 992px) {
    #realizacje-video {
        padding: 20px 0 70px;
    }
}

@media (max-width: 576px) {
    #realizacje-video .heading {
        margin-bottom: 18px;
    }

    #realizacje-video .video-wrap {
        border-radius: 14px;
    }
}

/*----------------------------FAQ----------------------------------------------------------------------------------*/
#faq {
    padding: 90px 0 110px;
    background: rgba(187, 187, 187, 0.08);
}
#faq .sub-heading {
    margin-left: 0;
    margin-bottom: 16px;
}
#faq .heading {
    max-width: 900px;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 980px;
}

.faq-item {
    background: #fff;
    border-left: 6px solid #029519;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 60px 24px 24px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #2f2f2f;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #029519;
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 24px 24px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #696969;
}

@media (max-width: 768px) {
    #faq {
        padding: 70px 0 80px;
    }
    .faq-item summary {
        font-size: 18px;
        padding: 18px 52px 18px 18px;
    }
    .faq-item p {
        padding: 0 18px 18px 18px;
    }
}


/*----------------------------SAFETY CTA BUTTONS----------------------------------------------------------------------------------*/
#bezpieczenstwo .info .top .more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 22px;
    border: 2px solid #029519;
    background: #029519;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: 300ms all;
}

#bezpieczenstwo .info .top .more:hover {
    background: transparent;
    color: #029519;
}

#bezpieczenstwo .info .safety_img a {
    display: block;
}

#bezpieczenstwo .info .safety_img a img {
    transition: transform 300ms ease, opacity 300ms ease;
}

#bezpieczenstwo .info .safety_img a:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

@media (max-width: 576px) {
    #bezpieczenstwo .info .top .more {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}

/*----------------------------FAQ----------------------------------------------------------------------------------*/
#faq {
    padding: 90px 0 110px;
    background: rgba(187, 187, 187, 0.08);
}
#faq .sub-heading {
    margin-left: 0;
    margin-bottom: 16px;
}
#faq .heading {
    max-width: 900px;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 980px;
}

.faq-item {
    background: #fff;
    border-left: 6px solid #029519;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 60px 24px 24px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #2f2f2f;
    position: relative;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #029519;
    font-weight: 300;
}
.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 24px 24px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #696969;
}

@media (max-width: 768px) {
    #faq {
        padding: 70px 0 80px;
    }
    .faq-item summary {
        font-size: 18px;
        padding: 18px 52px 18px 18px;
    }
    .faq-item p {
        padding: 0 18px 18px 18px;
    }
}
