/* ==========================================================================
   MATRIX TECH MEDIA BRAND STYLESHEET
   Supports Dynamic Obsidian Dark and Cloud Lavender Light Themes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 28px -6px rgba(0, 0, 0, 0.18), 0 6px 12px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 32px 64px -16px rgba(0, 0, 0, 0.35), 0 16px 24px -8px rgba(0, 0, 0, 0.15);
  
  /* Glowing / Colored Shadows */
  --shadow-glow-violet: 0 12px 30px -5px rgba(139, 92, 246, 0.25);
  --shadow-glow-gold: 0 12px 30px -5px rgba(245, 158, 11, 0.25);
  --shadow-glow-cyan: 0 12px 30px -5px rgba(6, 182, 212, 0.25);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Theme: Dark (Default - Obsidian Dark-Violet Tech) */
  --bg-primary: #070712;          /* Deepest space obsidian */
  --bg-secondary: #0c0c23;        /* Dark violet-slate for components */
  --bg-tertiary: #141434;         /* Rich violet base card */
  --bg-surface: rgba(12, 12, 35, 0.75);
  
  --text-primary: #f8fafc;        /* Slate 50 */
  --text-secondary: #cbd5e1;      /* Slate 300 */
  --text-muted: #64748b;          /* Slate 500 */
  
  --accent: #f59e0b;              /* Saffron Gold */
  --accent-hover: #d97706;
  --accent-light: rgba(245, 158, 11, 0.08);
  
  --accent-secondary: #8b5cf6;    /* Electric Violet */
  --accent-secondary-hover: #7c3aed;
  --accent-secondary-light: rgba(139, 92, 246, 0.08);

  --accent-cyan: #06b6d4;         /* Cyberpunk Cyan */
  --accent-cyan-hover: #0891b2;
  --accent-cyan-light: rgba(6, 182, 212, 0.08);
  
  --border-color: rgba(139, 92, 246, 0.12); /* Delicate violet borders */
  --border-focus: rgba(139, 92, 246, 0.5);
  
  --glass-blur: 20px;
  --glass-bg: rgba(12, 12, 35, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  
  --card-glow: rgba(139, 92, 246, 0.04);
}

[data-theme="light"] {
  /* Theme: Cloud Lavender (Elegant, Clean Light Mode) */
  --bg-primary: #f3f6fc;          /* Softest cloud blue-gray */
  --bg-secondary: #ffffff;        /* Pure white for cards */
  --bg-tertiary: #eef2ff;         /* Gentle lavender-indigo background */
  --bg-surface: rgba(255, 255, 255, 0.8);
  
  --text-primary: #0b0f19;        /* Rich dark slate for high contrast */
  --text-secondary: #334155;      /* Slate 700 */
  --text-muted: #64748b;          /* Slate 500 */
  
  --accent: #d97706;              /* Warm Saffron Amber */
  --accent-hover: #b45309;
  --accent-light: rgba(217, 119, 6, 0.08);
  
  --accent-secondary: #7c3aed;    /* Deep Royal Violet */
  --accent-secondary-hover: #6d28d9;
  --accent-secondary-light: rgba(124, 58, 237, 0.08);

  --accent-cyan: #0891b2;         /* Vibrant Teal/Cyan */
  --accent-cyan-hover: #0369a1;
  --accent-cyan-light: rgba(8, 145, 178, 0.08);
  
  --border-color: rgba(124, 58, 237, 0.08); 
  --border-focus: rgba(124, 58, 237, 0.4);
  
  --glass-blur: 20px;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(124, 58, 237, 0.06);
  
  --card-glow: rgba(124, 58, 237, 0.02);
  --shadow-sm: 0 4px 12px rgba(11, 15, 25, 0.03);
  --shadow-md: 0 12px 24px -4px rgba(11, 15, 25, 0.06), 0 4px 8px -2px rgba(11, 15, 25, 0.02);
  --shadow-lg: 0 24px 48px -8px rgba(11, 15, 25, 0.1), 0 8px 16px -4px rgba(11, 15, 25, 0.04);
  
  --shadow-glow-violet: 0 12px 30px -5px rgba(124, 58, 237, 0.12);
  --shadow-glow-gold: 0 12px 30px -5px rgba(217, 119, 6, 0.12);
  --shadow-glow-cyan: 0 12px 30px -5px rgba(8, 145, 178, 0.12);
}

