:root {
  /* ==========================================================================
     COLOR PALETTE: REFINED EXECUTIVE CORPORATE (LOGO CRIMSON & OBSIDIAN SLATE)
     Ultra-clean, modern, minimalist fintech & CA advisory design:
     - Pure White & Clean Platinum Slate Canvas (#FFFFFF, #F8FAFC, #F1F5F9)
     - Deep Executive Obsidian Charcoal (#0F172A, #1E293B, #0B0F19)
     - Logo Crimson Accent (#991B1B, #B91C1C, #C2410C)
     - Crisp Slate Grey (#475569, #64748B, #94A3B8, #E2E8F0)
     ========================================================================== */

  /* Surface & Backgrounds (Clean, Bright, Crisp) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle-blue: #f8fafc;
  --bg-subtle-mint: #fef2f2;
  --bg-subtle-gold: #f8fafc;

  /* Executive Dark Typography & Structure */
  --brand-navy: #0f172a;
  --brand-navy-light: #1e293b;
  --brand-navy-dark: #090d16;
  --brand-blue: #0f172a;
  --brand-blue-accent: #991b1b;
  --brand-blue-soft: #f8fafc;
  --brand-cyan: #b91c1c;

  /* Authentic Logo Crimson (Sharp, Disciplined Accent) */
  --brand-mint: #991b1b;
  --brand-mint-accent: #b91c1c;
  --brand-mint-glow: rgba(153, 27, 27, 0.18);
  --brand-mint-soft: #fef2f2;

  /* Harmonizing Accents */
  --brand-gold: #991b1b;
  --brand-gold-accent: #b91c1c;
  --brand-gold-soft: #fef2f2;
  --brand-emerald: #991b1b;
  --brand-emerald-soft: #fef2f2;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders & Dividers (Clean & Subtle) */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-mint: #fee2e2;
  --border-focus: #991b1b;

  /* Utility Aliases */
  --navy-900: #0f172a;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --gold-600: #991b1b;
  --success: #16a34a;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Premium Subtle Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.10), 0 8px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.03);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius (Modern Subtle Rounded) */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Dimensions */
  --container-max: 1440px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

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

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  display: block;
  width: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  padding-right: clamp(1rem, 2.5vw, 2rem);
}

/* Top Notification / Utility Bar */
.top-bar {
  background-color: var(--brand-navy-dark);
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-item a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.top-bar-item a:hover {
  color: #b91c1c;
  text-decoration: none;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-mint);
  flex-shrink: 0;
}

.top-badge {
  background: rgba(153, 27, 27, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(153, 27, 27, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   MAIN NAVIGATION HEADER (HIGH-TECH BLUE & MINT GLASS DESIGN)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 99;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(11, 25, 44, 0.03);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(11, 25, 44, 0.08);
  border-bottom-color: rgba(185, 28, 28, 0.25);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.85rem;
  gap: 1.25rem;
  width: 100%;
}

/* Brand Logo Container - GUARANTEED NEVER TO SHRINK OR DISAPPEAR */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0 !important;
  min-width: max-content;
}

.logo-img-wrapper {
  height: 44px;
  min-height: 44px;
  width: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 2px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  flex-shrink: 0 !important;
  transition: all var(--transition-normal);
}

.brand-logo:hover .logo-img-wrapper {
  border-color: var(--brand-mint);
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.15);
  transform: translateY(-1px);
}

.logo-img {
  height: 42px;
  width: 42px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-title span {
  color: var(--brand-mint);
  font-weight: 800;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-blue-accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 3px;
  white-space: nowrap;
}

/* Nav Menu - BALANCED & CENTERED ROW */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-navy);
  background-color: var(--bg-subtle-mint);
}

.nav-link.active {
  color: var(--brand-navy);
  background-color: var(--bg-subtle-mint);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  background: var(--brand-mint);
  border-radius: 9999px;
}

