/* ====================================
   SERVICES PAGE SPECIFIC STYLES
   Extracted from inline <style> block
   ==================================== */

/* Transparent navbar overlay on hero */
.navbar-no-shadow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.navbar-no-shadow-container-2,
.navbar-wrapper-2,
div.navbar-no-shadow,
.w-nav {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Remove padding from hero to allow navbar overlay */
.service-section {
    padding-top: 0 !important;
}

/* Add padding to hero content to account for navbar */
.div-block-83.services-div {
    padding-top: 140px !important;
}

/* Purple/dark text for visibility on light background */
.nav-link-2 {
    color: #2B1343 !important;
}

.nav-link-2:hover {
    color: #6B46C1 !important;
}

/* Keep current page link purple */
.nav-link-2.w--current {
    color: #6B46C1 !important;
}

/* Show underline for current/active page */
.nav-link-2.w--current::after {
    width: 100% !important;
}

/* Ensure consultation buttons are visible */
.nav_btn,
.nav_main_btn {
    background-color: #6B46C1 !important;
    color: #fff !important;
}

/* Change white logo to purple */
.navbar-brand-2 .image-16 {
    filter: brightness(0) saturate(100%) invert(11%) sepia(45%) saturate(2817%) hue-rotate(260deg) brightness(92%) contrast(98%) !important;
}

/* Language toggle styling */
.language-toggle {
    color: #2B1343 !important;
    background-color: transparent !important;
    border: 1px solid #2B1343 !important;
}

.language-toggle option {
    color: #000 !important;
    background-color: #fff !important;
}

.text-block-64 {
    color: #fff !important;
}

/* Media query override for mobile menu */
@media screen and (max-width: 991px) {
    .nav-menu-wrapper-2,
    .nav-menu-2 {
        background: #2B1343 !important;
        background-color: #2B1343 !important;
    }

    .nav-link-2 {
        color: #fff !important;
    }
}

.services-field::placeholder{
	color: #fff;
}
.hover-btn:hover img{
	content: url(https://uploads-ssl.webflow.com/64b68ca245c2ac61522605c9/6579aa1d694f43158583e981_black-arrow.svg);
}
.services-link:hover img{
	content: url(https://uploads-ssl.webflow.com/64b68ca245c2ac61522605c9/6581a3cb414085c8cb5379e0_new-arrow.svg);
}
.services-field option{
  color: #000 !important;
}
.services-tabs.w--current:before {
    content: '';
    width: 8px;
    background: #180030;
    height: 52px;
    position: absolute;
    left: -100px;
    top: 0px;
    border-radius: 50px;
}
.services-tab:before {
    content: '';
    height: 100%;
    width: 8px;
    background-color: #D9D9D9;
    position: absolute;
    left: -100px;
    z-index: 0;
    visibility: visible !important;
    border-radius: 12px;
}
@media (max-width:991px) {
	.services-tabs.w--current:before {
    content: none;
  }
  .services-tab:before {
      content: none;
  }
}

/* ==========================================
   AI-GUIDED WIZARD & BENTO GRID STYLES
   ========================================== */

/* Center wizard on desktop */
.div-block-102 {
  max-width: 1200px;
  margin: 0 auto;
}

/* Wizard Container */
.services-wizard-container {
  padding: 40px 20px;
  animation: fadeInUp 0.6s ease;
  overflow-x: hidden;
  max-width: 100%;
}

.wizard-title {
  font-size: 32px;
  font-weight: 700;
  color: #2B1343;
  text-align: center;
  margin-bottom: 12px;
}

.wizard-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.wizard-option {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wizard-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 70, 193, 0.1), transparent);
  transition: left 0.5s ease;
}

.wizard-option:hover {
  transform: translateY(-8px);
  border-color: #6B46C1;
  box-shadow: 0 20px 60px rgba(107, 70, 193, 0.3);
}

.wizard-option:hover::before {
  left: 100%;
}

.wizard-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.3);
}

.wizard-icon i {
  width: 32px;
  height: 32px;
  color: white !important;
}

.wizard-icon svg {
  stroke: white !important;
  color: white !important;
}

.wizard-option-title {
  font-size: 20px;
  font-weight: 700;
  color: #2B1343;
  margin-bottom: 8px;
}

.wizard-option-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.browse-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 16px 32px;
  background: transparent;
  border: 2px solid #2B1343;
  border-radius: 50px;
  color: #2B1343;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.browse-all-link:hover {
  background: #2B1343;
  color: white;
  transform: scale(1.05);
}

