/* Custom Styles for Adept Techno Mech */

/* Social Media Floating Button Styles */
.social-float-container {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 1000;
}

/* Global Image Reset - Prevents stretching but allows natural scaling for non-container images */
img {
    max-width: 100%;
}

/* Specific containers that MUST use the cover/no-gap behavior requested earlier */
.pbmit-featured-wrapper img,
.pbmit-portfolio-style-1 img,
.pbmit-category-box img,
.pbmit-testimonial-style-1 img,
.about-us-img-one img,
.pbmit-slider-area img,
.rev-slidebg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Override for category and product listing cards — full image, no crop */
.pbmit-team-style-1 .pbmit-featured-wrapper img,
.pbmit-portfolio-style-1 .pbmit-featured-wrapper img {
    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 767px) {
    .pbmit-featured-wrapper img,
    .pbmit-portfolio-style-1 img,
    .pbmit-category-box img,
    .pbmit-testimonial-style-1 img,
    .about-us-img-one img,
    .pbmit-slider-area img,
    .rev-slidebg {
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    /* Keep category/product cards consistent on mobile */
    .pbmit-team-style-1 .pbmit-featured-wrapper img,
    .pbmit-portfolio-style-1 .pbmit-featured-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* Background images global style */
.bg-cover,
[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Specific logo adjustments for footer only to avoid breaking header */
.site-footer .pbmit-main-logo,
.site-footer .pbmit-sticky-logo,
.site-footer .site-branding img,
.site-footer .pbmit-logo-area img,
.site-footer .logo img {
    width: auto !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
}

.social-main-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.social-main-btn.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-icons {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.social-icons.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: scale(0);
}

.social-icons.show .social-icon {
    transform: scale(1);
}

.social-icons.show .social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.social-icons.show .social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.social-icons.show .social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

.social-icons.show .social-icon:nth-child(4) {
    transition-delay: 0.4s;
}

.social-icons.show .social-icon:nth-child(5) {
    transition-delay: 0.5s;
}

.linkedin-icon {
    background: #0077b5;
}

.linkedin-icon:hover {
    background: #005885;
    transform: scale(1.15);
}

.whatsapp-icon {
    background: #25d366;
}

.whatsapp-icon:hover {
    background: #128c7e;
    transform: scale(1.15);
}

.facebook-icon {
    background: #1877f2;
}

.facebook-icon:hover {
    background: #0c5fcc;
    transform: scale(1.15);
}

.twitter-icon {
    background: #1da1f2;
}

.twitter-icon:hover {
    background: #1a91da;
    transform: scale(1.15);
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-icon:hover {
    transform: scale(1.15);
}

.translate-icon {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%, #4285f4 100%);
}

.translate-icon:hover {
    transform: scale(1.15);
}

/* Separate Translate Button Styles */
.translate-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    color: white;
    z-index: 999;
    border: none;
}

.translate-btn:hover {
    background: #3367d6;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.4);
    transform: scale(1.05);
}

/* Translate Box Styles */
#translate-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    min-width: 200px;
}

#translate-box .goog-te-gadget {
    font-family: inherit !important;
}

#translate-box .goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
}

#translate-box .goog-te-gadget-simple .goog-te-menu-value span {
    color: #333 !important;
}

#translate-box .goog-te-gadget-simple .goog-te-menu-value:hover {
    text-decoration: none !important;
}

/* Mobile Menu Contact Button */
.pbmit-header-button-mobile {
    padding: 10px 25px 30px;
    text-align: left;
}

.pbmit-header-button-mobile a {
    display: inline-block;
    background-color: var(--pbmit-global-color) !important;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(239, 127, 26, 0.2);
}

.pbmit-header-button-mobile a:hover {
    background-color: var(--pbmit-blackish-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(17, 16, 16, 0.2);
    transform: translateY(-2px);
}

.pbmit-header-button-mobile a i {
    margin-left: 8px;
    font-size: 14px;
}

@media (min-width: 1200px) {
    .pbmit-header-button-mobile {
        display: none;
    }
}

/* Bordered Box Section */
.bordered-box-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.bordered-box-section .pbmit-title {
    font-size: 42px;
    font-weight: 800;
    color: #111010;
    margin-bottom: 50px;
    line-height: 1.2;
}

.premium-border-box {
    padding: 40px;
    border: 2px solid #eaeaea;
    border-radius: 15px;
    background: #ffffff;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    z-index: 1;
}

/* Corner Border Accent */
.premium-border-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 2px;
    background-color: #ef7f1a;
    transition: width 0.4s ease;
    z-index: 2;
    border-top-left-radius: 15px;
}

