/* GLOBAL ================================================================================= */

.bg-grey {
    background: #efefef;
}

.bg-dark {
    background: #d80000 !important;
}

.text-dark {
    color: #1f1f1f !important;
}

.text-wrap {
    white-space: inherit;
}

.border-secondary {
    border-color: var(--color-theme-secondary)!important;
}

.text-primary {
    color: var(--color-theme-primary)!important;
}

b, strong {
    font-weight: 700;
}

li {
    line-height: 2em;
}

.btn-highlight, .btn-highlight:focus {
    background-color: var(--color-theme-highlight);
    color: var(--color-theme-text-btn);
    border-color: var(--color-theme-highlight);
}

.btn-highlight:hover, .btn-highlight:hover:focus, .btn-highlight:not([disabled]):not(.disabled).active, .btn-highlight:not([disabled]):not(.disabled):active, .show > .btn-highlight.dropdown-toggle {
    background-color: #ff0909;
    color: var(--color-theme-text-btn) !important;
    border-color: #ff0909;
}

@media (max-width: 813px) {
    .display-4 {
        font-size: 2em;
    }
}

/* GLOBAL MODULES ======================================================================== */

.detailedlist {
    padding-top: 1em;
    padding-bottom: 1em;
}

.title {
    background: linear-gradient(rgba(48, 48, 48, 0.65), rgba(48, 48, 48, 0.64)), 
    url("https://apihoard.webit.com/api/v1/Image/3B96D62B4C8B736EA2E5428D3B5B3234/3B96D62B4C8B736EA2E5428D3B5B3234.jpg?size=1920x1440");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 5em;
    padding-bottom: 5em;
}

.title-heading {
    text-align: center;
}

.title-heading-container {
    color: #FFF;
    text-transform: uppercase;
}




/* HOME PAGE ================================================================================= */

/* HERO ===== */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.342)), url("https://apihoard.webit.com/api/v1/Image/7EB245C871BE541841FD7CC40BC45F44/7EB245C871BE541841FD7CC40BC45F44.jpg?size=1920x1440") no-repeat 65% top;
    margin-top: -1px;
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media(max-width: 567px){
    .hero {
        padding-top: 3em;
        padding-bottom: 3em;
        min-height: 410px;
    }   
}

.hero .hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: rgb(0, 0, 0);
    margin: auto;   
    text-align: center;
}

.hero-lines {
    position: relative;
    text-align: center;
}
.hero-lines span {
    display: inline-block;
    vertical-align: middle;
    max-width: 55%;
}

.hero-lines::before,
.hero-lines::after {
    content: ' ';
    height: 3px;
    width: 10%;
    background: #d80000;
    display: inline-block;
    vertical-align: middle;
}

.hero-headline {
    line-height: 1.15;
}

.hero-text {
    font-size: 1.2em;
    max-width: 520px;
    margin: auto;
}

.hero-btm-line {
    height: 3px;
    width: 75%;
    background: #d80000;
    margin: 25px auto;
}

.btn-outline-primary,
.btn-outline-primary:focus {
    background-color: var(--color-theme-trans);
    color: var(--color-theme-text-btn);
    border-color: var(--color-theme-text-btn);
}

.btn-outline-primary:hover,
.btn-outline-primary:not([disabled]):not(.disabled).active,
.btn-outline-primary:not([disabled]):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--color-theme-secondary);
    color: var(--color-theme-text-btn) !important;
    border-color: var(--color-theme-secondary);
}

.btn-outline-primary:before {
    background: var(--color-theme-secondary);
}



/* SERVICES SECTION ===== */

.item-boxes {
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.item-boxes .icon {
    width: 60px;
    height: 60px;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
   -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.item-boxes .icon i {
    font-size: 30px;
    line-height: 60px;
    color: #616161;
}

.item-boxes h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-theme-highlight);
}

.item-boxes p:hover {
    color: var(--color-theme-text);
}

.item-boxes:hover {
    background: #FFF;
    box-shadow: 0 8px 48px 0 rgba(0, 0, 0, 0.15);
}


/* UL SERVICES LISTING === */

