/* ============================================
   AssetPro Redesign — Enterprise Color Overrides
   ============================================ */

/* --- Color Variables via Overrides --- */
:root {
    --ap-navy: #1a365d;
    --ap-blue: #2b6cb0;
    --ap-green: #38a169;
    --ap-dark: #1a202c;
    --ap-body: #4a5568;
    --ap-bg: #f7fafc;
    --ap-orange: #ed8936;
    --ap-light-blue: #ebf8ff;
    --ap-white: #ffffff;
}

/* --- Base Overrides --- */
body {
    color: var(--ap-body);
}

a {
    color: var(--ap-blue);
}

a:hover {
    color: var(--ap-navy);
}

/* Override template primary color */
.pix-btn,
.newsletter-submit,
.submit-btn {
    background: var(--ap-green) !important;
    border-color: var(--ap-green) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.pix-btn:hover,
.newsletter-submit:hover,
.submit-btn:hover {
    background: #2f8a5a !important;
    border-color: #2f8a5a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

.pix-btn.btn-outline {
    background: transparent !important;
    border: 2px solid var(--ap-navy) !important;
    color: var(--ap-navy) !important;
}

.pix-btn.btn-outline:hover {
    background: var(--ap-navy) !important;
    color: #fff !important;
}

/* --- Navigation Override --- */
.nav-btn {
    background: var(--ap-green) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.nav-btn:hover {
    background: #2f8a5a !important;
}

.site-header.pix-header-fixed {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-main-menu > li > a {
    color: var(--ap-dark) !important;
    font-weight: 500;
}

.site-main-menu > li > a:hover {
    color: var(--ap-blue) !important;
}

.sub-menu li a {
    color: var(--ap-body) !important;
    font-size: 14px;
}

.sub-menu li a:hover {
    color: var(--ap-green) !important;
}

/* --- Section Titles --- */
.section-title .sub-title {
    color: var(--ap-green) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-title .title {
    color: var(--ap-dark);
    font-weight: 700;
}

.ap-section-desc {
    color: var(--ap-body);
    font-size: 18px;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
}

/* ============================================
   Section 2: Hero Banner
   ============================================ */
.ap-hero {
    background: linear-gradient(135deg, #f7fafc 0%, #ebf8ff 50%, #f0fff4 100%) !important;
    position: relative;
    overflow: hidden;
}

.ap-hero .banner-title,
.banner-one .banner-content .banner-title {
    color: var(--ap-dark) !important;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
}

.ap-hero .banner-title span,
.banner-one .banner-content .banner-title span {
    color: var(--ap-blue) !important;
}

/* Override template's white text on banner */
.banner-one .banner-content p,
.banner-one .banner-content .description {
    color: var(--ap-body) !important;
}

.ap-hero .description {
    color: var(--ap-body) !important;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.banner-one .banner-content .description {
    color: var(--ap-body) !important;
}

.banner-cta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.banner-cta .pix-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.banner-cta .btn-outline {
    background: transparent !important;
    border: 2px solid var(--ap-navy) !important;
    color: var(--ap-navy) !important;
}

.banner-cta .btn-outline:hover {
    background: var(--ap-navy) !important;
    color: #fff !important;
}

.banner-cta .btn-outline i {
    margin-right: 8px;
}

.ap-trust-strip {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(26, 54, 93, 0.1);
}

.ap-trust-strip p {
    color: var(--ap-body);
    font-size: 14px;
    margin: 0;
}

.ap-trust-strip strong {
    color: var(--ap-dark);
}

/* Hero visual placeholder */
.ap-hero-visual {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, var(--ap-navy) 0%, var(--ap-blue) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.3);
}

.ap-hero-visual i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.ap-hero-visual span {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ============================================
   Section 3: Problem Statement Bar
   ============================================ */
.ap-problem-bar {
    background: linear-gradient(135deg, var(--ap-navy) 0%, #2a4365 100%);
    padding: 60px 0;
    color: #fff;
}

.ap-stat {
    padding: 20px;
}

.ap-stat-number {
    color: var(--ap-orange) !important;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ap-problem-bar p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Section 4: Intelligence Modules
   ============================================ */
.ap-modules {
    padding: 100px 0;
    background: var(--ap-bg);
}

.ap-intel-card {
    background: var(--ap-white) !important;
    border-radius: 12px !important;
    padding: 40px 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    height: 100%;
}

.ap-intel-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--ap-blue) !important;
}

.ap-intel-card .saaspik-icon-box-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.ap-icon-fuel .saaspik-icon-box-icon,
.ap-icon-fuel {
    background: rgba(237, 137, 54, 0.1);
    color: var(--ap-orange);
}

.ap-icon-maintenance .saaspik-icon-box-icon,
.ap-icon-maintenance {
    background: rgba(43, 108, 176, 0.1);
    color: var(--ap-blue);
}

.ap-icon-utilization .saaspik-icon-box-icon,
.ap-icon-utilization {
    background: rgba(56, 161, 105, 0.1);
    color: var(--ap-green);
}

.ap-intel-card .saaspik-icon-box-icon i {
    font-size: 28px;
}

.ap-intel-card .pixsass-icon-box-title a {
    color: var(--ap-dark) !important;
    font-weight: 700;
    font-size: 20px;
}

.ap-intel-card .pixsass-icon-box-content p {
    color: var(--ap-body);
    font-size: 15px;
    line-height: 1.6;
}

.ap-metric {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.ap-metric-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--ap-green);
    line-height: 1;
}

.ap-metric-label {
    display: block;
    font-size: 13px;
    color: var(--ap-body);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Section 5: Dashboard Preview (Revolutionize Override)
   ============================================ */
.revolutionize {
    background: var(--ap-navy) !important;
}

.revolutionize .bg-angle {
    background: var(--ap-navy) !important;
}

.dark-title .sub-title {
    color: var(--ap-orange) !important;
}

.dark-title .title {
    color: #fff !important;
}

#pix-tabs-nav li a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

#pix-tabs-nav li.active a,
#pix-tabs-nav li a:hover {
    color: #fff;
}

.ap-video-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.ap-video-link:hover {
    color: var(--ap-orange) !important;
}

.ap-video-link i {
    margin-right: 8px;
    font-size: 20px;
}

/* ============================================
   Section 6: Industry Verticals
   ============================================ */
.ap-industries {
    padding: 100px 0;
    background: var(--ap-white);
}

.ap-industry-card {
    background: var(--ap-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.ap-industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.ap-industry-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.ap-industry-aviation .ap-industry-icon {
    background: rgba(43, 108, 176, 0.1);
    color: var(--ap-blue);
}

.ap-industry-mining .ap-industry-icon {
    background: rgba(237, 137, 54, 0.1);
    color: var(--ap-orange);
}

.ap-industry-construction .ap-industry-icon {
    background: rgba(56, 161, 105, 0.1);
    color: var(--ap-green);
}

.ap-industry-card h3 {
    color: var(--ap-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ap-industry-card p {
    color: var(--ap-body);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ap-industry-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ap-tag-live {
    background: rgba(56, 161, 105, 0.1);
    color: var(--ap-green);
}

.ap-tag-expanding {
    background: rgba(43, 108, 176, 0.1);
    color: var(--ap-blue);
}

.ap-tag-coming {
    background: rgba(237, 137, 54, 0.1);
    color: var(--ap-orange);
}

.ap-also-serving {
    color: var(--ap-body);
    font-size: 16px;
}

/* ============================================
   Section 7: How It Works
   ============================================ */
.ap-how-it-works {
    padding: 100px 0;
    background: var(--ap-bg);
}

.ap-steps {
    margin-top: 20px;
}

.ap-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.ap-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ap-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.ap-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--ap-white);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ap-blue);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.ap-step:hover .ap-step-icon {
    background: var(--ap-blue);
    color: #fff;
    border-color: var(--ap-blue);
}

.ap-step h4 {
    color: var(--ap-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ap-step p {
    color: var(--ap-body);
    font-size: 14px;
    line-height: 1.6;
}

/* Step connector lines (desktop only) */
@media (min-width: 768px) {
    .ap-step::after {
        content: '';
        position: absolute;
        top: 95px;
        right: -15px;
        width: 30px;
        height: 2px;
        background: #e2e8f0;
    }

    .ap-steps .col-md-3:last-child .ap-step::after {
        display: none;
    }
}

/* ============================================
   Section 8: Key Metrics Bar
   ============================================ */
.ap-metrics-bar {
    background: linear-gradient(135deg, var(--ap-navy) 0%, #2a4365 100%);
    padding: 60px 0;
    color: #fff;
}

.ap-metric-block h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 5px;
}

.ap-metric-block p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ============================================
   Section 9: Testimonials Override
   ============================================ */
.testimonials {
    background: var(--ap-white);
}

.testimonial-content p {
    color: var(--ap-body);
}

.bio-info .name {
    color: var(--ap-dark) !important;
}

.bio-info .job {
    color: var(--ap-blue) !important;
}

/* ============================================
   Section 10: CTA Band
   ============================================ */
.ap-cta-band {
    background: linear-gradient(135deg, var(--ap-green) 0%, #2f8a5a 100%);
    padding: 80px 0;
    color: #fff;
}

.ap-cta-band h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.ap-cta-band > .container > p:first-of-type {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.ap-cta-btn {
    background: #fff !important;
    color: var(--ap-green) !important;
    padding: 16px 40px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border: none !important;
}

.ap-cta-btn:hover {
    background: var(--ap-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.ap-cta-phone {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.ap-cta-phone a {
    color: #fff !important;
    text-decoration: none;
}

/* ============================================
   Section 11: Contact Override
   ============================================ */
.contactus {
    background: var(--ap-bg);
}

.contact-info .title {
    color: var(--ap-dark) !important;
}

.ap-location {
    margin-bottom: 20px;
    color: var(--ap-body);
    font-size: 14px;
    line-height: 1.6;
}

.ap-location strong {
    color: var(--ap-dark);
    display: block;
    margin-bottom: 4px;
}

/* ============================================
   Section 12: Footer Override
   ============================================ */
#footer {
    background: var(--ap-dark);
}

.site-info .copyright p {
    color: rgba(255, 255, 255, 0.6);
}

.site-info .copyright a {
    color: rgba(255, 255, 255, 0.8);
}

.site-info-menu li a {
    color: rgba(255, 255, 255, 0.6) !important;
}

.site-info-menu li a:hover {
    color: var(--ap-green) !important;
}

/* ============================================
   Popup Form Override
   ============================================ */
.popup-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 20px;
    background: #fff;
    appearance: auto;
    color: var(--ap-body);
    font-family: "Poppins", sans-serif;
}

.popup-form select:focus {
    border-color: var(--ap-blue);
    outline: none;
}

/* ============================================
   WhatsApp + Return to Top Overrides
   ============================================ */
.float {
    background-color: var(--ap-green) !important;
}

.return-to-top {
    background: var(--ap-navy) !important;
}

/* ============================================
   Page Loader Override
   ============================================ */
.blob-center {
    background: var(--ap-navy) !important;
}

.blob {
    background: var(--ap-blue) !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .ap-hero .banner-title {
        font-size: 32px;
    }

    .ap-hero .description {
        font-size: 16px;
    }

    .ap-hero-visual {
        min-height: 250px;
        margin-top: 40px;
    }

    .ap-problem-bar {
        padding: 40px 0;
    }

    .ap-stat-number {
        font-size: 36px;
    }

    .ap-cta-band h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .ap-hero .banner-title {
        font-size: 28px;
    }

    .banner-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-cta .pix-btn {
        width: 100%;
        text-align: center;
    }

    .ap-stat {
        padding: 15px;
    }

    .ap-stat-number {
        font-size: 32px;
    }

    .ap-modules,
    .ap-industries,
    .ap-how-it-works {
        padding: 60px 0;
    }

    .ap-industry-card,
    .ap-intel-card {
        margin-bottom: 20px;
    }

    .ap-step::after {
        display: none !important;
    }

    .ap-metric-block {
        margin-bottom: 20px;
    }

    .ap-metric-block h2 {
        font-size: 32px;
    }

    .ap-cta-band {
        padding: 60px 0;
    }

    .ap-cta-band h2 {
        font-size: 24px;
    }
}
