body {
  font-family: "Montserrat", sans-serif;
}

/* Unified Navbar Refactoring Styles */
.park-haven-navbar-mega-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  left: 0;
  right: 0;
  top: 120px;
  width: 100vw;
  height: calc(100vh - 120px);
  z-index: 100;
}

.park-haven-navbar-group:hover .park-haven-navbar-mega-menu {
  opacity: 1;
  visibility: visible;
}

.park-haven-navbar-active-sidebar-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-left: 4px solid #85f3df;
  color: #85f3df !important;
}

.park-haven-navbar-clinical-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.park-haven-navbar-light-bloom {
  background: radial-gradient(
    circle at center,
    rgba(133, 243, 223, 0.08) 0%,
    transparent 70%
  );
}

.park-haven-navbar-service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.park-haven-navbar-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.park-haven-navbar-mobile-menu-open {
  overflow: hidden;
}

.park-haven-navbar-mobile-overlay {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(100%);
}

.park-haven-navbar-mobile-overlay.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.park-haven-navbar-custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.park-haven-navbar-custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* Hero slider css */
.park-haven-hero-slider-container {
  height: 850px;
  overflow: hidden;
  position: relative;
  background-color: #191c1e;
  margin-top: 120px;
}

.park-haven-hero-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s;
  z-index: 0;
}

.park-haven-hero-slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.park-haven-hero-slider-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}

.park-haven-hero-slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  scale: 1.05;
}

.park-haven-hero-slider-dot {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.3);
}

.park-haven-hero-slider-dot.active {
  width: 48px;
  background-color: #9ecb3b;
}

.park-haven-hero-slider-slide.active .animate-content {
  animation: slideUp 0.8s ease-out forwards;
}

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

.park-haven-hero-slider-glass {
  background: rgba(76, 107, 231, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Main service section */
.park-haven-main-service-section {
  --primary-indigo: #4c6be7;
  --secondary-teal: #85f3df;
}

.park-haven-main-service-section .glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.park-haven-main-service-section .glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

@keyframes section-scan-move {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
    opacity: 0;
  }
  15% {
    opacity: 0.4;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    transform: translate(100%, 100%) rotate(45deg);
    opacity: 0;
  }
}

.park-haven-main-service-section .section-background-scanner {
  position: absolute;
  inset: -100%;
  width: 300%;
  height: 20px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 107, 231, 0.3),
    rgba(133, 243, 223, 0.5),
    rgba(76, 107, 231, 0.3),
    transparent
  );
  box-shadow: 0 0 80px rgba(76, 107, 231, 0.2);
  animation: section-scan-move 10s infinite ease-in-out;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.park-haven-main-service-section .icon-glow {
  filter: drop-shadow(0 0 60px rgba(76, 107, 231, 0.4));
}

