/* ==========================================================================
   SOFTNET IT SOLUTIONS — APPLE iOS GLASSMORPHISM & REFLECTIVE SLIDING SYSTEM
   With Sarvam AI Editorial Design System (Instrument Serif & Warm Radiant Aura)
   ========================================================================== */

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

:root {
  /* Typography Tokens */
  --font-serif: 'Instrument Serif', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;  /* SOFTNET IT SOLUTIONS Logo Brand Palette (Deep Tech Sapphire Blue, Electric Cyan, and Ember Orange Accent) */
  --color-primary: #0A1E4A;
  --color-primary-dark: #05102A;
  --color-brand-blue: #1A56DB;
  --color-brand-sapphire: #0F3E8A;
  --color-brand-cyan: #0284C7;
  --color-brand-sky: #0EA5E9;
  --color-accent-orange: #FF5500;
  --color-accent-amber: #FF7A00;
  
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-dark: #061126;

  --text-main: #0A1E4A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  --text-light: #FFFFFF;
  --text-light-muted: #94A3B8;

  /* iOS Glassmorphic Tokens */
  --glass-bg-light: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 100%);
  --glass-bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
  --glass-bg-dark: linear-gradient(135deg, rgba(10, 30, 74, 0.88) 0%, rgba(5, 16, 42, 0.96) 100%);
  --glass-border-light: rgba(255, 255, 255, 0.8);
  --glass-border-card: rgba(26, 86, 219, 0.12);
  --glass-border-dark: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(28px) saturate(200%);

  /* Radii & Spatial Tokens */
  --radius-pill: 9999px;
  --radius-card: 26px;
  --radius-container: 32px;
  --container-width: min(92%, 1240px);

  /* iOS Specular Shadows & Ambient Glows */
  --shadow-ios-glass: 0 20px 45px -10px rgba(10, 30, 74, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04);
  --shadow-ios-dark: 0 25px 60px -12px rgba(5, 16, 42, 0.5), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
  --shadow-pill: 0 12px 35px -6px rgba(26, 86, 219, 0.18), 0 2px 10px rgba(0, 0, 0, 0.03), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  --shadow-glow: 0 0 45px rgba(26, 86, 219, 0.35);

  /* Apple iOS Spring Transitions */
  --transition-spring: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.container-fluid-custom {
  width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   SVG STRICT DIMENSION & SAFETY RULES
   -------------------------------------------------------------------------- */
svg {
  max-width: 100%;
  box-sizing: border-box;
}

.top-bar-item svg, .top-bar-custom svg, .nav-item svg, .footer-contact-icon svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block;
  vertical-align: middle;
}

.service-icon-box svg, .bento-card svg {
  max-width: 32px;
  max-height: 32px;
}

/* --------------------------------------------------------------------------
   EDITORIAL SERIF TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, .hero-title-custom, .hero-title-sarvam, .subpage-title-sarvam, .section-title-custom, .editorial-heading {
  font-family: var(--font-serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em;
  color: var(--text-main);
  line-height: 1.08;
}

.serif-italic {
  font-family: var(--font-serif) !important;
  font-style: italic;
}

/* ==========================================================================
   TOP HIGHLIGHT / WEBINAR TICKER BAR
   ========================================================================== */
