/* ===========================
   MODERN REDESIGN 2026
   Sophisticated Boutique Trust Company
   =========================== */

:root {
  /* Premium Color Palette */
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --gold-500: #d4af37;
  --gold-400: #f0c14b;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --white: #ffffff;
  
  /* Semantic Colors */
  --primary: #1e3a8a;
  --primary-dark: #1e293b;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --gold: #d4af37;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --background: #ffffff;
  --background-alt: #f8fafc;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   GLOBAL RESET & BASE
   =========================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-light);
  color: var(--white);
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.0625rem;
}

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

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* ===========================
   NAVIGATION - PREMIUM GLASS
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 0.5rem;
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo i {
  font-size: 2.25rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  align-items: center;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  position: relative;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--accent);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -0.375rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* ===========================
   BUTTONS - MODERN PREMIUM
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* ===========================
   HERO - MODERN LUXURY
   =========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 58, 138, 0.70) 100%),
    url('https://sspark.genspark.ai/cfimages?u1=HewToiGOXLWGkL8C0uotj76YUxlxiHmESfR7ch3oor4h5Jbzm0fg4rhaEqw%2BLvO4HsBRwcVO9vXXtRDmSI%2BdZ6V%2FaP%2BTMY%2FcvARWxTTSqgzzKK5LH8yHW4jtijFpOw7voq0Wcv%2FY8MdtAINFKqQOn90j8tQ9mUaEXH61fi1%2FVAh1pF7CWCP9O1PbCzu1Nse%2Fb%2Brnq%2F9pOB9GGL8akwO3V8s1z96KZWt4aase%2B%2FeJEjXmzPkQM5gmLDsovEyF4KywVonzaepCANgYmK%2FZstrsuTtRrD%2F4FjtmV06SHdLQnACM2h%2B6FMsHFRXlPm7%2FSiJwxqs9h%2BuM%2FThgz%2FevTpVPLh8x2FvD0CoRZuzDFp4gdoV%2BTGwVOE%2FSo2F0LxP48v9eG%2Fdfypzd%2FfH0kSgdoOXGPKsQTJGqRZj5MVhPPZhZrEmRqL590K45YEjJ9wg55zO5Pwaa%2FtYESGUc6Y8Do%2Brj%2FIzSWNJGEgoF8wAo1E4CCSz894INWt5Qvl%2FctX1aCYBP6%2FhZSHLyTT6gDO5hruXPDRBJNUKT2oNyBK3M9BwdhCK%2FEXTxCE%2FGFEc7nRUG79UslxhhddfjJbDaY9AE37RQIdo%2BoVIStneGgaaAk79SnFwRIwaZ6y5kJu979KxKBMZf1uFPoKx0lMDCE42ZruHRdz9jL1NjYfq76k15V1%2FpNMi0Sea%2BLzaqjf4L5ENpJHTjbsi8%2BjUYwJm%2BVyy4noxWyMZiqxoHdDVTAe2kylmEqybrRQ%3D%3D&u2=NAD8N%2BJnCjrgshhz&width=2560');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding-top: 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #d4af37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-stat-number i {
  font-size: 2rem;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ===========================
   SECTIONS - MODERN CARDS
   =========================== */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

