/* ==============================================
   SHARDA SADAN PREMIUM THEME - GLOBAL STYLES
   ============================================== */

/* --- 1. Premium Service/Feature Box (Based on Home Page Services) --- */
/* Usage: Wrap .wt-box in .premium-service-box or apply directly if possible */

.premium-service-box .wt-box,
.wt-box.premium-style {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: auto;
    margin: 15px 5px;
    position: relative;
    top: 0;
}

.premium-service-box .wt-box:hover,
.wt-box.premium-style:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.4);
}

.premium-service-box .wt-media,
.wt-box.premium-style .wt-media {
    overflow: hidden;
    position: relative;
}

.premium-service-box .wt-media img,
.wt-box.premium-style .wt-media img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-service-box .wt-box:hover .wt-media img,
.wt-box.premium-style:hover .wt-media img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.premium-service-box .wt-media::after,
.wt-box.premium-style .wt-media::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.premium-service-box .wt-box:hover .wt-media::after,
.wt-box.premium-style:hover .wt-media::after {
    opacity: 0.3;
}

.premium-service-box .wt-info,
.wt-box.premium-style .wt-info {
    padding: 30px 25px;
    text-align: center;
}

.premium-service-box .wt-title,
.wt-box.premium-style .wt-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.premium-service-box .wt-title a,
.wt-box.premium-style .wt-title a {
    color: #2a2a2a;
    transition: color 0.3s;
    text-decoration: none;
}

.premium-service-box .wt-box:hover .wt-title a,
.wt-box.premium-style:hover .wt-title a {
    color: #DC143C;
}

.premium-service-box p,
.wt-box.premium-style p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Decorative Accent */
.premium-service-box .wt-box::after,
.wt-box.premium-style::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #DC143C;
    transition: width 0.4s ease;
}

.premium-service-box .wt-box:hover::after,
.wt-box.premium-style:hover::after {
    width: 100%;
}


/* --- 2. Premium Icon Box (Based on "Why Choose Us") --- */
/* Usage: Add class 'premium-icon-box' to the columns wrapper or modify .wt-icon-box-wraper classes */

.premium-icon-box .wt-icon-box-wraper,
.wt-icon-box-wraper.premium-style {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid transparent;
    height: 100%;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}



.premium-icon-box .wt-icon-box-wraper:hover,
.wt-icon-box-wraper.premium-style:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.15);
}

/* Moving Border Animation */
.premium-icon-box .wt-icon-box-wraper::before,
.premium-icon-box .wt-icon-box-wraper::after,
.wt-icon-box-wraper.premium-style::before,
.wt-icon-box-wraper.premium-style::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #DC143C;
    border-radius: 16px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
    transition: clip-path 0.6s ease-out;
}

.premium-icon-box .wt-icon-box-wraper::before,
.wt-icon-box-wraper.premium-style::before {
    clip-path: circle(0% at 0% 0%);
}

.premium-icon-box .wt-icon-box-wraper::after,
.wt-icon-box-wraper.premium-style::after {
    clip-path: circle(0% at 100% 100%);
}

.premium-icon-box .wt-icon-box-wraper:hover::before,
.wt-icon-box-wraper.premium-style:hover::before {
    clip-path: circle(100% at 0% 0%);
}

.premium-icon-box .wt-icon-box-wraper:hover::after,
.wt-icon-box-wraper.premium-style:hover::after {
    clip-path: circle(100% at 100% 100%);
}

.premium-icon-box .icon-lg,
.wt-icon-box-wraper.premium-style .icon-lg {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.05);
    transition: all 0.4s ease;
}

.premium-icon-box .wt-icon-box-wraper:hover .icon-lg,
.wt-icon-box-wraper.premium-style:hover .icon-lg {
    background: rgba(220, 20, 60, 0.1);
    transform: scale(1.05);
}

.premium-icon-box .wt-tilte,
.wt-icon-box-wraper.premium-style .wt-tilte {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 15px;
    color: #2a2a2a;
    letter-spacing: 0.5px;
}

.premium-icon-box p,
.wt-icon-box-wraper.premium-style p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* --- 3. Premium General Card --- */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- 4. Inner Page Banner Overlay --- */
/* To make inner pages look more "red/premium" like the footer gradient */
.wt-bnr-inr.premium-overlay {
    position: relative;
}

.wt-bnr-inr.premium-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.8), rgba(26, 26, 26, 0.6));
    z-index: 1;
}

.wt-bnr-inr.premium-overlay .container {
    position: relative;
    z-index: 2;
}

/* --- 5. Global Typography & Spacing Enhancements --- */
.wt-separator.style-square .separator-left,
.wt-separator.style-square .separator-right {
    background-color: #DC143C !important;
}

