/* 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;
    color: #b2d2bd;
  }
  
  .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: #b2d2bd;    
      border: 1px solid #b2d2bd;
      transition: all 0.5s ease-out;
  }
  
  .sv-collapse div[role="tab"] a.collapsed i{
      transform: translateY(-50%) rotate(0deg);
      color: #ffffff;
      background-color: #b2d2bd;
  }

  /* Key Features END */

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




    
/* Fence List */
.fl-v01, .core-values  {
    padding-bottom: 150px;
    position: relative;
}

.fl-v01::after,
.core-values::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;              /* full width so it repeats all the way across */
    height: 107px;            /* scaled height (about 60% of 178) */
    background-image: url('/images/fence-shorter.png');
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: 100px auto;  /* scaled down evenly from 298×178 */
    pointer-events: none;
    z-index: 0;
}

/* 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); /* #b2d2bd 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(178, 210, 189, 0.28);
}

/* 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(0, 0, 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: 480px) {
  .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: 761px) {
  .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 */


/* 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 */
  border-radius: 30px;
}

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

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

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



 .intro-img {
    border-radius: 30px;
    border: 2px solid #b2d2bd;
 }

 .well {
    border-radius: 30px;
 }




/* Before after  */
.before-after-variant-v1 .comparison{
    width:200%;
    aspect-ratio: 2 / 1;       
    position:relative;
}
@supports not (aspect-ratio: 2 / 1){
    .before-after-variant-v1 .comparison::before{
    content:"";
    display:block;
    padding-bottom:50%;       
    }
}
@media (min-width: 992px) {
    .before-after-variant-v1 .comparison {
        margin-top: 30px;
    }
}
.before-after-variant-v1 figure {
    position: absolute;
    background-size: cover;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}  
.before-after-variant-v1 .divisor {
    background-size: cover;
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    bottom: 0;
    height: 100%;
}
.before-after-variant-v1 .divisor::before,
.before-after-variant-v1 .divisor::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 4px;
    height: calc(50% - 25px);
    background: white;
    z-index: 3;
}
.before-after-variant-v1 .divisor::before {
    top: 0;
    box-shadow: 0 -3px 8px 1px rgba(0, 0, 0, 0.3);
}
.before-after-variant-v1 .divisor::after {
    bottom: 0;
    box-shadow: 0 3px 8px 1px rgba(0, 0, 0, 0.3);
}

.before-after-variant-v1 .handle {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}
.before-after-variant-v1 .handle::before,
.before-after-variant-v1 .handle::after {
    content: "";
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}
.before-after-variant-v1 .handle::before {
    border-right: 6px solid white;
    left: 50%;
    margin-left: -17px;
}
.before-after-variant-v1 .handle::after {
    border-left: 6px solid white;
    right: 50%;
    margin-right: -17px;
}

.before-after-variant-v1 input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    background-color: transparent;
    width: calc(100% + 50px);
    z-index: 2;
    cursor: ew-resize;
}
.before-after-variant-v1 input[type="range"]:focus,
.before-after-variant-v1 input[type="range"]:active {
    border: none;
    outline: none;
}

.before-after-variant-v1 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid white;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
}

.before-after-variant-v1 input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 15px;
    width: 100%;
    background-color: transparent;
    position: relative;
    outline: none;
}


    /* Before after end */ 



    .fl-v01.bg-primary {
        background:#30557e;
    }


/* =======================
   Section Background
   ======================= */
.circle-fl-list {
    background: url('/images/blue-circle.webp') no-repeat center top;
    background-size: cover;
    padding: 120px 0 80px;
    position: relative;
}

/* Flex row */
.circle-fl-list .fl-flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Flex fix for columns */
.circle-fl-list .fl-flex-row > [class*="col-"] {
    display: flex;
    justify-content: center;
}

/* =======================
   Application Card / Well
   ======================= */
.circle-fl-list .fl-application {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 430px; /* increased from 360 */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin-bottom: 30px; /* vertical spacing for mobile */
}


/* Slight upward overlap toward blue background */
.circle-fl-list .fl-application {
    margin-top: -50px;
    display: inline-flex;
    flex-direction: column;
}

.circle-fl-list .fl-application .btn {
    margin-block-start: auto;
    transform: translateY(15px);
}

/* Hover lift (desktop only, see media queries) */
.circle-fl-list .fl-application:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* =======================
   Green Circle (expanded base)
   ======================= */
.circle-fl-list .fl-application::before {
    content: "";
    position: absolute;
    right: -200px;
    top: 0;
    width: 400px;    /* doubled */
    height: 400px;   /* doubled */
    background: #F1F8F1;
    border-radius: 50%;
    transition: all 0.7s ease; /* slowed down */
    z-index: 0;
}

/* Hover expand */
.circle-fl-list .fl-application:hover::before {
    width: 600px;
    height: 600px;
    top: -20%;
    right: -240px;
}

/* Keep text above green circle */
.circle-fl-list .fl-application * {
    position: relative;
    z-index: 2;
}



/* =======================
   Icons
   ======================= */
.circle-fl-list .fl-application i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    width: 70px;
    height: 70px;
    background: #30557e;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 20px;
    padding: 2rem;
    margin: 0 auto;
}

/* =======================
   Headings — smaller size
   ======================= */
.circle-fl-list h4, .circle-fl-list .h4 {
    font-size: 22px; /* shrunk so it fits one line */
    font-weight: 700;
    margin-bottom: 15px;
}

/* =======================
   Big screen adjustments
   ======================= */

/* Raise center two wells ONLY on huge desktop screens */
@media (min-width: 1800px) {
    .circle-fl-list .fl-flex-row > div:nth-child(2) .fl-application,
    .circle-fl-list .fl-flex-row > div:nth-child(3) .fl-application {
        margin-top: -70px !important; 
    }
}

/* =======================
   Disable hover/green circle on ≤1200px
   ======================= */
@media (max-width: 1200px) {
    .circle-fl-list .fl-application {
        height: auto;
        transform: none !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .circle-fl-list .fl-application:hover {
        transform: none !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .circle-fl-list .fl-application::before {
        display: none !important;
    }
}

/* Small screen spacing cleanup */
@media (max-width: 768px) {
    .circle-fl-list .fl-flex-row {
        gap: 20px;
    }
    .circle-fl-list .fl-application {
        margin-top: 0;
        height: auto;
        padding-bottom: 50px;
    }
}

@media (min-width: 1500px) {
    .circle-fl-list .margin-pull {
        margin-top: -150px;
    }
}

@media (max-width: 1200px) {
    .circle-fl-list .row.margin-pull > [class*="col-"] {
        margin-bottom: 30px !important;
    }
}



/* easy process  */
.number-circle {
    width:60px;
    height:60px;
    border-radius: 50%;
    background-color: #30557e;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
h3.easy-process-number {
    font-size: 40px;
    color: white;
    text-align: center;
    font-weight: 200;
}
@media (max-width: 767px) {
    .easy-process-number {
        font-size: 30px;
    }
}