/* ================================================================
   STAR LABS — MODERN UI SYSTEM v2.0
   Premium Dark-Gold Deep Tech Design Language
   ================================================================ */

/* ---------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES — Extended Design Tokens
--------------------------------------------------------------- */
:root {
  /* Color Extensions */
  --sl-gold-glow:       rgba(211, 162, 90, 0.45);
  --sl-gold-subtle:     rgba(184, 138, 68, 0.08);
  --sl-gold-soft-2:     rgba(211, 162, 90, 0.14);
  --sl-gold-border:     rgba(211, 162, 90, 0.22);
  --sl-dark-overlay:    rgba(4, 9, 16, 0.88);
  --sl-glass-bg:        rgba(255, 255, 255, 0.055);
  --sl-glass-border:    rgba(255, 255, 255, 0.09);
  --sl-glass-bg-warm:   rgba(255, 247, 230, 0.06);
  --sl-white-muted:     rgba(248, 244, 237, 0.78);

  /* Gradient Library */
  --sl-grad-gold:       linear-gradient(135deg, #d3a25a 0%, #f5d896 45%, #b88a44 100%);
  --sl-grad-dark:       linear-gradient(135deg, #04090f 0%, #07111d 45%, #0d1d30 100%);
  --sl-grad-card:       linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  --sl-grad-hero:
    radial-gradient(ellipse 70% 60% at 15% 28%, rgba(184, 138, 68, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 88% 14%, rgba(211, 162, 90, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 50% 85%, rgba(13, 118, 110, 0.14) 0%, transparent 60%),
    linear-gradient(145deg, #03070d 0%, #06111e 35%, #09182b 65%, #0c1f35 100%);

  /* Shadows */
  --sl-shadow-glow:     0 0 0 1px rgba(211,162,90,0.18), 0 12px 40px rgba(211,162,90,0.12), 0 36px 80px rgba(3,8,16,0.38);
  --sl-shadow-card:     0 2px 4px rgba(4,9,16,0.12), 0 8px 24px rgba(4,9,16,0.18), 0 24px 60px rgba(4,9,16,0.22);
  --sl-shadow-btn:      0 4px 14px rgba(184,138,68,0.4), 0 1px 3px rgba(4,9,16,0.3);

  /* Motion */
  --sl-ease:            cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sl-spring:          cubic-bezier(0.34, 1.56, 0.64, 1);
  --sl-out:             cubic-bezier(0.0, 0.0, 0.2, 1);
  --sl-duration-fast:   180ms;
  --sl-duration-base:   300ms;
  --sl-duration-slow:   520ms;

  /* Border Radii */
  --sl-radius-sm:       14px;
  --sl-radius-md:       22px;
  --sl-radius-lg:       32px;
  --sl-radius-xl:       40px;
}


/* ---------------------------------------------------------------
   2. KEYFRAME ANIMATIONS
--------------------------------------------------------------- */
@keyframes sl-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

@keyframes sl-float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(3deg); }
}

@keyframes sl-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211,162,90,0); }
  50%       { box-shadow: 0 0 0 10px rgba(211,162,90,0.14); }
}

@keyframes sl-gradient-drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sl-shimmer {
  0%   { left: -120%; }
  100% { left: 120%; }
}

@keyframes sl-orb-drift-1 {
  0%, 100% { transform: translate(0%, 0%); opacity: 0.6; }
  33%       { transform: translate(8%, -12%); opacity: 0.9; }
  66%       { transform: translate(-6%, 8%); opacity: 0.7; }
}

@keyframes sl-orb-drift-2 {
  0%, 100% { transform: translate(0%, 0%); opacity: 0.5; }
  40%       { transform: translate(-10%, 8%); opacity: 0.8; }
  70%       { transform: translate(6%, -6%); opacity: 0.6; }
}

@keyframes sl-orb-drift-3 {
  0%, 100% { transform: translate(0%, 0%); opacity: 0.45; }
  50%       { transform: translate(12%, 10%); opacity: 0.7; }
}

@keyframes sl-scan-line {
  0%   { transform: translateY(-100%); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform: translateY(400%); opacity: 0; }
}

@keyframes sl-rotate-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sl-count-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sl-border-flow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

@keyframes sl-fade-in-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sl-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}


/* ---------------------------------------------------------------
   3. GLOBAL BASE ENHANCEMENTS
--------------------------------------------------------------- */
body.starlabs-theme {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: rgba(211, 162, 90, 0.3);
  color: #ffffff;
}

