.elementor-5860 .elementor-element.elementor-element-1dc2dcf2{--display:flex;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__top-bar-title{font-family:"Plus Jakarta Sans", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__top-bar-subtitle{font-family:"Plus Jakarta Sans", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__message-bubble-name{font-family:"Poppins", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__message-bubble-body{font-family:"Poppins", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__message-bubble-time{font-family:"Poppins", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons__send-cta{font-family:"Plus Jakarta Sans", Sans-serif;font-size:16px;}.elementor-5860 .elementor-element.elementor-element-3e027768 .e-contact-buttons{--e-contact-buttons-send-button-padding-block-end:0px;--e-contact-buttons-send-button-padding-block-start:0px;--e-contact-buttons-send-button-padding-inline-end:0px;--e-contact-buttons-send-button-padding-inline-start:0px;--e-contact-buttons-chat-box-width:300px;}/* Start custom CSS for contact-buttons, class: .elementor-element-3e027768 *//* ==========================================================================
   PrepXperts Online Academy — Floating WhatsApp Chat Widget
   Elementor Pro "Floating Buttons" (.e-contact-buttons__*)
   FINAL — replaces all previous blocks and patches.
   Paste into: widget → Advanced → Custom CSS
   ========================================================================== */

.e-contact-buttons {
  --px-navy:    #0B1F4B;
  --px-navy-2:  #143270;
  --px-ocean:   #0B5E7D;
  --px-teal:    #0EA5A0;
  --px-amber:   #F59E0B;
  --px-wa:      #25D366;
  --px-wa-deep: #12A150;
  --px-ink:     #12203C;
  --px-muted:   #6B7A99;
  --px-line:    #E7EBF3;
  --px-surface: #F6F8FC;
  --px-avatar:  54px;
  --px-font:    'Plus Jakarta Sans','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

.e-contact-buttons,
.e-contact-buttons * {
  font-family: var(--px-font) !important;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   1 · PANEL
   -------------------------------------------------------------------------- */
.e-contact-buttons__content {
  max-width: calc(100vw - 28px) !important;
  border: 1px solid rgba(11,31,75,.07) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 28px 60px -20px rgba(11,31,75,.45),
              0 8px 20px -10px rgba(11,31,75,.22) !important;
  animation: px-pop .34s cubic-bezier(.22,1,.36,1) both;
}

/* --------------------------------------------------------------------------
   2 · TOP BAR
   Right gutter is reserved so the close button can never sit on the text.
   -------------------------------------------------------------------------- */
.e-contact-buttons__top-bar {
  position: relative !important;
  padding: 16px 56px 16px 18px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--px-navy) 0%, var(--px-navy-2) 52%, var(--px-ocean) 100%) !important;
}

.e-contact-buttons__top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130px 80px at 86% -15%, rgba(14,165,160,.40), transparent 70%),
    radial-gradient(170px 110px at -5% 120%, rgba(19,164,235,.22), transparent 70%);
}

.e-contact-buttons__top-bar [class*="profile-name"],
.e-contact-buttons__top-bar h1,
.e-contact-buttons__top-bar h2,
.e-contact-buttons__top-bar h3,
.e-contact-buttons__top-bar h4 {
  position: relative;
  margin: 0 !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  color: #fff !important;
}

.e-contact-buttons__top-bar [class*="profile-title"],
.e-contact-buttons__top-bar [class*="profile-subtitle"],
.e-contact-buttons__top-bar p {
  position: relative;
  margin: 3px 0 0 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: .01em !important;
  color: rgba(255,255,255,.74) !important;
}

/* --------------------------------------------------------------------------
   3 · AVATAR
   The white square frame is Elementor's own border on the wrapper — removed
   here and replaced with a box-shadow ring so the circle stays clean.
   -------------------------------------------------------------------------- */
.e-contact-buttons__profile-image,
.e-contact-buttons__profile-image-el {
  width: var(--px-avatar) !important;
  height: var(--px-avatar) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  flex: none !important;
}

.e-contact-buttons__profile-image {
  position: relative !important;
  background: transparent !important;
  overflow: visible !important;
}

.e-contact-buttons__profile-image-el {
  display: block !important;
  object-fit: cover !important;
  object-position: center 20% !important;   /* nudge % if her face sits high/low */
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35),
              0 6px 16px -6px rgba(0,0,0,.55) !important;
}

.e-contact-buttons__top-bar [class*="profile"][class*="dot"] {
  border: 2px solid #fff !important;
  background: #34E27A !important;
  animation: px-live 2.4s ease-out infinite;
}

/* --------------------------------------------------------------------------
   4 · CLOSE BUTTON
   The icon font renders as an empty box, so the X is drawn in CSS.
   :has(svg) suppresses the drawn version if a real icon is present.
   -------------------------------------------------------------------------- */
.e-contact-buttons__close-button {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2 !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: .9 !important;
  transition: background .2s ease, transform .25s ease, opacity .2s ease;
}

.e-contact-buttons__close-button:hover {
  background: rgba(255,255,255,.26) !important;
  transform: rotate(90deg);
  opacity: 1 !important;
}

.e-contact-buttons__close-button::before,
.e-contact-buttons__close-button::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.e-contact-buttons__close-button::before { transform: rotate(45deg); }
.e-contact-buttons__close-button::after  { transform: rotate(-45deg); }

.e-contact-buttons__close-button:has(svg)::before,
.e-contact-buttons__close-button:has(svg)::after { display: none; }

.e-contact-buttons__close-button svg {
  width: 12px !important;
  height: 12px !important;
  fill: #fff !important;
}

/* --------------------------------------------------------------------------
   5 · MESSAGE AREA
   -------------------------------------------------------------------------- */
.e-contact-buttons__message-bubble {
  padding: 20px 18px !important;
  background-color: var(--px-surface) !important;
  background-image: radial-gradient(rgba(11,31,75,.055) 1px, transparent 1px) !important;
  background-size: 16px 16px !important;
}

.e-contact-buttons__bubble {
  position: relative !important;
  isolation: isolate !important;          /* keeps the white tail off the text */
  padding: 13px 15px !important;
  border: 1px solid var(--px-line) !important;
  border-radius: 4px 16px 16px 16px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px -6px rgba(11,31,75,.16) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  color: var(--px-ink) !important;
}

.e-contact-buttons__bubble > * { position: relative !important; z-index: 2 !important; }

.e-contact-buttons__bubble::before,
.e-contact-buttons__bubble::after,
.e-contact-buttons__bubble-container::before,
.e-contact-buttons__bubble-container::after,
.e-contact-buttons__message-bubble [class*="tail"],
.e-contact-buttons__message-bubble [class*="arrow"] { z-index: 0 !important; }

.e-contact-buttons__bubble [class*="bubble-name"],
.e-contact-buttons__bubble b,
.e-contact-buttons__bubble strong {
  display: block !important;
  width: 100% !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-indent: 0 !important;
  text-transform: none !important;
  color: var(--px-teal) !important;
}

.e-contact-buttons__bubble [class*="bubble-body"],
.e-contact-buttons__bubble p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--px-ink) !important;
}

.e-contact-buttons__bubble [class*="bubble-time"] {
  display: block !important;
  margin-top: 8px !important;
  text-align: right !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--px-muted) !important;
  opacity: .85;
}

