/* Global UX enhancements: typography, cursor, WhatsApp, premium cards */

html {
  font-size: 106.25%;
}

body.app-body {
  line-height: 1.65;
}

.stitch-navbar .nav-link {
  font-size: 0.95rem !important;
  padding: 0.5rem 0.95rem !important;
}

.stitch-navbar .navbar-brand {
  font-size: 1.12rem;
}

.stitch-navbar .nav-link .bi {
  font-size: 1.05em;
}

.stitch-navbar .btn-sm {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

/* Custom makeup cursor (desktop only)
@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor select,
  html.has-custom-cursor label {
    cursor: none !important;
  }

  .makeup-cursor {
    border-radius: 50%;
    height: 28px;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    width: 28px;
    z-index: 10050;
    will-change: transform;
  }

  .makeup-cursor-dot {
    background: radial-gradient(circle at 35% 35%, #ff8fab, #c9184a 55%, #800f2f);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 12px rgba(201, 24, 74, 0.45);
    height: 14px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
  }

  .makeup-cursor-ring {
    border: 2px solid rgba(212, 175, 55, 0.55);
    border-radius: 50%;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
  }

  .makeup-cursor.is-hover {
    height: 44px;
    width: 44px;
  }

  .makeup-cursor.is-hover .makeup-cursor-ring {
    border-color: rgba(212, 175, 55, 0.95);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
    transform: scale(1.08);
  }

  .makeup-cursor.is-hover .makeup-cursor-dot {
    transform: translate(-50%, -50%) scale(1.15);
  }
} */

/* Custom makeup cursor (desktop only) - Premium Glow Design */
@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor select,
  html.has-custom-cursor label {
    /* cursor: none !important; */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="6" fill="%23ff6b9d" stroke="%23000000" stroke-width="4"/></svg>') 16 16, auto !important;
  }

  .makeup-cursor {
    border-radius: 50%;
    border: 4px solid rgb(0, 0, 0);
    height: 8px;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), height 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.2s ease;
    width: 8px;
    z-index: 10050;
    will-change: transform;
  }

  .makeup-cursor-dot {
    background: radial-gradient(circle at 40% 40%, #ffffff, #f0f0f0);
    border-radius: 50%;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .makeup-cursor-ring {
    border-radius: 50%;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
  }

  /* Hover state: expands into a glowing circle with vibrant colors */
  .makeup-cursor.is-hover {
    height: 48px;
    width: 48px;
  }

  .makeup-cursor.is-hover .makeup-cursor-dot {
    background: radial-gradient(circle at 40% 40%, #fff, #ffe6f0);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }

  .makeup-cursor.is-hover .makeup-cursor-ring {
    animation: cursorGlowPulse 1.2s ease-in-out infinite;
    border: 2px solid;
    border-color: #ff6b9d;
    opacity: 1;
    transform: scale(1);
  }

  /* Multi-color glowing animation */
  @keyframes cursorGlowPulse {
    0% {
      border-color: #ff6b9d;
      box-shadow: 0 0 12px rgba(255, 107, 157, 0.5), inset 0 0 6px rgba(255, 107, 157, 0.3);
      transform: scale(1);
    }
    25% {
      border-color: #ffb347;
      box-shadow: 0 0 18px rgba(255, 180, 71, 0.6), inset 0 0 8px rgba(255, 180, 71, 0.4);
      transform: scale(1.05);
    }
    50% {
      border-color: #a855f7;
      box-shadow: 0 0 22px rgba(168, 85, 247, 0.7), inset 0 0 10px rgba(168, 85, 247, 0.4);
      transform: scale(1.1);
    }
    75% {
      border-color: #ff6b9d;
      box-shadow: 0 0 18px rgba(255, 107, 157, 0.6), inset 0 0 8px rgba(255, 107, 157, 0.4);
      transform: scale(1.05);
    }
    100% {
      border-color: #ffb347;
      box-shadow: 0 0 12px rgba(255, 180, 71, 0.5), inset 0 0 6px rgba(255, 180, 71, 0.3);
      transform: scale(1);
    }
  }

  /* Optional: subtle trail effect for extra polish */
  .makeup-cursor::after {
    background: radial-gradient(circle, rgba(255, 107, 157, 0.3), transparent 70%);
    border-radius: 50%;
    content: '';
    height: 100%;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    transition: opacity 0.2s ease;
    width: 100%;
    z-index: -1;
  }

  .makeup-cursor.is-hover::after {
    opacity: 0.6;
  }
}











































































/* Floating WhatsApp */
.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 1.5rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
  display: flex;
  font-size: 1.65rem;
  height: 3.5rem;
  justify-content: center;
  position: fixed;
  right: 1.25rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 3.5rem;
  z-index: 1045;
}

.whatsapp-float::before {
  animation: whatsapp-pulse 2s ease-out infinite;
  background: rgba(37, 211, 102, 0.45);
  border-radius: 50%;
  content: "";
  inset: -6px;
  position: absolute;
  z-index: -1;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-tooltip {
  background: #1a1c1c;
  border-radius: 6px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0;
  padding: 0.35rem 0.65rem;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-float-tooltip,
.whatsapp-float:focus-visible .whatsapp-float-tooltip {
  opacity: 1;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    bottom: 1rem;
    height: 3.15rem;
    right: 1rem;
    width: 3.15rem;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}

/* Premium course cards */
.premium-course-grid {
  display: grid;
  gap: var(--stitch-gap, 1.25rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-course-card {
  background: #fff;
  border: 1px solid #d0c5af;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.premium-course-card:hover {
  border-color: #735c00;
  box-shadow: 0 22px 50px rgba(115, 92, 0, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.25);
  transform: translateY(-8px);
}

.premium-course-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.premium-course-card__img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}

.premium-course-card:hover .premium-course-card__img img {
  transform: scale(1.06);
}

.premium-course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.5rem;
}

.premium-course-card__meta {
  color: #735c00;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.5rem 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.premium-course-card__body h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

.premium-course-card__body p {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Testimonial slider cards */
.stitch-testimonial-slide {
  height: auto;
}

.stitch-testimonial-premium {
  background: #fff;
  border: 1px solid #d0c5af;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 220px;
  padding: 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide-active .stitch-testimonial-premium {
  border-color: #735c00;
  box-shadow: 0 16px 40px rgba(26, 28, 28, 0.08);
}

.stitch-testimonial-stars {
  color: #e9c349;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.stitch-testimonial-premium blockquote,
.stitch-testimonial-premium p {
  flex: 1;
  font-style: italic;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.stitch-testimonial-premium footer {
  border-top: 1px solid rgba(208, 197, 175, 0.5);
  padding-top: 1rem;
}

.stitch-testimonial-premium strong {
  color: #1a1c1c;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.stitch-testimonial-premium span {
  color: #735c00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Services preview premium */
.stitch-service-preview {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  position: relative;
}

.stitch-service-preview__icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(115, 92, 0, 0.12), rgba(233, 195, 73, 0.2));
  border-radius: 50%;
  color: #735c00;
  display: inline-flex;
  font-size: 100px;
  /* font-size: 1.5rem; */
  height: 3rem;
  justify-content: center;
  margin-bottom: 0.25rem;
  transition: transform 0.3s ease, background 0.3s ease;
  width: 3rem;
}

.stitch-service-preview:hover .stitch-service-preview__icon {
  background: linear-gradient(135deg, #f136a9, #3e37ff);
  /* background: linear-gradient(135deg, #735c00, #d4af37); */
  color: #fff;
  transform: scale(1.08);
}

.stitch-service-preview:hover {
  box-shadow: 0 18px 42px rgba(26, 28, 28, 0.1);
}

.stitch-discipline-card > section,
.stitch-discipline-card > div:not(.premium-course-card__img) {
  padding: 1.25rem 1.4rem 1.5rem;
}

@media (max-width: 1199.98px) {
  .premium-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .premium-course-grid {
    grid-template-columns: 1fr;
  }

  .stitch-footer-grid--4 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991.98px) {
  .stitch-footer-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}
