/********** Construction Theme CSS **********/
:root {
  --primary: #5573f8;
  --secondary: #111827;
  --tertiary: #6b7280;
  --light: #f5f5f4;
  --dark: #0a0a0a;
  --border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #4b5563;
  background: #ffffff;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  color: var(--dark);
  font-weight: 800 !important;
  letter-spacing: 0;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  color: var(--dark);
  font-weight: 700 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  color: var(--dark);
  font-weight: 600 !important;
}

a {
  text-decoration: none;
}

.text-primary {
  color: white !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-dark {
  background-color: var(--primary) !important;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border: 1px solid var(--primary);
  color: var(--dark);
  background: rgba(21 100 250 / 14%);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Tom Select Fix */

.ts-wrapper {
    width: 100%;
}

.ts-control {
    min-height: 58px;
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 12px 14px;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.ts-control input {
    font-size: 16px;
}

.ts-dropdown {
    border-radius: 10px;
    border: 1px solid #ced4da;
    overflow: hidden;
}

.ts-wrapper.focus .ts-control {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(85, 115, 248, 0.2);
}

/* FILE SUBMISSION */
input[type="file"] {
    padding: 14px;
    border-radius: 10px;
}

input[type="file"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(85, 115, 248, 0.2);
}


.back-to-top {
  position: fixed;
  display: none;
  right: 28px;
  bottom: 92px;
  z-index: 99;
  border-radius: 0;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.btn {
  border-radius: 0;
  transition: 0.3s ease;
  font-weight: 700;
}

.btn-primary,
.btn-outline-primary:hover {
  color: #111827;
  background-color: #4058c5;
  border-color: #4058c5;
}

.btn-primary:hover {
  color: #111827;
  background-color: #5573f8;
  border-color: #5573f8;
  transform: translateY(-2px);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-outline-light:hover {
  color: var(--dark);
  background: #fff;
  border-color: #fff;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

/* Interactive Services */

.service-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.service-grid-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 32px 24px;

    text-align: center;

    cursor: pointer;

    transition: all 0.3s ease;

    min-height: 190px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.service-grid-card i {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(85, 115, 248, 0.1);

    color: var(--primary);

    border-radius: 18px;

    font-size: 28px;

    margin-bottom: 18px;

    transition: all 0.3s ease;
}

.service-grid-card h5 {
    margin: 0;

    font-weight: 700;

    font-size: 18px;
}

.service-grid-card:hover {
    transform: translateY(-6px);

    border-color: var(--primary);

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-grid-card:hover i {
    background: var(--primary);

    color: #fff;
}

.service-grid-card.active {
   background: var(--primary);

    border-color: var(--primary);

    box-shadow: 0 15px 40px rgba(85, 115, 248, 0.25);

    transform: translateY(-4px);
}

.service-grid-card.active i {
 background: rgba(255,255,255,0.18);

    color: #fff;
}

.service-grid-card.active h5 {
    color: #fff;
}

/* Showcase */

.service-showcase-horizontal {

  width: 100%;

    display: flex;

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid var(--border);

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);

    min-height: 100%;
}

/* Video */

.service-video-side {
    width: 60%;

    position: relative;

    overflow: hidden;

    display: flex;
}

.service-video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    flex: 1;
}

/* Content */

.service-content-side {
    width: 50%;

    padding: 32px 36px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content-side h3 {
    font-size: 34px;

    font-weight: 700;

    margin-bottom: 18px;
}

.service-content-side p {
    color: var(--tertiary);

    line-height: 1.8;

    margin-bottom: 24px;
}

.service-content-side ul {
    padding-left: 20px;

    margin-bottom: 0;

    flex-grow: 1;
}

.service-content-side ul li {
    margin-bottom: 12px;

    color: var(--secondary);
}

/* Mobile */

@media (max-width: 991px) {

    .service-showcase-horizontal {
        flex-direction: column;
    }

    .service-video-side,
    .service-content-side {
        width: 100%;
    }

    .service-video-side {
        height: 300px;
    }

    .service-content-side {
        padding: 28px;
    }

    .service-content-side h3 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {

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

    .service-grid-card {
        min-height: 150px;
    }
}

/*** Navbar ***/
.fixed-top {
  transition: 0.35s ease;
}

.top-bar {
  height: 45px;
  color: #d1d5db;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.topbar-time{
  white-space: nowrap;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-size: clamp(1.05rem, 1.65vw, 1.65rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  mix-blend-mode: rgba(255, 255, 255, 0.96);
}

.brand-mark span {
  color: var(--dark);
  letter-spacing: 0;
}

.navbar .navbar-nav .nav-link {
  position: relative;
  padding: 28px 14px;
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.navbar .navbar-nav .nav-link::after {
  position: absolute;
  content: "";
  left: 14px;
  right: 14px;
  bottom: 20px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.quote-btn {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar .navbar-nav {
    margin-top: 12px;
    border-top: 1px solid var(--border);
    background: #ffffff;
  }

  .navbar .navbar-nav .nav-link {
    padding: 11px 0;
  }

  .navbar .navbar-nav .nav-link::after {
    display: none;
  }

  .quote-btn {
    margin: 0 24px 16px;
  }
}

/*** Hero ***/
.hero-section {
  /* position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: url("https://images.pexels.com/photos/159306/construction-site-build-construction-work-159306.jpeg?auto=compress&cs=tinysrgb&w=1800")
    center center / cover no-repeat; */

  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;

}

/* video loop */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.72) 46%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.13) 0 10px,
      transparent 10px 28px
    );
}

.hero-section .container {
  z-index: 1;
}

.hero-section .display-1 {
  max-width: 900px;
  font-size: clamp(2.75rem, 4vw, 6.75rem);
  line-height: 0.96;
}

.hero-subtitle {
  color: #f9fafb;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
}

.hero-panel {
  position: absolute;
  right: 5%;
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 650px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 8px solid var(--primary);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-panel span {
  padding: 18px 22px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid var(--border);
}

.hero-panel span:last-child {
  border-right: 0;
}

/*** About ***/
.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.image-stack::before {
  position: absolute;
  content: "";
  left: -20px;
  bottom: -20px;
  width: 60%;
  height: 55%;
  background: var(--primary);
  z-index: -1;
}

.experience-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 168px;
  padding: 24px;
  color: #111827;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.experience-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--dark);
}

.experience-card span {
  font-weight: 700;
}

.highlight-card,
.service-card,
.material-card,
.why-card,
.contact-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  transition: 0.3s ease;
}

.highlight-card {
  padding: 24px;
}

.highlight-card i,
.service-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: #111827;
  background: var(--primary);
  font-size: 22px;
}

.highlight-card:hover,
.service-card:hover,
.material-card:hover,
.project-card:hover,
.why-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

/*** Facts ***/
.facts {
  background: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.92)),
    url("https://images.pexels.com/photos/31945552/pexels-photo-31945552.jpeg?auto=compress&cs=tinysrgb&w=1600")
      center center / cover no-repeat;
}

.facts h3 {
  color: #fff;
}

/*** Services ***/
.service {
  background: #ffffff;
}

.service-card {
  padding: 30px;
}

.service-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.service-card li {
  margin-bottom: 8px;
}

.service-card:hover {
  border-color: var(--primary);
}

/*** Materials ***/
.materials-section {
  background: var(--light);
}

.material-card {
  overflow: hidden;
}

.material-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: 0.45s ease;
}

.material-card:hover img {
  transform: scale(1.06);
}

.material-card div {
  padding: 22px;
}

.material-card p {
  min-height: 72px;
  margin-bottom: 14px;
}

.material-card span {
  display: block;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

/*** Projects ***/
.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  transition: 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: 0.45s ease;
}

.project-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82));
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-info {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
}

