/* ==========================================================================
   MITT & CO, CHARTERED ACCOUNTANTS
   Strict Two-Line Page 1 Title, Top-Left Dual Logo Branding & Pure White Surfaces
   Borderless High-Gloss Executive Architecture & Single-Row Navigation
   Custom Live Interactive SVG Animated Smart Bulb ("Clippy") Without Dummy Overlays
   Uniform Ultra-Glossy Chamber Engine & Executive Portrait Profile Layout
   Full Inter-Word Justification & Subtle Gold-Tinted Keyword Highlighting
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Strict Brand Commandment Color System */
  --too-dark-navy: #020817;         /* STRICT: Firm Name & High Authority Headings */
  --dark-navy-hover: #0A1633;
  --dark-golden-base: #9C6B10;      /* STRICT: Chartered Accountants Designation & Accents */
  --dark-golden-deep: #7A530C;
  --dark-golden-light: #B8860B;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #9C6B10 100%);
  --navy-gradient: linear-gradient(135deg, #020817 0%, #0F172A 100%);

  /* Pure White & High-Gloss Light Theme Surfaces */
  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glossy: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 100%);
  --bg-popup-glossy: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 253, 244, 0.97) 100%);

  /* Typography & Ultra-Soft Separation */
  --text-main: #020817;
  --text-muted: #334155;
  --text-light: #64748B;
  --hairline-separation: rgba(2, 8, 23, 0.04);
  
  /* Layout Dimensions */
  --nav-height: 88px;
  --right-panel-width: 0px;
  
  /* Modern Borderless Elevation Shadows (Replacing Hard Borders!) */
  --shadow-sm: 0 4px 15px rgba(2, 8, 23, 0.04);
  --shadow-card: 0 12px 36px -6px rgba(2, 8, 23, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 22px 48px -8px rgba(2, 8, 23, 0.16), 0 0 26px rgba(156, 107, 16, 0.18);
  --shadow-popup: 0 30px 90px rgba(2, 8, 23, 0.55), 0 0 55px rgba(156, 107, 16, 0.45);

  /* Font Stacks */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   RESET & UNIFORM PURE WHITE GLOSSY THEME BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--bg-main);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-main);
  background: var(--bg-main);
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  line-height: 1.82;
  position: relative;
}

/* Academic Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
  background: var(--dark-golden-base);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-golden-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--too-dark-navy);
  font-weight: 700;
  line-height: 1.22;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
  list-style: none;
}

/* GLOBAL EXECUTIVE TYPOGRAPHY: STRICT INTER-WORD JUSTIFY FOR PERFECT RIGHT EDGES! */
p, .about-text-body p, .founder-bio p, .vm-card p, .section-desc, .rich-card-summary, .modal-body-scroll p, .modal-body-scroll li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* STRICT PROFESSIONAL BOLD TYPOGRAPHY (ALL BOLD TEXT STRICTLY IN BLACK / DARK NAVY!) */
strong, .hl, .hl-navy, .hl-gold, strong.hl-gold, strong.hl-navy, .modal-body-scroll strong {
  color: var(--too-dark-navy) !important;
  font-weight: 800 !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: inline;
}

/* Master Layout Grid for Main Content (Full 100% Width Architecture) */
.master-layout {
  width: 100%;
  padding-right: 0;
}

/* ==========================================================================
   DEDICATED RIGHT-SIDE BLURRY ZONE: CUSTOM ANIMATED SMART BULB ("CLIPPY") & ANIMATED SYMBOLS
   ========================================================================== */
.professional-blurry-panel {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  width: var(--right-panel-width);
  height: calc(100vh - var(--nav-height));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: -12px 0 40px rgba(2, 8, 23, 0.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 24px 22px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

/* Animated Symbol Command Box */
.clippy-symbol-display-box {
  background: #FFFFFF;
  border: none;
  border-radius: 20px 20px 4px 20px;
  padding: 18px 22px;
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.09);
  position: relative;
  margin-bottom: 15px;
  min-height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: symbolFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes symbolFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.symbol-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(156, 107, 16, 0.12);
  animation: badgePulse 2s infinite alternate ease-in-out;
}

@keyframes badgePulse {
  0% { transform: scale(1); box-shadow: 0 4px 16px rgba(156, 107, 16, 0.12); }
  100% { transform: scale(1.025); box-shadow: 0 6px 22px rgba(156, 107, 16, 0.25); }
}

.symbol-glyph {
  font-size: 1.95rem;
  line-height: 1;
  filter: drop-shadow(0 2px 5px rgba(2, 8, 23, 0.2));
  animation: glyphSpin 3s infinite ease-in-out alternate;
}

@keyframes glyphSpin {
  0% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.1); }
  100% { transform: rotate(-4deg) scale(1); }
}

