/* ==========================================================================
   EDUCARE ACADEMY - FINAL ENROLLMENT CTA STYLES (cta.css)
   Navy Banner, Floating 3D Avatars with Pulse Rings, Pill Buttons & Highlights
   ========================================================================== */

/* --------------------------------------------------------------------------
   11. DISTINCT CTA BAND BACKGROUND
   -------------------------------------------------------------------------- */
.cta-banner-distinct, .cta-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, var(--color-primary) 100%) !important;
  border-radius: var(--radius-lg);
  padding: var(--spacing-cta);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(234, 88, 12, 0.5);
}

.cta-banner-distinct .cta-banner-title, .cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-white) !important;
  margin-bottom: 1.15rem;
}

.cta-banner-distinct .cta-banner-sub, .cta-banner-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 26px;
}

.cta-buttons-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ==========================================================================
   REDESIGNED CTA SECTION (SOLID DEEP NAVY + DOODLE PATTERN + FLOATING AVATARS)
   ========================================================================== */
.cta-banner-reference {
  background-color: var(--color-navy) !important;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 69, 165, 0.25) 0%, rgba(0, 27, 75, 0) 70%),
                    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.08'%3E%3Ccircle cx='20' cy='20' r='10'/%3E%3Cpath d='M70,20 L85,20 L85,35 L70,35 Z'/%3E%3Cpath d='M15,70 L30,85'/%3E%3Ccircle cx='75' cy='75' r='8'/%3E%3Cpolygon points='50,10 55,25 40,18'/%3E%3C/g%3E%3C/svg%3E") !important;
  border-radius: 28px !important;
  padding: 5.5rem 3rem !important;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 27, 75, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.cta-content-inner {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin: 0 auto;
}

.cta-pill-badge-reference {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.cta-pill-badge-reference i {
  color: var(--color-primary);
}

.cta-heading-reference {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cta-subtext-reference {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons-reference-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* White Pill Button with Orange Arrow Box */
.cta-btn-white-pill {
  background: #FFFFFF;
  color: var(--color-navy) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.025rem;
  padding: 0.45rem 0.6rem 0.45rem 1.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.cta-btn-white-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  color: var(--color-navy) !important;
}

.cta-arrow-box-orange {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 200ms ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.cta-btn-white-pill:hover .cta-arrow-box-orange {
  transform: translateX(4px);
}

/* Plain Text Link with Arrow (No Background) */
.cta-btn-text-link {
  background: transparent !important;
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.025rem;
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: all 300ms ease;
}

.cta-btn-text-link:hover {
  color: #FF8A50 !important;
  transform: translateX(4px);
}

/* Floating Circular Avatars Positioned Freely Around Edges */
.floating-avatar-slot {
  position: absolute;
  z-index: 5;
  perspective: 600px;
}

.avatar-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 88, 12, 0.5);
  animation: pulseAvatarRing 2.5s infinite ease-out;
  pointer-events: none;
}

@keyframes pulseAvatarRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.avatar-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 6;
}

.floating-cta-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 28px rgba(0, 41, 124, 0.6), 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), opacity 450ms ease;
  backface-visibility: hidden;
}

.floating-cta-avatar:hover {
  transform: scale(1.14) rotate(4deg);
}

.avatar-pos-top-left {
  top: 14%;
  left: 6%;
}

.avatar-pos-bottom-left {
  bottom: 14%;
  left: 9%;
}

.avatar-pos-top-right {
  top: 16%;
  right: 7%;
}

.avatar-pos-bottom-right {
  bottom: 14%;
  right: 8%;
}

@media (max-width: 992px) {
  .floating-cta-avatar {
    width: 52px;
    height: 52px;
  }
  .avatar-pos-top-left { top: 6%; left: 3%; }
  .avatar-pos-bottom-left { bottom: 6%; left: 3%; }
  .avatar-pos-top-right { top: 6%; right: 3%; }
  .avatar-pos-bottom-right { bottom: 6%; right: 3%; }
}

@media (max-width: 600px) {
  .floating-avatar-slot {
    display: none;
  }
  .cta-banner-reference,
  .cta-banner-distinct {
    padding: 3rem 1.25rem !important;
    border-radius: 20px !important;
  }
  .cta-heading-reference,
  .cta-banner-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }
  .cta-subtext-reference,
  .cta-banner-sub {
    font-size: 0.95rem !important;
    margin-bottom: 1.75rem !important;
  }
  .cta-buttons-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .cta-buttons-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
}


/* 4. FINAL CTA BANNER POLISH MATCHING HERO PHOTO BLOCK */
.cta-banner-distinct {
  background: linear-gradient(135deg, var(--color-navy) 0%, #00297C 50%, #0045A5 100%) !important;
  border-radius: var(--radius-lg) !important;
  padding: 4.5rem 3.5rem !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 27, 75, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.cta-banner-distinct::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, rgba(0, 27, 75, 0) 70%);
  pointer-events: none;
}
