/* Global Theme Settings - Force Light Mode */
html, :root { color-scheme: light only; }

/* Prevent Text Breaking */
* {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

h1, h2, h3, h4, h5, h6, .nav-menu a, button, a {
  word-break: keep-all;
  white-space: normal;
}

:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  --color-bg-1: rgba(3, 79, 200, 0.08);
  --color-bg-2: rgba(245, 158, 11, 0.08);
  --color-bg-3: rgba(34, 197, 94, 0.08);
  --color-bg-4: rgba(239, 68, 68, 0.08);
  --color-bg-5: rgba(147, 51, 234, 0.08);
  --color-bg-6: rgba(249, 115, 22, 0.08);
  --color-bg-7: rgba(236, 72, 153, 0.08);
  --color-bg-8: rgba(6, 182, 212, 0.08);

  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: #1E40AF;
  --color-primary-hover: #1E3A8A;
  --color-primary-active: #1E3A8A;
  --color-accent: #0EA5E9;
  --color-accent-hover: #06B6D4;
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;

  --font-family-base: 'Segoe UI', 'Arial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;

  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  --navy-blue: #1E3A8A;
  --slate-gray: #475569;
  --indigo: #4F46E5;
  
  /* Custom Theme Colors */
  --theme-primary: #1E40AF;
  --theme-secondary: #0EA5E9;
  --theme-accent: #06B6D4;
}

/* Dark mode disabled - light mode only */

/* [data-theme="dark"] disabled - light mode only */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* (mobile nav rules are in the @media (max-width: 768px) block below) */

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: #fcfcf9 !important;
  color: var(--color-text);
  line-height: var(--line-height-normal);
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color var(--duration-normal) var(--ease-standard);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

.header {
  background: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%233b82f6' stroke-width='0.5' opacity='0.12'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2310b981' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E");
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Home page transparent header at top */
.home-page .header {
  background: transparent;
  background-image: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-page .header .logo-image {
  filter: brightness(0) invert(1);
}

.home-page .header .nav-menu a {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-page .header .mobile-menu-btn {
  color: #ffffff;
}

.home-page .header .nav-dropdown > a::before {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header.scrolled,
.home-page .header.scrolled {
  background: var(--color-white) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%233b82f6' stroke-width='0.5' opacity='0.12'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2310b981' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E") !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06) !important;
}

.home-page .header.scrolled .logo-image {
  filter: none !important;
}

.home-page .header.scrolled .nav-menu a {
  color: #0f172a !important;
  text-shadow: none !important;
}

/* Mobile menu button: color is set in @media (max-width: 768px) with other pages — do not force dark icon here or home scroll state overrides the gradient + white icon. */

.home-page .header.scrolled .nav-dropdown > a::before {
  color: #0f172a !important;
  text-shadow: none !important;
}

.header.scrolled .header-content {
  justify-content: space-between;
}

.header.scrolled .nav-menu {
  justify-content: flex-end;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  margin-left: auto;
  position: static;
}

/* Resources link styling - REMOVED - Now using standard nav-menu styling */

.header-content {
  position: relative;
}

.header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: var(--space-24);
  transition: justify-content 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu {
  margin-left: auto;
}

.logo {
  font-size: 23px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Segoe UI', Serif;
  padding: 4px 0;
}

.header.scrolled .logo {
  position: static;
}

.logo:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.logo span {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-image {
  width: auto;
  height: 52px;
  object-fit: contain;
  filter: none;
  transition: all 0.3s ease;
}

.logo-icon {
  font-size: var(--font-size-3xl);
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.header.scrolled .nav-menu a {
  color: #0f172a;
}

.nav-menu a:hover {
  color: #0f172a;
  background: rgba(16,185,129,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #10b981, #059669) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::before {
  content: '▼';
  font-size: 8px;
  margin-left: 4px;
  transition: transform 0.2s ease;
  order: 1;
}

.nav-dropdown:hover > a::before {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10000;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Ensure dropdowns are visible on transparent header */
.home-page .header .nav-dropdown-menu {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.home-page .header:not(.scrolled) .nav-dropdown-menu {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  background: transparent !important;
  position: relative;
  margin: 2px 8px;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* Ensure dropdown links are always visible */
.home-page .header .nav-dropdown-menu a {
  color: #0f172a !important;
  text-shadow: none !important;
}

.nav-dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.15) 100%) !important;
  color: #059669 !important;
  transform: translateX(4px);
  box-shadow: none !important;
  text-shadow: none !important;
}

.nav-dropdown-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 2px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown-menu a:hover::after {
  height: 70%;
}

.header-search-bar {
  flex: 1;
  max-width: 500px;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-search-bar input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid #011f4f;
  border-radius: 10px;
  font-size: 14px;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

.header-search-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-close-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000552;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.search-close-btn:hover {
  background: rgba(226, 232, 240, 0.5);
  color: #475569;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: #000552;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #ffffff;
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(0, 24, 56, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: 2px solid transparent;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-right: -110px;         
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(147, 197, 253, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  border: 2px solid rgba(30, 64, 175, 0.2);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-right: 125px;         
  gap: 8px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';\n  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Full CSS extracted from original index.html <style> block */
:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  --color-bg-1: rgba(3, 79, 200, 0.08);
  --color-bg-2: rgba(245, 158, 11, 0.08);
  --color-bg-3: rgba(34, 197, 94, 0.08);
  --color-bg-4: rgba(239, 68, 68, 0.08);
  --color-bg-5: rgba(147, 51, 234, 0.08);
  --color-bg-6: rgba(249, 115, 22, 0.08);
  --color-bg-7: rgba(236, 72, 153, 0.08);
  --color-bg-8: rgba(6, 182, 212, 0.08);

  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: #1E40AF;
  --color-primary-hover: #1E3A8A;
  --color-primary-active: #1E3A8A;
  --color-accent: #0EA5E9;
  --color-accent-hover: #06B6D4;
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;

  --font-family-base: 'Segoe UI', 'Arial', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;

  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  --navy-blue: #1E3A8A;
  --slate-gray: #475569;
  --indigo: #4F46E5;
  
  /* Custom Theme Colors */
  --theme-primary: #1E40AF;
  --theme-secondary: #0EA5E9;
  --theme-accent: #06B6D4;
}

/* Dark mode disabled - light mode only */

/* [data-theme="dark"] disabled - light mode only */

.header-search-bar input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid #011f4f;
  border-radius: 10px;
  font-size: 14px;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}

.header-search-bar input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-close-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #000552;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.search-close-btn:hover {
  background: rgba(226, 232, 240, 0.5);
  color: #475569;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: #000552;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #ffffff;
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(0, 24, 56, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: 2px solid transparent;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-right: -110px;         
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(147, 197, 253, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  border: 2px solid rgba(30, 64, 175, 0.2);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-right: 125px;         
  gap: 8px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-section {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  padding: var(--space-64) var(--space-24);
  text-align: center;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
}

/* Tech grid pattern for hero */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Mobile: consistent toggle button and nav styles across all pages */
@media (max-width: 768px) {
  /* One header look everywhere (same as home): white bar, pattern, shadow */
  .header,
  .header.scrolled,
  .home-page .header,
  .home-page .header.scrolled {
    background: var(--color-white) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%233b82f6' stroke-width='0.5' opacity='0.12'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2310b981' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E") !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 2px 8px rgba(16,24,40,0.06) !important;
  }

  .header .logo-image,
  .home-page .header .logo-image {
    filter: none !important;
  }

  .header .nav-menu a,
  .home-page .header .nav-menu a {
    color: #0f172a !important;
    text-shadow: none !important;
  }

  .header .nav-dropdown > a::before,
  .home-page .header .nav-dropdown > a::before {
    color: #0f172a !important;
    text-shadow: none !important;
  }

  /* Same blue gradient button on every page (must beat later .mobile-menu-btn base rule) */
  .header .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(30, 58, 175, 0.18) !important;
    color: #ffffff !important;
    cursor: pointer;
    /* Above fixed #navMenu so the hamburger always wins hit-testing (WebKit + flex siblings) */
    position: relative;
    z-index: 100001;
    padding: 8px;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
  }

  /* Home: same gradient + white icon as every other page (matches non-scrolled + scrolled header on mobile) */
  .home-page .header .mobile-menu-btn,
  .home-page .header.scrolled .mobile-menu-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    color: #ffffff !important;
  }

  .home-page .header .mobile-menu-btn svg,
  .home-page .header.scrolled .mobile-menu-btn svg {
    stroke: #ffffff !important;
  }

  .header .mobile-menu-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  }

  .header .mobile-menu-btn svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    display: block;
    pointer-events: none;
  }

  /* Mobile nav panel (JS toggles .active on #navMenu; .open kept for compatibility) */
  #navMenu {
    position: fixed;
    top: 72px;
    right: max(16px, env(safe-area-inset-right, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    background: #ffffff !important;
    background-image: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(2, 34, 82, 0.12);
    display: none !important;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: flex-start;
    gap: 8px;
    z-index: 20060;
    /* dvh accounts for mobile browser chrome; fallback to vh */
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* contain + pan-y caused stuck / upward-clipped scroll with long submenus on WebKit */
    overscroll-behavior: auto;
    touch-action: auto;
    /* Prevent scroll anchoring from jumping when submenu height changes (looks like "opens upward") */
    overflow-anchor: none;
  }

  /* Closed panel must never intercept taps meant for the hamburger (middle-of-page scroll + mobile WebKit) */
  #navMenu:not(.active):not(.open) {
    pointer-events: none !important;
  }

  #navMenu > * {
    flex-shrink: 0;
  }

  #navMenu.active,
  #navMenu.open {
    display: flex !important;
  }

  /* Make links consistent and touch-friendly */
  #navMenu a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #022252;
    background: transparent;
    text-align: left;
  }

  #navMenu a:hover {
    background: rgba(2, 34, 82, 0.06);
    color: #011f4f;
  }

  /* Mobile dropdown styles */
  #navMenu .nav-dropdown {
    display: flex;
    flex-direction: column;
  }

  #navMenu .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  #navMenu .nav-dropdown > a::before {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
    order: 2;
    margin-left: auto;
  }

  #navMenu .nav-dropdown.active > a::before {
    transform: rotate(180deg);
  }

  #navMenu .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(2, 34, 82, 0.04);
    border-radius: 8px;
    padding: 4px 0;
    margin: 4px 0 4px 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease, margin 0.3s ease;
    border: none;
  }

  /* Expanded submenu: one scroll surface only (#navMenu). Nested overflow-y on the submenu
     fights touch scrolling on mobile; let the panel scroll as a whole. */
  #navMenu .nav-dropdown.active .nav-dropdown-menu {
    max-height: 2000px;
    padding: 8px 0;
    margin: 4px 0 4px 12px;
    overflow: visible;
    overflow-x: hidden;
  }

  #navMenu .nav-dropdown-menu a {
    padding: 10px 16px;
    font-size: 14px;
    color: #022252 !important;
    background: transparent !important;
    margin: 2px 0;
  }

  #navMenu .nav-dropdown-menu a:hover {
    background: rgba(2, 34, 82, 0.08) !important;
    transform: none;
  }

  #navMenu .nav-dropdown-menu a::after {
    display: none;
  }

  /* Add spacing after hero sections on mobile */
  .page-hero + section,
  .page-hero + div,
  .home-hero + section {
    margin-top: 40px !important;
  }

  /* Ensure header contents wrap nicely on small viewports */
  .header-content {
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
    gap: 12px;
  }
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-16);
  margin-top: 48px;
  letter-spacing: -0.03em;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-32);
  color: #475569;
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   HERO BANNER - Full Width Professional
   ============================================ */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Teal accent bar at top */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 50%, #0d9488 100%);
  z-index: 10;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px 40px 30px;
  padding-left: 120px;
  max-width: 600px;
}