.park-haven-main-service-section .service-transition {
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.park-haven-main-service-section .slider-content-layer {
  will-change: transform, opacity;
}
/* ABOUT SECTION HOME CSS */
.home-about-section-glass-ui {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.home-about-section-text-shadow {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.home-about-section-parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-about-section-serif-italic {
  font-family: "Times New Roman", serif;
  font-style: italic;
}
.home-about-section-welcome-row {
  min-height: auto !important;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.home-about-section-primary-card-row {
  padding-top: 0 !important;
}
@keyframes home-about-section-bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.home-about-section-animate-bounce-slow {
  animation: home-about-section-bounce-slow 4s ease-in-out infinite;
}
@media (max-width: 768px) {
  .home-about-section-welcome-row .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-about-section-primary-card-row .grid {
    grid-template-columns: 1fr;
  }
  .home-about-section-clinician-visual {
    order: 2;
    margin-top: 2rem;
  }
  .home-about-section-content-panel {
    order: 1;
  }
}
/* clinic hours section */
.home-about-section-container {
  background-color: #2f51cd;
  color: white;
}

/* Animated badge row */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}
/* office section */
.glass-nav {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.callout-line {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .callout-line {
  width: 80px;
  opacity: 1;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.floating {
  animation: float 6s ease-in-out infinite;
}

/* Oakville section css */
.oakville-section-pattern-dots {
  background-image: radial-gradient(#4c6be722 1px, transparent 1px);
  background-size: 24px 24px;
}
.oakville-section-glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.oakville-section-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(76, 107, 231, 0) 0%,
    rgba(76, 107, 231, 0.05) 100%
  );
}
.oakville-section-btn-premium {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.oakville-section-btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(158, 203, 59, 0.5);
}
.oakville-section-card-shadow {
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}
.oakville-section-asymmetric-shape {
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}
.oakville-section-micro-transition {
  transition: all 0.2s ease-out;
}
.oakville-section-micro-transition:hover {
  transform: scale(1.02);
}

/* GALLERY SECTION CSS */
.park-haven-gallery-section .park-haven-gallery-section-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.park-haven-gallery-section .park-haven-gallery-section-carousel-container {
  perspective: 2000px;
}

.park-haven-gallery-section .park-haven-gallery-section-carousel-item {
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  position: absolute;
  width: 90%;
  max-width: 750px;
  aspect-ratio: 16/9;
  border-radius: 1.5rem;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .park-haven-gallery-section .park-haven-gallery-section-carousel-item {
    aspect-ratio: 21/9;
    border-radius: 2rem;
  }
}

.park-haven-gallery-section .park-haven-gallery-section-carousel-item.active {
  transform: translateZ(200px) rotateY(0deg);
  z-index: 50;
  opacity: 1;
  pointer-events: auto;
  /* border: 4px solid #c3f35f;
  box-shadow: 0 0 40px rgba(195, 243, 95, 0.4); */
}

.park-haven-gallery-section .park-haven-gallery-section-carousel-item.prev {
  transform: translateX(-25vw) translateZ(-150px) rotateY(35deg) scale(0.85);
  z-index: 30;
  opacity: 0.4;
  filter: grayscale(40%) blur(4px);
  pointer-events: auto;
}

.park-haven-gallery-section .park-haven-gallery-section-carousel-item.next {
  transform: translateX(25vw) translateZ(-150px) rotateY(-35deg) scale(0.85);
  z-index: 30;
  opacity: 0.4;
  filter: grayscale(40%) blur(4px);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .park-haven-gallery-section .park-haven-gallery-section-carousel-item.prev {
    transform: translateX(-45vw) translateZ(-200px) rotateY(35deg) scale(0.8);
  }
  .park-haven-gallery-section .park-haven-gallery-section-carousel-item.next {
    transform: translateX(45vw) translateZ(-200px) rotateY(-35deg) scale(0.8);
  }
}

.park-haven-gallery-section
  .park-haven-gallery-section-carousel-item.hidden-left {
  transform: translateX(-60vw) translateZ(-500px) rotateY(50deg);
  opacity: 0;
}

.park-haven-gallery-section
  .park-haven-gallery-section-carousel-item.hidden-right {
  transform: translateX(60vw) translateZ(-500px) rotateY(-50deg);
  opacity: 0;
}

.park-haven-gallery-section .park-haven-gallery-section-reflection {
  -webkit-box-reflect: below 15px
    linear-gradient(transparent, transparent, rgba(255, 255, 255, 0.08));
}

.park-haven-gallery-section .park-haven-gallery-section-modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.park-haven-gallery-section .park-haven-gallery-section-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.dot-indicator {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dot-indicator.active {
  width: 2rem;
  background-color: #c3f35f;
  border-color: #c3f35f;
  box-shadow: 0 0 10px rgba(195, 243, 95, 0.5);
}

/* HOME TRANSFORMATON SECTION CSS */
.park-haven-transformation-section .material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.park-haven-transformation-section-reveal-gradient {
  background: #fff;
}
.park-haven-transformation-section-pulse-glow {
  box-shadow: 0 0 20px rgba(214, 234, 94, 0.4);
  animation: park-haven-pulse 2s infinite ease-in-out;
}
@keyframes park-haven-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.park-haven-transformation-section-hud-line {
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(214, 234, 94, 0.1) 50%
  );
  background-size: 100% 4px;
  animation: park-haven-move-bg 10s linear infinite;
}
@keyframes park-haven-move-bg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100%;
  }
}

.park-haven-transformation-section-biometric-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #2f51cd, transparent);
  position: absolute;
  animation: park-haven-bio-scan 3s ease-in-out infinite;
}
@keyframes park-haven-bio-scan {
  0%,
  100% {
    top: 10%;
    opacity: 0;
  }
  50% {
    top: 90%;
    opacity: 1;
  }
}

.park-haven-transformation-section-slider {
  touch-action: none;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.park-haven-transformation-section-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.park-haven-transformation-section-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.park-haven-transformation-section-before-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

.park-haven-transformation-section-after-image {
  z-index: 5;
}

.park-haven-transformation-section-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #d6ea5e;
  z-index: 20;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.park-haven-transformation-section-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  width: 48px;
  height: 48px;
  background: #2f51cd;
  border: 3px solid #d6ea5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Specific alignment for dental cards to focus on teeth */
.park-haven-transformation-section-dental-focus
  .park-haven-transformation-section-image {
  object-position: center 65%; /* Adjusted to center on the mouth area */
}

/* TEAM CSS */
.park-haven-team-section-prismatic-mask {
  /* clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); */
  transition:
    clip-path 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.6s ease;
}
.park-haven-team-section-team-card:hover
  .park-haven-team-section-prismatic-mask {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%, 0% 100%, 0% 100%);
  transform: scale(1.05);
}
.park-haven-team-section-data-float {
  animation: park-haven-team-section-float 4s ease-in-out infinite;
}
@keyframes park-haven-team-section-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.park-haven-team-section-no-scrollbar::-webkit-scrollbar {
  display: none;
}
.park-haven-team-section-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.park-haven-team-section-prism-scan-overlay {
  background: linear-gradient(
    135deg,
    rgba(76, 107, 231, 0.1) 0%,
    rgba(217, 237, 97, 0.1) 100%
  );
  mix-blend-mode: soft-light;
}

/* TESTIMONIALS CSS */
.park-haven-reviews-section {
  background-color: #2f51cd;
  position: relative;
  overflow: hidden;
}
.park-haven-reviews-section__slider-viewport {
  overflow: hidden;
}
.park-haven-reviews-section__slider-container {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.park-haven-reviews-section__slide {
  flex: 0 0 100%;
  display: flex;
  gap: 24px;
  padding: 10px 0;
  width: 100%;
}
@media (min-width: 1024px) {
  .park-haven-reviews-section__card {
    width: calc(50% - 12px);
    flex-shrink: 0;
  }
}
@media (max-width: 1023px) {
  .park-haven-reviews-section__slide {
    flex-direction: column;
  }
  .park-haven-reviews-section__card {
    width: 100%;
  }
}
.park-haven-reviews-section__card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}
.park-haven-reviews-section__portrait-mask {
  clip-path: inset(0% 0% 0% 0% round 160px 160px 20px 20px);
  width: 200px;
  height: 250px;
  object-fit: cover;
}
.park-haven-reviews-section__star {
  color: #9ECB3B;
}
.park-haven-reviews-section__dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.park-haven-reviews-section__dot--active {
  width: 32px;
  background-color: #9ECB3B;
}
.park-haven-reviews-section__nav-btn {
  background-color: #9ECB3B;
  color: #191c1e;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.park-haven-reviews-section__nav-btn:hover {
  transform: scale(1.05);
}
.park-haven-reviews-section__nav-btn:active {
  transform: scale(0.95);
}

/* FOOTER CSS */
.park-haven-footer-mesh-bg {
  background: #2f51cd;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(76, 107, 231, 0.8) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(47, 81, 205, 0.9) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(10, 56, 182, 0.5) 0%,
      transparent 70%
    ),
    #1a2d7a;
}
.park-haven-footer-bloom {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(76, 107, 231, 0.2) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.park-haven-footer-glass-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.park-haven-footer-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.park-haven-footer-noise-texture {
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
}

/* Why Choose Us section */
.park-haven-why-us .park-haven-why-us-pattern-overlay {
  background-image: repeating-concentric-gradient(
    circle at 50% 50%,
    #facc15 0,
    #facc15 10px,
    #ca8a04 10px,
    #ca8a04 20px
  );
  background-size: 100% 100%;
  border-radius: 40px;
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
}

.park-haven-why-us .park-haven-why-us-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background-color: #4c6be7;
  border-bottom: 10px solid #9ECB3B;
  border-right: 10px solid #9ECB3B;
}

.park-haven-why-us .park-haven-why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.park-haven-why-us .park-haven-why-us-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(76, 107, 231, 0.25);
}

.park-haven-why-us .park-haven-why-us-card:hover::before {
  border-color: rgba(52, 211, 153, 1);
}

@keyframes park-haven-why-us-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(15deg);
  }
}

.park-haven-why-us .park-haven-why-us-floating-star {
  animation: park-haven-why-us-float 4s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .park-haven-why-us .park-haven-why-us-stack-left {
    transform: translateX(2rem);
  }
  .park-haven-why-us .park-haven-why-us-stack-right {
    transform: translateX(-2rem);
  }
}
