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

  /* Key Features END */

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




    
/* Video Section Styles */
.video-section {
    background: #fff;
    position: relative;
}

 .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}
.feature-list.vertical-list{    
    grid-template-columns: 1fr;   
}
 .feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 700;
    white-space: nowrap;
}
 .feature-list li i {
    color: #c1272d;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 24px;
    flex-shrink: 0;
}

.video-section .video-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border: 4px solid #1a1a1a;
}
.video-section .video-wrapper::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: #c1272d;
    z-index: 1;
}
.video-section video {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 991px) {
    .video-section .feature-list, .feature-list {
        grid-template-columns: 1fr;
        display: inline-grid;
        text-align: left;
    }
    .video-section .col-lg-4 {
        text-align: center;
    }
    .video-section .video-wrapper {
        margin-top: 40px;
    }
    .video-section .row.d-flex {
        justify-content: center;
    }
}
/* Mute Button */
.video-section .mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.video-section .mute-btn:hover {
    background: #c1272d;
}
.video-section .mute-btn i {
    color: #fff;
    font-size: 18px;
}
/* Video controls on hover */
.video-section video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-section .video-wrapper:hover video::-webkit-media-controls {
    opacity: 1;
}

/* ============================
   TRUST BAR SECTION
   ============================ */
.trust-bar-section {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    padding: 25px 0;
    max-height: 250px;
}

/* Trust items container */
.trust-items-desktop {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

/* Individual trust item */
.trust-item {
    text-align: center;
    position: relative;
    padding: 20px 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trust-item:hover {
    background: #222;
}

/* Icon styling */
.trust-item .trust-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-item .trust-icon i {
    font-size: 24px;
    color: #fff;
}

/* Text styling */
.trust-item p.h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
    position: relative;
    padding-bottom: 10px;
}
.trust-item p.h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #c1272d;
    transition: width 0.3s ease;
}
.trust-item:hover p.h4::after {
    width: 60px;
}
.trust-item p {
    color: #999;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* Mobile carousel styling */
.trust-carousel-mobile {
    display: none;
}
.trust-carousel-mobile .carousel-inner {
    overflow: hidden;
}
.trust-carousel-mobile .item {
    display: none;
    padding: 15px 30px;
    transition: transform 0.6s ease-in-out;
}
.trust-carousel-mobile .item.active,
.trust-carousel-mobile .item.next,
.trust-carousel-mobile .item.prev {
    display: block;
}
.trust-carousel-mobile .item.next,
.trust-carousel-mobile .item.prev {
    position: absolute;
    top: 0;
    width: 100%;
}
.trust-carousel-mobile .item.next {
    transform: translateX(100%);
}
.trust-carousel-mobile .item.prev {
    transform: translateX(-100%);
}
.trust-carousel-mobile .item.next.left,
.trust-carousel-mobile .item.prev.right {
    transform: translateX(0);
}
.trust-carousel-mobile .item.active.left {
    transform: translateX(-100%);
}
.trust-carousel-mobile .item.active.right {
    transform: translateX(100%);
}
.trust-carousel-mobile .trust-item {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}
.trust-carousel-mobile {
    cursor: grab;
}
.trust-carousel-mobile:active {
    cursor: grabbing;
}

/* ============================
    TESTIMONIALS SECTION
   ============================ */

.testimonials-section {
    background: #fff;
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2000px;
    height: 100%;
    /* background: url('/images/sielerfence-truck-bg.jpg') no-repeat left calc(100% + 15px); */
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.testimonials-section > .container {
    position: relative;
    z-index: 1;
}
.testimonials-section .mobile-image {
    display: none;
}
@media (max-width: 1400px) {
    .testimonials-section {
        padding-bottom: 0;
    }
    .testimonials-section .mobile-image {
        display: block;
        /* width: 100%; */
        max-width: 550px;
        margin: 0;
        padding: 0;
    }
    .testimonials-section .mobile-image img {
        display: block;
        width: 100%;
        height: auto;
    }
}
.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: 8px;
    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: #c1272d;
    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: #c1272d;
    border: none;
    border-radius: 8px;
    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: #c1272d;
}

/* 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: 1400px) {
    .testimonials-section::before {
        display: none;
    }
}
@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;
    }
}

/* ============================
   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: 8px;
    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: 8px 8px 0 0;
}
.process-step .step-number {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #c1272d;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(193, 39, 45, 0.3);
    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: #1a1a1a;
}
.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;
    }
}

/* ============================
   FENCE LIST SECTION
   ============================ */
.fence-list {
    background: #fff;
    padding: 70px 0;
    position: relative;
    overflow: visible;
}
.fence-list::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: #0a0a0a;
    z-index: 0;
    border-radius: 8px 0 0 8px;
}
.fence-list .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 30px;
}
.fence-list .fence-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* Fence grid - left side */
.fence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    flex: 0 0 55%;
    max-width: 55%;
}

