/* ========== FEATURES.CSS — Service Liking + Contact Modal + Slider + Mega Menu + Lightbox + Thank You ========== */

/* ========== THANK YOU PAGE ========== */
.thankyou-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 40px 80px;
  text-align: center;
  background: linear-gradient(135deg, #08001a 0%, #100030 50%, #08001a 100%);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  margin-bottom: 30px;
  color: #6040e0;
}

.thankyou-icon svg {
  filter: drop-shadow(0 0 20px rgba(96, 64, 224, 0.4));
}

.thankyou-section h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 24px;
  text-transform: lowercase;
}

.thankyou-lead {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.thankyou-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}

.thankyou-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.thankyou-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.thankyou-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, transform 0.3s;
}

.thankyou-social a:hover {
  color: #6040e0;
  transform: translateY(-2px);
}

/* ========== LIGHTBOX ========== */
.ec-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ec-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.ec-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-lightbox.open .ec-lightbox-img {
  transform: scale(1);
}

.ec-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s, transform 0.3s;
  z-index: 1;
}

.ec-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ========== SERVICE CARD CLICK AFFORDANCE ========== */
.svc-menu-card {
  position: relative;
  cursor: pointer;
}

.svc-menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.svc-menu-card:hover::after {
  border-color: rgba(96, 64, 224, 0.35);
}

.svc-menu-card-link {
  position: relative;
}

.svc-menu-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-glow, #6040e0);
  transition: width 0.3s ease;
}

.svc-menu-card:hover .svc-menu-card-link::after {
  width: 100%;
}

/* Arrow icon overlay on card image — signals clickable */
.svc-menu-card-img {
  position: relative;
}

.svc-menu-card-img::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.svc-menu-card:hover .svc-menu-card-img::after {
  opacity: 1;
}

/* ========== MEGA MENU ========== */
.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  background: rgba(8, 0, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(96, 64, 224, 0.15);
  border-radius: 16px;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(64, 32, 176, 0.08);
  pointer-events: none;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mega-menu-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(16, 0, 48, 0.6);
  border: 1px solid rgba(96, 64, 224, 0.1);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: #fff;
}

.mega-menu-card:hover {
  border-color: rgba(96, 64, 224, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(64, 32, 176, 0.15);
}

.mega-menu-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.mega-menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-menu-card:hover .mega-menu-card-img img {
  transform: scale(1.08);
}

.mega-menu-card-info {
  padding: 14px 12px 16px;
}

.mega-menu-card-info strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1px;
}

.mega-menu-card-info span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.mega-menu-card-info p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.mega-menu-all {
  display: block;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-glow, #6040e0);
  padding: 14px;
  border-top: 1px solid rgba(96, 64, 224, 0.15);
  transition: color 0.3s;
  text-decoration: none;
}

.mega-menu-all:hover {
  color: #fff;
}

