/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Text Domain: astra-child
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Astra Child Transparent Header Styling
   ========================================================================== */

/* Add vertical padding and a subtle top gradient overlay for text readability */
.ast-theme-transparent-header .main-header-bar {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%) !important;
    transition: all 0.3s ease;
}

/* Force main header menu links to be white on transparent header with text shadow */
.ast-theme-transparent-header .main-header-bar-navigation .main-header-menu > .menu-item > .menu-link {
    color: #ffffff !important;
    font-size: 14px !important; /* Slightly smaller for premium look */
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-left: 14px !important; /* Muted from 18px to prevent wrapping */
    padding-right: 14px !important; /* Muted from 18px to prevent wrapping */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

/* Prevent menu from wrapping into multiple lines on desktop */
@media (min-width: 922px) {
    .main-header-bar-navigation,
    .main-navigation,
    .main-header-menu {
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
    }
}

/* Hover and active states for menu links (safety orange #ff6f00) */
.ast-theme-transparent-header .main-header-bar-navigation .main-header-menu > .menu-item:hover > .menu-link,
.ast-theme-transparent-header .main-header-bar-navigation .main-header-menu > .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-bar-navigation .main-header-menu > .current_page_item > .menu-link {
    color: #ff6f00 !important;
    text-shadow: none !important;
}

/* Style the Consultation Button in Transparent Header */
.ast-theme-transparent-header .ast-builder-button-wrap .ast-custom-button-link {
    display: inline-block;
}

.ast-theme-transparent-header .ast-builder-button-wrap .ast-custom-button-link .ast-custom-button {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 4px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out !important;
}

/* Hover effect for the button */
.ast-theme-transparent-header .ast-builder-button-wrap .ast-custom-button-link:hover .ast-custom-button {
    background-color: #ff6f00 !important;
    border-color: #ff6f00 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(223, 60, 42, 0.4);
}

/* Adjust search icon and toggles */
.ast-theme-transparent-header .ast-search-icon .astra-search-icon {
    color: #ffffff !important;
}

/* Reset main content spacing to allow slider to sit perfectly at the top on homepage */
.ast-theme-transparent-header.home .site-content {
    padding-top: 0 !important;
}

.desktop-slider-wrapper,
.mobile-slider-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   Desktop / Mobile Slider Visibility Controls
   ========================================================================== */

/* Show desktop slider on screens wider than 921px (Desktop), hide on mobile */
@media (min-width: 922px) {
    .desktop-slider-wrapper {
        display: block !important;
    }
    .mobile-slider-wrapper {
        display: none !important;
    }
}

/* Show mobile slider on screens 921px and narrower (Mobile), hide on desktop */
@media (max-width: 921px) {
    .desktop-slider-wrapper {
        display: none !important;
    }
    .mobile-slider-wrapper {
        display: block !important;
    }
}

/* ==========================================================================
   Mobile Transparent Header Styling
   ========================================================================== */
@media (max-width: 921px) {
    /* Keep mobile header bar transparent with padding */
    .ast-theme-transparent-header #ast-mobile-header .main-header-bar {
        background-color: transparent !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        transition: all 0.3s ease;
    }

    /* Style the mobile menu toggle button to be white and clean */
    .ast-theme-transparent-header .menu-toggle.main-header-menu-toggle {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 4px !important;
        color: #ffffff !important;
        padding: 6px 12px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hover and toggled/active states for the mobile menu button */
    .ast-theme-transparent-header .menu-toggle.main-header-menu-toggle:hover,
    .ast-theme-transparent-header .menu-toggle.main-header-menu-toggle.toggled {
        background-color: #ff6f00 !important;
        border-color: #ff6f00 !important;
        color: #ffffff !important;
    }
}

/* ==========================================================================
   Premium Global Design Overrides (Manufactory Style)
   ========================================================================== */

/* Typography Overrides */
body, 
input, 
textarea, 
select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: #475569; /* Elegant charcoal gray */
}

/* Allow paragraph, list items, and links to inherit color from parent containers (critical for Elementor dynamic colors) */
p, 
li, 
a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    line-height: 1.75 !important;
}

h1, h2, h3, h4, h5, h6, 
.site-title, 
.site-title a,
.entry-title, 
.widget-title, 
.wp-block-heading,
.elementor-heading-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #0a1128; /* Premium industrial navy blue (no important to allow Elementor custom overrides) */
    letter-spacing: -0.5px !important;
    line-height: 1.3 !important;
}