.project-info span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 11px;
  color: #111827;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-info h4 {
  color: #fff;
}

/*** Why ***/
.why-section {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.88)),
    url("https://images.pexels.com/photos/33122153/pexels-photo-33122153/free-photo-of-aerial-view-of-construction-excavator-on-site.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1")
      center center / cover no-repeat;
}

.why-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.why-card i {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 18px;
}

.why-card h5 {
  color: #fff;
}

.why-card p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
}

/*** Testimonial ***/
.testimonial-item {
  position: relative;
  text-align: left;
  padding: 30px 12px 0;
}

.testimonial-item .testimonial-text {
  position: relative;
  min-height: 220px;
  padding: 54px 28px 28px;
  color: #374151;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.testimonial-item .testimonial-text .btn-square {
  position: absolute;
  top: -20px;
  left: 28px;
}

.testimonial-item h4 {
  margin: 22px 0 4px;
}

.testimonial-carousel .owl-dots {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  width: 34px;
  height: 6px;
  margin: 0 5px;
  background: #d1d5db;
  transition: 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
  width: 52px;
  background: var(--primary);
}

/*** Contact ***/
.contact-section {
  background: #fff;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #111827;
  background: var(--primary);
}

.contact-detail span {
  display: block;
  color: var(--tertiary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.contact-card {
  padding: 34px;
  background: var(--light);
}

.form-control {
  border-radius: 0;
  border-color: #d1d5db;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(250, 204, 21, 0.22);
}

/* DROPDOWN */
.ts-control {
    min-height: 5px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.ts-control.focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(85, 115, 248, 0.25);
}

.map-frame {
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: #25d366;
  font-size: 28px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px);
}

/*** Footer ***/
.footer {
  margin-top: 0;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: #d1d5db;
  font-weight: 500;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: white;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 0;
  box-shadow: none;
}

.copyright {
  color: #d1d5db;
  background: #000;
}

.copyright a {
  color: #ffffff;
}

.copyright a:hover {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 820px;
  }

  .hero-panel {
    left: 24px;
    right: 24px;
    bottom: 24px;
    grid-template-columns: 1fr;
  }

  .hero-panel span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-panel span:last-child {
    border-bottom: 0;
  }

  .image-stack img {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .brand-mark {
    gap: 8px;
    font-size: 1rem;
  }

  .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .section-kicker {
    font-size: 12px;
  }

  .hero-section .display-1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .contact-card {
    padding: 22px;
  }

  .project-card,
  .project-card img {
    min-height: 340px;
    height: 340px;
  }

  .whatsapp-float,
  .back-to-top {
    right: 18px;
  }
}
