body {
    margin: 0 auto;
    background-color: rgb(240,240,240) !important;
    font-size: 20px;
    font-family: 'Barlow' !important;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding, 50px);
}
.top-nav {
    box-shadow: 0px 15px 10px -15px #111;
    font-family: Poppins;
    background-color: rgba(0,0,0,.3);
    transition: .4s ease-in-out all;
}
.invalid {
    border: 1px solid red !important;
}
.form-errors p {
  margin: .3em;
  font-size: .9em;
}
.form-errors p::before {
  content: "✖";
  color: red;
  margin-right: .3em;
}
.content-list {
    padding: 20px 30px;
    border: 1px solid rgb(173, 173, 173);
    width: fit-content;
}
.up-button {
  position: fixed;
  z-index: 1030;
  right: 3%;    
  bottom: 5%;
  width: 42px;
  height: 42px;
  background-color: #fff;
  box-shadow: 1px 1px 20px #c8c8c8;
  text-align: center;
  text-decoration: none;
  color: black;
  font-size: 34px;
  display: flex;
  justify-content: center;
  place-items: center;
  border-radius: 5px;
  transition: opacity .5s ease-in-out;
  cursor: pointer;
}
.up-button:hover {
  text-decoration: none;
}
.hide {
  opacity: 0;
}
.hover-underline-animation 
{
  display: inline-block;
  position: relative;
  /* color: #0087ca; */
  transition: 2s all ease-in-out;
}
.hover-underline-animation::after 
{
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2.5px;
  bottom: -2px;
  left: 0;
  background-color: #8cbd30;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.hover-underline-animation:hover::after 
{
  transform: scaleX(1);
  transform-origin: bottom left;
}
.hover-underline-animation:hover {
  color: #8cbd30 !important;
}
/* Dla JS */
.hover-underline-animation.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hover-underline-animation.active {
  color: #8cbd30 !important;
}


/* Offcanvas */

.offcanvas-own {
display: none;
position: fixed;
top: 0;
right: 0;
width: 100%;
backdrop-filter: blur(10px);
height: 100%;
background-color: rgba(20,20,20,.7);
box-shadow: -2px 0 5px rgba(0,0,0,0.5);
z-index: 1031111;
padding: 15px;
transform: translateX(100%);
transition: transform 0.3s ease;
text-align: center;
}
.offcanvas-items li {
display: block !important;
padding: 4px;
}
.offcanvas-items a {
font-size: 22px;
text-decoration: none;
color: white;
font-family: Comfortaa;
transition: .3s all ease-in-out;
}
.offcanvas-items a:hover {
color: #8cbd30 !important;
}
.offcanvas-own img {
margin-left: auto;
margin-right: auto;
}
.offcanvas-items {
padding-top: 50px;
}
.offcanvas-close {
position: absolute;
top: 10px;
left: 10px;
background: none;
color: white;
border: none;
font-size: 50px;
cursor: pointer;
transition: .5s all ease;
}
.offcanvas-toggle img {
width: 60px;
margin-right: 20px;
}
menu {
margin-top: 0;
padding: 0;
}
/* FAQ */
.list-group-numbered>.list-group-item::before {
    content: none !important; /* Bootstrap */
}
.faq {
  background-image: url(../assets/qm-bg.png);
  background-size: contain;
  background-blend-mode: overlay;
}
.faq-question { 
  max-width: 85%;
}
.faq-question li {
  cursor: pointer;
}
.list-group-item {
  background: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  padding: .75rem 1.25rem !important;
}
li.list-group-item {
  border-bottom: 2px solid transparent;
  /* border-image: linear-gradient(0.25turn, #a3ec1a, #00ff9d, #8cbd30); */
  border-image: linear-gradient(00.25turn, #696969, #7f7f7f, #4b4b4b);
  border-image-slice: 1;
}
.arrow {
    position: absolute;
    right: -5%;
    bottom: -1px;
}
.list-container {
    background-color: rgba(255,255,255,.5);
    border-radius: 2em;
}
.list-container p {
    width: min-content;
    text-align: center;
    margin-left: 0 auto;
    margin-right: 0 auto;
    padding: 1em;
}
.list-container ul {
    display: inline-block !important; /* żeby centrowanie zadziałało */
    text-align: left !important;
}
/* FAQ */
.section-divider {
  font-family: Comfortaa;
  text-transform: uppercase;
  font-size: .9em;
  color: #c8c8c8;
  position: relative;
  width: min-content;
  white-space: nowrap;
  margin: auto;
  &::before, &::after {
    content: "";
    width: 10vw;
    height: 2px;
    background-color: #c8c8c8;
    position: absolute;
    top: 45%;
  }
  &::before {
    left: -20vw;
  }
  &::after {
    right: -20vw;
  }
  &.blue {
    color: rgba(30,61,113,255);
  }
  &.blue::before, &.blue::after {
    background-color: rgba(30,61,113,255);
  }
}
.offcanvas-extra {
    color: white;
    position: absolute;
    bottom: 50px;
    right: 50px;
}

/* Offcanvas end */
.our-cities {
    overflow-y: auto;
    max-height: 150px;
}
.our-cities::-webkit-scrollbar {
    width: 6px;  /* Dla paska pionowego */
}
.our-cities::-webkit-scrollbar-thumb {
    border: 3px solid #5e5e5e;
    border-radius: 10px;
}
.our-cities::-webkit-scrollbar-thumb:hover {
    border: 3px solid #414141;
}

.carousel .right-section a {
    text-decoration: none;
}

.carousel-control-prev, .carousel-control-next {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 0.25em 0.3em 0.1em 0.3em !important;
    border-radius: .4em !important;
    /* box-shadow: 1px 1px 10px black !important; */
    /* background-color: rgba(255,255,255,.3) !important; */
    border: 2px solid white !important;
    filter: drop-shadow(0 0 10px #fff) !important;
}
.carousel-control-next {
    padding: 4px 3px 0px 7px !important;
}
.text-green-tropiciel {
    color: #8cbd30 !important;
}
.login-link {
    text-decoration: none;
    color: rgb(204, 204, 204);
    cursor: pointer;
    transition: .3s all ease-in-out;
    &:hover {
        color: #8cbd30;
    }
}
.top-nav.scrolled {
    background-color: rgba(0,0,0,.8);
}

.btn-custom {
    background-color: #05a746 !important;
    display: flex;
    gap: .5em;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    transition: .2s all ease-in-out;
    border-radius: .4em;
    white-space: nowrap;
    &:hover {
        transform: scale(1.03);
    }
}
.btn-custom.sm {
    padding: 6px 10px;
}
.left-section {
    font-size: .88em;
}
.vr {
    opacity: 1 !important;
}
.divider-sm {
    height: 3px;
    width: 40px;
    background-color: #8cbd30;
    margin-top: 1em;
}
.divider-lg {
    height: 3px;
    width: 20%;
    max-width: 200px;
    background-color: #8cbd30;
    text-align: center;
}
@keyframes sway {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-20deg); }
    50%  { transform: rotate(20deg); }
    75%  { transform: rotate(-20deg); }
    100% { transform: rotate(0deg); }
}

.scroll-suggestion.sway {
    animation: sway 2s ease-in-out;
}
.mask-bottom {
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}
.mask-x {
    mask-image: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}
.devices-container {
    cursor: grab;
    overflow-x: scroll;
    overflow-y: hidden;
    user-select: none;
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* starsze IE */
    pointer-events: auto;
}
.devices-container img, .devices-container a {
    pointer-events: none;
    user-drag: none;           /* Safari/Chrome */
    -webkit-user-drag: none;
}
.devices-container.active {
    cursor: grabbing;
}
.devices-container::-webkit-scrollbar {
    width: 6px;  /* Dla paska pionowego */
    height: 6px; /* Dla paska poziomego */
}
.devices-container::-webkit-scrollbar-thumb {
    border: 3px solid color-mix(in sRGB, #8cbd30 50%,transparent 50%);
    border-radius: 10px;
}
.devices-container::-webkit-scrollbar-thumb:hover {
    border: 3px solid #414141;
}
.divider {
    background-color: color-mix(in sRGB, rgb(0,127,255) 20%,transparent 80%);
    height: 3px;
    width: 30px;
}
.devices-section-divider {
    width: 150px;
    height: 100%;
    background-color: #e7e7e7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    place-items: center;
    border-radius: 1em;
    padding: 10px;
    text-align: center;
}
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    top: 32%;
    right: auto !important;
    left: auto !important;
    width: 90%;
    height: min-content;
    margin-left: auto;
    margin-right: auto;
    position: relative !important;
}
.carousel-item {
    height: 90vh;
    background-color: #777;
 }
.carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
    filter: brightness(0.4);
    object-fit: cover;
}
.img-contact-top {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translate(-50%, -50%);
}
.img-contact-top img {
    width: 50px;
}
.contact-card {
    border-radius: 0 0 1em 3em;
    box-shadow: 0 0 20px rgba(2,59,109,.1);
    border: 2px solid rgb(220,220,220);
    white-space: nowrap;
    & a {
        text-decoration: none;
    }
}
.device-img {
    min-width: 300px;
    max-width: 50%;
}

