/* ============================================================
   INDSCOPE ACADEMY — Color override for Amoxi template
   Swaps the orange brand color for a dark blue → purple gradient
   ============================================================ */

:root {
    /* Override Amoxi's brand variables */
    --amoxi-base: #3730a3;                    /* Deep indigo replaces orange */
    --amoxi-base-rgb: 55, 48, 163;

    /* Indscope custom palette */
    --indscope-blue: #1e3a8a;
    --indscope-purple: #6d28d9;
    --indscope-violet: #7c3aed;
    --indscope-gradient: linear-gradient(135deg, #1e3a8a 0%, #6d28d9 100%);
    --indscope-gradient-soft: linear-gradient(135deg, rgba(30, 58, 138, 0.12) 0%, rgba(109, 40, 217, 0.12) 100%);
}

/* ----- Buttons — primary CTA uses the gradient ----- */
.amoxi-btn,
.amoxi-btn-two,
.thm-btn,
button.amoxi-btn,
.btn-primary {
    background: var(--indscope-gradient) !important;
    background-color: var(--indscope-blue) !important;
    color: #fff !important;
    border-color: transparent !important;
    transition: all 0.25s ease !important;
}
.amoxi-btn:hover,
.amoxi-btn-two:hover,
.thm-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #1e3a8a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(55, 48, 163, 0.3) !important;
}

/* Button icon boxes (Amoxi pattern) */
.amoxi-btn__icon-box,
.amoxi-btn__icon {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* ----- Text accents - use solid indigo, not gradient ----- */
.text-base,
.amoxi-text-base,
.sec-title__tagline,
.about-one__sub-title,
.services-one__title-text,
[class*="__title-base"],
[class*="__sub-title"] {
    color: var(--indscope-blue) !important;
}

/* Hover state for menu items */
.main-menu__list > li:hover > a,
.main-menu__list > li.current > a,
.main-menu__list > li.current-menu-item > a {
    color: var(--indscope-blue) !important;
}

/* ----- Backgrounds that were orange ----- */
.bg-base,
.amoxi-bg-base,
.scroll-to-top,
.sidebar-btn__toggler {
    background: var(--indscope-gradient) !important;
}

/* ----- Borders ----- */
.border-base,
[style*="border-color: #ff621d"],
[style*="border-color: rgb(255, 98, 29)"] {
    border-color: var(--indscope-blue) !important;
}

/* ----- Tagline pills (Amoxi's "sec-title__tagline" with orange dot) ----- */
.sec-title__tagline__shape {
    background: var(--indscope-gradient) !important;
}

/* ----- Service cards, feature cards, etc - small accents ----- */
.service-card__serial__shape,
.service-card__icon,
.feature-card__icon {
    background: var(--indscope-gradient) !important;
    color: #fff !important;
}

/* ----- Footer social icons ----- */
.footer-widget__social a:hover,
.footer-widget__links a:hover {
    color: var(--indscope-blue) !important;
}

/* ----- Form focus ring ----- */
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--indscope-blue) !important;
    box-shadow: 0 0 0 3px rgba(55, 48, 163, 0.12) !important;
    outline: none;
}

/* ----- Catch-all: any inline style that uses the original orange ----- */
[style*="#ff621d"] { color: var(--indscope-blue) !important; }
[style*="ff621d"] { color: var(--indscope-blue) !important; }

/* ----- Indscope logo header block (inserted via HTML replacement) ----- */
.indscope-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.indscope-logo__mark {
    width: 42px;
    height: 42px;
    background: var(--indscope-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(55, 48, 163, 0.3);
}
.indscope-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.indscope-logo__name {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: inherit;
}
.indscope-logo__sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--indscope-blue);
    margin-top: 3px;
}

/* Light context (most pages) - subtitle stays blue, name in dark */
.indscope-logo .indscope-logo__name { color: #1a1b1f; }
/* Dark/hero context (home hero, inner page headers) */
.bg-black .indscope-logo .indscope-logo__name,
.hero-one .indscope-logo .indscope-logo__name,
[class*="hero-"] .indscope-logo .indscope-logo__name { color: #fff; }

/* ----- Indscope "Login" header button ----- */
.indscope-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--indscope-gradient);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 16px;
    box-shadow: 0 4px 12px rgba(55, 48, 163, 0.2);
}
.indscope-header-cta:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #1e3a8a 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(55, 48, 163, 0.35);
}
