/*
 * Norvia.io Color and Font Override
 * This file overrides the InferraAI template colors and fonts
 * to match Norvia.io branding
 */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Norvia.io Color Variables */
:root {
    --bs-primary: #01A3FF !important;
    --bs-primary-rgb: 1, 163, 255 !important;
    --bs-secondary: #9568FF !important;
    --bs-secondary-rgb: 149, 104, 255 !important;
    --bs-body-bg: #ffffff !important;
    --bs-body-bg-rgb: 255, 255, 255 !important;
}

/* Override pinkish background colors - AGGRESSIVE */
html {
    background-color: #ffffff !important;
    height: auto !important;
    overflow-y: auto !important;
}

body {
    background-color: #ffffff !important;
    background: #ffffff !important;
    height: auto !important;
    overflow-y: auto !important;
    min-height: 100vh !important;
}

.img-thumbnail {
    background-color: #f8f9fa !important;
}

/* Override table striped pinkish background */
.table {
    --bs-table-striped-bg: #f8f9fa !important;
}

/* Override any remaining pinkish backgrounds */
.table-primary {
    --bs-table-bg: #cfe2ff !important;
    --bs-table-border-color: #bacbe6 !important;
    --bs-table-striped-bg: #c5d7f2 !important;
    --bs-table-active-bg: #bacbe6 !important;
    --bs-table-hover-bg: #bfd1ec !important;
}