/* ==========================================================================
   GLOBAL RESET HARMONISATION
   ========================================================================== */
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

/* ==========================================================================
   GLASSMORPHISM BASICS
   ========================================================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 25px var(--card-glow);
  border-color: rgba(139, 92, 246, 0.25);
}

[data-theme="light"] .glass-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
}

/* ==========================================================================
   BOOTSTRAP FORMS DYNAMIC HARMONISATION
   ========================================================================== */
.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  color: var(--text-primary) !important;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

select option {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .form-control, [data-theme="light"] .form-select {
  background-color: rgba(0, 0, 0, 0.015);
}

.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--accent-secondary-light);
  outline: none;
}

[data-theme="light"] .form-control:focus, [data-theme="light"] .form-select:focus {
  background-color: rgba(0, 0, 0, 0.025);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   BOOTSTRAP BUTTON OVERRIDES (PREMIUM)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-glow-violet) !important;
}

.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.4) !important;
  color: #ffffff !important;
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border: none !important;
  color: #070712 !important;
  box-shadow: var(--shadow-glow-gold) !important;
  font-weight: 700;
}

.btn-accent:hover, .btn-accent:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.4) !important;
  color: #070712 !important;
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  border: none !important;
  color: #070712 !important;
  box-shadow: var(--shadow-glow-cyan) !important;
  font-weight: 700;
}

.btn-cyan:hover, .btn-cyan:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.4) !important;
  color: #070712 !important;
}

.btn-secondary {
  background: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.btn-secondary:hover, .btn-secondary:focus {
  background: var(--border-color) !important;
  border-color: var(--border-color) !important;
  transform: translateY(-3px);
  color: var(--text-primary) !important;
}

/* ==========================================================================
   CUSTOM ACCENT BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background-color: var(--accent-secondary-light) !important;
  color: var(--accent-secondary) !important;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .badge {
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.badge-gold {
  background-color: var(--accent-light) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-cyan {
  background-color: var(--accent-cyan-light) !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   SCROLLBAR CUSTOMIZATION
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   SECTION & TITLE STYLING
   ========================================================================== */
.section-padding {
  padding: 7.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 0.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.35rem;
  }
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

/* Gradient text utility classes */
.text-gradient-purple-cyan {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   INTERACTIVE AND FLOATING EFFECTS
   ========================================================================== */
.float-element {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.glow-glow {
  position: relative;
}

.glow-glow::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
  top: -50px;
  right: -50px;
  z-index: 0;
  pointer-events: none;
}

.gradient-border-card {
  position: relative;
  z-index: 1;
}

.gradient-border-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Modern Pulse Glow */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(139, 92, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
  }
}

/* ==========================================================================
   BOOTSTRAP FRACTIONAL SPACING UTILITIES
   ========================================================================== */

/* Margins */
.mb-1\.5 { margin-bottom: 0.625rem !important; }
.mb-2\.5 { margin-bottom: 1.25rem !important; }
.mb-3\.5 { margin-bottom: 1.875rem !important; }
.mb-4\.5 { margin-bottom: 2.25rem !important; }
.mb-5\.5 { margin-bottom: 3.5rem !important; }

.mt-1\.5 { margin-top: 0.625rem !important; }
.mt-2\.5 { margin-top: 1.25rem !important; }
.mt-3\.5 { margin-top: 1.875rem !important; }
.mt-4\.5 { margin-top: 2.25rem !important; }
.mt-5\.5 { margin-top: 3.5rem !important; }

.mx-1\.5 { margin-left: 0.625rem !important; margin-right: 0.625rem !important; }
.mx-2\.5 { margin-left: 1.25rem !important; margin-right: 1.25rem !important; }
.mx-3\.5 { margin-left: 1.875rem !important; margin-right: 1.875rem !important; }
.mx-4\.5 { margin-left: 2.25rem !important; margin-right: 2.25rem !important; }

.my-1\.5 { margin-top: 0.625rem !important; margin-bottom: 0.625rem !important; }
.my-2\.5 { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
.my-3\.5 { margin-top: 1.875rem !important; margin-bottom: 1.875rem !important; }
.my-4\.5 { margin-top: 2.25rem !important; margin-bottom: 2.25rem !important; }

/* Paddings */
.p-1\.5 { padding: 0.625rem !important; }
.p-2\.5 { padding: 1.25rem !important; }
.p-3\.5 { padding: 1.875rem !important; }
.p-4\.5 { padding: 2.25rem !important; }
.p-5\.5 { padding: 3.5rem !important; }

.pt-1\.5 { padding-top: 0.625rem !important; }
.pt-2\.5 { padding-top: 1.25rem !important; }
.pt-3\.5 { padding-top: 1.875rem !important; }
.pt-4\.5 { padding-top: 2.25rem !important; }
.pt-5\.5 { padding-top: 3.5rem !important; }

.pb-1\.5 { padding-bottom: 0.625rem !important; }
.pb-2\.5 { padding-bottom: 1.25rem !important; }
.pb-3\.5 { padding-bottom: 1.875rem !important; }
.pb-4\.5 { padding-bottom: 2.25rem !important; }
.pb-5\.5 { padding-bottom: 3.5rem !important; }

.px-1\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-2\.5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-3\.5 { padding-left: 1.875rem !important; padding-right: 1.875rem !important; }
.px-4\.5 { padding-left: 2.25rem !important; padding-right: 2.25rem !important; }

.py-1\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-2\.5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-3\.5 { padding-top: 1.875rem !important; padding-bottom: 1.875rem !important; }
.py-4\.5 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }

/* Gaps */
.gap-1\.5 { gap: 0.625rem !important; }
.gap-2\.5 { gap: 1.25rem !important; }
.gap-3\.5 { gap: 1.875rem !important; }
.gap-4\.5 { gap: 2.25rem !important; }
.gap-5\.5 { gap: 3.5rem !important; }

/* ==========================================================================
   THEME RE-ALIGNMENT CONTRAST HELPERS
   ========================================================================== */
.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

[data-theme="light"] .text-white:not(.btn):not(.badge):not(.footer-wrapper *):not(.hero-visual-card *):not(.dark-bg *) {
  color: var(--text-primary) !important;
}

[data-theme="light"] .text-white-50:not(.btn):not(.badge):not(.footer-wrapper *):not(.hero-visual-card *):not(.dark-bg *) {
  color: var(--text-secondary) !important;
}


[data-theme="light"] .glass-card {
  box-shadow: var(--shadow-sm), 0 0 15px rgba(124, 58, 237, 0.03) !important;
}

/* Dark Background blocks override variables */
.dark-bg {
  --text-primary: #f8fafc !important;
  --text-secondary: #cbd5e1 !important;
  --text-muted: #64748b !important;
}
.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4, .dark-bg h5, .dark-bg h6, .dark-bg p, .dark-bg span {
  color: var(--text-primary);
}
.dark-bg a {
  color: var(--text-secondary);
}
.dark-bg a:hover {
  color: #ffffff;
}
.dark-bg .form-control::placeholder,
.footer-wrapper .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}
.dark-bg .form-control,
.footer-wrapper .form-control {
  color: #ffffff !important;
}