/* Smooth focus rings */
*:focus-visible {
  outline: 2px solid rgba(211, 162, 90, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}


/* ---------------------------------------------------------------
   4. HEADER — Glassmorphism Premium Navigation
--------------------------------------------------------------- */

/* Top info bar - subtle and refined */
body.starlabs-theme .header-top {
  background: rgba(3, 7, 12, 0.95);
  border-bottom: 1px solid rgba(184, 138, 68, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
}

body.starlabs-theme .header-top .header-links ul li {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(248, 244, 237, 0.65);
}

body.starlabs-theme .header-top .header-links a {
  color: #d3a25a;
  transition: color var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .header-top .header-links a:hover {
  color: #f5d896;
}

/* Main navigation bar — overridden by starlabs-design.css */
body.starlabs-theme .header-layout2 .menu-area {
  background: rgba(5, 11, 19, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(184, 138, 68, 0.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 8px 32px rgba(0,0,0,0.28);
  transition: background var(--sl-duration-base) var(--sl-ease),
              box-shadow var(--sl-duration-base) var(--sl-ease);
}

/* Sticky header enhancement */
body.starlabs-theme .sticky-active .menu-area,
body.starlabs-theme .sticky-wrapper.active .menu-area {
  background: rgba(4, 8, 15, 0.97) !important;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4), 0 1px 0 rgba(184,138,68,0.14) !important;
}

/* Logo enhancement */
body.starlabs-theme .header-logo a {
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,240,225,0.94) 100%) !important;
  border: 1px solid rgba(184,138,68,0.3) !important;
  box-shadow: 0 0 0 4px rgba(184,138,68,0.06), 0 16px 40px rgba(0,0,0,0.35) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .header-logo a:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 0 6px rgba(184,138,68,0.1), 0 20px 50px rgba(0,0,0,0.4) !important;
}

/* Navigation links */
body.starlabs-theme .main-menu > ul > li > a {
  position: relative;
  color: rgba(248, 244, 237, 0.82);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.015em;
  padding: 8px 4px;
  transition: color var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .main-menu > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sl-grad-gold);
  border-radius: 2px;
  transition: width var(--sl-duration-base) var(--sl-spring);
}

body.starlabs-theme .main-menu > ul > li:hover > a,
body.starlabs-theme .main-menu > ul > li.active > a {
  color: #f5d896;
}

body.starlabs-theme .main-menu > ul > li:hover > a::after,
body.starlabs-theme .main-menu > ul > li.active > a::after {
  width: 100%;
}

/* Dropdown menus */
body.starlabs-theme .main-menu ul ul.sub-menu {
  background: rgba(6, 13, 22, 0.97) !important;
  border: 1px solid rgba(184, 138, 68, 0.18) !important;
  border-radius: var(--sl-radius-sm) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  padding: 8px 0 !important;
}

body.starlabs-theme .main-menu ul ul.sub-menu li a {
  color: rgba(248, 244, 237, 0.75) !important;
  font-size: 0.88rem;
  padding: 10px 22px;
  transition: all var(--sl-duration-fast) var(--sl-ease);
  border-left: 2px solid transparent;
}

body.starlabs-theme .main-menu ul ul.sub-menu li a:hover {
  color: #f5d896 !important;
  background: rgba(184, 138, 68, 0.1) !important;
  border-left-color: #d3a25a;
  padding-left: 28px;
}

/* RTL dropdown fix */
body.starlabs-theme.rtl .main-menu ul ul.sub-menu li a {
  border-left: none;
  border-right: 2px solid transparent;
}

body.starlabs-theme.rtl .main-menu ul ul.sub-menu li a:hover {
  border-right-color: #d3a25a;
  border-left-color: transparent;
  padding-left: 22px;
  padding-right: 28px;
}

/* Header CTA Button */
body.starlabs-theme .header-button .ot-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b88a44 0%, #d3a25a 50%, #c49240 100%);
  border: none !important;
  color: #04090f !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.025em;
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: var(--sl-shadow-btn);
  transition: transform var(--sl-duration-fast) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme .header-button .ot-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-15deg);
  animation: sl-shimmer 3s infinite 1s var(--sl-ease);
}

body.starlabs-theme .header-button .ot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(211,162,90,0.55), 0 2px 8px rgba(4,9,16,0.3);
}

/* Icon buttons */
body.starlabs-theme .header-button .icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: rgba(248,244,237,0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .header-button .icon-btn:hover {
  background: rgba(184,138,68,0.15);
  border-color: rgba(184,138,68,0.3) !important;
  color: #f5d896;
  transform: translateY(-1px);
}


/* ---------------------------------------------------------------
   5. HERO SECTION — Dramatic Full-Screen
--------------------------------------------------------------- */
body.starlabs-theme.page-home .hero-2 {
  background: var(--sl-grad-hero) !important;
  position: relative;
  overflow: hidden;
}

/* Animated background orbs */
body.starlabs-theme.page-home .hero-2::before,
body.starlabs-theme.page-home .hero-2::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

body.starlabs-theme.page-home .hero-2::before {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(184,138,68,0.22) 0%, rgba(184,138,68,0.04) 60%, transparent 100%);
  animation: sl-orb-drift-1 18s ease-in-out infinite;
}

body.starlabs-theme.page-home .hero-2::after {
  width: 500px;
  height: 500px;
  top: 10%;
  right: -5%;
  background: radial-gradient(circle, rgba(211,162,90,0.18) 0%, rgba(211,162,90,0.04) 60%, transparent 100%);
  animation: sl-orb-drift-2 22s ease-in-out infinite 3s;
}

/* Grid scan-line overlay */
body.starlabs-theme.page-home .hero-bg-line1 .line {
  background: linear-gradient(180deg, transparent 0%, rgba(184,138,68,0.06) 50%, transparent 100%) !important;
}

/* Hero eyebrow */
body.starlabs-theme.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(184,138,68,0.12);
  border: 1px solid rgba(184,138,68,0.26);
  color: #f1c98a !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: sl-fade-in-up var(--sl-duration-slow) var(--sl-ease) both;
}

body.starlabs-theme.page-home .hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3a25a;
  box-shadow: 0 0 0 3px rgba(211,162,90,0.25);
  animation: sl-pulse-glow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero title — gradient treatment */
body.starlabs-theme.page-home .hero-title .title1 {
  color: rgba(255,255,255,0.92) !important;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem) !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  animation: sl-fade-in-up var(--sl-duration-slow) var(--sl-ease) 120ms both;
}