/* Specific heading sizes and styles (restricted to desktop to enable mobile responsiveness) */
@media (min-width: 922px) {
    h1, .elementor-heading-title.elementor-size-xl {
        font-size: 56px !important;
        font-weight: 800 !important;
        letter-spacing: -1.5px !important;
    }
    
    h2, .elementor-heading-title.elementor-size-lg {
        font-size: 40px !important;
        font-weight: 700 !important;
        letter-spacing: -1px !important;
    }
    
    h3, .elementor-heading-title.elementor-size-md {
        font-size: 28px !important;
        font-weight: 700 !important;
    }
}


/* Premium uppercase subtitles/labels */
.section-subtitle, 
.widget-title,
.elementor-heading-title.elementor-size-xs,
.wp-block-group h2 {
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #ff6f00 !important; /* Safety Orange */
}

/* Link transitions & colors */
a {
    color: #ff6f00;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}

a:hover, a:focus {
    color: #0a1128;
}

/* Global Astra custom CSS variables overrides */
:root {
    --ast-global-color-0: #ff6f00 !important; /* Theme Safety Orange */
    --ast-global-color-1: #e65100 !important; /* Darker Orange */
    --ast-global-color-2: #0a1128 !important; /* Main Dark text */
    --ast-global-color-3: #475569 !important; /* Body Text color */
    --ast-global-color-4: #f7f7f7 !important; /* Section Background Gray */
}

/* ==========================================================================
   Global Button Styling (Elementor, Astra, Forms)
   ========================================================================== */

/* Target Astra default buttons, customizer buttons, Elementor buttons, and inputs */
button,
.button,
.ast-button,
.ast-custom-button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.elementor-button-wrapper .elementor-button,
.wp-block-button__link {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    background-color: #ff6f00 !important; /* Safety Orange */
    color: #ffffff !important;
    border: 2px solid #ff6f00 !important;
    border-radius: 4px !important; /* Slightly rounded for sleek look */
    padding: 14px 32px !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(223, 60, 42, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

/* Hover effect: transitions from red to elegant industrial navy blue */
button:hover,
button:focus,
.button:hover,
.button:focus,
.ast-button:hover,
.ast-button:focus,
.ast-custom-button:hover,
.ast-custom-button:focus,
input[type="button"]:hover,
input[type="submit"]:hover,
.elementor-button-wrapper .elementor-button:hover,
.elementor-button-wrapper .elementor-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background-color: #0a1128 !important; /* Industrial Navy Blue */
    border-color: #0a1128 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

/* Ensure button icons (SVGs) inherit and match the button's text color */
.elementor-button .elementor-button-icon svg,
.elementor-button .elementor-button-icon svg path,
.ast-builder-button-wrap svg,
.ast-builder-button-wrap svg path,
.wp-block-button__link svg,
.wp-block-button__link svg path {
    fill: currentColor !important;
}

/* Style Outline (Ghost) Buttons */
.elementor-button.elementor-size-md.elementor-button-link.is-style-outline,
.wp-block-button.is-style-outline .wp-block-button__link,
.ast-outline-button {
    background-color: transparent !important;
    color: #ff6f00 !important;
    border: 2px solid #ff6f00 !important;
    box-shadow: none !important;
}

.elementor-button.elementor-size-md.elementor-button-link.is-style-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.ast-outline-button:hover {
    background-color: #ff6f00 !important;
    color: #ffffff !important;
    border-color: #ff6f00 !important;
    box-shadow: 0 4px 15px rgba(223, 60, 42, 0.3) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Form Fields Styling (Inputs, Textareas, Selects)
   ========================================================================== */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
select,
textarea {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 12px 18px !important;
    background-color: #ffffff !important;
    color: #0a1128 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease-in-out !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #ff6f00 !important; /* Highlight focused fields in theme orange */
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(223, 60, 42, 0.1) !important;
}

/* ==========================================================================
   Site Header Dropdown Submenu Beautification
   ========================================================================== */
.main-header-menu .sub-menu {
    border-top: 3px solid #ff6f00 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
    border-radius: 0 0 4px 4px !important;
    padding: 10px 0 !important;
}

.main-header-menu .sub-menu .menu-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0a1128 !important;
    padding: 10px 24px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: all 0.2s ease;
}

.main-header-menu .sub-menu .menu-item:hover > .menu-link {
    background-color: #f7f7f7 !important;
    color: #ff6f00 !important;
}

/* ==========================================================================
   Footer & Widget Improvements
   ========================================================================== */
.site-footer {
    background-color: #0a1128 !important; /* Premium Industrial Navy Blue background */
    color: #9195a2 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 14px !important;
}

.site-footer h1, 
.site-footer h2, 
.site-footer h3, 
.site-footer h4, 
.site-footer h5, 
.site-footer h6, 
.site-footer .widget-title {
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    margin-bottom: 20px !important;
}

.site-footer a {
    color: #9195a2 !important;
}

.site-footer a:hover {
    color: #ffffff !important;
}

.site-footer .footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Bottom copyright footer strip styling */
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background-color: #0a1128 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-below-footer-wrap,
.site-below-footer-wrap p,
.site-below-footer-wrap span,
.site-below-footer-wrap a,
.site-below-footer-wrap .ast-footer-copyright,
.site-below-footer-wrap .ast-footer-copyright *,
.ast-footer-copyright.site-footer-focus-item {
    color: #ffffff !important;
}

/* ==========================================================================
   Dark Background Call-to-Action Sections Text Readability
   ========================================================================== */
.elementor-element-8643ec9 .elementor-heading-title,
.elementor-element-8643ec9 h1,
.elementor-element-8643ec9 h2,
.elementor-element-8643ec9 h3,
.elementor-element-8643ec9 h4,
.elementor-element-8643ec9 h5,
.elementor-element-8643ec9 h6,
.elementor-element-8643ec9 p,
.elementor-element-66385be .elementor-heading-title,
.elementor-element-66385be h1,
.elementor-element-66385be h2,
.elementor-element-66385be h3,
.elementor-element-66385be h4,
.elementor-element-66385be h5,
.elementor-element-66385be h6,
.elementor-element-66385be p,
.elementor-element-28cdee7 .elementor-heading-title,
.elementor-element-28cdee7 h1,
.elementor-element-28cdee7 h2,
.elementor-element-28cdee7 h3,
.elementor-element-28cdee7 h4,
.elementor-element-28cdee7 h5,
.elementor-element-28cdee7 h6,
.elementor-element-28cdee7 p,
.elementor-element-6f62d57 .elementor-heading-title,
.elementor-element-6f62d57 p {
    color: #ffffff !important;
}

/* ==========================================================================
   Custom Top Bar Strip Styling
   ========================================================================== */
.custom-top-bar {
    background-color: #0a1128 !important; /* Premium Industrial Navy Blue background */
    color: #ffffff !important;
    font-size: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    height: 42px !important;
    line-height: 42px !important;
    position: relative !important;
    z-index: 100 !important;
}

.custom-top-bar-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
}

.custom-top-bar-left,
.custom-top-bar-right {
    display: flex !important;
    align-items: center !important;
}

.top-bar-item {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 24px !important;
    color: #ffffff !important;
}

.top-bar-item:last-child {
    margin-right: 0 !important;
}

.top-bar-item a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.top-bar-item a:hover {
    color: #ff6f00 !important;
}

.top-bar-icon {
    width: 14px !important;
    height: 14px !important;
    margin-right: 8px !important;
    fill: #ff6f00 !important; /* Orange icons like Manufactory theme */
    vertical-align: middle !important;
}

/* Adjust absolute transparent header top position to account for the top bar on desktop */
@media (min-width: 922px) {
    .ast-theme-transparent-header #masthead {
        top: 42px !important;
    }
}

/* Show a compact top bar on mobile screens with only Phone and Email */
@media (max-width: 921px) {
    .custom-top-bar {
        display: block !important;
        height: 36px !important;
        line-height: 36px !important;
    }
    
    .custom-top-bar-container {
        justify-content: center !important;
        padding: 0 10px !important;
    }
    
    .custom-top-bar-left {
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
    }
    
    /* Hide Address (first item) and Working Hours (right container) on mobile screens */
    .custom-top-bar-left .top-bar-item:first-child,
    .custom-top-bar-right {
        display: none !important;
    }
    
    /* Center and style Phone and Email top bar items */
    .top-bar-item {
        margin-right: 20px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }
    
    .top-bar-item:last-child {
        margin-right: 0 !important;
    }
    
    .top-bar-icon {
        width: 12px !important;
        height: 12px !important;
        margin-right: 6px !important;
    }
    
    /* Adjust absolute transparent header top position to account for the top bar on mobile */
    .ast-theme-transparent-header #masthead {
        top: 36px !important;
    }
}