.hero-tagline {
  font-size: 18px;
  color: #56c3c3;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-main-title {
  font-size: 72px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn {
  display: inline-block;
  padding: 18px 42px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.hero-cta-btn:hover::before {
  left: 100%;
}

.hero-cta-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Hero banner responsive */
@media (max-width: 1024px) {
  .hero-banner-content {
    padding: 40px 40px 30px;
    padding-left: 80px;
  }
  
  .hero-main-title {
    font-size: 56px;
  }
  
  /* Home hero tablet adjustments */
  .home-hero {
    min-height: 550px;
  }
  
  .home-hero .page-hero-content {
    padding: 80px 6% 80px max(80px, 6%);
    max-width: 600px;
  }
  
  .home-hero .page-hero-title {
    font-size: 68px !important;
  }
  
  .home-hero .page-hero-subtitle {
    max-width: 480px;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 100vh;
    margin-top: -60px !important;
  }
  
  .hero-banner-content {
    padding: 120px 24px 40px;
    padding-left: 40px;
  }
  
  .hero-tagline {
    font-size: 15px;
  }
  
  .hero-main-title {
    font-size: 42px;
    margin-bottom: 32px;
  }
  
  .hero-cta-btn {
    padding: 16px 32px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    margin-top: -60px !important;
  }
  
  .hero-banner-content {
    padding: 100px 20px 30px;
    padding-left: 30px;
  }
  
  .hero-main-title {
    font-size: 36px;
  }
}

/* ============================================
   PERSPECTIVES PAGE HERO
   ============================================ */

.perspectives-hero {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.perspectives-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.perspectives-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.perspectives-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
}

.perspectives-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 24px;
  max-width: 800px;
}

.perspectives-hero-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.perspectives-hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.perspectives-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .perspectives-hero {
    min-height: 320px;
  }
  
  .perspectives-hero-title {
    font-size: 32px;
  }
  
  .perspectives-hero-subtitle {
    font-size: 15px;
  }
}

/* Image Slider Styles */
.slider-section {
  padding: 0;
  background: #000;
  width: 100%;
}

.slider-section h2 {
  display: none;
}

.slider-container {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: min(60vh, 600px);
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 80px 60px 50px;
  color: white;
}

.slide-overlay h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slide-overlay p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 800px;
  line-height: 1.7;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #1e3a5f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.slider-nav:hover {
  background: #1E40AF;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .slide img {
    height: min(50vh, 420px);
  }
  
  .slide-overlay {
    padding: 50px 20px 60px;
  }
  
  .slide-overlay h3 {
    font-size: 22px;
  }
  
  .slide-overlay p {
    font-size: 14px;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .slider-nav.prev {
    left: 10px;
  }
  
  .slider-nav.next {
    right: 10px;
  }
  
  .slider-dots {
    bottom: 15px;
  }
}

.search-bar {
  max-width: 600px;
  margin: 0 auto var(--space-32);
  position: relative;
}

.search-input {
  width: 100%;
  padding: var(--space-16) var(--space-48) var(--space-16) var(--space-20);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: all var(--duration-fast) var(--ease-standard);
}

.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

.search-icon {
  position: absolute;
  right: var(--space-16);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xl);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  justify-content: center;
}

.category-chip {
  padding: 10px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid rgba(30, 64, 175, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.category-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s;
}

.category-chip:hover::before {
  left: 100%;
}

.category-chip:hover, .category-chip.active {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-48) var(--space-24);
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: var(--space-32);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: block;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  margin-bottom: var(--space-48);
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  background-clip: padding-box;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.blog-card:hover::before {
  opacity: 1;
}

/* Blog Card Image Styles */
.blog-card-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  z-index: 1;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.1);
}

.blog-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.blog-card-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Legacy icon support */
.blog-card-icon {
  font-size: 48px;
  padding: 32px;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.blog-card-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.blog-card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-card-category {
  padding: 6px 14px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-card-date {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: #1e40af;
}

.blog-card-excerpt {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  font-weight: 400;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: auto;
}

.blog-card-author {
  font-size: 13px;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.blog-card-read-time {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(241, 245, 249, 0.8);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
}

/* Expertise Section */
.expertise-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 40px 24px;
}

.expertise-section .section-title {
  text-align: center;
  color: #1a2b4a;
  margin-bottom: 16px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
}

.expertise-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  position: relative;
  background-clip: padding-box;
}

a.expertise-card {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  z-index: 1;
}

.expertise-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expertise-card:hover .expertise-card-image img {
  transform: scale(1.1);
}

.expertise-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  transition: opacity 0.3s ease;
}

.expertise-card:hover .expertise-card-overlay {
  opacity: 0.8;
}

.expertise-card-content {
  padding: 32px;
  position: relative;
  z-index: 1;
}

.expertise-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.expertise-card:hover .expertise-card-content h3 {
  color: #1e40af;
}

.expertise-card-content p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 18px 0;
  font-weight: 400;
}

.expertise-card-arrow {
  display: inline-block;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(5px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expertise-card:hover .expertise-card-arrow {
  opacity: 1;
  transform: translateY(0);
  color: #1e40af;
}

/* Why Choose Us Section */
.why-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.why-section .section-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card-image {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85);
}

.why-card:hover .why-card-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.why-card-content {
  padding: 24px;
}

.why-card-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.why-card-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Testimonials Section (hidden) */
.testimonials-section {
  display: none !important;
  background: #f8fafc;
  padding: 30px 24px;
}

.testimonials-section .section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 18px;
  margin-bottom: 30px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto 50px;
  position: relative;
  min-height: 320px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  position: absolute;
  width: calc((100% - 64px) / 3);
}

.testimonial-card[data-set="0"]:nth-child(1),
.testimonial-card[data-set="1"]:nth-child(4),
.testimonial-card[data-set="2"]:nth-child(7) {
  left: 0;
}

.testimonial-card[data-set="0"]:nth-child(2),
.testimonial-card[data-set="1"]:nth-child(5),
.testimonial-card[data-set="2"]:nth-child(8) {
  left: calc((100% - 64px) / 3 + 32px);
}

