/* =========================================================
   TRC v2: trust bar, homepage about/clients/industries, popup
   Uses the theme's rem scale (html font-size is vw based).
   ======================================================= */

/* ---------- Trust bar ---------- */
.trc-trust-bar {
  background: #fff;
  border-bottom: 1px solid #e4ece6;
  overflow: visible;
}
.trc-trust-bar .container {
  padding: 0 16rem;
}
.trc-trust-bar__list {
  display: grid;
  grid-template-columns: repeat(var(--trc-cols, 5), minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 3.6rem 0;
}
.trc-trust-bar__list:has(> li:nth-child(4):last-child) { --trc-cols: 4; }
.trc-trust-bar__list:has(> li:nth-child(3):last-child) { --trc-cols: 3; }
.trc-trust-bar__list:has(> li:nth-child(6):last-child) { --trc-cols: 6; }
.trc-trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2.4rem;
  border-left: 1px solid #e4ece6;
}
.trc-trust-bar__item:first-child {
  border-left: 0;
}
.trc-trust-bar__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  height: 6.2rem;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  background: #eef6ea;
  color: #4f9a2c;
}
.trc-trust-bar__icon svg {
  width: 3.1rem;
  height: 3.1rem;
  display: block;
}
.trc-trust-bar__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.8rem;
  font-family: "Readex Pro";
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: #053736;
  letter-spacing: -0.1rem;
}
.trc-trust-bar__value span {
  color: inherit;
}
.trc-trust-bar__number,
.trc-trust-bar__value .trc-count {
  font-size: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
}
.trc-trust-bar__title {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0;
}
.trc-trust-bar__subtitle {
  max-width: 24rem;
  font-size: 1.6rem;
  line-height: 1.45;
  margin-top: 0.6rem;
  color: #6b7a75;
}

/* ---------- Homepage: About ---------- */
.trc-home-about {
  background: #f3f8f3;
}
.trc-home-about__content p {
  font-size: 2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.trc-home-about__img img {
  display: block;
  height: 100%;
  max-height: 62rem;
  object-fit: cover;
}

/* ---------- Homepage: client logo marquee ---------- */
.trc-clients-marquee {
  padding: 10rem 0;
}
.trc-clients-marquee .head-box h2 {
  font-size: 3.6rem;
  margin-bottom: 5rem;
}
.trc-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  width: 100%;
}
.trc-marquee__track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9rem;
  padding-right: 9rem;
  margin: 0;
  list-style: none;
  animation: trc-marquee var(--trc-marquee-duration, 60s) linear infinite;
}
.trc-marquee:hover .trc-marquee__track {
  animation-play-state: paused;
}
.trc-marquee__item {
  flex: 0 0 auto;
  width: 17rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trc-marquee__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes trc-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .trc-marquee { overflow-x: auto; }
  .trc-marquee__track { animation: none; }
  .trc-marquee__track[aria-hidden="true"] { display: none; }
}

