/* Minimal Nanocode CSS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

code {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 500;
}

/* Minimal Bootstrap Grid */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Removed duplicate 768px media query (grid) */

html, body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p {
  font-size: 1rem;
  /*line-height: 2rem;*/
}

/* Header: logo (abs left), burger (abs right), nav (centered container) */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Visual styles */
  background: transparent !important;
  backdrop-filter: none;
  /*border-bottom: 1px solid rgba(156, 163, 175, 0.2);*/
  box-shadow: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  
  /* Transitions */
  transition: transform 0.5s ease, opacity 0.5s ease, background 0.3s ease;
}

.header-area.background-header {
    /*background: rgba(11, 13, 16, 0.5) !important;*/
}

.header-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 100%;
  pointer-events: none; /* Let clicks pass through empty areas */
}

/* Logo: absolute left */
.header-logo {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  pointer-events: auto;
}

.header-area .logo {
  padding: 0;
  margin: 0;
  height: auto;
  line-height: 1;
  display: block;
  cursor: pointer;
}

.header-area .logo img {
  height: 12em;
  width: auto;
  display: block;
}

.header-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: auto;
}

.header-area .main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Header hides on scroll down */
.header-area.header-scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Horizontal nav - visible when width allows */
.header-area .main-nav .nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.header-area .main-nav .nav li {
  display: inline-block;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 16px;
  color: var(--text);
  transition: color 0.2s ease;
}

.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active {
  color: var(--accent) !important;
}

.header-burger {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  pointer-events: auto;
}

.header-area .menu-trigger {
  cursor: pointer;
  display: block;
  width: 30px;
  height: 24px;
  text-indent: -9999em;
  z-index: 1001;
  padding: 0;
}

/* Burger menu panel - dropdown */
.burger-menu-panel {
  position: fixed;
  top: 80px;
  right: 0;
  width: 320px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: rgba(11, 13, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -8px 8px 32px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(168, 180, 196, 0.15);
  border-bottom: 1px solid rgba(168, 180, 196, 0.15);
  padding: 24px 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.burger-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.burger-menu-category {
  padding: 0 24px 20px;
  border-bottom: 1px solid rgba(168, 180, 196, 0.15);
  margin-bottom: 20px;
}

.burger-menu-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.burger-menu-cat-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}

.burger-menu-panel .nav-link {
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 0;
  color: var(--text);
  border: none;
  transition: color 0.2s ease;
}

.burger-menu-panel .nav-link:hover,
.burger-menu-panel .nav-link.active {
  color: var(--accent);
}

.header-area .menu-trigger span,
.header-area .menu-trigger span:before,
.header-area .menu-trigger span:after {
  transition: all 0.3s ease;
  background-color: var(--accent);
  display: block;
  position: absolute;
  width: 30px;
  height: 3px;
  left: 0;
  border-radius: 2px;
}

.header-area .menu-trigger span:before,
.header-area .menu-trigger span:after {
  content: "";
  width: 100%;
}

.header-area .menu-trigger span {
  top: 50%;
  transform: translateY(-50%);
}

.header-area .menu-trigger span:before {
  top: -10px;
}

.header-area .menu-trigger span:after {
  top: 10px;
}

/* Animated X when active */
.header-area .menu-trigger.active span {
  background-color: transparent;
}

.header-area .menu-trigger.active span:before {
  transform: rotate(45deg);
  top: 0;
  background-color: var(--accent);
}

.header-area .menu-trigger.active span:after {
  transform: rotate(-45deg);
  top: 0;
  background-color: var(--accent);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Benchmark grid */
.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.benchmark-grid-side-by-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  justify-items: center;
}

.benchmark-fig {
  margin: 0;
  text-align: center;
}

.benchmark-fig-clickable {
  cursor: pointer;
  width: 100%;
  /*max-width: 480px;*/
}

.benchmark-fig-clickable:hover {
  opacity: 0.9;
}

.benchmark-fig-clickable img {
  transition: box-shadow 0.2s ease;
}

.benchmark-fig-clickable:hover img {
  box-shadow: 0 0 20px rgba(168, 180, 196, 0.3);
}

/* Lightbox */
.benchmark-lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.benchmark-lightbox.active {
  display: flex;
  flex-direction: column;
}

.benchmark-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.benchmark-lightbox-caption {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
}

.benchmark-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}

.benchmark-lightbox-close:hover {
  color: var(--accent);
}

.benchmark-fig img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(168, 180, 196, 0.2);
}

.benchmark-fig figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Removed duplicate 768px media query (benchmark) */

/* === CONTACT FORM === */
.contact-section {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(2, 6, 23, 0.3));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(168, 180, 196, 0.1);
  padding: 48px;
  margin: 60px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.contact-section h4 {
  color: var(--accent);
  margin: 0;
}

