/* ==========================================================================
   Shrusti Physis - Custom CSS & Styling Enhancements
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Dancing+Script:wght@600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --primary-navy: #103746;
  --primary-navy-hover: #0b2934;
  --accent-gold: #c89a3e;
  --accent-gold-hover: #b58832;
  --accent-green: #246556;
  --dark-navy: #0c2633;
  --slate-text: #1e293b;
  --card-navy: #f0f5f8;
  --card-mint: #edf7f4;
  --card-gold: #fdf8ee;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Script & Calligraphic Font */
.font-handwriting {
  font-family: 'Caveat', 'Dancing Script', cursive;
}

.font-script {
  font-family: 'Dancing Script', cursive;
}

/* Custom Glassmorphism & Header */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero Section Subtle Pastel Aura matching Logo Gold and Navy/Sage */
.hero-gradient-bg {
  background: radial-gradient(circle at 85% 25%, rgba(200, 154, 62, 0.14) 0%, rgba(253, 248, 238, 0.45) 35%, rgba(255, 255, 255, 0) 70%),
              radial-gradient(circle at 15% 45%, rgba(16, 55, 70, 0.08) 0%, rgba(36, 101, 86, 0.06) 30%, rgba(255, 255, 255, 0) 65%);
}

/* Our Approach Section Background Gradient matching brand harmony */
.approach-gradient-bg {
  background: linear-gradient(110deg, #f4f8f7 0%, #f6faf8 35%, #fcf9f2 75%, #fefcf7 100%);
  position: relative;
}

/* Chennai Card Image */
.chennai-card-img,
.pondi-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 1.5rem;
}

/* Card Hover micro-interactions */
.service-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(16, 55, 70, 0.12);
}

.tech-badge {
  transition: all 0.25s ease;
}

.tech-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(16, 55, 70, 0.10);
}

.partner-card {
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(16, 55, 70, 0.08);
}

/* Approach Arrow Animation */
.step-arrow {
  color: #64748b;
  transition: color 0.2s ease, transform 0.2s ease;
}

.approach-step:hover .step-arrow {
  color: #c89a3e;
  transform: translateX(3px);
}

/* Calligraphic Slogan & Curves */
.calligraphic-text {
  font-family: 'Caveat', cursive;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

/* Custom Curved Banner Background with Brand Tones */
.cta-banner-bg {
  background: linear-gradient(120deg, #edf4f7 0%, #f3f7f5 45%, #fdf8ee 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 10%, transparent 60%);
  pointer-events: none;
}

/* Modal Overlay */
.modal-overlay {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Document Sidebar Custom Scrollbar */
#docNavList::-webkit-scrollbar {
  width: 5px;
}
#docNavList::-webkit-scrollbar-track {
  background: #0f172a;
}
#docNavList::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
#docNavList::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Trigger Doc Reader Pill Card Hover Effect */
.trigger-doc-reader {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.trigger-doc-reader:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -4px rgba(16, 55, 70, 0.15);
}
