/**
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
*/

/* 1. Force Astra Header to sit permanently fixed (Flat State - No Shadow) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: none !important; /* Forces the shadow completely OFF at the very top */
    
    /* Smooth Transition: This makes the shadow gracefully fade in instead of snapping */
    transition: box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out; 
}

/* 2. THE NEW SCROLL MAGIC: Add the shadow dynamically via JavaScript */
.site-header.has-shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important; /* Beautiful card elevation shadow on scroll */
}

/* 3. Your Working Spacers (Kept exactly as you had them) */
/*
body .site {
    padding-top: 90px !important; 
}

@media (max-width: 921px) {
    body .site {
        padding-top: 75px !important; 
    }
}
*/

/* 1. Eliminate the universal theme gap above the main page container on the Homepage */
body.home #content,
body.home .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2. Pull the theme entry container flush to the absolute top of the screen */
body.home .ast-container,
body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. The Ultimate Gap Closer: If a white line still exists, this forces the slider element upward to meet the header perfectly */
body.home #wp-block-themeisle-blocks-slider-13ee1efc {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    z-index: 1;
}

/* 4. Fix for Full-Width across the site */
body.home .site-content .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ==========================================================================
   2. GLOBAL INNER PADDING (ALL SIDES, DEVICES & SECTIONS)
   ========================================================================== */

/* DESKTOP CONFIGURATION: Universal 4-directional grid padding */
.wp-block-uagb-container.uagb-layout-grid {
    box-sizing: border-box !important;
    padding-top: 80px !important;     
    padding-bottom: 80px !important;  
    padding-left: 40px !important;    
    padding-right: 40px !important;   
}

/* TABLET CONFIGURATION: Downscaled for medium viewports (e.g. iPads) */
@media (max-width: 1024px) {
    .wp-block-uagb-container.uagb-layout-grid {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        padding-left: 30px !important;   
        padding-right: 30px !important;
    }
}

/* MOBILE CONFIGURATION: Optimizes critical width margins on smartphones */
@media (max-width: 767px) {
    .wp-block-uagb-container.uagb-layout-grid {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;   
        padding-right: 20px !important;
    }
}

/* 1. Fix Phone Number & Contact Info Alignment 
.site-footer .footer-widget-area[data-section="section-footer-builder"] .wp-block-uagb-advanced-heading,
.site-footer .footer-widget-area .widget,
.site-footer .widget_text,
.site-footer .textwidget {
    text-align: left !important;
}
*/

/* Force flex containers in Astra footer widgets to align left 
.site-footer .ast-builder-layout-element,
.site-footer .ast-footer-widget-1,
.site-footer .ast-footer-widget-2,
.site-footer .ast-footer-widget-3 {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
}*/

/* 2. Fix Categories & Quick Links List Items Alignment
.site-footer .widget ul, 
.site-footer .widget ol,
.site-footer .wp-block-pages-list,
.site-footer .wp-block-navigation {
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style-position: inside;
}

.site-footer .widget ul li,
.site-footer .wp-block-pages-list li {
    text-align: left !important;
    justify-content: flex-start !important;
}
*/



