/* ===== CUSTOM STYLES FOR ANURAG CHH HOMEPAGE ===== */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #ffffff;
  --secondary-color: #f8f9fa;
  --accent-color: #4ecdc4;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;

  /* Cohesive gradient palette */
  --gradient-hero: linear-gradient(135deg, #071140 0%, #102b6d 50%, #0d1e4f 100%);
  --gradient-panel: linear-gradient(135deg, #061047 0%, #0f2445 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(6, 16, 71, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-primary: linear-gradient(135deg, #4ecdc4 0%, #667eea 100%);
  --gradient-secondary: linear-gradient(135deg, #061047 0%, #1e3a8a 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);

  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
  --border-radius: 20px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Caveat', cursive;
  
  /* Unified Spacing System */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */
  --space-3xl: 6rem;     /* 96px */
  --space-4xl: 8rem;     /* 128px */
  
  /* Section Spacing */
  --section-padding-y: var(--space-3xl);
  --section-margin: var(--space-xl);
  --content-spacing: var(--space-lg);
  --element-spacing: var(--space-md);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #dadada;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p, ol, ul, a {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
}

/* Enhanced Link Styles */
a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
  transform: translateY(-1px);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent-color), #667eea);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* Selection Styling */
::selection {
  background: rgba(78, 205, 196, 0.3);
  color: var(--text-primary);
}

/* Enhanced Section Styling */
.home {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin: var(--section-margin) var(--section-margin);
}

/* Hero Section */
.home1 {
  padding: 0;
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* Hero Layout: full-bleed photo + text panel side by side */
.hero-grid {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
}

.hero-media {
  flex: 0 0 50%;
  position: relative;
  min-height: 100%;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 35%;
  position: absolute;
  inset: 0;
}

.hero-text {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-3xl);
}

/* AI typing indicator shown while the hero copy is "typed" on load */
.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-bottom: var(--space-sm);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.35);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  animation: aiIndicatorIn 0.5s ease-out 0.15s forwards;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ai-typing-indicator.is-done {
  opacity: 0;
  transform: translateY(-4px);
}

.ai-typing-indicator.is-hidden {
  display: none;
}

.ai-typing-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent-color);
  animation: aiSparklePulse 1.4s ease-in-out infinite;
}

.ai-typing-icon {
  width: 100%;
  height: 100%;
}

.ai-typing-label {
  white-space: nowrap;
}

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

@keyframes aiSparklePulse {
  0%, 100% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1) rotate(8deg);
    opacity: 1;
  }
}

/* Typewriter caret that trails the text being "typed" */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  margin-left: 1px;
  background: var(--accent-color);
  animation: typewriterBlink 0.8s steps(1) infinite;
  vertical-align: -0.15em;
}

.home-i1 .typewriter-cursor {
  height: 0.9em;
}

.home-i2 .typewriter-cursor {
  height: 1em;
}

@keyframes typewriterBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* CTAs wait for typing to finish before revealing */
.hero-cta-group.reveal-after-typing {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-cta-group.reveal-after-typing.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ai-typing-indicator,
  .ai-typing-orb,
  .typewriter-cursor {
    animation: none;
  }

  .hero-cta-group.reveal-after-typing {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991px) {
  .home1,
  .hero-grid {
    min-height: auto;
    height: auto;
  }

  .hero-grid {
    flex-direction: column;
  }

  .hero-media {
    flex: 0 0 auto;
    min-height: auto;
    height: 45vh;
    max-height: 320px;
  }

  .hero-photo {
    position: static;
  }

  .hero-text {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
  }

  .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home1,
  .hero-grid {
    min-height: auto;
    height: auto;
  }

  .hero-media {
    height: 40vh;
    max-height: 240px;
  }

  .hero-text {
    padding: var(--space-lg) var(--space-md);
  }
}

/* About Section */
.home2 {
  padding: var(--section-padding-y) 0;
    background: var(--gradient-overlay), url(asset/grit-gray.jpg);  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 16, 71, 0.15);
  backdrop-filter: blur(1px);
}

.home2 .container {
  position: relative;
  z-index: 2;
}

/* Experience Sections */
.home-comp {
  padding: 0;
  background: var(--gradient-panel);
}

/* Experience Layout: photo + text panel side by side, like the hero */
.exp-grid {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 480px;
}

.exp-grid--reverse {
  flex-direction: row-reverse;
}

.exp-media {
  flex: 0 0 45%;
  position: relative;
  min-height: 100%;
}

.exp-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.exp-text {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-3xl);
}

@media (max-width: 991px) {
  .exp-grid,
  .exp-grid--reverse {
    flex-direction: column;
    min-height: auto;
  }

  .exp-media {
    flex: 0 0 auto;
    min-height: auto;
    height: 45vh;
    max-height: 320px;
  }

  .exp-photo {
    position: static;
  }

  .exp-text {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
  }
}