/* Trust Banner - Value Props */
.trust-banner {
  background: var(--slate-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Services Grid - Premium Cards */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

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

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.service-features li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Expertise Grid */
.expertise {
  background: var(--slate-50);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.expertise-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.expertise-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.expertise-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.expertise-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Global Network */
.global-network {
  background: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.85)),
    url('https://sspark.genspark.ai/cfimages?u1=2fPM1k5cyJsc0ODhueavrVfz7EabQxgMW16Di2GUxgeKPiws%2F9t4t00cXqWfZBN9aiotw2%2Fbnse2BWlpbOxGY%2Bgu%2BKrNwCseo%2FGgvvRfSi5mQPIPTo05sLvDlJ7vkUTAmmti3DubqGOAHL4Wkep1vfUbOlOhVTyR8i9ELMYPfuSBRVSVd8ys9DsC%2B3d3ASNn3Eqzs0be9BN%2B94GQvG1sLU9l2zKqm4usKLT38BjpX67lIOoAWZ%2Bs1ZuKofxIcxaqbWtDv797OumEjWf29iOdv6vn7qH%2BjlvqFCeDMjbnMyuCeSH3BP6BddOEkTgooxngK9jihtLgMMKjbOdnMhcjrBvoFFd8a2U44CTLDgSEjUTRPNTI6SF7%2B3RGkfuiebP3QHmVeC56PaR%2FaH8GPHXBvMur5%2F1rXHewnPiJc82WNvCpt%2FFFm4MwABqVoyjvfpHvb19EELX3OgNyJVk7aW7kTSoWALPipe6d3Q1uCxD1Vt1%2FTGqRw%2BPySz%2BdrJrNvH1wM6SE9GuaCtHWuMujVhgca8JrsTNRh6uZIIE0fYkhkcZMYSUP0Or%2BZrm5fV9L2qLUBeOpiOVTpuqmTQSTBszjGA7F8%2BIFyKLXtPf4BrRM9kvFniLc2yC%2By1n2e2hIvA%3D%3D&u2=OHrnRf4MJGrEF%2B6r&width=2560');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.office-region {
  background: var(--slate-50);
  padding: 2rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent);
}

.office-region h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.office-region h3 i {
  color: var(--accent);
}

.office-list {
  list-style: none;
}

.office-list li {
  padding: 0.875rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.office-list li:last-child {
  border-bottom: none;
}

.office-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.network-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

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

.network-feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.network-feature h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.network-feature p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Portfolio Grid */
.portfolio {
  background: var(--slate-50);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.portfolio-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--accent);
}

.portfolio-category {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.portfolio-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.portfolio-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

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

.result-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.portfolio-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 4rem 3rem;
  border-radius: 1rem;
  text-align: center;
  margin-top: 4rem;
  color: var(--white);
}

.portfolio-cta h3 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.portfolio-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* Contact Section */
.contact {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-item i {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--slate-50);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ===========================
   MOBILE RESPONSIVE
   =========================== */

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: clamp(3rem, 6vw, 4rem);
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 10001; /* Above chatbot (z-index: 1000) */
  transition: var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

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

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu-links {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-links a {
  padding: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-links a:not(.btn):hover {
  background: var(--slate-50);
  color: var(--accent);
}

.mobile-menu-links .btn {
  margin-top: 1rem;
}

/* Office Card Hover Effects */
.office-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-icon {
  animation: float 3s ease-in-out infinite;
}

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

/* Network Stats Grid - 6 columns on large screens */
@media (min-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

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

/* ========================================
   ENHANCED HOVER EFFECTS & ANIMATIONS
   ======================================== */

/* Enhanced Stat Card Hover Effects */
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
  border-color: var(--accent);
}

.stat-card:hover > div:first-child {
  transform: scaleX(1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  animation: none;
}

/* Network Feature Hover Effects */
.network-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  border-color: var(--accent);
}

.network-feature:hover .feature-accent {
  height: 100%;
}

/* Enhanced Office Card Hover Effects */
.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Enhanced Float Animation for Stat Icons */
@keyframes float-enhanced {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

.stat-icon {
  animation: float-enhanced 4s ease-in-out infinite;
}

/* Pulse Animation for Icon Backgrounds */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(37, 99, 235, 0.1);
  }
}

.stat-card:hover .stat-icon {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.stat-card:hover div[style*="background: linear-gradient"] {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* ========================================
   PREMIUM OFFICE CARDS ENHANCEMENTS
   ======================================== */

/* Office Card Hover - Enhanced Premium Effect */
.office-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Location Item Hover Effects */
.office-card li:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.05)) !important;
  border-color: rgba(37, 99, 235, 0.25) !important;
  transform: translateX(4px);
}

/* Icon Background Pulse on Hover */
.office-card:hover .fa-landmark,
.office-card:hover .fa-city,
.office-card:hover .fa-building,
.office-card:hover .fa-mosque,
.office-card:hover .fa-umbrella-beach {
  animation: icon-pulse 1.5s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Gradient Top Bar Animation */
.office-card:hover > div:first-child {
  animation: gradient-flow 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ===========================
   ACCESSIBILITY ENHANCEMENTS
   =========================== */

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999999;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

/* Focus Visible Styles */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --background: #ffffff;
    --border: #000000;
  }
}

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


/* ===========================
   Z-INDEX MANAGEMENT
   =========================== */

/* Z-Index Layer System:
 * 1-99: Base content
 * 100-199: Sticky elements
 * 200-299: Dropdowns
 * 1000-1999: Overlays
 * 2000-2999: Modals
 * 9000+: Critical UI (chatbot, notifications)
 */

.navbar {
  z-index: 100;
}

.mobile-menu {
  z-index: 2000 !important; /* Above chatbot */
}

.mobile-menu.active {
  right: 0;
}

/* Chatbot should be below mobile menu */
.ai-chatbot,
#ai-chatbot {
  z-index: 1500 !important;
}

.chatbot-toggle,
#chatbotToggle {
  z-index: 1500 !important;
}

.scroll-to-top {
  z-index: 1400 !important;
}


/* ===========================
   ENHANCED FORM STYLES
   =========================== */

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to Content Link (Accessibility) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 10002;
  transition: top 0.3s ease;
  border-radius: 0 0 0.5rem 0;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Form Error Messages */
.form-error {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: #10b981;
}