/* ==========================================================================
   Logo Glass Badge Styling (Reversible Override)
   ========================================================================== */
/* Premium glassmorphism card frame specifically behind the site logo link wrapper */
.ast-theme-transparent-header .site-logo-img a {
    display: inline-block !important;
    background-color: rgba(255, 255, 255, 0.15) !important; /* Translucent white background */
    backdrop-filter: blur(8px) !important; /* Frosted glass blur */
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important; /* Glass border highlight */
    border-radius: 8px !important; /* Rounded badge corners */
    padding: 8px 12px !important; /* Spacing around the logo image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important; /* Subtle floating shadow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Logo image constraints to fit beautifully within the badge */
.ast-theme-transparent-header .site-logo-img a img {
    max-height: 80px !important; /* Fit logo height perfectly inside the header (increased from 65px) */
    width: auto !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

/* Premium hover effect for the logo card badge */
.ast-theme-transparent-header .site-logo-img a:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 20px rgba(223, 60, 42, 0.15) !important; /* Elegant orange accent glow */
    transform: translateY(-1px) !important;
}

/* Micro-zoom logo image on hover */
.ast-theme-transparent-header .site-logo-img a:hover img {
    transform: scale(1.03) !important;
}

/* ==========================================================================
   Premium Scroll-Reveal Animations (Reversible Override)
   ========================================================================== */
.scroll-reveal {
    opacity: 0 !important;
    transform: translateY(22px) scale(0.98) !important;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* ==========================================================================
   Why Choose Us Section - Icons Color Customization Helper
   ========================================================================== */
/* Section container ID: 5989d0e. Yahan se aap icons ka color badal sakte hain. */
.elementor-element-5989d0e .elementor-icon-box-icon .elementor-icon,
.elementor-element-5989d0e .elementor-icon-box-icon .elementor-icon i,
.elementor-element-5989d0e .elementor-icon-box-icon .elementor-icon svg {
    color: #ff6f00 !important; /* Default Safety Orange (#ff6f00). Change to another hex color to override. */
    fill: #ff6f00 !important;
    transition: all 0.3s ease-in-out;
}

/* Optional Hover effect for icons inside Why Choose Us section */
.elementor-element-5989d0e .elementor-icon-box-icon:hover .elementor-icon,
.elementor-element-5989d0e .elementor-icon-box-icon:hover .elementor-icon i,
.elementor-element-5989d0e .elementor-icon-box-icon:hover .elementor-icon svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* ==========================================================================
   Premium Product Section Custom Styling
   ========================================================================== */
/* Premium Product Card Hover Zoom and Lift */
.product-card-container {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

.product-card-container:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 36px rgba(10, 17, 40, 0.08) !important;
    border-color: #ff6f00 !important; /* Safety Orange border highlight on hover */
}

/* Ensure images inside product cards zoom subtly on hover */
.product-card-container .widget-image img,
.product-card-container .elementor-widget-image img {
    transition: transform 0.4s ease-in-out !important;
}

.product-card-container:hover .widget-image img,
.product-card-container:hover .elementor-widget-image img {
    transform: scale(1.03) !important;
}

/* Align Enquiry button in product cards and make it secondary outline style */
.product-card-container .elementor-button {
    background-color: transparent !important;
    color: #ff6f00 !important;
    border: 2px solid #ff6f00 !important;
    box-shadow: none !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.product-card-container:hover .elementor-button {
    background-color: #ff6f00 !important;
    color: #ffffff !important;
    border-color: #ff6f00 !important;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.2) !important;
}

/* ==========================================================================
   Premium Testimonial Marquee Custom Styling
   ========================================================================== */
.testimonial-marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 30px 0;
    /* Create a fading edge on left and right sides for a premium floating card look */
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.testimonial-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-slide 30s linear infinite;
}

.testimonial-marquee-track:hover {
    animation-play-state: paused; /* Automatically pause scrolling on hover for reading ease */
}

@keyframes marquee-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Slide exactly half the track width (the duplicated cards block) */
    }
}

