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

/* ==========================================================================
   WP-Hosted Custom Styles
   ========================================================================== */

/* Logo gradient effect - matches heading style */
.wp-block-site-title a,
.site-title a {
    background: linear-gradient(135deg, #f9fafb 0%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700;
}

/* Hover state - slightly brighter */
.wp-block-site-title a:hover,
.site-title a:hover {
    background: linear-gradient(135deg, #ffffff 0%, #34d399 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-decoration: none !important;
}

/* Dark header background - all header elements */
.ast-primary-header-bar,
.ast-main-header-wrap,
#masthead,
.site-header,
header.site-header,
.ast-builder-header-row,
.site-header-primary-section-left,
.site-header-primary-section-right {
    background-color: #1a1f36 !important;
    border: none !important;
    border-bottom: none !important;
}

/* White navigation text on dark header - Astra Header Builder selectors */
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > a,
.ast-builder-menu .menu-item > .menu-link,
.main-header-menu .menu-item > .menu-link,
.ast-header-break-point .main-header-menu a,
.main-navigation a,
.ast-primary-header-bar .main-header-menu > .menu-item > a,
.ast-header-break-point .ast-builder-menu-1 .main-header-menu > .menu-item > a {
    color: #ffffff !important;
}

/* Green hover on navigation - Astra Header Builder selectors */
.ast-builder-menu-1 .menu-item > .menu-link:hover,
.ast-builder-menu-1 .menu-item > a:hover,
.ast-builder-menu .menu-item > .menu-link:hover,
.main-header-menu .menu-item > .menu-link:hover,
.main-navigation a:hover,
.ast-primary-header-bar .main-header-menu > .menu-item > a:hover {
    color: #10b981 !important;
}

/* Active menu item */
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: #10b981 !important;
}

/* Dark footer background */
.site-footer,
.ast-footer-copyright,
footer.site-footer,
.ast-small-footer,
.ast-footer-overlay {
    background-color: #1a1f36 !important;
}

/* White footer text */
.site-footer,
.site-footer p,
.site-footer a,
.ast-footer-copyright,
.ast-small-footer .ast-footer-site-title,
.ast-small-footer .ast-footer-site-title a {
    color: #ffffff !important;
}

/* Green hover on footer links */
.site-footer a:hover {
    color: #10b981 !important;
}

/* Remove white strips - eliminate primary content margins */
#primary,
.content-area.primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Fix inner page hero cover blocks - override dim-0 opacity */
/* Must match WordPress core specificity: .has-background-dim.has-background-dim-0 */
.wp-block-cover .wp-block-cover__background.has-background-dim-0,
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-0,
.wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-0 {
    opacity: 1 !important;
}

/* Hero heading gradient - matches homepage style */
.wp-block-cover h1 {
    background: linear-gradient(135deg, #f9fafb 0%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Ensure hero subtext is white on dark cover backgrounds */
.wp-block-cover p {
    color: #ffffff !important;
}

/* Mobile menu - ensure links are visible on dark background */
.ast-mobile-popup-drawer .main-header-menu a,
.ast-mobile-popup-content .menu-item a,
.ast-mobile-header-content .main-header-menu a,
.ast-header-break-point .main-navigation ul li a,
.ast-header-break-point .ast-builder-menu-mobile .main-header-menu > .menu-item > a {
    color: #ffffff !important;
}

/* Mobile menu hover state */
.ast-mobile-popup-drawer .main-header-menu a:hover,
.ast-mobile-popup-content .menu-item a:hover,
.ast-mobile-header-content .main-header-menu a:hover,
.ast-header-break-point .main-navigation ul li a:hover {
    color: #10b981 !important;
}

/* Mobile menu background - high specificity */
.ast-mobile-popup-drawer,
.ast-mobile-popup-content,
.ast-mobile-header-content,
.ast-builder-menu-mobile .main-header-menu,
.ast-header-break-point .main-header-menu,
.ast-header-break-point .main-header-menu.ast-menu-shadow,
.ast-header-break-point .main-header-menu.ast-nav-menu,
.ast-header-break-point .ast-mobile-header-content .main-header-menu,
.ast-header-break-point .main-navigation .main-header-menu,
body.ast-header-break-point .main-header-menu {
    background-color: #1a1f36 !important;
}

/* Mobile menu item backgrounds */
.ast-builder-menu-mobile .menu-item,
.ast-header-break-point .main-header-menu .menu-item,
.ast-header-break-point .main-header-menu.ast-nav-menu .menu-item,
body.ast-header-break-point .main-header-menu .menu-item {
    background-color: #1a1f36 !important;
}

/* Mobile navigation wrapper */
.ast-header-break-point .main-navigation,
.ast-header-break-point .ast-mobile-header-content .main-navigation {
    background-color: #1a1f36 !important;
}

/* Mobile menu link backgrounds - fix white background issue */
.ast-header-break-point .menu-link,
.ast-header-break-point .main-header-menu .menu-link,
.ast-header-break-point .main-header-menu a.menu-link,
body.ast-header-break-point .main-header-menu .menu-item > .menu-link,
.ast-builder-menu-mobile .menu-link,
.ast-mobile-header-content .menu-link,
.ast-mobile-header-content .main-header-menu .menu-link,
.ast-mobile-header-content .menu-item .menu-link,
.ast-mobile-header-content a.menu-link,
body .ast-mobile-header-content .menu-link,
body.ast-header-break-point .ast-mobile-header-content .menu-link {
    background-color: transparent !important;
    background: transparent !important;
}

/* ==========================================================================
   Gravity Forms - Global Button Styling
   ========================================================================== */

/* Submit button - brand green color (Gravity Forms 2.9+ orbital theme) */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"],
.gform_wrapper.gform-theme--orbital .gform_button,
.gform_wrapper.gform-theme--orbital input[type="submit"],
.gform_wrapper.gform-theme--orbital .gform_footer .gform_button,
.gform-theme--orbital .gform_button.button,
.gform-theme .gform_button.button {
    background-color: #10b981 !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

/* Submit button hover */
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper.gform-theme--orbital .gform_button:hover,
.gform_wrapper.gform-theme--orbital input[type="submit"]:hover,
.gform-theme--orbital .gform_button.button:hover,
.gform-theme .gform_button.button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
   Gravity Forms - Dark Theme Styling
   ========================================================================== */

/* Form labels - white text */
.has-black-background-color .gfield_label,
.has-black-background-color .gform_wrapper .gfield_label,
.has-black-background-color .gform_wrapper label {
    color: #ffffff !important;
}

/* Form field descriptions */
.has-black-background-color .gfield_description,
.has-black-background-color .gform_wrapper .gfield_description {
    color: #9ca3af !important;
}

/* Input fields - light background for contrast */
.has-black-background-color .gform_wrapper input[type="text"],
.has-black-background-color .gform_wrapper input[type="email"],
.has-black-background-color .gform_wrapper input[type="tel"],
.has-black-background-color .gform_wrapper input[type="url"],
.has-black-background-color .gform_wrapper input[type="number"],
.has-black-background-color .gform_wrapper textarea,
.has-black-background-color .gform_wrapper select {
    background-color: #ffffff !important;
    color: #1a1f36 !important;
    border: 1px solid #374151 !important;
    border-radius: 6px !important;
}

/* Input focus state */
.has-black-background-color .gform_wrapper input:focus,
.has-black-background-color .gform_wrapper textarea:focus,
.has-black-background-color .gform_wrapper select:focus {
    border-color: #10b981 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

/* Submit button */
.has-black-background-color .gform_wrapper .gform_button,
.has-black-background-color .gform_wrapper input[type="submit"] {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

/* Submit button hover */
.has-black-background-color .gform_wrapper .gform_button:hover,
.has-black-background-color .gform_wrapper input[type="submit"]:hover {
    background-color: #059669 !important;
}

/* Required field indicator - keep visible */
.has-black-background-color .gfield_required {
    color: #f87171 !important;
}

/* ==========================================================================
   Pricing Toggle - Monthly/Annual Billing Switch
   ========================================================================== */

/* Toggle container */
.pricing-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    gap: 0.75rem;
}

/* Toggle wrapper with labels */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* Toggle labels */
.pricing-toggle-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.pricing-toggle-label.active {
    color: #ffffff;
}

/* The toggle switch */
.pricing-toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-toggle-switch.monthly::after {
    transform: translateX(26px);
}

/* Save badge */
.pricing-save-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pricing amount transition */
.pricing-amount {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pricing-amount.changing {
    opacity: 0;
    transform: translateY(-5px);
}

/* Annual billing note */
.pricing-billing-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    min-height: 1.25em;
    transition: opacity 0.2s ease;
}

/* Pricing card styling overrides for toggle compatibility */
.pricing-card .price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hide per month text when showing annual billing note */
.pricing-per-month {
    transition: opacity 0.2s ease;
}

/* Save badge on individual cards */
.pricing-card-save-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pricing-card-save-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Divider/Separator Block - Centered, Short Style
   ========================================================================== */

/* Keep separators centered but short - cleaner section breaks */
.wp-block-separator,
hr.wp-block-separator {
    width: 60px !important;
    max-width: 60px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    opacity: 0.3 !important;
}