/* hero slider */
.smile-360-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.smile-360-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .smile-360-slider {
    height: 740px;
  }
}
.smile-360-slide-container {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  height: 100%;
}
.smile-360-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.smile-360-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.smile-360-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.smile-360-slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .smile-360-slide-content {
    padding: 0 64px;
  }
}
.smile-360-progress-track {
  width: 96px;
  height: 2px;
  background: rgba(0, 96, 153, 0.2);
  position: relative;
  overflow: hidden;
}
.smile-360-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #006099;
  transition: width 0.8s ease;
}

/* navigation bar css */
.smile-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-overlay-gradient {
  background: radial-gradient(circle at top right, #007ec6 0%, #004a77 100%);
}
.service-card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 126, 198, 0.2);
}
/* Custom scrollbar for menu if content overflows */
.menu-scroll::-webkit-scrollbar {
  width: 4px;
}
.menu-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* care section css */
/* Card Hover Effects */
.bento-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: scale(1.02);
  z-index: 10;
}

/* Specific Card Colors */
.bg-card-blue {
  background-color: #7ed6f7;
}
.bg-card-yellow {
  background-color: #fdf3b0;
}
.bg-card-peach {
  background-color: #ffcc9f;
}
.bg-card-green {
  background-color: #c0f6cc;
}
.bg-card-pink {
  background-color: #f7c2e1;
}

/* Custom Text Colors */
.text-dental-dark {
  color: #004d5a;
}

/* Glassmorphism utility */
.glass-effect {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* services css */
/* Hardware-accelerated accordion logic */
.accordion-container {
  display: flex;
  width: 100%;
  height: 400px;
  gap: 16px;
}

.accordion-item {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 2rem;
  transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: flex;
}

@media (min-width: 768px) {
  .accordion-container:hover .accordion-item {
    flex: 0.7;
  }

  .accordion-container .accordion-item:hover {
    flex: 3.5;
  }
}

@media (max-width: 767px) {
  .accordion-container {
    flex-direction: column;
    height: auto;
  }
  .accordion-item {
    flex: none;
    height: 300px;
    width: 100%;
  }
}

/* Description Animation: Fade-and-glide */
.service-desc {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.accordion-item:hover .service-desc {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

/* Title is always visible but has a slight push on hover */
.service-title {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.5rem !important;
}

.accordion-item:hover .service-title {
  transform: translateY(-8px);
}

/* Content Overlay Base */
.content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 10;
}

/* Cinematic Smile-Blue Gradient */
.overlay-gradient {
  background: linear-gradient(
    to top,
    rgba(0, 126, 198, 0.95) 0%,
    rgba(0, 126, 198, 0.4) 50%,
    transparent 100%
  );
}

.default-gradient {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    transparent 100%
  );
}

/* bg shades */
.premium-blue-panel {
  background: linear-gradient(to bottom, #007ec6 0%, #006099 50%, #f7f9ff 100%);
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  width: 95%;
}
.premium-blue-panel::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}
.premium-blue-panel::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(207, 229, 255, 0.08) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
}
.noise-texture {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
/* testimonials section */
.kp-section {
  min-height: 700px !important;
  perspective: 2000px;
}
.kp-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.kp-portal-wrapper {
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.kp-testimonial-card {
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  pointer-events: none;
}
.kp-testimonial-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.kp-nav-btn {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.kp-nav-btn:hover {
  background: #006099;
  color: white;
}

/* css */
.atmospheric-gradient {
  background: linear-gradient(180deg, #007ec6 0%, #001d33 100%);
}
.glass-module {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.glass-module:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}
.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #cfe5ff 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* treatment calc */
.cinematic-glow {
  background: radial-gradient(
    circle at center,
    rgba(0, 126, 198, 0.4) 0%,
    #007ec6 60%,
    #006099 100%
  );
}
.glass-card-dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.arc-shadow {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.reveal-anim {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes portalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.animate-fade-slide {
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-portal {
  animation: portalIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger-1 {
  animation-delay: 0.1s;
}
.stagger-2 {
  animation-delay: 0.2s;
}
.stagger-3 {
  animation-delay: 0.3s;
}
.stagger-4 {
  animation-delay: 0.4s;
}

/* testimonial css */
.testimonial-card-premium {
  background: #007ec6;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -4px rgba(0, 99, 156, 0.1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card-premium:hover {
  background: #ffffff;
  color: #007ec6;
  transform: translateY(-12px);
  border-color: #007ec6;
  box-shadow: 0 20px 40px -12px rgba(0, 99, 156, 0.15);
}
/* Ensuring all internal elements transition color smoothly */
.testimonial-card-premium * {
  transition:
    color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Match the quote icon and specific text fields on hover */
.testimonial-card-premium:hover .material-symbols-outlined {
  color: #007ec6 !important;
  opacity: 0.8;
}
.testimonial-card-premium:hover p {
  color: inherit !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.premium-slider-container {
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

/* work process */
.ethereal-lens-container {
  background-color: #007ec6;
}
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}
.primary-glow {
  box-shadow: 0 20px 40px rgba(0, 126, 198, 0.12);
}
.reveal-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}
.reveal-image-container img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-image-container:hover img {
  transform: scale(1.05);
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* scan css */
.glass-panel2 {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.scan-beam {
  box-shadow:
    0 0 30px rgba(0, 126, 198, 0.8),
    0 0 60px rgba(0, 126, 198, 0.4);
  transition: left 0.1s linear;
}
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
}
#scan-overlay {
  transition: clip-path 0.1s linear;
}
#scan-canvas {
  touch-action: none;
}

/* faq 2 */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.glass-card2 {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.glass-card2:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 126, 198, 0.15);
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
.mesh-bg {
  background:
    radial-gradient(circle at 20% 30%, #007ec6 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #0a1f44 0%, transparent 50%),
    linear-gradient(135deg, #006099 0%, #05162a 100%);
}

/* new process */
.cinematic-bg {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 126, 198, 0.5) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 10% 10%,
      rgba(0, 126, 198, 0.2) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(0, 126, 198, 0.2) 0%,
      transparent 40%
    ),
    #001d33;
}

.glass-card-premium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbital-container {
  position: relative;
  width: 480px;
  height: 480px;
}

@keyframes portal-reveal {
  0% {
    opacity: 0;
    transform: scale(0.9) rotate(-5deg);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes content-slide-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-portal {
  animation: portal-reveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-content {
  animation: content-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.phase-indicator-active {
  box-shadow: 0 0 30px rgba(152, 203, 255, 0.5);
}

/* Fixed rotation center */
#orbital-dial {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}

/* Precision Alignment for Indicators on the Orbital Path (Radius = 240px) */
.phase-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 40;
}

/* Placing them at exactly 90 degree intervals around the 480px circle */
/* Phase 1: 0 deg (Top) -> offset Y by -240px */
.phase-btn[data-idx="0"] {
  transform: rotate(0deg) translateY(-240px);
}
/* Phase 2: 90 deg (Right) -> offset X by 240px */
.phase-btn[data-idx="1"] {
  transform: rotate(90deg) translateX(240px);
}
/* Phase 3: 180 deg (Bottom) -> offset Y by 240px */
.phase-btn[data-idx="2"] {
  transform: rotate(180deg) translateY(240px);
}
/* Phase 4: 270 deg (Left) -> offset X by -240px */
.phase-btn[data-idx="3"] {
  transform: rotate(270deg) translateX(-240px);
}

#arc-progress {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