.w-min-content {
    width: min-content !important;
}
.text-badged {
    position: relative;
}
.badge-custom {
    background-color: rgb(0,127,255);
    padding: 0 6px 0 6px;
    border-radius: 10px;
    position: absolute;
    top: -23px;
    left: 33px;
    color: white;
}
.devices h3 {
    cursor: pointer;
    border-radius: 20px;
    background: linear-gradient(to left, transparent 50%, #1e3d71 50%) right;
    background-size: 200%;
    transition: .4s ease-out;
}
.devices h3:hover, .devices h3.active {
    background-position: left;
    color: #fff;
}
.etoll-container {
    background-image: url("../assets/highway.webp"); 
    background-color: rgba(0,0,0,0.5); 
    background-blend-mode: darken; 
    background-position: contain;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-shadow: 1px 1px 10px black; 
}
.contact {
    height: 32px;
    width: 100%;
    & .container {
        align-items: center;
        display: flex;
        height: 32px;
        justify-content: end;
        width: 100%;
        margin: 0 auto;
    }
    & .phone-number {
        background-color: #21262a;
        border-radius: 0 0 10px 10px;
        color: #f8f8f8;
        height: 32px;
        line-height: 32px;
        text-align: center;
        margin-right: 12px;
        width: 300px;
    }
    & .email {
        background-color: #21262a;
        border-radius: 0 0 10px 10px;
        color: #f8f8f8;
        height: 32px;
        line-height: 32px;
        text-align: center;
        width: 300px;
    }
}

.indent {
    text-indent: 10px;
}
.carousel-caption p {
    text-align: left;
    font-size: clamp(.9em, 2vw, 1.1em);
    font-family: Poppins;
    text-shadow: 1px 1px 10px black;
}
.carousel-caption h1 {
    text-align: left;
    text-shadow: 1px 1px 10px black;
    font-weight: 700;
    font-size: clamp(1.6em, 3.5vw, 2.6em);
    font-family: Poppins;
    margin-bottom: 0;
}
.carousel-caption h2 {
    text-align: left;
    text-shadow: 1px 1px 10px black;
    font-weight: 500;
    color: rgb(211, 211, 211);
    font-size: clamp(1.2em, 2.5vw, 1.4em);
}
.featurette-divider {
    margin: 5rem 0;
}
.menu-mobile {
    cursor: pointer;
    transition: .4s all ease-in-out;
    &:hover {
        transform: scale(1.1);
    }
}
.bg-panel h1 {
    background: linear-gradient(to right, #05a746eb, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(3em, 10vw, 5em);
}
.bg-panel p {
    background: linear-gradient(to right, #05a746eb, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.1em, 3vw, 1.3em);
    font-weight: 600;
    color: white;
}

.contact-form {
    border-radius: 1em;
    box-shadow: 0 0 20px rgba(2,59,109,.1);
    font-family: Poppins;
}
.contact-form .ls-background {
    color: white;
    border-radius: 1em;
    background-image: url("../assets/highway.webp"); 
    background-color: rgba(0,0,0,0.7); 
    background-blend-mode: darken; 
    background-position: cover;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-shadow: 1px 1px 10px black; 
    box-shadow: 0 0 20px rgba(2,59,109,.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form .title {
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}
.contact-form .text {
    
    font-size: 15px;
    line-height: 1.6;
    color: #999999;
    &.green {
        color: #00ad5f;
    }
}
.contact-form .form-label {
    font-size: 13.5px;
    color: #555555;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 55px;
    border: 1px solid #e6e6e6;
    padding: 10px 25px;
    margin-top: 15px;
    margin-bottom: 0;
}
.contact-form .input-wrap {
    position: relative;
    border: 1px solid #e6e6e6;
    &.custom-50 {
        width: 50%;
    }
    &.custom-100 {
        width: 100%;
    }
}
.contact-form .form-textarea {
    display: block;
    width: 100%;
    background: transparent;
    font-size: 18px;
    color: #666666;
    line-height: 1.2;
    padding: 25px;
    min-height: 139px;
    padding-top: 19px;
    padding-bottom: 15px;
    outline: none;
    border: none;
}
.dotted {
    position: relative;
}
.dotted::before {
    content: "";
    position: absolute;
    background-color: red;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-top: 6px;
    margin-left: -30px;
    animation: pulse-animation 2s infinite;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: background-color 253ms linear;
    transition: background-color 253ms linear;
}
/* Pulse animation */
@keyframes pulse-animation {
    0% {
      box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.5);
    }
    100% {
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
  }
.contact-form .form-input {
    display: block;
    width: 100%;
    background: transparent;
    font-size: 18px;
    color: #666666;
    line-height: 1.2;
    padding: 0 25px;
    height: 55px;
    outline: none;
    border: none;
}
.btn-send-form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 200px;
    height: 50px;
    border-radius: 2px;
    background-color: #00ad5f;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    outline: none;
    border: none;
    &:hover {
        background-color: #333333;
    }
}

/* Media queries */
@media screen and (min-width: 992px) { /* bs-md */
    .bg-panel:not(:last-child) {
        border-right: 2px solid rgb(220,220,220);
    }
}
@media screen and (max-width: 992px) {
    .carousel-caption {
        top: 20%;
    }
}
@media screen and (max-width: 576px) {
    .carousel-caption {
        top: 15%;
    }
    .btn-custom {
        padding: 6px 10px;
    }
}
@media (min-width: 576px) and (max-width: 991px) {
    .coursants-data {
        border-right: 2px solid rgb(220,220,220);
        border-bottom: 2px solid rgb(220,220,220);
    }
    .years-data {
        border-bottom: 2px solid rgb(220,220,220);
    }
    .instructors-data {
        border-right: 2px solid rgb(220,220,220);
    }
}
@media screen and (max-width: 575px) {
    .bg-panel {
        border-bottom: 2px solid rgb(220,220,220);
    }
}
@media screen and (max-width: 991px) {
    .offcanvas-own {
      display: block;
  }
}
@media screen and (max-width: 767px) {
    .border-top-tomd {
        border-top: 1px solid #cccccc;
        padding-top: 1em;
    }
    .device-img {
        width: 70%;
    }
}
@media screen and (min-width: 575px) { /* bs-sm */
    .text-sm-nowrap {
        white-space: nowrap;
    }
}
@media screen and (max-width: 590px) {
    .superwidth {
        flex-shrink: 0;
    }
}