/* =====================================================
   Zemtoris Website — Global Stylesheet
   ===================================================== */

/* ── Smooth scroll & box sizing ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Material Symbols ── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  line-height: 1;
}

/* ── Glassmorphism ── */
.glass {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.dark-glass {
  background: rgba(13, 28, 50, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── Signature Gradient (Navy → Teal) ── */
.signature-gradient {
  background: linear-gradient(45deg, #0d1c32 0%, #006a6a 100%);
}

/* ── Text Gradient ── */
.text-gradient {
  background: linear-gradient(45deg, #0d1c32 0%, #006a6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll Animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for child elements */
.stagger-item:nth-child(1) { transition-delay: 0ms; }
.stagger-item:nth-child(2) { transition-delay: 90ms; }
.stagger-item:nth-child(3) { transition-delay: 180ms; }
.stagger-item:nth-child(4) { transition-delay: 270ms; }
.stagger-item:nth-child(5) { transition-delay: 360ms; }
.stagger-item:nth-child(6) { transition-delay: 450ms; }

/* ── Navigation ── */
#main-nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
#main-nav.scrolled {
  box-shadow: 0 20px 48px rgba(13, 28, 50, 0.12);
}

/* ── Mobile Menu ── */
#mobile-menu {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
#mobile-menu.menu-hidden {
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
}

/* ── Hover Lift Cards ── */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(13, 28, 50, 0.10);
}

/* ── Phase cards (Approach page) ── */
.phase-card {
  transition: background-color 0.45s ease;
}
.phase-card .phase-icon,
.phase-card .phase-title,
.phase-card .phase-text {
  transition: color 0.45s ease;
}
.phase-card:hover {
  background-color: #006a6a;
}
.phase-card:hover .phase-icon,
.phase-card:hover .phase-title {
  color: #ffffff;
}
.phase-card:hover .phase-text {
  color: rgba(255, 255, 255, 0.82);
}

/* ── Form Inputs (Contact page) ── */
.zemtoris-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #c5c6cd;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #191c1e;
  outline: none;
  transition: border-color 0.25s ease;
  resize: none;
}
.zemtoris-input:focus {
  border-bottom-color: #006a6a;
}
.zemtoris-input::placeholder {
  color: #75777e;
  font-size: 0.95rem;
}

.zemtoris-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #c5c6cd;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #191c1e;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.zemtoris-select:focus {
  border-bottom-color: #006a6a;
}
.zemtoris-select option {
  background: #ffffff;
  color: #191c1e;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f7f9fb; }
::-webkit-scrollbar-thumb { background: #c5c6cd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #006a6a; }

/* ── Selection highlight ── */
::selection {
  background: rgba(0, 106, 106, 0.18);
  color: #191c1e;
}

/* ── Orbital decorative circle ── */
.orbital-ring {
  border-radius: 50%;
  border: 1px solid rgba(0, 106, 106, 0.15);
  position: absolute;
  animation: orbitSlow 20s linear infinite;
}
@keyframes orbitSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Hero entrance animation ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.hero-animate-delay-2 { animation-delay: 0.25s; opacity: 0; }
.hero-animate-delay-3 { animation-delay: 0.4s; opacity: 0; }
.hero-animate-delay-4 { animation-delay: 0.55s; opacity: 0; }

/* ── Logo images ── */
/* Nav logo icon — cropped square so just the Q mark shows */
.nav-logo-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

/* Footer logo icon — slightly larger, sits on dark bg nicely */
.footer-logo-icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

/* ── Certification badge ── */
.cert-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 28, 50, 0.10);
}

/* ── Responsive nav padding ── */
@media (max-width: 640px) {
  .section-padding { padding-left: 1.25rem; padding-right: 1.25rem; }
}


/* ═══════════════════════════════════════════════════
   CONSENT BANNER (Consent Mode v2 / GDPR / EEA)
═══════════════════════════════════════════════════ */
#zcb {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e0e3e5;
  box-shadow: 0 -8px 40px rgba(13, 28, 50, 0.10);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#zcb.zcb--visible {
  transform: translateY(0);
}
.zcb-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.zcb-body {
  flex: 1;
  min-width: 200px;
}
.zcb-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #191c1e;
  margin: 0 0 0.3rem;
}
.zcb-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #44474d;
  line-height: 1.55;
  margin: 0;
}
.zcb-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.zcb-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.zcb-btn:hover { opacity: 0.85; }
.zcb-btn--secondary {
  background: #f2f4f6;
  color: #44474d;
}
.zcb-btn--primary {
  background: linear-gradient(45deg, #0d1c32 0%, #006a6a 100%);
  color: #ffffff;
}
@media (max-width: 640px) {
  .zcb-inner  { padding: 1rem; gap: 1rem; }
  .zcb-actions { width: 100%; }
  .zcb-btn    { flex: 1; text-align: center; }
}