.testimonial-card {
    flex: 0 0 450px;
    width: 450px;
    margin-right: 35px;
    background: rgba(255, 255, 255, 0.03) !important; /* Premium semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.08) !important; /* Translucent thin border */
    border-radius: 8px !important;
    padding: 32px !important;
    white-space: normal !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 111, 0, 0.4) !important; /* Safety Orange glow border on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

/* Quote Graphic decoration inside cards */
.testimonial-quote-icon {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 80px;
    line-height: 1;
    color: rgba(255, 111, 0, 0.08); /* Safety Orange subtle watermark */
    font-family: Georgia, serif;
    font-weight: bold;
    user-select: none;
    pointer-events: none;
}

.testimonial-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #cbd5e1 !important; /* Metallic silver/gray text for perfect contrast in navy background */
    margin-bottom: 24px !important;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.testimonial-stars {
    color: #ff6f00 !important; /* Safety Orange stars */
    font-size: 15px !important;
    letter-spacing: 2px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author .author-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.testimonial-author .author-company {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    color: #94a3b8 !important; /* Light slate blue info */
    font-weight: 500;
}

/* ==========================================================================
   Clients Page Custom Native Layout Styling
   ========================================================================== */
.mahek-client-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    aspect-ratio: 4/3 !important;
}
.mahek-client-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(10, 17, 40, 0.06) !important;
    border-color: #ff6f00 !important;
}
.mahek-client-card .elementor-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    filter: grayscale(100%) !important;
    opacity: 0.75 !important;
    transition: all 0.3s ease !important;
}
.mahek-client-card:hover .elementor-image img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Testimonials Page Custom Native Layout Styling
   ========================================================================== */
