/* 
   Bhumish Panchal - Executive Portfolio Stylesheet
   Precision Industrial Engineering, Global R&D, EMEA Cooling & Nature Green Protection Theme
   Fully Responsive Multi-Device Stylesheet (320px to 4K Displays)
*/

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

:root {
  /* Color Palette - Dark Slate Navy (Default) */
  --bg-dark: #070c18;
  --bg-primary: #0b132b;
  --bg-secondary: #111d3d;
  --bg-card: rgba(22, 36, 71, 0.65);
  --bg-card-hover: rgba(30, 48, 92, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-blue: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #0284c7 50%, #06b6d4 100%);
  --accent-glow: rgba(16, 185, 129, 0.25);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Light Theme Variables - Red Gradient Background */
[data-theme="light"] {
  --bg-dark: #fff1f2;
  --bg-primary: #ffe4e6;
  --bg-secondary: #fecdd3;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-color: rgba(225, 29, 72, 0.18);
  --border-highlight: rgba(225, 29, 72, 0.45);
  
  --text-primary: #4c0519;
  --text-secondary: #881337;
  --text-muted: #9f1239;
  
  --accent-glow: rgba(225, 29, 72, 0.2);
  --shadow-main: 0 20px 40px -15px rgba(159, 18, 57, 0.15);
}

[data-theme="light"] body {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 30%, #fecdd3 65%, #fda4af 100%) fixed !important;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: clamp(3.5rem, 8vh, 6rem) 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  word-break: break-word;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 241, 242, 0.92);
  border-bottom: 1px solid rgba(225, 29, 72, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 12px var(--accent-glow);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Selector */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-select-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  height: 42px;
}

.lang-select-btn:hover,
.lang-select-btn:focus {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.lang-select-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.lang-selector-wrapper.open .lang-select-btn i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  min-width: 145px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1100;
  overflow: hidden;
  padding: 0.35rem 0;
}

.lang-selector-wrapper.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  padding: 0.6rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-emerald);
}

/* 100% Hide Google Translate top banner frame & header popups */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
#google_translate_element .goog-te-gadget-simple {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.skiptranslate {
  font-family: inherit !important;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  min-height: 46px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile Slide-Out Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 2rem;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 320px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-emerald);
}

/* Hero Section Background - Framed Head to Half-Body with Scroll Reveal */
.hero {
  min-height: 100vh;
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(5rem, 9vh, 6.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  z-index: 2;
}

.hero-bg-overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: 
    linear-gradient(to bottom, rgba(7, 12, 24, 0.45) 0%, transparent 25%, transparent 75%, rgba(7, 12, 24, 0.95) 100%),
    linear-gradient(90deg, 
      rgba(7, 12, 24, 0.88) 0%, 
      rgba(7, 12, 24, 0.58) 38%, 
      rgba(7, 12, 24, 0.15) 75%, 
      transparent 100%),
    url('assets/hero_ted_background.jpg');
  background-size: cover;
  background-position: center 15%; /* Perfectly framed: A little above head down to half body */
  opacity: 0.95;
  filter: none; /* 100% sharp image */
  pointer-events: none;
  transition: opacity 0.15s ease-out, background-position 0.15s ease-out;
}

[data-theme="light"] .hero-bg-overlay {
  background-image: 
    linear-gradient(to bottom, rgba(255, 241, 242, 0.45) 0%, transparent 25%, transparent 75%, rgba(255, 228, 230, 0.95) 100%),
    linear-gradient(90deg, 
      rgba(255, 241, 242, 0.9) 0%, 
      rgba(255, 228, 230, 0.7) 38%, 
      rgba(254, 205, 211, 0.25) 75%, 
      transparent 100%),
    url('assets/hero_ted_background.jpg');
  opacity: 0.92;
}

