@font-face {
    font-family: 'TS Remarker';
    src: url('assets/TSRemarker-Regular.woff2') format('woff2'),
        url('assets/TSRemarker-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
    font-family: 'TS Remarker', Georgia, 'Times New Roman', serif;
}

select {
    text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 11rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 5rem);
}

p {
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.4;
}

.navbar {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pill-btn {    
  border: none;
  border-radius: 999px;
  padding: 0.2em 20px 0px 20px;
  color: #000;
  font-size: 24px;
  text-align: center;
  cursor: pointer;
  margin-right: 1rem;
  margin-top: 1rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.pill-btn:active {
  transform: scale(0.97);
}

.yellow-pill {
  background-color: #f1c760;
  width: 160px;
}

.yellow-pill:hover {
  background-color: #efd594;
}

.white-pill {
    width: 160px;
    height: 45px;
    background-color: white;
}

.white-pill:hover {
    background-color: rgb(190, 190, 190);
}

.blue-pill {
  color: #ffffff;
  width: 250px;
  height: auto;
  font-size: xx-large;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.language-picker {
    position: relative;
    display: inline-block;
}

.language-list {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 100;
}

.language-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-list li img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

#current-lang img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
}

.scroll-next-section-btn {
  display: none;
}

.carousel-close-btn {
  display: none;
}

@media (max-width: 1100px) {
  .scroll-next-section-btn {
    display: flex;
    position: fixed;
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 1020;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background-color: #f1c760;
    color: #000000;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .scroll-next-section-btn:hover,
  .scroll-next-section-btn:focus-visible {
    background-color: #efd594;
    color: #000000;
    outline: none;
  }

  .scroll-next-section-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(241, 199, 96, 0.5);
  }

  .scroll-next-section-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .scroll-next-section-icon {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .scroll-next-section-btn--back-top .scroll-next-section-icon {
    transform: rotate(180deg);
  }

  @media (prefers-reduced-motion: reduce) {
    .scroll-next-section-btn {
      transition: none;
      transform: translateX(-50%);
    }

    .scroll-next-section-btn.is-visible {
      transform: translateX(-50%);
    }

    .scroll-next-section-icon {
      transition: none;
    }
  }
}

/***************************
*      TITLE SECTION
****************************/
.title-section {
  position: relative;
  width: 100%;
  height: clamp(72vh, 55vw, 100vh);
  overflow: visible;
  background-image: url("./img/bg-img/titile-bg.png");
  background-size: 100% auto;
  background-position: bottom left;
  background-repeat: no-repeat;
}

.title-text {
  position: absolute;
  top: clamp(7%, 2.5vw, 10%);
  right: clamp(3%, 4vw, 5%);
  width: clamp(62%, 66vw, 70%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.title-text h1 { font-size: clamp(2rem, 7.5vw, 11rem); text-align: right; }
.title-text h2 { font-size: clamp(1rem, 4.5vw, 5rem); text-align: right; margin-top: 1rem; }

.title-text a.btn {
  position: relative;
  font-size: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(0.5rem, 1.1vw, 1rem);
  right: clamp(30%, 34vw, 40%);
}

/***************************
*     ABOUT SECTION
****************************/
.about-section {
  position: relative;
  width: 100%;
  height: clamp(105vh, 95vw, 160vh);
  padding: 0;                   
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  box-sizing: border-box;
  background-image: url("./img/bg-img/about-us-bg.png");
  background-size: 100% auto;
  background-position: right center;
  background-repeat: no-repeat;
}

.about-text {
  max-width: clamp(500px, 42vw, 700px);
  width: clamp(70%, 76vw, 80%);
  text-align: center;
  align-self: start;
  margin: clamp(0px, 10vw, 200px) auto 0;
}

.about-text h1,
.about-text p {
  margin: 0;
}

.about-text h1 {
  font-size: clamp(2rem, 7.5vw, 11rem);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 5rem);
  line-height: 1.4;
  margin: 0;
  word-break: normal;
  overflow-wrap: break-word; 
  white-space: pre-line;     
}

/***************************
*     SERVICES SECTION
****************************/
.services-section {
  position: relative;
  height: auto;
  min-height: clamp(100vh, 92vw, 110vh);
  padding-top: clamp(5%, 7vw, 10%);
  display: block;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  background-image: url("./img/bg-img/services-bg.png");
  background-size: 100% auto;
  background-position: left top;
  background-repeat: no-repeat;
}

.services-title {
  padding-right: clamp(16px, 6vw, 100px);
  text-align: center;
  font-size: clamp(4.2rem, 7.8vw, 10rem);
}

.services-sign {
  padding-top: clamp(18px, 2.6vw, 50px);
  padding-right: clamp(16px, 6vw, 100px);
  max-height: clamp(180px, 18vw, 350px);
  width: auto;
  object-fit: contain;
}

.services-section .services-card--clickable {
  cursor: pointer;
}

.services-section .card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.services-section .card-img {
  max-height: clamp(220px, 22vw, 360px);
  width: auto;
  object-fit: contain;
}

.services-section .card-img:hover {
  transform: scale(0.97);
  border: 2px solid #000000;
  border-radius: 12px;
}

.services-carousel h3 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
  align-items: start;
}

.services-carousel p {
  font-size: 1.5rem;
  color: #555;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev,
.carousel-control-next {
  top: auto;
  bottom: 10px;
  transform: none;
  background-color: #f1c760; 
  width: 80px;
  height: 20px;
  display: flex;
  border-radius: 50px;
  color: #000000;
}

.carousel {
  height: 740px;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #efd594;
  color: #000000;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: #000;
  transition: none;
}

.carousel-item {
  padding: 15px;
}

.carousel-item,
.carousel-slide {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-slide {
  display: flex;
  align-items: stretch;
  padding: 40px;
  gap: 30px;
}

@media (min-width: 1101px) {
  #carouselModal .modal-content {
    position: relative;
  }

  #carouselModal .carousel-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 30;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #b82323;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  #carouselModal .carousel-close-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
  }

  #carouselModal .carousel-flip-root,
  #carouselModal .carousel-flip-inner,
  #carouselModal .carousel-flip-front,
  #carouselModal .carousel-flip-back {
    display: contents;
  }
}

.carousel-img {
  width: 60%;
  max-width: 460px;
  height: 100%;    
  object-fit: cover;
  flex-shrink: 0;
}

.slide-text {
  flex: 1;
}

.slide-text h3 {
  margin-bottom: 15px;
}

.slide-text p {
  margin: 0;
}

.slide-text-business {
  flex: 1;
  max-width: 400px;
}

.card-title {
  top: 15px;
}

.card-caption,
.card-caption-business {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 2.2cqw, 14px);
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  padding-top: 0;
  text-align: center;
}

.card-caption {
  font-size: 1.5rem;
}

.card-caption-business {
  color: yellow;
  font-size: 1.7rem;
}

.oc-carousel-card-caption {
  top: auto;
  bottom: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  font-size: 2rem;
}

.stroke-wrap {
  position: relative;
  max-width: 75%;
  margin: 0 auto;
  font-size: 3.2rem;
  word-break: normal;
  white-space: pre-line;
}

.stroke-wrap span,
.oc-stroke-wrap span {
  position: absolute;
  inset: 0;
}

.stroke,
.oc-stroke {
  color: transparent;
  -webkit-text-stroke: 16px rgb(255, 255, 255);
}

.fill,
.oc-fill {
  color: rgb(0, 0, 0);
}

@supports (container-type: inline-size) {
  .services-section .card {
    container-type: inline-size;
  }

  .services-section .stroke-wrap {
    font-size: clamp(1.3rem, 13cqw, 3.2rem);
  }

  .services-section .stroke {
    -webkit-text-stroke: clamp(6px, 2.3cqw, 16px) rgb(255, 255, 255);
  }

  .services-section .card-caption {
    font-size: clamp(1rem, 6.2cqw, 1.5rem);
  }

  .services-section .card-caption-business {
    font-size: clamp(1.1rem, 6.8cqw, 1.7rem);
  }
}

.oc-overlay {
  position: relative;
  text-align: center;
}

.oc-overlay img {
  width: 100%;
  max-width: 460px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.oc-overlay-text {
  position: absolute;
  bottom: 95%;
}

.oc-overlay-text.oc-carousel-card-caption {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  margin: 0;
  padding-bottom: 1px;
}

.oc-stroke-wrap {
  position: relative;
  max-width: 75%;
  margin: 0 auto;
  word-break: normal;
  white-space: pre-line;
}

.oc-stroke {
  font-size: 4rem;
}

.oc-fill {
  font-size: 4rem;
}

.oc-business-carousel-caption {
  color: yellow;
  font-size: 2rem;
}

/***************************
*     PRICES SECTION
****************************/
.prices-section {
  position: relative;
  min-height: clamp(82vh, 70vw, 108vh);
  height: auto;
  display: flex;
  align-items: center;
  overflow: visible;
  background-image: url("./img/bg-img/prices-bg.png");
  background-size: clamp(980px, 100vw, 1920px) auto;
  background-position: bottom left;
  background-repeat: no-repeat;
  padding-top: clamp(0.5rem, 1.8vw, 1.5rem);
}

@media (min-width: 1700px) {
  .prices-section {
    min-height: 130vh;
    background-size: 100% auto;
  }
}

.prices-pill {    
  border: none;
  border-radius: 999px;
  padding: 0.2em clamp(12px, 1.4vw, 20px) 0;
  color: #a12020;
  background-color: #f1c760;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  text-align: center;
  margin-right: clamp(0.3rem, 0.8vw, 1rem);
  margin-top: clamp(0.5rem, 0.8vw, 1rem);
  width: clamp(260px, 28vw, 420px);
  font-weight: bolder;
}

.prices-text {
  position: relative;
  top: clamp(28px, 3.2vw, 64px);
  left: clamp(-150px, -8vw, -20px);
}

.prices-desc-text {
  position: relative;
  top: clamp(24px, 2.8vw, 54px);
  text-align: center;
}

.prices-section .col-md-5 {
  display: flex;
  align-items: center;
}

.prices-section .row {
  width: 100%;
  min-height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.price-title {
  font-size: clamp(4rem, 8vw, 10.5rem);
  word-break: normal;
}

.price-caption {
  font-size: clamp(1.6rem, 2.3vw, 3rem);
}

/***************************
*     CONTACTS SECTION
****************************/
.contacts-section {
  position: relative;
  height: clamp(86vh, 56vw, 100vh);
  overflow: visible;
  background-image: url("./img/bg-img/contacts-bg.png");
  background-size: 100% auto;
  background-position: top left;
  background-repeat: no-repeat;
}

.image-grid {
  display: grid;
}

.image-grid img,
.image-grid .image-text {
  grid-area: 1 / 1;
}

.image-text {
  align-self: center;
  justify-self: center;
  margin-bottom: clamp(22px, 4vw, 70px);
  color: rgb(0, 0, 0);
}

.contact-cloud-img,
.contact-person-img {
  max-width: 100%;
  height: auto;
}

.contact-person-img {
  padding-top: clamp(50px, 11vw, 200px);
}

.contacts-cloud-title {
  color: #0557ac;
  text-align: center;
  font-size: clamp(4rem, 6.6vw, 9rem);
}

.contacts-cloud-text {
  text-align: center;
  font-size: clamp(1.6rem, 2.2vw, 3rem);
}

.contacts-description {
  color: #0557ac;
  text-align: center;
  bottom: 200px;
}

.contacts-btn {
  display: block;
  margin: 0 auto;
  max-width: 50%;
  height: auto;
}

.contacts-btn:hover {
  transform: scale(0.95);
  color: #000;
}

/***************************
*     VEHICLE FLEET SECTION
****************************/
.vehicle-fleet-title {
  color: #aa1630;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-self: center;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: clamp(8px, 0.7vw, 12px);
  align-items: stretch;
}

.fleet-grid .card {
  height: 100%;
}

.fleet-grid .card-img {
  height: clamp(250px, 21.5vw, 390px);
  width: 100%;
  object-fit: contain;
}

.vehicle-card {
  color: #aa1630;
  font-size: clamp(2.2rem, 2.6vw, 4rem);
  margin: 0 0 0 clamp(10px, 1.1vw, 20px);
}

.vehicle-text {
  margin: 0 0 0 clamp(10px, 1.1vw, 20px);
}