.testimonial-card[data-set="0"]:nth-child(3),
.testimonial-card[data-set="1"]:nth-child(6),
.testimonial-card[data-set="2"]:nth-child(9) {
  right: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card.fading-out {
  opacity: 0;
  transform: translateX(-30px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-card.active:hover {
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 28px;
  flex: 1;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #5b5fef;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-avatar-cyan {
  background: #0891b2;
}

.testimonial-avatar-green {
  background: #059669;
}

.testimonial-avatar-purple {
  background: #7c3aed;
}

.testimonial-avatar-orange {
  background: #ea580c;
}

.testimonial-avatar-teal {
  background: #0d9488;
}

.testimonial-avatar-indigo {
  background: #4f46e5;
}

.testimonial-avatar-pink {
  background: #db2777;
}

.testimonial-avatar-emerald {
  background: #10b981;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.testimonial-role {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.testimonials-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #5b5fef;
  width: 24px;
  border-radius: 4px;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 20px;
  }
  
  .testimonials-grid {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: block;
  }
  
  .testimonial-card {
    position: absolute !important;
    width: calc(100% - 40px) !important;
    left: 20px !important;
    right: 20px !important;
    opacity: 0 !important;
    transform: translateX(100%) !important;
    padding: 28px;
    margin-bottom: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  
  .testimonial-card.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto;
    display: flex !important;
  }
  
  .testimonial-card.fading-out {
    opacity: 0 !important;
    transform: translateX(-100%) !important;
  }
  
  /* Navigation buttons */
  .testimonial-nav-btn {
    width: 44px;
    height: 44px;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial-nav-prev {
    left: 10px;
  }
  
  .testimonial-nav-next {
    right: 10px;
  }
  
  /* Dots navigation */
  .testimonial-dots {
    margin-top: 30px;
    justify-content: center;
    gap: 10px;
  }
  
  .testimonial-dot {
    width: 10px;
    height: 10px;
  }
  
  .testimonial-dot.active {
    width: 28px;
  }
  
  .testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .testimonial-name {
    font-size: 14px;
  }
  
  .testimonial-role {
    font-size: 12px;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #0a2540 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-section h3 {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn {
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cta-btn-primary {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
}

.cta-btn-primary:hover {
  background: linear-gradient(135deg, #1fb855 0%, #0d7d6a 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.cta-btn-secondary {
  background: #ffffff;
  color: #1e3a5f;
  border: none;
}

.cta-btn-secondary:hover {
  background: #f0f4f8;
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.newsletter-section {
  background: #f8fafc;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid #e8ecf0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a2b4a;
  letter-spacing: -0.02em;
}

.newsletter-text {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  background: #ffffff;
  color: #1a2b4a;
  transition: all 0.2s ease;
}

  .newsletter-input:focus {
  outline: none;
  border-color: #011961;
  box-shadow: 0 0 0 3px rgba(1, 25, 97, 0.1);
}

.footer {
  background: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 50px 24px 30px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), url("images/worldmap.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000000;
}

/* Transparent World Map Background */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #3b82f6 15%, 
    #10b981 35%, 
    #8b5cf6 50%, 
    #10b981 65%, 
    #3b82f6 85%, 
    transparent 100%);
  border-radius: 2px;
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  max-width: 260px;
  height: auto;
  margin-bottom: 16px;
  filter: none;
}

.footer-logo p {
  color: #000000;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-subscribe-btn {
  display: block;
  margin: 0 auto 40px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.footer-subscribe-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.footer-section {
  text-align: left;
}

.footer-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
}

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

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

.footer-links a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a svg {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 10px;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.social-link:hover {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  border-color: transparent;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #000000;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* Contact info list styling */
.footer-links.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-size: 14px;
}

.footer-links.contact-info svg {
  color: #000000;
  flex-shrink: 0;
}

/* Social links styling */
.footer-links.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links.social-list svg {
  transition: transform 0.3s ease;
}

.footer-links.social-list a:hover svg {
  transform: scale(1.15);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-content textarea {
  font-family: var(--font-family-base);
  resize: vertical;
  min-height: 200px;
}

.modal-content select {
  cursor: pointer;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-24);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.close-btn {
  background: transparent;
  border: none;
  font-size: var(--font-size-3xl);
  cursor: pointer;
  color: var(--color-text-secondary);
  line-height: 1;
}

.close-btn:hover {
  color: var(--color-text);
}

.form-group {
  margin-bottom: var(--space-20);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  background: var(--color-background);
  color: var(--color-text);
}

.form-input:focus {
  outline: var(--focus-outline);
  border-color: var(--color-primary);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--font-size-sm);
}

.btn-full {
  width: 100%;
  padding: var(--space-12);
  margin-top: var(--space-16);
}

.text-center {
  text-align: center;
}

.link {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

.article-page {
  display: none;
}

.article-page.active {
  display: block;
}

.article-header {
  max-width: 800px;
  margin: 0 auto var(--space-48);
  text-align: center;
}

.article-title {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-24);
  line-height: var(--line-height-tight);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-24);
  flex-wrap: wrap;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-32);
}

.article-icon {
  font-size: 80px;
  margin-bottom: var(--space-24);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
  line-height: 1.8;
  margin-bottom: var(--space-48);
}

.article-content p {
  margin-bottom: var(--space-20);
}

.author-card {
  background: var(--color-bg-3);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  margin-bottom: var(--space-48);
}

.author-card-header {
  display: flex;
  gap: var(--space-16);
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.author-info h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.author-info p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.share-buttons {
  display: flex;
  gap: var(--space-12);
  margin-bottom: var(--space-48);
  flex-wrap: wrap;
}

.share-btn {
  padding: var(--space-8) var(--space-16);
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
  font-size: var(--font-size-sm);
}

.share-btn:hover {
  background: var(--color-secondary-hover);
}

.related-articles {
  margin-top: var(--space-64);
}

.breadcrumb {
  padding: var(--space-16) var(--space-24);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

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

.user-dropdown {
  position: relative;
}

.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  display: none;
}

.user-menu.active {
  display: block;
}

.user-menu a, .user-menu button {
  display: block;
  width: 100%;
  padding: var(--space-12) var(--space-16);
  text-align: left;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-base);
  transition: background var(--duration-fast) var(--ease-standard);
}

.user-menu a:hover, .user-menu button:hover {
  background: var(--color-secondary);
}

.dashboard-page {
  display: none;
}

.dashboard-page.active {
  display: block;
}

.dashboard-header {
  margin-bottom: var(--space-32);
}

.dashboard-tabs {
  display: flex;
  gap: var(--space-16);
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-32);
}

.tab-btn {
  padding: var(--space-12) var(--space-24);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) var(--ease-standard);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-content {
  display: none;
}

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

.empty-state {
  text-align: center;
  padding: var(--space-64) var(--space-24);
  color: var(--color-text-secondary);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: var(--space-16);
}

/* Tablet layout - 2 columns */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-20);
  }
}

@media (max-width: 768px) {
  /* Stacking + position only (colors/pattern unified in block above) */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Above .sticky-contact (20000) and page overlays so the bar + menu stay hit-testable when scrolled */
    z-index: 99999 !important;
    isolation: isolate;
    pointer-events: auto;
    backdrop-filter: none;
  }
  
  .header-content {
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
    position: relative;
    align-items: center;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .hero-section {
    padding: var(--space-32) var(--space-16);
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    margin-top: 24px;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
  
  .search-bar {
    max-width: 100%;
    padding: 0 8px;
  }
  
  .category-filters {
    gap: var(--space-8);
    padding: 0 8px;
  }
  
  .category-chip {
    padding: var(--space-6) var(--space-12);
    font-size: var(--font-size-xs);
  }
  
  .container {
    padding: var(--space-24) var(--space-16);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
  
  .blog-card-content {
    padding: var(--space-16);
  }
  
  .blog-card-title {
    font-size: var(--font-size-lg);
  }
  
  .expertise-section {
    padding: 48px 16px;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .expertise-card {
    padding: 24px 20px;
  }
  
  .why-section {
    padding: 48px 16px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .why-card {
    padding: 16px;
  }
  
  .why-card h4 {
    font-size: 14px;
  }
  
  .testimonials-section {
    padding: 48px 16px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .testimonial-quote {
    font-size: 15px;
  }
  
  .cta-section {
    padding: 40px 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .newsletter-section {
    padding: var(--space-32) var(--space-16);
  }
  
  .newsletter-title {
    font-size: var(--font-size-2xl);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    width: 100%;
  }
  
  .footer {
    padding: 40px 20px 20px;
    background: #ffffff !important;
    background-image: none !important;
  }

  .footer::before {
    display: none !important;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    text-align: left;
  }
  
  .footer-logo {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-section h3::after {
    left: 0;
  }
  
  .footer-links {
    justify-content: flex-start;
  }
  
  .footer-links li {
    justify-content: flex-start;
  }
  
  .footer-links a {
    justify-content: flex-start;
  }
  
  /* Contact Page Responsive */
  #contactPage .container > div:last-child {
    grid-template-columns: 1fr !important;
  }
  
  .article-title {
    font-size: var(--font-size-2xl);
  }
  
  .article-content {
    padding: 0 var(--space-16);
  }
  
  .dashboard-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .modal-content {
    margin: 16px;
    max-height: calc(100vh - 32px);
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 8px 12px;
  }
  
  .logo-image {
    height: 36px;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .blog-card-image {
    height: 160px;
  }
  
  .newsletter-title {
    font-size: var(--font-size-xl);
  }
  
  .newsletter-text {
    font-size: var(--font-size-base);
  }
}

/* Mobile menu button — desktop: hidden placeholder styles only (mobile gradient lives in max-width:768px block) */
@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    z-index: 20060;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    position: relative;
    margin-left: auto;
  }

  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    pointer-events: none;
  }
}

/* Sticky contact buttons (WhatsApp + Email) */
.sticky-contact {
  display: flex;
  position: fixed;
  right: 20px;
  bottom: 24px;
  flex-direction: column;
  gap: 12px;
  z-index: 20000;
  align-items: center;
  /* Wrapper must not steal taps; only the round buttons are interactive */
  pointer-events: none;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.2);
  transition: transform 150ms var(--ease-standard), box-shadow 150ms var(--ease-standard);
  pointer-events: auto;
}

.sticky-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2,6,23,0.24);
}

.sticky-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  background-size: 200% 200%;
  transition: background-position 300ms var(--ease-standard), transform 150ms var(--ease-standard);
}

.sticky-email {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  background-size: 200% 200%;
  transition: background-position 300ms var(--ease-standard), transform 150ms var(--ease-standard);
}

.sticky-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 480px) {
  .sticky-contact {
    right: 12px;
    bottom: 14px;
    gap: 10px;
  }
  .sticky-btn {
    width: 48px;
    height: 48px;
  }
}

/* ============================================
   PROFESSIONAL ENHANCEMENTS & INTERACTIVE EFFECTS
   ============================================ */

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Global focus improvements for accessibility */
*:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

/* Improved button interactions */
button, .btn-primary, .btn-secondary, .cta-btn {
  position: relative;
  overflow: hidden;
}

button::after, .btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

button:active::after, .btn-primary:active::after, .btn-secondary:active::after {
  width: 300px;
  height: 300px;
}

/* Add subtle parallax effect to sections */
.expertise-section,
.why-section,
.testimonials-section,
.cta-section,
.newsletter-section {
  background-attachment: fixed;
}

/* Enhanced card loading animation */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expertise-card,
.why-card,
.service-card,
.blog-card {
  animation: cardFadeIn 0.6s ease forwards;
  animation-play-state: paused;
}

.expertise-card.visible,
.why-card.visible,
.service-card.visible,
.blog-card.visible {
  animation-play-state: running;
}

/* Stagger animation delays for cards */
.expertise-grid > *:nth-child(1),
.why-grid > *:nth-child(1),
.services-grid > *:nth-child(1) { animation-delay: 0.1s; }
.expertise-grid > *:nth-child(2),
.why-grid > *:nth-child(2),
.services-grid > *:nth-child(2) { animation-delay: 0.15s; }
.expertise-grid > *:nth-child(3),
.why-grid > *:nth-child(3),
.services-grid > *:nth-child(3) { animation-delay: 0.2s; }
.expertise-grid > *:nth-child(4),
.why-grid > *:nth-child(4),
.services-grid > *:nth-child(4) { animation-delay: 0.25s; }
.expertise-grid > *:nth-child(5),
.why-grid > *:nth-child(5),
.services-grid > *:nth-child(5) { animation-delay: 0.3s; }
.expertise-grid > *:nth-child(6),
.why-grid > *:nth-child(6),
.services-grid > *:nth-child(6) { animation-delay: 0.35s; }
.expertise-grid > *:nth-child(7),
.why-grid > *:nth-child(7),
.services-grid > *:nth-child(7) { animation-delay: 0.4s; }
.expertise-grid > *:nth-child(8),
.why-grid > *:nth-child(8),
.services-grid > *:nth-child(8) { animation-delay: 0.45s; }