/* ---------- Homepage: industries ---------- */
.trc-industries {
  background: #053736;
}
.trc-industries h2,
.trc-industries h2 strong {
  color: #fff;
}
.trc-industries h2 strong {
  font-weight: 300;
}
.trc-industries__head p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.trc-industries__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 6rem 0 0;
  padding: 0;
  list-style: none;
}
.trc-industries__item {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  height: 100%;
  min-height: 10rem;
  padding: 2.4rem 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
a.trc-industries__item:hover {
  background: rgba(110, 190, 72, 0.14);
  border-color: #6ebe48;
}
.trc-industries__dot {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #6ebe48;
}
.trc-industries__icon {
  flex: 0 0 auto;
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
}
.trc-industries__name {
  color: #fff;
  font-family: "Readex Pro";
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ---------- Service page CTA buttons (popup trigger) ---------- */
button.service-banner-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* ---------- Consultation popup ---------- */
.trc-popup {
  position: fixed;
  inset: 0;
  z-index: 1000000; /* above the floating WhatsApp/Call buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.trc-popup.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.trc-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 55, 54, 0.72);
}
.trc-popup__dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-top: 5px solid #6ebe48;
  padding: 36px 36px 28px;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.trc-popup.is-open .trc-popup__dialog {
  transform: none;
}
.trc-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #053736;
}
.trc-popup__close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.trc-popup__close:hover,
.trc-popup__close:focus-visible {
  color: #6ebe48;
}
.trc-popup__head h6 {
  font-size: 12px;
  margin-bottom: 8px;
}
.trc-popup__head h2 {
  font-size: 28px;
  line-height: 1.2;
  color: #053736;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.trc-popup__head p {
  font-size: 15px;
  color: #5b6b66;
  margin-bottom: 8px;
}
/* Reuse the site form styles, sized in px so the popup reads the same at every width. */
.trc-popup .home-form-box form {
  padding: 0;
}
.trc-popup .home-form-box form::after {
  display: none;
}
/* The form starts with two hidden fields (page link, honeypot); drop their line breaks. */
.trc-popup .home-form-box form > p > br:nth-of-type(-n+2) {
  display: none;
}
.trc-popup .home-form-box input,
.trc-popup .home-form-box select,
.trc-popup .home-form-box textarea {
  height: 46px;
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
}
.trc-popup .home-form-box textarea {
  height: 80px;
  margin: 10px 0 20px;
}
.trc-popup .home-form-box form button {
  height: 50px;
  padding: 0 44px;
  font-size: 14px;
}
.trc-popup .wpcf7-not-valid-tip {
  font-size: 13px;
}
.trc-popup .wpcf7 form .wpcf7-response-output {
  font-size: 14px;
  margin: 16px 0 0;
}
html.trc-popup-open,
html.trc-popup-open body {
  overflow: hidden;
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 900px) {
  .trc-trust-bar .container {
    padding: 0 2rem;
  }
  .trc-trust-bar__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1.6rem;
    padding: 4rem 0;
  }
  .trc-trust-bar__item,
  .trc-trust-bar__item:first-child {
    border-left: 0;
    padding: 0 1rem;
  }
  .trc-trust-bar__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .trc-trust-bar__value { font-size: 4rem; flex-direction: column; align-items: center; }
  .trc-trust-bar__title { font-size: 2.1rem; }
  .trc-trust-bar__subtitle { font-size: 1.8rem; max-width: 30rem; margin-top: 0.4rem; }
  .trc-trust-bar__icon { width: 6.8rem; height: 6.8rem; margin-bottom: 1rem; }
  .trc-trust-bar__icon svg { width: 3.4rem; height: 3.4rem; }

  .trc-home-about__img { margin-top: 5rem; }
  .trc-home-about__content p { font-size: 2.4rem; }

  .trc-clients-marquee { padding: 8rem 0; }
  .trc-clients-marquee .head-box h2 { font-size: 4rem; }
  .trc-marquee__track { gap: 7rem; padding-right: 7rem; }
  .trc-marquee__item { width: 20rem; height: 9rem; }

  .trc-industries__head p { margin-top: 2rem; }
  .trc-industries__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trc-industries__name { font-size: 2.3rem; }
}
@media (max-width: 600px) {
  .trc-popup__dialog { padding: 32px 20px 20px; }
  .trc-popup__head h2 { font-size: 24px; }
}

/* ---------- Transparent header: Homepage New only ----------
   Sits over the banner; the theme's sticky header (shown when
   scrolling back up) keeps its normal white style. */
.page-template-home-v2 .header-height {
  display: none;
}
.page-template-home-v2 #header:not(.header-stick) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
}
.page-template-home-v2 #header .logo-white,
.page-template-home-v2 #header.header-stick .logo-white {
  display: none;
}
.page-template-home-v2 #header:not(.header-stick) .logo-box img {
  display: none;
}
.page-template-home-v2 #header:not(.header-stick) .logo-box img.logo-white {
  display: block;
}
.page-template-home-v2 #header:not(.header-stick) .hamburger-box img {
  filter: brightness(0) invert(1);
}
@media (min-width: 901px) {
  .page-template-home-v2 #header:not(.header-stick) .header-menu > li > a,
  .page-template-home-v2 #header:not(.header-stick) .box-btn {
    color: #fff;
  }
  .page-template-home-v2 #header:not(.header-stick) .box-btn {
    border-color: #fff;
  }
  .page-template-home-v2 #header:not(.header-stick) .box-btn:hover {
    border-color: #6ebe48;
  }
  .page-template-home-v2 #header:not(.header-stick) .pamco-menu img {
    filter: brightness(0) invert(1);
  }
}

/* =========================================================
   Homepage New: look & feel and motion
   Scoped to .trc-v2 so other pages are untouched.
   ======================================================= */