body.starlabs-theme.page-home .hero-title .title2 {
  background: linear-gradient(135deg, #f1c98a 0%, #d3a25a 35%, #f5d896 65%, #b88a44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  background-size: 200% 200%;
  animation: sl-fade-in-up var(--sl-duration-slow) var(--sl-ease) 200ms both,
             sl-gradient-drift 6s ease infinite;
}

body.starlabs-theme.page-home .hero-text {
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  color: rgba(248,244,237,0.8) !important;
  max-width: 680px !important;
  line-height: 1.85 !important;
  animation: sl-fade-in-up var(--sl-duration-slow) var(--sl-ease) 280ms both;
}

/* Hero buttons */
body.starlabs-theme.page-home .hero-style2 .btn-wrap {
  animation: sl-fade-in-up var(--sl-duration-slow) var(--sl-ease) 360ms both;
}


/* ---------------------------------------------------------------
   6. GLOBAL BUTTON SYSTEM — Premium Interactions
--------------------------------------------------------------- */

/* Primary button (gold fill) */
body.starlabs-theme .ot-btn:not(.style-border) {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b88a44 0%, #d3a25a 40%, #c49240 100%) !important;
  border: 1.5px solid rgba(211,162,90,0.4) !important;
  color: #04090f !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em;
  border-radius: 999px;
  padding: 14px 32px;
  box-shadow: var(--sl-shadow-btn);
  transition: transform var(--sl-duration-fast) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              background var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .ot-btn:not(.style-border)::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -120%;
  width: 55%;
  height: calc(100% + 2px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
}

body.starlabs-theme .ot-btn:not(.style-border):hover::before {
  animation: sl-shimmer 0.6s ease-out;
}

body.starlabs-theme .ot-btn:not(.style-border):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(211,162,90,0.55), 0 2px 8px rgba(4,9,16,0.3);
  background: linear-gradient(135deg, #c49240 0%, #e8b668 40%, #d3a25a 100%) !important;
}

body.starlabs-theme .ot-btn:not(.style-border):active {
  transform: translateY(-1px);
}

/* Secondary outline button */
body.starlabs-theme .ot-btn.style-border {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04) !important;
  border: 1.5px solid rgba(184,138,68,0.35) !important;
  color: rgba(248,244,237,0.9) !important;
  border-radius: 999px;
  padding: 13px 30px;
  backdrop-filter: blur(8px);
  transition: all var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .ot-btn.style-border:hover {
  background: rgba(184,138,68,0.14) !important;
  border-color: rgba(211,162,90,0.55) !important;
  color: #f5d896 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,138,68,0.15);
}

/* Dark section overrides for style-border */
body.starlabs-theme .home-ventures-section .ot-btn.style-border,
body.starlabs-theme .hero-2 .ot-btn.style-border {
  border-color: rgba(255,255,255,0.25) !important;
}


/* ---------------------------------------------------------------
   7. ABOUT / STORY SECTION — Premium Glass Panel
--------------------------------------------------------------- */
body.starlabs-theme.page-home .home-story-section {
  background:
    radial-gradient(ellipse 60% 50% at 5% 15%, rgba(184,138,68,0.1) 0%, transparent 55%),
    linear-gradient(175deg, #f5efe5 0%, #fdf9f2 40%, #f8f3ea 100%) !important;
}

/* About card with enhanced glass */
body.starlabs-theme.page-home .home-story-section .about-wrap2 {
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(184,138,68,0.16) !important;
  box-shadow: 0 2px 4px rgba(16,24,38,0.04),
              0 10px 32px rgba(16,24,38,0.08),
              0 32px 72px rgba(16,24,38,0.10),
              inset 0 1px 0 rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: transform var(--sl-duration-slow) var(--sl-ease),
              box-shadow var(--sl-duration-slow) var(--sl-ease);
}

body.starlabs-theme.page-home .home-story-section .about-wrap2:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(16,24,38,0.06),
              0 16px 48px rgba(16,24,38,0.12),
              0 48px 100px rgba(16,24,38,0.12),
              inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

/* Subtitle/eyebrow styling */
body.starlabs-theme .sub-title.style2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(184,138,68,0.1);
  border: 1px solid rgba(184,138,68,0.2);
  color: #8b642f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.starlabs-theme.page-home .home-ventures-section .sub-title.style2,
body.starlabs-theme.page-home .home-ventures-title-panel .sub-title {
  background: rgba(211,162,90,0.14);
  border-color: rgba(211,162,90,0.26);
  color: #f1c98a;
}

/* Section titles */
body.starlabs-theme .sec-title {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Check list items */
body.starlabs-theme.page-home .home-story-section .check-list.style-grid ul li {
  border-radius: var(--sl-radius-sm) !important;
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(184,138,68,0.12) !important;
  backdrop-filter: blur(8px);
  transition: all var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme.page-home .home-story-section .check-list.style-grid ul li:hover {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(184,138,68,0.24) !important;
  transform: translateX(4px);
}

body.starlabs-theme.rtl.page-home .home-story-section .check-list.style-grid ul li:hover {
  transform: translateX(-4px);
}

/* About image enhancement */
body.starlabs-theme.page-home .home-story-section .img-box2 {
  transition: transform var(--sl-duration-slow) var(--sl-ease);
}

body.starlabs-theme.page-home .home-story-section .img-box2:hover {
  transform: translateY(-6px);
}

body.starlabs-theme.page-home .home-story-section .img-box2 .img1 {
  box-shadow: 0 4px 16px rgba(16,24,38,0.08),
              0 16px 48px rgba(16,24,38,0.14),
              0 48px 96px rgba(16,24,38,0.18) !important;
}

/* Experience badge float animation */
body.starlabs-theme .about-experience-wrap.jump {
  animation: sl-float 5s ease-in-out infinite;
}


/* ---------------------------------------------------------------
   8. PARTNER TYPE CARDS — Enhanced Glass Cards
--------------------------------------------------------------- */
.home-partner-type-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #fbf7ef 100%) !important;
  border: 1px solid rgba(184,138,68,0.14) !important;
  box-shadow: var(--sl-shadow-card) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
}

.home-partner-type-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #d3a25a 0%, rgba(211,162,90,0.2) 100%);
  border-radius: var(--sl-radius-lg) var(--sl-radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--sl-duration-base) var(--sl-ease);
}

.home-partner-type-card:hover::before {
  opacity: 1;
}

.home-partner-type-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(184,138,68,0.3) !important;
  box-shadow: 0 4px 8px rgba(16,24,38,0.06),
              0 16px 40px rgba(16,24,38,0.14),
              0 40px 80px rgba(16,24,38,0.12) !important;
}

/* Brief card (dark panel) */
.home-partners-brief {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2),
              0 24px 64px rgba(0,0,0,0.28),
              0 0 0 1px rgba(184,138,68,0.1) !important;
  transition: transform var(--sl-duration-base) var(--sl-ease);
}

.home-partners-brief:hover {
  transform: translateY(-4px);
}

/* Stat cards inside brief */
.home-partners-stat {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: var(--sl-radius-sm) !important;
  transition: background var(--sl-duration-fast) var(--sl-ease);
}

.home-partners-stat:hover {
  background: rgba(211,162,90,0.12) !important;
  border-color: rgba(211,162,90,0.2) !important;
}

.home-partners-stat strong {
  background: linear-gradient(135deg, #f5d896, #d3a25a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem !important;
  font-weight: 800 !important;
}

/* Signal pills */
.home-partners-signals span {
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--sl-duration-fast) var(--sl-ease);
}

.home-partners-signals span:hover {
  background: rgba(184,138,68,0.15) !important;
  border-color: rgba(184,138,68,0.3);
  color: #f5d896;
}

/* Brand partner cards */
.home-partners-section .brand-card {
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
}

.home-partners-section .brand-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(184,138,68,0.24) !important;
  box-shadow: 0 8px 32px rgba(16,24,38,0.14) !important;
}


