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

/* Fix navigation dropdown spacing and formatting */
.main-header-menu .sub-menu,
.ast-header-menu .sub-menu {
    min-width: 220px;
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Trim width for AI Agent Catalog submenu - multiple selector approaches */
.menu-item-has-children:nth-child(3) .sub-menu,
.menu-item:contains("AI Agent Catalog") .sub-menu,
.main-header-menu li:nth-child(3) .sub-menu,
.ast-header-menu li:nth-child(3) .sub-menu,
.menu-item[class*="ai-agent"] .sub-menu,
.menu-item[class*="catalog"] .sub-menu {
    min-width: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
}

/* Make sure submenu items fit properly in the smaller width */
.menu-item-has-children:nth-child(3) .sub-menu li a,
.main-header-menu li:nth-child(3) .sub-menu li a,
.ast-header-menu li:nth-child(3) .sub-menu li a {
    font-size: 13px !important;
    padding: 10px 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.main-header-menu .sub-menu li,
.ast-header-menu .sub-menu li {
    padding: 0;
    margin: 0;
    border: none;
}

.main-header-menu .sub-menu li a,
.ast-header-menu .sub-menu li a {
    padding: 12px 20px;
    line-height: 1.4;
    color: #2d3748;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f7fafc;
}

.main-header-menu .sub-menu li:last-child a,
.ast-header-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.main-header-menu .sub-menu li a:hover,
.ast-header-menu .sub-menu li a:hover {
    background: #f8fafc;
    color: #0085FF;
    padding-left: 25px;
}

/* Ensure dropdown appears properly on hover */
.main-header-menu .menu-item-has-children:hover .sub-menu,
.ast-header-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow indicator for dropdown */
.main-header-menu .menu-item-has-children>a::after,
.ast-header-menu .menu-item-has-children>a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.main-header-menu .menu-item-has-children:hover>a::after,
.ast-header-menu .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* Add margin between main nav and page header */
.ai-service-page .service-hero {
    margin-top: 20px !important;
    padding-top: 100px !important;
}

.service-hero {
    margin-top: 20px;
}

/* General spacing for all page headers */
.entry-header,
.page-header,
.ast-article-single .entry-header {
    margin-top: 40px;
    padding-top: 20px;
}

/* Consistent section padding across all AI service pages */
.ai-service-page>div:not(.service-hero) {
    padding: 80px 0 !important;
}

.ai-service-page .service-hero {
    padding: 100px 0 !important;
}

.ai-service-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile menu improvements */
@media (max-width: 768px) {

    .main-header-menu .sub-menu,
    .ast-header-menu .sub-menu {
        position: static;
        box-shadow: none;
        background: #f8fafc;
        margin-left: 20px;
        border-radius: 4px;
        margin-top: 10px;
    }

    .ai-service-page .service-hero {
        margin-top: 10px !important;
        padding-top: 80px !important;
    }
}

/* consultation form css */
#consultation .gform_heading {
    display: none;
}

#consultation .gform_fields {
    gap: 20px;
}

#consultation input,
#consultation select {
    height: auto;
    text-align: start;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

#consultation select option {
    background: #0F172A;
    color: white;
}

#consultation input[type="submit"] {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.28em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
    background: #0085FF;
    color: white;
    border-color: #0085FF;
    padding: 20px 40px;
    font-size: 1.1rem;
}

#consultation input[type="submit"]:hover {
    background: transparent;
    color: #0085FF;
    border-color: #0085FF;
}

@media screen and (max-width: 768px) {
    #consultation .gform_fields {
        grid-template-columns: repeat(1, 1fr);
    }

    #consultation .gform_fields>* {
        grid-column: span 12;
    }
}

#consultation .agent_catalog_field input {
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #718096 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #212a37;
    border: 1px solid #4f5b62;
}

#consultation .agent_catalog_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-agent-catalog-page #consultation input[type="submit"] {
    width: 100%;
}

#consultation .inventory_assistant_field input {
    padding: 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc0c3 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #212a37;
    border: 1px solid #4f5b62;
}

#consultation .inventory_assistant_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-inventory-assistant-page #consultation input[type="submit"] {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: 0.9rem;
    width: 100%;
}

#consultation .research_assistant_field input {
    padding: 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #bdc0c3 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #212a37;
    border: 1px solid #4f5b62;
}

#consultation .research_assistant_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-research-assistant-page #consultation input[type="submit"] {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: 0.9rem;
    width: 100%;
}

#consultation .financial_assistant_field input {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #919dad !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#consultation .financial_assistant_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-financial-assistant-page #consultation input[type="submit"] {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: 0.9rem;
    margin: 0 auto;
}

.ai-customer-service-assistant-page {}

#consultation .customer_service_assistant_field input {
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #718096 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #212a37;
    border: 1px solid #4f5b62;
}

#consultation .customer_service_assistant_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-customer-service-assistant-page #consultation input[type="submit"] {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: 0.9rem;
    width: 100%;
}

.ai-sales-assistant-page {}

#consultation .sales_assistant_field input {
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #919dad !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #212A37;
    color: #5c697d !important;
    border: 1px solid #4F5B62;
}

#consultation .sales_assistant_field select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748 !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-sales-assistant-page #consultation input[type="submit"] {
    padding: 16px 32px;
    border-radius: 2px;
    font-size: 0.9rem;
}