/********** Template CSS **********/
:root {
    --primary: #e53842;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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 {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

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

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

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

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

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

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 90px;
}
.navlogo{
        width: 115px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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


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

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/about-banner.jpg) center center no-repeat;
    background-size: cover;
    height: 475px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contactus{
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/contantpage.png) center center no-repeat;
    background-size: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


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

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

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

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


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

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

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

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


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
        padding: 10px;
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    /* padding: 0 15px; */
    padding: 0 15px 0 11px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
    /* font-size: 14px; */
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: #ddd01f;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


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

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

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

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


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

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

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

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

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

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

/* Custom css */
.minheight{
    min-height: auto;
}
.rootfootertext{
    font-size: 26px;
    text-align: center;
}
.footer .navlogo{
    width: 200px;
}
.navbar{
    padding: 5px 0 !important;
}
.btn-primary:hover {
    color: #e53842;
    background-color: #fff;
    border-color: #e53842;
}
.text-secondary {
    color: #e53842 !important;
}
 section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
         .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .feature-box {
            background: var(--white);
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .feature-box i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-box h4 {
            margin-bottom: 15px;
            color: var(--primary);
        }
.price-item p, .price-item span{
    font-size: 14px;
    line-height: 20px;
}
.solutionitem{
    font-size: 14px;
    margin-bottom: 5px;
}
 .price-item {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            transition: transform 0.3s, box-shadow 0.3s;
            background: #ffffff;
            /* min-height: 700px; */
        }
        .price-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: none;
        }
        .price-item:hover {
            /* transform: translateY(-10px);
            box-shadow: 0 15px 50px rgba(0,0,0,0.12); */
        }
        .price-item-last{
            min-height: 275px;
        }
        .price-header {
            position: relative;
        }
        .icon-wrapper {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .price-item:hover .icon-wrapper {
            transform: rotate(15deg) scale(1.1);
        }
        .features-list li {
            padding: 8px 0;
            border-bottom: 1px dashed #eee;
        }
        #why-choose h4{
            font-size: 20px;
        }
         .section-title {
            margin-bottom: 30px;
            text-align: center;
            color: #0d6efd;
        }

        .product-category {
            background: white;
            border-radius: 10px;
            padding: 20px;
            /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
            box-shadow: none;
            margin-bottom: 30px;
        }

        .product-category h5 {
            color: #e53842;
            margin-bottom: 15px;
        }

        .product-category ul {
            list-style-type: none;
            padding-left: 0;
        }

        .product-category ul li {
            margin-bottom: 10px;
            font-size: 14px;
    line-height: 20px;
        }

        .keywords {
            font-style: italic;
            color: #6c757d;
        }

        .highlight {
            background-color: #e9ecef;
            padding: 10px;
            border-radius: 5px;
        }
        .text-success {
    color: #e53842 !important;
}
.form-control:focus {
    color: #555;
    background-color: #fff;
    border-color: #1f4e6d;
    outline: 0;
    box-shadow: none;
}
.product-category h6{
    margin-top: 50px;
}
.chemicals{
    min-height: 500px;
}
.product-category.metal-scrap .price-item{
    /* min-height: 630px; */
}
.minheight1{
    min-height: 580px;
}
/* Style the tab */
/* Style tab links */
.tablink {
    background-color: transparent;
    color: #000;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 33.3%;
    border: 1px solid #e53842;
}

.tablink:hover {
  background-color: #e53842;
  color: #fff;
}
#defaultOpen{
    /* color: #fff; */
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  /* color: white; */
  display: none;
  padding: 100px 20px 0 20px;
  height: 100%;
}

/* #Home {background-color: red;}
#News {background-color: green;}
#Contact {background-color: blue;} */
.btn-secondary{
    background: #ded123;
    border-color: #ded123;
}
.btn-secondary:hover {
    color: #ded123;
    background-color: #fff;
    border-color: #ded123;
}

 /* Improved slide in/out animation */
        /* .toggle-content {
            max-height: 0;
            overflow: hidden;
            transition: 
                max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                padding 0.5s ease;
            padding: 0 16px;
        }

        .toggle-content.show {
            max-height: var(--dynamic-height, 1000px);
            transition: 
                max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                padding 0.5s ease;
            padding: 0 16px 16px;
        } */

        .btn-toggle {
                display: inline-flex;
            /* align-items: center; */
            /* padding: 8px 20px; */
            /* color: #3b82f6; */
            /* font-weight: 600; */
            text-decoration: none;
            /* border: 2px solid #3b82f6; */
            /* border-radius: 6px; */
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-toggle:hover {
            /* background-color: #3b82f6;
            color: white; */
        }

        .btn-toggle i {
            /* margin: 0 8px 0 0; */
            transition: transform 0.3s ease;
        }

        .btn-toggle.expanded i {
            transform: rotate(90deg);
        }

        .check-item {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #4b5563;
        }

        .check-item i {
            color: #10b981;
            margin-right: 12px;
        }
        /* .hidden{
            display: none;
        } */
         .hidden-content {
    color: #444;
    line-height: 1.6;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    max-height: 0;
    opacity: 0;    
    font-size: 14px;
  }

  .hidden-content.show {
    max-height: 1000px; /* large enough for content */
    opacity: 1;
  }
    .toggle-button.active .fa-arrow-right {
    transform: rotate(90deg);
  }
  .service-item p{
    font-size: 14px;
  }
  .para{
    min-height: 110px;
  }
  .product-page .para{
    min-height: 62px;
  }

  @media screen and (max-width: 768px) {
    .homepage .homebanner h1{
    font-size: 14px;
    }
    .homepage .homebanner h5{
    font-size: 14px;
    }
    .homepage .pb-5{
        padding-bottom: 0 !important;
    }
    .page-header {
        margin-bottom: 0px !important;
    }
    .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.product-saffron h1{
    margin-top: 20px;
    margin-bottom: 20px;
}
.page-header {
    height: 200px;
}
  }
  .product-page .wood .para {
    min-height: 121px;
}
.paternship-list{
    min-height: 96px;
}