.top-webinar-bar {
  background: linear-gradient(90deg, #05102A 0%, #0A1E4A 50%, #05102A 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
  text-align: center;
}

.top-webinar-bar .bar-sparkle {
  color: #38BDF8;
  margin-right: 6px;
  display: inline-block;
}

.top-webinar-bar .bar-badge {
  background: rgba(26, 86, 219, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-webinar-bar .bar-dot {
  opacity: 0.5;
  margin: 0 6px;
}

.top-webinar-bar a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
  font-weight: 600;
  transition: color 0.2s;
}

.top-webinar-bar a:hover {
  color: #FF8F28;
}

/* ==========================================================================
   iOS GLASSMORPHIC FLOATING PILL NAVBAR WITH LIGHT REFLECTION
   ========================================================================== */
.navbar-floating-glass {
  position: sticky;
  top: 10px;
  z-index: 1050;
  width: min(94%, 1220px);
  margin: 6px auto 6px auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  box-shadow: 0 8px 24px -4px rgba(11, 25, 56, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02), inset 0 1px 1.5px rgba(255, 255, 255, 1);
  transition: all var(--transition-spring);
  overflow: visible;
}

/* Subtle Specular Sheen Reflection sweep across the navbar */
.navbar-floating-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   BRAND LOGO COMPONENT WITH ORIGINAL ICON EMBED
   ========================================================================== */
.brand-logo-custom {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #0B1938 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  position: relative;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(255, 94, 0, 0.28));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-custom:hover .brand-logo-img {
  transform: rotate(10deg) scale(1.1);
}

.brand-logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.38rem;
  color: #0B1938;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.brand-logo-text .text-orange {
  color: #FF5E00;
}

.footer-custom .brand-logo-text {
  color: #FFFFFF !important;
}

.nav-link-custom {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #232230 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link-custom:hover, .nav-link-custom.active, .nav-item-has-mega:hover .nav-link-custom {
  color: var(--color-brand-blue) !important;
  background: rgba(26, 86, 219, 0.08);
  backdrop-filter: blur(8px);
}

/* Mini Arrow Indicator for Submenus */
.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  opacity: 0.75;
}

.nav-item-has-mega:hover .nav-chevron,
.nav-item-has-mega.is-active .nav-chevron {
  transform: rotate(180deg);
  color: var(--color-brand-blue);
  opacity: 1;
}

/* Nav Action Buttons with iOS Glass Glare */
.btn-nav-dark {
  background: #0A1E4A;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 14px rgba(10, 30, 74, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all var(--transition-spring);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn-nav-dark:hover {
  background: #05102A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
}

.btn-nav-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0A1E4A !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  transition: all var(--transition-spring);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn-nav-light:hover {
  background: #FFFFFF;
  border-color: rgba(26, 86, 219, 0.3);
  color: var(--color-brand-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.12), inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Badges */
.badge-pill-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(26, 86, 219, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.22);
  color: var(--color-brand-blue);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ==========================================================================
   iOS REFLECTIVE MEGA MENU CONTROL PANEL
   Sliding Glass System with Specular Shimmer Beam
   ========================================================================== */
.nav-item-has-mega {
  position: relative;
}

.mega-menu-container {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-18px) scale(0.98);
  width: clamp(780px, 86vw, 1080px);
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 28px;
  padding: 28px 32px;
  box-shadow: var(--shadow-ios-glass);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.3s;
  z-index: 1060;
  overflow: hidden;
}

/* Dynamic Reflective Light Beam across the Glass Panel */
.mega-menu-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 100%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

/* Hover & Trigger Sliding System */
.mega-menu-container.is-visible,
.mega-menu-container:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega-menu-container.is-visible::before,
.mega-menu-container:hover::before {
  transform: rotate(25deg) translateY(100%);
}

.mega-menu-tab-content {
  display: none;
  position: relative;
  z-index: 2;
}

.mega-menu-tab-content.active {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 230px 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* List Items in Mega Menu */
.mega-list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.mega-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  text-decoration: none !important;
  color: #1E1E2E;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--transition-spring);
  background: transparent;
}