.bg-home-services {
    background: linear-gradient(rgba(239, 239, 239, 0.6), rgba(239, 239, 239, 0.9)), url("https://apihoard.webit.com/api/v1/Image/FAB86CC1F8D330B7C8F9C0CCD7E295E1/FAB86CC1F8D330B7C8F9C0CCD7E295E1.jpg?size=1920x1440");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-services {
    -webkit-column-count: 2;
    column-count: 2;
}

@media (max-width: 569px) {
    .home-services {
        -webkit-column-count: 1;
        column-count: 1;
    }
}

.home-services li {
    margin-top: 0;
    margin-bottom: 13px;
    margin-left: 38px;
}

.home-services li::before {
    float: left;
    overflow: hidden;
    width: 23px;
    height: 23px;
    content: "";
    margin-right: 7px;
    margin-left: -35px;
    background-image: url("https://apihoard.webit.com/api/v1/Image/AACEBBC8A5634CB32B0D5136D3CF871A/AACEBBC8A5634CB32B0D5136D3CF871A.png?size=320x240");
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: 0 0;
}



/* Testimonial Carousel */
  
.carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-caption {
    right: 5%;
    top: 30px!important;
    left: 5%;
    color: #303030 !important;
}

.carousel-indicators li {
    background: #bfbfbf;
    border-top: none;
    border-bottom: none;
}

@media (max-width: 568px) {
    .carousel-inner {
        height: 560px;
    }
}

@media (min-width: 568px) and (max-width: 813px) {
    .carousel-inner {
        height: 365px;
    }
}

@media (min-width: 813px) {
    .carousel-inner {
        height: 230px;
    }
}


/* HOME INSPECTION PAGE ========================================================================= */

.pg-services {
    -webkit-column-count: 2;
    column-count: 2;
}

.page-termitewdi-inspections .pg-services {
    -webkit-column-count: 1;
    column-count: 1;
}

.pg-services li {
    margin-top: 0;
    margin-bottom: 13px;
    margin-left: 38px;
}

.pg-services li::before {
    float: left;
    overflow: hidden;
    width: 23px;
    height: 23px;
    content: "";
    margin-right: 7px;
    margin-left: -35px;
    background-image: url('https://apihoard.webit.com/api/v1/Image/3E10BB59CC37A8E46C79CFC8A9DA108B/3E10BB59CC37A8E46C79CFC8A9DA108B.png?size=Original');
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

@media (max-width: 569px) {
    .pg-services {
        -webkit-column-count: 1;
        column-count: 1;
    }
}






/* Arrow Button ======================================================================== */

.btn-arrow {
    border-radius: 4px;
    border: none;
    transition: all 0.5s;
    cursor: pointer;
    width: 350px;
}

.btn-arrow span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.btn-arrow span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.btn-arrow:hover span {
    padding-right: 25px;
}

.btn-arrow:hover span:after {
    opacity: 1;
    right: 0;
}






/* Gallery images - contained ===================================== */

.page-about-us section:nth-of-type(6) .gallery-img-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.gallery .gallery-card, .gallery .gallery-card-body, .gallery-albums .gallery-img-photo:before {
    background-color: transparent!important;
}


/* STRUCTURAL ENGINEERING REPORTS PAGE ===================================== */

/* Parallax */
.grand-parallax {
    position: relative;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.grand-parallax .container {
    position: relative;
    z-index: 2;
}

/* Call to Action */
.grand-parallax-cta {
    padding-top: 6em;
    padding-bottom: 3em;
    color: #fff;
    background-image: url("https://apihoard.webit.com/api/v1/Image/B0091604526A7E6757A9829B3F51C787/B0091604526A7E6757A9829B3F51C787.jpg?size=1280x960");
}

.grand-parallax-cta .grand-scantitle {
    color: #ddd;
}

.grand-parallax-cta::after {
    overflow: hidden;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgb(0 0 0 / 51%);
}

@media (max-width: 768px) {
    .grand-parallax-cta {
        padding-top: 4em;
        padding-bottom: 3em;
    }
    .grand-parallax-cta::after {
        background: rgba(0, 0, 0, 0.6);
    }
}

/* Titles */
.grand-scantitle {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--color-theme-secondary);
}

.hero .grand-scantitle,
.grand-bgtitle .grand-scantitle {
    color: #eee;
}

.grand-title {
    word-break: keep-all;
    white-space: pre-wrap;
}

.grand-title-main {
    font-size: 3rem;
    line-height: 1.2;
}
.grand-title-sub {
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .grand-title-main {
        font-size: 2rem;
    }
    .grand-title-sub {
        font-size: 1.9rem;
        line-height: 1.2;
    }
}


.cw-comp {
    background: #f3f4f6;
  }

  /* BOX */
  .cw-comp-box {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
  }

  /* TITLE */
  .cw-title {
    font-weight: 700;
    margin-bottom: 20px;
  }

  /* BUTTON */
  .cw-btn {
    display: inline-block;
    background: #D80000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
  }

  .cw-btn:hover {
    background: #D80000;
    color: #fff;
  }

  /* SMALL TEXT */
  .cw-small {
    font-size: 14px;
    color: #555;
  }

  .cw-small a {
    color: #0d6efd;
    text-decoration: underline;
  }

  .cw-small span {
    color: #D80000;
    font-weight: 600;
  }

  /* BADGE */
  .cw-badge {
    position: relative;
    display: inline-block;
  }

  .cw-badge img {
    max-width: 260px;
  }

  .cw-badge-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
  }

  .cw-badge-text strong {
    font-size: 26px;
    line-height: 1.1;
  }

  .cw-badge-text span {
    background: #D80000;
    padding: 6px 14px;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 600;
  }

  /* RESPONSIVE */
  @media (max-width: 991px) {
    .cw-comp-box {
      padding: 30px;
    }

    .cw-badge {
      margin-top: 30px;
    }
  }




    /* ROW SPACING */
    .cw-case-cards .row {
        row-gap: 40px;
      }
      
      /* CARD BASE */
      .cw-case-card {
        display: block;
        border-radius: 18px;
        overflow: hidden;
        text-decoration: none;
        transition: 0.3s ease;
      }
      
      .cw-case-img {
        position: relative;
        height: 260px;
        background-size: cover;
        background-position: center;
      }
      
      
      .cw-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to top,
          rgba(0,0,0,0.75),
          rgba(0,0,0,0.35),
          rgba(0,0,0,0.1)
        );
      }
      
      
      .cw-content {
        position: absolute;
        bottom: 20px;
        left: 20px;
        z-index: 2;
        color: #fff;
      }
      
      .cw-content h5 {
        margin-bottom: 5px;
        font-weight: 700;
      }
      
      .cw-content span {
        font-size: 14px;
        opacity: 0.9;
      }
      
   
      .cw-solid-card .cw-case-img {
        background: linear-gradient(135deg, #D80000, #ca0808);
      }
      
      .cw-solid-card .cw-overlay {
        display: none;
      }
      
    
      .cw-solid-card .cw-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
      
      .cw-solid-card h5 {
        font-size: 1.6rem;
        margin-bottom: 10px;
      }
      
      .cw-solid-card span {
        font-size: 16px;
        opacity: 1;
      }
      
      /* HOVER */
      .cw-case-card:hover {
        transform: translateY(-6px);
      }
      
      .cw-case-card:hover .cw-overlay {
        background: linear-gradient(
          to top,
          rgba(0,0,0,0.9),
          rgba(0,0,0,0.5),
          rgba(0,0,0,0.2)
        );
      }
      
      .cw-solid-card:hover .cw-case-img {
        background: linear-gradient(135deg,  #D80000, #ca0808);
      }


      .cw-split {
        background: #f3f4f6;
      }
    
      .cw-split-box {
        overflow: hidden;
        border-radius: 10px;
      }
      
    
      .cw-split-img {
        height: 100%;
        min-height: 420px;
        background-size: cover;
        background-position: center;
      }
      
    
      .cw-split-content {
        background: #000000;
        color: #fff;
        padding: 50px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      
    
      .cw-split-content h2 {
        font-weight: 700;
        margin-bottom: 10px;
      }
      
    
      .cw-split-content p {
        color: #dcddee;
        margin-bottom: 25px;
      }
      
     
      .cw-btn {
        display: inline-block;
        background: #D80000;
        color: #fff;
        padding: 14px 28px;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        width: fit-content;
      }
      
      .cw-btn:hover {
        background: #D80000;
        color: #fff;
      }
      
    
      @media (max-width: 991px) {
        .cw-split-content {
          padding: 30px;
        }
      
        .cw-split-img {
          min-height: 280px;
        }
      }