/* Ensure header has a high z-index stacking context to cleanly cover slider dots as they scroll under */
.header-area,
.header-transparent,
.main-header {
    z-index: 999 !important;
}

/* Custom slider navigation styling */
.slider-active {
    position: relative;
    min-height: 500px;
}
@media only screen and (min-width: 992px) {
    .slider-active {
        min-height: calc(100vh - 145px) !important;
    }
}
.slider-active .slick-prev,
.slider-active .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 18px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-active .slick-prev {
    left: 50px;
}
.slider-active .slick-next {
    right: 50px;
}
@media (max-width: 991px) {
    .slider-active .slick-prev,
    .slider-active .slick-next {
        display: none !important; /* Hide arrows on mobile and tablet */
    }
}
.slider-active .slick-prev:hover,
.slider-active .slick-next:hover {
    background: #ff5f13;
    border-color: #ff5f13;
    box-shadow: 0 8px 24px rgba(255, 95, 19, 0.4);
    transform: translateY(-50%) scale(1.05);
}
.slider-active .slick-prev:active,
.slider-active .slick-next:active {
    transform: translateY(-50%) scale(0.95);
}
.slider-active .slick-dots {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex !important;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.slider-active .slick-dots li {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.slider-active .slick-dots li button {
    font-size: 0;
    line-height: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
}
.slider-active .slick-dots li.slick-active button {
    background: #ff5f13;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255, 95, 19, 0.9);
}
@media only screen and (min-width: 992px) {
    .slider-height {
        min-height: calc(100vh - 145px) !important;
        height: calc(100vh - 145px);
    }
}

/* Fix Iconify icons color in categories on hover */
.single-cat .cat-icon iconify-icon {
    color: #ff5f13;
    transition: color 0.4s;
    margin-bottom: 30px;
    display: inline-block;
}
.single-cat:hover .cat-icon iconify-icon {
    color: #fff !important;
}

/* Fix product category caption cutoff */
.team-area .single-team .team-caption {
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.8) !important;
}
.team-area .single-team:hover .team-caption {
    background: #ff5f13 !important;
}

/* Certifications Section Styling */
.certificate-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eaeaea;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #ff5f13;
}
.certificate-img-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    background: #fdfdfd;
    border-bottom: 1px solid #eaeaea;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.certificate-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.certificate-card:hover .certificate-img-wrapper img {
    transform: scale(1.04);
}
.certificate-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 95, 19, 0.85); /* brand color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}
.certificate-card:hover .certificate-hover-overlay {
    opacity: 1;
}
.zoom-icon {
    color: #ffffff;
    font-size: 36px;
    transform: scale(0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}
.certificate-card:hover .zoom-icon {
    transform: scale(1);
}
.certificate-info {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-top: 1px solid #f5f5f5;
}
.certificate-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c234d;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}
.certificate-card:hover .certificate-info h3 {
    color: #ff5f13;
}

/* Certificate Modal Styling */
#certificateModal .modal-dialog {
    margin: 30px auto;
}
#certificateModal .close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    font-size: 16px;
    opacity: 0.8;
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: 1050;
}
#certificateModal .close-btn:hover {
    opacity: 1;
    background: #ff5f13;
    border-color: #ff5f13;
    transform: rotate(90deg);
}
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

/* Inquiry button styling on Product details page */
.inquiry-btn-custom {
    display: inline-block;
    background: #ff5f13;
    color: #fff !important;
    border: 2px solid #ff5f13;
    padding: 12px 32px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.inquiry-btn-custom:hover {
    background: transparent;
    color: #ff5f13 !important;
    box-shadow: 0 5px 15px rgba(255, 95, 19, 0.15);
    text-decoration: none;
}
/* Select2 dropdown styles matching frontend theme */
.select2-container--default .select2-selection--single {
    height: 50px !important;
    border: 1px solid #e1ebf7 !important;
    border-radius: 5px !important;
    padding-left: 32px !important;
    padding-right: 20px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
    outline: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1e1e1e !important;
    font-size: 14px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    text-indent: 0px !important;
    text-align: left !important;
    width: 100% !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
    color: #a4acc3 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 15px !important;
}
.select2-dropdown {
    border: 1px solid #e1ebf7 !important;
    border-radius: 5px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    z-index: 99999 !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e1ebf7 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    outline: none !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ff5f13 !important;
    color: white !important;
}
.select2-container--default .select2-results__option {
    padding: 10px 15px !important;
    font-size: 14px !important;
    color: #57667e !important;
}
.select-form .select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}
.about-low-area {
    padding-bottom: 80px !important;
}
.page-about .about-low-area {
    padding-top: 0px !important;
    padding-bottom: 80px !important;
}
.page-services .categories-area {
    padding-top: 0px !important;
    padding-bottom: 80px !important;
}
.page-products-index .blog_area {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
.page-products-show .section-padding {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
.page-contact .contact-section {
    padding-top: 0px !important;
    padding-bottom: 80px !important;
}
/* Align testimonial founder text left */
.testimonial-founder .founder-text {
    text-align: left !important;
}
.testimonial-founder .founder-text span {
    display: block;
    text-align: left !important;
}
.testimonial-founder .founder-text p {
    text-align: left !important;
}
/* Strip bottom margin from last paragraph in product description */
.product-desc-content p:last-child {
    margin-bottom: 0 !important;
}

/* Increase loader logo size */
.preloader .preloader-img img {
    max-width: 75px !important;
}