/* --------------------------------------------------------------------------
   6 · SEND CTA
   -------------------------------------------------------------------------- */
.e-contact-buttons__send-button-container {
  padding: 14px 18px 18px !important;
  background: #fff !important;
  border-top: 1px solid var(--px-line) !important;
}

.e-contact-buttons__send-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #2BE072 0%, var(--px-wa) 45%, var(--px-wa-deep) 100%) !important;
  color: #fff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px -12px rgba(18,161,80,.9),
              inset 0 1px 0 rgba(255,255,255,.32) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

/* Overrides Elementor's "grow" animation with a cleaner lift */
.e-contact-buttons__send-cta:hover,
.e-contact-buttons__send-cta.elementor-animation-grow:hover,
.e-contact-buttons__send-cta.elementor-animation-grow:focus {
  transform: translateY(-1px) !important;
  filter: saturate(1.08);
  box-shadow: 0 14px 26px -12px rgba(18,161,80,1),
              inset 0 1px 0 rgba(255,255,255,.40) !important;
}

.e-contact-buttons__send-cta:active { transform: translateY(0) !important; }

.e-contact-buttons__send-cta svg {
  width: 19px !important;
  height: 19px !important;
  fill: #fff !important;
}

/* --------------------------------------------------------------------------
   7 · FLOATING BUTTON
   -------------------------------------------------------------------------- */