.nav-link svg.chevron {
  width: 12px;
  height: 12px;
  color: var(--brand-mint);
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu - Neo-Mint Glass Card */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  min-width: 280px;
  padding: 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(185, 28, 28, 0.25);
  box-shadow: 0 16px 40px rgba(11, 25, 44, 0.12), 0 0 0 1px rgba(185, 28, 28, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 110;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.dropdown-item a:hover {
  background-color: var(--bg-subtle-mint);
  color: var(--brand-navy);
  transform: translateX(4px);
}

.dropdown-item a svg {
  width: 16px;
  height: 16px;
  color: var(--brand-mint);
  flex-shrink: 0;
}

/* Header Action */
.header-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0 !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: #991b1b;
  color: #ffffff;
  border: 1px solid #991b1b;
  box-shadow: 0 2px 6px rgba(153, 27, 27, 0.25);
  font-weight: 600;
}

.btn-primary:hover {
  background: #7f1d1d;
  border-color: #7f1d1d;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(153, 27, 27, 0.35);
  transform: translateY(-1px);
}

.btn-accent {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.btn-accent:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-primary);
  font-weight: 600;
}

.btn-outline:hover {
  border-color: var(--brand-mint);
  color: var(--brand-mint);
  background: var(--bg-subtle-mint);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--brand-navy);
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-subtle-mint);
  border-color: var(--brand-mint);
  color: var(--brand-mint);
}

/* ==========================================================================
   HERO SECTION (BLUE & MINT MODERN FINTECH DESIGN)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(153, 27, 27, 0.04) 0%, rgba(248, 250, 252, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-mint);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-mint);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--brand-navy);
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  color: var(--brand-mint);
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.hero-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-emerald);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Quick Inquiry Card */
.hero-card-wrapper {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 10;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.4), rgba(30, 64, 175, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-header-badge .pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
}

.card-header-badge .hours {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.hero-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quick-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  font-size: 0.9375rem;
  background-color: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-mint);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.22);
}

/* ==========================================================================
   STATS & CREDENTIALS STRIP
   ========================================================================== */
.stats-section {
  background: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-soft);
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.gold {
  background: var(--bg-subtle-gold);
  color: var(--brand-gold);
}

.stat-icon.emerald {
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.stat-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION (TABBED & SEARCHABLE)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.services-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--brand-blue-accent);
  color: var(--brand-blue-accent);
}

.tab-btn.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: #ffffff;
}

.search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-soft);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue-accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-gold);
  background: var(--bg-subtle-gold);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-checklist {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.service-checklist li svg {
  width: 14px;
  height: 14px;
  color: var(--brand-emerald);
  flex-shrink: 0;
}

.service-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--brand-navy);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   FINANCIAL CALCULATORS SECTION
   ========================================================================== */
.calculators-section {
  padding: 5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.calc-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-nav-tabs {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.calc-tab {
  flex: 1;
  padding: 1.15rem 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calc-tab svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.calc-tab:hover {
  color: var(--brand-blue-accent);
  background: var(--bg-subtle-blue);
}

.calc-tab.active {
  color: var(--brand-navy);
  border-bottom-color: var(--brand-blue-accent);
  background: var(--bg-subtle-blue);
}

.calc-tab.active svg {
  color: var(--brand-blue-accent);
}

.calc-panel {
  display: none;
  padding: 2.5rem;
}

.calc-panel.active {
  display: block;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.slider-val-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-navy);
  min-width: 110px;
  text-align: right;
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-mint);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
  border: 2px solid #ffffff;
}

/* Calculator Results Box */
.calc-results-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 6rem;
}

.result-main {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.result-main-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.result-main-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0.25rem 0;
}

.result-main-subtext {
  font-size: 0.8125rem;
  color: var(--brand-emerald);
  font-weight: 600;
}

.result-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

.result-row .label {
  color: var(--text-secondary);
}

