/* ============================================
   FAQ SECTION
   ============================================ */

section.section-faqs {
    padding: 60px 0 80px;
    background-color: #f3f3f3;
}

section.section-faqs h2 {
    text-align: center;
    margin: 0 0 50px;
}

/* Accordion wrapper */
section.section-faqs .faq-accordian {
    overflow: hidden;
}

/* Border lives on the panel — always visible, never animates away */
section.section-faqs .faqs-wrapper .panel.panel-default {
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

section.section-faqs .faqs-wrapper .panel-default > .panel-heading {
    padding: 0;
    background-color: transparent;
    border: 0;
}

section.section-faqs .faqs-wrapper .panel-group .panel + .panel {
    margin-top: 12px;
}

/* Panel title link — no border here, panel handles it */
section.section-faqs .faqs-wrapper .panel-title {
    position: relative;
}

section.section-faqs .faqs-wrapper .panel-title a {
    padding: 20px 50px 20px 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    border: none;
    position: relative;
    transition: background-color 0.2s ease;
}

section.section-faqs .faqs-wrapper .panel-title a:hover {
    background-color: #f8f9fc;
}

/* Q number label — same font-size as question */
section.section-faqs .faq-num {
    font-weight: 700;
    font-size: inherit;
    color: var(--primary);
    white-space: nowrap;
}

/* Chevron icon */
section.section-faqs .faq-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

/* Collapsed state — chevron points down */
section.section-faqs .panel-title a.collapsed .faq-chevron {
    transform: translateY(-50%) rotate(0deg);
}

/* Panel body — no top border, seamless with question */
section.section-faqs .faqs-wrapper .panel-default > .panel-heading + .panel-collapse > .panel-body {
    background-color: #fff;
    border: none;
    padding: 0 20px 20px;
}

/* CTA button */
section.section-faqs .faq-cta {
    text-align: center;
    margin-top: 40px;
}

/* Mobile responsive */
@media (max-width: 767px) {
    section.section-faqs {
        padding: 40px 0 60px;
    }
    section.section-faqs h2 {
        margin-bottom: 30px;
    }
}

/* ============================================
   END FAQ SECTION
   ============================================ */
  /* Key Features */
  .sv-collapse .panel,
  .sv-collapse .panel-heading{
      padding: 0;
      border-radius: var(--border-radius);
      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: var(--icon-radius);
      text-align: center;
      font-size: 40px;
      font-weight: 900;
      line-height: 45px;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
      color: var(--accent);
      border: 1px solid var(--accent);
      transition: all 0.5s ease-out;
  }
  
  .sv-collapse div[role="tab"] a.collapsed i{
      transform: translateY(-50%) rotate(0deg);
      color: #ffffff;
      background-color: var(--accent);
  }

  /* Key Features END */

 
    
    .f-hr {
        border: none;
        height: 2px; 
        background: linear-gradient(to right, transparent, var(--accent), transparent); 
        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: var(--border-radius);
    }




    
/* 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(0, 0, 0, 0.0);
  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(0, 0, 0, 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: 480px) {
    .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: var(--border-radius);
}

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

/* 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: var(--accent);
}

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


/* FENCE TYPES SLIDER */
.fence-types {
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.fence-types::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}
.fence-types > .container {
    position: relative;
    z-index: 1;
}
.fence-types .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.fence-types .section-header h2,
.fence-types .section-header h2 .over {
    color: #fff;
}

/* Slide row — flex so partial slides center */
.fence-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 10px 0;
}
.fence-slide [class*="col-"] {
    display: flex;
}
/* Carousel */
.fence-carousel .carousel-inner {
    overflow: hidden;
}