/* Professional image loading effect */
.expertise-card-image img,
.why-card-image img,
.service-image img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.expertise-card-image img[src],
.why-card-image img[src],
.service-image img[src] {
  animation: none;
}

/* Glassmorphism effect for modals and overlays */
.modal-content,
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Professional gradient text effect for headings */
.section-title {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-section .section-title {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced shadow system for depth */
.expertise-card,
.why-card,
.service-card,
.blog-card,
.testimonial-card {
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 10px 20px rgba(0, 0, 0, 0.04);
}

.expertise-card:hover,
.service-card:hover,
.blog-card:hover,
.testimonial-card:hover {
  box-shadow: 
    0 0 0 1px rgba(59, 130, 246, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Enhanced form inputs */
input, textarea, select {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

input:hover, textarea:hover, select:hover {
  border-color: #94a3b8;
}

input:focus, textarea:focus, select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Interactive link effects */
a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Professional line decoration for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1e40af);
  margin: 20px auto 0;
  border-radius: 2px;
}

.why-section .section-title::after {
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

/* Hover shine effect for images */
.expertise-card-image::before,
.why-card-image::before,
.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
  z-index: 1;
}

.expertise-card:hover .expertise-card-image::before,
.why-card:hover .why-card-image::before,
.service-card:hover .service-image::before {
  left: 100%;
}

/* Loading state button */
button.loading {
  position: relative;
  color: transparent !important;
}

button.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: buttonSpinner 0.8s linear infinite;
}

@keyframes buttonSpinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Article/Blog card image enhancement */
.blog-card-icon img,
.blog-card-image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card-icon img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

/* Mobile responsive adjustments for new image cards */
@media (max-width: 768px) {
  .expertise-section,
  .why-section {
    padding: 60px 16px;
  }
  
  .expertise-section .section-title,
  .why-section .section-title {
    font-size: 32px;
  }
  
  .expertise-card-image,
  .service-image {
    height: 180px;
  }
  
  .why-card-image {
    height: 140px;
  }
  
  .expertise-card-content,
  .service-content,
  .why-card-content {
    padding: 20px;
  }
  
  .expertise-card-content h3,
  .service-card h3 {
    font-size: 18px;
  }
  
  .section-subtitle {
    font-size: 16px;
    padding: 0 16px;
  }
}

/* Print styles for professional output */
@media print {
  .header,
  .footer,
  .sticky-contact,
  .cta-section,
  .newsletter-section {
    display: none !important;
  }
  
  .expertise-card,
  .why-card,
  .service-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   SERVICE DETAIL PAGE - ULTRA PROFESSIONAL
   ============================================ */

.service-detail-hero {
  position: relative;
  margin: -20px -20px 40px -20px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
}

.service-detail-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88));
  z-index: 1;
}

.service-detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

.service-detail-hero-content .service-detail-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-detail-hero-content .service-detail-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
}

.service-detail-hero-content .service-detail-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
}

.service-detail-hero-content .service-detail-subtitle {
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ULTRA TECHY / SHARP PROFESSIONAL STYLING
   ============================================ */

/* Global tech enhancements */
body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Sharp bordered elements */
.tech-border {
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);
}

/* Glowing accent effect */
.glow-accent {
  box-shadow: 
    0 0 0 1px rgba(59, 130, 246, 0.1),
    0 4px 20px rgba(59, 130, 246, 0.15),
    0 8px 40px rgba(59, 130, 246, 0.1);
}

/* Tech grid pattern overlay */
.tech-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Sharp card styling */
.sharp-card {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sharp-card:hover {
  border-color: #3b82f6;
  box-shadow: 
    0 20px 40px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Tech badge */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Animated gradient border */
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 300% 100%;
  animation: gradientBorder 4s ease infinite;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

/* Floating tech orbs (decorative) */
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

.tech-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: floatOrb 8s ease-in-out infinite;
  pointer-events: none;
}

/* Ultra sharp text styling */
.ultra-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Professional stat number */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
}

/* Tech line decoration */
.tech-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  border-radius: 2px;
}

/* Service detail sections enhanced */
.service-detail-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}

.service-detail-section:hover {
  border-color: #3b82f6;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.1);
}

.service-detail-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.service-detail-section h3 svg {
  color: #3b82f6;
}

.service-detail-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s ease;
}

.service-detail-section ul li:last-child {
  border-bottom: none;
}

.service-detail-section ul li:hover {
  color: #1e40af;
  padding-left: 8px;
}

.service-detail-section ul li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Process steps enhanced */
.service-process {
  margin-top: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  padding: 40px;
}

.service-process h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 32px;
  text-align: center;
  justify-content: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.process-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.process-step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.process-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Service CTA section */
.service-cta-section {
  margin-top: 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.service-cta-section h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.service-cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.service-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.service-cta-btn {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-cta-btn.primary {
  background: white;
  color: #1e3a8a;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.service-cta-btn.primary:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.service-cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.service-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* Service detail content grid */
.service-detail-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .service-detail-content {
    grid-template-columns: 1fr;
  }
  
  .service-detail-hero {
    min-height: 300px;
  }
  
  .service-detail-hero-content {
    padding: 40px 24px;
  }
  
  .service-detail-hero-content .service-detail-title {
    font-size: 28px;
  }
  
  .service-detail-hero-content .service-detail-subtitle {
    font-size: 15px;
  }
  
  .service-cta-section {
    padding: 32px 24px;
  }
  
  .service-cta-section h3 {
    font-size: 24px;
  }
}
/* ============================================
   ULTRA PROFESSIONAL TECHY ENHANCEMENTS
   ============================================ */

/* Sharper Global Shadows */
.sharp-shadow {
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.07),
    0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07),
    0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07);
}

/* Tech Glow Effect */
.tech-glow {
  box-shadow: 
    0 0 20px rgba(59, 130, 246, 0.15),
    0 0 40px rgba(59, 130, 246, 0.1),
    0 0 60px rgba(59, 130, 246, 0.05);
}

/* Animated Border Gradient */
@keyframes borderPulse {
  0%, 100% { border-color: rgba(59, 130, 246, 0.3); }
  50% { border-color: rgba(59, 130, 246, 0.6); }
}

/* ============================================
   ARTICLE/BLOG PAGE PROFESSIONAL ENHANCEMENTS
   ============================================ */

.article-page {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.article-page.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Article Header */
.article-header {
  max-width: 900px;
  margin: 0 auto var(--space-48);
  text-align: center;
  padding-top: 40px;
  position: relative;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

.article-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: var(--space-24);
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-icon {
  font-size: 64px;
  margin-bottom: var(--space-24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 24px;
  color: white;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.article-icon svg {
  width: 48px;
  height: 48px;
  stroke: white;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #64748b;
  margin-bottom: var(--space-32);
  font-size: 14px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 50px;
  font-weight: 500;
}

/* Enhanced Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: var(--space-48);
  color: #334155;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2,
.article-content h3 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h2 {
  font-size: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
  font-size: 22px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 12px;
  position: relative;
}

.article-content blockquote {
  border-left: 4px solid #3b82f6;
  padding: 20px 24px;
  margin: 32px 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  font-style: italic;
  color: #475569;
  border-radius: 0 12px 12px 0;
}

.article-content code {
  background: #1e293b;
  color: #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.article-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced Author Card */
.author-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: var(--space-48);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.author-card:hover {
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.12);
  border-color: #3b82f6;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.author-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.author-info p {
  color: #64748b;
  font-size: 14px;
}

/* Enhanced Share Buttons */
.share-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: var(--space-48);
  flex-wrap: wrap;
}

.share-btn {
  padding: 12px 20px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}

.share-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

/* Related Articles Enhanced */
.related-articles {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #f1f5f9;
}

.related-articles h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 32px;
  text-align: center;
}

/* ============================================
   SERVICE DETAIL PROFESSIONAL ENHANCEMENTS
   ============================================ */

#serviceDetailPage {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
  /* Align content start with bottom of fixed header (~80px); hero sits flush under header */
  padding-top: 80px;
  margin-top: 0;
  box-sizing: border-box;
}

/* Remove extra top inset so hero + first row align with header (not pushed by container/content padding) */
#serviceDetailPage > .container {
  padding-top: 0;
}

#serviceDetailContent {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

#serviceDetailPage #serviceDetailContent {
  padding-top: 0;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

/* Back control sits below hero, above main (see app.js showServiceDetail template) */
.sd-back-bar {
  padding: 16px 24px 0;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Enhanced Service Detail Hero */
.service-detail-hero {
  position: relative;
  margin: -24px -24px 48px -24px;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  min-height: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-detail-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, #f8fafc, transparent);
  z-index: 3;
  pointer-events: none;
}

.service-detail-hero-content .service-detail-icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-detail-hero-content .service-detail-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Enhanced Service Sections */
.service-detail-section {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-detail-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-detail-section:hover::before {
  transform: scaleX(1);
}

.service-detail-section:hover {
  border-color: transparent;
  box-shadow: 
    0 25px 60px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

.service-detail-section h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid #f1f5f9;
}

.service-detail-section h3 svg {
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  padding: 10px;
  border-radius: 12px;
  width: 44px;
  height: 44px;
}

.service-detail-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 15px;
  color: #475569;
  transition: all 0.25s ease;
}

.service-detail-section ul li:hover {
  color: #1e40af;
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.03), transparent);
  border-radius: 8px;
}

.service-detail-section ul li svg {
  flex-shrink: 0;
  margin-top: 4px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  padding: 3px;
}