/* ---------------------------------------------------------------
   9. VENTURES SECTION — Dark Premium Cards
--------------------------------------------------------------- */
body.starlabs-theme.page-home .home-ventures-section {
  background: var(--sl-grad-dark) !important;
  position: relative;
}

/* Animated grid overlay */
body.starlabs-theme.page-home .home-ventures-section::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px) !important;
  background-size: 80px 80px !important;
  opacity: 0.18 !important;
}

/* Add teal orb to bottom */
body.starlabs-theme.page-home .home-ventures-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,118,110,0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: sl-orb-drift-3 20s ease-in-out infinite;
}

/* Venture cards */
.home-venture-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.97) 0%, rgba(250,244,234,0.96) 100%) !important;
  border: 1px solid rgba(184,138,68,0.18) !important;
  box-shadow: 0 4px 16px rgba(4,9,16,0.18),
              0 16px 48px rgba(4,9,16,0.22),
              0 48px 100px rgba(4,9,16,0.18) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
}

.home-venture-card:hover {
  transform: translateY(-12px) !important;
  border-color: rgba(211,162,90,0.36) !important;
  box-shadow: 0 6px 20px rgba(4,9,16,0.2),
              0 24px 64px rgba(4,9,16,0.28),
              0 64px 120px rgba(4,9,16,0.22),
              0 0 0 1px rgba(211,162,90,0.18) !important;
}

/* Venture card stage badge */
.home-venture-card__stage {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(184,138,68,0.12);
  border: 1px solid rgba(184,138,68,0.22);
  color: #8b642f;
}

.home-venture-card--build .home-venture-card__stage {
  background: rgba(70,111,166,0.1);
  border-color: rgba(70,111,166,0.22);
  color: #2e5f99;
}

.home-venture-card--pilot .home-venture-card__stage {
  background: rgba(13,118,110,0.1);
  border-color: rgba(13,118,110,0.22);
  color: #0a5c55;
}

.home-venture-card--spinout .home-venture-card__stage {
  background: rgba(139,68,68,0.1);
  border-color: rgba(139,68,68,0.22);
  color: #8b4444;
}

/* Venture card link */
.home-venture-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #8b642f;
  transition: color var(--sl-duration-fast) var(--sl-ease),
              gap var(--sl-duration-fast) var(--sl-ease);
}

.home-venture-card__link:hover {
  color: #d3a25a;
  gap: 10px;
}

/* Slider nav buttons */
.home-ventures-slider-btn {
  width: 52px !important;
  height: 52px !important;
  border-radius: var(--sl-radius-sm) !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(8px);
  transition: all var(--sl-duration-base) var(--sl-spring) !important;
}

.home-ventures-slider-btn:hover {
  background: linear-gradient(135deg, #b88a44, #d3a25a) !important;
  border-color: transparent !important;
  color: #04090f !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--sl-shadow-btn) !important;
}

/* Pagination dots */
.home-ventures-slider-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.2) !important;
  transition: all var(--sl-duration-base) var(--sl-spring) !important;
}

.home-ventures-slider-pagination .swiper-pagination-bullet-active {
  background: #d3a25a !important;
  transform: scale(1.4) !important;
  box-shadow: 0 0 8px rgba(211,162,90,0.5);
}

/* Ventures metrics */
.home-ventures-metric strong {
  background: linear-gradient(135deg, #f5d896, #d3a25a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}


/* ---------------------------------------------------------------
   10. TEAM SECTION — Premium Profile Cards
--------------------------------------------------------------- */
body.starlabs-theme .home-team-section {
  background:
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(211,162,90,0.12) 0%, transparent 60%),
    linear-gradient(175deg, #f2ece1 0%, #fdf9f3 50%, #f8f2e8 100%) !important;
}

/* Team cards */
body.starlabs-theme .home-team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--sl-radius-md);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(184,138,68,0.12);
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 16px 40px rgba(16,24,38,0.08);
  padding: 0 0 24px;
  text-align: center;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme .home-team-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--sl-grad-gold);
  opacity: 0;
  transition: opacity var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme .home-team-card:hover::before {
  opacity: 1;
}

body.starlabs-theme .home-team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184,138,68,0.26);
  box-shadow: 0 8px 28px rgba(16,24,38,0.1),
              0 28px 72px rgba(16,24,38,0.12);
}

/* Team media (photo) */
body.starlabs-theme .home-team-media {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--sl-radius-md) var(--sl-radius-md) 0 0;
}

body.starlabs-theme .home-team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--sl-duration-slow) var(--sl-ease),
              filter var(--sl-duration-slow) var(--sl-ease);
  filter: saturate(0.9);
}

body.starlabs-theme .home-team-card:hover .home-team-media img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.02);
}

body.starlabs-theme .home-team-card h3 {
  color: #101826;
  font-weight: 700;
  margin: 18px 16px 6px;
}

body.starlabs-theme .home-team-card span {
  color: #8b642f;
  font-size: 0.84rem;
  font-weight: 600;
}

body.starlabs-theme .home-team-card .team-mini-text {
  color: rgba(16,24,38,0.65);
  font-size: 0.82rem;
  padding: 0 16px;
}


/* ---------------------------------------------------------------
   11. FOOTER — Deep Premium Dark
--------------------------------------------------------------- */
body.starlabs-theme .footer-wrapper.footer-layout2 {
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(184,138,68,0.12) 0%, transparent 50%),
    linear-gradient(160deg, #030810 0%, #050d1a 40%, #080e1c 100%) !important;
  border-top: 1px solid rgba(184,138,68,0.14);
  position: relative;
  overflow: hidden;
}

body.starlabs-theme .footer-wrapper.footer-layout2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.14;
  pointer-events: none;
}

body.starlabs-theme .footer-layout2 .widget_title {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}

body.starlabs-theme .footer-layout2 .widget_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--sl-grad-gold);
  border-radius: 2px;
}

body.starlabs-theme.rtl .footer-layout2 .widget_title::after {
  left: auto;
  right: 0;
}