.symbol-title {
  font-family: var(--font-primary);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--too-dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

/* ==========================================================================
   CUSTOM LIVE INTERACTIVE SVG ANIMATED SMART BULB ("CLIPPY")
   ========================================================================== */
.clippy-animation-stage {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px 0;
  perspective: 1000px;
}

.svg-clippy-wrapper {
  width: 100%;
  max-width: 310px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clippy-glow-halo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 220, 50, 0.75) 0%, rgba(212, 175, 55, 0.45) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(16px);
  z-index: 1;
  transition: all 0.4s ease;
  animation: filamentPulseGold 2.8s infinite alternate ease-in-out;
}

@keyframes filamentPulseGold {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.15); opacity: 1; filter: blur(22px); }
}

.interactive-svg-clippy {
  width: 100%;
  height: 100%;
  z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(2, 8, 23, 0.22));
  transform-origin: center bottom;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#clippy-left-brow, #clippy-right-brow {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.3s ease;
  transform-origin: center;
}

#clippy-eye-highlights {
  transition: all 0.3s ease;
  animation: eyeBlink 4.5s infinite;
  transform-origin: center;
}

@keyframes eyeBlink {
  0%, 94%, 98%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.08); }
}

#clippy-mouth-path {
  transition: d 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.3s ease;
}

#clippy-filament-vector {
  transition: all 0.35s ease;
  animation: filamentFlicker 3s infinite alternate;
}

@keyframes filamentFlicker {
  0% { filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8)); }
  100% { filter: drop-shadow(0 0 16px rgba(255, 230, 80, 1)); }
}

.clippy-state-neutral .interactive-svg-clippy {
  animation: clippyFloat3D 3.5s infinite alternate ease-in-out;
}
@keyframes clippyFloat3D {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-1.5deg); }
}

.clippy-state-smart .interactive-svg-clippy {
  transform: translateY(-8px) scale(1.05) rotate(2deg);
  filter: drop-shadow(0 24px 44px rgba(156, 107, 16, 0.35));
}
.clippy-state-smart .clippy-glow-halo {
  background: radial-gradient(circle, rgba(255, 235, 90, 0.9) 0%, rgba(212, 175, 55, 0.6) 55%, transparent 85%);
  transform: translateX(-50%) scale(1.35);
}
.clippy-state-smart #clippy-left-brow {
  transform: translateY(-8px) rotate(-18deg) scaleX(1.15);
  fill: var(--dark-golden-base);
}
.clippy-state-smart #clippy-right-brow {
  transform: translateY(-8px) rotate(18deg) scaleX(1.15);
  fill: var(--dark-golden-base);
}
.clippy-state-smart #clippy-eye-highlights {
  transform: scale(1.18);
}

.clippy-state-excited .interactive-svg-clippy {
  animation: clippyBounceExcited 0.55s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes clippyBounceExcited {
  0% { transform: translateY(0px) scale(1.06) rotate(-3.5deg); }
  100% { transform: translateY(-16px) scale(1.1) rotate(3.5deg); }
}
.clippy-state-excited .clippy-glow-halo {
  background: radial-gradient(circle, rgba(255, 255, 130, 1) 0%, rgba(255, 175, 0, 0.75) 60%, transparent 90%);
  transform: translateX(-50%) scale(1.5);
  animation: fastGlowPulse 0.5s infinite alternate ease-in-out;
}
@keyframes fastGlowPulse {
  0% { filter: blur(16px); opacity: 0.85; }
  100% { filter: blur(26px); opacity: 1; }
}
.clippy-state-excited #clippy-left-brow,
.clippy-state-excited #clippy-right-brow {
  transform: translateY(-14px) rotate(0deg) scale(1.25);
  fill: var(--too-dark-navy);
}
.clippy-state-excited #clippy-mouth-path {
  fill: #D4AF37;
}

.clippy-state-smile .interactive-svg-clippy {
  transform: translateY(-5px) scale(1.03) rotate(-2deg);
}
.clippy-state-smile #clippy-left-brow { transform: translateY(-5px) rotate(8deg); }
.clippy-state-smile #clippy-right-brow { transform: translateY(-5px) rotate(-8deg); }

.clippy-footer-plate {
  margin-top: 12px;
  padding-top: 14px;
  border: none;
  text-align: center;
}

.clippy-name {
  font-family: var(--font-primary);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--too-dark-navy);
}