.e-contact-buttons__chat-button {
  width: 58px !important;
  height: 58px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #2BE072 0%, var(--px-wa) 50%, var(--px-wa-deep) 100%) !important;
  transition: transform .22s cubic-bezier(.22,1,.36,1) !important;
  animation: px-halo 3s ease-out infinite;
}

.e-contact-buttons__chat-button:hover { transform: scale(1.06) !important; }

.e-contact-buttons__chat-button svg {
  width: 30px !important;
  height: 30px !important;
  fill: #fff !important;
}

.e-contact-buttons__chat-button-dot,
.e-contact-buttons__chat-button [class*="dot"],
.e-contact-buttons__chat-button + [class*="dot"] {
  border: 2px solid #fff !important;
  background: var(--px-amber) !important;
  box-shadow: 0 2px 6px rgba(11,31,75,.35) !important;
}

/* --------------------------------------------------------------------------
   8 · MOTION
   -------------------------------------------------------------------------- */
@keyframes px-pop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

@keyframes px-live {
  0%   { box-shadow: 0 0 0 0 rgba(52,226,122,.65); }
  70%,
  100% { box-shadow: 0 0 0 7px rgba(52,226,122,0); }
}

@keyframes px-halo {
  0%   { box-shadow: 0 14px 30px -10px rgba(18,161,80,.75), 0 0 0 0 rgba(37,211,102,.55); }
  70%,
  100% { box-shadow: 0 14px 30px -10px rgba(18,161,80,.75), 0 0 0 16px rgba(37,211,102,0); }
}

/* --------------------------------------------------------------------------
   9 · ACCESSIBILITY + MOBILE
   -------------------------------------------------------------------------- */
.e-contact-buttons a:focus-visible,
.e-contact-buttons button:focus-visible {
  outline: 3px solid rgba(14,165,160,.55) !important;
  outline-offset: 2px !important;
}

@media (prefers-reduced-motion: reduce) {
  .e-contact-buttons * { animation: none !important; transition: none !important; }
}

@media (max-width: 480px) {
  .e-contact-buttons { --px-avatar: 46px; }
  .e-contact-buttons__content        { border-radius: 18px !important; }
  .e-contact-buttons__top-bar        { padding: 14px 50px 14px 16px !important; }
  .e-contact-buttons__message-bubble { padding: 16px 14px !important; }
  .e-contact-buttons__chat-button    { width: 54px !important; height: 54px !important; }
}

/* --------------------------------------------------------------------------
   OPTIONAL TWEAKS — uncomment as needed
   -------------------------------------------------------------------------- */

/* a) Sender name still losing its first letter → delete the tail outright */
/*
.e-contact-buttons__bubble::before,
.e-contact-buttons__bubble-container::before,
.e-contact-buttons__message-bubble [class*="tail"] { display: none !important; }
*/

/* b) Keep the full square avatar artwork instead of a circular crop */
/*
.e-contact-buttons__profile-image,
.e-contact-buttons__profile-image-el { border-radius: 14px !important; }
*/

/* c) Plain navy header, no gradient bloom */
/*
.e-contact-buttons__top-bar { background: var(--px-navy) !important; }
.e-contact-buttons__top-bar::before { display: none; }
*//* End custom CSS */