.x-fence {
    border-bottom: 1px solid rgba(45, 53, 139, .5);
    margin-bottom: 20px;
}

.featured-list-1 {  list-style-type:none; }
.featured-list-1 li {  
    background-image: URL(../images/bullet-01.png);
    background-repeat:no-repeat;
    background-position:0 16px;
    padding-left:50px;
  }
  .featured-list-1 h4 {  
    margin:0;
    padding-top:12px;
  }
  .featured-list-1 li {  
    border-top: 1px dotted #ccc;
  }
  .featured-list-1 li:first-of-type {  border-top: none;
  }

  .bg-highlight {
    background-color: rgba(245, 40, 145, .25);
  }


.process-wrapper .process-single-item {
  position: relative;
  margin-bottom: 80px;
}
.process-wrapper .process-single-item-holder {
  display: table;
  width: 100%;
}
.process-wrapper .process-single-item .process-icon {
    position: relative;
    width: 123px;
    height: 123px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 2.1875rem 0 rgba(119, 119, 120, 0.13);
    transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.process-wrapper .process-content {
   position: relative;
   padding-top: 6px;
}
.process-wrapper .process-content p {
    font-size: 13px;
    line-height: 1.6;
}
@media (min-width:768px){
  .process-wrapper .process-single-item .process-icon {
      width: 140px;
      height: 140px;
  }
  .process-wrapper .process-content p {
      font-size: 16px;
  }
}
.process-wrapper .process-single-item svg {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 80%;
}
.process-wrapper .process-image {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width:992px){
  .process-wrapper .process-image {
      max-width: 100%;
      margin-top: 70px;
  }
}
@media (min-width:1200px){
  .process-wrapper .process-image {
      margin-top: 0;
  }
}


/* FAQ Fixes */
.section-faqs {
    background-color: #f2f2f2;
  }
  .faq-accordian{
    overflow: hidden;
  }
  .faq-accordian .hide-initially{
    height: 0;
    transform: scaleY(0);    
    transform-origin: top;
    transition: transform 0.25s ease;
  }
  .faq-accordian .panel:nth-child(5){
    margin-bottom: 12px;
  }
  .faq-accordian .hide-initially.show-more-faqs{
    height: auto;
    margin-top: 12px;
    transform: scaleY(1);
  }
  .show-hide-more-faqs.hide-this-button{
    display: none !important;
  }
  .section-faqs .faqs-wrapper .faq-more-btn{
    margin-top: 16px;
  }
  .section-faqs .faqs-wrapper .faq-more-btn a{
    display: block;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .faqs-wrapper .panel,
  .faqs-wrapper .panel-default > .panel-heading {
    padding: 0;
    background-color: #CCC;
    border: 0;
    border-radius: 0;
  }
  .faqs-wrapper .panel-title,
  .faqs-wrapper .panel-title a {
    position: relative;
  }
  .faqs-wrapper .panel-title a {
    padding: 25px 50px;
    background-color: #fff;
    border: 1px solid #f2f6f9;
    display: block;
  }
  .faqs-wrapper .panel-title:before {
    content: "\f2fd";
    font-family: "Font Awesome 6 Sharp";
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    z-index: 1;
    color: #990000;
    border-radius: 0;
  }
  
  .faqs-wrapper .panel-title a:before,
  .faqs-wrapper .panel-title a:after {
    position: absolute;
    top: 50%;
    content: "";
    transform: translateY(-50%);
    background-color: #990000;
    transition: transform 0.35s ease-in-out;
    height: 1px;
    width: 20px;
    right: 13px;
  }
  
  .faqs-wrapper .panel-title a.collapsed:before {
    transform: rotate(90deg);
  }
  
  .faqs-wrapper .panel-default > .panel-heading + .panel-collapse > .panel-body {
    background-color: #fff;
    border: 1px solid #f2f6f9;
  }
  .faqs-wrapper .panel-group .panel + .panel {
    margin-top: 12px;
  }


  /* Key Features */
  .sv-collapse .panel,
  .sv-collapse .panel-heading{
      padding: 0;
      border-radius: 0;
      box-shadow: none;
      margin: 0 !important;
      /* background-color: #ccc; */
  }
  .sv-collapse .panel{
      border-bottom: 1px solid #E1E1F0;
  }
  .sv-collapse div[role="tab"] >h4{
      margin: 0;
  }
  .sv-collapse div[role="tab"]  a{
      display: block;
      width: 100%;
      color: inherit !important;
      padding: 20px 0;
      display: table;
      position: relative;
      padding-right: 60px;
  }
  .sv-collapse .panel-body{
      padding: 15px 0 25px;
      font-size: 16px;
  }
  /* .sv-collapse div[role="tab"] a span,
  .sv-collapse div[role="tab"] a i{
      display: table-cell;
      vertical-align: middle;
  } */
  
  .sv-collapse div[role="tab"] a i{   
      width: 45px;
      height: 45px;
      border-radius: 50%;
      text-align: center;
      font-size: 40px;
      font-weight: 900;
      line-height: 45px;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      color: #990000;    
      border: 1px solid #990000;
      transition: all 0.5s ease-out;
  }
  
  .sv-collapse div[role="tab"] a.collapsed i{
      transform: translateY(-50%) rotate(0deg);
      color: #ffffff;
      background-color: #990000;
  }


  /* Key Features END */


      /* Fence-list */
      .image-container {
        position: relative;
        display: block;
        overflow: hidden;
        padding-left: 0px;
        padding-right: 0px;
      }
      
      .image-container img {
        width: 100%;
        display: block;
        height: auto;
      }
      
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
      }
      .image-container:hover .overlay {
        background-color: rgba(0, 0, 0, 0.6); 
      }
      
     
      .overlay .service-text {
        position: relative; 
        color: white;
        font-size: 2.6em;
        font-weight: 700;
        text-align: center;
        z-index: 2;
      }
      @media (max-width: 1600px) {
        .overlay .service-text {
          font-size: 1.8em;
        }
      }
      @media (max-width: 1200px) {
        .overlay .service-text {
          font-size: 2.2em;
        }
      }
    
      @media (max-width: 991px) {
        .overlay .service-text {
          font-size: 1.9em;
        }
      }
      
   
      /* .image-container::after {
        content: '';
        position: absolute;
        top: 30px; 
        left: 30px; 
        right: 30px; 
        bottom: 30px; 
        border: 2px solid transparent; 
        z-index: 1; 
        transition: border 0.3s ease-in-out;
        pointer-events: none; 
      } */
      
      .image-container:hover::after {
        border-color: #fff;
      }
      
      .row.pt-md > .image-container {
        padding-left: 2px; 
        padding-right: 2px; 
      }
      
      @media (min-width: 768px) { 
        .row.pt-md > .image-container {
          padding-left: 2px;
          padding-right: 2px;
        }
      }
      
      
        /* Fence-list End */
    
        .f-hr {
          border: none;
          height: 2px; 
          background: linear-gradient(to right, rgba(50, 168, 82, 0), #990000, rgba(50, 168, 82, 0)); 
          margin: 20px 0; 
          display: block; 
        }

        .fw-hr {
          border: none;
          height: 2px; 
          background: linear-gradient(to right, rgba(50, 168, 82, 0), #fff, rgba(50, 168, 82, 0)); 
          margin: 20px 0; 
          display: block; 
        }

        .br-40 {
          border-radius: 40px;
        }


.well {
    border-radius: 0;
}






/* Testimonial-variant */
.cf-main-well {
  background-color: #f1f1f1;
  max-width: 2000px;
  padding: 60px 60px 120px 60px;
  margin-bottom: -100px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Adjust padding for mobile screens */
@media (max-width: 768px) {
  .cf-main-well {
    padding: 30px 30px 80px 30px; /* Reduce padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .cf-main-well {
    padding: 20px 20px 80px 20px; /* Further reduce padding for very small screens */
  }
}

.cf-well {
  background-color: #222;
  color: #fff;
  padding: 40px;
  margin: 0 20px; 
  min-height: 350px;
}
@media (max-width: 767px) {
    .cf-testimonial-slider .cf-well{ padding: 20px; }
    .cf-testimonial-slider .cf-quote{ font-size: 26px; word-break: break-word; }
}
@media (min-width: 767px) {
  .cf-well {    
    min-height: 575px;
  }
}
@media (min-width: 991px) {
  .cf-well {    
    min-height: 600px;
  }
}
@media (min-width: 1200px) {
  .cf-well {    
    min-height: 575px;
  }
}
/* @media (min-width: 1360px) {
  .cf-well {    
    min-height: 620px;
  }
} */
@media (min-width: 1500px) {
  .cf-well {    
    min-height: 565px;
  }
}
@media (min-width: 1600px) {
  .cf-well {    
    min-height: 500px;
  }
}

@media (min-width: 1800px) {
  .cf-well {    
    min-height: 465px;
  }
}

.cf-well p b { 
  color: #fff;
  padding-top: 10px;  
}

.cf-quote {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  padding-bottom: 10px;
  line-height: 1.2;
}

.o-line {
  position: relative;
  display: inline-block;
}

.o-line::after {
  content: "";
  display: block;
  position: absolute;
  width: 200px;
  height: 4px;
  background-color: #990000; 
  bottom: 100%;  
  left: 0;       
  margin-bottom: 8px; 
}


/* Position the Slick arrows inside the .cf-main-well area */
.cf-main-well .cf-prev,
.cf-main-well .cf-next {
  position: absolute;
  top: 50%;        
  transform: translateY(-50%);
  z-index: 2;      
  background: none;
  border: none;
  color: #990000;     
  font-size: 6rem; 
  cursor: pointer;
}

.cf-main-well .cf-prev {
  right: 170px; 
}
.cf-main-well .cf-next {
  right: 100px;
}

.cf-vertical {
  position: absolute;
  width: 2px;
  height: 45px;
  background-color: #999; 
  opacity: 10%;
  top: 50%;
  right: 157px; 
  transform: translateY(-50%);
  z-index: 20;
}

@media (max-width: 767px) {
  .cf-position {
    display: none;
  }
  .cf-position-mobile .cf-prev,
.cf-position-mobile .cf-next {
  position: absolute;
  top: -30px;        
  transform: translateY(-50%);
  z-index: 2;      
  background: none;
  border: none;
  color: #990000;     
  font-size: 6rem; 
  cursor: pointer;
}

.cf-position-mobile .cf-prev {
  left: 100px; 
}
.cf-position-mobile .cf-next {
  right: 100px; 
}

.cf-btn-mobile {
  padding-top: 100px;
}

.cf-vertical {
  position: absolute;
  width: 2px;
  height: 45px;
  background-color: #999; 
  opacity: 10%;
  top: -30px; 
  right: 50%; 
  transform: translateY(-50%);
  z-index: 2;
}

}

@media (min-width: 767px) {
  .cf-position-mobile {
    display: none;
  }
}

/* Testimonial-variant END*/



/* COMPANY INTRO */

.company-intro .container-fluid {
  display: flex;
  position: relative; 
  padding: 0;
}

.custom-col-left {
  width: 35%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.custom-col-right {
  width: 65%;
  /* background-color: #161616; */
  /* color: white; */
  padding: 40px; /* Adjust padding as needed */
  position: relative;
}

.overlapping-image {
  position: absolute;
  top: 12%;
  left: 35%;
  transform: translateX(-50%); 
  z-index: 1; 
}

@media (max-width: 1600px) {
  .overlapping-image {
    left: 30%;
    top: 12%;
  }
}
.overlapping-image img {
  width: 400px; 
  height: auto;
}
@media (max-width: 1300px) {
  .overlapping-image {
    left: 25%;
    top: 20%
  }
  .overlapping-image img {
    width: 300px; 
    height: auto;
  }
}

@media (max-width: 991px) {
  .custom-col-left {
    display: none;
  }
  .overlapping-image img {
    display: none;
  }
  .custom-col-right {
    width: 100%;
    /* background-color: black; */
    /* color: white; */
    padding: 0px; 
    position: relative;
    margin: 0;
  }
}

/* COMPANY INTRO  END*/

/* TRUST */

.trust-barb { 
  position: relative; 
  z-index: 10 !important;
}

.trust-barb img {
  display: block;
  width: 400%;
  position: relative;
  top: -33px;
  left: -1750px;
}
@media (max-width: 1199px) {
  .trust-barb img {
    top: -30px;
  }
}
@media (max-width: 991px) {
  .trust-barb img {
    top: -25px;
  }
}
@media (max-width: 670px) {
  .trust-barb img {
    top: -22px;
    left: -10px;
  }
}
@media (max-width: 480px) {
  .trust-barb img {
    top: -18px;
    left: -10px;
  }
}
/* TRUST END*/


/* HERO END*/
/* Section wrapper */
/* Section wrapper controls the crop window */
.hero-video {
  position: relative;
  overflow: hidden;     /* clip extra video */
}

/* Desktop height: 80vh */
.hero-video--80vh { height: 80vh; }

/* Mobile height override */
@media (max-width: 767px) {
  .hero-video--80vh { height: 600px; }
}

/* Video: scale by width, center both ways */
.hero-video-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* keep center in view */
  width: 100%;                      /* you asked for width-driven scaling */
  height: auto;                      /* keeps aspect ratio */
  /* If your video ever ends up shorter than the section,
     you can add: min-height: 100%; (optional) */
  z-index: 0;
}

/* Overlay and content on top */
.hero-video-filter {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.45);   /* your banner-filter vibe */
  display: flex;
  align-items: center;            /* vertically center content */
}

/* Accessibility: reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { animation: none; }
}

/* HERO END*/