.clippy-role {
  font-size: 0.8rem;
  color: var(--dark-golden-base);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ==========================================================================
   NAVIGATION BAR: SINGLE-ROW ARRANGEMENT & NO BORDER ON LOGO!
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  z-index: 3000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* STRICT REMOVAL OF LOGO BORDER: Native, Uncluttered Logo Presentation */
.brand-badge-dual {
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  padding: 0;
  border: none;         /* REMOVED LOGO BORDER! */
  box-shadow: none;     /* REMOVED BOX SHADOW! */
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  animation: steadyFloat 6.5s ease-in-out infinite;
}

.brand-badge-dual:hover {
  opacity: 0.88;
  animation: none !important;
  transform: none !important;
}

.nav-ca-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-firm-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* SINGLE-ROW UNWRAPPED MENU ARRANGEMENT WITH BALANCED LOGO SPACING */
.nav-links {
  display: flex;
  gap: 0.88rem;          /* Compact spacing ensures zero right-edge clipping! */
  align-items: center;
  margin-left: 1.2rem;   /* Brings tabs closer to logo, giving APPLICATIONS plenty of room */
  margin-right: 1rem;    /* Ample breathing buffer from the right border */
  flex-wrap: nowrap;     /* STRICTLY PREVENTS WRAPPING TO 2ND LINE! */
  overflow-x: auto;      /* Seamless adaptation on compact viewports */
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

/* HIDE MOBILE QUICK APPS BUTTON ON DESKTOP */
.mobile-top-apps-quick {
  display: none;
}

.nav-link {
  font-size: 0.80rem;
  font-weight: 800;
  color: var(--too-dark-navy);
  position: relative;
  padding: 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  white-space: nowrap;   /* Ensures link terms never split */
}

.nav-link:nth-child(odd) {
  animation: steadyFloat 6s ease-in-out infinite;
  animation-delay: 0.2s;
}

.nav-link:nth-child(even) {
  animation: steadyFloat3 7s ease-in-out infinite;
  animation-delay: 0.8s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--dark-golden-base);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--dark-golden-base);
  animation: none !important;
  transform: none !important;
}

/* HIGHLIGHTED APPLICATIONS NAVBAR BUTTON (REGAL TEAL / AZURE COBALT - NO YELLOW!) */
.nav-link-app-highlight {
  background: transparent !important;
  padding: 0.4rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  margin-left: 4px !important;
  animation: executiveTealPulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

@keyframes executiveTealPulse {
  0%, 100% {
    color: #0E7490; /* Executive Cyan-Teal */
    transform: scale(1);
  }
  50% {
    color: #0284C7; /* Royal Azure Blue */
    transform: scale(1.04);
  }
}

.nav-link-app-highlight:hover {
  color: #06B6D4 !important; /* Vibrant Cyan on hover - zero yellow! */
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow: none !important;
  animation: none !important;
}

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

.btn-navy {
  background: var(--too-dark-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--font-primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 20px rgba(2, 8, 23, 0.2);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background: var(--dark-navy-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.32);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--too-dark-navy);
  border-radius: 3px;
}

/* ==========================================================================
   SECTION 1: ON 1ST PAGE AFTER HEADING (STRICT TWO-LINE TITLE HIERARCHY)
   About Us on Pure White Surface with Glossy Popup Button (NO BORDERS!)
   ========================================================================== */
.hero-about-viewport, #who-we-are {
  padding: 130px 4rem 95px 4rem;
  background: radial-gradient(circle at 82% 48%, #FFFBF0 0%, #FFFFFF 75%);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#who-we-are {
  padding: 105px 4rem 105px 4rem;
}

.hero-about-viewport::before, #who-we-are::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('Background_Pic.png') center center / cover no-repeat;
  opacity: 0.22;
  filter: contrast(1.12) brightness(1.05);
  pointer-events: none;
  z-index: 0;
  transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-about-viewport:hover::before, #who-we-are:hover::before {
  transform: scale(1.025);
}

.hero-main-title {
  margin-bottom: 40px;
  line-height: 1.08;
  position: relative;
  z-index: 2;
}

.hero-title-line1 {
  display: block;
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--too-dark-navy);
}

.hero-title-line2 {
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--dark-golden-base);
  margin-top: 6px;
}

