body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    background-color: #1b1b1c;
}

.hero-video-container {
    min-height: 100dvh;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-nav {
    position: relative;
    z-index: 2;
    background-color: #000;
}

.hero-section .navbar {
    background-color: transparent !important;
    position: relative;
    z-index: 10;
}

.hero-section .nav-link {
    color: white;
}

.hero-section .nav-link:hover {
    color: #c7a05b;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-btn {
    background-color: #c7a05b;
    border-color: #c7a05b;
    color: #0b090a;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    max-width: 250px;
}

.hero-btn:hover {
    background-color: transparent;
    border-color: #c7a05b;
    color: #c7a05b;
}

.btn-animowany {
    background: #000000;
    padding: 20px 30px;
    margin: 12px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;

    color: #c7a05b;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: box-shadow 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.btn-animowany:hover {
    color: #c7a05b;
    box-shadow: 0 0 20px 0 rgba(199, 160, 91, 0.7);
    text-shadow: 0 0 8px rgba(199, 160, 91, 0.5);
}

.btn-animowany span {
    position: absolute;
    z-index: 2;
}

.btn-animowany span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(199, 160, 91, 0), #c7a05b);
    animation: 2s animateTop linear infinite;
}

.btn-animowany span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(199, 160, 91, 0), #c7a05b);
    animation: 2s animateRight linear -1s infinite;
}

.btn-animowany span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, rgba(199, 160, 91, 0), #c7a05b);
    animation: 2s animateBottom linear infinite;
}

.btn-animowany span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to top, rgba(199, 160, 91, 0), #c7a05b);
    animation: 2s animateLeft linear -1s infinite;
}