.section-head .wt-separator-outer {
    margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

.text-uppercase {
    letter-spacing: 1px;
}

/* --- 6. Section Border Fix --- */
.section-full {
    border-right: 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    /* Apply bottom border to separate sections cleanly */
    border-bottom: 1px solid rgba(220, 20, 60, 0.3) !important;
    box-shadow: none !important;
    overflow-x: hidden;
}

/* --- 7. Website Fit-to-Screen & Border Removal (Aggressive Fix) --- */
* {
    box-sizing: border-box;
    /* Ensure padding/borders don't increase width */
}

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    /* Critical for hiding horizontal scroll */
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff !important;
    /* Hide any background contrast borders */
}

.page-wraper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-shadow: none !important;
    /* Remove any boxed layout shadow */
    margin: 0 !important;
    background: #fff !important;
}

/* Ensure these don't overflow or show borders */
.page-content,
.main-bar,
.header-style-8,
.site-header,
.footer-dark,
footer {
    border-right: 0 !important;
    border-left: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
}

/* Ensure no boxed layout borders bleed through if present */
.boxed,
.container {
    border-right: 0 !important;
    border-left: 0 !important;
}

/* --- 8. Premium Footer Widget (Useful Links) --- */
.footer-dark .widget_services ul {
    padding: 0;
    margin: 0;
}

.footer-dark .widget_services ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 12px 15px !important;
    margin-bottom: 5px;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Slight rounding */
    display: flex;
    /* Better alignment */
    align-items: center;
}

.footer-dark .widget_services ul li:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Subtle highlight */
    padding-left: 20px !important;
    /* Move effect */
    border-left: 3px solid #DC143C;
    /* Accent border */
}

.footer-dark .widget_services ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-dark .widget_services ul li:hover a {
    color: #fff !important;
}

/* Custom Icon before link */
.footer-dark .widget_services ul li::before {
    content: '\f105';
    /* FontAwesome angle-right */
    font-family: 'FontAwesome';
    color: #DC143C;
    margin-right: 10px;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    transition: margin-right 0.3s;
}

/* Remove any default pseudo-elements from main style.css if they exist */
.footer-dark .widget_services ul li::after {
    display: none;
}

/* --- 9. Mobile Responsiveness for Footer Info Strip --- */
@media only screen and (max-width: 767px) {

    /* Compress the outer wrapper padding */
    .footer-info-strip .col-lg-4,
    .footer-info-strip .col-md-6,
    .footer-info-strip .col-sm-6 {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* Reduce icon box padding and size */
    .footer-info-strip .wt-icon-box-wraper {
        padding: 8px !important;
        margin-bottom: 5px;
    }

    /* Scale down the icon container */
    .footer-info-strip .wt-icon-box-wraper .icon-md {
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin-right: 10px;
    }

    /* Scale down the actual icon font size */
    .footer-info-strip .wt-icon-box-wraper .icon-md span {
        font-size: 18px !important;
    }

    /* Reduce title size */
    .footer-info-strip .wt-icon-box-wraper .icon-content h5 {
        font-size: 14px !important;
        margin-bottom: 2px;
    }

    /* Reduce paragraph text size */
    .footer-info-strip .wt-icon-box-wraper .icon-content p {
        font-size: 12px !important;
        line-height: 1.4;
        margin-bottom: 0;
    }
}

/* --- 10. Premium Contact Info Cards (Footer) --- */
.footer-info-strip .wt-icon-box-wraper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px 20px;
    /* Increased padding for better spacing */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.footer-info-strip .wt-icon-box-wraper:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 20, 60, 0.5);
    /* Crimson border on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Premium Icon Styling */