/* Enhanced Process Steps */
.service-process {
  margin-top: 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.service-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.process-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover::after {
  opacity: 1;
}

.process-step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(59, 130, 246, 0.18),
    0 0 0 1px rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

.process-step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.process-step p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Enhanced CTA Section */
.service-cta-section {
  margin-top: 56px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  border-radius: 32px;
  padding: 56px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(30, 64, 175, 0.3);
}

.service-cta-section::before {
  content: '';
  position: absolute;
  top: -100%;
  right: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

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

.service-cta-section h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.02em;
}

.service-cta-btn.primary {
  background: white;
  color: #1e3a8a;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.service-cta-btn.primary:hover {
  background: #f8fafc;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.35);
}

/* ============================================
   BREADCRUMB ENHANCEMENTS
   ============================================ */

.breadcrumb {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 100px 24px 24px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.breadcrumb-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.breadcrumb-content a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.breadcrumb-content a:hover {
  color: #3b82f6;
}

.breadcrumb-content span {
  color: #64748b;
}

/* ============================================
   GLOBAL TECHY UI ENHANCEMENTS
   ============================================ */

/* Enhanced Buttons */
button, .btn {
  position: relative;
  overflow: hidden;
}

button::after, .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

button:active::after, .btn:active::after {
  width: 300px;
  height: 300px;
}

/* Enhanced Form Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 10px 40px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Tech Decorative Elements */
.tech-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, #3b82f6 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.3;
  pointer-events: none;
}

/* Professional Loading State */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #1e40af);
  border-radius: 10px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #1e3a8a);
}

/* Selection Styling */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: #0f172a;
}

/* Back Button Professional */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.back-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateX(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.back-btn svg {
  transition: transform 0.3s ease;
}

.back-btn:hover svg {
  transform: translateX(-4px);
}
/* ============================================
   SERVICE DETAIL - NEW PROFESSIONAL DESIGN
   ============================================ */

/* Hero Section */
.sd-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  margin: -24px -24px 0 -24px;
  overflow: hidden;
}

/* Service detail: match `.page-hero` / Perspectives listing band height (450px desktop) */
#serviceDetailPage .sd-hero {
  margin-top: 0;
  margin-bottom: 0;
  min-height: 450px;
}

/* Break hero out of .container / #serviceDetailContent so background + image span full viewport */
@media (min-width: 769px) {
  #serviceDetailPage .sd-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    min-height: 450px;
  }

  /* Same vertical padding model as `.page-hero-content` (80px top/bottom, 24px sides) */
  #serviceDetailPage .sd-hero-content {
    padding: 80px 24px 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
  }
}

.sd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.3) 0%,
    rgba(30, 41, 59, 0.7) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.sd-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px 60px;
  max-width: 900px;
}

.sd-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

#serviceDetailPage .sd-hero-badge {
  background: #128c7e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: none;
}

.sd-hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.sd-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 32px;
}

.sd-hero-stats {
  display: flex;
  gap: 24px;
}

.sd-stat {
  display: flex;
  flex-direction: column;
}

.sd-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sd-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Layout */
.sd-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Sidebar */
.sd-sidebar {
  position: relative;
}

.sd-sidebar-sticky {
  position: sticky;
  top: 120px;
}

.sd-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-left: 4px;
}

.sd-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.sd-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}

.sd-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.sd-nav-link.active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
  color: #3b82f6;
  border-left-color: #3b82f6;
  font-weight: 600;
}

.sd-nav-link svg {
  opacity: 0.7;
}

.sd-nav-link.active svg {
  opacity: 1;
}

.sd-sidebar-cta {
  padding: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: 16px;
  text-align: center;
}

.sd-sidebar-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.sd-sidebar-btn {
  width: 100%;
  padding: 14px 24px;
  background: #ffffff;
  color: #1e3a8a;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sd-sidebar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Content Area */
.sd-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.sd-section {
  scroll-margin-top: 120px;
}

.sd-section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.sd-section-number {
  font-size: 48px;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sd-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.sd-section-desc {
  font-size: 15px;
  color: #64748b;
}

/* Services Grid */
.sd-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sd-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.sd-service-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
  transform: translateX(4px);
}

.sd-service-num {
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Consolas', monospace;
}

.sd-service-text {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

/* Benefits List */
.sd-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent);
  border-left: 4px solid #10b981;
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}

.sd-benefit-item:hover {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
  transform: translateX(8px);
}

.sd-benefit-icon {
  width: 36px;
  height: 36px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-benefit-icon svg {
  stroke: white;
}

.sd-benefit-text {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

/* Process Timeline */
.sd-process-timeline {
  position: relative;
  padding-left: 40px;
}

.sd-process-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
}

.sd-process-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.sd-process-item:not(:last-child) {
  border-bottom: 1px dashed #e2e8f0;
}

.sd-process-marker {
  position: absolute;
  left: -40px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.sd-process-marker span {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.sd-process-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.sd-process-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* CTA Section */
.sd-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  margin: 0 -24px -24px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.sd-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.sd-cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sd-cta h3 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.sd-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.sd-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.sd-cta-primary,
.sd-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.sd-cta-primary {
  background: #ffffff;
  color: #1e3a8a;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.sd-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3);
}

.sd-cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.sd-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .sd-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sd-sidebar {
    display: none;
  }
  
  .sd-hero-title {
    font-size: 42px;
  }
  
  .sd-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sd-hero {
    min-height: 400px;
  }
  
  .sd-hero-content {
    padding: 40px 24px 30px;
  }
  
  .sd-hero-title {
    font-size: 32px;
  }
  
  .sd-hero-subtitle {
    font-size: 15px;
  }
  
  .sd-hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .sd-stat-number {
    font-size: 28px;
  }
  
  .sd-section-number {
    font-size: 36px;
  }
  
  .sd-section-title {
    font-size: 22px;
  }
  
  .sd-cta {
    padding: 60px 24px;
  }
  
  .sd-cta h3 {
    font-size: 28px;
  }
}

/* ============================================
   PAGE HERO SECTIONS (About, Contact)
   ============================================ */

.page-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Home hero increased height for laptop view */
.home-hero {
  min-height: 600px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(30, 58, 138, 0.75) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 80px 24px;
}

/* Home hero left alignment */
.home-hero .page-hero-content {
  text-align: left;
  max-width: 650px;
  margin-left: 0;
  margin-right: auto;
  padding: 150px 8% 80px max(120px, 8%);
}

.home-hero .page-hero-badge {
  display: inline-block;
}

.home-hero .page-hero-title {
  text-align: left;
}

.home-hero .page-hero-subtitle {
  text-align: left;
  max-width: 550px;
}

.page-hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* Services listing — brand green badge (Perspectives keeps default pill) */
#servicesPage .page-hero-badge {
  background: #128c7e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: none;
}

.page-hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.page-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   ABOUT PAGE - INTERACTIVE DESIGN
   ============================================ */

/* Stats Bar */
.about-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
}

.about-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-stat-item:last-child {
  border-right: none;
}

.about-stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Section Tag */
.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* About Sections */
.about-section {
  padding: 40px 24px;
  position: relative;
}

.about-section:nth-child(odd) {
  background: #ffffff;
}

.about-section:nth-child(even) {
  background: #f8fafc;
}

/* Mission Section - Split Layout */
.mission-section {
  background: #ffffff;
}

.about-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-section-text h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.about-section-text > p {
  font-size: 17px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-highlights {
  margin-top: 40px;
}

.highlight-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}

.highlight-item:last-child {
  border-bottom: none;
}

.highlight-number {
  font-size: 16px;
  font-weight: 800;
  color: #3b82f6;
  width: 36px;
  height: 36px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.highlight-text p {
  font-size: 15px;
  color: #64748b;
}

/* Visual Frame */
.about-section-visual {
  position: relative;
}

.visual-frame {
  position: relative;
}

.visual-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.visual-accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 24px;
  z-index: -1;
}

.visual-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 20px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.visual-badge span {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}

.visual-badge strong {
  font-size: 36px;
  font-weight: 800;
  color: #3b82f6;
  letter-spacing: -0.02em;
}

/* Section Header Center */
.section-header-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header-center h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-header-center p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
}

.section-header-center.light h2 {
  color: #ffffff;
}

.section-header-center.light p {
  color: rgba(255, 255, 255, 0.8);
}

/* Offer Interactive Grid */
.offer-interactive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.offer-tile {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  border: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.offer-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-tile:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15);
}

.offer-tile:hover::before {
  transform: scaleX(1);
}

.tile-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0f9ff, #dbeafe);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.offer-tile:hover .tile-icon {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  transform: scale(1.1);
}

.offer-tile h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.offer-tile > p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

.tile-hover-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-tile:hover .tile-hover-content {
  max-height: 150px;
  margin-top: 20px;
}

.tile-hover-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tile-hover-content li {
  padding: 8px 0;
  font-size: 14px;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-hover-content li::before {
  content: '→';
  color: #3b82f6;
}

/* Why Section - Full Width Background */
.why-section {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}

.why-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%);
  z-index: 1;
}

.why-section-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Advantage Timeline */
.advantage-timeline {
  position: relative;
  padding-left: 60px;
}

.advantage-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
}

.advantage-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.advantage-marker {
  position: absolute;
  left: -48px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.advantage-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.advantage-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* About CTA Section */
.about-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-text h2 {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn.primary {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.25);
}

.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-circle:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
}

.cta-circle:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -50px;
}

.cta-circle:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

/* ============================================
   CONTACT PAGE - INTERACTIVE DESIGN
   ============================================ */

/* Contact Methods Section */
.contact-methods-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: -60px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  gap: 24px;
}

.contact-method-item {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.method-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}

.method-icon-wrap.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.method-icon-wrap.email {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
}

.method-icon-wrap.phone {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: white;
}

.method-pulse {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.method-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.method-content p {
  font-size: 14px;
  color: #64748b;
}

.method-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0f172a;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.method-action:hover {
  background: #3b82f6;
  transform: translateX(4px);
}

/* Contact Split Section */
.contact-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.contact-split-form {
  background: #ffffff;
  padding: 40px;
}

.form-section-header {
  margin-bottom: 30px;
}

.form-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.form-section-header p {
  font-size: 16px;
  color: #64748b;
}

/* Modern Contact Form */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.floating-field {
  position: relative;
}

.floating-field input,
.floating-field textarea {
  width: 100%;
  padding: 20px 18px 8px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-size: 16px;
  background: #f8fafc;
  transition: all 0.3s ease;
  font-family: inherit;
}

.floating-field textarea {
  min-height: 140px;
  resize: vertical;
}

.floating-field label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-field.textarea-field label {
  top: 24px;
}

.floating-field input:focus,
.floating-field textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field textarea:focus + label,
.floating-field textarea:not(:placeholder-shown) + label {
  top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  transform: translateY(0);
}

.field-accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 0 0 14px 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-field input:focus ~ .field-accent,
.floating-field textarea:focus ~ .field-accent {
  width: 100%;
  left: 0;
}

/* Submit Button Modern */
.submit-btn-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: white;
  border: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
}