/* ==========================================================================
   SPECIFIC NAVBAR DROPDOWN STYLING
   ========================================================================== */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  min-width: 680px;
}

.explore-all-row {
  grid-column: span 2;
}

.nav-item-dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item-custom {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item-custom:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.dropdown-item-custom i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dropdown-item-custom div {
  display: flex;
  flex-direction: column;
}

.dropdown-item-custom .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
}

.dropdown-item-custom .desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.explore-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.explore-all-link:hover {
  text-decoration: underline;
}

/* Mobile Drawer styles */
.mobile-drawer {
  transition: transform var(--transition-normal);
  transform: translateY(-100%);
}

.mobile-drawer.active {
  transform: translateY(0);
}

.mobile-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.mobile-sublink {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==========================================================================
   TABS STYLING (SERVICES DETAIL)
   ========================================================================== */
.tab-nav-btn {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
  padding: 0.75rem 1.45rem !important;
  font-size: 0.88rem !important;
}

.tab-nav-btn.active {
  background: var(--bg-tertiary) !important;
  border-color: var(--accent-secondary) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm);
}

.animate-pulse-glow {
  animation: logo-glow 3s infinite;
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.1)); }
  50% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6)); }
}

/* ==========================================
   PREMIUM OBSIDIAN FOOTER OVERRIDES
   ========================================== */
.footer-wrapper {
  background: linear-gradient(180deg, #070712 0%, #040409 100%) !important;
  border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
  color: var(--text-secondary) !important;
}

[data-theme="light"] .footer-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fc 100%) !important;
  border-top: 1px solid rgba(124, 58, 237, 0.12) !important;
  color: var(--text-secondary) !important;
}

