/*
Theme Name: Astra Child
Template: astra
Version: 1.0.4
*/

/* ============================================
   AI ASSISTANT 365 - BLUE / WHITE / SILVER
   ============================================ */

/* --- KILL ASTRA GRID ON HOMEPAGE --- */
.site-content,
#page,
body.home #primary,
body.home #primary .entry-content,
body.home .ast-article-single,
body.home .ast-article-inner,
.page-template-front-page #primary,
.page-template-front-page .entry-content,
.page-template-front-page .ast-article-single,
.page-template-front-page .ast-article-inner,
.page-template-front-page .site-content,
.page-template-front-page #page {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
    flex: none !important;
    grid: none !important;
    column-count: 1 !important;
    column-gap: 0 !important;
}
body.home #primary > *,
body.home .entry-content > *,
.page-template-front-page #primary > *,
.page-template-front-page .entry-content > *,
.page-template-front-page .site-content > *,
.page-template-front-page #page > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    grid-column: auto !important;
}

/* --- FORCE ALL AI365 SECTIONS VERTICAL --- */
.ai365-hero,
.ai365-section,
.ai365-cta-section,
section.ai365-hero,
section.ai365-section,
section.ai365-cta-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    flex: none !important;
    grid-column: 1 / -1 !important;
    column-span: all !important;
}

/* --- HEADER --- */
.site-header .ast-site-title-wrap,
.ast-site-identity .ast-site-title-wrap,
.custom-logo-link + .ast-site-title-wrap {
    display: none !important;
}
.site-header .site-logo-img img.custom-logo {
    max-height: 95px !important;
    width: auto !important;
    height: auto !important;
}
.site-header,
.site-header .ast-primary-header-bar,
.site-header .main-header-bar {
    background: #001a3d !important;
    background-color: #001a3d !important;
}
.main-header-menu .menu-link {
    color: #ffffff !important;
}
.main-header-menu .menu-link:hover {
    color: #00d2ff !important;
}
/* Header CTA button - shiny metallic silver */
.ast-custom-button,
.ast-header-button-1 .ast-custom-button {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 25%, #ffffff 50%, #d0d0d0 75%, #c0c0c0 100%) !important;
    border-color: #d0d0d0 !important;
    color: #001a3d !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5) !important;
}
.ast-custom-button:hover,
.ast-header-button-1 .ast-custom-button:hover {
    background: linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 25%, #f0f0f0 50%, #b8b8b8 75%, #a8a8a8 100%) !important;
    border-color: #b0b0b0 !important;
    color: #001a3d !important;
    box-shadow: 0 4px 12px rgba(255,255,255,0.4), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

/* --- STICKY / FROZEN HEADER --- */
.site-header {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
}

/* --- HERO --- */
.ai365-hero {
    background: linear-gradient(135deg, #00122b 0%, #001a3d 50%, #002855 100%);
    padding: 100px 20px 80px;
    text-align: center;
}
.ai365-hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.ai365-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.ai365-hero h1 span {
    color: #00d2ff;
}
.ai365-hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 500;
}
.ai365-hero-cta {
    margin-top: 30px;
    margin-bottom: 50px;
}
.ai365-hero-cta .ai365-btn {
    margin: 0 10px 15px;
}

/* Comparison cards */
.ai365-compare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.ai365-compare-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.ai365-compare-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00d2ff;
    transform: translateY(-5px);
}
.ai365-compare-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: 600;
}
.ai365-compare-card p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* --- SECTIONS --- */
.ai365-section {
    padding: 80px 20px;
    display: block !important;
    width: 100% !important;
}
.ai365-section-title {
    text-align: center;
    margin-bottom: 60px;
}
.ai365-section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #001a3d;
    margin-bottom: 15px;
}
.ai365-section-title p {
    font-size: 1.1rem;
    color: #222222;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- INDUSTRIES --- */
.ai365-industries {
    background: #f0f2f5;
}
.ai365-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.ai365-industry-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}
.ai365-industry-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-color: #00a8ff;
}
.ai365-industry-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #001a3d;
    margin-top: 15px;
}
.ai365-industry-card p {
    color: #333333;
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
}

/* --- FEATURES (dark) --- */
.ai365-features {
    background: linear-gradient(135deg, #001a3d 0%, #002855 100%);
    color: #ffffff;
}
.ai365-features .ai365-section-title h2 {
    color: #ffffff;
}
.ai365-features .ai365-section-title p {
    color: #e0e0e0;
}
.ai365-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.ai365-feature-item {
    text-align: center;
    padding: 20px;
}
.ai365-feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #00d2ff;
}
.ai365-feature-item p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- TOOLS --- */
.ai365-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.ai365-tool-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.ai365-tool-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
.ai365-tool-card-content {
    padding: 25px;
}
.ai365-tool-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #001a3d;
    margin-bottom: 10px;
}
.ai365-tool-card p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- TESTIMONIALS --- */
.ai365-testimonials {
    background: #f0f2f5;
}
.ai365-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.ai365-testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ai365-testimonial-card p {
    font-style: italic;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 20px;
}
.ai365-testimonial-card .author {
    font-weight: 700;
    color: #001a3d;
}
.ai365-testimonial-card .company {
    color: #0055A4;
    font-size: 0.9rem;
}

