@config "../tailwind.config.js";
@import "tailwindcss";

/* plugins must be imported in v4 */
@plugin "@tailwindcss/forms";

@layer base {
  @import "tailwindcss/preflight";
}

@layer components {
  a {
    pointer-events: none;
    cursor: default;
}
  button {
    cursor: pointer;
  }
  /* Navbar */
  .dg-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #efe2cf;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e0e3e5;
    height: 80px;
  }

  .dg-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }

  @media (min-width: 768px) {
    .dg-nav-container {
      padding: 0 80px;
    }
  }

  .dg-nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
  }

  .dg-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00355f;
    transition: width 0.3s ease;
  }

  .dg-nav-link:hover::after {
    width: 100%;
  }

  /* Mega Menu Styles */
  .dg-nav-mega-menu {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    /* background: radial-gradient(circle at 20% 30%, #00355f 0%, #001c37 100%); */
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .dg-nav-mega-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dg-navbar-service-card {
    background: #2b1c02;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
  }

  .dg-navbar-service-card:hover {
    background: #f7d9ad;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
  }

  /* Mobile Drawer Styles */
  .dg-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 110;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
  }

  .dg-nav-drawer.is-active {
    transform: translateX(0);
  }

  .dg-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .dg-nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .dg-nav-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .dg-nav-accordion.is-open {
    max-height: 1000px;
  }

  /* Clinical Prism Utility */
  .clinical-prism-bg {
    background: radial-gradient(circle at 20% 30%, #00355f 0%, #001c37 100%);
  }
  .clinical-light-beam {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
      circle,
      rgba(161, 239, 255, 0.1) 0%,
      transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
  }
  .clinical-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
  }

  /* General Prism Utility */
  .clinical-prism-bg {
    background: radial-gradient(circle at 20% 30%, #0f4c81 0%, #001c37 100%);
  }
  .clinical-light-beam {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
      circle,
      rgba(161, 239, 255, 0.1) 0%,
      transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
  }
  .clinical-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
  }

  /* Hero css */
  .hero-slider-ken-burns {
    animation: kenburns 20s infinite alternate;
  }
  @keyframes kenburns {
    0% {
      transform: scale(1) translate(0, 0);
    }
    100% {
      transform: scale(1.1) translate(-1%, -1%);
    }
  }
  .hero-slider-glass-sapphire {
    background: rgba(15, 117, 188, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-slider-item {
    transition:
      transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.8s ease;
  }
  .hero-slider-progress-bar {
    transition:
      height 0.4s ease,
      opacity 0.4s ease;
  }
  /* about */
  .glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .magnetic-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 53, 95, 0.3);
  }
  .material-symbols-outlined {
    font-variation-settings:
      "FILL" 0,
      "wght" 300,
      "GRAD" 0,
      "opsz" 24;
  }
  .hero-card-gradient {
    background: #f7d9ad;
  }
  .glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  /* services css */

  .slider-container {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    gap: 16px;
  }
  .slider-container::-webkit-scrollbar {
    display: none;
  }

  /* Exact 4 cards in first row calculation: (100% - (3 * gap)) / 4 */
  .prism-card {
    flex: 0 0 calc((100% - (3 * 16px)) / 4);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    min-width: 280px;
    height: 448px; /* Maintain the reduced height style from previous version */
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
  }

  .prism-image {
    filter: brightness(0.9) contrast(1.05);
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .prism-card:hover .prism-image {
    filter: brightness(1) contrast(1);
    transform: scale(1.05);
  }

  .prism-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
  }
  .prism-card:hover .prism-content {
    opacity: 1;
    transform: translateY(0);
  }

  .prism-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.7;
  }
  .prism-card:hover .prism-label {
    opacity: 0;
    transform: rotate(180deg) translateY(-20px);
  }

  .magnetic-btn {
    position: relative;
    transition: transform 0.3s ease-out;
  }
  .magnetic-btn:hover {
    transform: scale(1.05);
  }

  /* WHY CHOOSE US */
  .blueprint-grid {
    background-size: 40px 40px;
    background-image:
      linear-gradient(to right, rgba(160, 201, 255, 0.08) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(160, 201, 255, 0.08) 1px, transparent 1px);
  }
  .cinematic-blue-bg {
    background: radial-gradient(
      circle at 0% 0%,
      #0f4c81 0%,
      #001c37 50%,
      #000c1a 100%
    );
    position: relative;
  }
  .liquid-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(
      circle,
      rgba(142, 189, 249, 0.15) 0%,
      transparent 70%
    );
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
  }
  .architectural-line {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(160, 201, 255, 0.3) 20%,
      rgba(160, 201, 255, 0.3) 80%,
      transparent
    );
  }

  /* Transformation css */
  .dg-transformation-section .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
  }
  .dg-transformation-section .glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/p6.png");
    opacity: 0.03;
    pointer-events: none;
  }
  .dg-transformation-section .inner-glow {
    box-shadow: inset 0 0 15px rgba(161, 239, 255, 0.1);
  }
  .dg-transformation-section .transformation-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    cursor: ew-resize;
    margin: 0;
    position: absolute;
    inset: 0;
    z-index: 30;
  }
  .dg-transformation-section .transformation-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
  }
  .dg-transformation-section .transformation-slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    border: none;
  }

  @keyframes dg-gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  /* Why Choose Us Card Styles */
  .why-choose-us-card {
    position: relative;
    overflow: hidden;
    background: #0f4c81;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .why-choose-us-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.8; */
    transition:
      opacity 0.6s ease,
      transform 0.6s ease,
      filter 0.6s ease;
    z-index: 1;
  }

  .why-choose-us-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
    to top,
    rgba(15, 76, 129, 0.9) 0%,
    rgba(15, 76, 129, 0.2) 60%,
    transparent 100%
  ); */
    z-index: 2;
    transition: background 0.6s ease;
  }

  .why-choose-us-content-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
  }

  .why-choose-us-reveal {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .why-choose-us-card:hover .why-choose-us-reveal {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 2rem;
  }

  .why-choose-us-card:hover .why-choose-us-image {
    opacity: 0.4;
    transform: scale(1.05);
    filter: blur(4px);
  }

  .why-choose-us-card:hover .why-choose-us-overlay {
    background: linear-gradient(
      to top,
      rgba(15, 76, 129, 1) 0%,
      rgba(15, 76, 129, 0.8) 100%
    );
  }

  .why-choose-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  /* stat cards */
  .glass-shard {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  .holographic-gradient {
    background: linear-gradient(135deg, #00355f 0%, #006877 50%, #2fd9f4 100%);
  }
  .clinical-glow {
    box-shadow: 0 30px 50px rgba(0, 53, 95, 0.06);
  }

  /* clinic section */
  .vanguard-clinic .mathematical-grid {
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
  }
  .vanguard-clinic .glass-card {
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  .vanguard-clinic .action-energy-gradient {
    background: linear-gradient(102deg, #00e3fd 0%, #a0c9ff 100%);
  }
  .vanguard-clinic .diagonal-split {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  }
  @media (max-width: 768px) {
    .vanguard-clinic .diagonal-split {
      clip-path: none;
    }
  }

  /* FAQ SECTION */
  .dg-faq-panel-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
  }
  .dg-faq-panel-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuDD0avNe8QIfPPhottL5MYEo9DAk6GbuUdZ_Zo3sI9Nsj6JcPHxhmIFB0cJ2v6951vmUprtEJ4SEDVNOFMoxepQmhwKUoLBYE_rnW6oEjZ9ZXS6BC_svlzYx-kF9TXXmKswUHYFa07wL6ZokliLEy7moal2SbFdYS8v9Wqxg54QOvf5LYM-3Tx4Or9Qrp-FBF6FCMhtINFuK2YyPWCpAd_Ub-y6pOqPLTNKjrRd_Jh075oKw2NhtM3fXuPBXzprpT7SLUyNQfvfXh4);
    opacity: 0.02;
    pointer-events: none;
  }
  .dg-faq-accordion-body {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  .dg-faq-item-active .dg-faq-accordion-body {
    max-height: 500px;
    opacity: 1;
    padding-top: 1rem;
  }
  .dg-faq-focus-glow:focus-within {
    border-bottom: 2px solid #281900;
    box-shadow: 0 4px 20px -10px rgba(47, 203, 227, 0.3);
  }
  .dg-faq-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -15px rgba(15, 76, 129, 0.1);
  }
  @keyframes dg-faq-shimmer {
    0% {
      transform: translateX(-100%) skewX(-12deg);
    }
    100% {
      transform: translateX(100%) skewX(-12deg);
    }
  }
  .dg-faq-shimmer-effect {
    animation: dg-faq-shimmer 5s infinite;
  }

  /* TESTIMONIAL CSS */
  /* Scoped Testimonial Styles */
  .testimonial-section .testimonial-slider-container {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .testimonial-section .testimonial-slider-container::-webkit-scrollbar {
    display: none;
  }

  .testimonial-section .testimonial-card {
    transition: all 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    height: 420px;
    background: #2b1c02;
    position: relative;
    overflow: hidden;
  }

  .testimonial-section .testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuDpl5TTHdELgyKtqRQFU0lSBW5vlxnSpI-Ow--Xh3JJ6fesbmx0xa7zJ3nwumlVO9esaT38N4BWiZD-6gahlnMULP1LHQVaTFPdLsxVXRYQDYq6OsmFRLpnV2S5p6GAtPCKOJikG07KACM6yxXaczhoC-uPoGUg3IYv3gqcuUPaFHalRsly8UnrGQvRtnkmHZ-yeg_uw6vXqph9CscEPu-mTfdssQR9JPbyZwsCJR2o3WrO81-eC4J_RdyYTu4j1CJHDklQXbSVZrw);
    background-size: cover;
    background-position: center;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.5s ease;
  }

  .testimonial-section .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .testimonial-section .testimonial-card:hover::after {
    opacity: 0.2;
  }

  .testimonial-section .glass-panel {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  }

  /* contact css */
  /* Scoped styles for the contact section to ensure perfect layout scaling */
  .vanguard-contact-main-wrapper {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .glass-panel-service {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
  }

  /* content */
  .dg-glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  }
  .dg-grain {
    position: relative;
  }
  .dg-grain::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    pointer-events: none;
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuC3zmh3PV6HPiSHJFSeXm_cuDtcJRRU_UUJiXj59rVc17eQALGbASPemcXNgjtrXaI1CiNLtflThTVIpyqu6CBrzdh2m2HsgNoDktZHqjmCzPAIYMlbsq65jMz9jOUovGnXlcC2vZTlGFXGPJqnsO5AUBy6HuWKa92oUl59hLCVZAeGytq4uTS07xziCvykQTHAOcvCpEugvCoQDr5RMaGSOQgGEBlR99mXcelKzSV4KDYdKfVASCoD4FLGlkNYXw5AdKjpYsCd-k4);
  }

  /* Our team */

  /* Custom Glassmorphism Effect */
  .glass-card-team {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Portrait Background Gradient for Clinical Blue/Purple feel */
  .portrait-container {
    background: linear-gradient(135deg, #6063ee 0%, #0f4c81 100%);
    position: relative;
    overflow: hidden;
  }

  /* Smooth hover scaling */
  .team-card-hover {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .team-card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(11, 28, 48, 0.15);
  }

  /* CONTACT US PAGE */
  .contact-page-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    shadow: 0 40px 60px -20px rgba(0, 53, 95, 0.05);
  }
  .contact-page-obsidian {
    background: linear-gradient(135deg, #02305d 0%, #0f4c81 100%);
    position: relative;
    overflow: hidden;
  }
  .contact-page-obsidian::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
      circle at top right,
      rgba(47, 203, 227, 0.15),
      transparent 60%
    );
    pointer-events: none;
  }
  .contact-page-glass-inset {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .contact-page-hour-row {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .contact-page-hour-row::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #281900, transparent);
    transition: width 0.6s ease;
  }
  .contact-page-hour-row::before {
    width: 100%;
  }
  .contact-page-progress-beam {
    background: linear-gradient(90deg, #0f4c81 0%, #281900 50%, #0f4c81 100%);
    background-size: 200% 100%;
    animation: beam 3s infinite linear;
  }
  @keyframes beam {
    0% {
      background-position: 100% 0;
    }
    100% {
      background-position: -100% 0;
    }
  }
  /* Services book appointment css */
  .dg-booking-portal .glass-panel {
    background: rgba(15, 76, 129, 0.4);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(161, 239, 255, 0.1);
    position: relative;
  }

  .dg-booking-portal .glass-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/60-lines.png");
    opacity: 0.03;
    pointer-events: none;
    border-radius: inherit;
  }

  .dg-booking-portal .inner-glow {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .dg-booking-portal .clinical-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(161, 239, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dg-booking-portal .clinical-input:focus {
    background: rgba(161, 239, 255, 0.05);
    border-color: #a1efff;
    box-shadow:
      0 0 20px rgba(161, 239, 255, 0.25),
      inset 0 0 10px rgba(161, 239, 255, 0.1);
    outline: none;
  }

  .dg-booking-portal input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(100%) saturate(500%) hue-rotate(140deg);
    cursor: pointer;
  }

  .dg-booking-portal .custom-scrollbar::-webkit-scrollbar {
    width: 4px;
  }
  .dg-booking-portal .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
  }
  .dg-booking-portal .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(161, 239, 255, 0.2);
    border-radius: 2px;
  }
  /* Single service page css */
  /* Scoped Semantic Card Revamp */
  .dg-service-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
  }
  @media (min-width: 768px) {
    .dg-service-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (min-width: 1024px) {
    .dg-service-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .dg-service-card {
    background: linear-gradient(135deg, #0f4c81 0%, #00355f 100%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px -5px rgba(15, 76, 129, 0.2);
  }

  .dg-service-card:hover {
    background: #ffffff;
    border-color: #0f4c81;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 76, 129, 0.15);
  }

  .dg-service-card .dg-card-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #001c37;
  }

  .dg-service-card .dg-card-image {
    width: 100%;
    height: 250px;
    object-cover: cover;
    transition: transform 0.8s ease;
  }

  .dg-service-card:hover .dg-card-image {
    transform: scale(1.08);
  }

  .dg-service-card .dg-card-content h3 {
    color: #ffffff;
    transition: color 0.4s ease;
  }
  .dg-service-card .dg-card-content p {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.4s ease;
  }
  .dg-service-card .dg-card-protocol {
    color: #a0c9ff;
    transition: color 0.4s ease;
  }

  .dg-service-card:hover .dg-card-content h3 {
    color: #00355f;
  }
  .dg-service-card:hover .dg-card-content p {
    color: #42474f;
  }
  .dg-service-card:hover .dg-card-protocol {
    color: #0f4c81;
  }

  .dg-cta-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    width: fit-content;
    margin-top: auto;
  }

  .dg-service-card:hover .dg-cta-btn {
    background: #0f4c81;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
  }

  .dg-icon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
  }

  .dg-service-card:hover .dg-icon-badge {
    background: #0f4c81;
    color: white;
  }
  /* date picker color white */
  input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Turns a black icon white */
  }

  /* NEW PATIENT FORM CSS */
  .dg-patient-form-input {
    border: 1px solid #00355f !important;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  .dg-patient-form-input:focus {
    ring: 2px;
    ring-color: #00355f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 53, 95, 0.1);
  }
  .dg-patient-form-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 53, 95, 0.1);
  }
  .dg-patient-form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }
  .dg-patient-form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #00355f;
    border-bottom: 2px solid #00355f;
    padding-bottom: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .dg-patient-form-radio-group {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .dg-patient-form-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
  }
  .dg-patient-form-medical-q {
    padding: 1rem 0;

    border-bottom: 1px solid #e5e7eb;
  }
  .dg-patient-form-medical-q:last-child {
    border-bottom: none;
  }
  /* DENTAL HISTORY FORM CSS */
  .dg-dental-history-input {
    border: 1px solid #00355f !important;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
  }
  .dg-dental-history-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 53, 95, 0.1);
  }
  .dg-dental-history-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 53, 95, 0.1);
  }
  .dg-dental-history-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }
  .dg-dental-history-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #00355f;
    border-bottom: 2px solid #00355f;
    padding-bottom: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .dg-dental-history-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #191c1e;
    white-space: nowrap;
  }
  .dg-dental-history-question-row {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .dg-dental-history-question-row:last-child {
    border-bottom: none;
  }
  .dg-dental-history-sub-question {
    padding-left: 1.5rem;
  }
  .dg-dental-history-signature-pad {
    border: 1px solid #00355f;
    border-radius: 4px;
    background: white;
    cursor: crosshair;
    touch-action: none;
  }
  /* MEDICAL HISTORY WISDOM TEETH FORM CSS */
  .dg-wisdom-teeth-input {
    border: 1px solid #00355f !important;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
  }
  .dg-wisdom-teeth-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 53, 95, 0.1);
  }
  .dg-wisdom-teeth-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 53, 95, 0.1);
  }
  .dg-wisdom-teeth-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }
  .dg-wisdom-teeth-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #191c1e;
    white-space: nowrap;
  }
  .dg-wisdom-teeth-question-row {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    /* display: flex; */
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .dg-wisdom-teeth-question-row:last-child {
    border-bottom: none;
  }
  .dg-wisdom-teeth-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }
  .dg-wisdom-teeth-signature-pad {
    border: 1px solid #00355f;
    border-radius: 4px;
    background: white;
    cursor: crosshair;
    height: 160px;
  }
  /* CONSENT FORM CSS */
  .dg-consent-form-input {
    border: 1px solid #00355f !important;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    width: 100%;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
  }
  .dg-consent-form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 53, 95, 0.1);
  }
  .dg-consent-form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }
  .dg-consent-form-signature-pad {
    border: 1px solid #00355f;
    border-radius: 4px;
    background: white;
    cursor: crosshair;
    height: 160px;
  }
  /* ORAL SEDATION FORM PAGE */
  .oral-sedation-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .oral-sedation-instruction-row {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  .oral-sedation-instruction-row:last-child {
    border-bottom: none;
  }
  .oral-sedation-instruction-row:nth-child(even) {
    background-color: #f8fafc;
  }
  .oral-sedation-contact-box {
    border: 1px solid #00355f;
    border-radius: 4px;
    padding: 1rem;
    display: inline-block;
    margin-top: 0.5rem;
  }
  .oral-sedation-warning-box {
    background-color: #f8fafc;
    border-left: 4px solid #00355f;
    padding: 1.5rem;
    border-radius: 0.25rem;
  }
  .oral-sedation-number-badge {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #00355f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* POST OPERATIVE INSTRUCTIONS WISDOM TEETH CSS */
  .post-op-instructions-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .post-op-instructions-row {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .post-op-instructions-row:last-child {
    border-bottom: none;
  }
  .post-op-instructions-row:nth-child(even) {
    background-color: #f8fafc;
  }
  .post-op-instructions-contact-box {
    border: 1px solid #00355f;
    border-radius: 4px;
    padding: 1rem;
    display: inline-block;
    margin-top: 0.5rem;
  }
  .post-op-instructions-sedation-box {
    background-color: #f8fafc;
    border-left: 4px solid #00355f;
    padding: 1.5rem;
    border-radius: 0.25rem;
  }
  .post-op-instructions-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #00355f;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
  }
  .post-op-instructions-number-badge {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #00355f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* IMPLANTS CONSENT FORM CSS */
  .implant-consent-glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
  }

  .implant-consent-glass-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/pinstriped-suit.png");
    opacity: 0.02;
    pointer-events: none;
  }

  .implant-consent-input-line {
    border-bottom: 1px solid #727780;
    background: transparent;
    width: 100%;
    transition: border-color 0.3s ease;
  }

  .implant-consent-input-line:focus {
    outline: none;
    border-bottom: 1px solid #281900;
    box-shadow: 0 1px 0 0 #281900;
  }

  .material-symbols-outlined {
    font-variation-settings:
      "FILL" 0,
      "wght" 400,
      "GRAD" 0,
      "opsz" 24;
  }

  @media print {
    .no-print {
      display: none;
    }
    body {
      background: white;
    }
    .implant-consent-glass-panel {
      backdrop-filter: none;
      border: none;
      background: white;
    }
  }
  .implant-consent-number-badge {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #00355f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }
  /* Post-Operative Dental Implant Instructions CSS */
  .dental-implants-post-op-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .dental-implants-post-op-row {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .dental-implants-post-op-row:last-child {
    border-bottom: none;
  }
  .dental-implants-post-op-row:nth-child(even) {
    background-color: #f8fafc;
  }
  .dental-implants-post-op-header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #00355f;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
  }
  .dental-implants-post-op-number-badge {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #00355f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dental-implants-post-op-contact-box {
    border: 1px solid #00355f;
    border-radius: 4px;
    padding: 1rem;
    display: inline-block;
    margin-top: 0.5rem;
  }
  /*  Informed Consent Endodontric Treatment */
  .endodontic-consent-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .endodontic-consent-input-line {
    border-bottom: 1px solid #c2c7d1;
    background: transparent;
    width: 100%;
    transition: border-color 0.3s ease;
    padding-bottom: 8px;
  }
  .endodontic-consent-input-line:focus {
    outline: none;
    border-bottom-color: #00355f;
  }
  .endodontic-consent-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
  }
  .endodontic-consent-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: #00355f;
    border-radius: 9999px;
    margin-top: 0.625rem;
  }
  @media print {
    .no-print {
      display: none;
    }
    body {
      background: white;
    }
    .endodontic-consent-container {
      box-shadow: none;
      border: 1px solid #eee;
    }
  }
  /* Informed Consent Extractions CSS */
  .extractions-consent-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .extractions-consent-input-line {
    border-bottom: 1px solid #c2c7d1;
    background: transparent;
    width: 100%;
    transition: border-color 0.3s ease;
    padding-bottom: 8px;
  }
  .extractions-consent-input-line:focus {
    outline: none;
    border-bottom-color: #00355f;
  }
  .extractions-consent-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
  .extractions-consent-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: #00355f;
    border-radius: 9999px;
    margin-top: 0.625rem;
  }
  @media print {
    .no-print {
      display: none;
    }
    body {
      background: white;
    }
    .extractions-consent-container {
      box-shadow: none;
      border: 1px solid #eee;
    }
  }
  /* Canadian Dental Care Plan */
  .canadian-dental-care-plan-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .canadian-dental-care-plan-input-line {
    border-bottom: 1px solid #c2c7d1;
    background: transparent;
    width: 100%;
    transition: border-color 0.3s ease;
    padding-bottom: 8px;
  }
  .canadian-dental-care-plan-input-line:focus {
    outline: none;
    border-bottom-color: #00355f;
  }
  .canadian-dental-care-plan-grid-cell {
    border-bottom: 1px solid #c2c7d1;
    padding: 1rem 0;
  }
  .canadian-dental-care-plan-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
  .canadian-dental-care-plan-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: #00355f;
    border-radius: 9999px;
    margin-top: 0.625rem;
  }
  @media print {
    .no-print {
      display: none;
    }
    body {
      background: white;
    }
    .canadian-dental-care-plan-container {
      box-shadow: none;
      border: 1px solid #eee;
    }
  }
  /* PIPEDA Legislation CSS */
  .pipeda-legislation-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00355f;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .pipeda-legislation-input-line {
    border-bottom: 1px solid #c2c7d1;
    background: transparent;
    width: 100%;
    transition: border-color 0.3s ease;
    padding-bottom: 8px;
  }
  .pipeda-legislation-input-line:focus {
    outline: none;
    border-bottom-color: #00355f;
  }
  .pipeda-legislation-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
  .pipeda-legislation-bullet {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background-color: #00355f;
    border-radius: 9999px;
    margin-top: 0.625rem;
  }
  @media print {
    .no-print {
      display: none;
    }
    body {
      background: white;
    }
    .pipeda-legislation-container {
      box-shadow: none;
      border: 1px solid #eee;
    }
  }
}
/* New testimonial */
.dg-floating-shards-slider {
  perspective: 2000px;
}

.dg-floating-shards-slider .shard-card {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.dg-floating-shards-slider .shard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.05;
  pointer-events: none;
}

.dg-floating-shards-slider .shard-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #281900;
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(47, 203, 227, 0.2);
}

.dg-floating-shards-slider .slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  gap: 24px;
}

.dg-floating-shards-slider .slider-item {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .dg-floating-shards-slider .slider-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (min-width: 1024px) {
  .dg-floating-shards-slider .slider-item {
    flex: 0 0 calc((100% - (24px * 3)) / 4);
  }
}

.dg-floating-shards-slider .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dg-floating-shards-slider .dot.active {
  background: #281900;
  width: 24px;
  border-radius: 4px;
}

.bubble {
  position: absolute;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3),
    rgba(47, 203, 227, 0.05)
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