.about-hero-container {
  background: transparent !important;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.about-hero-title {
  font-size: 2.1rem;
  color: var(--too-dark-navy);
  margin-bottom: 18px;
  font-weight: 800;
}

.about-text-body p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.about-text-body p:last-child {
  margin-bottom: 0;
}

.view-more-toggle-wrap {
  margin-top: 32px;
  text-align: left;
}

.btn-view-more {
  background: #FFFFFF;
  color: var(--too-dark-navy);
  border: 1px solid rgba(156, 107, 16, 0.4);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 12px 32px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.08);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-view-more:hover {
  background: var(--too-dark-navy);
  color: #FFFFFF;
  border-color: var(--too-dark-navy);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.btn-view-more span {
  color: var(--dark-golden-base);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-view-more:hover span {
  transform: translateX(5px);
  color: var(--dark-golden-light);
}

/* ==========================================================================
   GENERAL SECTIONS ARCHITECTURE (STRICT BORDERLESS FLUID DESIGN)
   ========================================================================== */
.section {
  padding: 105px 4rem;
  background: #FFFFFF;
  border: none;
  position: relative;
}

.section-alt {
  background: var(--bg-glossy);
  border: none;
}

.section-header {
  margin-bottom: 50px;
  width: 100%;
  max-width: 100%;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--dark-golden-base);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: var(--too-dark-navy);
  font-weight: 900;
}

.section-desc {
  font-size: 1.16rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 100%;
  width: 100%;
  line-height: 1.82;
  text-align: left;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

/* ==========================================================================
   SECTION 2: VISION & MISSION (SYMMETRICAL TILES + AUTO-DISAPPEARING HOVER EMPHASIZE GLOSSY POPUP!)
   ========================================================================== */
#vision-mission {
  position: relative;
  z-index: 50;
  overflow: visible !important;
}

#vision-mission:hover {
  z-index: 5000;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3.5rem;
  position: relative;
  z-index: 100;
  overflow: visible !important;
}

/* Symmetrical Borderless Cards with Sophisticated Elevation Shadows */
.vm-card {
  background: #FFFFFF;
  border: none;
  border-radius: 28px;
  padding: 3.4rem;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  z-index: 1;
  overflow: visible !important;
}

.vm-card:hover {
  box-shadow: var(--shadow-card-hover);
  z-index: 99999 !important;
}

.vm-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  border: none;
}

.vm-card-icon {
  width: 60px;
  height: 60px;
  background: #FFFDF9;
  border: none;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(156, 107, 16, 0.12);
}

.vm-card h3 {
  font-size: 2.1rem;
  color: var(--too-dark-navy);
}

.vm-card p {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.82;
  border: none;
  padding: 0;
  margin-bottom: 24px;
  text-align: justify;
  text-justify: inter-word;
}

.vm-hover-prompt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-golden-base);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: auto;
}

.vm-hover-prompt span {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.vm-card:hover .vm-hover-prompt span {
  transform: translateX(6px);
}

.vm-hover-popup {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  background: var(--bg-popup-glossy);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 2px solid var(--dark-golden-base);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-popup);
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-height: 85vh;
  overflow-y: auto;
}

.vm-card:hover .vm-hover-popup {
  opacity: 1;
  visibility: visible;
  transform: scale(1.035) translateY(-8px);
  pointer-events: auto;
}

.vm-popup-title {
  font-size: 1.7rem;
  color: var(--too-dark-navy);
  font-weight: 900;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  padding-bottom: 8px;
}

.vm-popup-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.vm-badge-tag {
  background: #FFFFFF;
  border: none;
  color: var(--too-dark-navy);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(2, 8, 23, 0.08);
}

.vm-list {
  margin-top: 10px;
}

.vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--too-dark-navy);
  font-weight: 600;
  background: #FFFFFF;
  padding: 14px 18px;
  border-radius: 16px;
  border: none;
  margin-bottom: 14px;
  line-height: 1.58;
  box-shadow: 0 3px 12px rgba(2, 8, 23, 0.04);
  text-align: justify;
  text-justify: inter-word;
}

.vm-list li:last-child {
  margin-bottom: 0;
}

.vm-bullet {
  color: var(--dark-golden-base);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ==========================================================================
   RICH PROFESSIONAL ICON CARDS GRID (BORDERLESS HIGH-GLOSS ARCHITECTURE)
   ========================================================================== */
.rich-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.rich-icon-card {
  background: #FFFFFF;
  border: none;
  border-radius: 26px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.rich-icon-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF6 100%);
}

.rich-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.rich-glyph-wrap {
  width: 64px;
  height: 64px;
  background: #FFFDF9;
  border: none;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(156, 107, 16, 0.1);
  transition: transform 0.3s ease;
}

.rich-icon-card:hover .rich-glyph-wrap {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 6px 20px rgba(156, 107, 16, 0.22);
}

.rich-card-title {
  font-family: var(--font-primary);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--too-dark-navy);
  line-height: 1.28;
}

.rich-card-summary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
}

.btn-view-details {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  background: #FFFDF9;
  border: none;
  border-radius: 16px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--too-dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 3px 10px rgba(2, 8, 23, 0.05);
  transition: all 0.3s ease;
}

.rich-icon-card:hover .btn-view-details {
  background: var(--too-dark-navy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.22);
}

.btn-view-details span {
  transition: transform 0.3s ease;
}

.rich-icon-card:hover .btn-view-details span {
  transform: translateX(4px);
  color: var(--dark-golden-light);
}