.footer-wrapper h4,
.footer-wrapper .h6 {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
}

.footer-wrapper .text-white-50,
.footer-wrapper .text-muted,
.footer-wrapper .text-secondary {
  color: var(--text-muted) !important;
}

.footer-wrapper a {
  color: var(--text-secondary) !important;
  transition: color var(--transition-fast) !important;
}

.footer-wrapper a:hover {
  color: var(--accent-secondary) !important;
}

[data-theme="light"] .footer-wrapper a:hover {
  color: var(--accent-secondary) !important;
}

.footer-wrapper .border-top {
  border-color: var(--border-color) !important;
}

.footer-wrapper .badge {
  background-color: var(--accent-secondary-light) !important;
  color: var(--accent-secondary) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.footer-wrapper .form-control {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .footer-wrapper .form-control {
  background-color: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.footer-wrapper .form-control:focus {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--accent-secondary) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2) !important;
}

/* ==========================================================================
   PREMIUM BANNER IMAGE WRAPPER
   ========================================================================== */
.banner-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.banner-image-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--card-glow);
  border-color: rgba(139, 92, 246, 0.25);
}

.banner-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.banner-image-container:hover .banner-img {
  transform: scale(1.015);
}

/* ==========================================================================
   HOMEPAGE CAROUSEL PREMIUM STYLING
   ========================================================================== */
#homeBannerCarousel .carousel-indicators [data-bs-target] {
  background-color: var(--accent-secondary) !important;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all var(--transition-fast);
}

#homeBannerCarousel .carousel-indicators .active {
  background-color: var(--accent) !important;
  opacity: 1;
  transform: scale(1.2);
}

#homeBannerCarousel .carousel-control-prev-icon,
#homeBannerCarousel .carousel-control-next-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-fast);
}

#homeBannerCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#homeBannerCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.15);
}

#homeBannerCarousel .carousel-item {
  height: 42vw !important;
  min-height: 250px !important;
  max-height: 520px !important;
  background-color: #070712;
}

#homeBannerCarousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

[data-theme="light"] #homeBannerCarousel .carousel-item {
  background-color: #f3f6fc;
}

/* ==========================================================================
   GLOBAL PRELOADER ANIMATION (Inspired by k2digitalmarketing.com)
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #070712;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

[data-theme="light"] .preloader {
  background-color: #f3f6fc;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(139, 92, 246, 0.15);
  border-radius: 50%;
  border-top-color: var(--accent);
  border-bottom-color: var(--accent-secondary);
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  position: relative;
}

.preloader-spinner::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 3px solid transparent;
  border-radius: 50%;
  border-left-color: var(--cyan);
  border-right-color: var(--primary);
  animation: spin-reverse 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* ==========================================================================
   SCROLL-DRIVEN REVEAL ANIMATIONS (Inspired by k2digitalmarketing.com)
   ========================================================================== */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right,
.reveal-zoom-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal-fade-up {
  transform: translateY(40px);
}

.reveal-fade-left {
  transform: translateX(-50px);
}

.reveal-fade-right {
  transform: translateX(50px);
}

.reveal-zoom-in {
  transform: scale(0.92);
}

/* Active State Triggered by IntersectionObserver */
.reveal-active {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Reveal Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================================================
   PREMIUM HOVER STATE REFINEMENTS
   ========================================================================== */
.glass-card {
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15) !important;
}

