/***
=============================================
Rania Logistics - Custom Components
=============================================
***/

/*--- Core Values ---*/
.core-values__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.core-values__col {
  width: 20%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 30px;
}

.core-values__single {
  position: relative;
  display: block;
  height: 100%;
  background-color: var(--trnspot-white);
  border: 1px solid var(--trnspot-bdr-color);
  border-radius: var(--trnspot-bdr-radius);
  padding: 40px 25px 33px;
  text-align: center;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.core-values__single:hover {
  border-color: var(--trnspot-base);
  -webkit-box-shadow: 0px 10px 40px rgba(var(--trnspot-black-rgb), 0.08);
  box-shadow: 0px 10px 40px rgba(var(--trnspot-black-rgb), 0.08);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.core-values__count {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--trnspot-black);
  color: var(--trnspot-white);
  font-family: var(--trnspot-font-two);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 22px;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.core-values__single:hover .core-values__count {
  background-color: var(--trnspot-base);
}

.core-values__single h3 {
  font-family: var(--trnspot-font-two);
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
  color: var(--trnspot-black);
  margin-bottom: 10px;
  text-transform: capitalize;
}

.core-values__single p {
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

@media only screen and (max-width: 1199px) {
  .core-values__col {
    width: 33.333333%;
  }
}

@media only screen and (max-width: 767px) {
  .core-values__col {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .core-values__col {
    width: 100%;
  }
}

/*--- Founder Quote ---*/
.founder-quote {
  position: relative;
  display: block;
  padding: 100px 0 100px;
  background-color: var(--trnspot-black);
  overflow: hidden;
}

.founder-quote__inner {
  position: relative;
  display: block;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.founder-quote__icon {
  position: relative;
  display: block;
  font-size: 50px;
  color: var(--trnspot-base);
  line-height: 1;
  margin-bottom: 30px;
}

.founder-quote__text {
  position: relative;
  display: block;
  font-family: var(--trnspot-font-two);
  font-size: 36px;
  line-height: 48px;
  font-weight: 400;
  color: var(--trnspot-white);
  margin-bottom: 35px;
}

.founder-quote__author h3 {
  font-family: var(--trnspot-font-two);
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  color: var(--trnspot-white);
  margin-bottom: 4px;
}

.founder-quote__author p {
  font-size: 16px;
  line-height: 26px;
  color: var(--trnspot-base);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media only screen and (max-width: 767px) {
  .founder-quote__text {
    font-size: 26px;
    line-height: 38px;
  }
}

/*--- Service Detail Blocks ---*/
.service-detail {
  position: relative;
  display: block;
  padding: 100px 0 0;
}

.service-detail--last {
  padding-bottom: 30px;
}

.service-detail__img {
  position: relative;
  display: block;
  border-radius: var(--trnspot-bdr-radius);
  overflow: hidden;
}

.service-detail__img img {
  width: 100%;
  height: auto;
  border-radius: var(--trnspot-bdr-radius);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.service-detail__img:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.service-detail__content {
  position: relative;
  display: block;
}

.service-detail__icon {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--trnspot-base);
  color: var(--trnspot-white);
  font-size: 34px;
  margin-bottom: 20px;
}

.service-detail__content h2 {
  font-family: var(--trnspot-font-two);
  font-size: 40px;
  line-height: 48px;
  font-weight: 500;
  color: var(--trnspot-black);
  margin-bottom: 8px;
}

.service-detail__content h4 {
  font-family: var(--trnspot-font);
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--trnspot-base);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.service-detail__content p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 22px;
}

.service-detail__list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.service-detail__list li {
  position: relative;
  width: 50%;
  font-size: 16px;
  line-height: 26px;
  color: var(--trnspot-black);
  font-weight: 500;
  padding: 6px 0 6px 28px;
}

.service-detail__list li span {
  position: absolute;
  top: 9px;
  left: 0;
  font-size: 15px;
  color: var(--trnspot-base);
}

@media only screen and (max-width: 767px) {
  .service-detail__list li {
    width: 100%;
  }
  .service-detail__content h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .service-detail__img {
    margin-bottom: 35px;
  }
}

/*--- Carrier Partners Strip ---*/
.carriers {
  position: relative;
  display: block;
  padding: 90px 0 90px;
  background-color: var(--trnspot-gray-bg);
}

.carriers__list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 -12px;
  padding: 0;
  list-style: none;
}

.carriers__list li {
  padding: 12px;
}

.carriers__list li span {
  position: relative;
  display: block;
  min-width: 220px;
  padding: 22px 30px;
  text-align: center;
  background-color: var(--trnspot-white);
  border: 1px solid var(--trnspot-bdr-color);
  border-radius: var(--trnspot-bdr-radius);
  font-family: var(--trnspot-font-two);
  font-size: 26px;
  font-weight: 500;
  color: var(--trnspot-black);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.carriers__list li span:hover {
  background-color: var(--trnspot-black);
  border-color: var(--trnspot-black);
  color: var(--trnspot-white);
}

/*--- Cargo Types ---*/
.cargo-types__single {
  position: relative;
  display: block;
  height: 100%;
  background-color: var(--trnspot-white);
  border: 1px solid var(--trnspot-bdr-color);
  border-radius: var(--trnspot-bdr-radius);
  padding: 40px 30px 35px;
  margin-bottom: 30px;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.cargo-types__single:hover {
  border-color: var(--trnspot-base);
  -webkit-box-shadow: 0px 10px 40px rgba(var(--trnspot-black-rgb), 0.08);
  box-shadow: 0px 10px 40px rgba(var(--trnspot-black-rgb), 0.08);
}

.cargo-types__single .icon {
  position: relative;
  display: block;
  font-size: 44px;
  line-height: 1;
  color: var(--trnspot-base);
  margin-bottom: 22px;
}

.cargo-types__single h3 {
  font-family: var(--trnspot-font-two);
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  color: var(--trnspot-black);
  margin-bottom: 10px;
}

.cargo-types__single p {
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

/*--- Talk Freight CTA ---*/
.talk-freight {
  position: relative;
  display: block;
  padding: 100px 0 100px;
}

.talk-freight__inner {
  position: relative;
  display: block;
  background-color: var(--trnspot-black);
  border-radius: var(--trnspot-bdr-radius);
  padding: 65px 60px 60px;
  text-align: center;
  overflow: hidden;
}

.talk-freight__inner h2 {
  font-family: var(--trnspot-font-two);
  font-size: 50px;
  line-height: 58px;
  font-weight: 500;
  color: var(--trnspot-white);
  margin-bottom: 12px;
}

.talk-freight__inner > p {
  font-size: 18px;
  line-height: 30px;
  color: rgba(var(--trnspot-white-rgb), 0.75);
  margin-bottom: 35px;
}

.talk-freight__info {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.talk-freight__info li {
  position: relative;
  padding: 10px 30px;
  text-align: left;
}

.talk-freight__info li span.icon {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: var(--trnspot-base);
  margin-right: 10px;
  vertical-align: middle;
}

.talk-freight__info li p,
.talk-freight__info li a {
  display: inline-block;
  font-size: 17px;
  line-height: 28px;
  color: var(--trnspot-white);
  margin: 0;
  vertical-align: middle;
}

.talk-freight__info li a:hover {
  color: var(--trnspot-base);
}

@media only screen and (max-width: 767px) {
  .talk-freight__inner {
    padding: 45px 25px 40px;
  }
  .talk-freight__inner h2 {
    font-size: 34px;
    line-height: 44px;
  }
  .talk-freight__info li {
    width: 100%;
    padding: 8px 0;
    text-align: center;
  }
}

/*--- Mission & Vision ---*/
.mission-vision {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px 30px;
  padding: 0;
  list-style: none;
}

.mission-vision li {
  width: 50%;
  padding: 0 15px;
}

.mission-vision li .inner {
  position: relative;
  display: block;
  height: 100%;
  background-color: var(--trnspot-gray-bg);
  border-radius: var(--trnspot-bdr-radius);
  border-left: 3px solid var(--trnspot-base);
  padding: 26px 26px 22px;
}

.mission-vision li h3 {
  font-family: var(--trnspot-font-two);
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
  color: var(--trnspot-black);
  margin-bottom: 8px;
}

.mission-vision li p {
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .mission-vision li {
    width: 100%;
    margin-bottom: 20px;
  }
}

/*--- Header top-right tagline ---*/
.header-style1__tagline p {
  font-size: 15px;
  line-height: 26px;
  color: var(--trnspot-white);
  letter-spacing: 0.5px;
  margin: 0;
}

/*--- Form response messages ---*/
.form-message {
  font-size: 15px;
  line-height: 26px;
  margin: 12px 0 0;
}

.form-message--success {
  color: #1c7c3e;
}

.form-message--error {
  color: #c0341c;
}

/*--- Anchor offset for in-page service links ---*/
.service-detail {
  scroll-margin-top: 120px;
}

/*--- FAQ stat badges (Rania copy is longer than the template's) ---*/
.faq-one__img {
  margin-left: 0;
}

.faq-one__customer .count-text-box h4 {
  font-size: 15px;
  line-height: 22px;
  padding: 0 12px;
}

.faq-one__reviews .count-text-box .count-number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.faq-one__reviews .count-text-box .count-number span {
  font-family: var(--trnspot-font-two);
  font-size: 26px;
  line-height: 36px;
  font-weight: 500;
  color: var(--trnspot-black);
}

/*--- Header tagline: icon + 24/7 line ---*/
.header-style1__tagline p i {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--trnspot-base);
  margin-right: 6px;
  vertical-align: middle;
}

/*--- Quote form: cargo-details textarea (template had no textarea here) ---*/
.why-choose-one__form .input-box textarea {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  background-color: var(--trnspot-white);
  border: 1px solid rgba(var(--trnspot-black-rgb), .15);
  border-radius: var(--trnspot-bdr-radius);
  padding: 14px 40px 14px 20px;
  outline: none;
  font-size: 15px;
  line-height: 26px;
  font-weight: 400;
  color: var(--trnspot-gray);
  font-family: var(--trnspot-font);
  resize: none;
}

.why-choose-one__form .input-box textarea::-webkit-input-placeholder {
  color: var(--trnspot-gray);
}

.why-choose-one__form .input-box textarea::placeholder {
  color: var(--trnspot-gray);
}

.why-choose-one__form .input-box textarea:focus,
.why-choose-one__form .input-box input[type="text"]:focus,
.why-choose-one__form .input-box input[type="email"]:focus {
  border-color: var(--trnspot-base);
}

/* Pen icon sits at the top of the textarea, not vertically centred. */
.why-choose-one__form .input-box .icon.style2 {
  top: 16px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/*--- 24/7 ops-support badge on the FAQ image ---*/
.faq-one__reviews {
  width: 190px;
  padding: 16px 15px 14px;
}

.faq-one__reviews .count-text-box {
  display: block;
  text-align: center;
}

.faq-one__reviews .count-text-box .count-number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.faq-one__reviews .count-text-box .count-number h4,
.faq-one__reviews .count-text-box .count-number span {
  font-family: var(--trnspot-font-two);
  font-size: 36px;
  line-height: 42px;
  font-weight: 500;
  color: var(--trnspot-black);
  margin: 0;
}

.faq-one__reviews .count-text-box > h4 {
  margin: 2px 0 0;
  margin-left: 0;
  font-family: var(--trnspot-font);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--trnspot-base);
}

/*--- Equal-height service cards (Home, About, Services) ---*/
.services-one .row > [class*="col-"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.services-one .row > [class*="col-"] > .services-one__single {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.services-one .row > [class*="col-"] > .services-one__single > .services-one__single-content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Push the Read More link to the bottom so every card lines up. */
.services-one .row > [class*="col-"] > .services-one__single > .services-one__single-content > p {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

/*--- Cargo carousel: one fixed aspect ratio for every slide ---*/
.project-one__single-img .inner {
  aspect-ratio: 385 / 550;
}

.project-one__single-img .inner img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Fallback for browsers without aspect-ratio support. */
@supports not (aspect-ratio: 1 / 1) {
  .project-one__single-img .inner {
    height: 470px;
  }
}

.project-one__carousel .swiper-slide {
  height: auto;
}

/*--- Contact map: greyscale, colour on hover, click for directions ---*/
.contact-page__google-map {
  position: relative;
  border-radius: var(--trnspot-bdr-radius);
  overflow: hidden;
}

.contact-page__google-map-one {
  display: block;
  filter: grayscale(100%) contrast(0.95);
  -webkit-transition: filter 500ms ease;
  transition: filter 500ms ease;
  /* Clicks belong to the directions link that covers the map. */
  pointer-events: none;
}

.contact-page__google-map:hover .contact-page__google-map-one,
.contact-page__google-map:focus-within .contact-page__google-map-one {
  filter: grayscale(0%);
}

.map-directions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 20px 26px;
  border-radius: var(--trnspot-bdr-radius);
  text-decoration: none;
  background-color: rgba(var(--trnspot-black-rgb), 0.04);
  -webkit-transition: background-color 400ms ease;
  transition: background-color 400ms ease;
}

.map-directions:hover,
.map-directions:focus {
  background-color: rgba(var(--trnspot-black-rgb), 0);
}

.map-directions__pill {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  background-color: var(--trnspot-white);
  color: var(--trnspot-black);
  font-family: var(--trnspot-font-two);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: 50px;
  -webkit-box-shadow: 0px 6px 25px rgba(var(--trnspot-black-rgb), 0.18);
  box-shadow: 0px 6px 25px rgba(var(--trnspot-black-rgb), 0.18);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.map-directions__pill .icon-placeholder {
  font-size: 16px;
  color: var(--trnspot-base);
  -webkit-transition: color 400ms ease;
  transition: color 400ms ease;
}

.map-directions:hover .map-directions__pill,
.map-directions:focus .map-directions__pill {
  background-color: var(--trnspot-base);
  color: var(--trnspot-white);
}

.map-directions:hover .map-directions__pill .icon-placeholder,
.map-directions:focus .map-directions__pill .icon-placeholder {
  color: var(--trnspot-white);
}

.map-directions:focus-visible {
  outline: 3px solid var(--trnspot-base);
  outline-offset: 2px;
}