/* Footer nav links */
body.starlabs-theme .footer-layout2 .widget_nav_menu a,
body.starlabs-theme .footer-layout2 .footer-links a {
  color: rgba(248,244,237,0.68) !important;
  font-size: 0.9rem;
  transition: color var(--sl-duration-fast) var(--sl-ease),
              padding-left var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .footer-layout2 .widget_nav_menu a:hover,
body.starlabs-theme .footer-layout2 .footer-links a:hover {
  color: #f5d896 !important;
}

/* Footer social icons */
body.starlabs-theme .footer-layout2 .ot-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(248,244,237,0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all var(--sl-duration-fast) var(--sl-spring);
}

body.starlabs-theme .footer-layout2 .ot-social a:hover {
  background: linear-gradient(135deg, #b88a44, #d3a25a);
  border-color: transparent;
  color: #04090f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184,138,68,0.4);
}

/* Footer contact info */
body.starlabs-theme .footer-layout2 .info-box {
  padding: 14px 16px;
  border-radius: var(--sl-radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
  transition: all var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .footer-layout2 .info-box:hover {
  background: rgba(184,138,68,0.08);
  border-color: rgba(184,138,68,0.18);
}

body.starlabs-theme .footer-layout2 .box-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(184,138,68,0.14);
  border: 1px solid rgba(184,138,68,0.2);
  color: #d3a25a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Copyright bar */
body.starlabs-theme .copyright-wrap {
  background: rgba(0,0,0,0.2) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding: 20px 0;
}

body.starlabs-theme .copyright-text {
  color: rgba(248,244,237,0.5) !important;
  font-size: 0.84rem;
}

/* Scroll to top */
body.starlabs-theme .scroll-top {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #b88a44, #d3a25a) !important;
  border: none;
  box-shadow: 0 6px 20px rgba(184,138,68,0.45) !important;
  transition: transform var(--sl-duration-fast) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .scroll-top:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(184,138,68,0.55) !important;
}

body.starlabs-theme .scroll-top .progress-circle path {
  stroke: rgba(255,255,255,0.5) !important;
}


/* ---------------------------------------------------------------
   12. MOBILE MENU — Glass Off-Canvas Panel
--------------------------------------------------------------- */
body.starlabs-theme .ot-menu-wrapper {
  background: rgba(4,9,16,0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-inline-end: 1px solid rgba(184,138,68,0.14) !important;
}

body.starlabs-theme .ot-menu-area {
  background: transparent !important;
}

body.starlabs-theme .ot-mobile-menu ul li a {
  color: rgba(248,244,237,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--sl-duration-fast) var(--sl-ease),
              padding-left var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme.rtl .ot-mobile-menu ul li a {
  transition: color var(--sl-duration-fast) var(--sl-ease),
              padding-right var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .ot-mobile-menu ul li a:hover {
  color: #f5d896;
  background: rgba(184,138,68,0.08);
}

/* Search popup */
body.starlabs-theme .popup-search-box {
  background: rgba(4,9,16,0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-inline-start: 1px solid rgba(184,138,68,0.14) !important;
}

body.starlabs-theme .popup-search-box input[type="text"] {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(248,244,237,0.9) !important;
  border-radius: 12px;
}

body.starlabs-theme .popup-search-box input[type="text"]::placeholder {
  color: rgba(248,244,237,0.4);
}


/* ---------------------------------------------------------------
   13. SIDEMENU / DRAWER — Refined Dark Panel
--------------------------------------------------------------- */
body.starlabs-theme .sidemenu-wrapper {
  background: rgba(5,10,18,0.97) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-inline-start: 1px solid rgba(184,138,68,0.14) !important;
  box-shadow: -20px 0 60px rgba(0,0,0,0.4) !important;
}

body.starlabs-theme.rtl .sidemenu-wrapper {
  border-inline-start: none !important;
  border-inline-end: 1px solid rgba(184,138,68,0.14) !important;
}

body.starlabs-theme .sidemenu-wrapper .widget_title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.starlabs-theme .sidemenu-wrapper .ot-social a {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(248,244,237,0.75);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sl-duration-fast) var(--sl-spring);
}

body.starlabs-theme .sidemenu-wrapper .ot-social a:hover {
  background: linear-gradient(135deg, #b88a44, #d3a25a);
  border-color: transparent;
  color: #04090f;
  transform: translateY(-3px);
}


/* ---------------------------------------------------------------
   14. ADMIN — Modern Dashboard Enhancements
--------------------------------------------------------------- */
/* Skip admin styles if body doesn't have starlabs-theme */


/* ---------------------------------------------------------------
   15. GLOBAL FORM ELEMENTS — Modern Input Styling
--------------------------------------------------------------- */
body.starlabs-theme .form-control,
body.starlabs-theme input[type="text"],
body.starlabs-theme input[type="email"],
body.starlabs-theme input[type="tel"],
body.starlabs-theme input[type="url"],
body.starlabs-theme input[type="number"],
body.starlabs-theme textarea,
body.starlabs-theme select {
  border-radius: 14px;
  border: 1.5px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.9);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #101826;
  transition: border-color var(--sl-duration-fast) var(--sl-ease),
              box-shadow var(--sl-duration-fast) var(--sl-ease);
  outline: none;
}

body.starlabs-theme .form-control:focus,
body.starlabs-theme input[type="text"]:focus,
body.starlabs-theme input[type="email"]:focus,
body.starlabs-theme input[type="tel"]:focus,
body.starlabs-theme textarea:focus {
  border-color: rgba(184,138,68,0.5);
  box-shadow: 0 0 0 4px rgba(184,138,68,0.1);
}


/* ---------------------------------------------------------------
   16. VENTURE DETAIL PAGE — Premium Layout
--------------------------------------------------------------- */
body.starlabs-theme.page-ventures .starlabs-venture-card {
  border-radius: var(--sl-radius-lg) !important;
  overflow: hidden;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme.page-ventures .starlabs-venture-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 8px 32px rgba(4,9,16,0.24),
              0 32px 80px rgba(4,9,16,0.3),
              0 0 0 1px rgba(211,162,90,0.18) !important;
}


/* ---------------------------------------------------------------
   17. RESPONSIVE — Mobile-First Overrides
--------------------------------------------------------------- */
@media (max-width: 1199px) {
  .home-partners-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  body.starlabs-theme.page-home .hero-title .title1,
  body.starlabs-theme.page-home .hero-title .title2 {
    font-size: clamp(1.9rem, 7vw, 3rem) !important;
  }

  body.starlabs-theme.page-home .hero-eyebrow {
    font-size: 0.76rem;
  }

  .home-venture-card {
    min-height: auto !important;
  }
}

@media (max-width: 767px) {
  body.starlabs-theme.page-home .hero-title .title1,
  body.starlabs-theme.page-home .hero-title .title2 {
    font-size: clamp(1.75rem, 8vw, 2.6rem) !important;
  }

  body.starlabs-theme .home-story-section .about-wrap2 {
    padding: 24px 20px !important;
  }

  .home-partner-type-card {
    padding: 22px 18px !important;
  }
}

@media (max-width: 575px) {
  body.starlabs-theme.page-home .hero-eyebrow::before {
    display: none;
  }
}


/* ---------------------------------------------------------------
   18. UTILITY CLASSES — Animation Helpers
--------------------------------------------------------------- */
.sl-animate-float {
  animation: sl-float 6s ease-in-out infinite;
}

.sl-animate-float-slow {
  animation: sl-float-slow 9s ease-in-out infinite;
}

.sl-gradient-text {
  background: var(--sl-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sl-glass {
  background: var(--sl-glass-bg) !important;
  border: 1px solid var(--sl-glass-border) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sl-glow-border {
  box-shadow: 0 0 0 1px rgba(211,162,90,0.2), 0 8px 32px rgba(211,162,90,0.1);
}

/* Link arrows RTL fix */
body.starlabs-theme.rtl .ot-btn i.fa-arrow-right-long {
  transform: scaleX(-1);
}

body.starlabs-theme.rtl .home-venture-card__link i.fa-arrow-right-long {
  transform: scaleX(-1);
}


/* ---------------------------------------------------------------
   19. SECTION TRANSITIONS — Page Section Dividers
--------------------------------------------------------------- */
body.starlabs-theme.page-home #about-sec,
body.starlabs-theme.page-home #partners-sec,
body.starlabs-theme.page-home #team-sec,
body.starlabs-theme.page-home #ventures-sec {
  scroll-margin-top: 80px;
}

/* Remove harsh transitions between sections */
body.starlabs-theme.page-home .home-story-section,
body.starlabs-theme.page-home .home-partners-section,
body.starlabs-theme.page-home .home-team-section {
  transition: none;
}


/* ---------------------------------------------------------------
   20. BREADCRUMB — Premium Page Hero Banner
--------------------------------------------------------------- */
body.starlabs-theme .breadcumb-wrapper {
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px !important;
  background:
    radial-gradient(ellipse 55% 50% at 12% 22%, rgba(184,138,68,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 88% 18%, rgba(211,162,90,0.16) 0%, transparent 55%),
    linear-gradient(145deg, #04090f 0%, #07111d 40%, #0c1e32 100%) !important;
}

body.starlabs-theme .breadcumb-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.2;
  pointer-events: none;
}

/* Animated orb in breadcrumb */
body.starlabs-theme .breadcumb-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 55%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,118,110,0.1) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: sl-orb-drift-3 18s ease-in-out infinite;
}

body.starlabs-theme .breadcumb-title {
  color: #ffffff !important;
  font-size: clamp(1.9rem, 4vw, 3.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.starlabs-theme .breadcumb-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.starlabs-theme .breadcumb-menu li {
  color: rgba(248,244,237,0.58);
  font-size: 0.88rem;
  font-weight: 500;
}

body.starlabs-theme .breadcumb-menu li a {
  color: rgba(248,244,237,0.72);
  transition: color var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .breadcumb-menu li a:hover {
  color: #f1c98a;
}

body.starlabs-theme .breadcumb-menu li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(255,255,255,0.3);
}

body.starlabs-theme.rtl .breadcumb-menu li + li::before {
  content: '\\';
  margin-right: 0;
  margin-left: 8px;
}


/* ---------------------------------------------------------------
   21. CONTACT PAGE — Premium Form & Cards
--------------------------------------------------------------- */
body.starlabs-theme .contact-feature {
  padding: 24px 26px;
  border-radius: var(--sl-radius-md);
  background: #ffffff;
  border: 1px solid rgba(184,138,68,0.12);
  box-shadow: 0 4px 16px rgba(16,24,38,0.06), 0 16px 40px rgba(16,24,38,0.06);
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease);
  position: relative;
  overflow: hidden;
}

body.starlabs-theme .contact-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sl-grad-gold);
  opacity: 0;
  transition: opacity var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme .contact-feature:hover::before { opacity: 1; }

body.starlabs-theme .contact-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(184,138,68,0.24);
  box-shadow: 0 8px 28px rgba(16,24,38,0.1), 0 28px 72px rgba(16,24,38,0.1);
}

body.starlabs-theme .contact-feature .box-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(184,138,68,0.1);
  border: 1px solid rgba(184,138,68,0.18);
  color: #b88a44;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: all var(--sl-duration-base) var(--sl-spring);
}

body.starlabs-theme .contact-feature:hover .box-icon {
  background: linear-gradient(135deg, #b88a44, #d3a25a);
  border-color: transparent;
  color: #04090f;
  transform: scale(1.1);
}

/* Contact form */
body.starlabs-theme .contact-form-v1 {
  padding: 40px 44px;
  border-radius: var(--sl-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 24px 64px rgba(16,24,38,0.08);
}

body.starlabs-theme .contact-form-v1 .form-group {
  margin-bottom: 20px;
}

body.starlabs-theme .contact-form-v1 .form-control {
  min-height: 52px;
  border-radius: 14px !important;
  border: 1.5px solid rgba(15,23,42,0.1) !important;
  background: rgba(248,250,252,0.8) !important;
  padding: 14px 18px !important;
  font-size: 0.94rem;
  color: #101826 !important;
  transition: border-color var(--sl-duration-fast) var(--sl-ease),
              box-shadow var(--sl-duration-fast) var(--sl-ease),
              background var(--sl-duration-fast) var(--sl-ease) !important;
}

body.starlabs-theme .contact-form-v1 .form-control::placeholder {
  color: rgba(16,24,38,0.4);
}

body.starlabs-theme .contact-form-v1 .form-control:focus {
  border-color: rgba(184,138,68,0.5) !important;
  box-shadow: 0 0 0 4px rgba(184,138,68,0.1) !important;
  background: #ffffff !important;
}

body.starlabs-theme .contact-form-v1 select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b88a44' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 44px !important;
}

body.starlabs-theme.rtl .contact-form-v1 select.form-control {
  background-position: left 16px center !important;
  padding-right: 18px !important;
  padding-left: 44px !important;
}

body.starlabs-theme .contact-form-v1 textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Alert messages */
body.starlabs-theme .alert {
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 600;
  border: none;
  margin-bottom: 24px;
}

body.starlabs-theme .alert-success {
  background: rgba(6,152,69,0.1);
  color: #065f46;
  border: 1px solid rgba(6,152,69,0.2);
}

body.starlabs-theme .alert-error {
  background: rgba(220,53,69,0.08);
  color: #991b1b;
  border: 1px solid rgba(220,53,69,0.18);
}


/* ---------------------------------------------------------------
   22. INSIGHTS / BLOG — Card Enhancements
--------------------------------------------------------------- */
body.starlabs-theme .blog-card,
body.starlabs-theme .post-card {
  border-radius: var(--sl-radius-md) !important;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.07) !important;
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 16px 40px rgba(16,24,38,0.06) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
  background: #ffffff !important;
}

body.starlabs-theme .blog-card:hover,
body.starlabs-theme .post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184,138,68,0.2) !important;
  box-shadow: 0 8px 28px rgba(16,24,38,0.1),
              0 28px 72px rgba(16,24,38,0.1) !important;
}

body.starlabs-theme .blog-card .blog-img,
body.starlabs-theme .post-card .post-img {
  overflow: hidden;
}

body.starlabs-theme .blog-card .blog-img img,
body.starlabs-theme .post-card .post-img img {
  transition: transform var(--sl-duration-slow) var(--sl-ease),
              filter var(--sl-duration-slow) var(--sl-ease);
  filter: saturate(0.9);
}

body.starlabs-theme .blog-card:hover .blog-img img,
body.starlabs-theme .post-card:hover .post-img img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

body.starlabs-theme .blog-meta span,
body.starlabs-theme .post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: rgba(16,24,38,0.55);
}

/* Category badge */
body.starlabs-theme .blog-category,
body.starlabs-theme .post-category {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(184,138,68,0.1);
  border: 1px solid rgba(184,138,68,0.2);
  color: #8b642f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ---------------------------------------------------------------
   23. CAREERS PAGE — Job Listing Cards
--------------------------------------------------------------- */
body.starlabs-theme .job-card,
body.starlabs-theme .career-card {
  padding: 26px 30px;
  border-radius: var(--sl-radius-md);
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 4px 16px rgba(16,24,38,0.05), 0 16px 40px rgba(16,24,38,0.06);
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease);
  position: relative;
  overflow: hidden;
}

body.starlabs-theme .job-card::before,
body.starlabs-theme .career-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--sl-grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme.rtl .job-card::before,
body.starlabs-theme.rtl .career-card::before {
  transform-origin: right;
}

body.starlabs-theme .job-card:hover::before,
body.starlabs-theme .career-card:hover::before {
  transform: scaleX(1);
}

body.starlabs-theme .job-card:hover,
body.starlabs-theme .career-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184,138,68,0.2);
  box-shadow: 0 8px 28px rgba(16,24,38,0.1), 0 28px 72px rgba(16,24,38,0.08);
}

/* Job type badge */
body.starlabs-theme .job-type,
body.starlabs-theme .job-badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(184,138,68,0.1);
  border: 1px solid rgba(184,138,68,0.2);
  color: #8b642f;
}


