/* FAQ Fixes */
.section-faqs {
    background-color: #f3f3f3;
  }
  .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: transparent;
    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: "\f059";
    font-family: "FontAwesome";
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    z-index: 1;
  }
  
  .faqs-wrapper .panel-title a:before,
  .faqs-wrapper .panel-title a:after {
    position: absolute;
    top: 50%;
    content: "";
    transform: translateY(-50%);
    background-color: #000;
    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;
  }
  .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: #ff8200;    
      border: 1px solid #ff8200;
      transition: all 0.5s ease-out;
  }
  
  .sv-collapse div[role="tab"] a.collapsed i{
      transform: translateY(-50%) rotate(0deg);
      color: #ffffff;
      background-color: #ff8200;
  }

  /* Key Features END */


          
        /* Fence-list End */
    
        .f-hr {
          border: none;
          height: 2px; 
          background: linear-gradient(to right, rgba(50, 168, 82, 0), #ff8200, 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;
        }


/* Nav tabs */
.nav-tabs {
  border-bottom: 1px solid #ddd;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.nav-tabs > li {
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}
.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}

/* Tab content */
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}
.tab-pane.fade {
  opacity: 0;
  transition: opacity .15s linear;
}
.tab-pane.fade.in {
  opacity: 1;
}



/* Fence List */
.fl-v01 {
  padding: 0; /* keep it tight; adjust if you want breathing room */
  background: transparent;
}

/* Center the row and cap the width */
.fl-v01-row {
  max-width: 2200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  /* modern gap for clean spacing (5px between everything) */
  gap: 5px;
}

/* Reset Bootstrap .well so it doesn't add padding/borders */
.fl-v01 .fl-item.well {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Three across using calc, accounting for two 5px gaps per row */
.fl-v01 .fl-item {
  position: relative;
  flex: 0 0 calc((100% - 10px) / 3);
  /* fallback if gap isn't supported (we handle in the no-gap block below) */
  box-sizing: border-box;
  overflow: hidden; /* clip overlay & scale */
}

/* Make the whole card clickable */
.fl-v01 .fl-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* Image behavior */
.fl-v01 .fl-link img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0); /* helps some GPUs with hover smoothness */
  transition: transform 420ms ease-in-out; /* smoother + a touch slower */
  transform-origin: center center;
  will-change: transform;
}

/* Overlay caption layer */
.fl-v01 .fl-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: rgba(255, 163, 0, 0.0); /* #ff8200 at 0 initially */
  transition: background 320ms ease, opacity 320ms ease;
  opacity: 0; /* hidden until hover/focus */
}

/* Title & text styles (inherit your existing classes as needed) */
.fl-v01 .fl-caption h3 {
  margin: 0 0 6px 0;
  line-height: 1.2;
}
.fl-v01 .fl-caption p {
  margin: 0;
}

/* Hover/focus state: subtle overlay + slight image lift */
.fl-v01 .fl-link:hover .fl-caption,
.fl-v01 .fl-link:focus .fl-caption,
.fl-v01 .fl-link:focus-visible .fl-caption {
  opacity: 1;
  background: rgba(255, 163, 0, 0.28); /* translucent #ff8200 */
}

/* Desktop/large screens only to avoid touch weirdness on mobile */
@media (min-width: 768px) {
  .fl-v01 .fl-link:hover img,
  .fl-v01 .fl-link:focus img,
  .fl-v01 .fl-link:focus-visible img {
    /* bump scale and add a subtle rotate; tiny so edges don't crop too much */
    transform: scale(1.045) rotate(0.6deg);
  }
}

/* Keyboard focus ring so accessibility doesn’t feel like a boss fight */
.fl-v01 .fl-link:focus-visible {
  outline: 2px solid rgba(255, 163, 0, 0.75);
  outline-offset: 2px;
}

/* --- Responsive breakpoints --- */
/* 2-up on tablets */
@media (max-width: 991px) {
  .fl-v01 .fl-item {
    flex: 0 0 calc((100% - 5px) / 2); /* one gap per row */
  }
}