@media (max-width: 480px) {
  .exp-media {
    height: 40vh;
    max-height: 240px;
  }

  .exp-text {
    padding: var(--space-lg) var(--space-md);
  }
}

/* Current Activities Section */
.home3 {
  padding: var(--section-padding-y) 0;
  background: var(--gradient-dark);
  position: relative;
}

.home3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.home3 .container {
  position: relative;
  z-index: 2;
}

/* Typography Classes */
.home-i1, h1.home-i1, h3.home-i1 {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--element-spacing);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.home-i2, .home2-i2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--content-spacing);
}

.home2-i1, h2.home2-i1 {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.home3-i3 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--content-spacing);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Experience Section Styles */
.current-role {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--content-spacing);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  backdrop-filter: blur(10px);
}

.role-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.company-name {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.company-name a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.company-name a:hover {
  border-bottom-color: var(--accent-color);
}

.role-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

.career-timeline {
  position: relative;
  padding-left: var(--content-spacing);
}

.career-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), rgba(78, 205, 196, 0.3));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--content-spacing);
  padding-left: var(--element-spacing);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--element-spacing));
  top: var(--space-xs);
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: calc(var(--space-xs) / 2);
  line-height: 1.3;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline-company a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.timeline-company a:hover {
  color: var(--accent-color);
}

/* Premium Activities Section */
.current-activities-premium {
  margin-top: var(--content-spacing);
}

.activity-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.activity-intro a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.activity-intro a:hover {
  border-bottom-color: var(--accent-color);
}

.activity-location {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

/* Premium Connect Section */
.connect-section-premium {
  margin-top: var(--content-spacing);
}

.connect-intro-premium {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.social-links-premium {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.social-link-premium {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.social-link-premium:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.social-separator {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

.disclaimer-premium {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-premium .home3-i3 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Caveat Font Class */
.caveat {
  font-family: var(--font-accent);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.5rem, 5vw, 2rem);
}

/* List Styling */
ul {
  padding: 0;
  list-style-type: none;
}

li {
  margin: 1rem 0;
  position: relative;
  padding-left: 1.5rem;
}

li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.list-inline-item {
  display: inline-block;
}

/* Enhanced Buttons and Interactive Elements */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.cta-button::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.5s;
}

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

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.cta-button.ai-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
  padding: 0.9rem 1.75rem;
}

.cta-button.ai-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ai-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.ai-icon--chatgpt path {
  fill: currentColor;
}

/* Floating Bottom Quick-Links Menu — Apple-style Liquid Glass */
.floating-bottom-menu {
  --glass-radius: 999px;
  position: fixed;
  left: 50%;
  bottom: 1.75rem;
  z-index: 1000;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: var(--glass-radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(36px) saturate(220%) brightness(1.08);
  -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 1px rgba(255, 255, 255, 0.15),
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 130%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform, opacity;
}

/* Adaptive tint: when the glass floats over a light section, it switches to a
   darker, higher-contrast material — the same way Apple's Liquid Glass
   controls re-tint themselves against light vs. dark content underneath. */
.floating-bottom-menu.theme-light {
  background: rgba(8, 15, 50, 0.6);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 1px 1px rgba(255, 255, 255, 0.08),
    0 20px 40px -10px rgba(15, 23, 42, 0.35),
    0 4px 14px rgba(15, 23, 42, 0.22);
}

.floating-bottom-menu.theme-light::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0) 55%);
}

.floating-bottom-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.floating-bottom-menu::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.floating-bottom-menu.is-visible {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.floating-menu-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  border-radius: calc(var(--glass-radius) - 2px);
  color: var(--text-primary);
  font-weight: 590;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: transparent;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-menu-btn + .floating-menu-btn::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.floating-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px) scale(1.015);
}

.floating-menu-btn:active {
  transform: translateY(0) scale(0.97);
  background: rgba(255, 255, 255, 0.1);
  transition-duration: 0.15s;
}

.theme-light .floating-menu-btn + .floating-menu-btn::before {
  background: rgba(255, 255, 255, 0.14);
}

.theme-light .floating-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.25);
}

.theme-light .floating-menu-btn:active {
  background: rgba(255, 255, 255, 0.08);
}

.floating-menu-btn:hover + .floating-menu-btn::before,
.floating-menu-btn:hover::before {
  opacity: 0;
}

.floating-menu-btn .ai-icon {
  width: 1.1rem;
  height: 1.1rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.floating-menu-btn .external-icon {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0.55;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .floating-bottom-menu {
    flex-direction: column;
    align-items: stretch;
    left: auto;
    right: 1rem;
    bottom: 1.25rem;
    gap: 2px;
    transform: translateY(130%) scale(0.92);
    border-radius: 26px;
  }

  .floating-bottom-menu.is-visible {
    transform: translateY(0) scale(1);
  }

  .floating-menu-btn + .floating-menu-btn::before {
    left: 22%;
    right: 22%;
    top: -1px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .floating-menu-btn {
    justify-content: flex-start;
    padding: 0.7rem 1.1rem;
  }
}

/* Global Reach Section */
.global-reach-section {
  padding: 0;
  background: #eef4fb;
}

.global-reach-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.global-reach-map {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}

.global-reach-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-sm);
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  background: linear-gradient(to bottom, rgba(238, 244, 251, 0.95) 0%, rgba(238, 244, 251, 0.75) 5%, rgba(238, 244, 251, 0) 40%);
  text-align: center;
}