.mega-list-item:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #FF6B00;
  transform: translateX(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.mega-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.badge-purple { background: rgba(243, 232, 255, 0.85); color: #7E22CE; }
.badge-orange { background: rgba(255, 237, 213, 0.85); color: #C2410C; }
.badge-green  { background: rgba(220, 252, 231, 0.85); color: #15803D; }
.badge-blue   { background: rgba(219, 234, 254, 0.85); color: #1D4ED8; }

/* Feature Cards with Glassmorphism */
.mega-feature-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border-light);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--transition-spring), box-shadow 0.35s;
  text-decoration: none !important;
  height: 100%;
  position: relative;
}

.mega-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
}

.mega-card-banner-green {
  height: 170px;
  background: linear-gradient(135deg, #7CB342 0%, #A2D070 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.15;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.mega-card-banner-blue {
  height: 170px;
  background: linear-gradient(135deg, #E0EBFF 0%, #EFF5FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.mega-brand-badge {
  background: #0F4C81;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.25);
  border-bottom: 3px solid #EAB308;
}

.mega-card-footer {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: #2D2D3F;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: auto;
}

.mega-card-footer span.arrow-icon {
  font-size: 1.1rem;
  color: #64748B;
  transition: transform 0.2s;
}

.mega-feature-card:hover .mega-card-footer span.arrow-icon {
  transform: translate(2px, -2px);
  color: #FF6B00;
}

/* ==========================================================================
   HERO SECTION (3D INTERACTIVE FLUID MESH ENGINE & HIGH CONTRAST)
   ========================================================================== */
.hero-wrapper-custom {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 55px 20px 85px 20px;
  background: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

/* 3D Fluid Simulation Canvas Layer */
.hero-fluid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.92;
  transform: scale(1.05);
}

.hero-content-layer {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-flourish-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.hero-tagline-sarvam {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: 0.03em;
  color: #1E3A8A;
  margin-bottom: 24px;
}

.hero-tagline-sarvam span {
  border-bottom: 1.5px solid rgba(26, 86, 219, 0.35);
  padding-bottom: 2px;
}

.hero-title-sarvam {
  font-family: var(--font-serif) !important;
  font-size: clamp(3.4rem, 7.5vw, 6.2rem) !important;
  font-weight: 400 !important;
  color: #0A1E4A;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 0 auto 24px auto;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-desc-sarvam {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: #475569;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Glassmorphic Pill Buttons with Specular Light Rim */
.btn-hero-dark {
  background: linear-gradient(135deg, #0A1E4A 0%, #05102A 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 30px rgba(10, 30, 74, 0.28), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
  transition: all 0.3s var(--transition-spring);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.btn-hero-dark:hover {
  background: #020817;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px rgba(26, 86, 219, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-hero-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #0A1E4A !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(10, 30, 74, 0.06), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  transition: all 0.3s var(--transition-spring);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.btn-hero-light:hover {
  background: #FFFFFF;
  border-color: rgba(26, 86, 219, 0.35);
  color: var(--color-brand-blue) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(26, 86, 219, 0.12), inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* ==========================================================================
   SUBPAGE HERO BANNER (SOFT AESTHETIC BLEND)
   ========================================================================== */
.subpage-hero-wrapper {
  position: relative;
  padding: 50px 20px 65px 20px;
  background: 
    radial-gradient(ellipse 75% 55% at 50% 15%, rgba(56, 189, 248, 0.14) 0%, rgba(26, 86, 219, 0.07) 45%, rgba(255, 94, 0, 0.035) 75%, transparent 100%),
    radial-gradient(circle at 18% 35%, rgba(14, 165, 233, 0.09) 0%, transparent 55%),
    radial-gradient(circle at 82% 30%, rgba(255, 94, 0, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 65%, #FFFFFF 100%);
  text-align: center;
  overflow: hidden;
}

.subpage-title-sarvam {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem) !important;
  font-weight: 400 !important;
  color: #0A1E4A;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.subpage-subtitle-sarvam {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.subpage-breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.subpage-breadcrumb a {
  color: #FF6B00;
  text-decoration: none;
}

/* ==========================================================================
   iOS GLASSMORPHIC BENTO CARDS & REFLECTIVE SHINE
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }

.bento-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border-card);
  padding: 36px;
  box-shadow: var(--shadow-ios-glass);
  transition: all var(--transition-spring);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Specular Light Flare Sweep on Card Hover */
.bento-card::before, .subpage-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 100%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.75s var(--transition-spring);
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover, .subpage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px -10px rgba(10, 30, 74, 0.14), 0 2px 12px rgba(26, 86, 219, 0.14), inset 0 1px 2px rgba(255, 255, 255, 1);
  border-color: rgba(26, 86, 219, 0.35);
}

.bento-card:hover::before, .subpage-card:hover::before {
  transform: rotate(25deg) translateY(100%);
}

/* ==========================================================================
   SERVICE ICON BOX & LOGO-ALIGNED TECH SVG SYSTEM
   ========================================================================== */
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.12) 0%, rgba(2, 132, 199, 0.04) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(26, 86, 219, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-blue);
  margin-bottom: 24px;
  box-shadow: 0 8px 20px -4px rgba(26, 86, 219, 0.16), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  transition: all var(--transition-spring);
  position: relative;
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .service-icon-box {
  transform: scale(1.1) translateY(-3px) rotate(-3deg);
  background: linear-gradient(135deg, #1A56DB 0%, #0F3E8A 100%);
  border-color: #38BDF8;
  color: #FFFFFF;
  box-shadow: 0 14px 30px rgba(26, 86, 219, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.bento-card:hover .service-icon-box svg path,
.bento-card:hover .service-icon-box svg circle,
.bento-card:hover .service-icon-box svg rect,
.bento-card:hover .service-icon-box svg line {
  stroke: #FFFFFF !important;
}

.bento-card:hover .service-icon-box svg [fill]:not([fill="none"]) {
  fill: #FFFFFF !important;
}

.service-title-redesign {
  font-family: var(--font-serif) !important;
  font-size: 1.85rem !important;
  font-weight: 400 !important;
  color: #0A1E4A;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

/* Service Bullet Features */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 10px;
}

.check-badge-orange, .check-badge-blue {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.1);
  border: 1px solid rgba(26, 86, 219, 0.28);
  color: #1A56DB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ==========================================================================
   STATS COUNTER BANNER & DARK CARD HIGH CONTRAST TYPOGRAPHY
   ========================================================================== */
.stats-counter-banner {
  background: linear-gradient(135deg, #0A1E4A 0%, #05102A 100%);
  color: #FFFFFF;
  padding: 60px 20px;
  border-radius: var(--radius-container);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 25px 60px -10px rgba(5, 16, 42, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.stats-counter-banner .stat-number-custom {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  color: #38BDF8 !important;
  line-height: 1.1;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
}

.stats-counter-banner .stat-label-custom,
.stats-counter-banner .text-muted,
.stats-counter-banner div.small {
  color: #CBD5E1 !important; /* Crisp light silver */
  font-family: var(--font-sans);
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin-top: 6px;
  letter-spacing: 0.01em;
  opacity: 1 !important;
}

.bento-card-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: #FFFFFF !important;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border-dark);
  padding: 40px;
  box-shadow: var(--shadow-ios-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-spring);
}

.bento-card-dark h1,
.bento-card-dark h2,
.bento-card-dark h3,
.bento-card-dark h4,
.bento-card-dark h5,
.bento-card-dark strong {
  color: #FFFFFF !important;
}

.bento-card-dark p {
  color: #E2E8F0 !important;
}

.bento-card-dark .text-muted,
.bento-card-dark span:not(.badge-pill-custom):not(.bar-sparkle) {
  color: #94A3B8 !important;
}

.bento-card-dark .stat-number-custom {
  color: #38BDF8 !important;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   FOOTER SECTION — SAPPHIRE MIDNIGHT THEME
   ========================================================================== */
.footer-custom {
  background: #061126;
  color: #CBD5E1 !important;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-custom .brand-logo-custom .logo-sarvam-style {
  color: #FFFFFF !important;
}

.footer-custom p,
.footer-custom .text-muted {
  color: #94A3B8 !important;
  line-height: 1.65;
}

.footer-title-custom {
  font-family: var(--font-sans);
  color: #FFFFFF !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--color-accent-orange);
  border-radius: 2px;
}

.footer-links-custom {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-custom li {
  margin-bottom: 12px;
}

.footer-links-custom a {
  color: #CBD5E1 !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-custom a:hover {
  color: #FF8800 !important;
  transform: translateX(4px);
}

.footer-custom .border-secondary {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.footer-custom .border-top div.text-muted,
.footer-custom .border-top a.text-muted {
  color: #94A3B8 !important;
  transition: color 0.2s ease;
}

.footer-custom .border-top a.text-muted:hover {
  color: #FF8800 !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS (iOS Glassmorphism & High-DPI UI)
   ========================================================================== */

/* Tablet & Smaller Screens (max-width: 991.98px) */
@media (max-width: 991.98px) {
  :root {
    --container-width: 94%;
  }

  /* Top Bar */
  .top-webinar-bar {
    font-size: 0.78rem;
    padding: 7px 0;
  }
  .top-webinar-bar .container-fluid-custom {
    justify-content: center !important;
    gap: 8px;
    text-align: center;
  }
  .top-webinar-bar .ms-auto {
    margin-left: 0 !important;
  }

  /* Floating Glass Navbar on Tablet/Mobile */
  .navbar-floating-glass {
    width: calc(100% - 24px);
    top: 8px;
    padding: 10px 18px;
    border-radius: 22px;
    margin: 4px auto 8px auto;
  }

  .navbar-toggler {
    padding: 8px 12px;
    background: rgba(26, 86, 219, 0.08);
    border: 1px solid rgba(26, 86, 219, 0.2) !important;
    border-radius: 14px;
    transition: all 0.25s ease;
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    background: rgba(26, 86, 219, 0.15);
    border-color: var(--color-brand-blue) !important;
  }

  .navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A1E4A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  /* Mobile Glass Drawer Dropdown */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    padding: 18px 14px;
    margin-top: 12px;
    border: 1px solid rgba(26, 86, 219, 0.14);
    box-shadow: 0 18px 45px -8px rgba(10, 30, 74, 0.15), 0 2px 10px rgba(0, 0, 0, 0.03), inset 0 1px 1.5px #FFFFFF;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav {
    width: 100%;
    gap: 4px;
    margin-bottom: 12px;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .nav-link-custom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px !important;
    font-size: 0.92rem;
    border-radius: 12px;
    font-weight: 600;
  }

  .nav-link-custom:hover,
  .nav-link-custom.active {
    background: rgba(26, 86, 219, 0.09);
    color: var(--color-brand-blue) !important;
  }

  .navbar-collapse .d-flex.align-items-center.gap-2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 10px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .btn-nav-light,
  .btn-nav-dark {
    width: 100% !important;
    height: 44px;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    border-radius: var(--radius-pill);
  }

  /* Hide Desktop Mega Menu on Mobile/Tablet */
  .mega-menu-container {
    display: none !important;
  }

  /* Bento Grids Tablet Fallback */
  .bento-grid {
    gap: 18px;
  }
  .bento-span-8,
  .bento-span-4,
  .bento-span-6 {
    grid-column: span 12;
  }
  .bento-card,
  .bento-card-dark {
    padding: 28px 22px;
    border-radius: 22px;
  }

  /* Hero Section */
  .hero-wrapper-custom {
    min-height: auto;
    padding: 48px 16px 65px 16px;
  }
  .hero-title-sarvam {
    font-size: clamp(2.8rem, 7vw, 4.2rem) !important;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero-desc-sarvam {
    font-size: 1.05rem;
    margin-bottom: 32px;
  }

  /* Macro Section Spacings */
  .macro-section-padding {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }

  /* Stats Banner */
  .stats-counter-banner {
    padding: 40px 20px;
    border-radius: 24px;
  }
  .stats-counter-banner .stat-number-custom {
    font-size: 2.8rem;
  }

  /* Subpage Hero */
  .subpage-hero-wrapper {
    padding: 42px 16px 50px 16px;
  }
  .subpage-title-sarvam {
    font-size: clamp(2.4rem, 6vw, 3.6rem) !important;
  }
}

/* Smartphone & Small Devices (max-width: 575.98px) */
@media (max-width: 575.98px) {
  :root {
    --container-width: 92%;
    --radius-card: 20px;
    --radius-container: 22px;
  }

  /* Top Bar */
  .top-webinar-bar {
    font-size: 0.72rem;
    padding: 6px 8px;
    line-height: 1.4;
  }
  .top-webinar-bar .bar-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin-right: 4px;
  }
  .top-webinar-bar .bar-dot {
    margin: 0 3px;
  }

  /* Floating Navbar */
  .navbar-floating-glass {
    width: calc(100% - 16px);
    top: 6px;
    padding: 8px 14px;
    border-radius: 18px;
  }

  .brand-logo-custom {
    font-size: 1.25rem;
    gap: 8px;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .brand-logo-text {
    font-size: 1.25rem;
  }

  /* Hero Section */
  .hero-wrapper-custom {
    padding: 36px 12px 52px 12px;
  }
  .hero-wrapper-custom .rounded-pill {
    max-width: 100%;
    font-size: 0.74rem !important;
    padding: 4px 10px !important;
    white-space: normal !important;
    text-align: left;
  }
  .hero-title-sarvam {
    font-size: clamp(2.15rem, 9.4vw, 2.85rem) !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .hero-desc-sarvam {
    font-size: 0.95rem;
    line-height: 1.58;
    margin-bottom: 26px;
  }

  /* Full Width CTA Buttons on Phone */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-hero-dark,
  .btn-hero-light {
    width: 100% !important;
    max-width: 320px;
    height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  /* Section Titles */
  .section-title-custom {
    font-size: clamp(1.95rem, 8vw, 2.5rem) !important;
    line-height: 1.15;
  }
  .section-header-custom {
    margin-bottom: 30px;
  }

  /* Cards & Bento Grid */
  .bento-card,
  .bento-card-dark,
  .subpage-card {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .service-title-redesign {
    font-size: 1.55rem !important;
    margin-bottom: 10px;
  }
  .service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin-bottom: 16px;
  }
  .service-icon-box svg {
    width: 24px;
    height: 24px;
  }
  .service-feature-item {
    font-size: 0.84rem;
    gap: 8px;
    margin-bottom: 8px;
  }

  /* Stats Section 2x2 Clean Layout */
  .stats-counter-banner {
    padding: 30px 14px;
    border-radius: 20px;
  }
  .stats-counter-banner .col-lg-3.col-6 {
    padding: 10px 6px;
  }
  .stats-counter-banner .stat-number-custom {
    font-size: 2.15rem;
  }
  .stats-counter-banner .stat-label-custom,
  .stats-counter-banner div.small {
    font-size: 0.82rem !important;
  }

  /* Subpage Titles & Forms */
  .subpage-hero-wrapper {
    padding: 32px 14px 42px 14px;
  }
  .subpage-title-sarvam {
    font-size: clamp(2rem, 8.2vw, 2.7rem) !important;
    line-height: 1.12;
  }
  .subpage-subtitle-sarvam {
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .subpage-breadcrumb {
    font-size: 0.78rem;
    padding: 4px 14px;
  }

  /* Form Inputs (Prevent iOS Safari auto-zoom) */
  input.form-control,
  select.form-select,
  textarea.form-control {
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  /* Location Card & Map */
  .bento-card iframe {
    height: 260px !important;
  }

  /* Footer */
  .footer-custom {
    padding: 48px 14px 24px 14px;
  }
  .footer-title-custom {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .footer-links-custom li {
    margin-bottom: 10px;
  }
  .footer-custom .border-top {
    flex-direction: column !important;
    text-align: center;
    gap: 14px;
    margin-top: 35px !important;
    padding-top: 20px !important;
  }
  .footer-custom .border-top .d-flex.gap-3 {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px !important;
  }
}

/* Extra Small Phones (max-width: 375px) */
@media (max-width: 375px) {
  .hero-title-sarvam {
    font-size: 2rem !important;
  }
  .subpage-title-sarvam {
    font-size: 1.85rem !important;
  }
  .brand-logo-text {
    font-size: 1.15rem;
  }
  .stats-counter-banner .stat-number-custom {
    font-size: 1.9rem;
  }
}

/* Safe touch target optimization for mobile touch devices */
@media (pointer: coarse) {
  .nav-link-custom,
  .footer-links-custom a,
  .btn-hero-dark,
  .btn-hero-light,
  .btn-nav-dark,
  .btn-nav-light {
    min-height: 44px;
  }
}