.global-fixed-bg {
  display: none;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.04) translate(-8px, -4px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero-highlights-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-highlights-list li {
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-highlights-list li i {
  color: var(--accent-emerald);
  font-size: 1rem;
}

/* Core Automation Platforms Badge Strip in Hero */
.hero-platforms-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.platforms-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .platform-badge {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.platform-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.platform-badge-rockwell:hover {
  border-color: #E31837;
  background: rgba(227, 24, 55, 0.15);
}

.platform-badge-codesys:hover {
  border-color: #E2001A;
  background: rgba(226, 0, 26, 0.15);
}

.platform-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.platform-info {
  display: flex;
  flex-direction: column;
}

.platform-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.platform-sub {
  font-size: 0.74rem;
  color: var(--accent-emerald);
  font-weight: 500;
}

/* Floating Top Corner Tech Badges on Executive Portrait Card */
.hero-top-tech-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.hero-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(11, 19, 43, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-tech-pill:hover {
  transform: scale(1.05);
}

.hero-tech-rockwell:hover {
  border-color: #FF4D6D;
}

.hero-tech-codesys:hover {
  border-color: #E2001A;
}

.hero-tech-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bar-icon-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.2rem;
}

.hero-signature-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid var(--accent-emerald);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.hero-signature-quote .quote-icon {
  color: var(--accent-emerald);
  font-size: 0.85rem;
}

.hero-signature-quote .quote-text {
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero-signature-quote .quote-author {
  font-weight: 700;
  font-style: normal;
  color: var(--accent-emerald);
  margin-left: 0.2rem;
}

/* Gogo-Style Bottom Horizontal Credibility & Solutions Bar */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0;
}

[data-theme="light"] .hero-bottom-bar {
  background: rgba(255, 241, 242, 0.95);
  border-top: 1px solid rgba(225, 29, 72, 0.15);
}

.hero-bar-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-bar-container::-webkit-scrollbar {
  display: none;
}

.bar-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.bar-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.bar-item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.bar-item i {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.bar-item:hover {
  color: var(--accent-emerald);
}

.bar-item:hover i {
  transform: translateX(3px);
  color: var(--accent-emerald);
}

.hero-eco-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  word-break: break-word;
  color: var(--text-primary);
}

.hero-subhead {
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.7;
}

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

/* 4 Instant Credibility Proof Points */
.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: var(--transition-smooth);
}

.proof-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
}

.proof-value {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.2rem;
}

.proof-label {
  font-size: clamp(0.75rem, 1.5vw, 0.825rem);
  color: var(--text-secondary);
  line-height: 1.3;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-highlight);
  background: var(--bg-card);
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image-card:hover .hero-img {
  transform: scale(1.02);
}

.hero-badge-floating {
  position: absolute;
  bottom: 2.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

[data-theme="light"] .hero-badge-floating {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.badge-text h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.badge-text p {
  color: #e2e8f0;
  font-size: 0.82rem;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-text h4 {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin-bottom: 0.15rem;
}

.badge-text p {
  font-size: clamp(0.75rem, 1.8vw, 0.8rem);
  color: var(--text-secondary);
}

/* Executive Pillars / About Me Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Executive Glassmorphism Pillar Cards with Subtle Ambient Glowing Accents */
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

/* Card 1: Global R&D & NPD - Subtle Emerald Glow */
.pillar-card-npd {
  background: 
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
    var(--bg-card);
}

/* Card 2: Data Center & Liquid Cooling - Subtle Cyan AI Glow */
.pillar-card-datacenter {
  background: 
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.14) 0%, transparent 55%),
    var(--bg-card);
}

/* Card 3: Environmental Green Protection - Subtle Amber/Green Eco Glow */
.pillar-card-green {
  background: 
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    var(--bg-card);
}

/* Light Mode Ambient Card Gradients */
[data-theme="light"] .pillar-card-npd {
  background: 
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .pillar-card-datacenter {
  background: 
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
    rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .pillar-card-green {
  background: 
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
    rgba(255, 255, 255, 0.92);
}

/* Top Accent Line on Hover */
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

/* Interactive Hover State */
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-emerald);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.25);
}

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

.pillar-card-npd:hover {
  background: 
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.22) 0%, transparent 65%),
    var(--bg-card-hover);
}

.pillar-card-datacenter:hover {
  background: 
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.24) 0%, transparent 65%),
    var(--bg-card-hover);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.25);
}