.submit-btn-modern .btn-icon {
  transition: transform 0.4s ease;
}

.submit-btn-modern:hover .btn-icon {
  transform: translateX(4px);
}

.btn-ripple {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}

.submit-btn-modern:hover .btn-ripple {
  animation: ripple-effect 0.6s ease;
}

@keyframes ripple-effect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Terms Checkbox Styling */
.modern-contact-form label[for="agreeTerms"] a {
  transition: all 0.2s;
}

.modern-contact-form label[for="agreeTerms"] a:hover {
  text-decoration: underline;
  color: #1e40af;
}

/* Contact Info Visual Side */
.contact-split-info {
  position: relative;
  min-height: 600px;
}

.info-visual-bg {
  position: absolute;
  inset: 0;
}

.info-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 95, 0.85));
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.info-block {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.info-block:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(8px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.info-icon.pulse {
  animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.info-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.info-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Hours Timeline */
.hours-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hour-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hour-item .day {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  width: 70px;
}

.time-bar {
  flex: 1;
  height: 6px;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 3px;
  max-width: 100px;
}

.time-bar.short {
  max-width: 60px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.time-bar.closed {
  max-width: 30px;
  background: #ef4444;
}

.hour-item .time {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
}

.hour-item .time.closed {
  color: #ef4444;
}

/* FAQ Section */
.contact-faq-section {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  margin-bottom: 30px;
}

.faq-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question span {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
}

.faq-icon {
  color: #64748b;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #3b82f6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
}

/* ============================================
   ARTICLE HERO & LAYOUT
   ============================================ */

.article-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f172a;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(30, 41, 59, 0.6) 40%,
    rgba(15, 23, 42, 0.95) 100%
  );
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 48px 60px;
  max-width: 1200px;
  width: 100%;
}

.article-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}

.article-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-hero-breadcrumb a:hover {
  color: white;
}

.article-hero-breadcrumb svg {
  opacity: 0.5;
}

.article-hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
}

.article-hero-category {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.article-hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.article-meta-item svg {
  opacity: 0.7;
}

.article-meta-divider {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

/* Article Layout */
.article-main-container {
  padding: 60px 40px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

/* Stack main + sidebar below desktop width so text never squeezes beside the author card */
@media (max-width: 991px) {
  .article-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 32px;
  }

  .article-main {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .article-sidebar {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .article-sidebar-sticky {
    position: static !important;
    top: auto !important;
    max-width: 100% !important;
  }
}

.article-main {
  min-width: 0;
  width: 100%;
}

.article-content-wrapper {
  background: #ffffff;
  padding: 56px;
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
  line-height: 1.8;
}

.article-content-wrapper .article-content {
  max-width: none;
  padding: 0;
  font-size: 17px;
  color: #334155;
}

.article-content-wrapper .article-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

.article-content-wrapper .article-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  margin: 32px 0 16px 0;
  line-height: 1.4;
}

.article-content-wrapper .article-content p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-content-wrapper .article-content ul,
.article-content-wrapper .article-content ol {
  margin: 20px 0;
  padding-left: 28px;
}

.article-content-wrapper .article-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.article-content-wrapper .article-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  font-style: italic;
  color: #475569;
}

.article-share-section {
  background: #f8fafc;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.article-share-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.share-buttons-modern {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn-modern {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.share-btn-modern svg {
  width: 20px;
  height: 20px;
}

.share-btn-modern.linkedin {
  background: #0077B5;
  color: white;
}

.share-btn-modern.twitter {
  background: #1DA1F2;
  color: white;
}

.share-btn-modern.facebook {
  background: #1877F2;
  color: white;
}

.share-btn-modern.email {
  background: #EA4335;
  color: white;
}

.share-btn-modern.copy {
  background: #64748b;
  color: white;
}

.share-btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Article Sidebar */
.article-sidebar {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 100%;
}

.article-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.article-author-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: visible;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: 32px;
}

.author-badge-top {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
  z-index: 1;
}

.article-author-card .author-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
}

.author-avatar-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin: 0 auto;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.author-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-card-body {
  padding: 28px 24px 24px;
  text-align: center;
}

.author-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.author-card-body .author-title {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
}

.author-card-body .author-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.author-card-body .author-email svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.author-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon-link.linkedin:hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.social-icon-link.twitter:hover {
  background: #14171a;
  color: white;
  border-color: #14171a;
}

.social-icon-link.email:hover {
  background: #1e3a5f;
  color: white;
  border-color: #1e3a5f;
}

