/* ==========================================================================
   Dhakshayani Regenerative Medical Genetics Pvt. Ltd.
   Standardized Brand Styling & Color Palette
   ==========================================================================
   Primary Navy Blue:    #062B57 (Premium #0A2E5D) - Trust, Science, Diagnostics
   Sacred Gold:          #C89B2B (Premium #B88A1D) - Heritage, Excellence, Precision
   Deep Maroon:          #9A1020 (Premium #8B0F1A) - Life Sciences, Cellular Regeneration
   Ivory White:          #FAF8F3 (Clinical Cleanliness)
   Secondary Gold:       #D9B85A
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Standardized Brand Tokens */
  --navy-primary: #062B57;
  --navy-premium: #0A2E5D;
  --navy-dark: #041A38;
  --navy-deep: #020F24;
  --navy-light: #10427E;

  --gold-heritage: #C89B2B;
  --gold-premium: #B88A1D;
  --gold-light: #D9B85A;
  --gold-soft: #F7EFCF;

  --maroon-sacred: #9A1020;
  --maroon-premium: #8B0F1A;
  --maroon-light: #B81928;
  --maroon-tint: #FDF1F2;

  --bg-ivory: #FAF8F3;
  --bg-ivory-card: #F4EFE6;

  --font-montserrat: 'Montserrat', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-montserrat);
  color: var(--navy-primary);
  background-color: var(--bg-ivory);
}

body {
  font-family: var(--font-montserrat);
  background-color: var(--bg-ivory);
}

.font-montserrat {
  font-family: var(--font-montserrat);
}

.font-script {
  font-family: var(--font-script);
}

.font-serif-title {
  font-family: var(--font-serif);
}

/* Brand Name Standardized Typography */
.brand-title,
.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-primary);
}

.brand-subtitle,
.brand-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0px;
  color: var(--navy-primary);
}

/* Site Preloader */
.site-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-ivory);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-img {
  width: 135px;
  max-width: 80vw;
  height: auto;
  animation: pulsePreloader 2s ease-in-out infinite;
}

@keyframes pulsePreloader {
  0%, 100% {
    transform: scale(1);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-premium);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-heritage);
}

/* Soft ambient glow animations */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(184, 138, 29, 0.25), 0 0 40px rgba(139, 15, 26, 0.15);
  }
  50% {
    box-shadow: 0 0 35px rgba(184, 138, 29, 0.45), 0 0 60px rgba(139, 15, 26, 0.25);
  }
}

.animate-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Floating animation */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatUp 5s ease-in-out infinite;
}

/* Glassmorphic card styling */
.glass-panel {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 155, 43, 0.25);
  box-shadow: 0 16px 35px -8px rgba(6, 43, 87, 0.08);
}

.glass-panel-dark {
  background: rgba(4, 26, 56, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 155, 43, 0.2);
}

/* Circular artist brush frame for scientist */
.brush-ring-container {
  position: relative;
  display: inline-block;
}

.brush-ring-container::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--gold-premium);
  border-right-color: var(--gold-light);
  border-bottom-color: var(--maroon-premium);
  transform: rotate(-25deg);
  opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(184, 138, 29, 0.35));
  pointer-events: none;
}

.brush-ring-container::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px dashed rgba(200, 155, 43, 0.5);
  pointer-events: none;
  animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Card hover lift & glow */
.focus-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(6, 43, 87, 0.18), 0 0 1px 1px rgba(184, 138, 29, 0.3);
}

/* Traditional temple frieze pattern styling for bottom footer */
.temple-frieze-border {
  position: relative;
  background: linear-gradient(90deg, #6B0813 0%, #8B0F1A 20%, #B88A1D 50%, #8B0F1A 80%, #6B0813 100%);
  padding: 10px 0;
  border-top: 2px solid var(--gold-light);
  border-bottom: 2px solid #4A050D;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
}

/* Video modal & contact modal backdrop */
.modal-backdrop {
  background: rgba(4, 26, 56, 0.88);
  backdrop-filter: blur(8px);
}

/* Nav Link active effect */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--gold-premium);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-link.active {
  color: var(--gold-premium);
  font-weight: 800;
}

/* Page Header Hero Banner */
.page-hero-banner {
  background: linear-gradient(135deg, #020F24 0%, #062B57 60%, #041A38 100%);
  position: relative;
  overflow: hidden;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184, 138, 29, 0.15), transparent 60%);
  pointer-events: none;
}

/* Corporate Data Table */
.data-table-row {
  transition: background-color 0.2s ease;
}

.data-table-row:hover {
  background-color: rgba(244, 239, 230, 0.6);
}

/* Print Utilities for Startup Sheet */
@media print {
  header, footer, .no-print, .site-preloader {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .print-container {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

