/* Navbar */
.dg-navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  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;
  }
}

/* FAQ SECTION */
.liquid-bg-beam {
  background: radial-gradient(
    circle at 50% -20%,
    rgba(142, 189, 249, 0.15) 0%,
    transparent 50%
  );
}
.lab-grain {
  background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuDuCPTT0g0Do0nAZHb3W7M3CdkbvXMayL4QXiIOLzUUSdzkM0GeToIyyD5psCHUPpZ5MiMG5GiR0QFH7kLTx-hsiyLO0WhoxlLXyvFsJOLUa34bOGFSSsUN8qF5W7gmhiJnpXYWVuSXlFYFpgYqOMU44MdiOBQBWkpFDPz3aBiUts_sOMF9rkJ1cmVG7Yt8kyWfRsYwMFHCiZOEGZWjb_mAfr4YYi3NQzn8Ou03_QbmRw6N6WtIYS-txMeatZzbyzj9Knky0qdMCQk);
  opacity: 0.02;
  pointer-events: none;
}

/* FAQ REVAMP STYLES */
.liquid-lab-card {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgb(15 76 129);
  box-shadow: inset 0 1px 1px rgb(15 76 129);
  transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.liquid-lab-card:hover {
  height: 440px;
  background: linear-gradient(145deg, #0f4c81 0%, #083256 100%);
  box-shadow: 0 40px 80px -20px rgba(15, 76, 129, 0.3);
  transform: translateY(-8px);
  border-color: #0f4c81;
}

.liquid-lab-answer {
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-lab-card:hover .liquid-lab-answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 1.5rem;
}

.liquid-lab-icon {
  color: #0f4c81;
  transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-lab-card:hover .liquid-lab-icon {
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.liquid-lab-tag {
  color: #727780;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 800ms ease;
}

.liquid-lab-card:hover .liquid-lab-tag {
  color: rgba(255, 255, 255, 0.6);
}

.liquid-lab-question {
  transition: color 800ms ease;
}

.liquid-lab-card:hover .liquid-lab-question {
  color: #ffffff;
}

.liquid-lab-card:hover .font-body-md {
  color: rgba(255, 255, 255, 0.8);
}

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