.elementor-kit-13{--e-global-color-primary:#27292A;--e-global-color-secondary:#54595F;--e-global-color-text:#FFBC28;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#202020;}.elementor-kit-13 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1290px;}.e-con{--container-max-width:1290px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}.sc_layouts_title_caption{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================================================
   1. DEFINE THE 6 GLOBAL THEMES
   ========================================================= */

/* Theme 1: Dark Mode (Nearly Black & Gold) */
body[data-ks-theme="dark"] {
    --ks-bg-main: #18181b; /* Nearly black / Dark grey */
    --ks-bg-surface: #27272a; /* Slightly lighter grey for boxes */
    --ks-text-primary: #ffffff;
    --ks-text-secondary: #d1d5db;
    --ks-accent: #f59e0b; /* GOLD Titles/Buttons */
    --ks-border: #f59e0b; /* GOLD Borders */
    background-image: none !important;
}

/* Theme 2: Light Mode (White & Gold) */
body[data-ks-theme="light"] {
    --ks-bg-main: #ffffff; /* Pure White */
    --ks-bg-surface: #f9fafb;
    --ks-text-primary: #111827;
    --ks-text-secondary: #4b5563;
    --ks-accent: #f59e0b; /* GOLD Titles/Buttons */
    --ks-border: #f59e0b; /* GOLD Borders */
    background-image: none !important;
}

/* Theme 3: Galaxy Mode (Cosmos / Space Background) */
body[data-ks-theme="galaxy"] {
    --ks-bg-main: #0f0c29; 
    --ks-bg-surface: rgba(15, 23, 42, 0.6); /* Transparent boxes so space shows through */
    --ks-text-primary: #ffffff;
    --ks-text-secondary: #cbd5e1;
    --ks-accent: #a855f7; /* Cosmic Purple */
    --ks-border: #a855f7; /* Cosmic Purple */
    /* Deep space gradient background instead of plain color */
    background-image: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%) !important; 
}

/* Theme 4: Mono (White Background) */
body[data-ks-theme="mono"] {
    --ks-bg-main: #ffffff;
    --ks-bg-surface: #f8fafc;
    --ks-text-primary: #0f172a;
    --ks-text-secondary: #475569;
    --ks-accent: #334155; /* Slate Grey */
    --ks-border: #94a3b8;
    background-image: none !important;
}

/* Theme 5: Multi (White Background) */
body[data-ks-theme="multi"] {
    --ks-bg-main: #ffffff;
    --ks-bg-surface: #f0fdf4;
    --ks-text-primary: #064e3b;
    --ks-text-secondary: #10b981;
    --ks-accent: #059669; /* Emerald Green */
    --ks-border: #34d399;
    background-image: none !important;
}

/* Theme 6: Combo (White Background) */
body[data-ks-theme="combo"] {
    --ks-bg-main: #ffffff;
    --ks-bg-surface: #fef2f2;
    --ks-text-primary: #7f1d1d;
    --ks-text-secondary: #ef4444;
    --ks-accent: #dc2626; /* Red */
    --ks-border: #f87171;
    background-image: none !important;
}


/* =========================================================
   2. OVERRIDE ELEMENTOR GLOBALS
   ========================================================= */