/* Mega menu mobile */
@media (max-width: 768px) {
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    border-radius: 12px;
    padding: 16px;
    background: rgba(16, 0, 48, 0.8);
    border: 1px solid rgba(96, 64, 224, 0.1);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    margin: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .mega-menu.open {
    max-height: 600px;
    padding: 16px;
    transform: none;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mega-menu-card-info p {
    display: none;
  }
}

/* ========== MUSIC PENTAGON GRID ========== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.music-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 660px;
  margin: 24px auto 0;
}

.music-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(96, 64, 224, 0.12);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.music-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 64, 224, 0.4);
  box-shadow: 0 12px 40px rgba(64, 32, 176, 0.2);
}

.music-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.music-card:hover img {
  transform: scale(1.06);
}

.music-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  z-index: 1;
}

.music-card-info {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.music-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.music-card-info span {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1024px) {
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
  }
  .music-grid-bottom {
    max-width: 660px;
  }
}

@media (max-width: 768px) {
  .music-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .music-grid-bottom {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .music-card {
    aspect-ratio: 16/10;
  }
}

/* ========== INFINITE RELATED SERVICES SLIDER ========== */
.ec-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ec-slider {
  overflow: hidden;
  flex: 1;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.ec-slider:active {
  cursor: grabbing;
}

.ec-slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.ec-slider-track a {
  -webkit-user-drag: none;
}

/* Arrow buttons */
.ec-slider-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.25s ease;
  z-index: 2;
}

.ec-slider-arrow:hover {
  background: rgba(128, 96, 255, 0.15);
  border-color: rgba(128, 96, 255, 0.4);
  color: #8060ff;
  transform: scale(1.08);
}

.ec-slider-arrow:active {
  transform: scale(0.95);
}

.ec-slider-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cards */
.ec-slider-card {
  flex-shrink: 0;
  width: 220px;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.ec-slider-card:hover {
  transform: translateY(-6px);
}

.ec-slider-card-img {
  width: 220px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.ec-slider-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.ec-slider-card:hover .ec-slider-card-img img {
  transform: scale(1.08);
}

.ec-slider-card span {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.ec-slider-card:hover span {
  color: #8060ff;
}

@media (max-width: 768px) {
  .ec-slider-wrapper {
    gap: 8px;
  }

  .ec-slider-arrow {
    width: 36px;
    height: 36px;
  }

  .ec-slider-arrow svg {
    width: 18px;
    height: 18px;
  }

  .ec-slider-card {
    width: 170px;
  }

  .ec-slider-card-img {
    width: 170px;
    height: 120px;
  }

  .ec-slider-card span {
    font-size: 12px;
  }

  .ec-slider-track {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .ec-slider-arrow {
    display: none;
  }

  .ec-slider {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ========== HEART / LIKE BUTTON ON SERVICE CARDS ========== */
.svc-menu-card {
  position: relative;
}

.ec-like-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
  padding: 0;
}

.ec-like-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.ec-like-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.ec-like-btn.liked svg {
  fill: #8060ff;
  stroke: #8060ff;
}

.ec-like-btn.liked {
  background: rgba(128, 96, 255, 0.2);
}

/* Heart pop animation on like */
@keyframes ecHeartPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.ec-like-btn.ec-pop {
  animation: ecHeartPop 0.35s ease;
}

/* ========== LIKE BUTTON ON DETAIL PAGES ========== */
.ec-like-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 12px;
}

.ec-like-btn-detail:hover {
  border-color: #8060ff;
  color: #8060ff;
}

.ec-like-btn-detail svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: fill 0.25s ease;
}

.ec-like-btn-detail.liked {
  border-color: #8060ff;
  color: #8060ff;
  background: rgba(128, 96, 255, 0.1);
}

.ec-like-btn-detail.liked svg {
  fill: #8060ff;
}

/* ========== NAVBAR LIKES BADGE ========== */
.nav-cta {
  position: relative;
}

.ec-likes-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #8060ff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ec-likes-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== CONTACT MODAL ========== */
.ec-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ec-modal.active {
  opacity: 1;
  visibility: visible;
}

.ec-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ec-modal-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0a0a12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px 44px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ec-modal.active .ec-modal-container {
  transform: translateY(0) scale(1);
}

/* Custom scrollbar for modal */
.ec-modal-container::-webkit-scrollbar {
  width: 6px;
}
.ec-modal-container::-webkit-scrollbar-track {
  background: transparent;
}
.ec-modal-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.ec-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #808080;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
}

.ec-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ec-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Modal header */
.ec-modal-header {
  margin-bottom: 28px;
  text-align: center;
}

.ec-modal-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #fff;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ec-modal-header p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #808080;
  margin: 0;
}

/* ========== LIKED SERVICES CHIPS ========== */
.ec-liked-section {
  margin-bottom: 24px;
  display: none;
  position: relative;
}

.ec-liked-section.visible,
.ec-liked-section.picker-ready {
  display: block;
}

/* Header row with "+" button */
.ec-liked-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ec-liked-header-row h4 {
  margin: 0 !important;
}

.ec-add-service-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(128, 96, 255, 0.3);
  background: rgba(128, 96, 255, 0.1);
  color: #8060ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ec-add-service-btn:hover {
  background: rgba(128, 96, 255, 0.25);
  border-color: #8060ff;
  transform: scale(1.1);
}

.ec-add-service-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ========== SERVICE PICKER DROPDOWN ========== */
.ec-service-picker {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #0a0a12;
  border: 1px solid rgba(128, 96, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(96, 64, 224, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}

.ec-service-picker.open {
  max-height: 320px;
  opacity: 1;
  overflow: visible;
}

.ec-picker-search {
  padding: 12px 14px 8px;
  position: sticky;
  top: 0;
  background: #0a0a12;
  z-index: 1;
}

.ec-picker-input {
  width: 100%;
  padding: 10px 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.ec-picker-input:focus {
  border-color: #6040e0;
  box-shadow: 0 0 8px rgba(64, 32, 176, 0.3);
}

.ec-picker-input::placeholder {
  color: rgba(254, 254, 254, 0.4);
}

.ec-picker-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px 6px 10px;
}

.ec-picker-list::-webkit-scrollbar {
  width: 5px;
}
.ec-picker-list::-webkit-scrollbar-track {
  background: transparent;
}
.ec-picker-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.ec-picker-category {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6040e0;
  padding: 10px 10px 4px;
  margin-top: 4px;
}

.ec-picker-category:first-child {
  margin-top: 0;
}

.ec-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ec-picker-item:hover {
  background: rgba(128, 96, 255, 0.1);
}

.ec-picker-item.selected {
  background: rgba(128, 96, 255, 0.08);
}

.ec-picker-name {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #efefef;
}

.ec-picker-item.selected .ec-picker-name {
  color: #8060ff;
  font-weight: 600;
}

.ec-picker-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-picker-check svg {
  width: 16px;
  height: 16px;
  stroke: #808080;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ec-picker-item.selected .ec-picker-check svg {
  stroke: #8060ff;
}

.ec-picker-item:hover .ec-picker-check svg {
  stroke: #8060ff;
}

.ec-picker-empty {
  text-align: center;
  padding: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #808080;
}

.ec-liked-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ec-liked-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(128, 96, 255, 0.1);
  border: 1px solid rgba(128, 96, 255, 0.25);
  color: #8060ff;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-chip-remove {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(128, 96, 255, 0.2);
  color: #8060ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.ec-chip-remove:hover {
  background: rgba(128, 96, 255, 0.4);
  color: #fff;
}

.ec-chip-remove svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ========== 2-STEP FORM STYLES (v1 inspired) ========== */

/* Step indicator */
.ec-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.ec-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ec-step-item.active .ec-step-dot {
  border-color: #6040e0;
  background: #6040e0;
  color: #fff;
  box-shadow: 0 0 12px rgba(96, 64, 224, 0.4);
}

.ec-step-item.completed .ec-step-dot {
  border-color: #6040e0;
  background: #6040e0;
  color: #fff;
}

.ec-step-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.ec-step-item.active .ec-step-label,
.ec-step-item.completed .ec-step-label {
  color: #efefef;
}

.ec-step-line {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 14px;
  transition: background 0.3s ease;
}

.ec-step-line.active {
  background: #6040e0;
}

/* Form steps visibility */
.ec-form-step {
  display: none;
}

.ec-form-step.active {
  display: block;
  animation: ecStepFadeIn 0.3s ease;
}

@keyframes ecStepFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Form fields — v1 style: black bg, white border, purple glow */
.ec-form .form-group { margin-bottom: 20px; }

.ec-form .form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #efefef;
  margin-bottom: 8px;
}

.ec-form .form-group input,
.ec-form .form-group select,
.ec-form .form-group textarea {
  width: 100%;
  background-color: #000;
  color: #fff;
  border: 1px solid #f9f8f8;
  padding: 12px 15px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.ec-form .form-group input::placeholder,
.ec-form .form-group textarea::placeholder {
  color: rgba(254, 254, 254, 0.4);
}

.ec-form .form-group input:focus,
.ec-form .form-group select:focus,
.ec-form .form-group textarea:focus {
  border-color: #6040e0;
  box-shadow: 0 0 8px rgba(64, 32, 176, 0.3);
}

.ec-form .form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23808080' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: #000;
  padding-right: 40px;
  cursor: pointer;
}

.ec-form .form-group select option {
  background: #000;
  color: #fff;
}

.ec-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.ec-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form buttons row */
.ec-form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.ec-form-buttons .btn-cta {
  flex: 1;
}

.ec-btn-back {
  flex: 0 0 auto;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ec-btn-back:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

/* Modal form overrides */
.ec-modal .ec-form {
  padding: 0;
  background: transparent;
  border: none;
}

.ec-modal .btn-cta {
  width: 100%;
}

/* ========== INTL-TEL-INPUT DARK THEME OVERRIDES ========== */
.iti {
  width: 100%;
}

.iti__country-container {
  padding: 0;
}

.iti__selected-country-primary {
  background: transparent !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 10px 0 12px;
}

.iti__selected-country-primary:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.iti__selected-dial-code {
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
}

.iti__arrow {
  border-top-color: #808080;
}

.iti__arrow--up {
  border-bottom-color: #808080;
}

/* Dropdown */
.iti__dropdown-content {
  background: #0a0a12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.iti__search-input {
  background: #000 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

.iti__search-input::placeholder {
  color: rgba(254, 254, 254, 0.4) !important;
}

.iti__search-input:focus {
  border-color: #6040e0 !important;
  box-shadow: 0 0 8px rgba(64, 32, 176, 0.3) !important;
}

.iti__country-list {
  background: #0a0a12;
}

.iti__country {
  padding: 8px 12px;
  color: #efefef;
  font-family: 'Nunito Sans', sans-serif;
}

.iti__country:hover,
.iti__country--highlight {
  background: rgba(96, 64, 224, 0.15) !important;
}

.iti__dial-code {
  color: #808080;
}

.iti__divider {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Phone validation indicators */
.ec-phone-invalid {
  border-color: #e04040 !important;
  box-shadow: 0 0 8px rgba(224, 64, 64, 0.3) !important;
}

.ec-phone-valid {
  border-color: #40c060 !important;
}

/* ========== FLATPICKR DARK THEME OVERRIDES ========== */
.flatpickr-calendar {
  background: #0a0a12 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
  font-family: 'Lato', sans-serif !important;
}

.flatpickr-months {
  background: transparent !important;
}

.flatpickr-months .flatpickr-month {
  background: transparent !important;
  color: #fff !important;
}

.flatpickr-current-month {
  color: #fff !important;
  font-weight: 600 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: #0a0a12 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.flatpickr-current-month input.cur-year {
  color: #fff !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: #808080 !important;
  fill: #808080 !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: #fff !important;
  fill: #fff !important;
}

span.flatpickr-weekday {
  color: #808080 !important;
  font-weight: 600 !important;
  background: transparent !important;
}

.flatpickr-day {
  color: #efefef !important;
  border-radius: 6px !important;
}

.flatpickr-day:hover {
  background: rgba(96, 64, 224, 0.2) !important;
  border-color: transparent !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #6040e0 !important;
  border-color: #6040e0 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(96, 64, 224, 0.4) !important;
}

.flatpickr-day.today {
  border-color: rgba(96, 64, 224, 0.5) !important;
}

.flatpickr-day.today:hover {
  background: rgba(96, 64, 224, 0.2) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(255, 255, 255, 0.15) !important;
}

.flatpickr-innerContainer {
  border-bottom: none !important;
}

.flatpickr-rContainer {
  padding: 4px !important;
}

/* Flatpickr alt input styling */
.flatpickr-input[readonly] {
  cursor: pointer;
}

/* ========== GOOGLE PLACES AUTOCOMPLETE DARK OVERRIDES ========== */
.pac-container {
  background-color: #0a0a12 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
  margin-top: 4px !important;
  font-family: 'Lato', sans-serif !important;
  z-index: 100000 !important;
}

.pac-item {
  padding: 10px 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #efefef !important;
  font-size: 14px !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
}

.pac-item:first-child {
  border-top: none !important;
}

.pac-item:hover,
.pac-item-selected {
  background-color: rgba(96, 64, 224, 0.15) !important;
}

.pac-item-query {
  color: #fff !important;
  font-weight: 500 !important;
}

.pac-matched {
  color: #8060ff !important;
  font-weight: 600 !important;
}

.pac-icon {
  display: none !important;
}

/* Hide Google branding in autocomplete */
.pac-container::after {
  display: none !important;
}

/* ========== CONDITIONAL "WHO REFERRED YOU" FIELD ========== */
.ec-referral-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-bottom: 0;
}

.ec-referral-field.visible {
  max-height: 100px;
  opacity: 1;
  margin-bottom: 20px;
}

/* ========== LIKED SERVICES SECTION ON CONTACT PAGE ========== */
.ec-contact-liked {
  margin-bottom: 24px;
  display: none;
}

.ec-contact-liked.visible {
  display: block;
}

.ec-contact-liked h4 {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #808080;
  margin: 0 0 12px 0;
}

/* ========== DETAIL PAGE CTA ROW ========== */
.ec-detail-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .ec-modal-container {
    width: 95%;
    padding: 32px 22px;
    max-height: 92vh;
    border-radius: 12px;
  }

  .ec-modal-header h2 {
    font-size: 22px;
  }

  .ec-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ec-like-btn {
    width: 34px;
    height: 34px;
  }

  .ec-like-btn svg {
    width: 18px;
    height: 18px;
  }

  .ec-like-btn-detail {
    padding: 12px 24px;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-left: 0;
    margin-top: 8px;
  }

  .ec-detail-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ec-detail-cta-row .btn-cta,
  .ec-detail-cta-row .ec-like-btn-detail {
    text-align: center;
    justify-content: center;
  }

  .ec-liked-chip {
    max-width: 200px;
    font-size: 12px;
    padding: 6px 12px;
  }

  .ec-steps {
    margin-bottom: 24px;
  }

  .ec-step-label {
    display: none;
  }

  .ec-step-line {
    width: 30px;
    margin: 0 8px;
  }

  .ec-form-buttons {
    flex-direction: column-reverse;
  }

  .ec-btn-back {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ec-modal-container {
    padding: 28px 16px;
  }

  .ec-modal-header h2 {
    font-size: 20px;
  }

  .ec-likes-badge {
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

/* ========== Service Detail Gallery ========== */
.svc-detail-gallery {
  padding: 60px 0;
}

.svc-detail-gallery h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
}

.svc-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.svc-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.svc-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.svc-gallery-item:hover img {
  transform: scale(1.05);
}

.svc-gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.svc-gallery-item .gallery-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.svc-gallery-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 4px 0;
  margin: 0;
}

/* Lightbox prev/next arrows */
.ec-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}

.ec-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ec-lightbox-prev { left: 20px; }
.ec-lightbox-next { right: 20px; }

@media (max-width: 768px) {
  .svc-detail-gallery {
    padding: 40px 0;
  }
  .svc-detail-gallery h3 {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .svc-detail-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .svc-gallery-item img {
    height: auto;
    aspect-ratio: 4/3;
    width: 100%;
  }
  .ec-lightbox-nav { width: 36px; height: 36px; font-size: 18px; }
  .ec-lightbox-prev { left: 10px; }
  .ec-lightbox-next { right: 10px; }
}