.article-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.quick-action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.quick-action-btn.primary {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.quick-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Article Actions Bar */
.article-actions-bar {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 32px 0;
}

.actions-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.action-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-bar-btn svg {
  flex-shrink: 0;
}

.action-bar-btn.secondary {
  background: #ffffff;
  color: #334155;
  border: 2px solid #e2e8f0;
}

.action-bar-btn.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.action-bar-btn.primary {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.action-bar-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.3);
  background: linear-gradient(135deg, #2d4a6f 0%, #1e293b 100%);
}

/* Related Articles Section */
.related-articles-section {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 60px;
  border-top: 1px solid #e2e8f0;
  grid-column: 1 / -1;
  width: 100%;
}

.related-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.related-subtitle {
  font-size: 16px;
  color: #64748b;
}

/* ============================================
   RESPONSIVE - Pages
   ============================================ */

@media (max-width: 1024px) {
  /* About Page Responsive */
  .about-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
  
  .about-stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .about-stat-item:nth-child(2n) {
    border-right: none;
  }
  
  .about-stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  
  .about-section-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  /* Article Layout for Tablet */
  .article-layout {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
  
  .article-content-wrapper {
    padding: 40px;
  }
  
  .article-main-container {
    padding: 60px 32px 80px;
  }
  
  .about-section-visual {
    order: -1;
  }
  
  .visual-frame img {
    height: 400px;
  }
  
  .offer-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantage-timeline {
    padding-left: 50px;
  }
  
  /* Contact Page Responsive */
  .contact-methods-section {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
  
  .contact-method-item:last-child {
    grid-column: span 2;
    max-width: 300px;
    justify-self: center;
  }
  
  .contact-split-section {
    grid-template-columns: 1fr;
  }
  
  .contact-split-info {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 100vh;
    margin-top: -60px !important;
  }
  
  /* Remove margin from page containers to allow hero to reach top */
  #aboutPage,
  #servicesPage, 
  #contactPage,
  #subscribePage,
  #blogListingPage,
  #articlePage,
  #blogDetailPage,
  #actsListingPage,
  #actDetailPage,
  #rulesListingPage,
  #ruleDetailPage,
  #casesListingPage,
  #caseDetailPage,
  #guidesListingPage,
  #guideDetailPage,
  #homePage,
  div[style*="margin-top: 80px"] {
    margin-top: 0 !important;
  }
  
  /* Hero sections reach the top and overlay header */
  .page-hero,
  .hero-banner,
  .home-hero,
  .perspectives-hero,
  .resources-hero,
  .contact-hero {
    margin-top: 0 !important;
  }
  
  .page-hero-content {
    padding: 120px 20px 48px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-banner {
    margin-top: 0 !important;
  }
  
  .hero-banner-content {
    padding-top: 100px;
  }
  
  .perspectives-hero .page-hero-content {
    padding-top: 100px;
  }
  
  /* Home hero: symmetric gutters, readable scale */
  .home-hero .page-hero-content {
    text-align: left !important;
    padding: 120px 20px 48px !important;
    max-width: 100% !important;
  }
  
  .home-hero .page-hero-title {
    font-size: clamp(52px, 12.5vw, 80px) !important;
    text-align: left !important;
  }
  
  .home-hero .page-hero-subtitle {
    max-width: 100% !important;
    text-align: left !important;
  }
  
  .page-hero-title {
    font-size: 32px;
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.2;
  }
  
  .page-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    padding: 0;
    max-width: 100%;
  }
  
  .page-hero-badge {
    font-size: 11px;
    padding: 6px 18px;
    letter-spacing: 1.5px;
  }
  
  .page-hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .hero-stat-number {
    font-size: 32px;
  }
  
  .hero-stat-label {
    font-size: 11px;
  }
  
  /* Article Actions Bar Responsive */
  .article-actions-bar {
    margin: 40px auto 0;
    padding: 24px 20px;
  }
  
  .actions-bar-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .action-bar-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  /* About Page Responsive */
  .about-stats-bar {
    grid-template-columns: 1fr;
    margin: -30px 20px 0;
  }
  
  .about-stat-item {
    border-right: none;
    padding: 24px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .about-section {
    padding: 30px 24px;
  }
  
  .about-section-text h2,
  .section-header-center h2 {
    font-size: 32px;
  }
  
  .visual-accent {
    display: none;
  }
  
  .visual-badge {
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
  }
  
  .visual-badge strong {
    font-size: 28px;
  }
  
  .offer-interactive-grid {
    grid-template-columns: 1fr;
  }
  
  .offer-tile {
    padding: 32px;
  }
  
  .advantage-timeline {
    padding-left: 0;
  }
  
  .advantage-timeline::before {
    display: none;
  }
  
  .advantage-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
  }
  
  .advantage-marker {
    position: static;
    margin-bottom: 16px;
  }
  
  .about-cta-section {
    padding: 30px 24px;
  }
  
  .cta-text h2 {
    font-size: 28px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
  
  /* Contact Page Responsive */
  .contact-methods-section {
    grid-template-columns: 1fr;
    margin: -30px 20px 0;
  }
  
  .contact-method-item:last-child {
    grid-column: auto;
    max-width: none;
  }
  
  .contact-split-form {
    padding: 30px 24px;
  }
  
  .form-section-header h2 {
    font-size: 28px;
  }
  
  .form-field-group {
    grid-template-columns: 1fr;
  }
  
  .info-overlay-content {
    padding: 40px 24px;
  }
  
  .info-block {
    padding: 20px;
  }
  
  .contact-faq-section {
    margin: 0 auto 30px;
  }
  
  .faq-header h2 {
    font-size: 28px;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question span {
    font-size: 15px;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
  }
  
  /* Article Page Responsive */
  .article-hero {
    min-height: 50vh;
    margin-top: -60px !important;
    align-items: flex-end;
    position: relative;
  }
  
  .article-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.3) 0%,
      rgba(30, 41, 59, 0.7) 50%,
      rgba(15, 23, 42, 0.95) 100%
    ) !important;
  }
  
  .article-hero-content {
    padding: 80px 24px 32px;
    max-width: 100%;
    text-align: left;
  }
  
  .article-hero-breadcrumb {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    line-height: 1.5;
  }
  
  .article-hero-breadcrumb a {
    padding: 2px 0;
    display: inline-block;
  }
  
  .article-hero-breadcrumb svg {
    width: 12px;
    height: 12px;
  }
  
  .article-hero-category {
    font-size: 10px;
    padding: 5px 14px;
    margin-bottom: 12px;
  }
  
  .article-hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 700;
  }
  
  .article-hero-meta {
    gap: 8px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .article-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    opacity: 0.9;
  }
  
  .article-meta-divider {
    display: none;
  }
  
  .article-main-container {
    padding: 40px 0 60px;
  }
  
  .article-hero + .article-main-container {
    margin-top: 40px;
  }
  
  .article-content-wrapper {
    padding: 32px 20px;
    border-radius: 16px;
    margin-bottom: 32px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .article-content-wrapper .article-content {
    font-size: 16px;
    line-height: 1.75;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  
  .article-content-wrapper .article-content h2 {
    font-size: 24px;
    margin: 32px 0 16px 0;
  }
  
  .article-content-wrapper .article-content h3 {
    font-size: 20px;
    margin: 24px 0 12px 0;
  }
  
  .article-content-wrapper .article-content p {
    margin-bottom: 18px;
  }
  
  .article-content-wrapper .article-content ul,
  .article-content-wrapper .article-content ol {
    margin: 16px 0;
    padding-left: 24px;
  }
  
  .article-content-wrapper .article-content li {
    margin-bottom: 10px;
  }
  
  .article-content-wrapper .article-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    font-size: 15px;
  }
  
  .article-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .article-sidebar {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    margin: 40px 0 0 0;
    position: static !important;
    display: block !important;
    order: 2;
    flex-shrink: 0;
  }
  
  .article-main {
    padding: 0 20px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    order: 1;
    flex: 1 1 auto;
  }
  
  .article-sidebar-sticky {
    position: static !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Perspectives article: force single column + full-width text (fixes squeezed grid + sidebar overlap) */
  #articlePage .article-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  #articlePage .article-main-container.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  #articlePage .article-main {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }

  #articlePage .article-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }

  #articlePage .article-sidebar-sticky {
    max-width: 100% !important;
  }

  #articlePage .article-content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .article-author-card {
    margin-top: 24px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative !important;
  }
  
  .author-badge-top {
    font-size: 10px;
    padding: 8px 20px;
    top: -14px;
    z-index: 2;
  }
  
  .article-author-card .author-card-header {
    padding: 48px 24px 36px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  }
  
  .author-avatar-large {
    width: 96px;
    height: 96px;
    font-size: 36px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #3b82f6, #1e40af);
  }
  
  .author-card-body {
    padding: 36px 24px 32px;
    text-align: center;
  }
  
  .author-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e293b;
    font-weight: 700;
  }
  
  .author-card-body .author-title {
    font-size: 14px;
    margin-bottom: 18px;
    color: #64748b;
  }
  
  .author-card-body .author-email {
    font-size: 13px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    justify-content: center;
    word-break: break-word;
    padding: 0 12px;
    background: #f8fafc;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .author-social-links {
    gap: 12px;
    padding-top: 20px;
    margin-top: 4px;
    display: flex;
    justify-content: center;
  }
  
  .social-icon-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .social-icon-link svg {
    width: 18px;
    height: 18px;
  }
  
  .article-author-card,
  .article-quick-actions {
    min-width: auto;
  }
  
  .article-share-section {
    padding: 28px 24px;
    border-radius: 16px;
    margin: 0 20px;
    background: #f8fafc;
    text-align: center;
  }
  
  .article-share-title {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #1e293b;
  }
  
  .share-buttons-modern {
    justify-content: center;
    gap: 12px;
  }
  
  .share-btn-modern {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  
  .article-actions-bar {
    padding: 24px 20px;
    margin-top: 20px;
  }
  
  .actions-bar-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .action-bar-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
  }
  
  /* Related Articles Section Mobile */
  .related-articles-section {
    margin: 40px 0 0;
    padding: 40px 20px 0;
  }
  
  .related-header {
    text-align: center;
    margin-bottom: 28px;
  }
  
  .related-title {
    font-size: 22px;
    margin-bottom: 6px;
  }
  
  .related-subtitle {
    font-size: 14px;
  }
  
  .related-articles-section .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  /* Remove margin from page containers to allow hero to reach top */
  #aboutPage,
  #servicesPage, 
  #contactPage,
  #subscribePage,
  #blogListingPage,
  #articlePage,
  #blogDetailPage,
  #actsListingPage,
  #actDetailPage,
  #rulesListingPage,
  #ruleDetailPage,
  #casesListingPage,
  #caseDetailPage,
  #guidesListingPage,
  #guideDetailPage,
  div[style*="margin-top: 80px"] {
    margin-top: 0 !important;
  }
  
  /* Hero section small screen */
  .page-hero {
    min-height: 100vh;
    margin-top: -60px !important;
  }
  
  .page-hero-content {
    padding: 96px 16px 40px;
  }

  #serviceDetailPage .sd-hero-content {
    padding-top: 96px !important;
    padding-bottom: 40px !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }
  
  .home-hero .page-hero-content {
    text-align: left !important;
    padding: 100px 16px 40px !important;
  }
  
  .home-hero .page-hero-title {
    font-size: clamp(50px, 12vw, 68px) !important;
    text-align: left !important;
    line-height: 1.12 !important;
  }
  
  .home-hero .page-hero-subtitle {
    text-align: left !important;
    max-width: 100% !important;
    font-size: 14px !important;
  }
  
  .page-hero-title {
    font-size: 26px;
  }
  
  .page-hero-subtitle {
    font-size: 14px;
  }
  
  .page-hero-badge {
    font-size: 10px;
    padding: 5px 14px;
  }
  
  .hero-stat-number {
    font-size: 28px;
  }
  
  .about-stats-bar {
    margin: -20px 16px 0;
    border-radius: 16px;
  }
  
  .about-stat-item {
    padding: 20px;
    gap: 12px;
  }
  
  .stat-icon-wrap {
    width: 44px;
    height: 44px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .contact-methods-section {
    margin: -20px 16px 0;
  }
  
  .contact-method-item {
    padding: 24px;
  }
  
  .method-icon-wrap {
    width: 60px;
    height: 60px;
  }
  
  .highlight-item {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Header & Footer - Light theme overrides (match home mobile bar on all pages) */
  .header,
  .header.scrolled,
  .home-page .header,
  .home-page .header.scrolled {
    background: var(--color-white) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%233b82f6' stroke-width='0.5' opacity='0.12'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2310b981' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E") !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 2px 8px rgba(16,24,40,0.06) !important;
  }

  .logo span {
    color: #0f172a !important;
  }

  /* Do not target #navMenu — mobile dropdown must stay solid white */
  .header .nav-menu:not(#navMenu) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-menu a {
    color: #0f172a !important;
  }

  #navMenu {
    background: #ffffff !important;
    background-image: none !important;
  }

  .footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    background-image: none !important;
    color: #000000 !important;
  }

  .footer::before {
    display: none !important;
  }

  .footer-section h3,
  .footer-logo p,
  .footer a {
    color: #000000 !important;
  }

  .footer-logo img {
    filter: none !important;
  }

  /* Article Page 480px Specific */
  .article-hero {
    min-height: 50vh;
    align-items: flex-end;
  }
  
  .article-hero-content {
    padding: 80px 16px 32px;
  }
  
  .article-hero-breadcrumb {
    font-size: 12px;
    gap: 4px;
  }
  
  .article-hero-category {
    font-size: 10px;
    padding: 5px 14px;
  }
  
  .article-hero-title {
    font-size: 24px;
    line-height: 1.25;
  }
  
  .article-hero-meta {
    font-size: 12px;
    gap: 10px;
  }
  
  .article-content-wrapper {
    padding: 24px 16px;
  }
  
  .article-content-wrapper .article-content {
    font-size: 15px;
  }
  
  .article-content-wrapper .article-content h2 {
    font-size: 22px;
  }
  
  .article-content-wrapper .article-content h3 {
    font-size: 18px;
  }
  
  .article-sidebar {
    padding: 0 16px;
    max-width: 100%;
  }
  
  .article-main {
    padding: 0 16px;
  }
  
  .article-sidebar-sticky {
    max-width: 100%;
  }
  
  .article-author-card {
    border-radius: 16px;
    overflow: visible;
    margin-top: 20px;
  }
  
  .article-author-card .author-card-header {
    padding: 44px 20px 32px;
  }
  
  .author-avatar-large {
    width: 88px;
    height: 88px;
    font-size: 32px;
  }
  
  .author-card-body {
    padding: 32px 20px 28px;
  }
  
  .author-card-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .author-card-body .author-email {
    font-size: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
  }
  
  .social-icon-link {
    width: 38px;
    height: 38px;
  }
  
  .article-share-section {
    margin: 0 16px;
    padding: 24px 20px;
  }
  
  .article-actions-bar {
    padding: 20px 16px;
  }
}

/* ============================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   ============================================ */