/* Fence card */
.fence-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.fence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #c1272d;
}
.fence-card a {
    display: block;
    text-decoration: none;
}
.fence-card .card-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}
.fence-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center top; */
    transition: transform 0.4s ease;
}
.fence-card:hover .card-image img {
    transform: scale(1.08);
}
.fence-card .card-content {
    padding: 25px 20px 50px;
    position: relative;
}
.fence-card .card-content h3 {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}
.fence-card:hover .card-content h3 {
    color: #c1272d;
}
.fence-card .card-content p {
    color: #666;
    margin: 0;
    padding-right: 45px;
    line-height: 1.5;
    text-align: left;
}
.fence-grid .fence-card .card-content p {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 45px !important;
    text-align: left !important;
}
.fence-card .card-arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    background: #c1272d;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.fence-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}
.fence-card .card-arrow i {
    color: #fff;
    font-size: 12px;
}

/* Right side content - sticky */
.fence-list .section-content {
    flex: 1;
    padding-left: 20px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}
.fence-list .section-content h2 {
    color: #fff;
    margin-bottom: 15px;
}
.fence-list .section-content h2 .over {
    color: #fff;
}
.fence-list .section-content p {
    color: #fff;
    margin-bottom: 25px;
}
.fence-list .section-content .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.fence-list .section-content .feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.fence-list .section-content .feature-list li i {
    color: #c1272d;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1199px) {
    .fence-grid {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .fence-list .section-content {
        top: 100px;
    }
}
@media (max-width: 991px) {
    .fence-list::before {
        display: none;
    }
    .fence-list {
        background: #f8f8f8;
    }
    .fence-list .fence-layout {
        flex-direction: column;
        gap: 40px;
    }
    .fence-grid {
        flex: 0 0 100%;
        max-width: 100%;
        order: 2;
    }
    .fence-list .section-content {
        text-align: center;
        padding: 0;
        order: 1;
        position: static;
        align-self: stretch;
        width: 100%;
    }
    .fence-list .section-content h2 {
        color: #1a1a1a;
    }
    .fence-list .section-content h2 .over {
        color: #c1272d;
    }
    .fence-list .section-content p {
        color: #222;
    }
    .fence-list .section-content .feature-list {
        display: inline-grid;
        text-align: left;
    }
    .fence-list .section-content .feature-list li {
        color: #1a1a1a;
    }
    .fence-list .section-content .btn {
        display: block;
        margin: 20px auto 0;
    }
}
@media (max-width: 600px) {
    .fence-list {
        padding: 50px 0;
    }
    .fence-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .fence-card .card-image {
        height: 200px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .trust-items-desktop {
        gap: 20px;
    }
    .trust-item {
        min-width: 200px;
        padding: 18px 20px;
    }
}
@media (max-width: 767px) {
    .trust-items-desktop {
        display: none;
    }
    .trust-carousel-mobile {
        display: block;
    }
    .trust-bar-section {
        padding: 20px 0 15px;
        max-height: none;
    }    
}

/* 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:#c1272d; }  

/* 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: #c1272d; /* 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 */


 .intro-img, .br7 {
    border-radius: 7px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border: 4px solid #1a1a1a;
 }



/* Center only this gallery row */
.gallery-row-center {
    text-align: center;
    font-size: 0;
}

/* Restore normal text inside columns */
.gallery-row-center > [class*="col-"] {
    float: none !important;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    font-size: 14px;
}

/* Make every gallery image box the same size */
/* .gallery-row-center .clipped-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
} */

/* @media (max-width: 767px) {
    .gallery-row-center .clipped-image {
        height: 140px;
    }
} */

@media (max-width: 767px) {
    footer hr {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .footer-container-border {
        padding-bottom: 25px;
    }
}
