/* ---------- 360 Virtual Tour block ---------- */
.vt-section {
  padding: 70px 0;
  background: #f4f9fc;
}

.vt-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 380px;
  padding: 60px 70px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  box-shadow: 0 25px 50px -20px rgba(0, 46, 92, 0.55);
}

/* Slowly panning panorama photo behind the card */
.vt-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--vt-bg);
  background-size: cover;
  background-position: 0% 50%;
  animation: vt-pan 40s ease-in-out infinite alternate;
}

/* Brand-blue overlay, darker on the text side */
.vt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
      rgba(0, 46, 92, 0.96) 0%,
      rgba(0, 70, 139, 0.88) 45%,
      rgba(0, 70, 139, 0.45) 100%);
}

@keyframes vt-pan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.vt-content {
  max-width: 560px;
}

.vt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.vt-eyebrow i {
  color: #ffdf00;
}

.vt-card .vt-title {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.vt-card .vt-text {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.vt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.vt-tags li {
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #fff;
}

.vt-tags .vt-tag-more {
  background: #ffdf00;
  color: #00468b;
  font-weight: 700;
}

/* Main button */
.vt-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 28px;
  border-radius: 50px;
  background: #fff;
  color: #00468b !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vt-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00468b;
  color: #fff;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.vt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.55);
}

.vt-btn:hover .vt-btn-icon {
  transform: translateX(4px);
}

/* 360 emblem with pulsing rings */
.vt-emblem {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  margin-right: 30px;
  text-decoration: none !important;
}

.vt-emblem-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  background: rgba(0, 46, 92, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.vt-emblem:hover .vt-emblem-core {
  transform: scale(1.06);
}

.vt-emblem-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.vt-emblem-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffdf00;
}

.vt-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: vt-pulse 3s ease-out infinite;
}

.vt-ring-2 {
  animation-delay: 1.5s;
}

@keyframes vt-pulse {
  0%   { transform: scale(0.75); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-bg,
  .vt-ring {
    animation: none;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .vt-card {
    padding: 50px 40px;
    gap: 20px;
  }

  .vt-card .vt-title {
    font-size: 32px;
  }

  .vt-emblem {
    width: 160px;
    height: 160px;
    margin-right: 0;
  }

  .vt-emblem-core {
    width: 120px;
    height: 120px;
  }

  .vt-emblem-num {
    font-size: 34px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .vt-section {
    padding: 50px 0;
  }

  .vt-card {
    flex-direction: column-reverse;
    align-items: flex-start;
    min-height: 0;
    padding: 30px 22px 32px;
    gap: 6px;
    border-radius: 16px;
  }

  .vt-card::before {
    background: linear-gradient(180deg,
        rgba(0, 70, 139, 0.6) 0%,
        rgba(0, 46, 92, 0.95) 45%,
        rgba(0, 46, 92, 0.97) 100%);
  }

  .vt-emblem {
    align-self: center;
    width: 120px;
    height: 120px;
    margin-bottom: 14px;
  }

  .vt-emblem-core {
    width: 92px;
    height: 92px;
  }

  .vt-emblem-num {
    font-size: 26px;
  }

  .vt-emblem-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .vt-card .vt-title {
    font-size: 26px;
  }

  .vt-card .vt-title br {
    display: none;
  }

  .vt-card .vt-text {
    font-size: 15px;
  }

  .vt-tags {
    margin-bottom: 24px;
  }

  .vt-tags li {
    font-size: 12px;
  }

  .vt-btn {
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
  }
}