/* Apply main background and transitions to the whole body */
body[data-ks-theme] {
    background-color: var(--ks-bg-main) !important;
    color: var(--ks-text-secondary) !important;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Strip Elementor's default white backgrounds so the theme bleeds through */
body[data-ks-theme] .elementor-section,
body[data-ks-theme] .elementor-container,
body[data-ks-theme] .elementor-widget-wrap,
body[data-ks-theme] .elementor-background-overlay {
    background-color: transparent !important;
}

/* Force Elementor Headings to use the Theme's ACCENT Color (Fixes the Grey Titles issue!) */
body[data-ks-theme] h1,
body[data-ks-theme] h2,
body[data-ks-theme] h3,
body[data-ks-theme] h4,
body[data-ks-theme] h5,
body[data-ks-theme] h6,
body[data-ks-theme] .elementor-heading-title {
    color: var(--ks-accent) !important;
    transition: color 0.4s ease;
}

/* Force Elementor Paragraphs to use the Theme's Secondary Text Color */
body[data-ks-theme] p,
body[data-ks-theme] .elementor-text-editor {
    color: var(--ks-text-secondary) !important;
}

/* Fix Elementor Buttons */
body[data-ks-theme] .elementor-button {
    background-color: var(--ks-accent) !important;
    color: var(--ks-bg-main) !important; /* Contrasting text inside button */
    border: none;
}

/* Optional: If you have borders on Elementor containers, force them to match the theme */
body[data-ks-theme] .elementor-widget-wrap {
    border-color: var(--ks-border) !important;
}

/* =========================================================
   3. STICKY HEADER & DYNAMIC MENU STYLES
   ========================================================= */

/* Make the Elementor Header Sticky */
header, 
.elementor-location-header,
[data-elementor-type="header"] {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important; /* Forces it to stay above the charts */
    /* Matches the header background to the active theme so scrolling text doesn't clash */
    background-color: var(--ks-bg-main) !important;
    transition: background-color 0.4s ease;
}

/* Removed the subtle bottom border from the sticky header */
body[data-ks-theme] header,
body[data-ks-theme] .elementor-location-header {
    border-bottom: none !important;
}

/* Force Golden Text for Menu Links in Dark & Galaxy Themes ONLY */
body[data-ks-theme="dark"] header a,
body[data-ks-theme="dark"] header .elementor-item,
body[data-ks-theme="galaxy"] header a,
body[data-ks-theme="galaxy"] header .elementor-item {
    color: #f59e0b !important; /* Gold */
    transition: color 0.3s ease;
}

/* Lighter Golden Hover Effect for Dark & Galaxy Themes */
body[data-ks-theme="dark"] header a:hover,
body[data-ks-theme="dark"] header .elementor-item:hover,
body[data-ks-theme="galaxy"] header a:hover,
body[data-ks-theme="galaxy"] header .elementor-item:hover {
    color: #fcd34d !important; /* Bright, lighter gold on hover */
}

/* =========================================================
   4. NUCLEAR OVERRIDE FOR DROPDOWN MENUS
   ========================================================= */

/* Target ALL WordPress & Elementor sub-menus aggressively */
body[data-ks-theme] .sub-menu, 
body[data-ks-theme] ul.children,
body[data-ks-theme] .elementor-nav-menu--dropdown,
body[data-ks-theme] .elementor-nav-menu--dropdown ul,
body[data-ks-theme] nav.elementor-nav-menu--main .sub-menu {
    background-color: var(--ks-bg-main) !important;
    background-image: none !important;
    border: 1px solid var(--ks-border) !important;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.6) !important;
    padding: 10px 0 !important;
}

/* Galaxy Dropdown Gradient Override */
body[data-ks-theme="galaxy"] .sub-menu,
body[data-ks-theme="galaxy"] ul.children,
body[data-ks-theme="galaxy"] .elementor-nav-menu--dropdown {
    background-image: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%) !important; 
}

/* Fix Dropdown Text & Hover States */
body[data-ks-theme] .sub-menu a,
body[data-ks-theme] .elementor-nav-menu--dropdown a,
body[data-ks-theme] .elementor-sub-item {
    color: var(--ks-text-secondary) !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
}

body[data-ks-theme] .sub-menu a:hover,
body[data-ks-theme] .elementor-nav-menu--dropdown a:hover,
body[data-ks-theme] .elementor-sub-item:hover {
    background-color: var(--ks-bg-surface) !important;
    color: var(--ks-accent) !important;
}

/* Dark/Galaxy Dropdown Text = Gold */
body[data-ks-theme="dark"] .sub-menu a,
body[data-ks-theme="dark"] .elementor-nav-menu--dropdown a,
body[data-ks-theme="dark"] .elementor-sub-item,
body[data-ks-theme="galaxy"] .sub-menu a,
body[data-ks-theme="galaxy"] .elementor-nav-menu--dropdown a,
body[data-ks-theme="galaxy"] .elementor-sub-item {
    color: #f59e0b !important; /* GOLD */
}

body[data-ks-theme="dark"] .sub-menu a:hover,
body[data-ks-theme="dark"] .elementor-nav-menu--dropdown a:hover,
body[data-ks-theme="dark"] .elementor-sub-item:hover,
body[data-ks-theme="galaxy"] .sub-menu a:hover,
body[data-ks-theme="galaxy"] .elementor-nav-menu--dropdown a:hover,
body[data-ks-theme="galaxy"] .elementor-sub-item:hover {
    color: #fcd34d !important; /* Lighter Gold */
    background-color: rgba(255,255,255,0.05) !important;
}

/* Hide Page Titles Globally */
.page-header, 
.page-title, 
.entry-title, 
.elementor-page-title,
h1.entry-title {
    display: none !important;
}
/* Remove white separator lines between dropdown menu items */
body[data-ks-theme] .sub-menu li,
body[data-ks-theme] .sub-menu li a,
body[data-ks-theme] .elementor-nav-menu--dropdown li,
body[data-ks-theme] .elementor-nav-menu--dropdown a,
body[data-ks-theme] .elementor-sub-item {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

/* =========================================================
   5. SCROLL TO TOP BUTTON
   ========================================================= */
#ks-scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Dynamically matches the active theme's accent color */
    background-color: var(--ks-accent, #f59e0b) !important;
    color: var(--ks-bg-main, #ffffff) !important; 
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Class added by JS when user scrolls down */
#ks-scroll-top-btn.ks-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#ks-scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.5);
}/* End custom CSS */