.contact-form {
  width: 100%;
  max-width: 600px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  box-sizing: border-box;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form ::placeholder {
  color: #9ca3af;
}

.contact-form button {
  background: linear-gradient(135deg, var(--accent), #6b7280);
  color: #020617;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  min-width: 200px;
  display: inline-block;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(168, 180, 196, 0.4);
}

/* Footer - consolidated below */


/* Mobile Responsive */
@media (max-width: 1200px) {
  .header-area .main-nav .nav li a {
    padding: 20px 12px;
    font-size: 0.9rem;
  }
}

/* Hide horizontal nav when width too small; burger shows full menu */
@media (max-width: 1350px) {
  .header-nav {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .burger-menu-panel {
    width: 100%;
    right: 0;
    left: 0;
  }
  .header-inner {
    padding: 0 16px;
  }
  .header-logo {
    left: 16px;
  }
  .header-burger {
    right: 16px;
  }
  
  .footer-blocks {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-block-copyright {
    justify-self: center;
  }
}

@media (max-width: 360px) {
  .header-area .logo img {
    height: 32px;
  }
}

@media (max-width: 450px) {
  .table-responsive {
    width: 400px;
  }
}

:root {
    --bg: #0f1012;
    --bg-elevated: #1a1c20;
    --border: #2e323a;
    --accent: #a8b4c4;
    --accent-soft: rgba(168, 180, 196, 0.12);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --radius: 12px;
    --grid-size: 20px;
    --line-width: 1px;
    --line-color: rgba(16, 18, 22, 0.5);
}

html {
  min-height: 100%;
}

body {
  /*background: radial-gradient(circle at top left, #3b4654 0%, #313948 15%, #272d3b 30%, #1f2937 45%, #181e2e 60%, #111827 75%, #0a0f1a 85%, #020617 95%, #000000 100%);*/
  background-attachment: fixed;
  min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    background-image:
      /* vertical grid lines */
      repeating-linear-gradient(to right,
        var(--line-color) 0,
        var(--line-color) var(--line-width),
        transparent var(--line-width),
        transparent var(--grid-size)),
      /* horizontal grid lines */
      repeating-linear-gradient(to bottom,
        var(--line-color) 0,
        var(--line-color) var(--line-width),
        transparent var(--line-width),
        transparent var(--grid-size)),
      /* radial gradient — light behind hero logo (50% 40%) */
      radial-gradient(ellipse 85% 65% at 50% 40%,
      #5a626e 0%,
      #3d424b 22%,
      #2a2e36 45%,
      #1a1c20 65%,
      #0a0b0d 100%
      );
  
    background-size:
      var(--grid-size) var(--grid-size),
      var(--grid-size) var(--grid-size),
      100% 100%;
  
    background-attachment: fixed;
}

/* Mobile-specific background fix and responsive adjustments */
@media (max-width: 768px) {
  /* Grid adjustments */
  .col-md-6, .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .benchmark-grid-side-by-side {
    grid-template-columns: 1fr;
  }

  .benchmark-fig-clickable {
    max-width: 100%;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  html {
    background: #0a0b0d;
  }
  
  body {
    min-height: 100vh;
    height: auto;
    position: relative;
    background: none;
  }
  
  /* Create a background layer that extends with content */
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    z-index: -1;
    background-image:
      /* vertical grid lines */
      repeating-linear-gradient(to right,
        var(--line-color) 0,
        var(--line-color) var(--line-width),
        transparent var(--line-width),
        transparent var(--grid-size)),
      /* horizontal grid lines */
      repeating-linear-gradient(to bottom,
        var(--line-color) 0,
        var(--line-color) var(--line-width),
        transparent var(--line-width),
        transparent var(--grid-size)),
      radial-gradient(ellipse 85% 65% at 50% 40%,
      #5a626e 0%,
      #3d424b 22%,
      #2a2e36 45%,
      #1a1c20 65%,
      #0a0b0d 100%
      );
    
    background-size:
      var(--grid-size) var(--grid-size),
      var(--grid-size) var(--grid-size),
      100% 100%;
    
    background-repeat: repeat, repeat, no-repeat;
    background-position: 0 0, 0 0, center top;
  }
  
  /* Ensure page sections extend with their content */
  .page-section {
    min-height: 100vh;
    height: auto;
  }
  
  .page-section.active {
    min-height: 100vh;
    height: auto;
  }
  
  /* Ensure main content wrapper extends with content */
  .main-content-wrapper {
    min-height: calc(100vh - 140px);
    height: auto;
    padding-bottom: 40px;
  }
  
  /* Footer background fix for mobile */
  footer {
    background: linear-gradient(to bottom, 
      rgba(1, 2, 10, 0.8) 0%, 
      rgba(1, 2, 10, 0.95) 50%,
      #0a0b0d 100%) !important;
    position: relative;
    z-index: 1;
  }
}

/* Page sections - only one visible at a time */
.page-section {
  display: none !important;
  /*min-height: 100vh;*/
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  position: relative;
}

.page-section.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Home page: fill viewport (so no scrollbar appears when content fits),
   and center the content vertically. If content exceeds viewport, the page
   will still scroll naturally. */
#page-home.active {
  display: flex !important;
  flex-direction: column;
  min-height: calc(100vh - 41px);
}

#page-home .main-content-wrapper {
  padding: 0;
  max-width: none;
  width: 100%;
  flex: 1;
  display: flex;
}

.main-content-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 32px 32px;
}

.container {
  max-width: 1300px;
}

.hero-section {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 80px - 41px);
  margin: 0;
  padding: 0;
}

#page-home .hero-logo {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  height: 40vh;
  width: auto;
  max-width: min(90vw, 90vh);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

#page-home .hero-company {
  position: fixed;
  left: 50%;
  top: calc(40% + 15vh + 20px);
  transform: translateX(-50%);
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 1;
  line-height: 1.5;
}