/* PROPRIETARY UTILITY CARD & DIRECT ACCESS LAUNCH BUTTON STYLES */
.app-utility-card {
  border: 2px solid rgba(156, 107, 16, 0.3) !important;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF7 100%) !important;
  position: relative;
  box-shadow: 0 16px 42px rgba(156, 107, 16, 0.12) !important;
}
.app-utility-card:hover {
  border-color: var(--dark-golden-base) !important;
  box-shadow: 0 24px 60px rgba(156, 107, 16, 0.25) !important;
}
.app-card-badge {
  display: inline-block;
  background: rgba(156, 107, 16, 0.14);
  color: var(--dark-golden-deep);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.btn-launch-utility {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 22px;
  background: var(--too-dark-navy);
  border: none;
  border-radius: 16px;
  font-family: var(--font-primary);
  font-size: 0.96rem;
  font-weight: 900;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 22px rgba(2, 8, 23, 0.25);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-launch-utility span {
  transition: transform 0.3s ease;
  color: var(--dark-golden-light);
}
.app-utility-card:hover .btn-launch-utility {
  background: linear-gradient(135deg, #D4AF37 0%, #9C6B10 100%);
  color: var(--too-dark-navy);
  box-shadow: 0 10px 28px rgba(156, 107, 16, 0.4);
}
.app-utility-card:hover .btn-launch-utility span {
  transform: translateX(6px);
  color: var(--too-dark-navy);
}

/* ==========================================================================
   UNIFORM ULTRA-GLOSSY PRACTICE CHAMBER MODAL (APPLIED TO ALL POPUPS!)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-popup-glossy);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  width: 100%;
  max-width: 960px;
  max-height: 86vh;
  border: 2px solid var(--dark-golden-base);
  border-radius: 34px;
  box-shadow: var(--shadow-popup);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 32px 45px;
  background: rgba(255, 255, 255, 0.65);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-icon-badge {
  width: 60px;
  height: 60px;
  background: var(--too-dark-navy);
  color: var(--dark-golden-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 6px 20px rgba(2, 8, 23, 0.28);
  border: none;
}

.modal-title {
  font-size: 2rem;
  color: var(--too-dark-navy);
  font-weight: 900;
  line-height: 1.2;
}

.modal-close-btn {
  background: #FFFFFF;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--too-dark-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 8, 23, 0.08);
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--too-dark-navy);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(2, 8, 23, 0.3);
  transform: rotate(90deg);
}

.modal-body-scroll {
  padding: 45px;
  overflow-y: auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.86;
}

/* STRICT INTER-WORD JUSTIFY FOR PERFECT RIGHT EDGES IN EVERY POPUP! */
.modal-body-scroll p {
  margin-bottom: 22px;
  text-align: justify;
  text-justify: inter-word;
}

.modal-body-scroll p:last-child {
  margin-bottom: 0;
}

.modal-body-scroll h4 {
  font-size: 1.55rem;
  color: var(--too-dark-navy);
  margin: 32px 0 16px;
  border: none;
  padding: 0;
  font-weight: 900;
}

.modal-body-scroll ul {
  list-style: none;
  margin: 20px 0;
}

.modal-body-scroll li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--too-dark-navy);
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.75;
}

.modal-body-scroll li::before {
  content: '✦';
  color: var(--dark-golden-base);
  font-weight: bold;
  font-size: 1.35rem;
  line-height: 1.2;
}

/* ==========================================================================
   SECTION 3: WHO WE ARE ! (EXECUTIVE PORTRAIT SHOWCASE & STRICT TITLE HIERARCHY)
   ========================================================================== */
.founder-grid {
  display: block;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 34px;
  padding: 4rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}

.founder-profile-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 3.8rem;
  align-items: flex-start;
}

.founder-portrait-wrap {
  position: relative;
}

.founder-portrait {
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 440px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #FFFDF9;
}

.founder-portrait:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 55px rgba(2, 8, 23, 0.2), 0 0 28px rgba(156, 107, 16, 0.2);
}

/* Small Sub-Label for "About the Founder" above "CA Mitt S. Patel" */
.founder-sub-label {
  font-size: 0.94rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 6px;
  display: block;
}

.founder-name-title {
  font-size: 2.8rem;
  color: var(--too-dark-navy);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.founder-designation-gold {
  color: var(--dark-golden-base);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
  display: block;
  line-height: 1.4;
}

.founder-bio p {
  font-size: 1.14rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 38px;
  padding-top: 32px;
  border: none;
}

.milestone-box {
  background: #FFFDF9;
  padding: 28px 24px;
  border-radius: 22px;
  border: none;
  text-align: center;
  box-shadow: 0 6px 22px rgba(156, 107, 16, 0.08);
  transition: all 0.3s ease;
}

.milestone-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  background: #FFFFFF;
}

.milestone-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark-golden-base);
  font-family: var(--font-primary);
  margin-bottom: 6px;
}

.milestone-txt {
  font-size: 1rem;
  font-weight: 800;
  color: var(--too-dark-navy);
}

