/*!
 * Start Bootstrap - Landing Page v5.0.7 (https://startbootstrap.com/template-overviews/landing-page)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE)
 */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "bmw-next-light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: white;
  color: black;
}

body.dark {
  color: white;
  background: url("../img/totoo-bck.jpg") repeat black;
}

header.masthead {
  position: relative;
  background-color: #343a40;
  background: url("../img/szybcy-i-odwazni-2.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

header.masthead-2 {
  background: url("../img/bmw-motorrad-2024-jazdy-2.jpg") no-repeat center
    center;
  background-size: contain;
  min-height: 670px;
  padding-top: 33rem !important;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

header.masthead h1 {
  font-size: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 15rem;
    padding-bottom: 1rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

.showcase .showcase-text {
  padding: 3rem;
}

.showcase .showcase-img {
  min-height: 411px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.phones-wrapper {
  margin: 2.5rem 0;
  display: flex;
  font-size: 1.5rem;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.phones-wrapper div {
  text-align: center;
}

.phones-wrapper .col:not(:last-child) {
  border-right: 1px solid black;
}

.phones-wrapper a {
  font-weight: bold;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 4rem 7rem;
  }
}

.features-icons {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

.testimonials {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.testimonials .testimonial-item {
  max-width: 18rem;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.call-to-action {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.call-to-action .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.container-main {
  /*width: 1280px;*/
  margin: 0 auto;
}

footer.footer {
  padding-top: 0;
  padding-bottom: 4rem;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  color: white;
  height: 80vh;
  background-image: url("../img/bmw-x3-hero.webp");
  background-size: cover;
}

.hero-section .inner {
  background: #000000;
  background: linear-gradient(
    37deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(255, 255, 255, 0) 69%
  );
  width: 100%;
  height: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-section h1 {
  text-align: left;
  font-size: 5rem;
  line-height: 65px;
  margin-top: 90px;
  margin-left: -7px;
}

.hero-section p {
  font-size: 1.5rem;
}

.hero-btns {
  display: flex;
  gap: 2rem;
}

.inner-section {
  height: 600px;
  background-image: url("../img/renault-rafale-interior.webp");
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-section h2 {
  font-size: 2.7rem;
  text-shadow: 0 0 30px #0a1449;
}

.hero-section img {
  width: 100%;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  line-height: 3.5rem;
  margin-top: 60px;
}

.hero-section .blue-btn {
  background: #1c69d4;
  color: #fff;
  padding: 15px 48px;
  font-weight: bold;
  display: inline-block;
}

.hero-section .white-btn {
  background: transparent;
  color: #fff;
  padding: 15px 48px;
  font-weight: bold;
  display: inline-block;
  border: 1px solid white;
}

.grid-container {
  display: grid;
  padding: 5rem;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  grid-template-rows: repeat(2, 1fr); /* 3 equal rows */
  gap: 30px; /* Space between grid items */
  margin: auto;
}

.grid-container div {
  background: white;
  padding: 1rem;
  text-align: center;
}

.grid-container div h3 {
  color: black;
}

.grid-container div img {
  width: 100%;
}

.blue-btn:hover {
  color: #ffffff;
  text-decoration: none;
  background: #0442a5;
}

.financing-details {
  background: #f3f5f7;
  padding: 5rem 0;
}

.financing-details__heading {
  border-bottom: 1px solid #c8cdd2;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.financing-details__eyebrow {
  color: #1c69d4;
  font-family: "bmw-next-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.financing-details h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.financing-details__heading > p:last-child {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.financing-details__price {
  align-items: baseline;
  border-left: 4px solid #1c69d4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-top: 2rem;
  padding: 0.35rem 0 0.35rem 1rem;
}

.financing-details__price-label,
.financing-details__price-period {
  font-size: 1rem;
}

.financing-details__price-value {
  font-family: "bmw-next-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.financing-details__price-value small {
  font-size: 1rem;
  white-space: nowrap;
}

.financing-details__price-period {
  color: #4b4f54;
}

.financing-details__list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.financing-details__list li {
  align-items: center;
  border-bottom: 1px solid #c8cdd2;
  display: flex;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 2rem 0 0;
  min-height: 5.25rem;
  padding: 0.8rem 1rem 0.8rem 2.15rem;
  position: relative;
}

.financing-details__list li::before {
  border-bottom: 2px solid #1c69d4;
  border-right: 2px solid #1c69d4;
  content: "";
  height: 0.6rem;
  left: 0.35rem;
  position: absolute;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  width: 0.3rem;
}

.x3-video-gallery {
  padding: 5rem 0;
  background: #fff;
}

.x3-video-gallery__heading {
  margin-bottom: 2rem;
}

.x3-video-gallery__eyebrow {
  margin-bottom: 0.5rem;
  color: #1c69d4;
  font-family: "bmw-next-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.x3-video-gallery__heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.x3-video-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.x3-video-gallery__item {
  min-width: 0;
  margin: 0;
}

.x3-video-gallery__item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101820;
  object-fit: contain;
}

.x3-video-gallery__item figcaption {
  padding-top: 0.8rem;
  font-family: "bmw-next-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .x3-video-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .x3-video-gallery {
    padding: 3.5rem 0;
  }

  .x3-video-gallery__grid {
    grid-template-columns: 1fr;
  }

  .financing-details {
    margin-top: 3rem;
    padding: 3.5rem 0;
  }

  .financing-details h2 {
    font-size: 2rem;
  }

  .financing-details__price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .financing-details__list {
    grid-template-columns: 1fr;
  }

  .financing-details__list li {
    margin-right: 0;
    min-height: 4.25rem;
  }
}

.mb-5,
.my-5 {
  margin-bottom: 1rem !important;
}

.col-lg-6 img {
  max-width: 100%;
}
.lead {
  font-size: 1rem;
  font-weight: 300;
}

.contact {
  padding: 60px 80px;
  color: #565252;
  padding-bottom: 0 !important;
}

.contact .col-lg-6 {
  padding: 0;
}

.contact h2 {
  display: block;
  width: 100%;
  font-size: 22px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  text-align: left;
}

.offer-form {
  padding: 80px 115px;
}

select {
  border: 1px solid black;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.offer-form h2,
.offer-form p {
  display: block;
  width: 100%;
}

.offer-form h2 {
  font-size: 2.5em;
}

.subtitle {
  font-size: 1.5em;
}

.contact .h3,
.contact h3 {
  font-size: 1.05rem;
  margin-top: 10px;
}

#main-form {
  width: 100%;
}

#main-form .col-lg-6 {
  float: left;
}

#main-form label {
  display: block;
  width: 100%;
}

#main-form .form-item {
  margin-bottom: 20px;
}

#main-form input[type="text"],
#main-form input[type="email"] {
  border: 1px solid black;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.policy {
  clear: both;
  font-size: 14px;
  padding: 40px;
  background: #f8f9fa;
  margin-top: 60px;
}

.policy input[type="checkbox"] {
  float: left;

  margin-right: 10px;
}

.dark .policy {
  background: #071017;
}

/*.bg-light {
    background-color: #071017!important;
    color: white;
}*/

.statement-item {
  margin-bottom: 20px;
}

.modal {
  background: #333b;
}

#kontakt {
  background: white;
  color: black;
}

#main-form [type="button"]:not(:disabled),
#main-form [type="reset"]:not(:disabled),
#main-form [type="submit"]:not(:disabled),
#main-form button:not(:disabled) {
  background: #1c69d4;
  border: none;
  color: #fff;
  padding: 10px 40px;
  margin: 0 auto;
  display: block;
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
}

.modal-dialog {
  max-width: 990px;
  margin: 1.75rem auto;
}

.text-center .subtitle-heading {
  text-align: left !important;
  font-size: 22px !important;
  font-weight: bold !important;
}

.team-photo,
.city-details {
  float: none;
}

.team-photo {
  width: 40%;
  margin: 0 auto;
  float: left;
  height: 300px;
  margin-right: 20px;
}

.team-photo img {
  border-radius: 50%;
}
.team-photo figure,
.team-photo figure img {
  width: 100%;
}

.contact .h3,
.contact h3 {
  font-size: 1.15rem;
}

.mobile-only {
  display: none;
}

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300 !important;
  margin-top: 15px;
}

ul li {
  font-weight: 300;
}

.showcase .showcase-text {
  padding: 2rem 3rem;
}

/*nav {
    padding:10px;
    padding-top:30px;
}*/

nav {
  /*padding: 30px;*/
  /*padding-top: 30px;*/
  /*    display: flex;
        align-items: center;
        justify-content: space-between;*/
}

ol {
  padding-left: 16px;
}

ol li {
  margin-bottom: 10px;
}

.flex-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 50px;
}

.flex-row h2 {
  text-align: center;
  font-size: 2em;
  border-bottom: 1px solid #ffffff33;
}

.flex-row p {
  font-size: 1.5em;
  text-align: center;
}

/*.modal-dialog {
    color: black
}*/

.main-title h1 {
  text-align: center;
  margin: 3rem 0;
}

.col-lg-6 textarea {
  width: 100%;
}

.grid-item {
  padding: 3rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.tech-boxes .grid-container {
  gap: 40px;
}

.img-box img {
  width: 100%;
}

.large-text {
  font-size: 1.2rem;
}

.tech-boxes p {
  margin: 0;
  padding: 0;
}

.extra-size {
  font-size: 5rem;
  font-weight: bold;
  line-height: 3rem;
}

.extra-size small {
  font-size: 2rem;
}

.box-border {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #fff3;
}

.tech-boxes {
  margin-bottom: 3rem;
}

.leading-txt {
  text-align: center;
  padding: 10rem;
}

.mid-section-header {
  font-size: 3rem;
  text-align: left;
  width: 60%;
  margin-bottom: 40px;
}

.modal-open .modal {
  z-index: 999999;
  color: black;
}

.slogan-txt {
  text-align: center;
  font-size: 200%;
  padding: 3rem 2rem 3rem;
}

.slogan-txt h2 {
  font-size: 3rem;
}

h2 .discount {
  font-size: 150%;
  color: #f08663;
}

.color {
  color: #1c69d4;
}

.model-btn {
  border: 8px solid white;
  box-shadow: 0 0 10px #ddd;
}

.model-btn:hover,
.model-btn.selected {
  border: 8px solid #1c69d4;
  cursor: pointer;
}

.model-btn {
  position: relative;
}

.model-btn.selected::after {
  content: "✔";
  font-size: 29px;
  color: white;
  background-color: #1c69d4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  color: black;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -21px;
  /* border: 2px solid black; */
  right: -16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.model-element {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.model-element label {
  margin-top: -6px;
}

.models-checkboxes {
  display: flex;
  margin-top: 1rem;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .parallax {
    background-attachment: initial;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  nav {
    display: none;
  }
  .grid-container {
    grid-template-columns: 1fr; /* Stack columns in one row */
    padding: 2rem;
    gap: 2rem;
  }

  .slogan-txt h2 {
    font-size: 2.4rem;
  }

  .hero-section {
    background-image: url("../img/bmw-x3-hero-mobile.webp");
    /*background-position: -75px 0;*/
    height: 90vh;
  }

  .hero-section .blue-btn {
    margin-bottom: 11vh;
  }

  .hero-section h1 {
    text-align: center;
    font-size: 3.2rem;
    line-height: 50px;
    margin-top: -20px;
    text-shadow: 0 10px 40px #041e67;
  }

  .hero-section h1 small {
    font-size: 1.3rem;
    /* font-weight: 300; */
  }

  .leading-txt {
    text-align: center;
    padding: 2rem;
  }

  .extra-size {
    font-size: 4.6rem;
  }

  .box-border {
    margin: 0;
    padding: 0;
    border: none;
  }

  .tech-boxes .grid-container {
    margin-bottom: 40px;
  }

  .mid-section-header {
    font-size: 2.5rem;
    width: 100%;
  }

  .inner-section h2 {
    font-size: 2.5rem;
    text-shadow: 0 0 30px #0a1449;
    padding: 40px;
  }

  .hero-section .inner {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .col-xl-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .phones-wrapper {
    display: block;
  }

  .phones-wrapper .col {
    display: block;
    border: none !important;
    padding-left: 15px !important;
    margin-bottom: 20px !important;
  }
  .offer-form h2 {
    font-size: 1.8em;
    text-align: center;
    margin-top: 40px;
  }

  .h1,
  h1 {
    font-size: 1.8rem;
  }

  .container-main {
    width: 100%;
    margin: 0 auto;
  }

  nav .img-logo {
    width: 170px;
    float: left;
    margin-top: 6px;
  }

  nav a.blue-btn {
    display: none;
  }

  .offer-form {
    padding: 15px;
  }

  .showcase .showcase-img {
    min-height: 250px;
  }

  .city-details {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
  }

  .team-photo {
    margin-top: 20px;
    float: none;
    height: auto;
    width: 100%;
    margin-bottom: 30px;
  }

  .masthead {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .contact {
    padding: 60px 60px;
    color: #565252;
    padding-bottom: 0 !important;
  }

  .dark .contact {
    color: white;
  }

  .dark .offer-form h2 {
    font-size: 2.5em;
    margin: 35px 0;
    text-align: center;
  }

  .dark .offer-form p {
    display: block;
    width: 100%;
    text-align: center;
  }

  .flex-row {
    display: block;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
  }

  .hero-btns {
    display: block;
    width: 100%;
    margin-top: 23rem;
  }

  .hero-btns .blue-btn,
  .hero-btns .white-btn {
    display: block;
    width: 100%;
    margin-bottom: 2vh;
    text-align: center;
  }
}