.browse-all-link i {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.browse-all-link:hover i {
  transform: translateX(4px);
}

/* Services Grid Container */
.services-grid-container {
  padding: 40px 20px;
  animation: fadeInUp 0.6s ease;
  overflow-x: hidden;
  max-width: 100%;
}

.services-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  min-height: 50px;
}

.back-to-wizard {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #2B1343;
  border-radius: 50px;
  color: #2B1343;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-wizard:hover {
  background: #2B1343;
  color: white;
}

.back-to-wizard i {
  width: 16px;
  height: 16px;
}

.services-grid-title {
  font-size: 28px;
  font-weight: 700;
  color: #2B1343;
  margin: 0;
  text-align: center;
}

/* Category Filter */
.category-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  justify-content: center;
  position: relative;
}

.category-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 50px;
  color: #2B1343;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: #6B46C1;
  transform: translateY(-2px);
}

.category-btn.active {
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  border-color: #8000FF;
  color: white;
  box-shadow: 0 4px 16px rgba(128, 0, 255, 0.3);
}

/* Bento Grid */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.service-card-bento {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 20px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInScale 0.5s ease both;
}

.service-card-bento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.05), rgba(107, 70, 193, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-bento:hover::before {
  opacity: 1;
}

.service-card-bento:hover {
  transform: translateY(-8px);
  border-color: #6B46C1;
  box-shadow: 0 20px 60px rgba(107, 70, 193, 0.25);
}

/* Featured cards (larger) */
.service-card-bento.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.service-card-bento.wide {
  grid-column: span 2;
}

/* AI Badge */
.ai-badge-bento {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  border-radius: 20px;
  color: #0a0e27;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.service-icon-bento {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.2);
}

.service-icon-bento.ai-icon {
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.3);
}

.service-icon-bento i {
  width: 28px;
  height: 28px;
  color: white !important;
}

.service-icon-bento svg {
  stroke: white !important;
  color: white !important;
}

.service-name-bento {
  font-size: 20px;
  font-weight: 700;
  color: #2B1343;
  margin-bottom: 12px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-desc-bento {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.service-cta-bento {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6B46C1;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-cta-bento i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-card-bento:hover .service-cta-bento {
  gap: 12px;
}

.service-card-bento:hover .service-cta-bento i {
  transform: translateX(4px);
}

.recommended-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  padding: 6px 11px;
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.95), rgba(139, 92, 246, 0.95));
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
  z-index: 10;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.6);
  }
}

/* ==========================================
   SERVICE MODAL STYLES
   ========================================== */

.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.service-modal.active {
  display: flex !important;
  animation: fadeIn 0.3s ease;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(107, 70, 193, 0.3);
  border-radius: 24px;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(107, 70, 193, 0.4);
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 19, 67, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(43, 19, 67, 0.2);
  transform: rotate(90deg);
}

.modal-close i {
  width: 20px;
  height: 20px;
  color: white !important;
}

.modal-close svg {
  stroke: white !important;
  color: white !important;
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(107, 70, 193, 0.1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  box-shadow: 0 12px 32px rgba(128, 0, 255, 0.3);
  animation: bounceIn 0.6s ease;
}

.modal-icon i {
  width: 40px;
  height: 40px;
  color: white !important;
}

.modal-icon svg {
  stroke: white !important;
  color: white !important;
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #2B1343;
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.modal-tagline {
  font-size: 16px;
  color: #666;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(107, 70, 193, 0.1);
}

.modal-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-tab:hover {
  color: #6B46C1;
}

.modal-tab.active {
  color: #2B1343;
  border-bottom-color: #6B46C1;
}

.modal-body {
  margin-bottom: 30px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

.modal-description {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #2B1343;
  margin-bottom: 16px;
}

.modal-section-title i {
  width: 20px;
  height: 20px;
  color: white !important;
}

.modal-section-title svg {
  stroke: white !important;
  color: white !important;
}

.modal-list,
.modal-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-list li,
.modal-benefits-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: #444;
  line-height: 1.6;
}

.modal-list li::before,
.modal-benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(128, 0, 255, 0.3);
}

.modal-perfect-for {
  padding: 16px 20px;
  background: rgba(107, 70, 193, 0.05);
  border-left: 4px solid #6B46C1;
  border-radius: 8px;
  color: #444;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.modal-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 20px;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.05), rgba(107, 70, 193, 0.05));
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 12px;
  text-align: center;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #6B46C1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 13px;
  color: #666;
}

.case-study-card {
  padding: 24px;
  background: rgba(107, 70, 193, 0.05);
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 16px;
}

.modal-footer {
  padding-top: 30px;
  border-top: 2px solid rgba(107, 70, 193, 0.1);
}

.related-services h4 {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
}

.related-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.related-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(107, 70, 193, 0.1);
  border: 1px solid rgba(107, 70, 193, 0.3);
  border-radius: 20px;
  color: #6B46C1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.related-chip i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.related-chip:hover {
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 255, 0.3);
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #8000FF, #6B46C1);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(128, 0, 255, 0.3);
}