.result-row .val {
  font-weight: 700;
  color: var(--brand-navy);
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

/* Regime Comparison Table in Tax Calculator */
.regime-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.regime-box {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.regime-box.recommended {
  border-color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
}

.regime-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.regime-box.recommended .regime-title {
  color: var(--brand-emerald);
}

.regime-tax {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
}

/* ==========================================================================
   KNOWLEDGE BASE & RATES DIRECTORY
   ========================================================================== */
.rates-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.rates-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.rates-nav {
  display: flex;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.rate-nav-btn {
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.rate-nav-btn.active {
  background: #ffffff;
  color: var(--brand-navy);
  border-bottom-color: var(--brand-blue-accent);
}

.rates-content {
  padding: 2.25rem;
}

.rate-pane {
  display: none;
}

.rate-pane.active {
  display: block;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.styled-table th {
  background: var(--bg-tertiary);
  color: var(--brand-navy);
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.styled-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.styled-table tbody tr:hover {
  background-color: var(--bg-subtle-blue);
}

.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-tag.blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.badge-tag.gold {
  background: var(--brand-gold-soft);
  color: var(--brand-gold);
}

.badge-tag.emerald {
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
}

/* ==========================================================================
   IMPORTANT GOVERNMENT PORTALS & ACTS HUB
   ========================================================================== */
.portals-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.portal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  transition: all var(--transition-fast);
}

.portal-card:hover {
  background: #ffffff;
  border-color: var(--brand-blue-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portal-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portal-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.2rem;
}

.portal-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   REGULATORY UPDATES & NEWS
   ========================================================================== */
.news-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.news-date {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-gold);
}

.news-category {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.news-snippet {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   ABOUT US & FOUNDER PROFILE
   ========================================================================== */
.about-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.founder-card {
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
}

.founder-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  font-weight: 800;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(11, 31, 61, 0.2);
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.25rem;
}

.founder-qual {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}

.founder-badge-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  text-align: left;
}

.founder-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: #ffffff;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.founder-badge-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue-accent);
  flex-shrink: 0;
}

.about-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box h4 svg {
  color: var(--brand-emerald);
  width: 18px;
  height: 18px;
}

.highlight-box p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.info-content p,
.info-content a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.phone-list a:hover {
  color: var(--brand-blue-accent);
  text-decoration: underline;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.content-section {
  padding: 3.5rem 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

/* Contact Page Specific Layout (Form on Left, Sidebar on Right) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 240px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Full Width Map Embed Styles */
.full-width-map-section {
  width: 100%;
  margin-top: 3.5rem;
}

.map-embed-wrapper {
  width: 100%;
  height: 480px;
  min-height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  background: #f8fafc;
}

.map-embed-wrapper iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 480px !important;
  border: 0 !important;
  display: block;
}

@media (max-width: 768px) {
  .full-width-map-section {
    margin-top: 2rem;
  }
  .map-embed-wrapper {
    height: 350px;
    min-height: 350px;
  }
  .map-embed-wrapper iframe {
    height: 350px !important;
    min-height: 350px !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   FOOTER (MIDNIGHT BLUE & GLOWING MINT)
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--brand-mint);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b91c1c 50%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo-symbol {
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-title {
  color: #ffffff;
}

.footer-brand .logo-subtitle {
  color: #94a3b8;
}

.footer-about {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--brand-mint);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(185, 28, 28, 0.6);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #b91c1c;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-mint);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #b91c1c;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--brand-emerald);
}

@keyframes toastIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-primary);
  z-index: 201;
  padding: 2rem 1.5rem;
  box-shadow: -10px 0 30px rgba(25, 30, 38, 0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-color);
}

.mobile-nav-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--bg-tertiary);
  color: var(--brand-navy);
  border-left: 3px solid var(--brand-gold-accent);
}

/* ==========================================================================
   MULTI-PAGE LAYOUT COMPONENTS
   ========================================================================== */

/* Page Hero Banner for Subpages */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.page-hero-inner {
  max-width: 800px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--brand-gold-accent);
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
  color: var(--brand-gold-accent);
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Subpage Content Section */
.page-section {
  padding: 4.5rem 0;
  background: var(--bg-primary);
}

.page-section.bg-secondary {
  background: var(--bg-secondary);
}

/* Service Detail & Updates Layout (Smart Bidirectional Grid) */
.service-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.75rem;
  align-items: flex-start;
}

/* When main content is first in DOM (Updates, GST, Income Tax, NRI), main content gets wide 1fr and sidebar gets 340px right */
.service-layout:has(.service-detail-body:first-child),
.service-layout:has(.service-main-content:first-child) {
  grid-template-columns: 1fr 340px;
}

.service-main-content,
.service-detail-body {
  min-width: 0;
  width: 100%;
}

.service-sidebar {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-sidebar:not(:has(.sidebar-widget)) {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Sidebar Widgets (Used in Updates, GST, Income Tax, Contact) */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sidebar-widget:hover {
  border-color: #cbd5e1;
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.2px;
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.sidebar-nav li a:hover {
  background: var(--bg-subtle-mint);
  color: var(--brand-mint);
  border-color: var(--border-mint);
  transform: translateX(4px);
  text-decoration: none;
}

/* Checklist Elements */
ul.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

ul.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

ul.checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-mint);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--bg-subtle-blue);
  color: var(--brand-blue-accent);
}

.sidebar-link.active {
  font-weight: 700;
  border-left: 3px solid var(--brand-blue-accent);
}

.sidebar-cta-box {
  margin-top: 1.75rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.sidebar-cta-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sidebar-cta-box p {
  font-size: 0.8125rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

/* Service Detail Content */
.service-detail-body h2,
.service-main-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.service-detail-body h3,
.service-main-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 2rem 0 0.75rem;
}

.service-detail-body p,
.service-main-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Quick Meta Grid for Services */
.service-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.meta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-align: center;
}

.meta-box-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.meta-box-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
}

