/* Service Rotator Styles */
#service-rotator-link {
  position: relative;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  z-index: 1;
  white-space: nowrap;
}

/* 🚜 subtle excavator accent underline */
#service-rotator-link::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: calc(100% - 24px);
  height: 2px;
  background-color: #f9a825; /* construction gold */
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* 🔥 Hover state */
#service-rotator-link:hover {
  color: #000000;
  background-color: #f9a825;
  border-color: #f9a825;
  box-shadow: 0 6px 20px rgba(249, 168, 37, 0.45);
  transform: translateY(-1px);
}

/* underline animation */
#service-rotator-link:hover::after {
  transform: scaleX(1);
}

/* 🧠 Accessibility / keyboard focus */
#service-rotator-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.6);
}

/* 🚀 Optional: active click feedback */
#service-rotator-link:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(249, 168, 37, 0.35);
}

/* about us  */

.tp-hover-distort-img{
  opacity: 1 !important;
}

/* testimonial section */
.xp-project-thumb{
  display: flex;
  justify-content: center;
  align-items: center;
}
.xp-project-thumb div{
  width: 100px;
  height: 100px;
  border-radius: 100%;
  object-fit: cover;
  overflow: hidden;
}

.xp-project-thumb div img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* 👈 KEY FIX */
  display: block;
}

/* Client + Location Row */
.xp-project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.xp-client-name {
  font-size: 14px;
  font-weight: 600;
  color: #1F242C;
}

.xp-project-location {
  font-size: 13px;
  font-weight: 600;
  color: #1F242C;
  background: rgba(249, 168, 37, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
}
/* Slider */
.xp-slider {
  overflow: hidden;
}

.xp-slider-track {
  display: flex;
  gap: 24px;
  animation: xpSlide 30s linear infinite;
}

/* Each slide = 1/3 width */
.xp-slide {
  flex: 0 0 calc(33.333% - 16px);
}

/* Pause on hover (premium feel) */
.xp-slider:hover .xp-slider-track {
  animation-play-state: paused;
}

/* Animation */
@keyframes xpSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 991px) {
  .xp-slide {
    flex: 0 0 100%;
  }
}

/* solution packes  */

.tp-solution-box {
  margin-top: 16px;
  padding: 14px;
  border-left: 4px solid #F9A825;
  background: rgba(249, 168, 37, 0.08);
}

.tp-solution-box strong {
  display: block;
  margin-bottom: 6px;
  color: #1F242C;
}

.tp-solution-box p {
  margin: 0;
  font-size: 14px;
  color: #565656;
  line-height: 1.6;
}


/* video modal */

.tp-video-play{
  width: 300px !important;
}

.tp-video-popup span{
  margin: 0;
}
.tp-video-popup {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-open-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.video-open-btn span {
  width: 50px;
  height: 50px;
  background: #f9a825; /* excavation yellow */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}
.video-open-btn span i {
  font-size: 28px;
  color: #1f242c;
  margin-left: 3px; /* fixes play triangle optical centering */
}
.video-open-btn p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}
.video-open-btn:hover span {
  transform: scale(1.08);
  background: #ffb300;
}



.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.video-modal.active {
  display: block;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 5% auto;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: zoomIn 0.35s ease;
}

.video-modal video {
  width: 100%;
  height: auto;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
































/* footer contact section */

/* ============================= */
/* Modern Contact Info Section   */
/* ============================= */


/* Card container */
.footer__contact-container{
  padding: 0;
}
.contact-info-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);

  /* entrance animation */
  opacity: 0;
  transform: translateY(14px);
  animation: contactCardIn 0.7s ease forwards;
}

/* subtle glow */
.contact-info-card::before {
  content: "";
  
  inset: -120px -80px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(249, 168, 37, 0.28), rgba(249, 168, 37, 0) 60%);
  filter: blur(2px);
  pointer-events: none;
}

/* Heading */
.contact-info-head h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.2px;
}

.contact-info-head p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* Item */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;

  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);

  transition: transform 0.18s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 64px;
}