/* Frosted glass cards */
.fence-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.fence-type-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}
.fence-type-card a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    overflow: hidden;
    border-radius: var(--border-radius);
}
.fence-type-card .card-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.fence-type-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.fence-type-card:hover .card-image img {
    transform: scale(1.08);
}
.fence-type-card .card-content {
    padding: 25px 20px 50px;
    position: relative;
    flex: 1;
}
.fence-type-card .card-content h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}
.fence-type-card:hover .card-content h3 {
    color: var(--accent);
}
.fence-type-card .card-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}
.fence-type-card .card-arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.fence-type-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}
.fence-type-card .card-arrow i {
    color: #fff;
    font-size: 12px;
}

/* Carousel controls */
.fence-carousel .carousel-control {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: var(--icon-radius);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-image: none;
    text-shadow: none;
}
.fence-carousel .carousel-control:hover {
    background: #fff;
}
.fence-carousel .carousel-control.left {
    left: -25px;
}
.fence-carousel .carousel-control.right {
    right: -25px;
}
.fence-carousel .carousel-control i {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.fence-carousel .carousel-control:hover i {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 991px) {
    .fence-types > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .fence-carousel .carousel-control {
        width: 40px;
        height: 40px;
        top: calc(50% - 20px);
    }
    .fence-carousel .carousel-control.left {
        left: -15px;
    }
    .fence-carousel .carousel-control.right {
        right: -15px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .fence-type-card {
        min-height: 500px;
    }
}
/* Mobile — kill slider, stack everything */
@media (max-width: 767px) {
    .fence-types {
        padding: 50px 0;
    }
    .fence-carousel .carousel-control {
        display: none;
    }
    .fence-carousel .item {
        display: block !important;
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        left: 0 !important;
    }
    .fence-slide {
        flex-direction: column;
    }
    .fence-slide [class*="col-"] {
        margin-bottom: 15px;
    }
    .fence-type-card .card-image {
        height: 200px;
    }
}
/* FENCE TYPES SLIDER END */


/* ============================
   FENCE GRID (non-carousel)
   ============================ */
.fence-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.fence-grid .fence-type-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
}
.fence-grid .card-images {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.fence-grid .card-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}
@media (max-width: 991px) {
    .fence-grid .fence-type-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}
@media (max-width: 767px) {
    .fence-grid .fence-type-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.fence-types-no-bg {
    background-image: none !important;
    background-color: #fff;
}
.fence-types-no-bg::before {
    display: none;
}
.fence-types-no-bg .fence-type-card {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: #e0e0e0;
}
.fence-types-no-bg .fence-type-card:hover {
    background: #fff;
    border-color: var(--accent);
}
.fence-types-no-bg .fence-type-card .card-content h3 {
    color: var(--dark);
}
.fence-types-no-bg .fence-type-card:hover .card-content h3 {
    color: var(--accent);
}
.fence-types-no-bg .fence-type-card .card-content p {
    color: #666;
}
.fence-types-no-bg .fence-type-card .card-content .over {
    color: var(--accent);
}
/* FENCE GRID END */


/* ============================
   TESTIMONIALS SECTION
   ============================ */
.testimonials-section {
    /* background: #fff; */
    /* padding: 60px 0 0; */
    position: relative;
    overflow: visible;
}
@media (min-width: 1200px) {
    .testimonials-section > .container {
        transform: translateY(50px);
    }
}

/* Truck image — sits at bottom of section, overlaps into next section */
.section-truck {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.section-truck img {
    display: block;
    max-width: 450px;
    height: auto;
}
.section-truck.truck-left {
    text-align: left;
    padding-left: 5%;
}
.section-truck.truck-right {
    text-align: right;
    padding-right: 5%;
}
.section-truck.truck-right img {
    margin-left: auto;
}
@media (min-width: 1600px) {
    .section-truck img {
        max-width: 650px;
    }
}
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.testimonials-section .section-header h2 {
    margin-bottom: 20px;
}

/* Testimonial item */
.testimonial-item {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px 35px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.testimonial-item .quote-icon {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
}
.testimonial-item blockquote {
    border: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}
.testimonial-item .testimonial-author {
    color: #666;
    font-size: 15px;
    font-weight: 600;
}

/* Testimonial carousel */
.testimonial-carousel {
    cursor: grab;
}
.testimonial-carousel:active {
    cursor: grabbing;
}
.testimonial-carousel .carousel-inner {
    overflow: hidden;
}
.testimonial-carousel .item {
    display: none;
    padding: 10px 15px;
    transition: transform 0.6s ease-in-out;
}
.testimonial-carousel .item.active,
.testimonial-carousel .item.next,
.testimonial-carousel .item.prev {
    display: block;
}
.testimonial-carousel .item.next,
.testimonial-carousel .item.prev {
    position: absolute;
    top: 0;
    width: 100%;
}
.testimonial-carousel .item {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.testimonial-carousel .item.active {
    opacity: 1;
}
.testimonial-carousel .item.next.left,
.testimonial-carousel .item.prev.right {
    opacity: 1;
}
.testimonial-carousel .item.active.left,
.testimonial-carousel .item.active.right {
    opacity: 0;
}

/* Carousel controls */
.testimonial-carousel .carousel-control {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: var(--icon-radius);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.testimonial-carousel .carousel-control:hover {
    background: #fff;
}
.testimonial-carousel .carousel-control.left {
    left: calc(50% - 425px);
}
.testimonial-carousel .carousel-control.right {
    right: calc(50% - 425px);
}
.testimonial-carousel .carousel-control i {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.testimonial-carousel .carousel-control:hover i {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 991px) {
    .testimonial-carousel .carousel-control {
        width: 40px;
        height: 40px;
    }
    .testimonial-carousel .carousel-control.left {
        left: calc(50% - 380px);
    }
    .testimonial-carousel .carousel-control.right {
        right: calc(50% - 380px);
    }
}
@media (max-width: 850px) {
    .testimonial-carousel .carousel-control.left {
        left: 10px;
    }
    .testimonial-carousel .carousel-control.right {
        right: 10px;
    }
}
@media (max-width: 767px) {
    .testimonials-section {
        padding: 40px 0 0 0;
    }
    .testimonial-item {
        padding: 25px 20px;
        min-height: 180px;
    }
    .testimonial-item blockquote {
        font-size: 16px;
    }
    .testimonial-carousel .carousel-control {
        display: none;
    }
    .section-truck {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .section-truck img {
        max-width: 300px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .testimonials-section {
        padding-top: 30px;
    }
    .section-truck {
        margin-top: 10px;
    }
}
/* TESTIMONIALS SECTION END */


/* ============================
   EASY PROCESS SECTION
   ============================ */
.easy-process {
    background: #f8f8f8;
}
.easy-process .section-header {
    text-align: center;
    margin-bottom: 50px;
}
.easy-process .section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* Process steps container */
.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

/* Individual step */
.process-step {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 0;
    flex: 1;
    max-width: 350px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: visible;
    transition: all 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.process-step .step-image {
    position: relative;
    overflow: visible;
}
.process-step .step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.process-step .step-number {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--icon-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}
.process-step .step-content {
    padding: 30px 25px 25px;
}
.process-step .step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--dark);
}
.process-step .step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA area */
.easy-process .process-cta {
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .process-steps {
        gap: 20px;
    }
    .process-step .step-image img {
        height: 160px;
    }
}
@media (max-width: 767px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        max-width: 100%;
        width: 100%;
    }
    .process-step .step-image img {
        height: 180px;
    }
}
/* EASY PROCESS SECTION END */


/* ============================
   STYLES SECTION
   ============================ */
.styles-section .well.well-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.styles-section .well.well-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Most Popular Style Badge */
.style-popular {
    position: relative;
    border: 2px solid var(--accent) !important;
}
.style-popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 1;
}
/* STYLES SECTION END */


/* ============================================
   WHY HOMEOWNERS DEMAND SECTION
   ============================================ */

/* Background image wrapper */
section.why-homeowners .why-homeowners-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 0 80px;
}

/* Dark overlay */
section.why-homeowners .why-homeowners-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}

/* Keep content above overlay */
section.why-homeowners .why-homeowners-bg > .container {
    position: relative;
    z-index: 1;
}

/* Section heading */
section.why-homeowners h2 {
    text-align: center;
    color: #fff;
    margin: 0 0 50px;
}

/* Three boxes row */
section.why-homeowners .why-boxes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

/* Individual box – flip container */
section.why-homeowners .why-box {
    flex: 1;
    max-width: 340px;
    perspective: 1000px;
    display: flex;
}

/* Flip inner wrapper */
section.why-homeowners .why-box-inner {
    position: relative;
    width: 100%;
    flex: 1;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

section.why-homeowners .why-box-front:hover svg {
    scale: 1.2;
    transition: scale 0.3s ease-in-out;
}
/* section.why-homeowners .why-box:hover .why-box-inner {
    transform: rotateY(180deg);
} */

/* Shared front & back */
section.why-homeowners .why-box-front,
section.why-homeowners .why-box-back {
    backface-visibility: hidden;
    text-align: center;
}

/* Front face */
section.why-homeowners .why-box-front {
    position: relative;
    background: var(--primary);
    padding: 30px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Back face – image */
section.why-homeowners .why-box-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Icon */
section.why-homeowners .why-box i,
section.why-homeowners .why-box svg {
    font-size: 70px;
    width: 70px;
    height: 70px;
    color: #E0922F;
    fill: #E0922F;
    margin: 0 auto 20px;
    display: block;
}

/* Box text */
section.why-homeowners .why-box p {
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 991px) {
    section.why-homeowners .why-boxes {
        gap: 20px;
    }
}
@media (max-width: 767px) {
    section.why-homeowners .why-boxes {
        flex-direction: column;
        align-items: center;
    }
    section.why-homeowners .why-box {
        max-width: 100%;
        width: 100%;
    }
    section.why-homeowners h2 {
        margin-bottom: 30px;
    }
}

/* ============================================
   END WHY HOMEOWNERS DEMAND SECTION
   ============================================ */


/* ============================================
   I DRIVE COMPARISON SECTION
   ============================================ */

/* Gradient blue background */
section.idrive-comparison {
    background: linear-gradient(180deg, var(--primary) 0%, #171F3B 100%);
    padding: 60px 0 80px;
}

/* Section heading */
section.idrive-comparison h2 {
    text-align: center;
    color: #fff;
    margin: 0 0 50px;
}

/* Two-column row */
section.idrive-comparison .comparison-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Each column — image + card side by side */
section.idrive-comparison .comparison-col {
    flex: 1;
    display: flex;
    align-items: stretch;
}

/* Image container */
section.idrive-comparison .comparison-img {
    flex: 0 0 50%;
    overflow: hidden;
}

section.idrive-comparison .comparison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White comparison card */
section.idrive-comparison .comparison-card {
    flex: 1;
    background: #fff;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

section.idrive-comparison .comparison-card h3 {
    margin: 0 0 15px;
    color: var(--dark);
}

/* List styling */
section.idrive-comparison .comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section.idrive-comparison .comparison-card ul li {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Green checkmarks */
section.idrive-comparison .comparison-pro i {
    color: #24B100;
    font-size: 20px;
}

/* Red X marks */
section.idrive-comparison .comparison-con i {
    color: #B10000;
    font-size: 20px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    section.idrive-comparison .comparison-row {
        gap: 20px;
    }
    section.idrive-comparison .comparison-card ul li {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    section.idrive-comparison {
        padding: 40px 0 60px;
    }
    section.idrive-comparison .comparison-row {
        flex-direction: column;
        align-items: center;
    }
    section.idrive-comparison .comparison-col,
    section.idrive-comparison .comparison-col-reverse {
        flex-direction: column;
        width: 100%;
    }
    section.idrive-comparison .comparison-img {
        flex: 0 0 auto;
        height: 200px;
    }
    section.idrive-comparison h2 {
        margin-bottom: 30px;
    }
}

/* ============================================
   END I DRIVE COMPARISON SECTION
   ============================================ */


/* ============================================
   FENCE STYLES COMPATIBLE SECTION
   ============================================ */

section.fence-styles-compatible {
    padding: 60px 0 80px;
    /* background: #f0f0f0; */
}

/* Section heading */
section.fence-styles-compatible h2 {
    text-align: center;
    color: var(--dark);
    margin: 0 0 50px;
}

/* Four-card grid */
section.fence-styles-compatible .fsc-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* Individual card */
section.fence-styles-compatible .fsc-card {
    flex: 1;
    max-width: 320px;
    border: 3px solid var(--primary);
    display: flex;
    flex-direction: column;
    background: #fff;
    align-items: stretch;
}

/* Image */
section.fence-styles-compatible .fsc-img {
    overflow: hidden;
}

section.fence-styles-compatible .fsc-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Badge-style images (logos, badges with white bg) */
section.fence-styles-compatible .fsc-img.fsc-img-badge {
    overflow: visible;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 220px;
}
section.fence-styles-compatible .fsc-img.fsc-img-badge img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
}

/* Card content area */
section.fence-styles-compatible .fsc-content {
    padding: 15px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

section.fence-styles-compatible .fsc-content h3 {
    color: var(--dark);
    font-size: 28px;
    margin: 0 0 8px;
}

section.fence-styles-compatible .fsc-content p {
    color: #555;
    margin: 0 0 15px;
    flex: 1;
}

/* Button */
section.fence-styles-compatible .fsc-content .btn {
    align-self: center;
    text-transform: uppercase;
    font-weight: 700;
    margin: auto 0 0;
}

/* Mobile responsive */
@media (max-width: 1400px) {
    section.fence-styles-compatible .fsc-grid {
        flex-wrap: wrap;
        gap: 20px;
    }
    section.fence-styles-compatible .fsc-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}
@media (max-width: 767px) {
    section.fence-styles-compatible {
        padding: 40px 0 60px;
    }
    section.fence-styles-compatible .fsc-grid {
        flex-direction: column;
        align-items: center;
    }
    section.fence-styles-compatible .fsc-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    section.fence-styles-compatible h2 {
        margin-bottom: 30px;
    }
}

/* ============================================
   END FENCE STYLES COMPATIBLE SECTION
   ============================================ */


/* ============================================
   COMMERCIAL SECTION
   ============================================ */

section.commercial-section {
    padding: 0;
}

/* Background image */
section.commercial-section .commercial-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Blue overlay — covers right portion, semi-transparent */
section.commercial-section .commercial-overlay {
    background: linear-gradient(90deg, transparent 0%, transparent 25%, rgba(64, 85, 161, 0.85) 25%);
    padding: 60px 0;
}

/* Row layout */
section.commercial-section .commercial-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Inset image */
section.commercial-section .commercial-img {
    flex: 0 0 35%;
    position: relative;
    z-index: 1;
}

section.commercial-section .commercial-img img {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.65);
}

/* Text content */
section.commercial-section .commercial-content {
    flex: 1;
    padding: 10px 7px;
}

section.commercial-section .commercial-content h2 {
    color: #fff;
    margin: 0 0 10px;
}

section.commercial-section .commercial-content p {
    color: #fff;
    margin: 0px 0 12px;
}

section.commercial-section .commercial-content p.lead {
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
}

section.commercial-section .heading-list li {
    color: #fff;
    font-size: 20px;
}

section.commercial-section ul.heading-list {
    padding-left: 16px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    section.commercial-section .commercial-overlay {
        background: rgba(64, 85, 161, 0.85);
    }
    section.commercial-section .commercial-row {
        gap: 30px;
    }
    section.commercial-section .commercial-img {
        flex: 0 0 40%;
    }
}
@media (max-width: 767px) {
    section.commercial-section .commercial-overlay {
        padding: 45px 0;
    }
    section.commercial-section .commercial-row {
        flex-direction: column;
    }
    section.commercial-section .commercial-img {
        flex: 0 0 auto;
        max-width: 80%;
    }
    section.commercial-section .commercial-content h2 {
        font-size: 34px;
    }
}

/* ============================================
   END COMMERCIAL SECTION
   ============================================ */


/* ============================================
   HEADING LIST (reusable)
   ============================================ */

ul.heading-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.heading-list li {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 25px;
    padding: 5px 0 5px 20px;
    position: relative;
}

ul.heading-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
}

/* ============================================
   END HEADING LIST
   ============================================ */


/* ============================================
   IN ACTION SECTION
   ============================================ */

section.in-action {
    background: linear-gradient(180deg, #fff 0%, #fff 46.4%, var(--primary) 46.4%, #171F3B 100%);
    padding: 60px 0 80px;
    text-align: center;
}

/* Event image with burst graphics */
section.in-action .in-action-img {
    max-width: 750px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.in-action .in-action-img > img:not(.burst) {
    width: 100%;
    height: auto;
    display: block;
    border: 6px solid var(--primary);
    position: relative;
    z-index: 1;
}

/* Burst graphics */
section.in-action .burst {
    position: absolute;
    width: 180px;
    height: auto;
    z-index: 0;
    border: none;
}

section.in-action .burst-left {
    left: -205px;
    transform: scaleX(-1);
}

section.in-action .burst-right {
    right: -205px;
}

/* Text */
section.in-action h2 {
    color: #fff;
    margin: 0 0 10px;
}

section.in-action p.lead {
    color: #fff;
    margin: 0 0 30px;
}

/* Button */
section.in-action .btn {
    text-transform: uppercase;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 767px) {
    section.in-action {
        padding: 40px 0 60px;
    }
    section.in-action .in-action-img {
        max-width: 100%;
        margin-bottom: 30px;
    }
    section.in-action .burst {
        display: none;
    }
}

/* ============================================
   END IN ACTION SECTION
   ============================================ */


/* ============================================
   ANIMATION BOX (scroll reveal)
   ============================================ */

.animation-box {
    opacity: 0 !important;
    transform: translate3d(0, 40px, 0);
    transition: transform 1s, opacity 2s;
    transition-delay: var(--delay);
}

.animation-box.slideFromLeft {
    transform: translate3d(-40px, 0, 0);
}

.animation-box.slideFromRight {
    transform: translate3d(40px, 0, 0);
}

.animation-box.slideFromBottom {
    transform: translate3d(0px, 40px, 0);
}

.animation-box.scale {
    transform: scale(.5);
}

.animation-box.animated {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0);
}

.animation-box.scale.animated {
    transform: scale(1);
}

/* ============================================
   END ANIMATION BOX
   ============================================ */


/* ============================================
   CONTAINER WIDE (footer variant)
   ============================================ */

.container-wide {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* ============================================
   FOOTER CTA SECTION
   ============================================ */

section.footer-cta {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, #f3f3f3 0%, #f3f3f3 50%, #fff 50%);
}

/* Orange accent bar — full viewport width behind the blue box */
section.footer-cta::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 28px;
    background: var(--accent);
    z-index: 0;
}

/* Blue gradient box — clipped to container-wide, orange peeks out on sides */
section.footer-cta .footer-cta-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #171F3B 0%, var(--primary) 100%);
    padding: 50px 50px;
}

/* Flex row: text left, button right */
section.footer-cta .footer-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

section.footer-cta h2 {
    color: #fff;
    margin: 0;
    flex: 1;
}

section.footer-cta .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Tablet responsive */
@media (max-width: 991px) {
    section.footer-cta .footer-cta-row {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    section.footer-cta .footer-cta-inner {
        padding: 40px 0;
    }
}

/* ============================================
   END FOOTER CTA SECTION
   ============================================ */


/* ============================================
   FOOTER
   ============================================ */

footer.site-footer {
    background: #fff;
    padding: 60px 0 0;
}

/* Main row — 4 columns */
footer.site-footer .footer-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Logo column */
footer.site-footer .footer-logo {
    flex: 0 0 28%;
}

footer.site-footer .footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Link columns */
footer.site-footer .footer-col {
    flex: 1;
}

footer.site-footer .footer-col h3 {
    color: var(--dark);
    margin: 0 0 15px;
    font-size: 32px;
}

footer.site-footer .footer-col h3 + h3 {
    margin-top: 30px;
}

footer.site-footer .footer-col p {
    color: #555;
    margin: 0 0 8px;
    line-height: 1.5;
}

footer.site-footer .footer-col a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.site-footer .footer-col a:hover {
    color: var(--primary);
}

/* Heading list in footer — smaller font, dark text */
footer.site-footer .heading-list li {
    color: var(--dark);
    font-size: 17px;
}

footer.site-footer .heading-list li a {
    color: var(--dark);
}

footer.site-footer .heading-list li a:hover {
    color: var(--primary);
}

/* Social icons */
footer.site-footer .footer-social {
    display: flex;
    gap: 12px;
}

footer.site-footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ddd;
    color: var(--dark);
    font-size: 20px;
    transition: background 0.2s ease, color 0.2s ease;
}

footer.site-footer .footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* Mr Fence Character */
footer.site-footer .footer-character {
    flex: 0 0 140px;
    align-self: flex-end;
}

footer.site-footer .footer-character img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer bottom bar — blue gradient with utility links + copyright */
footer.site-footer .footer-bottom {
    background: linear-gradient(180deg, var(--primary) 0%, #171F3B 100%);
    color: rgba(255,255,255,0.7);
    padding: 25px 0;
    margin-top: 40px;
}

footer.site-footer .footer-utility {
    font-size: 14px;
    margin-bottom: 12px;
}

footer.site-footer .footer-utility a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer.site-footer .footer-utility a:hover {
    color: #fff;
}

footer.site-footer .footer-utility span {
    color: rgba(255,255,255,0.4);
    margin: 0 8px;
}

footer.site-footer .footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

footer.site-footer .footer-copyright a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 991px) {
    footer.site-footer .footer-row {
        flex-wrap: wrap;
        gap: 30px;
        text-align: center;
    }
    footer.site-footer .footer-logo {
        flex: 0 0 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    footer.site-footer .footer-col {
        flex: 0 0 calc(50% - 15px);
    }
    footer.site-footer .footer-character {
        flex: 0 0 120px;
        margin: 0 auto;
    }
    footer.site-footer .footer-social {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    footer.site-footer {
        padding: 40px 0 0;
    }
    footer.site-footer .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer.site-footer .footer-logo {
        max-width: 280px;
    }
    footer.site-footer .footer-col {
        flex: 0 0 100%;
        width: 100%;
    }
    footer.site-footer .heading-list li {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 0;
    }
    footer.site-footer .heading-list li::before {
        position: static;
        transform: none;
        margin-right: 10px;
        flex-shrink: 0;
    }
    footer.site-footer .footer-social {
        justify-content: center;
    }
    footer.site-footer .footer-character {
        flex: 0 0 120px;
        max-width: 150px;
    }
}

/* ============================================ */
/*    END FOOTER                                */
/* ============================================ */



/* ============================================ */
/*    INSTA LIST                                */
/* ============================================ */
    ul.insta-list {
        list-style: none;
        padding-left: 0;
        margin: 3rem 0 0;
    }

    ul.insta-list li {
        position: relative;
        padding-left: 1.5em;
        margin-bottom: 0.5em;
        font-weight: 700;
    }

    ul.insta-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.35em;
        width: 0.7em;
        height: 0.7em;
        background-color: var(--accent);
    }
@media (max-width: 767px) {
    ul.insta-list {
        padding: 0 20px;
    }
}
/* ============================================ */
/*   END INSTA LIST                             */
/* ============================================ */