/* ---------- Reading progress bar ---------- */
.trc-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  background: linear-gradient(90deg, #6ebe48, #a6dd7f);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Banner ---------- */
@media (min-width: 901px) {
  .page-template-home-v2 .home-banner-slider .img-box {
    height: 100vh;
    max-height: 105rem;
    min-height: 62rem;
  }
  .page-template-home-v2 .home-banner-section .text-box {
    bottom: 26%;
  }
}
.page-template-home-v2 .home-banner-section {
  position: relative;
}
.page-template-home-v2 .home-banner-slider .img-box {
  overflow: hidden;
}
.trc-v2 .home-banner-slider .slick-current .img-box img {
  animation: trc-kenburns 9s ease-out both;
}
@keyframes trc-kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.trc-v2 .home-banner-slider .slick-current .text-box p,
.trc-v2 .home-banner-slider .slick-current .text-box .btn-box {
  animation: trc-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.trc-v2 .home-banner-slider .slick-current .text-box p { animation-delay: 0.35s; }
.trc-v2 .home-banner-slider .slick-current .text-box .btn-box { animation-delay: 0.55s; }
@keyframes trc-rise {
  from { opacity: 0; transform: translateY(3rem); }
  to { opacity: 1; transform: none; }
}

/* Scroll cue */
.trc-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14rem;
  z-index: 4;
  transform: translateX(-50%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.trc-scroll-cue:hover { opacity: 1; }
.trc-scroll-cue__mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  position: relative;
}
.trc-scroll-cue__mouse span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #6ebe48;
  animation: trc-wheel 1.8s ease-in-out infinite;
}
@keyframes trc-wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Counters: floating card over the banner ---------- */
.page-template-home-v2 .trc-trust-bar {
  position: relative;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
  margin-top: -8rem;
}
.page-template-home-v2 .trc-trust-bar .container {
  padding: 0 28rem;
}
.page-template-home-v2 .trc-trust-bar__list {
  background: #fff;
  border-radius: 1.6rem;
  padding: 3.6rem 2rem;
  box-shadow: 0 2.4rem 6rem rgba(5, 55, 54, 0.14);
  position: relative;
  overflow: hidden;
}
.page-template-home-v2 .trc-trust-bar__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #053736, #6ebe48);
}
.trc-trust-bar__icon {
  transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}
.trc-trust-bar__item:hover .trc-trust-bar__icon {
  transform: translateY(-0.6rem);
  background: #6ebe48;
  color: #fff;
}

/* ---------- About ---------- */
.trc-home-about__img {
  position: relative;
  padding: 0 0 3rem 3rem;
}
.trc-home-about__img::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border: 2px solid #6ebe48;
  border-radius: 1.2rem;
}
.trc-home-about__frame {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2rem 5rem rgba(5, 55, 54, 0.18);
}
.trc-home-about__frame img {
  transition: transform 1.2s ease;
}
.trc-home-about__img:hover .trc-home-about__frame img {
  transform: scale(1.04);
}
.trc-home-about__badge {
  position: absolute;
  right: -2.4rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4rem 3.2rem;
  border-radius: 1.2rem;
  background: #053736;
  box-shadow: 0 1.6rem 4rem rgba(5, 55, 54, 0.3);
  animation: trc-float 5s ease-in-out infinite;
}
.trc-home-about__badge strong {
  font-family: "Readex Pro";
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1;
  color: #6ebe48;
}
.trc-home-about__badge span {
  margin-top: 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #fff;
}
@keyframes trc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.2rem); }
}

