/* ==========================================================================
   QUORIT — About Page Custom Stylesheet (about-quorit.css)
   Aesthetic: Clinical Intellect | Premium Scientific Biomaterial Brand
   ========================================================================== */

/* Custom Micro-interactions & Visual Effects */
.custom-border {
  border: 1px solid rgba(16, 42, 67, 0.08);
}

.custom-border-teal {
  border: 1px solid rgba(0, 105, 109, 0.18);
}

.elevation-soft {
  box-shadow: 0 4px 20px -4px rgba(0, 21, 42, 0.05), 0 2px 6px -1px rgba(0, 21, 42, 0.02);
}

.elevation-hover {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.elevation-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 21, 42, 0.09), 0 6px 12px -2px rgba(0, 21, 42, 0.04);
  border-color: rgba(0, 105, 109, 0.3);
}

/* Subtle Animated Scientific Line / Path */
@keyframes dashPulse {
  0% {
    stroke-dashoffset: 200;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -200;
  }
}

.animated-science-line {
  stroke-dasharray: 12, 8;
  animation: dashPulse 18s linear infinite;
}

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

.animate-float-subtle {
  animation: floatGentle 7s ease-in-out infinite;
}

/* Intersection Observer Scroll Reveal */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Sticky Header Scrolled State */
header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 21, 42, 0.06);
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

/* Mobile Navigation Drawer */
#mobile-drawer {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

#mobile-drawer.drawer-closed {
  transform: translateX(100%);
  pointer-events: none;
}

#mobile-drawer.drawer-open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Back to Top Smooth Appearance */
#back-to-top-btn {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Accessible outline */
a:focus-visible, button:focus-visible {
  outline: 2px solid #00696d;
  outline-offset: 3px;
}