/* ---------------------------------------------------------------
   24. ABOUT / TEAM / SERVICES — Shared Card Styles
--------------------------------------------------------------- */
body.starlabs-theme .team-card,
body.starlabs-theme .ot-team {
  border-radius: var(--sl-radius-md) !important;
  overflow: hidden !important;
  border: 1px solid rgba(15,23,42,0.07) !important;
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 16px 40px rgba(16,24,38,0.06) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease) !important;
  background: #ffffff !important;
}

body.starlabs-theme .team-card:hover,
body.starlabs-theme .ot-team:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 40px rgba(16,24,38,0.12),
              0 40px 80px rgba(16,24,38,0.1) !important;
}

body.starlabs-theme .team-card .team-img,
body.starlabs-theme .ot-team .team-img {
  overflow: hidden;
}

body.starlabs-theme .team-card .team-img img,
body.starlabs-theme .ot-team .team-img img {
  transition: transform var(--sl-duration-slow) var(--sl-ease),
              filter var(--sl-duration-slow) var(--sl-ease);
  filter: saturate(0.88);
}

body.starlabs-theme .team-card:hover .team-img img,
body.starlabs-theme .ot-team:hover .team-img img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

/* Feature cards (services) */
body.starlabs-theme .feature-card {
  border-radius: var(--sl-radius-md) !important;
  border: 1px solid rgba(15,23,42,0.07) !important;
  box-shadow: 0 4px 16px rgba(16,24,38,0.05),
              0 16px 40px rgba(16,24,38,0.06) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .feature-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(184,138,68,0.2) !important;
  box-shadow: 0 10px 36px rgba(16,24,38,0.1),
              0 36px 80px rgba(16,24,38,0.1) !important;
}

