/*
Theme Name:   Athenasoft
Theme URI:    https://athenasoft.co.com
Description:  Child theme of Hello Biz for Athenasoft website redesign.
Author:       Athenasoft
Template:     hello-biz
Version:      1.0.0
Text Domain:  athenasoft
*/

/* ============================================================
   GLOBAL OVERRIDES
   All design is managed through Elementor Global Kit.
   Add overrides here only for things Elementor cannot control.
   ============================================================ */

/* Smooth scrolling for feature nav anchor links */
html {
    scroll-behavior: smooth;
}

/* Prevent layout shift during font load */
body {
    font-display: swap;
}

/* Feature nav (page-level anchor bar) — sticky below global header */
.ats-feature-nav {
    position: sticky;
    top: 70px; /* adjust to match header height */
    z-index: 999;
    background: #ffffff;
    border-bottom: 2px solid #f7f7fb;
    box-shadow: 0 2px 8px rgba(28, 23, 119, 0.06);
}

.ats-feature-nav ul {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ats-feature-nav ul li a {
    display: block;
    padding: 14px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3d3d5c;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ats-feature-nav ul li a:hover,
.ats-feature-nav ul li a.active {
    color: #071452;
    border-bottom-color: #ff6d00;
}

/* Orange accent underline on H2 section headings */
.ats-section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #ff6d00;
    margin-top: 12px;
}

/* Card hover — orange top border lift */
.elementor-widget-container .e-con:hover,
.ats-card:hover {
    border-top: 3px solid #ff6d00;
    box-shadow: 0 8px 32px rgba(28, 23, 119, 0.10);
    transform: translateY(-2px);
    transition: all 0.25s ease;
}

/* Overline label utility class */
.ats-overline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff6d00;
    display: block;
    margin-bottom: 12px;
}

.ats-overline--navy {
    color: #071452;
}

/* Global button hover — orange darken, white text */
.elementor-button:hover,
.elementor-button:focus {
    background-color: #e05f00 !important;
    color: #ffffff !important;
    border-color: #e05f00 !important;
}

/* ============================================================
   STICKY HEADER — scroll state (white background)
   ============================================================ */

.elementor-location-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.ats-scrolled .elementor-location-header {
    background-color: #ffffff !important;
    box-shadow: 0 2px 16px rgba(7, 20, 82, 0.12);
}

/* Nav links switch to navy */
body.ats-scrolled .elementskit-navbar-nav > li > a {
    color: #071452 !important;
}

/* Logo swap — add CSS class "ats-logo-dark" to default logo widget,
   "ats-logo-light" to the white-bg logo widget in Elementor header */
.ats-logo-light { display: none; }
.ats-logo-dark  { display: block; }
body.ats-scrolled .ats-logo-light { display: block; }
body.ats-scrolled .ats-logo-dark  { display: none; }

/* ============================================================
   ELEMENTSKIT NAV — remove active/hover underline on Services
   ============================================================ */


/* ============================================================
   MEGA MENU — [ats_mega_services] shortcode styles
   ============================================================ */

.ats-mega-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
}

/* Left navy category panel */
.ats-mega-left {
    width: 250px;
    flex-shrink: 0;
    background: #071452;
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.ats-cat-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.ats-cat-tab:hover,
.ats-cat-tab.ats-cat-active {
    background: rgba(255, 109, 0, 0.12);
    border-left-color: #ff6d00;
}

.ats-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 109, 0, 0.6);
    border-radius: 50%;
    color: #ff6d00;
    font-size: 18px;
}

.ats-cat-label {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.ats-cat-chevron {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.ats-cat-tab.ats-cat-active .ats-cat-chevron {
    color: #ff6d00;
}

.ats-mega-left-footer {
    margin-top: auto;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ats-mega-left-footer a {
    font-size: 13px;
    font-weight: 500;
    color: #ff6d00 !important;
    text-decoration: none;
}

/* Right service pane */
.ats-mega-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    min-width: 0;
}

.ats-mega-pane {
    display: none;
    padding: 20px 24px 12px;
    flex: 1;
    overflow-y: auto;
}

.ats-mega-pane.ats-pane-active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-content: start;
}

.ats-service-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e8e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.ats-service-card:hover {
    border-color: #ff6d00;
    box-shadow: 0 4px 16px rgba(7, 20, 82, 0.08);
}

.ats-svc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1.5px solid #ff6d00;
    border-radius: 50%;
    background: rgba(255, 109, 0, 0.06);
    color: #ff6d00;
    font-size: 18px;
}

.ats-svc-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ats-svc-title {
    font-size: 13px;
    font-weight: 600;
    color: #071452;
    line-height: 1.3;
}

.ats-svc-desc {
    font-size: 12px;
    color: #3d3d5c;
    line-height: 1.4;
}

/* CTA banner at bottom */
.ats-mega-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: #f7f7fb;
    border-top: 1px solid #e8e8f0;
    flex-shrink: 0;
}

.ats-mega-cta img {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.ats-mega-cta-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.ats-mega-cta-title {
    font-size: 14px;
    font-weight: 600;
    color: #071452;
}

.ats-mega-cta-desc {
    font-size: 12px;
    color: #3d3d5c;
    margin-top: 2px;
}

.ats-cta-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #ff6d00;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.ats-cta-btn:hover {
    background: #e05f00;
}
