/* Navbar */
.dg-navbar-header {
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e0e3e5;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.dg-navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  /* max-width: 1440px; */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .dg-navbar-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.dg-navbar-link-underline {
  position: relative;
}
.dg-navbar-link-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f4c81;
  transition: width 0.3s ease;
}
.dg-navbar-link-underline:hover::after {
  width: 100%;
}
.dg-navbar-mega-menu {
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  background: radial-gradient(circle at 20% 30%, #0f4c81 0%, #001c37 100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;

  z-index: 49;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-height: calc(100vh - 80px);
}
.dg-navbar-mega-menu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dg-navbar-service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dg-navbar-service-card:hover {
  background: #0f4c81;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.dg-navbar-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 85%;
  max-width: 400px;
  z-index: 55;
  background: white;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
  display: flex;
  flex-direction: column;
}
.dg-navbar-mobile-drawer.is-active {
  transform: translateX(0);

  visibility: visible;
}
.dg-navbar-overlay {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.dg-navbar-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.dg-navbar-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}
.dg-navbar-accordion-content.is-open {
  max-height: 1200px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* 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: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}
.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
  );
}

/* 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;
  }
}

/* Transformation section css home */
.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;
}
.dg-transformation-section.animated-gradient {
  background: linear-gradient(-45deg, #f7f9fb, #d2e4ff, #ffffff, #a1efff);
  background-size: 400% 400%;
  animation: dg-gradient 15s ease infinite;
}
@keyframes dg-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 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 #2fcbe3;
  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);
  min-height: 420px;
  background: linear-gradient(135deg, #00355f 0%, #002a4d 100%);
  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);
}