/* ==========================================================================
   SECTION 4: INDUSTRIES WE SERVE
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.industry-badge {
  background: #FFFFFF;
  border: none;
  border-radius: 22px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.industry-badge:hover {
  background: var(--too-dark-navy);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.ind-icon {
  font-size: 2.5rem;
}

.ind-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--too-dark-navy);
  transition: color 0.3s ease;
  line-height: 1.35;
}

.industry-badge:hover .ind-name {
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION 9: ADDRESS AND CONTACT DETAILS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-card {
  background: #FFFFFF;
  border: none;
  border-radius: 30px;
  padding: 3.6rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border: none;
}

.c-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--too-dark-navy);
  color: var(--dark-golden-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.22);
}

.c-text h4 {
  font-size: 1.26rem;
  color: var(--too-dark-navy);
  margin-bottom: 6px;
}

.c-text p, .c-text a {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.c-text a:hover {
  color: var(--dark-golden-base);
  text-decoration: underline;
}

.map-box {
  border-radius: 30px;
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-card);
  min-height: 540px;
  background: #FFFFFF;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
}

/* ==========================================================================
   PRESTIGE FOOTER & MANDATORY ICAI NON-SOLICITATION DISCLAIMER
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border: none;
  padding: 85px 4rem 45px 4rem;
  box-shadow: 0 -10px 40px rgba(2, 8, 23, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 55px;
}

.footer-col h4 {
  font-size: 1.22rem;
  color: var(--too-dark-navy);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: none;
  padding: 0;
}

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

.footer-links li a {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links li a:hover {
  color: var(--dark-golden-base);
}

.footer-bottom {
  border-top: 1px solid rgba(2, 8, 23, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.icai-disclaimer-box {
  font-size: 0.84rem;
  max-width: 680px;
  text-align: right;
  color: var(--text-light);
  line-height: 1.55;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1380px) {
  .nav-links {
    margin-right: 0.5rem;
    gap: 0.95rem;
  }
}

@media (max-width: 1280px) {
  .master-layout {
    padding-right: 0;
  }
  
  .professional-blurry-panel {
    display: none;
  }
  
  .hero-about-viewport, .section, .footer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  
  .vm-grid, .contact-grid, .founder-profile-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-portrait {
    max-width: 380px;
    margin: 0 auto;
    display: block;
  }
}

.mobile-apps-portal-banner {
  display: none;
}

@media (max-width: 900px) {
  .nav-links, .btn-navy {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }

  .mobile-apps-portal-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #1E293B 0%, #172554 100%) !important;
    color: #FFFFFF !important;
    border: 2px solid var(--dark-golden-base) !important;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 700;
    padding: 14px 18px !important;
    border-radius: 20px !important;
    text-align: center !important;
    text-decoration: none;
    margin: 0 auto 26px auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.28), 0 0 16px rgba(156, 107, 16, 0.3) !important;
    transition: transform 0.2s ease, filter 0.2s ease !important;
  }
  .mobile-apps-portal-banner:active {
    transform: scale(0.98) !important;
  }

  .nav-links.mobile-active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(2, 8, 23, 0.98) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    padding: 20px 16px !important;
    gap: 10px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    z-index: 10000 !important;
    border-radius: 0 0 24px 24px !important;
  }

  .nav-links.mobile-active .nav-link {
    color: #FFFFFF !important;
    font-size: 0.95rem !important;
    padding: 11px 16px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05);
    display: block !important;
    transition: all 0.2s ease;
    font-weight: 700;
  }

  .nav-links.mobile-active .nav-link:hover, .nav-links.mobile-active .nav-link:active {
    background: var(--dark-golden-base) !important;
    color: var(--too-dark-navy) !important;
    transform: translateX(6px);
  }
  
  .hero-about-viewport, .section, #who-we-are {
    padding: 95px 1.5rem 70px 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title-line1 {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
  }
  .hero-title-line2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

/* ==========================================================================
   DEDICATED MOBILE VIEW FRIENDLY ARCHITECTURE (SMARTPHONES & TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
  /* Ultra-clean mobile resolution stability & header compactness */
  .navbar {
    height: 74px !important;
    padding: 0 1.2rem !important;
  }

  .nav-ca-logo-img {
    height: 38px !important;
  }
  .nav-firm-logo-img {
    height: 35px !important;
  }
  .brand-badge-dual {
    gap: 10px !important;
  }

  /* Enable steady navbar branding while allowing all headings and interactive cards to fade in smoothly! */
  .brand-badge-dual,
  .nav-link {
    animation: none !important;
    transform: none !important;
  }

  .hero-about-viewport, .section, #who-we-are {
    padding: 70px 1.15rem 45px 1.15rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-apps-portal-banner {
    padding: 12px 14px !important;
    border-radius: 16px !important;
    margin: 0 auto 20px auto !important;
    text-align: center !important;
  }

  .about-hero-title, .section-title, .vm-title {
    font-size: 1.22rem !important;
    line-height: 1.28 !important;
  }

  .about-text-body p, .section-desc, .founder-bio p, .rich-card-summary, .c-text p {
    font-size: 0.83rem !important;
    line-height: 1.54 !important;
    text-align: left !important;
  }

  .rich-card-title, .vm-card h3 {
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
  }

  .milestone-num {
    font-size: 1.85rem !important;
  }
  .milestone-label {
    font-size: 0.78rem !important;
  }

  /* Transform ALL desktop multi-column grids into clean smartphone single-column card layouts */
  .milestones-grid,
  .vm-grid,
  .rich-icons-grid,
  .industries-grid,
  .contact-grid,
  .founder-profile-wrapper {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Optimize touch target cards & containers for one-handed thumb interaction with active hovering & floating! */
  .milestone-box, .vm-card, .rich-icon-card, .industry-badge, .c-item {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .vm-card:active, .rich-icon-card:active, .industry-badge:active {
    transform: translateY(-5px) scale(0.99) !important;
    box-shadow: 0 14px 30px rgba(156, 107, 16, 0.22) !important;
    border-color: var(--dark-golden-base) !important;
  }

  .vm-card {
    padding: 1.5rem 1.15rem !important;
    min-height: auto !important;
  }

  .rich-icon-card {
    padding: 18px 14px !important;
  }

  /* On mobile screens, display industry badges as horizontal rows for effortless scanning! */
  .industry-badge {
    flex-direction: row !important;
    padding: 1.1rem 1.0rem !important;
    gap: 12px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    font-size: 0.92rem !important;
  }

  .ind-icon {
    font-size: 1.5rem !important;
  }

  /* Who We Are & Founder Mobile Optimization */
  .founder-grid {
    padding: 1.5rem 1.1rem !important;
    border-radius: 20px !important;
    width: 100% !important;
  }

  .founder-portrait-wrap {
    margin: 0 auto 10px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .founder-portrait {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    background: transparent !important;
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.15), 0 0 12px rgba(156, 107, 16, 0.15) !important;
  }

  .founder-name-title {
    font-size: 1.28rem !important;
  }

  .founder-designation-gold {
    font-size: 0.86rem !important;
  }

  /* Dedicated Mobile Eye-Comfort Background Tinting (A bit darker than pure white while preserving gold & navy harmony!) */
  body, html {
    background-color: #F4F2EE !important;
  }
  .hero-about-viewport, #who-we-are, #services-suite, #ai-services, #applications-suite {
    background: linear-gradient(180deg, #F5F3ED 0%, #EFEBE3 100%) !important;
  }
  .section.section-alt {
    background: #E8E3DA !important;
  }
  .milestone-box, .vm-card, .rich-icon-card, .industry-badge, .contact-card, .founder-grid {
    background: #FCFAF5 !important;
    border: 1px solid rgba(156, 107, 16, 0.2) !important;
    box-shadow: 0 6px 20px rgba(2, 8, 23, 0.08), 0 2px 5px rgba(156, 107, 16, 0.1) !important;
  }

  /* Complete Address & Contact Details Mobile Containment (Zero Half-Cut Cropping!) */
  .contact-card {
    padding: 1.5rem 1.1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    gap: 18px !important;
  }
  .c-item {
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    align-items: flex-start !important;
    font-size: 0.84rem !important;
  }
  .c-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    font-size: 0.84rem !important;
  }
  .c-text p, .c-text a, .c-text h4, .c-text strong {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    font-size: 0.84rem !important;
  }

  /* Map and Footer Mobile Polishing */
  .map-box, .map-iframe {
    height: 270px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer {
    padding: 40px 1.15rem 30px 1.15rem !important;
    width: 100% !important;
    background: #EDE8DF !important;
    border-top: 1px solid rgba(156, 107, 16, 0.22) !important;
    font-size: 0.82rem !important;
  }

  .footer-col h4 {
    font-size: 0.94rem !important;
    margin-bottom: 12px !important;
  }

  .footer-links li a, .footer p, .footer span {
    font-size: 0.83rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 14px !important;
  }

  .icai-disclaimer-box {
    text-align: left !important;
    font-size: 0.78rem !important;
  }

  /* Mobile Practice Detail Modal Chambers (Bottom Sheet Style) */
  .modal-overlay {
    padding: 8px !important;
    align-items: flex-end !important;
  }

  .modal-box {
    max-height: 85vh !important;
    padding: 22px 16px !important;
    border-radius: 22px 22px 10px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .modal-header h3 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 0.8rem !important;
  }
  .nav-ca-logo-img {
    height: 31px !important;
  }
  .nav-firm-logo-img {
    height: 28px !important;
  }
  .hero-title-line1 {
    font-size: 1.85rem !important;
  }
  .hero-title-line2 {
    font-size: 1.05rem !important;
  }
  .milestone-num {
    font-size: 1.7rem !important;
  }
}

/* ==========================================================================
   DYNAMIC HARDWARE-ACCELERATED FADE-IN & SCROLL REVEAL ENGINE
   ========================================================================== */
.reveal-emphasize {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-emphasize.reveal-emphasize-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: gentleWebFloat 5.5s ease-in-out infinite alternate 0.8s !important;
}

@keyframes gentleWebFloat {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -6px, 0); }
  100% { transform: translate3d(0, 1px, 0); }
}