.pillar-card-green:hover {
  background: 
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.22) 0%, transparent 65%),
    var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.25);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.pillar-title {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Executive Bio Story Box */
.executive-story-box {
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.story-img-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  width: 100%;
}

.story-img {
  width: 100%;
  height: clamp(280px, 40vh, 360px);
  object-fit: cover;
  object-position: top center;
  display: block;
}

.story-content h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

.story-content p {
  color: var(--text-secondary);
  font-size: clamp(0.925rem, 2vw, 1rem);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.story-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  word-break: break-word;
}

[data-theme="light"] .chip {
  background: rgba(0, 0, 0, 0.04);
}

/* Selected Case Studies / Work */
.case-study-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  touch-action: manipulation;
  white-space: nowrap;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--accent-glow);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-main);
}

.project-img-wrapper {
  position: relative;
  height: clamp(180px, 30vh, 240px);
  overflow: hidden;
  background: #000000;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.9;
}

.project-card:hover .project-img {
  transform: scale(1.05);
  opacity: 1;
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  margin-bottom: 0.6rem;
}

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

.project-tech-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

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

.btn-link {
  color: var(--accent-emerald);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-link:hover {
  color: var(--accent-cyan);
  gap: 0.6rem;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 12, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: scale(0.95);
  transition: var(--transition-smooth);
  -webkit-overflow-scrolling: touch;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-emerald);
  color: #ffffff;
}

.modal-header {
  margin-bottom: 2rem;
  padding-right: 2.5rem;
}

.modal-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section h4 {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--accent-emerald);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section p, .modal-section ul {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.modal-section ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.modal-section ul li {
  margin-bottom: 0.5rem;
}

/* Timeline / Career Journey */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3.5rem;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 2;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-main);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeline-bullets {
  list-style: none;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

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

/* Technical Competencies Matrix */
.skills-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.skills-search-bar {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}

.skills-input {
  flex-grow: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
}

.skills-input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.skill-category-box h4 {
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  margin-bottom: 1rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-pills-wrap {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.skill-pill {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.skill-pill:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.skill-pill i {
  color: var(--accent-amber);
}

/* Education & Certifications */
.edu-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.edu-card, .cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: var(--transition-smooth);
}

.edu-card:hover, .cert-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.edu-item {
  margin-bottom: 1.5rem;
}

.edu-item-border {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-bottom: 0;
}

.edu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cert-header {
  margin-bottom: 1rem;
}

.edu-title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-university {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.badge-distinction {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.edu-year {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

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

.cert-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

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

.cert-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cert-issuer {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cert-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Contact & Mandatory Fields Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-details p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  word-break: break-word;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.required-asterisk {
  color: var(--accent-red);
  margin-left: 0.2rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control:invalid:focus {
  border-color: var(--accent-red);
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem 0;
  background: var(--bg-primary);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

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

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.social-icon:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* Toast Alert */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  max-width: 90vw;
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Mobile, Tablet, Laptop, Desktop, 4K)
   ========================================================================== */

/* Large Laptops / Desktop Displays (< 1280px) */
@media (max-width: 1280px) {
  .container {
    width: 92%;
  }
}

/* Tablets & Small Laptops (< 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 2;
    max-width: 540px;
    margin: 0 auto;
  }

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

  .executive-story-box {
    grid-template-columns: 1fr;
  }

  .story-img-container {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .skills-categories-grid {
    grid-template-columns: 1fr;
  }

  .edu-cert-grid {
    grid-template-columns: 1fr;
  }

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

/* Tablets & Mobile Navigation (< 820px / 768px) */
@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Smartphones (< 640px) */
@media (max-width: 640px) {
  .hero-proof-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 42px;
    margin-bottom: 2.5rem;
  }

  .timeline-dot {
    left: 1px;
    width: 24px;
    height: 24px;
  }

  .case-study-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .toast-alert {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
  }
}

/* Small Smartphones (< 380px - e.g. iPhone SE / 320px) */
@media (max-width: 380px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }

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

  .hero-badge-floating {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
  }

  .badge-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .skill-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
  }
}

/* Landscape Orientation on Mobile Devices (< 500px height) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-img {
    height: 300px;
  }

  .mobile-menu-overlay {
    justify-content: flex-start;
    padding-top: 5rem;
    overflow-y: auto;
  }
}
