/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ============================================
   CUSTOM HERO & FOOTER SECTIONS
   ============================================ */
body h1, body h2, body h3, body h4, body h5, body h6, body .h1, body .h2, body .h3, body .h4, body .h5, body .h6, body .entry-title, body .page-title, body .post-title, .ast-article-inner .entry-title, .ast-archive-title, .ast-single-post .entry-title, .ast-single-post .entry-header .entry-title, .ast-single-post .entry-content h1, .ast-single-post .entry-content h2, .ast-single-post .entry-content h3, .ast-single-post .entry-content h4, .ast-single-post .entry-content h5, .ast-single-post .entry-content h6, .elementor-heading-title, .elementor-widget-heading .elementor-heading-title, .wp-block-heading, .wp-block-heading h1, .wp-block-heading h2, .wp-block-heading h3, .wp-block-heading h4, .wp-block-heading h5, .wp-block-heading h6 {
    font-family: inherit !important;
    font-weight: 700 !important;
}

/* Custom Hero Section */
.ac-custom-hero {
    width: 100%;
}

.ac-custom-hero > * {
    width: 100%;
}

/* Custom Footer Section */
.ac-custom-footer {
    width: 100%;
    clear: both;
}

.ac-custom-footer > * {
    width: 100%;
}

/* Ensure Elementor templates fill the width */
.ac-custom-hero .elementor,
.ac-custom-hero .elementor-section,
.ac-custom-footer .elementor,
.ac-custom-footer .elementor-section {
    width: 100%;
}

/* Remove default margins if needed */
.ac-custom-hero .elementor-section-wrap,
.ac-custom-footer .elementor-section-wrap {
    margin: 0;
}

/* ============================================
   STICKY HEADER STYLES
   ============================================ */

/* Header base styles */
#masthead {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

/* Sticky state */
#masthead.is-sticky {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add padding to body to prevent content jump - adjust based on header height */


/* Ensure logo and menu items remain visible */
#masthead.is-sticky .custom-logo-link img,
#masthead.is-sticky .menu-link {
    filter: none;
}

/* ============================================
   LEADCONNECTOR CHAT WIDGET POSITIONING
   ============================================ */

/* Fix chat widget container position - ensure it stays at bottom right */
#chat-widget-container,
.leadconnector-widget-container,
[data-widget-id="6994a1df4f02a53448ecb730"],
#chat-widget,
.chat-widget-wrapper {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    z-index: 9998 !important;
}

/* Chat window/dialog positioning when opened */
#chat-widget-window,
.chat-widget-window,
.leadconnector-chat-window,
.chat-window,
[role="dialog"][aria-label*="chat" i] {
    position: fixed !important;
    bottom: 90px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    max-height: calc(100vh - 120px) !important;
}

/* Ensure chat button stays at bottom */
#chat-widget-button,
.chat-widget-button,
.leadconnector-chat-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
}