/* 1-up on phones */
@media (max-width: 650px) {
  .fl-v01 .fl-item {
    flex: 0 0 100%;
  }
}

/* ===== Optional: “no-gap” fallback for older browsers ===== */
/* If you need pixel-perfect spacing where `gap` isn't supported */
@supports not (gap: 5px) {
  .fl-v01-row {
    margin: -2.5px;            /* half-gap negative margins */
  }
  .fl-v01 .fl-item {
    padding: 2.5px;            /* half-gap inner padding to simulate gap */
    flex-basis: calc((100% - 10px) / 3); /* same math as above */
  }
  @media (max-width: 991px) {
    .fl-v01 .fl-item { flex-basis: calc((100% - 5px) / 2); }
  }
  @media (max-width: 650px) {
    .fl-v01 .fl-item { flex-basis: 100%; }
  }
}

/* Mobile behavior: keep text visible, disable hover zoom on touch */
@media (max-width: 767px) {
  .fl-v01 .fl-caption {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.35) !important; /* subtle but readable */
  }

  /* prevent hover zoom since touchscreens don't hover */
  .fl-v01 .fl-link img {
    transform: none !important;
  }

  /* keep text visible and easy to read */
  .fl-v01 .fl-caption h3,
  .fl-v01 .fl-caption p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .fl-v01 .fl-link img,
  .fl-v01 .fl-caption {
    transition: none !important;
  }
}

/* Fence List end */


/* ===== Company List Styling ===== */
.company-list {
  list-style: none;            /* remove boring default bullets */
  margin: 0;
  padding: 0;
}

.company-list li {
  position: relative;
  padding-left: 26px;          /* space for the FA icon */
  margin-bottom: 12px;
  font-size: 17px;             /* just a touch larger than default */
  line-height: 1.5;
  color: #222;
  font-size: 1.9rem;
}

/* Font Awesome 6 Sharp checkmark before each item */
.company-list li::before {
  font-family: "Font Awesome 6 Sharp"; /* requires FA 6 Pro kit */
  content: "\f00c";                    /* Unicode for check mark */
  position: absolute;
  left: 0;
  top: -2px;
  font-weight: 900;                    /* solid style */
  font-size: 24px;
  color: #222;                      /* matches your overlay color */
}

/* Optional: tweak bold text inside list */
.company-list li b {
  color: #222;
  font-weight: 700;
}

.well {
    border-radius: 0;
    border: 0;
}
 /* Core values */


.cv-row{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  justify-content:center;   /* keeps rows tidy if last line has fewer items */
  margin-left:-5px;         /* eat outer gutters */
  margin-right:-5px;        /* eat outer gutters */
}

/* 3-up desktop, 2-up tablet, 1-up mobile */
.core-value-item{
  flex: 1 1 33.333%;
  padding-left:5px;         
  padding-right:5px;        
  margin-bottom:5px;       
  display:flex;             
}
.core-value-item:nth-child(2) {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 991px){ .core-value-item{ flex-basis:50%; } }
@media (max-width: 575px){ .core-value-item{ flex-basis:100%; } }

/* inner black box fills height & centers content (incl. the handshake) */
.core-value-item > div{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;       /* horizontal center */
  justify-content:center;   /* vertical center */
  min-height:220px;         /* tune to taste */
}

/* hover color for your new class */
.cb-text{ color:#fff; transition:color .2s ease; }
.core-value-item:hover .cb-text{ color:#ff8200; }  

/* optional: ensure the icon block centers perfectly */
.core-value-item .d-flex{
  align-items:center;
  justify-content:center;
}
/* Hover effect for orange text */
.cv-text {
  color: #fff;
  transition: color 0.3s ease;
}
.core-value-item:hover .cv-text {
  color: #ff8200; /* your brand orange */
}

/* Center the handshake icon perfectly */
.core-value-item .fa-handshake {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
 /* Core value end */


 .award-well {
    padding: 20px;
    border: 2px solid #ff8200; 
    border-bottom: 0;
 }




 .clipped-image {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3; /* Enforces 800x600 aspect ratio */
    object-position: top;
}