/* Section backgrounds - FORCE WHITE (except in-avo-12 which has background image) */
section:not(.in-avo-12) {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.in-avo-10,
.in-avo-11,
.in-avo-16,
.in-avo-2 {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Allow background image for in-avo-12 section */
.in-avo-12 {
    background-color: transparent !important;
}

/* Hero/Carousel section */
#slideshow,
.carousel,
.carousel-inner,
.carousel-item {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Container backgrounds */
.container,
.container-fluid {
    background: transparent !important;
}

/* Any bg-light should be pure white, not pinkish */
.bg-light {
    background-color: #f8f9fa !important;
    background: #f8f9fa !important;
}

/* Main content area */
main {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Override Primary Color */
.text-primary,
.link-primary,
.btn-link.link-primary {
    color: #01A3FF !important;
}

.bg-primary {
    background-color: #01A3FF !important;
}

.btn-primary {
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0083cd !important;
    border-color: #0083cd !important;
}

.btn-outline-primary {
    color: #01A3FF !important;
    border-color: #01A3FF !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
    color: white !important;
}

.badge.bg-primary {
    background-color: #01A3FF !important;
}

.icon-wrap.bg-primary {
    background-color: #01A3FF !important;
}

/* Secondary Color */
.text-secondary {
    color: #9568FF !important;
}

.bg-secondary {
    background-color: #9568FF !important;
}

/* Override Font Family to Poppins */
body,
h1, h2, h3, h4, h5, h6,
.navbar,
.nav-link,
.btn,
.card,
.form-control,
.lead,
p, span, div {
    font-family: 'Poppins', sans-serif !important;
}

/* Theme Color for Meta */
meta[name="theme-color"] {
    content: "#01A3FF";
}

/* Primary Color for Highlights */
.text-highlight {
    color: #01A3FF !important;
}

/* Border Primary */
.border-primary {
    border-color: #01A3FF !important;
}

/* Links */
a {
    color: #01A3FF;
}

a:hover {
    color: #0083cd;
}

/* Spinner/Loader */
.spinner-grow.text-primary {
    color: #01A3FF !important;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(1, 163, 255, 0.1) !important;
    color: #01A3FF !important;
}

/* Form Controls Focus */
.form-control:focus,
.form-select:focus {
    border-color: #01A3FF !important;
    box-shadow: 0 0 0 0.25rem rgba(1, 163, 255, 0.25) !important;
}

/* Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #01A3FF !important;
}

/* Pagination */
.page-link {
    color: #01A3FF !important;
}

.page-item.active .page-link {
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
}

/* Progress Bar */
.progress-bar {
    background-color: #01A3FF !important;
}

/* List Group */
.list-group-item.active {
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
}

/* Navbar */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #01A3FF !important;
}

/* Carousel Indicators */
.carousel-indicators button.active {
    background-color: #01A3FF !important;
}

/* Alert Primary */
.alert-primary {
    background-color: rgba(1, 163, 255, 0.1) !important;
    border-color: #01A3FF !important;
    color: #01A3FF !important;
}

/* Toast */
.toast-primary {
    background-color: #01A3FF !important;
}

/* Custom Badge */
.badge.rounded-pill.bg-primary {
    background-color: #01A3FF !important;
}

/* FA Icons with Primary Color */
.fa-check.text-primary,
i.text-primary {
    color: #01A3FF !important;
}

/* Chart/Graph Primary Colors (if using chart libraries) */
[class*="chart-"] .primary-color,
.apexcharts-theme-light .apexcharts-series[seriesName="series-1"] path {
    fill: #01A3FF !important;
    stroke: #01A3FF !important;
}

/* TradingView Blue Text */
.blue-text {
    color: #01A3FF !important;
}

/* Footer Links Hover */
footer a:hover {
    color: #01A3FF !important;
}

/* Card Hover Effects with Primary */
.card:hover {
    border-color: #01A3FF !important;
}

/* Input Group Text */
.input-group-text {
    background-color: rgba(1, 163, 255, 0.1);
    border-color: #01A3FF;
    color: #01A3FF;
}

/* Switch/Toggle Primary */
.form-switch .form-check-input:checked {
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
}

/* Range Slider */
.form-range::-webkit-slider-thumb {
    background-color: #01A3FF !important;
}

.form-range::-moz-range-thumb {
    background-color: #01A3FF !important;
}

/* Tabs */
.nav-tabs .nav-link.active {
    color: #01A3FF !important;
    border-color: #01A3FF !important;
}

.nav-pills .nav-link.active {
    background-color: #01A3FF !important;
}

/* Modal Header */
.modal-header {
    border-bottom-color: rgba(1, 163, 255, 0.2) !important;
}

/* Offcanvas */
.offcanvas-header {
    border-bottom-color: rgba(1, 163, 255, 0.2) !important;
}

/* Popover/Tooltip */
.bs-popover-top .popover-arrow::after,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #01A3FF !important;
}

/* Table Hover */
.table-hover tbody tr:hover {
    background-color: rgba(1, 163, 255, 0.05) !important;
}

/* Ensure Poppins loads properly */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override any remaining red/pink colors from InferraAI (#01A3FF) */
[style*="#01A3FF"],
[style*="rgb(1, 163, 255)"] {
    color: #01A3FF !important;
    background-color: #01A3FF !important;
    border-color: #01A3FF !important;
}

/* Dark theme support */
[data-theme="dark"] {
    background-color: #111827 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body {
    background: #111827 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .top-navbar {
    background: #1f2937 !important;
    border-bottom-color: #374151 !important;
}

[data-theme="dark"] .sidebar {
    background: #1f2937 !important;
    border-right-color: #374151 !important;
}

[data-theme="dark"] .hamburger-menu span {
    background: #ffffff !important;
}

[data-theme="dark"] .nav-logo {
    color: #01A3FF !important;
}

[data-theme="dark"] .theme-toggle {
    background: #374151 !important;
}

[data-theme="dark"] .theme-toggle i {
    color: #ffffff !important;
}

[data-theme="dark"] .user-icon-btn {
    background: #1f2937 !important;
    border-color: #01A3FF !important;
}

[data-theme="dark"] .user-icon-btn i {
    color: #01A3FF !important;
}

[data-theme="dark"] .user-dropdown {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-theme="dark"] .sidebar-menu a {
    color: #ffffff !important;
}

[data-theme="dark"] .sidebar-menu a:hover {
    background: #374151 !important;
}

[data-theme="dark"] .card {
    background: #1f2937 !important;
    color: #ffffff !important;
    border-color: #374151 !important;
}

[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: #ffffff !important;
}

[data-theme="dark"] p {
    color: #d1d5db !important;
}

[data-theme="dark"] .lead {
    color: #d1d5db !important;
}

/* Footer Dark Theme Support */
[data-theme="dark"] footer,
[data-theme="dark"] .in-avo-footer {
    background: #0f172a !important;
    color: #9ca3af !important;
}

[data-theme="dark"] .in-avo-footer h5,
[data-theme="dark"] .in-avo-footer .h5 {
    color: #ffffff !important;
}

[data-theme="dark"] .in-avo-footer h5:before,
[data-theme="dark"] .in-avo-footer .h5:before {
    background-color: #374151 !important;
}

[data-theme="dark"] .in-avo-footer .list-unstyled a {
    color: #9ca3af !important;
}

[data-theme="dark"] .in-avo-footer .list-unstyled a:hover {
    color: #01A3FF !important;
}

[data-theme="dark"] .in-avo-footer .footer-email {
    color: #01A3FF !important;
}

[data-theme="dark"] .in-avo-footer .social-media-list div {
    background-color: rgba(1, 163, 255, 0.15) !important;
}

[data-theme="dark"] .in-avo-footer .social-media-list a i {
    color: rgba(1, 163, 255, 0.8) !important;
}

[data-theme="dark"] .in-avo-footer .social-media-list a:hover i {
    color: #01A3FF !important;
}

[data-theme="dark"] .in-avo-footer .trade-warning {
    background: #1f2937 !important;
    color: #d1d5db !important;
    border-color: rgba(1, 163, 255, 0.3) !important;
}

[data-theme="dark"] .in-avo-footer .trade-warning h6,
[data-theme="dark"] .in-avo-footer .trade-warning .h6 {
    color: #01A3FF !important;
}

[data-theme="dark"] .in-avo-footer .trade-warning h6 span,
[data-theme="dark"] .in-avo-footer .trade-warning .h6 span {
    background: #1f2937 !important;
}

[data-theme="dark"] .in-avo-footer .copyright-text {
    color: #6b7280 !important;
}

/* Carousel and sections dark theme */
[data-theme="dark"] #slideshow {
    background: #111827 !important;
}

[data-theme="dark"] .carousel-item {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

[data-theme="dark"] .carousel-caption {
    background: rgba(15, 23, 42, 0.8) !important;
    border-radius: 20px;
    padding: 40px !important;
}

[data-theme="dark"] .carousel-caption h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .carousel-caption p {
    color: #e5e7eb !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .carousel-caption .btn-primary {
    background: #01A3FF !important;
    border-color: #01A3FF !important;
    box-shadow: 0 4px 14px rgba(1, 163, 255, 0.4);
}

/* Make carousel images slightly dimmed in dark mode */
[data-theme="dark"] .carousel-item img {
    opacity: 0.9;
    filter: brightness(0.95);
}

[data-theme="dark"] .in-avo-2 {
    background: #0f172a !important;
}

[data-theme="dark"] .in-avo-2 .active-col {
    background: #1f2937 !important;
}

[data-theme="dark"] .accordion-item {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-theme="dark"] .accordion-button {
    background: #1f2937 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: #374151 !important;
    color: #01A3FF !important;
}

[data-theme="dark"] .accordion-body {
    background: #1f2937 !important;
    color: #d1d5db !important;
}

[data-theme="dark"] .bg-light {
    background: #1f2937 !important;
}

[data-theme="dark"] .text-muted {
    color: #9ca3af !important;
}

[data-theme="dark"] .text-secondary {
    color: #9ca3af !important;
}

/* Additional section backgrounds for dark mode */
[data-theme="dark"] section {
    background: transparent !important;
}

[data-theme="dark"] .in-avo-10 {
    background: #111827 !important;
}

[data-theme="dark"] .in-avo-10 .card {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-theme="dark"] .in-avo-11 {
    background: #111827 !important;
}

[data-theme="dark"] .in-avo-12 {
    background-color: rgba(15, 23, 42, 0.7) !important;
    /* Allow background image to show through with dark overlay */
}

[data-theme="dark"] .in-avo-16 {
    background: #111827 !important;
}

/* Symbol slide cards in carousel */
[data-theme="dark"] .symbol-slide {
    background: rgba(31, 41, 55, 0.95) !important;
    border-color: #374151 !important;
}

/* Icon wraps */
[data-theme="dark"] .icon-wrap {
    filter: brightness(1.2);
}

/* Text highlights */
[data-theme="dark"] .text-highlight {
    color: #01A3FF !important;
}

/* Blockquote footer */
[data-theme="dark"] .blockquote-footer {
    color: #9ca3af !important;
}

/* Active column in in-avo-2 section */
[data-theme="dark"] .in-avo-2 .active-col h4 {
    color: #ffffff !important;
}

[data-theme="dark"] .in-avo-2 .active-col p {
    color: #e5e7eb !important;
}

/* Price display */
[data-theme="dark"] .price-display h3,
[data-theme="dark"] .price-display h1 {
    color: #01A3FF !important;
}

/* Badge */
[data-theme="dark"] .badge {
    background: #01A3FF !important;
    color: #ffffff !important;
}

/* Border end styles */
[data-theme="dark"] .border-end-lg {
    border-color: #374151 !important;
}

/* Lists */
[data-theme="dark"] .fa-ul li {
    color: #d1d5db !important;
}

/* TradingView widget */
[data-theme="dark"] .tradingview-widget-container {
    background: #1f2937 !important;
    border-radius: 10px;
    padding: 20px;
}

/* Fix accordion/dropdown pink background colors */
.accordion-item,
.accordion-button,
.accordion-body {
    background-color: #ffffff !important;
}

.accordion-button {
    background-color: #f8f9fa !important;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f5ff !important;
    color: #01A3FF !important;
    border-color: #01A3FF !important;
}

.accordion-button:focus {
    border-color: #01A3FF !important;
    box-shadow: 0 0 0 0.25rem rgba(1, 163, 255, 0.25) !important;
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(50%) sepia(93%) saturate(2849%) hue-rotate(180deg) brightness(103%) contrast(101%);
}

/* FAQ Section Redesign */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-section .lead {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-accordion .accordion-item {
    border: 2px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    border-color: #01A3FF;
    box-shadow: 0 4px 12px rgba(1, 163, 255, 0.1);
}

.faq-accordion .accordion-button {
    padding: 1.5rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #ffffff !important;
    border: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #01A3FF !important;
    color: #ffffff !important;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
    padding: 1.5rem 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    background-color: #f9fafb !important;
}

.faq-contact-box {
    background: linear-gradient(135deg, #01A3FF 0%, #0284c7 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: white;
}

.faq-contact-box h5 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-contact-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.faq-contact-box a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.faq-contact-box a:hover {
    color: #e5e7eb;
}

/* Dark theme FAQ styling */
[data-theme="dark"] .faq-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .faq-section h2 {
    color: #ffffff;
}

[data-theme="dark"] .faq-section .lead {
    color: #9ca3af;
}

[data-theme="dark"] .faq-accordion .accordion-item {
    background: #1f2937 !important;
    border-color: #374151;
}

[data-theme="dark"] .faq-accordion .accordion-item:hover {
    border-color: #01A3FF;
}

[data-theme="dark"] .faq-accordion .accordion-button {
    background-color: #1f2937 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
    background-color: #01A3FF !important;
    color: #ffffff !important;
}

[data-theme="dark"] .faq-accordion .accordion-body {
    background-color: #111827 !important;
    color: #d1d5db !important;
}

/* Cache busted 1760897520 */
