/* ==========================================================================
   EIBO SERVICES PVT. LTD. — VIRTUAL OFFICE ENTRANCE EXPERIENCE
   Immersive Headquarters Portal & Architectural Reception Showcase
   ========================================================================== */

/* Fullscreen Office Entrance Overlay */
.office-portal-overlay {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background: #0C1E27;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.office-portal-overlay.portal-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Architectural Entrance Backdrop */
.office-portal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, rgba(22, 140, 196, 0.25) 0%, rgba(12, 30, 39, 0.95) 75%),
              url('../images/office-reception.webp') center/cover no-repeat;
  filter: brightness(0.9) contrast(1.05);
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s;
}

.office-portal-overlay.entering .office-portal-bg {
  transform: scale(1.15);
  filter: brightness(1.1) blur(4px);
}

/* Glass Architectural Entrance Doors */
.portal-doors-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
}

.portal-door {
  flex: 1;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.08), rgba(242, 250, 253, 0.18));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: transform 1.1s cubic-bezier(0.7, 0, 0.2, 1);
}

.portal-door-left {
  transform-origin: left center;
  border-right: 2px solid rgba(49, 184, 222, 0.6);
}

.portal-door-right {
  transform-origin: right center;
  border-left: 2px solid rgba(49, 184, 222, 0.6);
}

.office-portal-overlay.doors-opened .portal-door-left {
  transform: translateX(-100%);
}

.office-portal-overlay.doors-opened .portal-door-right {
  transform: translateX(100%);
}

/* Cyan illuminated door seam */
.portal-door-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-cyan);
  box-shadow: 0 0 15px var(--brand-cyan);
}

/* Portal Welcome Card / HUD */
.portal-welcome-card {
  position: relative;
  z-index: 10;
  max-width: 680px;
  width: 90%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 25px 60px rgba(12, 30, 39, 0.45), 0 0 0 1px rgba(49, 184, 222, 0.3);
  text-align: center;
  animation: portalCardFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes portalCardFloat {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portal-robot-avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: radial-gradient(circle, var(--surface-ice) 0%, rgba(22, 140, 196, 0.15) 100%);
  border: 3px solid var(--brand-white);
  box-shadow: 0 8px 24px rgba(22, 140, 196, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portal-robot-avatar img {
  width: 85%;
  height: auto;
  transform: translateY(6px);
}

.portal-robot-avatar::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid var(--brand-white);
  box-shadow: 0 0 8px #10B981;
}

.portal-welcome-card h2 {
  font-size: 1.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.portal-welcome-card .portal-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
}

.portal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.portal-skip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.portal-skip-badge:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* ==========================================================================
   HOMEPAGE HERO: VIRTUAL OFFICE RECEPTION SHOWCASE
   ========================================================================== */

.hero-office {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  padding: 80px 0 100px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBFE 50%, #EDF7FC 100%);
  overflow: hidden;
}

.hero-office::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(49, 184, 222, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-office::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-badge-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-subheading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.14rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.trust-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Office Visual Stage */
.hero-visual-stage {
  position: relative;
  z-index: 4;
}

.office-stage-card {
  position: relative;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(23, 49, 61, 0.12), 0 0 0 1px rgba(22, 140, 196, 0.15);
  aspect-ratio: 16 / 10;
  transition: transform var(--transition-normal);
}

.office-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(23, 49, 61, 0.16);
}

.office-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-stage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(23, 49, 61, 0.1) 0%, rgba(23, 49, 61, 0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.office-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.office-status-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.btn-office-tour {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(22, 140, 196, 0.3);
  color: var(--brand-primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-office-tour:hover {
  background: var(--brand-blue);
  color: var(--brand-white);
  border-color: var(--brand-blue);
}

/* Office Hotspot Hubs */
.office-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.office-hotspot {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 140, 196, 0.3);
  box-shadow: var(--shadow-md);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all var(--transition-fast);
}

.office-hotspot:hover {
  background: var(--brand-blue);
  color: var(--brand-white);
  transform: translateY(-3px) scale(1.05);
  border-color: var(--brand-cyan);
}

.office-hotspot-1 { top: 28%; left: 12%; }
.office-hotspot-2 { top: 62%; right: 14%; }
.office-hotspot-3 { bottom: 18%; left: 24%; }

/* Floating Live Badges outside the card */
.hero-floating-badge {
  position: absolute;
  background: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 6;
  animation: floatingBob 4s ease-in-out infinite;
}

.hero-floating-badge-1 {
  bottom: -24px;
  left: -28px;
}

.hero-floating-badge-2 {
  top: -24px;
  right: -24px;
  animation-delay: -2s;
}

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

.badge-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-ice);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-text-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