.global-reach-content .home2-i1,
.global-reach-content h2.home2-i1 {
  color: #0f2f66;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.global-reach-subtitle {
  text-align: center;
  color: #3d5a80;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .global-reach-map {
    aspect-ratio: 3 / 2;
    object-position: 38% 45%;
  }

  .global-reach-content {
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-md) var(--space-lg);
  }

  .global-reach-content .home2-i1,
  .global-reach-content h2.home2-i1 {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }
}

@media (max-width: 480px) {
  .global-reach-map {
    aspect-ratio: 1 / 1;
    object-position: 32% 45%;
  }

  .global-reach-content {
    gap: var(--space-xs);
    padding: var(--space-lg) var(--space-sm) var(--space-md);
  }

  .global-reach-content .home2-i1,
  .global-reach-content h2.home2-i1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .global-reach-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

/* Newsletter Section Styling */
.newsletter-section {
  background: var(--gradient-secondary);
  padding: 4rem 0;
  text-align: center;
}

.newsletter-section a {
  font-size: clamp(2rem, 4vw, 4.5rem);
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.newsletter-section a:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(78, 205, 196, 0.4);
}

/* Product for Humans - Flash Cards */
.pfh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.pfh-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
}

.pfh-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-medium);
}

.pfh-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.pfh-card:hover .pfh-card-image {
  transform: scale(1.04);
}

.pfh-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  flex-grow: 1;
}

.pfh-card-date {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pfh-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
}

.pfh-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  flex-grow: 1;
}

.pfh-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pfh-card--loading {
  padding: var(--space-lg) var(--space-md);
  color: var(--text-muted);
  font-style: italic;
  grid-column: 1 / -1;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

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

  .home3 .row > .col-12:first-child {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 600px) {
  .pfh-cards {
    grid-template-columns: 1fr;
    margin-top: var(--space-xl);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  :root {
    --section-margin: var(--space-lg);
    --section-padding-y: calc(var(--space-3xl) * 0.8);
  }
  
  .home {
    margin: var(--section-margin) var(--section-margin);
  }
}

@media (max-width: 768px) {
  :root {
    --section-margin: var(--space-sm);
    --section-padding-y: calc(var(--space-3xl) * 0.6);
    --content-spacing: var(--space-md);
    --element-spacing: var(--space-sm);
  }
  
  .home {
    border-radius: 15px;
    margin: var(--section-margin) var(--section-margin);
  }
  
  .list-inline {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .current-role {
    padding: var(--space-md);
  }
  
  .career-timeline {
    padding-left: var(--space-md);
  }

  .career-timeline::before {
    left: 0.5rem;
  }

  .timeline-item {
    padding-left: var(--space-md);
  }

  .timeline-item::before {
    left: calc(-1 * var(--space-md) + 3px);
  }

  .home3 {
    padding: var(--space-2xl) 0;
  }

  .home3 .row > .col-12:first-child {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
  }

  .current-activities-premium,
  .connect-section-premium {
    margin-top: var(--space-md);
  }

  .activity-intro,
  .connect-intro-premium {
    font-size: 1rem;
  }

  .disclaimer-premium {
    margin-top: var(--space-lg);
  }
}

@media (max-width: 480px) {
  :root {
    --section-margin: var(--space-sm);
    --section-padding-y: calc(var(--space-3xl) * 0.5);
    --content-spacing: var(--space-sm);
    --element-spacing: var(--space-xs);
  }
  
  .home {
    border-radius: 10px;
    margin: var(--section-margin) var(--section-margin);
  }

  .newsletter-section a {
    font-size: 2.5rem;
  }
  
  .current-role {
    padding: var(--space-sm);
  }
  
  .timeline-item {
    margin-bottom: var(--space-sm);
  }

  .social-links-premium {
    justify-content: center;
    gap: var(--space-sm);
  }

  .home3 {
    padding: var(--space-xl) 0;
  }

  .home3 .row > .col-12:first-child {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
  }

  .home3 .home2-i1 {
    text-align: center;
  }

  .activity-intro,
  .activity-location,
  .connect-intro-premium {
    text-align: center;
  }

  .disclaimer-premium {
    text-align: center;
    margin-top: var(--space-md);
  }

  .newsletter-section {
    padding: var(--space-xl) var(--space-md);
  }

  .newsletter-section a {
    word-break: break-word;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Utility Classes */
.margin-top-10 {
  margin-top: 10px;
}

.margin-top-15 {
  margin-top: 15px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --accent-color: #00ffff;
  }
}

/* Dark Mode Enhancements (already dark by default) */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
  }
}