@keyframes steadyFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes steadyFloat2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

@keyframes steadyFloat3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes steadyFloat4 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SECTION 10: HOMEPAGE READY-TO-USE APPLICATIONS SHOWCASE (UNIFIED SHOWCASE!)
   ========================================================================== */
#applications-showcase {
  background: var(--bg-main);
}

.apps-unified-showcase-box {
  background: #FFFFFF;
  border: 2px solid rgba(156, 107, 16, 0.3);
  border-radius: 36px;
  padding: 55px 50px;
  box-shadow: 0 20px 60px rgba(2, 8, 23, 0.07);
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: steadyFloat 7s ease-in-out infinite !important;
  position: relative;
  overflow: hidden;
}

.apps-unified-showcase-box:hover, .apps-unified-showcase-box:active {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: var(--dark-golden-base) !important;
  box-shadow: 0 30px 85px rgba(156, 107, 16, 0.28) !important;
  background: #FFFDF9 !important;
}

.apps-unified-badge {
  display: inline-block;
  background: var(--gold-gradient);
  color: var(--too-dark-navy);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(156, 107, 16, 0.25);
}

.apps-unified-title {
  font-family: var(--font-primary);
  font-size: clamp(1.95rem, 4.8vw, 3.1rem);
  font-weight: 900;
  color: var(--too-dark-navy);
  line-height: 1.24;
  margin-bottom: 22px;
}

