/* ==========================================================================
   Md Mahfuzur Rahman - Senior Software Engineer – DevOps
   Design System: Simple, Refined & Elegant Two-Column Portfolio
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Theme Variables
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg: #0B0F19;
  --bg-gradient-top: #0E1424;
  --bg-gradient-bottom: #090D15;
  --surface: #131B2E;
  --surface-alt: #18233C;
  --surface-hover: #1D2A47;
  --sidebar-bg: #0E1524;
  --sidebar-border: #1E2B45;

  --text: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  --primary: #38BDF8;
  --primary-dark: #0284C7;
  --primary-soft: rgba(56, 189, 248, 0.14);
  --accent: #10B981;
  --accent-soft: rgba(16, 185, 129, 0.15);

  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.45);
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);

  --hero-gradient: linear-gradient(135deg, #131F38 0%, #1A284A 100%);
  --hero-border: rgba(56, 189, 248, 0.25);
}

:root {
  --bg: #F8FAFC;
  --bg-gradient-top: #FFFFFF;
  --bg-gradient-bottom: #F1F5F9;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-hover: #E2E8F0;
  --sidebar-bg: #FFFFFF;
  --sidebar-border: #E2E8F0;

  --text: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-soft: #E0F2FE;
  --accent: #059669;
  --accent-soft: rgba(5, 150, 105, 0.12);

  --border: #E2E8F0;
  --border-focus: rgba(2, 132, 199, 0.4);

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);

  --hero-gradient: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  --hero-border: rgba(2, 132, 199, 0.2);

  --sidebar-width: 280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: 200ms ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* --------------------------------------------------------------------------
   3. Application Shell & Fixed Sidebar
   -------------------------------------------------------------------------- */
.app-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Mobile Hamburger & Overlay */
.hamburger {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text);
  position: relative;
  content: "";
  transition: transform var(--transition);
}

.hamburger span::before {
  position: absolute;
  top: -6px;
}

.hamburger span::after {
  position: absolute;
  top: 6px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 40;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar Container */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 50;
  overflow-y: auto;
  transition: transform var(--transition), background-color var(--transition);
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Controls: Language & Theme */
.sidebar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.language-switcher,
.theme-switcher {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.lang-button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-button.active {
  background: var(--primary);
  color: #FFFFFF;
}

.theme-button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-button svg {
  width: 15px;
  height: 15px;
}

.theme-button.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Sidebar Profile Card */
.sidebar-profile {
  text-align: center;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sidebar-avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 6px;
}

.sidebar-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.avatar-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  border: 2.5px solid var(--sidebar-bg);
  border-radius: 50%;
}

.sidebar-profile h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.sidebar-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.3;
}

.sidebar-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  border: none;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}

.nav-link:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active svg {
  opacity: 1;
  stroke: var(--primary);
}

/* Sidebar Footer */
.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.sidebar-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.sidebar-location svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   4. Main Content Area & Section Pages
   -------------------------------------------------------------------------- */
.main-content {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  padding: 40px 52px 80px;
  max-width: 1100px;
}

.page {
  display: block;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 20px;
}

.page:last-child {
  border-bottom: none;
}

.page-header {
  margin-bottom: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.breadcrumb button {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}

.page-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   5. Cards, Grids & Global Elements
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--border-focus);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.card-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --------------------------------------------------------------------------
   6. Home Page (Overview)
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-panel {
  background: var(--hero-gradient);
  border: 1px solid var(--hero-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 8px;
}

.hero-panel h2 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero-panel .subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 14px;
}

.hero-panel .bio {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.95;
  margin-bottom: 24px;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  min-width: 110px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Hero Aside */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image {
  display: none; /* Image is in sidebar */
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.hero-meta-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.hero-meta-item strong {
  font-size: 0.92rem;
  color: var(--text);
}

.hero-meta-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Timeline Preview on Home */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--surface);
}

.timeline-item .date {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.timeline-item .company {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Skill Bars & Tags (Elegant, Animated, Grounded)
   -------------------------------------------------------------------------- */
.skill-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.skill-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.skill-bar-pct {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #38BDF8);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-tags, .tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skill-tag, .tool-tags span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--transition);
}

.skill-tag:hover, .tool-tags span:hover {
  border-color: var(--border-focus);
  color: var(--primary);
}

/* Spoken Languages dots */
.languages-compact {
  margin-top: 24px;
}

.lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.lang-row:last-child {
  border-bottom: none;
}

.lang-row span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.lang-level {
  display: flex;
  gap: 5px;
}

.lang-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.lang-dot.filled {
  background: var(--primary);
  border-color: var(--primary);
}

.skills-bottom-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.info-list span {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}

.body-copy {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.body-copy:last-child {
  margin-bottom: 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fact-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-card .emoji {
  font-size: 1.4rem;
}

.fact-card strong {
  font-size: 0.9rem;
  color: var(--text);
}

.fact-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9. Experience Section
   -------------------------------------------------------------------------- */
.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.exp-card:hover {
  border-color: var(--border-focus);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.exp-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.exp-company {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}

.exp-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.exp-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.exp-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.exp-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.exp-highlights li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.exp-tags span {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Projects Section (Clean, SVG Visuals)
   -------------------------------------------------------------------------- */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
}

.project-image {
  width: 100%;
  height: 180px;
  background: #090E17;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.project-card-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.project-tech span {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Education & Certifications
   -------------------------------------------------------------------------- */
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.cert-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-icon svg {
  width: 20px;
  height: 20px;
}

.cert-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

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

/* --------------------------------------------------------------------------
   12. Contact Section & Forms
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.form-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.btn-primary {
  padding: 11px 24px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 1000;
}

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

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 860px) {
  .hamburger {
    display: inline-flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 70px 20px 60px;
  }

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

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

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

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

  .form-grid.two-col {
    grid-template-columns: 1fr;
  }
}