/* Step by Step Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.process-step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.process-step-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Content & Editorial Imagery */
.content-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin: 2rem 0;
  background: #ffffff;
  position: relative;
}

.content-image-card img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.content-image-card:hover img {
  transform: scale(1.015);
}

.content-image-card .image-caption {
  padding: 0.85rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.content-image-card .image-caption svg {
  width: 15px;
  height: 15px;
  color: var(--brand-mint);
  flex-shrink: 0;
}

.service-card-icon-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  padding: 8px;
  background: var(--bg-subtle-mint);
  border: 1px solid var(--border-mint);
  margin-bottom: 1.25rem;
  display: block;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.15);
}

.side-image-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.side-image-banner img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Checklist cards in subpages */
.checklist-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.checklist-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.85rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.checklist-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Banner Slider on Home Page - CLEAN AUTHENTIC BANNERS (NO OVERLAY TEXT) */
.home-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 19 / 6;
  min-height: 180px;
  max-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-slide.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(11, 25, 44, 0.55);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--brand-mint);
  width: 22px;
  border-radius: var(--radius-full);
}




/* ==========================================================================
   ENHANCED LAYOUT COMPONENTS FOR GRIDS & FORMS
   ========================================================================== */

/* Categories Overview Grid */
.categories-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Live Tools Grid */
.live-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Acts Directory Grid */
.acts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Contact Form Grid */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Tax Spotlight Grid */
.tax-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Contact Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 28, 28, 0.35);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Contact Hub 2-Column Grid */
.contact-hub-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

