/* =========================================================
   Exitus Elite Compliance - Glass Theme Override
   Modern glass aesthetic with readable light content
   ========================================================= */

:root {
  --bg-dark: #05060a;
  --bg-dark-alt: #090b12;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-light: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.64);
  --accent-blue: #2e7bff;
  --accent-cyan: #00e5ff;
  --content-bg: #ffffff;
  --content-text: #333333;
}

body {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-alt)) !important;
  color: var(--text-light) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  margin: 0;
  padding: 0;
}

.nav,
.hero-section,
.section {
  position: relative;
  z-index: 1 !important;
}

.nav {
  background: linear-gradient(180deg, 
    rgba(5, 6, 10, 0.95) 0%, 
    rgba(9, 11, 18, 0.85) 100%) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}

.ee-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 18px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--text-muted) !important;
  font-weight: 400;
  font-size: 14px !important;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  padding: 8px 12px !important;
}

.nav__link:hover {
  color: var(--accent-cyan) !important;
  transform: translateY(-2px);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  width: 0;
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: calc(100% - 24px);
}

.hero-section {
  background: transparent !important;
  padding: 100px 0 80px 0 !important;
  position: relative;
  overflow: visible;
}

.hero__angle {
  display: none;
}

.hero__title {
  font-size: 48px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px !important;
  text-align: center;
}

.hero__subtitle {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  text-align: center;
  margin-bottom: 24px !important;
}

.hero__p {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: var(--text-muted) !important;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__white-cutaway {
  display: none;
}

.section {
  background: var(--content-bg) !important;
  border-radius: 24px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 60px 50px !important;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.corner-cutaway {
  display: none !important;
}

.section__title {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--accent-blue) !important;
  margin-bottom: 30px !important;
  padding-bottom: 20px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan)) 1;
}

.section p,
.rich-text-field p {
  color: var(--content-text) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}

.section strong,
.rich-text-field strong {
  color: var(--accent-blue) !important;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.contact-me-slider {
  position: fixed !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 400px !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  padding: 40px 30px !important;
  overflow-y: auto !important;
  transform: translate3d(110%, 0, 0) !important;
  transition: transform 0.5s ease !important;
  background: linear-gradient(180deg, rgba(9, 11, 18, 0.98) 0%, rgba(5, 6, 10, 0.98) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}
.contact-me-slider.open {
  transform: translate3d(0, 0, 0) !important;
}

.contact-me-slider h2 {
  margin-bottom: 40px;
}

.contact-me-slider__row {
  color: var(--text-light) !important;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-me-slider__row:hover {
  border-bottom-color: var(--accent-cyan);
  padding-left: 5px;
}

.contact-me-slider__icon {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.contact-me-slider__small-p {
  color: var(--text-muted) !important;
  font-size: 14px;
  line-height: 1.6;
}

.working-hours {
  color: var(--accent-cyan) !important;
  font-weight: 600;
}

section#data,
section#data.section,
section#data.cc--dark,
.section.cc--dark {
  background: #ffffff !important;
}

section#data *,
.section.cc--dark * {
  color: #333333 !important;
}

section#data .section__title,
.section.cc--dark .section__title {
  color: var(--accent-blue) !important;
}

section#data strong,
.section.cc--dark strong {
  color: var(--accent-blue) !important;
}

.section__title.cc--dark {
  background: transparent !important;
  color: var(--accent-blue) !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
}

.ee-logo-mark,
.nav__logo-link img,
.ee-logo-mark * {
  fill: #ffffff !important;
  filter: none !important;
}

.ee-logo-mark stop {
  stop-color: #ffffff !important;
}

}


@media screen and (max-width: 991px) {
  .hero__title {
    font-size: 36px !important;
  }
  
  .hero__subtitle {
    font-size: 24px !important;
  }
  
  .section {
    padding: 40px 30px !important;
    margin: 30px 20px;
    border-radius: 16px;
  }
  
  .section__title {
    font-size: 28px !important;
  }
}

@media screen and (max-width: 767px) {
  .hero-section {
    padding: 60px 0 50px 0 !important;
  }
  
  .hero__title {
    font-size: 30px !important;
  }
  
  .hero__subtitle {
    font-size: 20px !important;
  }
  
  .section {
    padding: 30px 20px !important;
    margin: 20px 15px;
  }
  
  .section__title {
    font-size: 24px !important;
  }
}

.cc--intro {
  margin-top: 60px !important;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent-blue);
  color: white;
}

::-moz-selection {
  background: var(--accent-blue);
  color: white;
}

}

/* Glass Scroll-to-Top Button */
#scrollToTop {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  display: flex !important;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.15), rgba(0, 229, 255, 0.15));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#scrollToTop.visible {
  opacity: 1 !important;
  visibility: visible !important;
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.35), rgba(0, 229, 255, 0.35));
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.3);
}

#scrollToTop::before {
  content: "↑";
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

/* Glass Scroll-to-Next-Section Button */
#scrollToNext {
  position: fixed;
  bottom: 30px;
  right: 90px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.15), rgba(0, 229, 255, 0.15));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#scrollToNext.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToNext:hover {
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.35), rgba(0, 229, 255, 0.35));
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(3px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.3);
}

#scrollToNext::before {
  content: "↓";
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

/* Glass Tooltips - Centered Above Buttons */
#scrollToTop::after,
#scrollToNext::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.12), rgba(0, 229, 255, 0.12));
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#scrollToTop:hover::after,
#scrollToNext:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: 65px;
}

/* Prevent white flashes during scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  overflow-x: hidden;
}

.section {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Fix white flashes - ensure solid dark background always visible */
html {
  background: #05060a !important;
}

body {
  background: linear-gradient(180deg, #05060a, #090b12) !important;
  min-height: 100vh;
}

/* Aurora - optimized for smooth scrolling */
body::after {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(900px 520px at 20% 30%, rgba(46, 123, 255, 0.25), transparent 60%),
    radial-gradient(740px 460px at 80% 40%, rgba(0, 229, 255, 0.18), transparent 62%);
  filter: blur(30px);
  opacity: 0.7;
  animation: auroraSweep 14s ease-in-out infinite;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes auroraSweep {
  0% { transform: translate(-10%, -5%) rotate(0deg) translateZ(0); }
  50% { transform: translate(5%, 10%) rotate(2deg) translateZ(0); }
  100% { transform: translate(-10%, -5%) rotate(0deg) translateZ(0); }
}

#scrollToTop {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  display: flex !important;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.15), rgba(0, 229, 255, 0.15));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
#scrollToTop.visible {
  opacity: 1 !important;
  visibility: visible !important;
  opacity: 1;
  visibility: visible;
}
#scrollToTop:hover {
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.35), rgba(0, 229, 255, 0.35));
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.3);
}
--
#scrollToTop:hover::after,
#scrollToNext:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: 65px;
}
#scrollToTop::before {
  content: "↑";
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
}

/* Contact slider closer overlay */
.contact-me-slider__closer {
  z-index: 9999998 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  z-index: 99998 !important;
  cursor: pointer !important;
}

/* Table headers - white text - MUST override .section strong */
section#data .table-cell.title strong,
section#data .table-cell.title p strong,
section#data .table-wrapper .table-cell.title strong {
  color: #ffffff !important;
}