@keyframes animateTop {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes animateRight {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes animateBottom {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes animateLeft {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@-webkit-keyframes animateTop {
    0% {
        -webkit-transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(100%);
    }
}

@-webkit-keyframes animateRight {
    0% {
        -webkit-transform: translateY(-100%);
    }
    100% {
        -webkit-transform: translateY(100%);
    }
}

@-webkit-keyframes animateBottom {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@-webkit-keyframes animateLeft {
    0% {
        -webkit-transform: translateY(100%);
    }
    100% {
        -webkit-transform: translateY(-100%);
    }
}


.secondary-text {
    color: #ffffff !important;
}

.nav-link {
    color: white;
}

.navbar-toggler {
    border: none;
}

.nav-link:hover {
    color: #c7a05b;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c7a05b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    box-shadow: 0 0 0 0.1rem rgba(199, 160, 91, 0.5);
}

#offcanvas {
    background-color: #0b090a;
}

.offcanvas-header .btn-close {
    background-color: transparent;
    color: #c7a05b;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c7a05b'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}


.offcanvas-header .btn-close:focus {
    outline: 0;
    box-shadow: none;
}

.logo-img {
    width: 80px;
    height: auto;
    max-width: 100%;
}

.anim-headline {
    color: #c7a05b;
    font-weight: 400;
    font-size: 40px;
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(0, 0, 0);
}

.anim-headline-static {
    display: inline-block;
    opacity: 0;
    animation: showup 7s forwards;
}

.anim-headline-dynamic-wrapper {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
}

.anim-headline-dynamic-inner {
    display: inline-block;
    opacity: 0;
    transform: translateX(-100%);
    animation: slidein-reveal 7s forwards;
}

@keyframes showup {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slidein-reveal {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        transform: translateX(-100%);
        opacity: 0;
    }
    35% {
        transform: translateX(0%);
        opacity: 1;
    }
    80% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

.card-body {
    color: #c7a05b;
}

.card-title {
    font-weight: 400;
}

.shadow-extradark-large {
    box-shadow: 0 1.5rem 2.0rem rgba(0, 0, 0, 0.8);
    background-color: #0b090a;
    transition: transform 0.3s ease-out;
}

.w-lg-85 {
    width: 85%;
}


@keyframes fadeInFromBottomLeft {
    0% {
        opacity: 0;
        transform: translate(-50px, 50px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}


.animate-cards-row .col {
    opacity: 0;
}


.animate-cards-row .col.is-visible {
    animation-name: fadeInFromBottomLeft;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    animation-delay: 0.1s;
}


.cars {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.cars-1 {
    background-image: url("../img/nasze-pojazdy.webp");
}

.cars-2 {
    background-image: url("../img/nasze-pojazdy-1.webp");
}

.cars-3 {
    background-image: url("../img/nasze-pojazdy-2.webp");
}

.promo-section {
    background-color: #0b090a;
}

.shadow-extradark-large:hover {
    transform: scale(1.03);
}

.map-section {
    color: #c7a05b;
}

.map-section .province-name {
    color: #c7a05b;
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.map-section .city-list {
    list-style: none;
    padding-left: 0;
}

.map-section .city-list li {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

@keyframes flipInX {
    from {

        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    to {

        transform: perspective(400px) rotateX(0);
        opacity: 1;
    }
}


.animate-flip {
    opacity: 0;
}


.animate-flip.is-visible {
    animation-name: flipInX;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;

    backface-visibility: hidden;
}


@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.animate-zoom {
    opacity: 0;
}


.animate-zoom.is-visible {
    animation-name: zoomIn;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}


.effect-2 {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #c7a05b;
    text-transform: capitalize;
    background-color: #0b090a;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px 15px;
    width: 240px;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

.effect-2.effect-1 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.effect-2.effect-1:before {
    content: "\f178";
    font-family: FontAwesome;
    font-size: 15px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    right: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    width: 40px;
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.effect-2.effect-1:hover {
    text-indent: -20px;
    background-color: #c7a05b;
    color: #0b090a;
    font-weight: 500;
}

.effect-2.effect-1:hover:before {
    opacity: 1;
    text-indent: 0px;
}



.effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #c7a05b;
    text-transform: capitalize;
    background-color: #0b090a;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    padding: 20px 15px;
    width: 220px;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

.effect.effect-1 {
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.effect.effect-1:before {
    content: "\f178";
    font-family: FontAwesome;
    font-size: 15px;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    right: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    width: 40px;
    -webkit-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
}

.effect.effect-1:hover {
    text-indent: -20px;
    background-color: #c7a05b;
    color: #0b090a;
    font-weight: 500;
}

.effect.effect-1:hover:before {
    opacity: 1;
    text-indent: 0px;
}

.modal-form-dark .modal-content {
    background-color: #1b1b1c;
}

.modal-form-dark input.datepicker {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.modal-form-dark .form-control:focus,
.modal-form-dark .form-select:focus {
    border-color: #c7a05b;
    box-shadow: 0 0 0 0.25rem rgba(199, 160, 91, 0.5);
}

.modal-form-dark .form-floating input[required] + label::after {
    content: ' *';
    color: red;
}

.modal-form-dark .btn-primary {
    background-color: #c7a05b;
    border-color: #c7a05b;
    color: #0b090a;
    font-weight: 500;
}

.modal-form-dark .btn-primary:hover {
    background-color: #0b090a;
    border-color: #0b090a;
    color: #c7a05b;
}

.modal-form-dark .btn-secondary {
    background-color: transparent;
    border-color: #c7a05b;
    color: #c7a05b;
}

.modal-form-dark .btn-secondary:hover {
    background-color: #c7a05b;
    border-color: #c7a05b;
    color: #0b090a;
}

.modal-form-dark .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c7a05b'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    opacity: 1;
    transition: transform 0.4s ease-out;
}

.modal-form-dark .btn-close:hover {
    opacity: 1;
    filter: none;
    transform: rotate(360deg);
}

.modal-form-dark .btn-close:focus {
    box-shadow: none;
    outline: 0;
}

.modal-form-dark input.datepicker,
#data-urodzenia {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.modal-form-dark input[type="file"].form-control {
    color: #fff;
}

#cv-error {
    font-size: 0.9rem;
    font-weight: 500;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.prevMonthDay.selected,
.flatpickr-day.nextMonthDay.selected,
.flatpickr-day.prevMonthDay.selected:hover,
.flatpickr-day.nextMonthDay.selected:hover {
    background: #c7a05b;
    border-color: #c7a05b;
    color: #0b090a;
}

.flatpickr-day.today:hover {
    background: #c7a05b;
    border-color: #c7a05b;
    color: #0b090a;
}

.contact {
    color: #ffffff;
}

.contact h5 {
    color: #c7a05b;
}

footer .logo-img {
    width: 120px;
    height: auto;
}

.job {
    background-color: #0b090a;
    color: #c7a05b;
}

.application {
    background-color: #1b1b1c;
    color: #c7a05b;
}

.btn-job {
    background-color: #1b1b1c;
    color: #c7a05b;
    border-color: #c7a05b;
}

.btn-job:hover {
    background-color: #c7a05b;
    color: #0b090a;
    border-color: #0b090a;
}

a.btn-primary.btn-job:active {
    background-color: #c7a05b;
    color: #0b090a;
    border-color: #0b090a;
    box-shadow: none;
}

#modalAplikuj .btn-primary:focus,
#modalAplikuj .btn-secondary:focus {
    box-shadow: none;
    outline: 0;
}

#btn-remove-cv {
    color: #adb5bd;
    border-color: #495057;
}

#btn-remove-cv:hover,
#btn-remove-cv:focus {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    box-shadow: none;
}

#oferty-pracy {
    padding-top: 3rem;
    padding-bottom: 6rem !important;
    background-color: #0b090a;
}

.form-alert {
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    font-weight: 500;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;

    background-color: #0b090a;
    color: #c7a05b;
    border: 1px solid #c7a05b;
    opacity: 1;

    outline: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (hover: hover) {

    #backToTopBtn {
        background-color: #c7a05b;
        color: #0b090a;
        border: none;
        opacity: 0.6;
    }

    #backToTopBtn:hover {
        background-color: #0b090a;
        color: #c7a05b;
        border: 1px solid #c7a05b;
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .cars {
        height: 300px;
        min-height: auto;
    }

    #obszar-dzialania {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {

    .anim-headline {
        font-size: 32px;
    }

    .anim-headline-dynamic-wrapper {
        white-space: normal;
        display: block;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .animate-cards-row {
        margin-top: 2rem;
    }

    footer .row.text-md-start > .col-12.d-flex:first-child {
        justify-content: center;
    }

    footer .row.text-md-start > .col-12.text-md-center {
        margin-top: 1.5rem;
    }

    footer .row.align-items-center .col-12 p.text-sm-start {
        text-align: center;
    }
}

@media (min-width: 768px) {
    footer .row.text-md-start {
        align-items: center;
    }
}

:root {
    --color--main-reveal: #c7a05b;
}

.has-animation {
    position: relative;
}

.has-animation > * {
    opacity: 0;
}

.has-animation.animate-in > * {
    animation: textHidden 0.1s 1.1s forwards;
}

.has-animation.animate-in:before,
.has-animation.animate-in:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 10;
}

.has-animation.animate-in:before {
    background-color: var(--color--main-reveal);
}

.has-animation.animate-in:after {
    background-color: #1b1b1c;
    animation-delay: .5s;
}

.has-animation.animation-ltr.animate-in:before {
    animation: revealLTR 1.8s ease;
}

.has-animation.animation-ltr.animate-in:after {
    animation: revealLTR 1s .6s ease;
}

.has-animation.animation-rtl.animate-in:before {
    animation: revealRTL 1.8s ease;
}

.has-animation.animation-rtl.animate-in:after {
    animation: revealRTL 1s .6s ease;
}

@keyframes revealRTL {
    0% {
        width: 0;
        right: 0;
    }
    65% {
        width: 100%;
        right: 0;
    }
    100% {
        width: 0;
        right: 100%;
    }
}

@keyframes revealLTR {
    0% {
        width: 0;
        left: 0;
    }
    65% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}

@keyframes textHidden {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}