.glass-card:hover .bi {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Dynamic Navbar shrinking state */
.header-scrolled {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  background: rgba(7, 7, 18, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .header-scrolled {
  background: rgba(243, 246, 252, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   CLEAN SUBPAGE BANNER HEADER (Inspired by k2digitalmarketing.com)
   ========================================================================== */
.subpage-banner {
  position: relative;
  width: 100%;
  padding-top: 8rem; /* space for fixed transparent navbar */
  padding-bottom: 5.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.subpage-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(7, 7, 18, 0.72) 0%, rgba(7, 7, 18, 0.85) 100%);
  z-index: 1;
}

[data-theme="light"] .subpage-banner::before {
  background: linear-gradient(180deg, rgba(7, 7, 18, 0.72) 0%, rgba(7, 7, 18, 0.85) 100%) !important;
}

.subpage-banner-content {
  position: relative;
  z-index: 2;
}

.subpage-banner-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff !important;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .subpage-banner-title {
  color: #ffffff !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.subpage-banner-breadcrumbs {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55) !important;
}

[data-theme="light"] .subpage-banner-breadcrumbs {
  color: rgba(255, 255, 255, 0.55) !important;
}

.subpage-banner-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}

[data-theme="light"] .subpage-banner-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.subpage-banner-breadcrumbs a:hover {
  color: var(--accent) !important;
}

.subpage-banner-breadcrumbs .breadcrumb-separator {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="light"] .subpage-banner-breadcrumbs .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.35) !important;
}

.subpage-banner-breadcrumbs span.active {
  color: var(--accent) !important;
}

/* ==========================================================================
   PREMIUM FULL-BLEED HOME HERO SLIDER (Inspired by k2digitalmarketing.com)
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 520px;
  max-height: 750px;
  overflow: hidden;
  background-color: #070712;
  border-bottom: 1px solid var(--border-color);
}

.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
  width: 100%;
}

.hero-slider-item {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slider-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 50%, rgba(7, 7, 18, 0.75) 0%, rgba(7, 7, 18, 0.92) 100%);
  z-index: 1;
}

[data-theme="light"] .hero-slider-item::before {
  background: radial-gradient(circle at 25% 50%, rgba(7, 7, 18, 0.72) 0%, rgba(7, 7, 18, 0.90) 100%);
}

.hero-slider-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 6.5rem; /* space for fixed transparent navbar */
}

/* Force all text inside hero slider to remain white in BOTH themes,
   since the overlay is always dark regardless of light/dark mode.
   Uses maximum specificity to override Bootstrap + global heading rules. */
#homeHeroSlider .hero-slider-item h1,
#homeHeroSlider .hero-slider-item h2,
#homeHeroSlider .hero-slider-item h3,
#homeHeroSlider .hero-slider-item p,
#homeHeroSlider .hero-slider-item span:not(.text-gradient-purple-cyan),
#homeHeroSlider .hero-slider-item .text-secondary,
#homeHeroSlider .hero-slider-item .text-muted,
#homeHeroSlider .hero-slider-item .text-white,
.hero-slider-item h1,
.hero-slider-item h2,
.hero-slider-item h3,
.hero-slider-item p,
.hero-slider-item .text-secondary,
.hero-slider-item .text-muted,
.hero-slider-item .text-white {
  color: #f8fafc !important;
}

[data-theme="light"] #homeHeroSlider .hero-slider-item h1,
[data-theme="light"] #homeHeroSlider .hero-slider-item h2,
[data-theme="light"] #homeHeroSlider .hero-slider-item h3,
[data-theme="light"] #homeHeroSlider .hero-slider-item p,
[data-theme="light"] #homeHeroSlider .hero-slider-item span:not(.text-gradient-purple-cyan),
[data-theme="light"] #homeHeroSlider .hero-slider-item .text-secondary,
[data-theme="light"] #homeHeroSlider .hero-slider-item .text-muted,
[data-theme="light"] #homeHeroSlider .hero-slider-item .text-white,
[data-theme="light"] .hero-slider-item h1,
[data-theme="light"] .hero-slider-item h2,
[data-theme="light"] .hero-slider-item h3,
[data-theme="light"] .hero-slider-item p,
[data-theme="light"] .hero-slider-item .text-secondary,
[data-theme="light"] .hero-slider-item .text-muted,
[data-theme="light"] .hero-slider-item .text-white {
  color: #f8fafc !important;
}

/* Animations for slide content fade-up elements */
.hero-slider .carousel-item.active .hero-slider-tag {
  animation: slideFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.2s;
}

.hero-slider .carousel-item.active .hero-slider-title {
  animation: slideFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.4s;
}

.hero-slider .carousel-item.active .hero-slider-subtitle {
  animation: slideFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.6s;
}

.hero-slider .carousel-item.active .hero-slider-ctas {
  animation: slideFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both 0.8s;
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PULSE RING ANIMATION (Architecture Hub)
   ========================================================================== */
@keyframes pulse-ring {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
  70%  { transform: translate(-50%, -50%) scale(1.12); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0; }
}

/* ==========================================================================
   BOOTSTRAP ACCORDION DARK MODE OVERRIDES
   ========================================================================== */
.accordion-item {
  background-color: transparent !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--glass-bg) !important;
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  box-shadow: none !important;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(139, 92, 246, 0.06) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: invert(1) !important;
}