/* Clickable hover */
.contact-info-item:hover {
  transform: translateY(-2px);
  background: rgba(249, 168, 37, 0.10);
  border-color: rgba(249, 168, 37, 0.50);
  box-shadow: 0 12px 30px rgba(249, 168, 37, 0.18);
}

/* Accessibility focus */
.contact-info-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.55);
  border-color: rgba(249, 168, 37, 0.75);
}

/* Icon */
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);

  flex: 0 0 42px;
}

.contact-icon i {
  font-size: 16px;
}

/* Text */
.contact-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow */
.contact-arrow {
  margin-left: auto;
  opacity: 0.75;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-info-item:hover .contact-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Static item (Location) */
.contact-info-item.is-static {
  cursor: default;
}

.contact-info-item.is-static:hover {
  transform: none;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Badge */
.contact-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249, 168, 37, 0.16);
  border: 1px solid rgba(249, 168, 37, 0.45);
  color: #fff;
}

/* active navbar */

.active-1,
.tp-main-menu ul li.has-dropdown > .active-1::after{
  color: #F9A825 !important;
}
.tp-main-menu ul li.has-dropdown > .active-1::after{
  background-color: #F9A825 !important;
  border: #F9A825;
}

.tp-video-thumb{
  border: 6px solid #000;
  border-radius: 20px;
  overflow: hidden;
}

/* Animation */
@keyframes contactCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 2560px) {
  .tp-faq-thumb-wrapper img{
    width: 536px;
    height: 666px;
  }

  .video-area{
    max-height: 500px !important;
    width: 100%;
  }
}

@media (max-width: 1536px) {

  .tp-faq-thumb-wrapper img{
    width: 100%;
    height: auto;
  }
}


@media (max-width: 1440px) {
  .tp-faq-thumb-wrapper img{
    width: 100%;
    height: auto;
  }

  .video-area{
    max-height: 500px !important;
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    padding: 22px;
  }
}


@media (max-width: 768px) {
  .tp-video-thumb{
    width: 277px;
  }
  .video-area{
    max-width: 339px !important;
    max-height: 277px !important;
  }

  .faq-img{
    max-width: 345px !important;
    max-height: 428px;
  }
}

@media (max-width: 426px) {
  .tp-counter-shape .shape-1,
  .tp-video-thumb img{
    max-width: 100% !important;
  }

  .tp-hero-title{
    font-size: 48px;
  }

  .tp-section-title{
    font-size: 30px ;
  }

  .tp-hover-distort-img {
    display: none !important;
  }

  .tp-hover-distort-img img{
    height: 100% !important;
  }

  .tp-counter-title {
    font-size: 40px;
  }

  .tp-text-title{
    font-size: 50px;
  }

}

@media (max-width: 376px) {
  .tp-faq-thumb-wrapper img{
    max-width: 100% !important;
  }

  .tp-hero-title{
    font-size: 40px;
  }

  .tp-section-title{
    font-size: 26.5px ;
  }

  .tp-hover-distort-img img{
    height: 100% !important;
  }

  .tp-counter-title {
    font-size: 35px;
  }

  h4{
    font-size: 22px;
  }

  h5{
    font-size: 19px;
  }

  .tp-text-title{
    font-size: 50px;
  }

  .tp-service-details-point-2{
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 320px) {
  .tp-section-title{
    font-size: 22.5px;
  }

  h4{
    font-size: 19px !important;
  }

  .tp-btn {
    font-size: 14px;
  }

  .tp-section-title-pre{
    font-size: 12px;
  }

  p,.tp-blog-content-info span{
    font-size: 14px !important;
  }

  h5{
    font-size: 18px !important;
  }

  .tp-about-list ul li,
  .tp-video-list ul li{
    font-size: 15px;
  }

  .tp-counter-title{
    font-size: 30px;
  }

  .tp-faq-wrapper .accordion .accordion-item .accordion-header .accordion-button{
    font-size: 16px;
  }

}

.tp-breadcrumb__title{
  color: white !important; /* Warm gold */
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