body.starlabs-theme .feature-card .box-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px !important;
  background: rgba(184,138,68,0.1) !important;
  border: 1px solid rgba(184,138,68,0.16) !important;
  transition: all var(--sl-duration-base) var(--sl-spring) !important;
}

body.starlabs-theme .feature-card:hover .box-icon {
  background: linear-gradient(135deg, #b88a44, #d3a25a) !important;
  border-color: transparent !important;
  transform: scale(1.1) rotate(4deg) !important;
  color: #04090f !important;
}


/* ---------------------------------------------------------------
   25. VENTURE DETAIL PAGE — Premium Single View
--------------------------------------------------------------- */
body.starlabs-theme .venture-detail-card {
  padding: 36px 40px !important;
  border-radius: var(--sl-radius-lg) !important;
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.07) !important;
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 24px 64px rgba(16,24,38,0.08) !important;
}

body.starlabs-theme .venture-brief {
  border-top: 3px solid !important;
  border-image: var(--sl-grad-gold) 1 !important;
  padding: 28px 32px !important;
  border-radius: var(--sl-radius-md) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16,24,38,0.06),
              0 24px 60px rgba(16,24,38,0.08) !important;
}

/* Pill tags */
body.starlabs-theme .pill-row span {
  background: rgba(184,138,68,0.1) !important;
  border: 1px solid rgba(184,138,68,0.2) !important;
  color: #6b4d20 !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .pill-row span:hover {
  background: rgba(184,138,68,0.18) !important;
  border-color: rgba(184,138,68,0.32) !important;
  transform: translateY(-2px);
}