.premium-border-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 2px;
    height: 0;
    background-color: #ef7f1a;
    transition: height 0.4s ease;
    z-index: 2;
    border-top-left-radius: 15px;
}

.premium-border-box:hover::before {
    width: 120px;
}

.premium-border-box:hover::after {
    height: 120px;
}

.premium-border-box:hover {
    border-color: #ef7f1a;
    box-shadow: 0 20px 40px rgba(239, 127, 26, 0.08);
    transform: translateY(-8px);
}

.box-image-wrapper {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.box-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* --- Specific Container Rules --- */

/* Hero Slider: Desktop only - 850px (do NOT touch mobile) */
@media (min-width: 768px) {
    #rev_slider_1_1_wrapper,
    .pbmit-slider-area,
    .rev-slidebg,
    rs-module,
    rs-module-wrap {
        height: 850px !important;
    }
}

/* Product/Category cards: fixed height container, full image visible (no crop) */
.pbmit-portfolio-style-1 .pbmit-featured-wrapper,
.pbmit-team-style-1 .pbmit-featured-wrapper,
.pbmit-portfolio-img-wrapper {
    width: 100%;
    height: 260px !important;
    overflow: hidden;
    border-radius: 0;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full image fit — no crop — for category and product cards */
.pbmit-team-style-1 .pbmit-featured-wrapper img,
.pbmit-portfolio-style-1 .pbmit-featured-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: transparent !important;
}

/* Remove any inherited background from parent containers */
.pbmit-team-style-1 .pbminfotech-team-image-box,
.pbmit-team-style-1 .pbminfotech-post-item {
    background-color: transparent !important;
}

/* Remove the white box shadow pseudo-element that creates the card background box */
.pbmit-team-style-1 .pbminfotech-post-item:after {
    display: none !important;
}

/* ===== HOME / CATEGORY / PRODUCT — Remove white background from all card types ===== */

/* Home page portfolio cards (pbmit-portfolio-style-1) */
.pbmit-portfolio-style-1 .pbminfotech-box-content {
    background-color: transparent !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding: 15px 15px 10px 15px !important;
    position: relative !important;
    z-index: 2 !important;
}

.pbmit-portfolio-style-1:hover .pbminfotech-box-content {
    background-color: transparent !important;
}

/* Keep title text visible on hover */
.pbmit-portfolio-style-1:hover .pbminfotech-box-content .pbmit-portfolio-title a {
    color: var(--pbmit-blackish-color) !important;
}

.pbmit-portfolio-style-1:hover .pbminfotech-titlebox:before {
    background-color: var(--pbmit-global-color) !important;
}

/* Category/Product team cards hover text fix */
.pbmit-team-style-1:hover .pbminfotech-box-content .pbmit-team-title a {
    color: var(--pbmit-global-color) !important;
}

/* Fix z-index so title text is always visible above image wrapper */
.pbmit-portfolio-style-1 .pbminfotech-post-content {
    position: relative !important;
    z-index: 1 !important;
}

.pbmit-portfolio-style-1 .pbmit-portfolio-img-wrapper {
    position: relative !important;
    z-index: 1 !important;
}

/* Category / Product page team cards (pbmit-team-style-1) */
.pbmit-team-style-1 .pbminfotech-box-content {
    background-color: transparent !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Fix z-index so title text is always visible above image */
.pbmit-team-style-1 .pbminfotech-post-item {
    position: relative !important;
    z-index: 1 !important;
}

.pbmit-team-style-1 .pbminfotech-team-image-box {
    position: relative !important;
    z-index: 1 !important;
}

/* Remove white card wrapper background on all three pages */
.pbmit-portfolio-style-1 .pbminfotech-post-content,
.pbmit-team-style-1 .pbminfotech-post-item {
    background-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .pbmit-portfolio-style-1 .pbmit-featured-wrapper,
    .pbmit-team-style-1 .pbmit-featured-wrapper,
    .pbmit-portfolio-img-wrapper {
        height: 200px !important;
    }
}

/* Certificates: 3:4 aspect ratio (portrait) */
.portfolio-style-1 .pbmit-featured-wrapper {
    aspect-ratio: 3 / 4;
    height: auto !important;
}

/* Testimonial photos: 70x70px circle */
.pbmit-testimonial-style-1 .pbminfotech-box-author img,
.pbmit-author-img img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Product detail: full width, max 500px height */
.product-details .pbmit-featured-wrapper,
.blog-details .pbmit-featured-wrapper {
    width: 100%;
    height: auto;
    max-height: 500px;
    aspect-ratio: auto;
}

/* About section: 4:5 and 1:1 ratios */
.about-us-img-one {
    aspect-ratio: 4 / 5;
    height: auto !important;
}

.about-us-img-one.square-ratio {
    aspect-ratio: 1 / 1;
}

/* Mobile fix for About section image */
@media (max-width: 767px) {
    .about-us-img-one {
        aspect-ratio: auto !important;
    }
    .about-us-img-one img {
        object-fit: contain !important;
        height: auto !important;
        width: 100% !important;
    }
}


@media (max-width: 767px) {
    /* Hide navigation arrows on mobile */
    .tparrows {
        display: none !important;
    }

    /* Let Revolution Slider's native JS height (205px) take over on mobile */
    #rev_slider_1_1_wrapper,
    .pbmit-slider-area,
    .rev-slidebg,
    rs-module,
    rs-module-wrap {
        visibility: visible !important;
        min-height: 300px !important;
        height: auto !important;
    }
}

/* Client Logos - Should use contain to avoid cropping */
.pbmit-client-wrapper .pbmit-featured-wrapper,
.pbmit-client-wrapper .pbmit-client-hover-img {
    height: 100px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pbmit-client-wrapper img {
    width: auto !important;
    max-width: 90% !important;
    height: auto !important;
    max-height: 80% !important;
    object-fit: contain !important;
}

/* General utility for any image that needs to fill its container */
.img-fit-cover {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.img-fit-contain {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.premium-border-box:hover .box-image-wrapper img {
    transform: scale(1.08);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.box-icon {
    width: 60px;
    height: 60px;
    border: 2px dashed #ef7f1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 127, 26, 0.05);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.premium-border-box:hover .box-icon {
    background: #ef7f1a;
    border-style: solid;
}

.box-icon i {
    font-size: 24px;
    color: #ef7f1a;
    transition: all 0.4s ease;
}

.premium-border-box:hover .box-icon i {
    color: #ffffff;
    transform: rotateY(360deg);
}

.box-header h3 {
    font-family: var(--pbmit-heading-typography-font-family), 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #111010;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-border-box p {
    font-family: var(--pbmit-body-typography-font-family), 'Yantramanav', sans-serif;
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.box-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.box-list li {
    font-size: 15px;
    color: #222222;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.box-list li i {
    color: #ef7f1a;
    font-size: 16px;
}

.pbmit-featured-wrapper a.pbmit-lightbox img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pbmit-featured-wrapper a.pbmit-lightbox:hover img {
    transform: scale(1.05);
}

/* Magnific Popup Size Overrides */
.mfp-content {
    max-width: 90% !important;
    width: auto !important;
}

img.mfp-img {
    padding: 10px 0 !important;
    max-height: 92vh !important;
    width: auto;
    max-width: 100%;
}

.mfp-figure::after {
    top: 10px !important;
    bottom: 10px !important;
}

.mfp-bottom-bar {
    margin-top: -30px !important;
    bottom: 15px !important;
    top: auto !important;
}


/* --- Styles from certificate.php --- */
.mfp-wrap {
    z-index: 999999 !important;
}

.mfp-bg {
    z-index: 999998 !important;
}

.mfp-content {
    max-width: 95% !important;
    width: auto !important;
}

img.mfp-img {
    padding: 5px 0 !important;
    max-height: 95vh !important;
    width: auto !important;
    max-width: 100% !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.mfp-figure::after {
    background: transparent !important;
    box-shadow: none !important;
}

.pbmit-featured-wrapper a.pbmit-lightbox {
    display: block;
    overflow: hidden;
}

.pbmit-featured-wrapper a.pbmit-lightbox img {
    cursor: pointer;
    transition: all 0.5s ease !important;
}

.pbmit-featured-wrapper a.pbmit-lightbox:hover img {
    transform: scale(1.1) !important;
}

/* Fix for missing Revolution Slider icons */
.tparrows:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #fff !important;
    display: block !important;
    line-height: 50px !important;
    text-align: center !important;
}

.tp-leftarrow:before {
    content: '\f060' !important;
}

.tp-rightarrow:before {
    content: '\f061' !important;
}

/* Styling for the arrow containers */
.tparrows {
    background: rgba(239, 127, 26, 0.7) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.tparrows:hover {
    background: #ef7f1a !important;
}


/* --- Additional Responsive Polishing --- */
@media (max-width: 991px) {

    .section-lg,
    .section-md,
    .section-xl,
    .section-xxl {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }

    .pbmit-heading-subheading .pbmit-title {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    .pbmit-subtitle {
        font-size: 14px !important;
        letter-spacing: 2px !important;
    }

    .about-us-img-one {
        margin-left: 0 !important;
        padding-left: 15px !important;
        padding-top: 15px !important;
    }

    .about-us-img-one:before {
        width: 100px !important;
        height: 180px !important;
    }
}

@media (max-width: 767px) {
    .pbmit-heading-subheading .pbmit-title {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    .pbmit-ihbox-style-11 .pbmit-ihbox-box {
        flex-direction: column;
        text-align: center;
    }

    .pbmit-footer-widget-col-1,
    .pbmit-footer-widget-col-2,
    .pbmit-footer-widget-col-3,
    .pbmit-footer-widget-col-4 {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .pbmit-footer-social-links {
        justify-content: center !important;
        display: flex;
    }
}

/* Specific fix for footer logo and widget box */
.site-footer .widget.widget-last {
    background-color: #fff0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    min-height: 140px !important;
}

.site-footer .widget.widget-last img {
    width: auto !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* Ensure orange shapes don't overlap awkwardly on small screens */
@media (max-width: 767px) {
    .site-footer .widget.widget-last {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        border-radius: 0 !important;
    }

    .site-footer .pbmit-footer-text-inner:before {
        width: 100% !important;
        border-radius: 0 !important;
    }
}
/* Fix for overlapping text in blog/product/quality details */
.blog-details .pbmit-featured-img-wrapper,
.product-details .pbmit-featured-img-wrapper,
.pbmit-team-single .pbmit-featured-img-wrapper,
.pbmit-team-details .pbmit-featured-img-wrapper {
    position: relative !important;
    margin-bottom: 40px !important;
    display: block !important;
    clear: both !important;
}

.blog-details .pbmit-featured-wrapper,
.product-details .pbmit-featured-wrapper,
.pbmit-team-single .pbmit-featured-wrapper,
.pbmit-team-details .pbmit-featured-wrapper {
    height: 500px !important; /* Force height to prevent collapse */
    overflow: hidden !important;
    border-radius: 15px !important;
}

@media (max-width: 767px) {
    .blog-details .pbmit-featured-wrapper,
    .product-details .pbmit-featured-wrapper,
    .pbmit-team-single .pbmit-featured-wrapper,
    .pbmit-team-details .pbmit-featured-wrapper {
        height: 300px !important;
    }
}

/* --- Floating Buttons Responsive Optimization --- */
@media (max-width: 1400px) {
    /* Position all buttons on the right-center */
    .social-float-container {
        bottom: auto !important;
        top: 45% !important;
        right: 10px !important;
        transform: translateY(-50%) !important;
    }

    .translate-btn {
        bottom: auto !important;
        top: 52% !important;
        right: 10px !important;
        transform: translateY(-50%) !important;
    }

    .scroll-to-top {
        bottom: auto !important;
        top: 59% !important;
        right: 10px !important;
        transform: translateY(-50%) !important;
    }

    /* Smaller sizes */
    .social-main-btn, .translate-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }

    .social-main-btn i, .translate-btn svg {
        width: 18px !important;
        height: 18px !important;
        font-size: 16px !important;
    }

    .scroll-to-top {
        width: 35px !important;
        height: 35px !important;
        line-height: 30px !important;
        font-size: 14px !important;
    }

    /* Social icons stack correction */
    .social-icons {
        bottom: 45px !important;
    }
    .social-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 180px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* WhatsApp Button Responsive Optimization */
@media (max-width: 1400px) {
    .whatsapp-float {
        bottom: auto !important;
        top: 38% !important;
        right: 10px !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
}

/* --- Final Floating Buttons Standardization (Corrected) --- */
.whatsapp-float, .social-main-btn, .translate-btn, body .scroll-to-top {
    width: 50px !important; height: 50px !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; margin: 0 !important; border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.whatsapp-float i, .social-main-btn i, .translate-btn svg, body .scroll-to-top i {
    font-size: 20px !important; line-height: 1 !important; margin: 0 !important;
}

@media (max-width: 1400px) {
    .whatsapp-float, .social-main-btn, .translate-btn, body .scroll-to-top, .social-float-container {
        width: 42px !important; height: 42px !important; right: 10px !important; bottom: auto !important;
    }
    .whatsapp-float { top: 35% !important; transform: translateY(-50%) !important; }
    .social-float-container { top: 43% !important; transform: translateY(-50%) !important; }
    .translate-btn { top: 51% !important; transform: translateY(-50%) !important; }
    body .scroll-to-top { top: 59% !important; transform: translateY(-50%) !important; opacity: 1 !important; visibility: visible !important; }
    .whatsapp-float i, .social-main-btn i, .translate-btn svg, body .scroll-to-top i { font-size: 18px !important; }
}

/* --- Reordering Floating Buttons: WhatsApp below Share --- */
/* Desktop */
.social-float-container { bottom: 190px !important; }
.whatsapp-float { bottom: 130px !important; }

/* Responsive */
@media (max-width: 1400px) {
    .social-float-container { top: 35% !important; }
    .whatsapp-float { top: 43% !important; }
}

/* --- Increasing gap between floating buttons --- */
/* Desktop */
.social-float-container { bottom: 220px !important; }
.whatsapp-float { bottom: 150px !important; }
.translate-btn { bottom: 80px !important; }

/* Responsive */
@media (max-width: 1400px) {
    .social-float-container { top: 30% !important; }
    .whatsapp-float { top: 40% !important; }
    .translate-btn { top: 50% !important; }
    body .scroll-to-top { top: 60% !important; }
}

/* --- Moving floating stack down for better reach --- */
@media (max-width: 1400px) {
    .social-float-container { top: 45% !important; }
    .whatsapp-float { top: 53% !important; }
    .translate-btn { top: 61% !important; }
    body .scroll-to-top { top: 69% !important; }

    /* Fix social sub-icons to appear correctly relative to the new position */
    .social-icons {
        bottom: auto !important;
        top: 45px !important;
        flex-direction: column !important;
    }
}

/* --- Reverting Social Icons to expand UPWARDS as requested --- */
@media (max-width: 1400px) {
    .social-icons {
        bottom: 45px !important;
        top: auto !important;
        flex-direction: column !important;
    }
}

/* --- Fix for image cropping on Detail Pages --- */
.blog-details .pbmit-featured-wrapper,
.product-details .pbmit-featured-wrapper,
.pbmit-team-single .pbmit-featured-wrapper,
.pbmit-team-details .pbmit-featured-wrapper {
    height: auto !important;
    max-height: none !important;
    background-color: transparent !important;
}

.blog-details .pbmit-featured-wrapper img,
.product-details .pbmit-featured-wrapper img,
.pbmit-team-single .pbmit-featured-wrapper img,
.pbmit-team-details .pbmit-featured-wrapper img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* Disable orange hover overlay on products */
.pbmit-portfolio-style-1 .pbmit-portfolio-img-wrapper:after {
    background: transparent !important;
    background-color: transparent !important;
}
.pbmit-portfolio-style-1:hover .pbmit-portfolio-img-wrapper:after {
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent !important;
}

/* Sticky Header Menu Fix for Desktop View */
@media (min-width: 1200px) {
    /* Prevent wrapping by reducing padding and font size on sticky header menu items */
    .header-style-1 .site-header-menu.sticky-header .site-navigations ul.navigation > li > a {
        padding: 0 11px !important;
        font-size: 17px !important;
    }
    
    /* Reduce right-side brochure button padding and min-width on sticky header to save horizontal space */
    .header-style-1 .site-header-menu.sticky-header .pbmit-header-button a {
        padding: 0 25px !important;
        min-width: 160px !important;
        font-size: 16px !important;
    }
}