@keyframes subtleGlow {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 15px rgba(168, 180, 196, 0.3));
  }
  50% {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(168, 180, 196, 0.5));
  }
}

/* Section headings for all pages - same width as details-section content area (details-section has padding 32px) */
.section-heading {
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 
    0 0 15px rgba(168, 180, 196, 0.3),
    0 0 30px rgba(168, 180, 196, 0.15);
  background: linear-gradient(135deg, #a8b4c4 0%, #c4ced9 50%, #a8b4c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: block;
  animation: subtleGlow 3s ease-in-out infinite;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(168, 180, 196, 0.2);
  box-sizing: border-box;
  width: calc(100% - 64px);
  margin: 0 32px 20px 32px;
  text-align: left;
}

/* Section taglines - similar to hero tagline */
.section-tagline {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.9;
  margin: 0 32px 40px 32px;
}

/* News Ticker - horizontal scroll */
.news-ticker {
  margin: 30px auto 30px;
  background: rgba(168, 180, 196, 0.05);
  border-top: 1px solid rgba(168, 180, 196, 0.2);
  border-bottom: 1px solid rgba(168, 180, 196, 0.2);
  /*border-radius: 8px;*/
  max-width: 900px;
  overflow: hidden;
  user-select: none;
}

.news-ticker-track {
  display: inline-block;
  padding: 12px 0;
  white-space: nowrap;
  animation: newsScroll 45s linear infinite;
}

.news-ticker-content {
  display: inline-block;
}

.news-ticker:hover .news-ticker-track {
  animation-play-state: paused;
}

@keyframes newsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.news-label {
  font-weight: 700;
  color: var(--accent);
  margin-right: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-sep {
  color: var(--muted);
  opacity: 0.6;
  margin: 0 20px;
}

.news-item {
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.news-item:hover {
  color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}

.product-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.6), rgba(2, 6, 23, 0.4));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(168, 180, 196, 0.15);
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  box-shadow: 0 20px 60px rgba(168, 180, 196, 0.15);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(2, 6, 23, 0.6));
}

.product-card:hover::before {
  opacity: 1;
}

.product-card h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.product-card h3 .icon {
  width: 32px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 400;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text);
  text-align: center;
  margin: 60px 0 40px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto 0;
}

.details-section {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(2, 6, 23, 0.3));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(168, 180, 196, 0.1);
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  scroll-margin-top: 80px;
  border: none;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(168, 180, 196, 0.18),
    0 0 18px 4px rgba(168, 180, 196, 0.05);
}

.details-section h2 {
  color: var(--accent);
  font-size: 2.2rem;
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 1px;
}