.mahek-testimonial-scan-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.mahek-testimonial-scan-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 30px rgba(10, 17, 40, 0.08) !important;
    border-color: #ff6f00 !important;
}
.mahek-testimonial-scan-card .elementor-image img {
    transition: transform 0.5s ease !important;
}
.mahek-testimonial-scan-card:hover .elementor-image img {
    transform: scale(1.03) !important;
}
.mahek-testimonial-scan-card .elementor-heading-title {
    padding: 15px !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: color 0.3s ease !important;
}
.mahek-testimonial-scan-card:hover .elementor-heading-title {
    color: #ff6f00 !important;
}

.mahek-testimonial-review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.mahek-testimonial-review-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(10, 17, 40, 0.06) !important;
    border-color: #ff6f00 !important;
}
.mahek-testimonial-review-card .elementor-text-editor {
    font-style: italic !important;
}
.mahek-testimonial-quote-icon {
    font-size: 48px !important;
    color: #f1f5f9 !important;
    line-height: 1 !important;
    font-family: Georgia, serif !important;
    position: absolute !important;
    top: 15px !important;
    left: 20px !important;
    z-index: 1 !important;
    user-select: none !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Contact Page Custom Native Layout Styling
   ========================================================================== */
.mahek-contact-info-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 25px !important;
    display: flex !important;
    gap: 20px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s ease !important;
}
.mahek-contact-info-card:hover {
    border-color: #ff6f00 !important;
    box-shadow: 0 10px 20px rgba(10, 17, 40, 0.04) !important;
}
.mahek-contact-info-card .elementor-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mahek-contact-info-card .elementor-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #ff6f00 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}
.mahek-contact-info-card:hover .elementor-icon {
    background: #ff6f00 !important;
    color: #ffffff !important;
}
.mahek-contact-form-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
}
.mahek-contact-form-card .elementor-heading-title {
    font-size: 22px !important;
    margin-bottom: 25px !important;
}

.mahek-contact-map-wrapper {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 50px !important;
}

.mahek-section-title-divider .elementor-heading-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.mahek-section-title-divider .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6f00;
}

/* ==========================================================================
   Footer Top Alignment Fix
   ========================================================================== */
.site-primary-footer-inner-wrap.ast-builder-grid-row {
    align-items: flex-start !important;
}

/* ==========================================================================
   Homepage "Why Choose Us" Cards Glow Upgrade
   ========================================================================== */
.elementor-element-770abfa > .elementor-container > .elementor-element {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 25px 20px !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.elementor-element-770abfa > .elementor-container > .elementor-element:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: #ff6f00 !important;
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.15) !important;
}

/* ==========================================================================
   Premium Floating Call & WhatsApp CTA
   ========================================================================== */