/* Map Embed Wrapper */
.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/* ==========================================================================
   COMPREHENSIVE MASTER RESPONSIVE MEDIA QUERIES
   Tested across 320px, 360px, 412px, 768px, 1024px, 1280px viewports
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Breakpoint: <= 1100px (Desktop Navigation Collapse to Mobile Drawer)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .top-bar {
    display: none !important;
  }

  .nav-menu {
    display: none !important;
  }

  .header-action .btn-primary {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }
}

/* --------------------------------------------------------------------------
   2. Breakpoint: <= 1024px (Tablets & Medium Screens)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-sidebar {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .categories-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .acts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-hub-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   3. Breakpoint: <= 768px (Mobile Devices & Small Tablets)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Container padding reduction for mobile */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Body lock when mobile menu is active */
  body.mobile-nav-open,
  html.mobile-nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Navbar compact sizing - ZERO HORIZONTAL OVERFLOW */
  .navbar {
    height: 4.25rem;
    gap: 0.65rem;
  }

  .brand-logo {
    gap: 0.6rem;
    min-width: 0;
  }

  .logo-img-wrapper {
    height: 40px;
    min-height: 40px;
    min-width: 46px;
    padding: 2px 6px;
    border-radius: 10px;
  }

  .logo-img {
    height: 32px;
  }

  .logo-title {
    font-size: 1.15rem;
  }

  /* Hide long subtitle on mobile to prevent header expanding past viewport */
  .logo-subtitle {
    display: none !important;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Mobile Drawer Touch Improvements */
  .mobile-nav-drawer {
    width: 300px;
    max-width: 85vw;
    padding: 1.5rem 1.15rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  /* Hero Section */
  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .home-slider-container {
    height: 180px;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
  }



  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
  }

  .hero-feature-item {
    font-size: 0.875rem;
  }

  .hero-card {
    padding: 1.5rem 1.15rem;
  }

  .quick-form .form-group {
    margin-bottom: 0.85rem;
  }

  /* Subpage Hero Banners */
  .page-hero {
    padding: 2.25rem 0 1.85rem;
  }

  .page-hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
    word-break: break-word;
  }

  .page-hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .page-section {
    padding: 2.75rem 0;
  }

  /* Subpage Details Content */
  .service-detail-body h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .service-detail-body h3 {
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .service-detail-body p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .service-detail-card {
    padding: 1.5rem 1.15rem;
  }

  /* Single Column Grids on Mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .service-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .checklist-card {
    padding: 1.25rem 1rem;
  }

  .checklist-item {
    font-size: 0.875rem;
  }

  /* Contact Form & Controls */
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .contact-form-grid .form-group {
    grid-column: 1 / -1 !important;
  }

  .contact-form-grid button {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Services Directory Filter Bar & Tabs */
  .services-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .services-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 0.95rem;
    font-size: 0.8125rem;
  }

  /* Calculators */
  .calc-container {
    border-radius: var(--radius-lg);
  }

  .calc-nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calc-tab {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .calc-panel {
    padding: 1.25rem;
  }

  /* Rates Tables & Tabs */
  .rates-wrapper {
    border-radius: var(--radius-lg);
  }

  .rates-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rate-nav-btn {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .rates-content {
    padding: 1.15rem 0.85rem;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .styled-table th,
  .styled-table td {
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
  }

  /* Responsive Images & Banners */
  .content-image-card {
    margin: 1.5rem 0;
  }

  .content-image-card img {
    max-height: 220px;
  }

  .map-embed-wrapper {
    height: 280px;
  }

  .side-image-banner img {
    height: 160px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   4. Breakpoint: <= 480px (Standard & Compact Mobile Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .logo-title {
    font-size: 1.05rem;
  }

  .logo-img-wrapper {
    height: 36px;
    min-height: 36px;
    min-width: 42px;
    padding: 2px 4px;
  }

  .logo-img {
    height: 28px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .page-hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat-card {
    padding: 1.15rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .portals-grid {
    grid-template-columns: 1fr;
  }

  .categories-overview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .live-tools-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .acts-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .home-slider-container {
    height: 160px;
  }



  .content-image-card img {
    max-height: 180px;
  }

  .content-image-card .image-caption {
    font-size: 0.75rem;
    padding: 0.65rem 0.85rem;
  }

  .mobile-nav-drawer {
    width: 280px;
    padding: 1.25rem 1rem;
  }

  .mobile-nav-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.9375rem;
  }
}

/* ==========================================================================
   WIDESCREEN & ULTRA-WIDE SCREEN EXPANSION (1400px, 1600px, 1920px+)
   Removes excessive blank side margins and utilizes full screen width harmoniously
   ========================================================================== */
@media (min-width: 1400px) {
  :root {
    --container-max: 1480px;
  }

  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4.5rem;
  }

  .hero-description {
    max-width: 680px;
  }

  .page-hero-inner {
    max-width: 960px;
  }

  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }

  .service-layout {
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
  }

  .services-grid {
    gap: 1.75rem;
  }

  .categories-overview-grid {
    gap: 1.5rem;
  }

  .features-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1680px) {
  :root {
    --container-max: 1620px;
  }

  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .hero-title {
    font-size: 3.35rem;
  }

  .hero-description {
    max-width: 760px;
    font-size: 1.2rem;
  }

  .page-hero-inner {
    max-width: 1100px;
  }

  .page-hero-title {
    font-size: 2.85rem;
  }

  .section-desc {
    max-width: 860px;
  }

  .about-grid {
    gap: 5rem;
  }
}