[data-theme="light"] .accordion-button::after {
  filter: none !important;
}

.accordion-body {
  background-color: var(--glass-bg) !important;
  color: var(--text-secondary) !important;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

[data-theme="light"] .accordion-button {
  background-color: rgba(255, 255, 255, 0.85) !important;
  color: var(--text-primary) !important;
}

[data-theme="light"] .accordion-button:not(.collapsed) {
  background-color: rgba(124, 58, 237, 0.04) !important;
}

[data-theme="light"] .accordion-body {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--text-secondary) !important;
}

/* ==========================================================================
   PRICING PAGE / TABLE DARK MODE OVERRIDES
   ========================================================================== */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
  --bs-table-border-color: var(--border-color);
  color: var(--text-primary) !important;
}

.table th,
.table td {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

[data-theme="light"] .table {
  --bs-table-bg: rgba(255,255,255,0.6);
}

/* ==========================================================================
   CARD / SECTION BG LIGHT MODE OVERRIDES
   ========================================================================== */
[data-theme="light"] .bg-white.bg-opacity-5 {
  background-color: rgba(124, 58, 237, 0.02) !important;
}

[data-theme="light"] section {
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER — ALWAYS DARK PURPLE BG, ALL TEXT ALWAYS WHITE
   ========================================================================== */
footer.footer-wrapper,
[data-theme="light"] footer.footer-wrapper {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
}

footer.footer-wrapper *,
[data-theme="light"] footer.footer-wrapper * {
  color: rgba(255, 255, 255, 0.85) !important;
}

footer.footer-wrapper h4,
footer.footer-wrapper .text-white,
[data-theme="light"] footer.footer-wrapper h4,
[data-theme="light"] footer.footer-wrapper .text-white {
  color: #ffffff !important;
}

footer.footer-wrapper .text-white-50,
[data-theme="light"] footer.footer-wrapper .text-white-50 {
  color: rgba(255, 255, 255, 0.60) !important;
}

footer.footer-wrapper a,
[data-theme="light"] footer.footer-wrapper a {
  color: rgba(255, 255, 255, 0.60) !important;
}

footer.footer-wrapper a:hover,
[data-theme="light"] footer.footer-wrapper a:hover {
  color: #ffffff !important;
}

footer.footer-wrapper input::placeholder,
[data-theme="light"] footer.footer-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.50) !important;
}

footer.footer-wrapper input,
[data-theme="light"] footer.footer-wrapper input {
  color: #ffffff !important;
}

/* ==========================================================================
   HOMEPAGE SECTIONS — text-white HEADINGS STAY WHITE IN DARK MODE
   In light mode regular section headings use var(--text-primary) 
   EXCEPT inside footer and hero-slider (already handled separately)
   ========================================================================== */
[data-theme="light"] section:not(.subpage-banner):not([style*="linear-gradient"]) .text-white {
  color: var(--text-primary) !important;
}

/* Keep subpage-banner, CTA gradient sections, and hero slider always white */
[data-theme="light"] .subpage-banner .text-white,
[data-theme="light"] .subpage-banner-title,
[data-theme="light"] section[style*="background: linear-gradient"] .text-white,
[data-theme="light"] section[style*="background:linear-gradient"] .text-white {
  color: #ffffff !important;
}

/* Nuclear override for hero slider — highest possible specificity */
html[data-theme="light"] #homeHeroSlider .hero-slider-item h1,
html[data-theme="light"] #homeHeroSlider .hero-slider-item h2,
html[data-theme="light"] #homeHeroSlider .hero-slider-item h3,
html[data-theme="light"] #homeHeroSlider .hero-slider-item p,
html[data-theme="light"] #homeHeroSlider .hero-slider-item .text-white,
html[data-theme="light"] #homeHeroSlider .hero-slider-item .text-secondary {
  color: #f8fafc !important;
}

/* ==========================================================================
   TRANSLUCENT BACKGROUND UTILITIES OVERRIDES (PREVENTS BOOTSTRAP SOLID WHITE IN DARK MODE)
   ========================================================================== */
.bg-white.bg-opacity-5 {
  background-color: rgba(255, 255, 255, 0.035) !important;
}
.bg-white.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.07) !important;
}
.bg-white.bg-opacity-15 {
  background-color: rgba(255, 255, 255, 0.12) !important;
}
.bg-white.bg-opacity-25 {
  background-color: rgba(255, 255, 255, 0.22) !important;
}

