/*
 * Site-specific corrections layered on top of the template.
 *
 * This file is loaded after main.css so that its rules win when they share
 * specificity with the theme (app/globals.css is injected before the theme).
 */

/* --------------------------------------------------------------------------
   Logo sizing and contrast
   -------------------------------------------------------------------------- */
.header-logo img,
.header-logo-2 img,
.offcanvas__logo img,
.footer-logo img {
  height: auto;
}

/* The template seats the logo on its orange panel in these header states.
   Render the mark white there so the orange "fast" never disappears. */
.main-header .header-logo img,
.header-2.sticky .logo img {
  filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   FAQ rating card (the template ships the markup without its styles)
   -------------------------------------------------------------------------- */
.faq-style-1 .faq-rating {
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 2;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(2, 14, 40, 0.14);
}

.faq-style-1 .faq-rating .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(236, 114, 22, 0.12);
  color: var(--theme, #ec7216);
  font-size: 18px;
  line-height: 1;
}

.faq-style-1 .faq-rating-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.faq-style-1 .faq-rating-content .content {
  color: var(--header, #001c34);
  font-size: 18px;
  font-weight: 700;
}

.faq-style-1 .faq-rating-content .link-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #5b6472);
}

.faq-style-1 .faq-rating-content .link-text.link-border {
  color: var(--theme, #ec7216);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-style-1 .faq-rating-content .link-text.link-border:hover {
  color: var(--header, #001c34);
}

/* --------------------------------------------------------------------------
   Brand slider
   Two partner marks per view on phones (site.js breakpoints). Only there do
   the slides get narrower than the artwork, so cap the logo size on phones
   and leave the desktop/tablet rendering exactly as the template designed it.
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
  .brand-slider .brand-img img {
    max-width: 100%;
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   Choose-us decoration
   The fork-lift illustration only fits in the empty gutter of very wide
   screens; below that it overlaps the checklist copy.
   -------------------------------------------------------------------------- */
@media (max-width: 1799.98px) {
  .choose-us-section .left-shape {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer
   At tablet widths the four columns wrap to a 2x2 grid; without a row gap
   the second row collides with the social icons above it.
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .footer-style-1 > .container-fluid > .row {
    row-gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   Contact form / off-canvas casing
   The theme title-cases every field, which mangles e-mail addresses and
   typed-in messages.
   -------------------------------------------------------------------------- */
.contact-wrapper .contact-info-right .contact-form input,
.contact-wrapper .contact-info-right .contact-form textarea {
  text-transform: none;
}

.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li {
  text-transform: none;
}

/* --------------------------------------------------------------------------
   Custom cursor
   The template's dot cursor is meaningless on touch devices and can leave a
   stray dot at the top-left corner.
   -------------------------------------------------------------------------- */
@media (hover: none), (pointer: coarse) {
  .mouse-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Service detail pages
   -------------------------------------------------------------------------- */
.service-detail-intro .style-1 .about-image-items {
  margin-left: 0;
  padding: 0;
  border-right: 0;
}

.service-detail-intro .style-1 .about-image-items .about-image {
  max-width: 100%;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
}

.service-detail-intro .style-1 .about-image-items .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-intro .style-1 .about-right-wrap {
  margin-left: 0;
}

.service-detail-intro .style-1 .about-right-wrap .about-content {
  margin-top: 0;
}

.service-detail-intro .style-1 .about-right-wrap .about-content p {
  margin-top: 24px;
}

.service-detail-intro .about-btn {
  margin-top: 32px;
}

/* Feature checklist used on the service detail pages. */
.service-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--header, #001c34);
}

.service-feature-list li img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* Related service cards on the detail pages. */
.service-detail-related .choose-us-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid rgba(2, 14, 40, 0.1);
  border-radius: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-detail-related .choose-us-item:hover {
  border-color: rgba(236, 114, 22, 0.45);
  box-shadow: 0 18px 40px rgba(2, 14, 40, 0.08);
  transform: translateY(-3px);
}

.service-detail-related .choose-us-item .icon {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--theme, #ec7216);
}

.service-detail-related .choose-us-item .icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-detail-related .choose-us-item .content h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.service-detail-related .choose-us-item .content h3 a:hover {
  color: var(--theme, #ec7216);
}

.service-detail-related .choose-us-item .content p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 991px) {
  .service-detail-intro .style-1 .about-image-items .about-image {
    height: 380px;
  }

  .service-detail-related .choose-us-item {
    padding: 24px 22px;
  }
}

@media (max-width: 575px) {
  .service-detail-intro .style-1 .about-image-items .about-image {
    height: 300px;
  }

  .service-feature-list {
    grid-template-columns: 1fr;
  }

  .service-detail-related .choose-us-item {
    gap: 16px;
  }

  .service-detail-related .choose-us-item .icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .service-detail-related .choose-us-item .icon img {
    width: 28px;
    height: 28px;
  }

  .service-detail-related .choose-us-item .content h3 {
    font-size: 20px;
  }
}
