/* =========================================================
   CALIBRATION DIVISION STYLESHEET (abhimo.com Style)
   All In One Technology - Traceable Metrology & Testing
   ========================================================= */

:root {
  --calibration-primary: #7c3aed;
  --calibration-secondary: #6366f1;
  --calibration-glow: rgba(124, 58, 237, 0.18);
  --calibration-bg-card: rgba(255, 255, 255, 0.88);
}

/* Division Pill Badge (Division 05: Professional Violet + Blue Glass) */
.badge-calibration {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background: rgba(30, 27, 75, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #EDE9FE;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
  transition: all 0.3s ease;
}

.badge-calibration i,
.badge-calibration svg {
  color: #A78BFA;
}

/* Calibration Highlight Panel (Frosted Abhimo Glass) */
.calibration-card {
  background: var(--calibration-bg-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.06);
}

.calibration-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(124, 58, 237, 0.14);
}

.calibration-card h3 {
  color: #082032;
  font-weight: 700;
}

.calibration-card p {
  color: #475569;
  text-align: justify;
  line-height: 1.8;
}

/* Calibration Scope Grid Item */
.calibration-scope-item {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 14px;
  padding: 1.35rem;
  transition: all 0.3s ease;
  color: #475569;
  line-height: 1.7;
}

.calibration-scope-item strong {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.calibration-scope-item:hover {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.08);
}

/* Metrology Traceability Seal */
.metrology-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  color: #059669;
  font-weight: 600;
}

/* Responsive Enhancements for Calibration */
@media (max-width: 640px) {
  .calibration-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .calibration-scope-item {
    padding: 1rem;
  }
  .metrology-seal {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
  }
}

/* =========================================================
   HERO BACKGROUND VIDEO, OVERLAY & DIVISION 05 TREATMENT
   ========================================================= */
/* Division 05 Soft Overlay & Glass Content Panel Treatment */
.hero-video-section {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(30, 27, 75, 0.55) 0%,
      rgba(30, 27, 75, 0.12) 22%,
      rgba(30, 27, 75, 0.12) 78%,
      rgba(30, 27, 75, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Crystal clear video content panel: 60% translucent dark tint without backdrop blur for crisp video visibility */
.hero-content-panel {
  background: rgba(30, 27, 75, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .hero-video-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content-panel {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }
}

.hero-video-section .relative.z-10 {
  position: relative;
  z-index: 10;
}

/* =========================================================
   SUBTLE PROFESSIONAL ENTRANCE ANIMATIONS
   ========================================================= */
@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-video-section .badge-calibration {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-video-section h1 {
  animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-video-section .hero-text {
  animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-video-section .flex.flex-wrap {
  animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-section * {
    animation: none !important;
    transition: none !important;
  }
}