/* Roadmap grid */
body.starlabs-theme .roadmap div {
  border-radius: var(--sl-radius-md) !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .roadmap div:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 48px rgba(16,24,38,0.12) !important;
}

body.starlabs-theme .roadmap strong {
  background: var(--sl-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ---------------------------------------------------------------
   26. SECTION DARK — CTA Blocks
--------------------------------------------------------------- */
body.starlabs-theme .section-dark {
  background:
    radial-gradient(ellipse 55% 50% at 10% 20%, rgba(184,138,68,0.16) 0%, transparent 55%),
    linear-gradient(135deg, #07111d 0%, #0d1b2d 100%) !important;
  position: relative;
}

body.starlabs-theme .section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.14;
  pointer-events: none;
}

/* CTA title in dark sections */
body.starlabs-theme .section-dark .cta-title,
body.starlabs-theme .section-dark h2 {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Protocol/timeline cards in dark sections */
body.starlabs-theme .section-dark .protocol-card,
body.starlabs-theme .section-dark .dark-card {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: var(--sl-radius-md) !important;
  backdrop-filter: blur(8px);
  transition: transform var(--sl-duration-base) var(--sl-spring),
              background var(--sl-duration-base) var(--sl-ease),
              border-color var(--sl-duration-base) var(--sl-ease) !important;
}

body.starlabs-theme .section-dark .protocol-card:hover,
body.starlabs-theme .section-dark .dark-card:hover {
  background: rgba(255,255,255,0.09) !important;
  border-color: rgba(184,138,68,0.24) !important;
  transform: translateY(-6px) !important;
}


/* ---------------------------------------------------------------
   27. SIDE MENU ENHANCEMENTS — Info Panel
--------------------------------------------------------------- */
body.starlabs-theme .sidemenu-info .about-logo img {
  max-height: 56px;
  width: auto;
  filter: none;
}

body.starlabs-theme .sidemenu-info .about-text {
  color: rgba(248,244,237,0.68) !important;
  font-size: 0.9rem;
  line-height: 1.85;
  margin-top: 16px;
}

body.starlabs-theme .sidemenu-info .ot-widget-contact .info-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 10px;
  transition: all var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .sidemenu-info .ot-widget-contact .info-box:hover {
  background: rgba(184,138,68,0.1);
  border-color: rgba(184,138,68,0.2);
}

body.starlabs-theme .sidemenu-info .box-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(184,138,68,0.14);
  border: 1px solid rgba(184,138,68,0.2);
  color: #d3a25a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

body.starlabs-theme .sidemenu-info .box-title {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 3px;
}

body.starlabs-theme .sidemenu-info .box-text,
body.starlabs-theme .sidemenu-info .box-link {
  color: rgba(248,244,237,0.65) !important;
  font-size: 0.85rem;
}

body.starlabs-theme .sidemenu-info .box-link:hover {
  color: #f1c98a !important;
}

/* Close & toggle buttons */
body.starlabs-theme .closeButton,
body.starlabs-theme .ot-menu-toggle,
body.starlabs-theme .searchClose {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(248,244,237,0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--sl-duration-fast) var(--sl-spring);
}

body.starlabs-theme .closeButton:hover,
body.starlabs-theme .ot-menu-toggle:hover,
body.starlabs-theme .searchClose:hover {
  background: rgba(220,38,38,0.2);
  border-color: rgba(220,38,38,0.3);
  color: #fca5a5;
  transform: rotate(90deg);
}


/* ---------------------------------------------------------------
   28. PROGRAMS / CASE STUDIES — Card Grid
--------------------------------------------------------------- */
body.starlabs-theme .program-card,
body.starlabs-theme .case-study-card {
  border-radius: var(--sl-radius-md);
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 4px 16px rgba(16,24,38,0.06), 0 16px 40px rgba(16,24,38,0.06);
  overflow: hidden;
  transition: transform var(--sl-duration-base) var(--sl-spring),
              box-shadow var(--sl-duration-base) var(--sl-ease);
}

body.starlabs-theme .program-card:hover,
body.starlabs-theme .case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(16,24,38,0.12), 0 40px 80px rgba(16,24,38,0.1);
}


/* ---------------------------------------------------------------
   29. PAGE-SPECIFIC BODY BACKGROUNDS
--------------------------------------------------------------- */
body.starlabs-theme.page-about,
body.starlabs-theme.page-team,
body.starlabs-theme.page-investors,
body.starlabs-theme.page-partners,
body.starlabs-theme.page-careers,
body.starlabs-theme.page-insights,
body.starlabs-theme.page-services,
body.starlabs-theme.page-programs,
body.starlabs-theme.page-casestudies,
body.starlabs-theme.page-contact,
body.starlabs-theme.page-sectors,
body.starlabs-theme.page-ezpprotocol {
  background: linear-gradient(180deg, #faf7f1 0%, #fefcf8 50%, #faf7f2 100%) !important;
}

/* Dark page hero for inner pages */
body.starlabs-theme .page-hero,
body.starlabs-theme .factory-hero {
  position: relative;
  overflow: hidden;
}

body.starlabs-theme .page-hero::before,
body.starlabs-theme .factory-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}


/* ---------------------------------------------------------------
   30. LINK STYLE — Consistent Gold Accent
--------------------------------------------------------------- */
body.starlabs-theme .text-link,
body.starlabs-theme .link-btn {
  color: #8b642f;
  font-weight: 700;
  transition: color var(--sl-duration-fast) var(--sl-ease);
}

body.starlabs-theme .text-link:hover,
body.starlabs-theme .link-btn:hover {
  color: #d3a25a;
}

/* ---------------------------------------------------------------
   20. PRINT STYLES — Clean Print Experience
--------------------------------------------------------------- */
@media print {
  body.starlabs-theme .header-top,
  body.starlabs-theme header,
  body.starlabs-theme footer,
  body.starlabs-theme .scroll-top,
  body.starlabs-theme .sidemenu-wrapper,
  body.starlabs-theme .ot-menu-wrapper {
    display: none !important;
  }
}
