/* TOTO company trade: overrides for index-one-page.html (loaded after style.css) */

/* Logo sizes: TOTO logo is wider than the template logo */
.sidebar-area .offcanvas-header .logo img {
  max-width: 170px;
}
.main-footer-one .footer-widget-content .logo img {
  max-width: 200px;
}

.main-header .menu-btn .btn-title {
  white-space: nowrap;
}

/* Make room in the header for the language switcher */
.main-header .main-box .nav-outer {
  gap: 60px;
}
@media (max-width: 1399.98px) {
  .main-header .main-menu .navigation > li {
    margin-right: 20px;
    padding-right: 0;
  }
}

/* Language switcher in the header (replaces the template "Menu" label) */
.lang-switch {
  position: relative;
  margin: 0 25px 0 30px;
}
.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-family: var(--title-font);
  font-weight: 500;
  font-size: 18px;
  color: var(--heading-color);
}
.lang-switch summary::-webkit-details-marker {
  display: none;
}
.lang-switch summary i {
  color: var(--theme-color2);
}
.lang-switch summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lang-switch[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.lang-switch ul {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 10;
  min-width: 150px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--theme-color-white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 70, 84, 0.15);
}
.lang-switch ul a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--title-font);
  font-weight: 500;
  color: var(--heading-color);
}
.lang-switch ul a:hover,
.lang-switch ul a[aria-current="page"] {
  background: var(--theme-bg-color1);
  color: var(--theme-color2);
}

/* Replace template placeholder backgrounds */
.banner-section-one .banner-content-wrap {
  background-image: url(../images/banner-conent-bg.png);
}
.banner-section-one .banner-wrapper {
  background: linear-gradient(160deg, #F3FDFF 0%, #DDF1F5 55%, #C9E8EF 100%);
}
.why-choose-section-one .why-choose-wrapper .why-choose-counter {
  background: var(--theme-color2);
}
.latest-blog-section-one {
  background: var(--theme-color-white);
  border-radius: 20px;
}

/* Solution boxes (FCL/LCL/DDP) are hidden by the template below 992px; show them under the image instead */
@media (max-width: 991.98px) {
  .project-section-one .project-box .project-box-item .project-thumb .project-box,
  .project-section-one .project-box .project-box-item .project-thumb .project-box.two {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    height: auto;
    margin: 15px 0 30px;
    padding: 40px 30px;
    background: var(--gradient-2);
  }
}

/* About box: stack the counter under the transport info on phones instead of overlapping it */
@media (max-width: 767.98px) {
  .about-section-one .about-autor-box .about-counter {
    position: static;
    margin-top: 20px;
  }
}

/* Light panel behind the transport section: template height minus the removed brand strip */
.testimonial-section-one::before {
  height: 844px;
  bottom: -844px;
}

/* FAQ cards (reuse testimonial layout) */
.testimonial-section-one .single-testi-box .testi-desc p {
  box-shadow: none;
  margin: 15px 0 20px;
}
.testimonial-section-one .single-testi-box .testi-autor-box .autor-desi {
  margin: 0;
  line-height: 28px;
}
.testimonial-section-one .autor-box a {
  color: inherit;
}

/* Rotating text around the footer call-to-action */
.main-footer-one .footer-circle .circle-text svg {
  display: block;
}