.details-section h4 {
  color: var(--accent);
  font-size: 1.4rem;
  margin: 0px 0 10px 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.details-section p {
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 400;
}

.details-section img,
.details-section canvas {
  border-radius: 12px;
  box-shadow: 
    0 0 20px rgba(168, 180, 196, 0.2),
    0 0 40px rgba(168, 180, 196, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
  box-shadow: 
    0 0 30px rgba(168, 180, 196, 0.4),
    0 0 60px rgba(168, 180, 196, 0.2),
    0 8px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(168, 180, 196, 0.4);
  transition: all 0.4s ease;
  background: linear-gradient(135deg, rgba(168, 180, 196, 0.05), rgba(168, 180, 196, 0.02));
  padding: 2px;
}

.details-section ul, .details-section ol {
    color: var(--muted);
    line-height: 1.8;
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.details-section ul li, .details-section ol li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

.details-section ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--accent);
    font-size: 1.3em;
    font-weight: 700;
    line-height: 1;
}

.details-section ol {
    counter-reset: ol-counter;
}

.details-section ol li::before {
    counter-increment: ol-counter;
    content: counter(ol-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.7;
}

.details-section ul li b, .details-section ol li b,
.details-section ul li strong, .details-section ol li strong {
    color: var(--text);
    font-weight: 700;
}

.details-section ul li p, .details-section ol li p {
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.details-section img {
    max-width: 90%;
    border-radius: 8px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    position: relative;
    left: 5%;
}

.details-section object {
    max-width: 90%;
    background: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    left: 5%;
}

.details-section .table {
    color: var(--text);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    margin: 30px 0;
    overflow: hidden;
    position: relative;
}

.details-section .table th {
    background: rgba(168, 180, 196, 0.1);
    color: var(--accent);
    border-bottom: 1px solid rgba(168, 180, 196, 0.25);
    border-right: 1px solid rgba(168, 180, 196, 0.15);
    padding: 15px;
}

.details-section .table th:last-child {
    border-right: none;
}

.details-section .table td {
    border-bottom: 1px solid rgba(168, 180, 196, 0.15);
    border-right: 1px solid rgba(168, 180, 196, 0.15);
    padding: 12px 15px;
}

.details-section .table td:last-child {
    border-right: none;
}

.details-section .table tr:last-child td {
    border-bottom: none;
}

/* Removed duplicate contact-section and contact-form styles */

footer {
    color: white !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

footer a {
    color: white !important;
    transition: color 0.2s ease;
    text-decoration: none;
}

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

.footer-compact {
    padding: 24px 32px;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-single-line {
    padding: 12px 32px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.footer-single-line a {
    color: var(--muted) !important;
}

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

.footer-sep {
    opacity: 0.4;
}

.footer-blocks {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-block-copyright {
    justify-self: start;
}

.footer-block-group {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 48px;
    justify-content: center;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

.footer-block p {
    margin: 0;
    color: var(--muted) !important;
}

.footer-block a {
    color: var(--muted) !important;
}

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

.footer-block-title {
    font-weight: 600;
    color: var(--text) !important;
}

.footer-block-title a {
    color: var(--text) !important;
}

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

/* Removed duplicate 600px media query */

.legal-content h4 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content h4:first-of-type {
    margin-top: 0;
}

.about-section {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.5), rgba(2, 6, 23, 0.3));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(168, 180, 196, 0.1);
  padding: 48px;
  margin: 0 0 60px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.about-section h1 {
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.about-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-section ul {
  list-style: none;
  padding-left: 0;
  margin: 32px 0;
  display: grid;
  gap: 16px;
}

.about-section ul li {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-section ul li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

.about-section ul li p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

.about-section ul li::before {
  content: "▸ ";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Removed duplicate contact-section styles at end of file */

/* === CALCULATOR OVERRIDES === */
#page-compression .card h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

#page-compression label {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Custom compressor fields */
.custom-compressor-fields {
  margin-top: 12px;
  padding: 16px;
  background: rgba(168, 180, 196, 0.05);
  border: 1px solid rgba(168, 180, 196, 0.2);
  border-radius: 8px;
}

.custom-compressor-fields label {
  margin-top: 8px;
}

.custom-compressor-fields input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

/* Experience grid - 2x2 layout */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.experience-grid li {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.experience-grid li b {
  display: block;
  padding-left: 0;
}

.experience-grid li::before {
  content: "▸";
  color: var(--accent);
  font-size: 1.2em;
  margin-right: 12px;
  flex-shrink: 0;
  line-height: 1;
}

/* Removed duplicate 768px media query (experience) */

/* Removed duplicate contact form styles at end of file */

.underline2 {
  display: inline;
  border-bottom: 2px solid #9ca8b8;
  padding-bottom: 2px;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.5px;
}

/* Additional mobile viewport fixes for all orientations */
@media (max-width: 1024px) {
  html {
    width: 100%;
    overflow-x: hidden;
  }
  
  body {
    width: 100%;
    overflow-x: hidden;
  }
  
  /* Ensure background covers entire viewport in landscape mode */
  @media (orientation: landscape) {
    body::before {
      min-height: 100vh;
    }
    
    .page-section {
      min-height: 100vh;
    }
    
    .main-content-wrapper {
      min-height: calc(100vh - 140px);
    }
  }
}

/*html, body { height: 100%; }

body{
  margin:0;
  background: #05070d;
  background-image: var(--hexbg);
  background-size: cover;
  background-attachment: fixed;
}*/