.mahek-floating-cta-wrap {
    position: fixed;
    bottom: 95px; /* Shifted up to sit beautifully above the Scroll-to-Top button */
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999999;
}
.mahek-floating-cta-wrap .cta-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    text-decoration: none;
}
.mahek-floating-cta-wrap .cta-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.mahek-floating-cta-wrap .cta-phone {
    background: linear-gradient(135deg, #ff6f00, #e65100);
}
.mahek-floating-cta-wrap .cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.mahek-floating-cta-wrap .cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.mahek-floating-cta-wrap .cta-btn:hover svg {
    transform: rotate(15deg);
}

/* Pulse Animation for WhatsApp & Call */
.mahek-floating-cta-wrap .cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: cta-pulse-wa 2s infinite;
    pointer-events: none;
}
.mahek-floating-cta-wrap .cta-phone::after {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.5);
    animation: cta-pulse-phone 2s infinite;
}

@keyframes cta-pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@keyframes cta-pulse-phone {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 111, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 111, 0, 0);
    }
}

/* Tooltip Styling */
.mahek-floating-cta-wrap .cta-tooltip {
    position: absolute;
    right: 70px;
    background: #0a1128;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.mahek-floating-cta-wrap .cta-btn:hover .cta-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Responsive Styling */
@media (max-width: 767px) {
    .mahek-floating-cta-wrap {
        position: fixed !important;
        bottom: 80px !important; /* Shifted up to sit above mobile Scroll-to-Top button */
        right: 20px !important;
        gap: 10px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999999 !important;
    }
    .mahek-floating-cta-wrap .cta-btn {
        width: 48px !important;
        height: 48px !important;
        display: flex !important;
    }
    .mahek-floating-cta-wrap .cta-tooltip {
        display: none !important; /* Hide tooltips on mobile to avoid overlapping */
    }
}

/* ==========================================================================
   Mobile Footer Centering & Alignment
   ========================================================================== */
@media (max-width: 921px) {
    /* 1. Center Footer Row Columns */
    .site-primary-footer-inner-wrap.ast-builder-grid-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    /* 2. Center Footer sections */
    .site-primary-footer-inner-wrap .site-footer-section {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    .site-primary-footer-inner-wrap .site-footer-section:last-child {
        margin-bottom: 0 !important;
    }
    /* 3. Center Widget content, headings, and menus */
    .site-primary-footer-inner-wrap .widget {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .site-primary-footer-inner-wrap .widget-title {
        text-align: center !important;
        width: 100% !important;
    }
    .site-primary-footer-inner-wrap .textwidget {
        text-align: center !important;
        width: 100% !important;
    }
    .site-primary-footer-inner-wrap .textwidget p {
        text-align: center !important;
    }
    /* 4. Center Menu items */
    .site-primary-footer-inner-wrap .menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    .site-primary-footer-inner-wrap .menu-item {
        text-align: center !important;
        margin: 5px 0 !important;
        width: 100% !important;
    }
    .site-primary-footer-inner-wrap .menu-item a {
        display: inline-block !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   Premium Mobile Header Menu Overrides
   ========================================================================== */

/* ==========================================================================
   Decoupled Desktop Split Menu Styling
   ========================================================================== */
.mahek-desktop-right-menu-container {
    display: flex;
    align-items: center;
}
.mahek-desktop-right-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
    align-items: center;
}
.mahek-desktop-right-menu-list .menu-item {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mahek-desktop-right-menu-list .menu-item a {
    color: #ffffff !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}
.mahek-desktop-right-menu-list .menu-item a:hover,
.mahek-desktop-right-menu-list .menu-item.current-menu-item a {
    color: #ff6f00 !important;
}

@media (max-width: 921px) {
    /* Hide desktop right-side menu container on mobile */
    .ast-header-html,
    .mahek-desktop-right-menu-container {
        display: none !important;
    }

    /* 1. Force Premium Dark Navy Background for the mobile menu dropdown container under all circumstances */
    #ast-mobile-header .ast-mobile-header-content,
    .ast-mobile-header-wrap .ast-mobile-header-content,
    .ast-builder-menu-mobile,
    .ast-builder-menu-mobile .main-navigation,
    .ast-builder-menu-mobile .main-navigation .main-header-menu,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link {
        background-color: #0a1128 !important;
        background-image: none !important;
    }

    /* Ensure mobile submenu container has a slightly lighter/contrasting dark navy background */
    #ast-hf-mobile-menu .sub-menu {
        background-color: #111936 !important;
        background-image: none !important;
    }

    /* 2. Clear blocky backgrounds on links and toggles */
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .dropdown-menu-toggle {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        height: 50px !important;
        align-self: flex-start !important;
    }

    /* 3. Text color configuration for mobile links (Guarantee visibility with white text on dark navy) */
    #ast-mobile-header a,
    #ast-mobile-header .main-header-menu a,
    #ast-mobile-header .main-header-menu .menu-item a,
    #ast-mobile-header .main-header-menu .menu-item .menu-link,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link {
        color: #ffffff !important;
        text-shadow: none !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }
    
    #ast-mobile-header .main-header-menu a:hover,
    #ast-mobile-header .main-header-menu .menu-item:hover > a,
    #ast-mobile-header .main-header-menu .current-menu-item > a,
    #ast-mobile-header .main-header-menu .current-menu-ancestor > a {
        color: #ff6f00 !important;
        background-color: transparent !important;
    }

    /* 4. Hide duplicate arrow dropdown toggles inside the menu-link text */
    #ast-mobile-header .menu-item .menu-link .dropdown-menu-toggle,
    #ast-mobile-header .menu-item .menu-link .ast-icon {
        display: none !important;
    }

    /* 5. Submenu Toggle button styling */
    #ast-mobile-header .main-header-menu .ast-menu-toggle,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
        background-color: transparent !important;
        color: #ffffff !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        align-self: flex-start !important;
        padding: 0 !important;
    }
    
    #ast-mobile-header .main-header-menu .menu-item:hover > .ast-menu-toggle,
    #ast-mobile-header .main-header-menu .menu-item.current-menu-item > .ast-menu-toggle,
    #ast-mobile-header .main-header-menu .menu-item.ast-submenu-expanded > .ast-menu-toggle,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .ast-menu-toggle,
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .ast-menu-toggle {
        color: #ff6f00 !important;
    }

    /* 6. Mobile header row element alignments */
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 6px 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item .menu-link {
        flex-grow: 1 !important;
        text-align: left !important;
        padding: 10px 15px !important;
    }

    /* 7. Sub-menu container and link styles using ID selector directly to avoid class conflicts */
    #ast-hf-mobile-menu .sub-menu {
        width: 100% !important;
        position: static !important;
        left: 0 !important;
        right: auto !important;
        display: none;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 0 15px !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    #ast-hf-mobile-menu .menu-item.ast-submenu-expanded > .sub-menu {
        display: block !important;
    }
    
    #ast-hf-mobile-menu .sub-menu .menu-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
        display: block !important;
    }
    #ast-hf-mobile-menu .sub-menu .menu-item:last-child {
        border-bottom: none !important;
    }
    
    #ast-hf-mobile-menu .sub-menu a,
    #ast-hf-mobile-menu .sub-menu .menu-link {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #ffffff !important; /* Solid white text for mobile submenu items */
        -webkit-text-fill-color: #ffffff !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 12px 20px !important;
        text-indent: 0 !important;
        transform: none !important;
        position: static !important; /* Force static layout to prevent offset position */
        left: 0 !important;
        right: auto !important;
        margin: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        z-index: 9999 !important;
        background-color: transparent !important;
        text-shadow: none !important;
        text-align: left !important;
        transition: color 0.2s ease;
    }
    
    /* Force visibility and white color on all potential nested child elements of mobile submenu links */
    #ast-hf-mobile-menu .sub-menu a *,
    #ast-hf-mobile-menu .sub-menu .menu-link * {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: inline-block !important;
    }
    
    /* Disable any background-color or content pseudo-elements that might cover the text */
    #ast-hf-mobile-menu .sub-menu a::before,
    #ast-hf-mobile-menu .sub-menu a::after {
        content: none !important;
        display: none !important;
        background-color: transparent !important;
    }
    
    #ast-hf-mobile-menu .sub-menu .menu-item:hover > a,
    #ast-hf-mobile-menu .sub-menu .current-menu-item > a {
        color: #ff6f00 !important; /* Safety Orange on hover/active */
    }

    /* 8. Make trigger hamburger icon highly visible and clean */
    .ast-mobile-header-wrap .ast-mobile-menu-trigger-fill,
    .ast-mobile-header-wrap .ast-mobile-menu-trigger-minimal,
    .ast-mobile-header-wrap .menu-toggle {
        color: #ffffff !important;
        background-color: #ff6f00 !important;
        border-radius: 4px !important;
        padding: 6px 10px !important;
        transition: background-color 0.3s ease !important;
    }
    .ast-mobile-header-wrap .menu-toggle:hover {
        background-color: #e65100 !important;
    }
}