.apps-title-link {
  color: var(--too-dark-navy);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.apps-title-link:hover, .apps-title-link:active {
  color: #9C6B10;
  transform: scale(1.02);
  text-shadow: 0 4px 18px rgba(156, 107, 16, 0.22);
}

.title-arrow {
  color: var(--dark-golden-base);
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.apps-title-link:hover .title-arrow, .apps-title-link:active .title-arrow {
  transform: translateX(8px);
  color: #E5A823;
}

.apps-unified-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 920px;
  margin: 0 auto 32px auto;
}

.apps-pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 35px;
}

.app-feature-pill {
  background: rgba(156, 107, 16, 0.09);
  border: 1px solid rgba(156, 107, 16, 0.3);
  color: var(--too-dark-navy);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.apps-unified-showcase-box:hover .app-feature-pill, .apps-unified-showcase-box:active .app-feature-pill {
  background: #FFFFFF;
  border-color: var(--dark-golden-base);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(156, 107, 16, 0.22);
}

.btn-unified-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--too-dark-navy);
  color: #FFFFFF !important;
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(2, 8, 23, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-unified-launch:hover, .btn-unified-launch:active {
  background: var(--gold-gradient);
  color: var(--too-dark-navy) !important;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 45px rgba(156, 107, 16, 0.45);
}

@media(max-width: 768px) {
  .apps-unified-showcase-box {
    padding: 26px 16px !important;
    border-radius: 24px !important;
    animation: steadyFloat 6s ease-in-out infinite !important;
  }
  .apps-unified-showcase-box:active {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 45px rgba(156, 107, 16, 0.3) !important;
  }
  .apps-unified-title {
    font-size: 1.26rem !important;
    margin-bottom: 14px !important;
    line-height: 1.32 !important;
  }
  .apps-unified-desc {
    font-size: 0.83rem !important;
    line-height: 1.56 !important;
    margin-bottom: 22px !important;
  }
  .app-feature-pill {
    font-size: 0.78rem !important;
    padding: 7px 14px !important;
  }
  .btn-unified-launch {
    padding: 13px 20px !important;
    font-size: 0.88rem !important;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   FOOTER DIGITAL BUSINESS HUB BLINKING CONNECT BUTTON
   ========================================================================== */
.footer-blinking-connect {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #020817 0%, #1E293B 100%);
  border: 2px solid #D4AF37;
  border-radius: 50px;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
  animation: footerConnectBlink 1.8s infinite ease-in-out;
  transition: all 0.3s ease;
}
.footer-blinking-connect:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #D4AF37 0%, #9C6B10 100%);
  color: #020817 !important;
  border-color: #020817;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}
@keyframes footerConnectBlink {
  0%, 100% {
    border-color: #D4AF37;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
    opacity: 1;
  }
  50% {
    border-color: #FFFDF9;
    box-shadow: 0 8px 38px rgba(255, 235, 150, 0.85);
    opacity: 0.82;
  }
}
@media(max-width: 768px) {
  .footer-blinking-connect {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    font-size: 0.92rem;
  }
}
