/********** Template CSS **********/
:root {
    --primary: #eb5d1e;
    --secondary: #7a6960;
    --light: #F6F7F8;
    --dark: #7a6960;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    border-radius: 45px;

}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
    border-radius: 45px;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 32px;
    height: 32px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #000000;
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 750px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(3, 103, 166, 0.25), rgba(3, 103, 166, 0.25)), url(../img/carousel-11.jpg) center center no-repeat;
    background-size: cover;
    /* background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-11.jpg) center center no-repeat; */
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: #FFF;
}


.page-header .breadcrumb-item.active1 {
    color: var(--light);
}


/*** Facts ***/
.facts {
    background: rgba(3, 103, 166, 0.8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text {
    background: rgba(53, 58, 84, 0.8);
}

.container.quote .quote-form {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, 0.0);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #212529;
    border-top: 2px solid 
    color-mix(in srgb, #eb5d1e, transparent 75%);
    box-shadow: 0 -5px 10px rgba(235, 93, 30, 0.2);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #212529;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #eb5d1e;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #eb5d1e;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #212529;
    border: 1px solid #FFF;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}

/* .banner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    top: -200px;
    left: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    bottom: -200px;
    right: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
} */

.banner .banner-design-1 {
    position: absolute;
    width: 30px;
    height: 500px;
    top: -165px;
    left: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

.banner .banner-design-2 {
    position: absolute;
    width: 30px;
    height: 500px;
    bottom: -165px;
    right: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}
/*** Banner End ***/

@media(min-width:768px){
    a[href^="tel:"] {
     pointer-events: none;
    }
   }


.icon {
    font-size: 40px;
    color: #FFF;
}

.icon1 {
    font-size: 20px;
    color: #FFF;
}

/* Image Carousel for Products */
.slider-wrapper1 {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
  }
  .slider-container1 {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .slider1 {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  .slides1 {
    position: relative;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    /* padding: 20px; */
  }
  .image-container1 {
    position: relative;
    flex-shrink: 0;
  }
  .slides1 img {
    width: 300px;
    height: 300px;
    object-fit: cover;
  }
  .content-container1 {
    flex: 1;
    max-width: 400px;
    padding: 20px;
  }
  .content-title1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
  }
  .content-description1 {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
  }
  .content-button1 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #eb5d1e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .content-button1:hover {
    background-color: #eb5d1e;
  }
  .overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .overlay1 a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
  }
  .image-container1:hover .overlay {
    opacity: 1;
  }
  .nav-button1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background:#7a6960;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    z-index: 1;
    font-size: 18px;
    border-radius: 50px;
  }
  .prev1 {
    left: 10px;
  }
  .next1 {
    right: 10px;
  }
  .dots-container1 {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
  }
  .dot1 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7a6960;
    cursor: pointer;
    transition: background 0.3s ease;
    /* border: 2px solid #7a6960; */
  }
  .dot1.active {
    background: #eb5d1e;
  }
  @media (max-width: 768px) {
    .slides1 {
        flex-direction: column;
        gap: 20px;
    }
    .content-container1 {
        text-align: center;
        padding: 10px;
    }
    .nav-button1 {
        padding: 8px 12px;
        font-size: 16px;
    }
    .dot1 {
        width: 10px;
        height: 10px;
    }
  }


  /* Power Solutions Box */

  .pscontainer {
    max-width: 1000px;
      margin: 2rem auto;
      padding: 0 1rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
  }

  /* .psbottom-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
  }

  .psbottom-row .pscard {
    width: calc(33.33% - 1rem);
  } */

  .pscard {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1),
                  0 10px 20px rgba(0,0,0,0.1),
                  0 6px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    width: calc(50% - 1rem);
  }

  .pscard:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0,0,0,0.15),
                  0 15px 30px rgba(0,0,0,0.15),
                  0 8px 8px rgba(0,0,0,0.1);
  }

  .pscard-content {
    flex-grow: 1;
  }

  .psicon {
    width: 60px;
    height: 60px;
    background: #eb5d1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(235, 93, 30, 0.3);
  }

  .psicon psimg {
    width: 30px;
    height: 30px;
    filter: invert(1);
  }

  /* h5 {
    color: #7a6960;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  } */

  .psicon .h5 .a {
    color: #7a6960;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  ul {
    list-style: none;
    margin-bottom: 1rem;
  }

  li {
    color: #000;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
  }

  li::before {
    content: '►';
    color: #F15A22;
    margin-right: 0.5rem;
    font-size: 0.8rem;
  }

  .pscontact {
    padding-top: 1.5rem;
      color: #000;
      font-size: 0.9rem;
      border-top: 1px solid #eee;
      margin-top: auto;
  }
  @media (max-width: 1024px) {
    .pscard {
      width: calc(50% - 1rem);
    }
    
    .pscard:last-child {
      width: calc(50% - 1rem);
      margin-left: auto;
      margin-right: auto;
    }
  }

  @media (max-width: 768px) {
    .pscard {
      width: 100%;
    }
    
    .pscard:last-child {
      width: 100%;
    }
  }

  /* @media (max-width: 1024px) {
    .pscontainer {
      grid-template-columns: repeat(2, 1fr);
    }
    .psbottom-row .pscard {
      width: calc(50% - 1rem);
    }
  }

  @media (max-width: 768px) {
    .pscontainer {
      grid-template-columns: 1fr;
    }
    .psbottom-row {
      flex-direction: column;
      align-items: center;
    }
    .psbottom-row .pscard {
      width: 100%;
    }
  } */

  .clr {
    color: #000;
  }

  .clr1 {
    color: #eb5d1e;
  }

  .clr2 {
    color: #FFF;
  }


  .clr3 {
    color: #FFF;
  }


  .info-wrap {
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-top: 3px solid #eb5d1e;
    border-bottom: 3px solid #eb5d1e;
    height: 100%;
}