.footer-info-strip .icon-md {
    width: 60px;
    height: 60px;
    min-width: 60px;
    /* Prevent shrinking */
    background: rgba(220, 20, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.4s ease;
}

.footer-info-strip .icon-md span {
    color: #DC143C;
    /* Crimson Icon Color */
    font-size: 24px;
    transition: all 0.4s ease;
}

.footer-info-strip .wt-icon-box-wraper:hover .icon-md {
    background: #DC143C;
    transform: rotateY(180deg);
}

.footer-info-strip .wt-icon-box-wraper:hover .icon-md span {
    color: #fff;
    transform: rotateY(-180deg);
    /* Keep icon facing forward */
}

/* Typography */
.footer-info-strip .wt-tilte {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.footer-info-strip p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* --- 11. Mobile Button Responsiveness --- */
@media only screen and (max-width: 767px) {

    /* General Button Sizing for Mobile */
    .site-button,
    .site-button-secondry,
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        white-space: normal !important;
        /* Allow text wrapping if needed */
        max-width: 100%;
    }

    /* Footer Floating Card Button */
    .cta-floating-card .site-button-secondry {
        width: 100%;
        /* Full width on mobile */
        justify-content: center;
        margin-top: 15px;
        padding: 12px 20px !important;
    }

    /* Newsletter Button */
    .widget_newsletter .site-button {
        padding: 10px 15px !important;
    }

    /* Ensure icons in buttons are visible */
    .site-button i,
    .site-button-secondry i {
        vertical-align: middle;
        margin-left: 5px;
    }

    /* Fix CTA Floating Card Padding on Mobile */
    .cta-floating-card {
        padding: 12px 15px !important;
        /* Ultra compact padding */
        text-align: center;
        border-radius: 15px !important;
        /* Sharper corners for modern look */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        margin-left: 15px;
        margin-right: 15px;
    }

    .cta-floating-card h4 {
        font-size: 15px !important;
        /* Balanced title size */
        line-height: 1.2 !important;
        margin-bottom: 5px !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px;
    }

    /* Restore description with ultra-compact styling */
    .cta-floating-card p {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        opacity: 0.85;
    }

    /* Shrink the Button for Mobile */
    .cta-floating-card .site-button-secondry {
        padding: 8px 20px !important;
        font-size: 11px !important;
        margin-top: 5px !important;
        height: auto !important;
        min-height: auto !important;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
    }

    /* Fix Alignment of Button container */
    .cta-floating-card .col-lg-4,
    .cta-floating-card [style*="text-align: right"] {
        justify-content: center !important;
        display: flex !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* --- 12. Mobile Header Redesign --- */
.mobile-drawer-header {
    display: none;
}

@media only screen and (max-width: 991px) {

    /* 1. Top Bar Optimization */
    .top-bar .container {
        flex-direction: row !important;
        padding: 2px 5px !important;
        /* Reduced vertical padding */
        gap: 2px;
        display: flex !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .wt-topbar-left,
    .wt-topbar-right {
        width: auto !important;
        text-align: left;
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
    }

    /* Handle Short Labels */
    .lang-full {
        display: none !important;
    }

    .lang-short {
        display: inline-block !important;
    }

    /* Hide email text by default on mobile, but allow it to be toggled */
    .e-p-bx li:first-child .contact-text {
        display: none;
        max-width: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .e-p-bx li:first-child.show-email .contact-text {
        display: inline-block !important;
        max-width: 200px;
        margin-left: 5px;
    }

    /* Scroll Top Button Fix */
    button.scroltop {
        z-index: 100001 !important;
        /* Ensure it's above everything */
        cursor: pointer !important;
        border-color: #DC143C !important;
        background: #1a1a1a !important;
    }

    button.scroltop span {
        color: #DC143C !important;
    }

    button.scroltop:hover {
        background: #DC143C !important;
    }

    button.scroltop:hover span {
        color: #fff !important;
    }

    /* Adjust Pills for Tight Space */
    .e-p-bx li,
    .language-switcher li a {
        width: auto !important;
        margin: 0 2px !important;
        font-size: 11px !important;
        padding: 0 8px !important;
        height: 28px !important;
        display: inline-flex !important;
        align-items: center;
        border-radius: 4px !important;
        /* Slightly less rounded to save horizontal space if needed */
    }

    .language-switcher li a {
        padding: 0 6px !important;
    }



    /* 2. Header Middle (Logo & Text) - Force Row Layout like PC */
    .header-middle .container {
        flex-direction: row !important;
        /* Force row layout */
        text-align: center !important;
        padding-top: 10px !important;
        padding-bottom: 5px !important;
        align-items: center !important;
        /* Vertically align items */
        justify-content: space-between !important;
        /* Spread items */
        display: flex !important;
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
    }

    /* Left Logo */
    .logo-header {
        margin-bottom: 0px !important;
        display: flex !important;
        align-items: center;
        flex: 0 0 50px !important;
        /* Fixed width */
        order: 1;
        /* First */
        padding: 0 !important;
    }

    /* Right Logo (header1) - SHOW IT NOW */
    .logo-header.logo-header1,
    .logo-header1 {
        display: flex !important;
        align-items: center;
        flex: 0 0 50px !important;
        /* Fixed width */
        order: 3;
        /* Last */
        padding: 0 !important;
        justify-content: flex-end;
    }

    .logo-header img,
    .logo-header1 img {
        height: 50px !important;
        /* Larger logo height */
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* Text in Middle */
    .header-info {
        margin-bottom: 0px !important;
        width: auto !important;
        float: none !important;
        text-align: center !important;
        flex: 1;
        /* Take remaining space */
        order: 2;
        /* Middle */
        min-width: 0;
        /* Allow shrinking */
    }

    .header-info p {
        font-size: 9px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }

    .header-info h2 {
        font-size: 13px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 2px 0 !important;
        /* Slight padding to prevent text collision */
        font-weight: 700;
        white-space: normal;
    }

    /* 3. Main Navigation Bar */
    .header-style-8 .main-bar {
        width: 95% !important;
        /* Wider menu bar on mobile */
        margin: 0 auto 10px !important;
        height: auto !important;
        min-height: 50px;
    }

    /* 3. Main Navigation Bar */
    /* 3. Main Navigation Bar */
    .header-style-8 .main-bar {
        width: 95% !important;
        /* Wider menu bar on mobile */
        margin: 0 auto 10px !important;
        height: auto !important;
        min-height: 50px;
        border-radius: 8px !important;
        padding: 5px !important;
    }

    .is-fixed .main-bar {
        width: 100% !important;
        border-radius: 0 !important;
        top: 0 !important;
    }

    /* Hamburger Menu Button */
    /* Hamburger Menu Button */
    /* Hamburger Menu Button */
    .navbar-toggler {
        margin: 0 !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        /* Subtle border for button definition */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        /* Slight background */
        border-radius: 4px;
        width: 44px;
        /* Fixed square size */
        height: 38px;
        cursor: pointer;
    }

    .navbar-toggler .icon-bar {
        background-color: #ffffff !important;
        height: 3px !important;
        width: 24px !important;
        display: block !important;
        border-radius: 2px;
        transition: all 0.3s ease-in-out !important;
    }

    /* Animation: When menu is OPEN (not collapsed) */
    .navbar-toggler:not(.collapsed) .icon-bar-two {
        opacity: 0 !important;
        transform: translateX(-20px) !important;
    }

    .navbar-toggler:not(.collapsed) .icon-bar-first {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .navbar-toggler:not(.collapsed) .icon-bar-three {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    /* Spacing when CLOSED (collapsed) */
    .navbar-toggler.collapsed .icon-bar+.icon-bar {
        margin-top: 4px !important;
    }

    /* Center the toggle button container using Flexbox */
    .main-bar .container {
        display: flex !important;
        justify-content: flex-end;
        /* Push button to right */
        align-items: center;
        padding: 5px 15px !important;
        min-height: 50px;
    }

    /* 4. Mobile Drawer Redesign (Ultra-Premium Glassmorphism) */
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 20px 20px;
        background: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        min-height: 90px;
    }

    .mobile-drawer-header .drawer-logo img {
        height: 55px;
        width: auto;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
        transition: transform 0.3s ease;
    }

    .mobile-drawer-header:hover .drawer-logo img {
        transform: scale(1.05);
    }

    /* Reposition to top right corner of the MODAL */
    .mobile-drawer-header .drawer-close {
        top: 15px;
        right: 15px;
        transform: none;
        background: linear-gradient(135deg, #DC143C 0%, #a30022 100%);
        color: white;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
        border: 2px solid white;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        cursor: pointer;
        z-index: 1000005;
    }

    .mobile-drawer-header .drawer-close:hover {
        transform: rotate(180deg) scale(1.1);
        box-shadow: 0 0 25px rgba(220, 20, 60, 0.6);
    }

    .header-style-8.mobile-sider-drawer-menu .header-nav {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.85) !important;
        width: 92% !important;
        max-width: 380px !important;
        height: auto !important;
        max-height: 85vh !important;
        background: rgba(255, 255, 255, 0.92) !important;
        backdrop-filter: blur(25px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
        border-radius: 40px !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        z-index: 1000000 !important;
        overflow: hidden !important;
    }

    .header-style-8.mobile-sider-drawer-menu.active .header-nav {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1;
        visibility: visible;
    }

    /* Refined Overlay */
    .header-style-8.mobile-sider-drawer-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 999999;
        transition: opacity 0.5s ease;
    }

    /* Elegant Custom Scrollbar */
    .header-nav .nav::-webkit-scrollbar {
        width: 4px;
    }

    .header-nav .nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .header-nav .nav::-webkit-scrollbar-thumb {
        background: rgba(220, 20, 60, 0.2);
        border-radius: 10px;
    }

    /* Navigation List Enhancement */
    .header-nav .nav {
        padding: 10px 15px 30px 15px !important;
        overflow-y: auto;
    }

    .header-nav .nav>li {
        margin: 8px 0 !important;
        padding: 0;
        border-bottom: none !important;
    }

    .header-nav .nav>li>a {
        padding: 15px 20px !important;
        font-size: 16px !important;
        color: #1a1a1a !important;
        font-weight: 600 !important;
        border-radius: 18px !important;
        transition: all 0.4s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(255, 255, 255, 0.5) !important;
        border: 1px solid rgba(0, 0, 0, 0.03) !important;
        backdrop-filter: blur(5px);
    }

    /* Holographic Active State */
    .header-nav .nav>li.active>a {
        background: linear-gradient(135deg, #DC143C 0%, #ff4d6d 100%) !important;
        color: #fff !important;
        box-shadow: 0 12px 24px rgba(220, 20, 60, 0.35) !important;
        transform: scale(1.02);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    /* Hover Glow Effect */
    .header-nav .nav>li:not(.active)>a:hover {
        background: #fff !important;
        color: #DC143C !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
        padding-left: 28px !important;
        border-color: rgba(220, 20, 60, 0.3) !important;
    }

    /* Icons and Chevrons */
    .header-nav .nav>li a .fa-angle-right {
        font-size: 16px;
        opacity: 0.5;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .header-nav .nav>li a:hover .fa-angle-right {
        transform: translateX(5px);
    }

    .header-nav .nav>li.active a .fa-angle-right {
        opacity: 1;
        color: #fff;
    }

    /* Submenu - Premium Nested Look */
    .header-style-8.mobile-sider-drawer-menu .header-nav .sub-menu {
        background: rgba(220, 20, 60, 0.02) !important;
        border-radius: 15px !important;
        margin: 5px 0 10px 10px !important;
        padding: 5px 0 !important;
        border-left: 2px solid rgba(220, 20, 60, 0.1) !important;
    }

    .header-nav .sub-menu li a {
        padding: 12px 20px 12px 25px !important;
        font-size: 14px !important;
        color: #555 !important;
        font-weight: 500 !important;
        background: transparent !important;
        border: none !important;
    }

    .header-nav .sub-menu li a:hover {
        color: #DC143C !important;
        background: transparent !important;
    }

    /* Last item corners footer */
    .header-nav .nav>li:last-child {
        border-bottom: none !important;
    }

    /* Submenu Styling */
    /* Submenu Styling */
    .header-style-8.mobile-sider-drawer-menu .header-nav .sub-menu {
        background: #fafafa !important;
        box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.02) !important;
        padding: 5px 0 !important;
        border: none !important;
        margin: 0 !important;
        width: 100% !important;
        position: relative !important;
        /* Critical: Push content down */
        float: none !important;
        display: none;
        /* Hidden by default, JS toggles it */
        box-shadow: none !important;
        border-radius: 0 !important;
        top: auto !important;
        left: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* When submenu is active (assuming JS adds 'visible', 'active' or 'open' class or sets display:block) */
    .header-style-8.mobile-sider-drawer-menu .header-nav li.active>.sub-menu,
    .header-style-8.mobile-sider-drawer-menu .header-nav li.open>.sub-menu,
    .header-style-8.mobile-sider-drawer-menu .header-nav .sub-menu.visible {
        display: block !important;
        position: relative !important;
    }

    /* Ensure submenus are visible when parent is hovered/active if handled by CSS, 
       but typically mobile menu uses click. 
       We leave display logic to existing JS/CSS unless asked. */

    .header-nav .sub-menu li a {
        padding: 10px 25px 10px 45px !important;
        /* Deep indent */
        font-size: 13px !important;
        color: #777 !important;
        font-weight: 500 !important;
    }

    .header-nav .sub-menu li a:hover {
        color: #DC143C !important;
        background: transparent !important;
    }

    /* 4. General Content Typography */
    h1 {
        font-size: 26px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    /* Slider Text Fix */
    .tp-caption {
        white-space: normal !important;
        /* Allow wrapping */
        text-align: center !important;
        width: 90% !important;
        left: 5% !important;
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    /* Mission Section */
    .section-head h2 {
        font-size: 20px !important;
    }

    .section-head p {
        font-size: 13px !important;
        padding: 0 10px;
        line-height: 1.6;
    }

    .section-full {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* --- 13. Compact 'Why Choose Us' Section for Mobile --- */
    .why-choose-redesign .wt-icon-box-wraper {
        padding: 15px !important;
        /* Reduce padding significantly */
        margin-bottom: 15px !important;
        /* Reduce gap between cards */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        /* Lighter shadow */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .why-choose-redesign .icon-lg {
        margin-bottom: 10px !important;
    }

    .why-choose-redesign .icon-lg img {
        width: 40px !important;
        /* Smaller icons */
        height: auto;
    }

    .why-choose-redesign .icon-content h5 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
    }

    .why-choose-redesign .icon-content p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
    }

    .why-choose-redesign .col-lg-4,
    .why-choose-redesign .col-md-6,
    .why-choose-redesign .col-sm-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        float: left !important;
    }

    .why-choose-redesign .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    /* Ensure content fits in smaller 50% boxes */
    .why-choose-redesign .wt-icon-box-wraper {
        min-height: 160px;
        /* Equal height */
        padding: 10px !important;
    }

    .why-choose-redesign .icon-content p {
        font-size: 11px !important;
        /* Smaller text for dense layout */
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        /* Limit lines of text */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* --- Our Mission in Action (Services Carousel) Mobile Redesign --- */
@media only screen and (max-width: 991px) {
    .Home-services-carousel .wt-box {
        margin: 10px 0 !important;
        border-radius: 15px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
        border: none !important;
        transition: none !important;
        /* Disable hover lift on mobile */
    }

    .Home-services-carousel .wt-media img {
        height: 180px !important;
        /* Smaller height for mobile */
    }

    .Home-services-carousel .wt-info {
        padding: 20px 15px !important;
        text-align: left !important;
        /* Left align for cleaner look on small screens */
        background: linear-gradient(135deg, #ffffff 0%, #fffafa 100%);
    }

    .Home-services-carousel .wt-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Add a small red bullet before title on mobile */
    .Home-services-carousel .wt-title::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #DC143C;
        border-radius: 50%;
        display: inline-block;
    }

    .Home-services-carousel p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 0 !important;
        color: #555 !important;
    }

    /* Modern Navigation Dots */
    .Home-services-carousel.owl-carousel .owl-dots {
        margin-top: 15px !important;
    }

    .Home-services-carousel.owl-carousel .owl-dot span {
        width: 8px !important;
        height: 8px !important;
        background: #ddd !important;
        transition: all 0.3s ease;
    }

    .Home-services-carousel.owl-carousel .owl-dot.active span {
        width: 25px !important;
        background: #DC143C !important;
        border-radius: 10px !important;
    }
}

/* --- Latest Initiatives (Portfolio) Mobile Redesign --- */
@media only screen and (max-width: 991px) {

    /* Create 2-column grid for photos */
    .portfolio-wrap.row {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .masonry-item {
        width: 50% !important;
        /* 2 items per row */
        padding: 5px !important;
        float: left !important;
    }

    .wt-gallery-bx {
        border-radius: 12px !important;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        background: #fff;
    }

    .wt-thum-bx img {
        height: 140px !important;
        /* Consistent small height */
        object-fit: cover !important;
        width: 100% !important;
    }

    /* Clean up filter buttons for mobile */
    .masonry-filter {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin-bottom: 20px !important;
    }

    .masonry-filter li {
        margin: 0 !important;
    }

    .masonry-filter li a {
        padding: 5px 12px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
        background: #f8f9fa !important;
        color: #666 !important;
        border: 1px solid #eee !important;
        display: block;
    }

    .masonry-filter li.active a {
        background: #DC143C !important;
        color: #fff !important;
        border-color: #DC143C !important;
    }

    /* Simplify overlays on mobile - just show the icon on tap or omit complex effects */
    .overlay-bx {
        padding: 10px !important;
    }

    .overlay-icon i {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 14px !important;
    }
}

/* --- Empowerment (Section Content) Mobile Redesign --- */
@media only screen and (max-width: 991px) {
    .empowerment-section {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }

    .empowerment-section .popup-card {
        padding: 20px !important;
        /* Smaller padding inside cards */
        margin-bottom: 15px !important;
    }

    .empowerment-section .title-first {
        font-size: 24px !important;
        /* Smaller "Empowerment" text */
    }

    .empowerment-section .title-second {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }

    .empowerment-section p {
        font-size: 13px !important;
    }

    /* Compact Accordion for Mobile */
    .empowerment-section .acod-title a {
        padding: 12px 15px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }

    .empowerment-section .acod-content {
        font-size: 12px !important;
        padding: 10px !important;
    }

    /* List optimization */
    .empowerment-section .list-check-circle li {
        font-size: 12px !important;
        padding-left: 25px !important;
        margin-bottom: 8px !important;
    }

    .empowerment-section .list-check-circle li::before {
        font-size: 10px !important;
        top: 2px !important;
    }

    /* Shrink the decorative circles */
    .empowerment-section::before {
        width: 150px !important;
        height: 150px !important;
        top: -50px !important;
        left: -50px !important;
    }

    .empowerment-section::after {
        width: 250px !important;
        height: 250px !important;
        bottom: -70px !important;
        right: -50px !important;
    }
}

/* --- Latest Stories (Blog) Mobile Redesign --- */
@media only screen and (max-width: 991px) {
    .blog-redesign {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }

    /* Featured Blog Card */
    .blog-redesign .blog-post.bg-cover {
        min-height: 250px !important;
        border-radius: 15px !important;
        margin-bottom: 30px !important;
        /* Increased gap below featured post */
    }

    .blog-redesign .wt-post-info.p-a30 {
        padding: 15px !important;
    }

    .blog-redesign .post-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    /* Blog List Items (Compact) */
    .blog-redesign .blog-md {
        padding: 10px !important;
        margin-bottom: 20px !important;
        /* Increased gap between list items */
        border-radius: 12px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .blog-redesign .blog-md .wt-post-media {
        width: 100px !important;
        /* Smaller thumbnails */
        height: 80px !important;
        margin-right: 12px !important;
        border-radius: 8px !important;
    }

    .blog-redesign .blog-md .wt-post-info {
        padding: 0 !important;
    }

    .blog-redesign .blog-md .post-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
    }

    .blog-redesign .wt-post-text p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Meta text optimization */
    .blog-redesign .wt-post-meta ul li {
        font-size: 10px !important;
        margin-right: 8px !important;
    }

    /* Shrink the date badge */
    .blog-redesign .post-date {
        padding: 4px 8px !important;
    }

    .blog-redesign .post-date strong {
        font-size: 14px !important;
    }

    .blog-redesign .post-date span {
        font-size: 9px !important;
    }
}

/* --- Testimonial Section Mobile Redesign --- */
@media only screen and (max-width: 991px) {
    .testimonial-section-redesign {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
        /* Reduced heavy bottom padding */
        min-height: auto !important;
    }

    .testimonial-1 {
        padding: 0 10px !important;
    }

    .testimonial-1 .testimonial-pic {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 15px !important;
    }

    .testimonial-1 .testimonial-name {
        font-size: 16px !important;
        margin-top: 5px !important;
    }

    .testimonial-1 .testimonial-position {
        font-size: 11px !important;
    }

    .testimonial-1 .testimonial-text {
        padding: 15px !important;
        background: #fdfdfd;
        border-radius: 12px;
        margin-top: 15px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
        border: 1px solid #f0f0f0;
    }

    .testimonial-1 .testimonial-text i {
        display: none;
        /* Hide default quote icons on mobile if they exist/clutter */
    }

    .testimonial-1 .testimonial-text p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #555 !important;
        font-style: italic;
    }

    /* Modern Dots for Testimonials */
    .testimonial-one.owl-carousel .owl-dots {
        margin-top: 10px !important;
    }
}

/* --- Footer Content Mobile Redesign --- */
@media only screen and (max-width: 991px) {
    .footer-dark .footer-top {
        padding-top: 50px !important;
        padding-bottom: 20px !important;
        text-align: center !important;
    }

    .footer-dark .widget {
        margin-bottom: 40px !important;
    }

    /* Center Footer Logo & About Text */
    .logo-footer {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto 20px auto !important;
        float: none !important;
    }

    .logo-footer a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .logo-footer img {
        margin: 0 auto !important;
        display: block !important;
        float: none !important;
    }

    .widget_about p {
        text-align: center !important;
        padding: 0 10px;
        width: 100% !important;
    }

    /* Center Widget Titles & Their Accents */
    .footer-dark .widget-title {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    .footer-dark .widget-title::after {
        display: block !important;
        content: '' !important;
        width: 40px !important;
        height: 4px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 10px !important;
        float: none !important;
        position: relative !important;
        left: 0 !important;
    }

    /* Optimized Recent Updates List for Mobile */
    .recent-posts-entry-date .widget-post-bx .widget-post {
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .recent-posts-entry-date .post-title a {
        font-size: 13px !important;
    }

    /* Social Icons Centering */
    .social-icons {
        justify-content: center !important;
    }

    /* Newsletter Optimization */
    .widget_newsletter .newsletter-bx .form-control {
        text-align: center;
    }

    /* Footer Info Strip Optimization (Address, Phone, Email) Area */
    .footer-info-strip {
        margin-top: 5px !important;
    }

    .footer-info-strip .col-lg-4 {
        padding-bottom: 5px !important;
    }

    .footer-info-strip .wt-icon-box-wraper {
        text-align: left !important;
        padding: 8px 12px !important;
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 10px !important;
        margin-bottom: 5px !important;
    }

    .footer-info-strip .icon-md {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important;
    }

    .footer-info-strip .icon-md span {
        font-size: 14px !important;
    }

    .footer-info-strip .wt-tilte {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        font-weight: 700 !important;
    }

    .footer-info-strip p {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    /* Improved Bottom Bar (Copyright & Terms) */
    .footer-bottom {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .footer-bottom .copyrights-text {
        font-size: 10px !important;
        opacity: 0.7;
    }

    .wt-footer-bot-left,
    .wt-footer-bot-right {
        width: 100% !important;
        text-align: center !important;
        float: none !important;
        padding: 2px 0 !important;
    }

    .copyrights-nav.pull-right {
        float: none !important;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px !important;
        padding: 0;
    }

    .copyrights-nav li {
        padding: 0 !important;
        margin: 0 !important;
    }

    .copyrights-nav li a {
        font-size: 10px !important;
    }
}

/* Prevent background scrolling when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/* CSS for Collapsible Footer Widgets on Mobile */
.mobile-arrow {
    display: none;
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.3s;
    vertical-align: middle;
}

.collapse.show-on-desktop {
    display: block !important;
}

@media only screen and (max-width: 991px) {
    .collapse.show-on-desktop {
        display: none !important;
    }

    .collapse.show-on-desktop.show {
        display: block !important;
    }

    .mobile-collapsible-widget .widget-title {
        cursor: pointer;
        display: block !important;
        text-align: center !important;
        padding: 5px 0;
    }

    .mobile-arrow {
        display: inline-block;
    }

    .widget-title[aria-expanded="true"] .mobile-arrow {
        transform: rotate(180deg);
    }
}

/* --- Global Smaller Elements for All Pages (Mobile) --- */
@media only screen and (max-width: 991px) {

    /* Headings & Text */
    h1,
    .h1 {
        font-size: 28px !important;
    }

    h2,
    .h2 {
        font-size: 24px !important;
    }

    h3,
    .h3 {
        font-size: 20px !important;
    }

    h4,
    .h4 {
        font-size: 18px !important;
    }

    h5,
    .h5 {
        font-size: 16px !important;
    }

    h6,
    .h6 {
        font-size: 14px !important;
    }

    p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* Page Banners */
    .wt-bnr-inr {
        height: 180px !important;
        min-height: 180px !important;
    }

    .wt-bnr-inr-entry h1 {
        font-size: 24px !important;
    }

    .wt-bnr-inr-entry {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 15px !important;
        height: 100% !important;
        vertical-align: middle !important;
        padding-top: 40px !important;
    }

    /* Section Spacing */
    .section-full {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }

    .section-head {
        margin-bottom: 25px !important;
    }

    .section-head h2 {
        font-size: 22px !important;
        letter-spacing: 0.5px !important;
    }

    .section-head p {
        font-size: 13px !important;
        margin-top: 5px !important;
    }

    /* Breadcrumbs */
    .wt-breadcrumb {
        padding: 8px 0 !important;
        font-size: 11px !important;
        margin: 0 !important;
    }

    .bg-gray-light.p-tb20 {
        padding: 5px 0 !important;
    }

    /* Button Slimming */
    .site-button,
    .btn-learn-more,
    .wt-button {
        padding: 8px 18px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }

    /* Grid & Cards (Global) */
    .col-lg-3,
    .col-lg-4,
    .col-lg-6 {
        margin-bottom: 20px !important;
    }

    .wt-icon-box-wraper {
        padding: 20px !important;
    }

    /* Specific Internal Page Sections */
    .about-shardasadan {
        padding: 40px 15px !important;
    }

    .about-content h2 {
        font-size: 22px !important;
    }

    .about-content p {
        font-size: 13px !important;
    }

    .info-section {
        padding: 30px 15px !important;
        gap: 15px !important;
    }

    .info-box {
        padding: 20px !important;
    }

    .info-box h2 {
        font-size: 18px !important;
    }

    /* Impact Stats (Shrink counter text) */
    .font-26.font-weight-800 {
        font-size: 20px !important;
    }

    .wt-icon-box-wraper.right span {
        font-size: 10px !important;
    }

    /* Gallery Filter Adjustments */
    .filter-wrap ul.masonry-filter li a {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }
}

@media only screen and (max-width: 991px) {

    /* --- Fix for Missing Header Background and Button Visibility --- */
    .nav-bg-secondry {
        background-color: #1a1a1a !important;
        /* Dark background for the nav bar */
    }

    /* Ensure navbar toggler is visible even if background context fails */
    .navbar-toggler {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    /* Ensure icon bars are strictly white */
    .navbar-toggler .icon-bar {
        background-color: #ffffff !important;
    }
}