/* ---------- Client logos ---------- */
.trc-marquee__item img {
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.trc-marquee__item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* ---------- Industries ---------- */
.trc-industries {
  position: relative;
  background:
    radial-gradient(60rem 40rem at 85% 10%, rgba(110, 190, 72, 0.18), transparent 70%),
    radial-gradient(50rem 40rem at 5% 95%, rgba(110, 190, 72, 0.1), transparent 70%),
    #053736;
}
.trc-industries__item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.trc-industries__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #6ebe48, #4f9a2c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.trc-industries__item:hover {
  border-color: #6ebe48;
  transform: translateY(-0.6rem);
  box-shadow: 0 1.6rem 3.6rem rgba(0, 0, 0, 0.25);
}
.trc-industries__item:hover::before {
  transform: scaleX(1);
}
.trc-industries__item:hover .trc-industries__dot {
  background: #fff;
  transform: scale(1.4);
}
.trc-industries__dot {
  transition: transform 0.35s ease, background-color 0.35s ease;
}
a.trc-industries__item:hover {
  background: transparent;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .page-template-home-v2 .trc-trust-bar {
    margin-top: -6rem;
  }
  .page-template-home-v2 .trc-trust-bar .container {
    padding: 0 2rem;
  }
  .page-template-home-v2 .trc-trust-bar__list {
    padding: 4rem 1.6rem;
  }
  .page-template-home-v2 .home-banner-section .text-box {
    padding-bottom: 14rem;
  }
  .trc-home-about__img {
    padding: 0 0 2rem 2rem;
  }
  .trc-v2 .home-values-box ul li {
    width: 100%;
  }
  .trc-home-about__badge {
    right: 1.6rem;
    bottom: 4rem;
    padding: 1.8rem 2.4rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .trc-v2 .home-banner-slider .slick-current .img-box img,
  .trc-v2 .home-banner-slider .slick-current .text-box p,
  .trc-v2 .home-banner-slider .slick-current .text-box .btn-box,
  .trc-home-about__badge,
  .trc-scroll-cue__mouse span {
    animation: none;
  }
  .trc-progress { display: none; }
}

/* =========================================================
   Homepage New: existing sections, refreshed
   ======================================================= */

/* ---------- Section labels (eyebrows) ---------- */
.trc-v2 .head-box > h6,
.trc-v2 .home-events-box .head > h6,
.trc-v2 .home-latest-blog-box .text > h6,
.trc-home-about__text > h6,
.trc-industries__head h6 {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  letter-spacing: 0.15rem;
}
.trc-v2 .head-box > h6::before,
.trc-v2 .home-events-box .head > h6::before,
.trc-v2 .home-latest-blog-box .text > h6::before,
.trc-home-about__text > h6::before,
.trc-industries__head h6::before {
  content: "";
  width: 3.2rem;
  height: 2px;
  background: currentColor;
}

/* ---------- Customer Centric services (stacked cards) ---------- */
.page-template-home-v2 .stack-layer-item {
  box-shadow: 0 -1.2rem 4rem rgba(5, 55, 54, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.page-template-home-v2 .stack-layer-item .title {
  color: #053736;
  font-weight: 600;
  letter-spacing: 0.05rem;
}
.page-template-home-v2 .stack-item-usps li {
  border-radius: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.page-template-home-v2 .stack-item-usps li:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 1.6rem 3.6rem rgba(5, 55, 54, 0.12);
}
.page-template-home-v2 .stack-item-usps .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eef6ea;
  transition: background-color 0.35s ease;
}
.page-template-home-v2 .stack-item-usps .icon img {
  width: 3.4rem;
  height: 3.4rem;
  transition: filter 0.35s ease;
}
.page-template-home-v2 .stack-item-usps li:hover .icon {
  background: #6ebe48;
}
.page-template-home-v2 .stack-item-usps li:hover .icon img {
  filter: brightness(0) invert(1);
}
.page-template-home-v2 .stack-item-usps li:hover .text {
  color: #3f8a1f;
}
.page-template-home-v2 .stack-item-usps a {
  align-items: center;
}
.page-template-home-v2 .stack-layer-item .img-box img {
  border-radius: 1.2rem;
}

/* ---------- Journey ---------- */
.page-template-home-v2 .home-journey-listing li .img-box > img {
  border-radius: 1.2rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.page-template-home-v2 .home-journey-listing li:hover .img-box > img {
  transform: translateY(-0.8rem);
  box-shadow: 0 2rem 4rem rgba(5, 55, 54, 0.18);
}

/* ---------- Body banner ---------- */
.trc-v2 .home-body-banner-section .home-body-banner-box {
  background: linear-gradient(90deg, rgba(5, 55, 54, 0.92) 0%, rgba(5, 55, 54, 0.6) 55%, rgba(5, 55, 54, 0.15) 100%);
}

/* ---------- Why us ---------- */
.page-template-home-v2 .home-why-us-box .img-box img {
  border-radius: 1.6rem;
}
.page-template-home-v2 ul.home-why-list-box li h5 {
  color: #053736;
  font-weight: 600;
}

/* ---------- Values (dark) ---------- */
.trc-v2 .home-values-section {
  background:
    radial-gradient(60rem 40rem at 90% 0%, rgba(110, 190, 72, 0.16), transparent 70%),
    #053736;
}
.trc-v2 .home-values-box ul {
  justify-content: space-between;
  row-gap: 2.4rem;
  column-gap: 0;
}
.trc-v2 .home-values-box ul li {
  width: calc(50% - 1.2rem);
  padding: 2.8rem 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.trc-v2 .home-values-box ul li:hover {
  background: rgba(110, 190, 72, 0.12);
  border-color: #6ebe48;
  transform: translateY(-0.6rem);
}
.trc-v2 .home-values-box .img-box img {
  border-radius: 1.6rem;
}

/* ---------- Testimonials ---------- */
.trc-v2 .hp-testimonial-item {
  background: #fff;
  border-color: #e3ebe5;
  border-radius: 1.6rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.trc-v2 .hp-testimonial-item:hover {
  transform: translateY(-0.8rem);
  border-color: #6ebe48;
  box-shadow: 0 2rem 5rem rgba(5, 55, 54, 0.12);
}
.trc-v2 .hp-testimonial-item .bottom-box .img-box {
  border-radius: 0.8rem;
  overflow: hidden;
}
.trc-v2 .home-testimonials-listing ul.slick-dots li button {
  transition: background-color 0.3s ease, width 0.3s ease;
}
.trc-v2 .home-testimonials-listing ul.slick-dots li.slick-active {
  width: 5rem;
}
.trc-v2 .home-testimonials-listing ul.slick-dots li.slick-active button {
  width: 5rem;
  border-radius: 1rem;
}

/* ---------- Founder ---------- */
.page-template-home-v2 .home-founder-box .img-box {
  overflow: hidden;
}
.page-template-home-v2 .home-founder-box .img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 55, 54, 0.85) 0%, rgba(5, 55, 54, 0.2) 60%, transparent 100%);
  pointer-events: none;
}
.page-template-home-v2 .home-founder-box .text-box {
  z-index: 2;
}

/* ---------- Events & blogs: image cards ---------- */
.page-template-home-v2 .home-events-listing .img-box,
.page-template-home-v2 .home-latest-blog-listing .blog-item {
  border-radius: 1.2rem;
  overflow: hidden;
}
.page-template-home-v2 .home-events-listing .img-box img,
.page-template-home-v2 .home-latest-blog-listing .blog-item .img-box img {
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.page-template-home-v2 .home-events-listing li a:hover .img-box img,
.page-template-home-v2 .home-latest-blog-listing li a:hover .img-box img {
  transform: scale(1.06);
}
.page-template-home-v2 .home-events-listing li h3,
.page-template-home-v2 .home-latest-blog-listing li h3 {
  transition: color 0.3s ease;
}
.page-template-home-v2 .home-events-listing li a:hover h3 {
  color: #3f8a1f;
}

/* ---------- Contact ---------- */
.trc-v2 .home-contact-section {
  background:
    radial-gradient(60rem 40rem at 10% 100%, rgba(110, 190, 72, 0.16), transparent 70%),
    #053736;
}
.trc-v2 .home-contact-section .home-form-box form {
  border-radius: 1.6rem;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.25);
}
.trc-v2 .home-form-box input,
.trc-v2 .home-form-box select,
.trc-v2 .home-form-box textarea,
.trc-popup .home-form-box input,
.trc-popup .home-form-box select,
.trc-popup .home-form-box textarea {
  transition: border-color 0.3s ease;
}
.trc-v2 .home-form-box input:focus,
.trc-v2 .home-form-box select:focus,
.trc-v2 .home-form-box textarea:focus,
.trc-popup .home-form-box input:focus,
.trc-popup .home-form-box select:focus,
.trc-popup .home-form-box textarea:focus {
  border-bottom-color: #6ebe48;
}

/* =========================================================
   Site-wide (all pages with .trc-v2): inner page polish
   ======================================================= */

/* Hero image on inner pages: slow settle-in zoom */
.trc-v2:not(.page-template-home-v2) .home-banner-section > .img-box {
  overflow: hidden;
}
.trc-v2:not(.page-template-home-v2) .home-banner-section > .img-box img {
  animation: trc-kenburns 10s ease-out both;
}

/* Service / partner / careers cards */
.trc-v2 .about-services-item {
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.trc-v2 .about-services-item:hover {
  transform: translateY(-0.8rem);
  border-color: #6ebe48;
  box-shadow: 0 2rem 5rem rgba(5, 55, 54, 0.12);
}
.trc-v2 .about-services-item .about-services-icon img {
  transition: transform 0.4s ease;
}
.trc-v2 .about-services-item:hover .about-services-icon img {
  transform: scale(1.08);
}
.trc-v2 .about-services-item h5 {
  transition: color 0.3s ease;
}
.trc-v2 a.about-services-item:hover h5 {
  color: #3f8a1f;
}

/* Service page: "mission" points */
.trc-v2 ul.service-ethics-listing li .img-box img {
  transition: transform 0.4s ease;
}
.trc-v2 ul.service-ethics-listing li:hover .img-box img {
  transform: scale(1.12) rotate(-6deg);
}

/* Feature images */
.trc-v2 .service-intro-box .img-box img,
.trc-v2 .service-grc-box .img-box img,
.trc-v2 .about-intro .img-box img {
  border-radius: 1.6rem;
}

/* FAQ */
.trc-v2 .current-qtion-list .intro {
  transition: color 0.3s ease;
  cursor: pointer;
}
.trc-v2 .current-qtion-list .intro:hover,
.trc-v2 .current-qtion-list .intro.active {
  color: #3f8a1f;
}

/* Blog / event cards */
.trc-v2 .blog-item-thumb {
  border-radius: 1.2rem;
  overflow: hidden;
}
.trc-v2 .blog-item-thumb img {
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.trc-v2 a:hover .blog-item-thumb img,
.trc-v2 .blog-item-thumb:hover img {
  transform: scale(1.06);
}

/* Team */
.trc-v2 .team-list-img {
  border-radius: 1.2rem;
}

/* Forms with a shadow card (contact, partners, events) */
.trc-v2 .home-form-box.form-shadow,
.trc-v2 .home-form-box.form-shadow form {
  border-radius: 1.6rem;
}

/* Client logos on service pages */
.trc-v2 .our-clients-section .client-item img {
  transition: transform 0.3s ease;
}
.trc-v2 .our-clients-section .client-item:hover img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .trc-v2 .home-banner-section > .img-box img {
    animation: none;
  }
}

/* Chat widget: step aside while the consultation popup is open */
html.trc-popup-open #wb-bubble-wrap,
html.trc-popup-open #wb-window,
html.trc-popup-open #wb-toast,
html.trc-popup-open #wb-phone,
html.trc-popup-open body #wb-phone.trc-call-fab {
  display: none !important;
}

/* ---------- Floating contact: call button under the chat bubble (desktop) ---------- */
html body #wb-phone.trc-call-fab {
  display: flex !important;
  bottom: 94px !important;
  right: 15px !important;
  width: 54px !important;
  height: 54px !important;
  background: radial-gradient(120% 120% at 30% 20%, #0b5e5a 0%, #053736 55%, #022423 100%) !important;
  border: 2px solid #6ebe48 !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 24px -6px rgba(1, 40, 39, 0.55), 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}
html body #wb-phone.trc-call-fab:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 14px 28px -6px rgba(1, 40, 39, 0.6), 0 0 0 4px rgba(110, 190, 72, 0.25) !important;
}
html body #wb-phone.trc-call-fab:focus-visible {
  outline: 3px solid #6ebe48 !important;
  outline-offset: 2px !important;
}
html body #wb-phone.trc-call-fab svg {
  width: 24px !important;
  height: 24px !important;
}

/* ---------- Floating contact: bottom bar (mobile) ---------- */
.trc-mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  html body #wb-phone.trc-call-fab {
    display: none !important;
  }
  .trc-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999990; /* below the consultation popup and the chat window */
    display: flex;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  }
  .trc-mobile-bar__btn {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    font-family: "Readex Pro", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: #fff !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  .trc-mobile-bar__btn span {
    color: #fff;
    font-size: 14px;
  }
  .trc-mobile-bar__btn--book {
    background: #6ebe48;
    flex-basis: 60%;
  }
  .trc-mobile-bar__btn--call {
    background: #053736;
    flex-basis: 40%;
  }
  .trc-mobile-bar__btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }
  body {
    padding-bottom: 60px;
  }
}
@media (max-width: 360px) {
  .trc-mobile-bar__btn,
  .trc-mobile-bar__btn span {
    font-size: 13px;
  }
}