.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(128, 0, 255, 0.4);
}

.modal-cta i {
  width: 20px;
  height: 20px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* ==========================================
   CAL.COM SCHEDULING MODAL
   ========================================== */

.schedule-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.schedule-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.schedule-modal {
    background: white;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(107, 70, 193, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.schedule-modal-overlay.active .schedule-modal {
    transform: scale(1);
}

.schedule-modal-header {
    background: linear-gradient(135deg, #6B46C1 0%, #8000FF 50%, #6B46C1 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.schedule-modal-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.schedule-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.schedule-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.schedule-modal-close svg {
    width: 20px;
    height: 20px;
}

.schedule-modal-body {
    height: calc(90vh - 120px);
    max-height: 700px;
    background: white;
}

.schedule-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating animation for benefit bubbles */
@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Subtle pulse animation for bubbles */
@keyframes bubblePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Benefit Bubbles Animation Styles */
.div-block-99 {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatBubble 6s ease-in-out infinite, bubblePulse 4s ease-in-out infinite;
  cursor: pointer;
  will-change: transform, box-shadow;
}

/* Staggered animation delays for each bubble */
.div-block-99:nth-child(1) {
  animation-delay: 0s, 0s;
}

.div-block-99:nth-child(2) {
  animation-delay: 0.5s, 0.3s;
}

.div-block-99:nth-child(3) {
  animation-delay: 1s, 0.6s;
}

.div-block-99:nth-child(4) {
  animation-delay: 1.5s, 0.9s;
}

/* Hover effects - enhanced scale, glow, and shadow */
.div-block-99:hover {
  transform: scale(1.05) translateY(-10px) !important;
  box-shadow: 0 20px 60px rgba(107, 70, 193, 0.3),
              0 0 40px rgba(107, 70, 193, 0.2);
  animation-play-state: paused;
  z-index: 10;
}

.div-block-99:hover .heading-35 {
  color: #8000ff;
  transition: color 0.3s ease;
}

/* ==========================================
   DESKTOP OPTIMIZATION
   ========================================== */

@media (min-width: 992px) {
  /* Hero-Style Full Width Wizard on Desktop */
  .services-wizard-container {
    padding: 80px 40px;
  }

  .wizard-title {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .wizard-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
  }

  /* 1x4 Horizontal Card Layout */
  .wizard-options {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 40px;
  }

  .wizard-option {
    padding: 40px 24px;
  }

  .wizard-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 18px;
  }

  .wizard-icon i {
    width: 40px;
    height: 40px;
  }

  .wizard-option-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .wizard-option-desc {
    font-size: 15px;
  }

  /* Browse All Link */
  .browse-all-link {
    padding: 18px 36px;
    font-size: 17px;
  }

  /* Services Grid - Desktop Optimization */
  .services-grid-container {
    padding: 60px 40px;
  }

  .services-bento-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  .service-card-bento {
    padding: 36px;
  }

  .services-grid-title {
    font-size: 36px;
  }

  /* Service Modal - Desktop Optimization */
  .modal-content {
    max-width: 900px;
    padding: 48px;
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  /* Global overflow prevention */
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Prevent overflow on parent containers */
  .section-27 {
    overflow-x: hidden;
    max-width: 100%;
  }

  .grid-container {
    overflow-x: hidden;
    max-width: 100%;
  }

  .div-block-102 {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Wizard */
  .wizard-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .wizard-subtitle {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .services-wizard-container {
    padding: 30px 20px;
    overflow-x: hidden;
    max-width: 100%;
  }

  .wizard-option {
    padding: 20px 18px;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .wizard-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .wizard-icon i {
    width: 28px;
    height: 28px;
    color: white !important;
  }

  .wizard-icon svg {
    stroke: white !important;
    color: white !important;
  }

  .wizard-option-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .wizard-option-desc {
    font-size: 13px;
  }

  .browse-all-link {
    padding: 14px 30px;
    font-size: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Services Grid - Strict Margins */
  .services-grid-container {
    padding: 30px 20px;
    overflow-x: hidden;
    max-width: 100%;
  }

  .services-bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .service-card-bento {
    padding: 16px;
    border-radius: 14px;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-card-bento.featured,
  .service-card-bento.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Service Cards - Mobile Optimized */
  .service-card-bento {
    text-align: center;
  }

  .service-name-bento {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .service-desc-bento {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-icon-bento {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-icon-bento i {
    width: 20px;
    height: 20px;
    color: white !important;
  }

  .service-icon-bento svg {
    stroke: white !important;
    color: white !important;
  }

  .service-cta-bento {
    font-size: 12px;
    margin-top: 6px;
    padding: 0;
    justify-content: center;
  }

  /* Recommendation badge - mobile */
  .recommended-badge {
    padding: 6px 8px;
    font-size: 10px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-left-width: 2px;
    border-radius: 4px;
    width: fit-content;
  }

  .recommended-badge span {
    display: none;
  }

  .recommended-badge::after {
    content: 'Recommended';
    color: #6B46C1;
    font-weight: 600;
  }

  .recommended-badge i {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }

  /* AI Badge */
  .ai-badge-bento {
    padding: 4px 8px;
    font-size: 9px;
    top: 12px;
    right: 12px;
    letter-spacing: 0.5px;
  }

  /* Header */
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    max-width: 100%;
    min-height: auto;
  }

  .services-grid-title {
    font-size: 20px;
    text-align: left;
  }

  .back-to-wizard {
    position: relative;
    left: auto;
    padding: 8px 16px;
    font-size: 13px;
  }

  .back-to-wizard i {
    width: 14px;
    height: 14px;
  }

  /* Category Filter - Horizontal Scroll Within Margins */
  .category-filter {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    margin-bottom: 16px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-filter::-webkit-scrollbar {
    display: none;
  }

  .category-filter::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 10px;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.95));
    pointer-events: none;
  }

  .category-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Modal - Strict Margins */
  .modal-content {
    width: calc(100% - 40px);
    max-width: 600px;
    padding: 24px 20px;
    max-height: 85vh;
    border-radius: 20px;
    margin: 0 20px;
    box-sizing: border-box;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-tagline {
    font-size: 14px;
  }

  .modal-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .modal-icon i {
    width: 32px;
    height: 32px;
    color: white !important;
  }

  .modal-icon svg {
    stroke: white !important;
    color: white !important;
  }

  .modal-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .modal-section-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .modal-section-title i {
    color: white !important;
  }

  .modal-section-title svg {
    stroke: white !important;
    color: white !important;
  }

  .modal-list li,
  .modal-benefits-list li {
    font-size: 14px;
    padding: 10px 0 10px 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .modal-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-value {
    font-size: 28px;
  }

  .modal-tabs {
    overflow-x: auto;
    gap: 4px;
    scrollbar-width: none;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .modal-tabs::-webkit-scrollbar {
    display: none;
  }

  .modal-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .modal-footer {
    padding-top: 20px;
  }

  .related-chips {
    gap: 6px;
    margin-bottom: 16px;
  }

  .related-chip {
    padding: 6px 12px;
    font-size: 11px;
  }

  .modal-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Schedule Modal - Mobile */
  .schedule-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 16px;
  }

  .schedule-modal-header {
    padding: 25px 20px;
  }

  .schedule-modal-header h2 {
    font-size: 22px;
    margin-right: 40px;
  }

  .schedule-modal-header p {
    font-size: 14px;
  }

  .schedule-modal-body {
    height: calc(95vh - 100px);
  }
}

@media (max-width: 480px) {
  /* Wizard */
  .wizard-option {
    padding: 20px 16px;
  }

  .wizard-icon {
    width: 48px;
    height: 48px;
  }

  .wizard-icon i {
    width: 24px;
    height: 24px;
    color: white !important;
  }

  .wizard-icon svg {
    stroke: white !important;
    color: white !important;
  }

  .wizard-option-title {
    font-size: 18px;
  }

  .wizard-option-desc {
    font-size: 13px;
  }

  .browse-all-link {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Service Cards */
  .service-card-bento {
    padding: 20px 16px;
  }

  .service-name-bento {
    font-size: 17px;
  }

  .service-desc-bento {
    font-size: 13px;
  }

  /* Modal */
  .modal-content {
    padding: 20px 12px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .modal-close i {
    color: white !important;
  }

  .modal-close svg {
    stroke: white !important;
    color: white !important;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 375px) {
  /* Extra small phones */
  .wizard-title {
    font-size: 20px;
  }

  .services-grid-title {
    font-size: 20px;
  }

  .service-name-bento {
    font-size: 16px;
  }

  .modal-title {
    font-size: 18px;
  }
}

