/* === Owl Popup: overlay + modal === */
.owl-popup-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 12, 12, 0.16);
  backdrop-filter: blur(7px);
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.owl-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.owl-popup-modal {
  position: fixed;
  z-index: 2001;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  min-width: 360px;
  background: #040B0C;
  border: 1px solid #00d5ff39;
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 #00d5ff26, 0 2px 10px #0002;
  padding: 44px 36px 38px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
}
.owl-popup-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}

.owl-popup-close {
  position: absolute;
  top: 22px;
  right: 32px;
  background: none;
  border: none;
  color: #00d5ff;
  font-size: 2.2rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 2002;
  line-height: 1;
  transition: color 0.16s;
}
.owl-popup-close:hover { color: #20e0ff; }

.owl-popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.owl-popup-owl {
  width: 72px; height: 72px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px #00d5ff14);
}
.owl-popup-title {
  font-size: 1.34rem;
  color: #ffffff;
  letter-spacing: 0.07em;
  font-weight: 400;
  margin-bottom: 0;
  text-align: center;
  font-family: inherit;
}
.owl-popup-cards {
  display: flex;
  flex-direction: row;
  gap: 34px;
  width: 100%;
  justify-content: center;
}
.owl-popup-card {
  background: #0B181A;
  border-radius: 20px;
  box-shadow: 0 4px 32px #00d5ff0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  min-height: 170px;
  padding: 26px 14px 18px 14px;
  text-align: center;
  color: #fff;
  font-family: inherit;
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-decoration: none;
  gap: 20px;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.22s, transform 0.22s;
  border: none;
  outline: none;
}
.owl-popup-card:hover,
.owl-popup-card:focus {
  background: #082633;
  transform: translateY(-2px) scale(1.05);
  color: #00d5ff;
}
.owl-popup-card .card-label {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.12em;
}
.owl-popup-card .card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

/* === Shared base for “chat bubble” hints (welcome/services/mentorship) === */
.owl-chat-popup {
  position: fixed;
  left: 95px;    /* sits near the floating owl */
  top: 110px;
  z-index: 2001;
  display: flex;
  align-items: center;
  pointer-events: none;       /* doesn’t block owl clicks */
  animation: fadeIn 0.7s;
}
.owl-chat-bubble { max-width: 480px; }

/* Safety: overlay invisible unless .active */
#owlPopupOverlay:not(.active){ display:none; }

/* === Responsive tweaks === */
@media (max-width: 700px) {
  .owl-popup-modal {
    min-width: 0;
    width: 95vw;
    padding: 20px 6vw 28px 6vw;
    border-radius: 14px;
  }
  .owl-popup-header { margin-bottom: 18px; }
  .owl-popup-cards {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .owl-popup-card {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
    border-radius: 13px;
    padding: 16px 8px;
  }
  .owl-popup-owl { width: 46px; height: 46px; margin-bottom: 10px; }
}

@media (max-width: 900px) {
  .owl-popup-modal {
    width: 92vw;
    max-width: 420px;
    min-width: auto;
    max-height: 88vh;
    overflow: auto;
    padding: 22px 0 22px 0;
    border-radius: 20px;
    transform: translate(-50%, -50%) scale(1);
  }
  .owl-popup-header { gap: 10px; margin-bottom: 14px; }
  .owl-popup-owl { width: 42px; height: 42px; }
  .owl-popup-title {
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.3;
    margin: 0;
    text-align: center;
  }
  .owl-popup-cards {
    margin-top: 30px;
    flex-direction: column;
    gap: 34px;
    width: 80%;
  }
  .owl-popup-card {
    width: 100%;
    min-width: 0;
    min-height: 120px;
    padding: 18px 14px;
    border-radius: 16px;
  }
  .owl-popup-card .card-label {
    font-size: clamp(0.95rem, 3.8vw, 1.05rem);
    letter-spacing: 0.08em;
    line-height: 1.2;
  }
  .owl-popup-card .card-icon {
    width: 48px;
    height: auto;
    margin-top: 10px;
  }
  .owl-popup-close { top: 10px; right: 16px; font-size: 2rem; }
}
@media (min-width:481px) and (max-width:900px) {
  .owl-popup-cards { gap: 22px; }
  .owl-popup-card { min-width: 150px; }
}




























/* =========================================================
   OWL HINT BUBBLES — unified, fixed, and tether-friendly
   Drop this whole section into your owl-popup.css (replace
   the previous duplicate/overriding blocks).
   ========================================================= */

/* Base wrapper (legacy id supported). JS will override left/top. */
.owl-chat-popup,
#owlChatPopup {
  position: fixed;               /* must be fixed so it follows the owl */
  left: 95px;                    /* harmless default; JS repositions */
  top: 110px;                    /* "" */
  z-index: 2001;
  display: flex;
  align-items: center;
  pointer-events: none;          /* wrapper never blocks owl click */
  animation: fadeIn 0.7s ease;
  opacity: 1;
}

/* Optional owl icon inside the wrapper */
.owl-chat-popup .owl-icon,
#owlChatPopup .owl-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

/* Card look (shared by all hints + legacy) */
.owl-chat-bubble,
#owlChatBubble {
  background: rgba(10, 22, 26, 0.92);
  border: 1px solid #0b3840;
  border-radius: 16px;
  box-shadow: 0 0 36px #00d5ff22, 0 10px 28px rgba(0,0,0,.35);
  padding: 16px 18px;
  max-width: 560px;
  color: #aee6ff;
  line-height: 1.45;
  pointer-events: auto;          /* allow selection / future links */
}

/* Title style */
.owl-chat-bubble .owl-title,
#owlChatBubble .owl-title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0 0 6px 0;
  font-size: 1.02rem;
}

/* Fade-out helper (used by all hint ids) */
#owlWB_first.fade-out,
#owlWB_services.fade-out,
#owlWB_mentorship.fade-out,
#owlChatPopup.fade-out {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .6s ease, transform .4s ease;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .owl-chat-popup,
  #owlChatPopup { animation: none !important; }
}

/* Small screens: keep bubble readable */
@media (max-width: 600px) {
  .owl-chat-bubble,
  #owlChatBubble {
    max-width: 86vw;
    padding: 14px 16px;
    font-size: 0.98rem;
  }
}







