/* Tablet responsiveness */
@media (max-width: 1024px) {
  .hero-tagline {
    font-size: 16px !important;
    white-space: normal !important;
    max-width: 90% !important;
    margin: 0 auto 20px !important;
  }
  
  .blogs-slider .blog-card {
    min-width: min(100%, 320px) !important;
  }
  
  .footer-content {
    grid-template-columns: 1.2fr repeat(4, 1fr) !important;
    gap: 35px !important;
  }
  
  .footer-logo img {
    max-width: 180px;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 14px !important;
    white-space: normal !important;
    max-width: 95% !important;
    line-height: 1.6 !important;
    padding: 0 20px !important;
  }
  
  .hero-main-title {
    font-size: 38px !important;
    line-height: 1.2 !important;
  }
  
  .hero-cta-btn {
    padding: 14px 28px !important;
    font-size: 13px !important;
  }
  
  .section-title {
    font-size: 32px !important;
  }
  
  .section-subtitle {
    font-size: 16px !important;
    padding: 0 16px !important;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 100% !important;
  }
  
  .blogs-slider .blog-card {
    min-width: min(100%, 300px) !important;
  }
  
  .blogs-slider-container {
    padding: 0 16px !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }
  
  .footer-section {
    text-align: center !important;
  }
  
  .footer-links {
    text-align: center !important;
  }
  
  .footer-links li {
    justify-content: center !important;
  }
  
  .social-links {
    justify-content: center !important;
  }
  
  .newsletter-form {
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  
  .newsletter-input {
    width: 100% !important;
  }
  
  .newsletter-form button {
    width: 100% !important;
    padding: 12px 24px !important;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-banner {
    min-height: 70vh !important;
  }
  
  .hero-banner-content {
    padding: 80px 16px 40px !important;
  }
  
  .hero-tagline {
    font-size: 13px !important;
    padding: 0 10px !important;
  }
  
  .hero-main-title {
    font-size: 32px !important;
    margin-bottom: 24px !important;
  }
  
  .hero-cta-btn {
    padding: 12px 24px !important;
    font-size: 12px !important;
  }
  
  .section-title {
    font-size: 28px !important;
    padding: 0 16px !important;
  }
  
  .section-subtitle {
    font-size: 14px !important;
  }
  
  .container {
    padding: 32px 16px !important;
  }
  
  .expertise-card {
    padding: 20px !important;
  }
  
  .expertise-card h3 {
    font-size: 18px !important;
  }
  
  .expertise-card p {
    font-size: 14px !important;
  }
  
  .blogs-slider .blog-card {
    min-width: min(100%, 280px) !important;
  }
  
  .blog-card h3 {
    font-size: 16px !important;
  }
  
  .blog-card p {
    font-size: 13px !important;
  }
  
  .footer-section h3 {
    font-size: 14px !important;
    letter-spacing: 1px !important;
  }
  
  .footer-section p,
  .footer-links li,
  .footer-links a {
    font-size: 13px !important;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 20px !important;
  }
  
  .footer-logo {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
  
  .newsletter-form {
    padding: 8px !important;
  }
  
  .newsletter-input {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  
  .newsletter-form button {
    padding: 10px 20px !important;
    font-size: 12px !important;
  }
  
  .header-content {
    padding: 10px 12px !important;
  }
  
  .logo-image {
    height: 32px !important;
  }
  
  .header .mobile-menu-btn {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
    box-shadow: 0 6px 16px rgba(30, 58, 175, 0.2) !important;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .hero-main-title {
    font-size: 28px !important;
  }
  
  .section-title {
    font-size: 24px !important;
  }
  
  .blogs-slider .blog-card {
    min-width: 260px !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center;
  }
  
  .footer-logo {
    align-items: center;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links li {
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
}
/* ============================================
   PREVENT HORIZONTAL OVERFLOW
   ============================================ */

/* Ensure all sections and containers stay within viewport */
*, *::before, *::after {
  box-sizing: border-box;
}

.container,
.hero-banner,
.hero-banner-content,
.about-section,
.expertise-section,
.blogs-section,
.testimonials-section,
.cta-section,
.footer,
section,
main {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent text from causing overflow - Keep text intact */
h1, h2, h3, h4, h5, h6, p {
  word-wrap: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Ensure grid and flex containers don't overflow */
.expertise-grid,
.blogs-slider-container,
.footer-content,
.why-grid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Specific fix for hero content */
.hero-banner-content {
  width: 100%;
  box-sizing: border-box;
}

/* Ensure no absolute positioned elements cause overflow */
.page-wrapper,
#root {
  overflow-x: hidden;
  width: 100%;
}

/* ============================================
   MOBILE — SITE-WIDE HORIZONTAL ALIGNMENT
   (detail pages, listings, breadcrumbs — matches header gutter)
   ============================================ */
@media (max-width: 768px) {
  .breadcrumb,
  .content-section,
  .detail-hero-content,
  .detail-container {
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  .page-hero:not(.home-hero) .page-hero-content {
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  .detail-hero-subtitle,
  .detail-hero-desc {
    max-width: 100% !important;
  }

  .detail-hero-stats {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .detail-hero-stat {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .detail-hero-stat-value {
    font-size: clamp(1.15rem, 4.2vw, 1.65rem) !important;
    line-height: 1.2 !important;
  }

  .detail-hero-stat-label {
    font-size: 10px !important;
    letter-spacing: 0.4px !important;
    display: block !important;
  }

  .detail-main,
  .detail-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .detail-section-title {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .back-btn {
    box-sizing: border-box !important;
  }

  /* Resources section detail views (Acts, Rules, Notifications, etc.): hero begins below fixed header.
     Listing wrappers use margin-top: 80px but it is zeroed globally on mobile — detail pages need explicit top inset. */
  #actDetailPage,
  #ruleDetailPage,
  #caseDetailPage,
  #guideDetailPage,
  #notificationDetailPage,
  #circularDetailPage,
  #checklistDetailPage {
    padding-top: calc(72px + env(safe-area-inset-top, 0px)) !important;
    box-sizing: border-box !important;
  }

  #actDetailPage .detail-hero,
  #ruleDetailPage .detail-hero,
  #caseDetailPage .detail-hero,
  #guideDetailPage .detail-hero,
  #notificationDetailPage .detail-hero,
  #circularDetailPage .detail-hero,
  #checklistDetailPage .detail-hero {
    margin-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .breadcrumb,
  .content-section,
  .detail-hero-content,
  .detail-container {
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
  }
}

/* ============================================
   MOBILE — SERVICE DETAIL (sd-hero) + RESOURCES / SERVICES HEROES
   ============================================ */
@media (max-width: 768px) {
  /* Service detail page: remove top offset + double horizontal padding so hero is full-width and aligned */
  #serviceDetailPage {
    padding-top: 0 !important;
  }

  #serviceDetailPage > .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #serviceDetailPage .sd-back-bar {
    padding: 16px max(16px, env(safe-area-inset-left, 0px)) 12px max(16px, env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  #serviceDetailPage .sd-back-bar .back-btn {
    margin: 0 !important;
  }

  #serviceDetailContent {
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* Match Perspectives `.page-hero` mobile (~7498 + 7524): 100vh band; margin-top 0 like `.page-hero` after cascade */
  #serviceDetailPage .sd-hero {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    border-radius: 0 !important;
    align-items: flex-end !important;
  }

  #serviceDetailPage .sd-hero-content {
    padding-top: 120px !important;
    padding-bottom: 48px !important;
    padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(20px, env(safe-area-inset-right, 0px)) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sd-hero-title {
    font-size: clamp(26px, 6.5vw, 34px) !important;
    line-height: 1.15 !important;
  }

  .sd-hero-subtitle {
    max-width: 100% !important;
    font-size: 15px !important;
    margin-bottom: 22px !important;
  }

  .sd-hero-stats {
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sd-stat {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .sd-stat-number {
    font-size: clamp(22px, 5.5vw, 30px) !important;
  }

  .sd-stat-label {
    font-size: 10px !important;
    letter-spacing: 0.4px !important;
  }

  .sd-main {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Resources hub: shorter hero than 100vh (Services listing uses same `.page-hero` rules as Perspectives) */
  #resourcesPage .page-hero.resources-hero {
    min-height: min(70vh, 520px) !important;
  }

  #resourcesPage .page-hero-content {
    padding-top: 96px !important;
    padding-bottom: 40px !important;
    padding-left: max(16px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(16px, env(safe-area-inset-right, 0px)) !important;
    text-align: center !important;
  }

  #resourcesPage .page-hero-title {
    font-size: clamp(28px, 7vw, 36px) !important;
    line-height: 1.15 !important;
  }

  #resourcesPage .page-hero-subtitle {
    max-width: 100% !important;
    font-size: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Services listing hero: align with Perspectives — full-bleed band + default `.page-hero` height (100vh) */
  #servicesPage {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  #servicesPage > .page-hero.services-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0 !important;
    box-sizing: border-box;
  }
}

/* ============================================
   MOBILE SCROLL ANIMATIONS
   ============================================ */

/* Scroll animations for mobile */
@media (max-width: 768px) {
  .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .page-hero-content {
    animation: heroFadeIn 1s ease-out forwards;
  }
  
  @keyframes heroFadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .expertise-card,
  .blog-card,
  .service-card,
  .resource-category {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .expertise-card.visible,
  .blog-card.visible,
  .service-card.visible,
  .resource-category.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Stagger animation delays for cards */
  .expertise-card:nth-child(1) { transition-delay: 0.1s; }
  .expertise-card:nth-child(2) { transition-delay: 0.2s; }
  .expertise-card:nth-child(3) { transition-delay: 0.3s; }
  .expertise-card:nth-child(4) { transition-delay: 0.4s; }
  
  .blog-card:nth-child(1) { transition-delay: 0.1s; }
  .blog-card:nth-child(2) { transition-delay: 0.2s; }
  .blog-card:nth-child(3) { transition-delay: 0.3s; }
  
  /* Related articles are injected after load — no scroll observer adds .visible */
  .related-articles-section .blog-card,
  #relatedArticles .blog-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .service-card:nth-child(1) { transition-delay: 0.1s; }
  .service-card:nth-child(2) { transition-delay: 0.2s; }
  .service-card:nth-child(3) { transition-delay: 0.3s; }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}