/* --- FAQ --- */
.ai365-faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}
.ai365-faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #001a3d;
    margin-bottom: 10px;
}
.ai365-faq-item p {
    color: #333333;
    line-height: 1.6;
}

/* --- CTA --- */
.ai365-cta-section {
    background: linear-gradient(135deg, #001a3d 0%, #002855 100%);
    text-align: center;
    padding: 100px 20px;
    display: block !important;
    width: 100% !important;
}
.ai365-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}
.ai365-cta-section p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- BUTTONS - BLUE / WHITE / SILVER --- */
.ai365-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0055A4 0%, #003d7a 100%);
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #0055A4;
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3);
}
.ai365-btn:hover {
    background: linear-gradient(135deg, #003d7a 0%, #002855 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 164, 0.4);
    color: #ffffff !important;
}
.ai365-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #00d2ff !important;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #00d2ff;
    transition: all 0.3s ease;
}
.ai365-btn-secondary:hover {
    background: #00d2ff;
    color: #001a3d !important;
}

/* --- CONTAINER --- */
.ai365-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- FOOTER --- */
.site-footer {
    background: #c0c0c0 !important;
    color: #001a3d !important;
    text-align: center !important;
    padding: 40px 20px !important;
}
.site-footer a {
    color: #001a3d !important;
}
.site-footer a:hover {
    color: #0055A4 !important;
}
.site-footer .ast-footer-bar-align-center,
.site-footer .ast-footer-copyright {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}
.site-footer .footer-logo {
    margin: 0 auto 20px;
    display: block;
    text-align: center;
}
.site-footer .footer-logo img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    display: block;
}
.site-footer .copyright-text {
    text-align: center;
    font-size: 14px;
    color: #001a3d;
    margin-top: 15px;
}

/* --- ICONS --- */
.ai365-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    padding: 12px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}
.ai365-icon svg {
    width: 36px;
    height: 36px;
}
.ai365-icon-sm {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 85, 164, 0.08);
    border-radius: 50%;
    padding: 10px;
    border: 1px solid rgba(0, 85, 164, 0.15);
}
.ai365-icon-sm svg {
    width: 28px;
    height: 28px;
}

/* --- HEADER CONTACT (Phone + Web Address) --- */
.ai365-header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 15px;
    flex-shrink: 0;
    white-space: nowrap;
}
.ai365-phone {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.ai365-phone:hover {
    color: #00d2ff !important;
}
.ai365-phone svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.ai365-web-link {
    color: #00d2ff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(0, 210, 255, 0.4);
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.ai365-web-link:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: #00d2ff;
}
@media (max-width: 921px) {
    .ai365-header-contact {
        display: none;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .ai365-compare-grid { grid-template-columns: repeat(2, 1fr); }
    .ai365-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .ai365-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ai365-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .ai365-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ai365-hero h1 { font-size: 2rem; }
    .ai365-hero-subtitle { font-size: 1.1rem; }
    .ai365-compare-grid { grid-template-columns: 1fr; }
    .ai365-industry-grid { grid-template-columns: 1fr; }
    .ai365-feature-grid { grid-template-columns: 1fr; }
    .ai365-tools-grid { grid-template-columns: 1fr; }
    .ai365-testimonial-grid { grid-template-columns: 1fr; }
    .ai365-section-title h2 { font-size: 1.8rem; }
    .ai365-section { padding: 50px 15px; }
    .site-header .site-logo-img img.custom-logo { max-height: 55px !important; }
}


/* Hide FAQ from nav menu */
.menu-item-674 { display: none !important; }


/* --- FAQ ACCORDION --- */
.ai365-faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}
.ai365-faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #001a3d;
    padding: 25px 40px 25px 0;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: color 0.3s ease;
    user-select: none;
}
.ai365-faq-question:hover {
    color: #0055A4;
}
.ai365-faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #0055A4;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.ai365-faq-item.active .ai365-faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}
.ai365-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0;
}
.ai365-faq-item.active .ai365-faq-answer {
    max-height: 500px;
    padding: 0 0 25px 0;
}
.ai365-faq-answer p {
    color: #333333;
    line-height: 1.6;
    margin: 0;
}