[data-theme="light"] .bg-white.bg-opacity-5 {
  background-color: rgba(124, 58, 237, 0.02) !important;
}
[data-theme="light"] .bg-white.bg-opacity-10 {
  background-color: rgba(124, 58, 237, 0.05) !important;
}
[data-theme="light"] .bg-white.bg-opacity-15 {
  background-color: rgba(124, 58, 237, 0.08) !important;
}
[data-theme="light"] .bg-white.bg-opacity-25 {
  background-color: rgba(124, 58, 237, 0.12) !important;
}

/* ==========================================================================
   GLOBAL PREMIUM REDESIGN ENHANCEMENTS
   ========================================================================== */

/* Navbar Underline Slider Animation */
.nav-link-item {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary) !important;
  padding: 0.5rem 0.2rem;
  transition: color var(--transition-fast) !important;
  text-decoration: none;
}
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-cyan));
  transition: width var(--transition-normal);
}
.nav-link-item:hover, .nav-link-item.active {
  color: var(--text-primary) !important;
}
.nav-link-item:hover::after, .nav-link-item.active::after {
  width: 100%;
}

/* Ambient Floating Glow Orbs */
.bg-glow-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.03) 50%, rgba(139, 92, 246, 0) 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 15s infinite alternate ease-in-out;
}
.bg-glow-orb.orb-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(139, 92, 246, 0.03) 50%, rgba(6, 182, 212, 0) 100%);
}
.bg-glow-orb.orb-gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(139, 92, 246, 0.02) 50%, rgba(245, 158, 11, 0) 100%);
}
@keyframes orb-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.15);
  }
}

/* Premium Card Hover Lifts */
.glass-card {
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal) !important;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 92, 246, 0.18) !important;
}
[data-theme="light"] .glass-card:hover {
  border-color: rgba(124, 58, 237, 0.3) !important;
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.07), 0 8px 20px rgba(124, 58, 237, 0.03) !important;
}

/* High-tech Grayscale Logo Cloud */
.partner-logo-item {
  opacity: 0.45;
  filter: grayscale(100%) brightness(1.2);
  transition: all var(--transition-normal);
  max-height: 42px;
  width: auto;
  object-fit: contain;
}
[data-theme="light"] .partner-logo-item {
  filter: grayscale(100%) brightness(0.2);
}
.partner-logo-item:hover {
  opacity: 0.95;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.06);
}

/* Dynamic Badge Styling */
.badge-gold {
  background: rgba(245, 158, 11, 0.08) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.08) !important;
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(6, 182, 212, 0.2) !important;
}
.badge-purple {
  background: rgba(139, 92, 246, 0.08) !important;
  color: var(--accent-secondary) !important;
  border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

/* ==========================================================================
   MODERN FAQ ACCORDION RESTYLING
   ========================================================================== */
.accordion-item {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.accordion-item:hover {
  border-color: rgba(139, 92, 246, 0.2) !important;
  box-shadow: var(--shadow-md);
}
.accordion-button {
  background: transparent !important;
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.3rem 1.6rem;
  box-shadow: none !important;
  border: none !important;
  transition: all var(--transition-fast);
}
.accordion-button:not(.collapsed) {
  background: var(--accent-secondary-light) !important;
  color: var(--accent-secondary) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}
.accordion-button::after {
  filter: var(--text-primary) === '#0b0f19' ? 'none' : 'invert(1)';
  transition: transform var(--transition-fast);
}
.accordion-body {
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 1.5rem 1.6rem;
}

/* ==========================================================================
   PREMIUM GLASS FORM CONTROLS
   ========================================================================== */
.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  font-size: 0.92rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}
[data-theme="light"] .form-control, [data-theme="light"] .form-select {
  background-color: rgba(255, 255, 255, 0.75) !important;
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--accent-secondary) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.18) !important;
}
[data-theme="light"] .form-control:focus, [data-theme="light"] .form-select:focus {
  background-color: #ffffff !important;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.15) !important;
}
.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   ELEGANT SUBPAGE CTA BANNER OVERRIDES
   ========================================================================== */
.cta-premium-section {
  position: relative;
  background: linear-gradient(180deg, #070712 0%, #0c0c23 100%) !important;
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}
[data-theme="light"] .cta-premium-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%) !important;
}