.pdlink {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: 18px;
    line-height: 1.2;
    color: #7a6960;
}

.pdlinkactive {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    color: #eb5d1e;
}


/* Accordion */

.accordion {
    max-width: 800px;
    margin: 20px auto;
}

.accordion-title {
    font-size: 32px;
    color: #7a6960;
    margin-bottom: 30px;
}

.accordion-item input[type="radio"] {
    display: none;
}

.accordion-item {
    margin-bottom: 15px;
}

.accordion-label {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #7a6960;
    padding: 15px 0;
    cursor: pointer;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    background: #7a6960;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG icon styles */
.accordion-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Change to orange when radio is checked */
input[type="radio"]:checked + .accordion-label .accordion-icon {
    transform: rotate(180deg);
    background: #eb5d1e;
}

.accordion-content {
    grid-template-rows: 0fr;
    display: grid;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content > div {
    overflow: hidden;
}

/* Show content when radio is checked */
input[type="radio"]:checked + .accordion-label + .accordion-content {
    grid-template-rows: 1fr;
}

.electrical-details {
    margin: 20px 45px;
}

.electrical-details p {
    margin: 10px 0;
    font-size: 18px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Animate content when section is open */
input[type="radio"]:checked + .accordion-label + .accordion-content .electrical-details p {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animation of paragraphs */
input[type="radio"]:checked + .accordion-label + .accordion-content .electrical-details p:nth-child(1) {
    transition-delay: 0.1s;
}
input[type="radio"]:checked + .accordion-label + .accordion-content .electrical-details p:nth-child(2) {
    transition-delay: 0.2s;
}
input[type="radio"]:checked + .accordion-label + .accordion-content .electrical-details p:nth-child(3) {
    transition-delay: 0.3s;
}

.rounded1 {
    border-radius: 10px;
}
.rounded2 {
    border-radius: 25px;
}


/* */

.infraslider {
    width: 80%;
            max-width: 800px;
            overflow: hidden;
            position: relative;
            border: 2px solid #ddd;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.infraslides {
    display: flex;
    animation: slideAnimation 20s linear infinite;
}
.infraslide {
    min-width: 100%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
}
.infraslide img {
    max-width: 90%;
            max-height: 90%;
            height: auto;
}
@keyframes slideAnimation {
    0%, 20% {
        transform: translateX(0);
    }
    25%, 45% {
        transform: translateX(-100%);
    }
    50%, 70% {
        transform: translateX(-200%);
    }
    75%, 95% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .infraslider {
        width: 100%;
        border: none;
        box-shadow: none;
    }
    .infraslide img {
        max-width: 80%;
    }
}
@media (max-width: 480px) {
    .infraslide img {
        max-width: 95%;
    }
}