/* Form Success Message */
.form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  border: 1px solid #10b981;
  animation: slideDown 0.3s ease-out;
  transition: opacity 0.5s ease-out;
}

.form-success i {
  font-size: 1.5rem;
  color: #10b981;
}

.form-success strong {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-success p {
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* Form Error Message */
.form-error-message {
  background: #fee2e2;
  color: #991b1b;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
  border: 1px solid #ef4444;
  animation: slideDown 0.3s ease-out;
}

.form-error-message i {
  font-size: 1.5rem;
  color: #ef4444;
}

.form-error-message strong {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-error-message p {
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Loading State */
.btn .btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline-block;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Form Focus States */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Required Field Indicator */
.contact-form input:required:invalid,
.contact-form select:required:invalid,
.contact-form textarea:required:invalid {
  box-shadow: none;
}


/* ===========================
   STOCK EXCHANGE NEWS TICKER
   =========================== */

/* Ticker animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

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

/* Ticker container */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: flex;
  animation: scroll-left 60s linear infinite;
  will-change: transform;
}

/* Pause animation on hover */
.ticker-wrap:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ticker-content {
    animation-duration: 45s;
  }
  
  .ticker-item {
    font-size: 0.875rem;
  }
}


/* Live Economy News Section - Responsive Design */
@media (max-width: 768px) {
  /* Mobile: Stack news cards */
  .news-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Mobile: Adjust ticker label */
  .ticker-label {
    font-size: 0.75rem !important;
    padding: 0.375rem 0.875rem !important;
  }
  
  /* Mobile: Smaller news heading */
  .news-heading {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  /* Small mobile: Further adjustments */
  .ticker-content {
    animation-duration: 35s !important;
  }
  
  .ticker-item {
    padding: 0 1rem !important;
    gap: 1rem !important;
  }
}

/* ===========================
   ENHANCED MOBILE RESPONSIVENESS
   =========================== */

/* Tablet and Mobile Navigation */
@media (max-width: 968px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  /* Typography scaling */
  html {
    font-size: 15px;
  }
  
  body {
    font-size: 0.9375rem;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  /* Services grid - single column */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* News grid - single column */
  #news-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Cards */
  .service-card,
  .news-card {
    margin-bottom: 0;
  }
  
  /* Contact section */
  .contact-content {
    grid-template-columns: 1fr !important;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  
  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  /* Even tighter spacing */
  html {
    font-size: 14px;
  }
  
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Hero */
  .hero {
    padding: 6rem 0 3rem !important;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  /* Section padding */
  section {
    padding: 3rem 0 !important;
  }
  
  /* Stats - full width stacked */
  .hero-stats,
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Logo */
  .logo {
    font-size: 1.25rem !important;
  }
  
  .logo i {
    font-size: 1.5rem !important;
  }
  
  .logo-tagline {
    font-size: 0.625rem !important;
  }
  
  /* Navigation */
  .nav-content {
    padding: 1rem 0 !important;
  }
  
  /* Tables */
  table {
    font-size: 0.875rem;
  }
  
  /* Forms */
  input,
  textarea,
  select {
    font-size: 1rem; /* Prevent zoom on iOS */
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn,
  button,
  a {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .news-card:hover {
    transform: none !important;
  }
  
  /* Tap highlight */
  * {
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
  }
}

/* Landscape mobile orientation */
@media (max-width: 968px) and (orientation: landscape) {
  .hero {
    min-height: 60vh !important;
    padding: 6rem 0 3rem !important;
  }
  
  .mobile-menu {
    max-width: 50vw;
  }
}

/* News card mobile fixes */
@media (max-width: 768px) {
  .news-card {
    min-height: auto !important;
  }
  
  .news-card h3 {
    font-size: 1.125rem !important;
  }
  
  .news-card p {
    font-size: 0.875rem !important;
    -webkit-line-clamp: 3 !important;
  }
}

/* Market ticker mobile */
@media (max-width: 768px) {
  .market-ticker {
    font-size: 0.75rem !important;
  }
  
  .ticker-item {
    padding: 0.5rem 1rem !important;
  }
}

/* Founder page mobile */
@media (max-width: 768px) {
  .founder-profile-grid {
    grid-template-columns: 1fr !important;
  }
  
  .founder-image {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Contact form mobile */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .form-group {
    margin-bottom: 1rem !important;
  }
}

/* Portfolio cards mobile */
@media (max-width: 768px) {
  .portfolio-card {
    padding: 1.5rem !important;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --border: #000000;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles here if needed */
}

/* Print styles */
@media print {
  .navbar,
  .mobile-menu,
  .mobile-menu-btn,
  .hero-cta,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
  }
  
  a {
    text-decoration: underline;
  }
}


/* Hero stats responsive grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 968px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}


/* Network benefits responsive grid */
.network-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .network-benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .network-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

