/* ==========================================================================
   EXECUTIVE DESIGN SYSTEM - DR. VASUDEVAN NAIR, PhD
   ========================================================================== */

:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Smooth Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ==========================================================================
   THEME PALETTES (Dark default & Light)
   ========================================================================== */

/* Dark Theme (Default) */
[data-theme="dark"] {
  --bg-primary: #070B14;
  --bg-secondary: #0D1322;
  --bg-card: rgba(18, 26, 43, 0.75);
  --bg-card-hover: rgba(26, 38, 62, 0.85);
  --bg-elevated: #162035;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.4);
  --border-card: rgba(255, 255, 255, 0.06);

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --accent-gold: #F59E0B;
  --accent-gold-soft: rgba(245, 158, 11, 0.15);
  --accent-cyan: #38BDF8;
  --accent-cyan-soft: rgba(56, 189, 248, 0.15);
  --accent-blue: #3B82F6;
  --accent-emerald: #10B981;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px -5px rgba(56, 189, 248, 0.25);
  --header-bg: rgba(7, 11, 20, 0.8);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EEF2F6;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-elevated: #FFFFFF;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(37, 99, 235, 0.4);
  --border-card: rgba(15, 23, 42, 0.08);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;

  --accent-gold: #D97706;
  --accent-gold-soft: rgba(217, 119, 6, 0.12);
  --accent-cyan: #0284C7;
  --accent-cyan-soft: rgba(2, 132, 199, 0.12);
  --accent-blue: #2563EB;
  --accent-emerald: #059669;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 30px -5px rgba(37, 99, 235, 0.15);
  --header-bg: rgba(248, 250, 252, 0.85);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: opacity var(--transition-normal);
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  top: 600px;
  left: -200px;
  opacity: 0.2;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border var(--transition-normal);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-badge {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
  letter-spacing: 0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.2;
}

.logo-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.contact-pill {
  padding: 0.45rem 1.1rem !important;
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan) !important;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-weight: 600;
}

.contact-pill:hover {
  background: var(--accent-cyan);
  color: #FFFFFF !important;
}

.contact-pill::after {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
}

/* Toggle visibility depending on theme */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 1.3rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.title-sub {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 2.2rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-tagline strong {
  color: var(--text-main);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #0A66C2, #004182);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 102, 194, 0.45);
}

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

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

/* Hero Visual / Executive ID Card */
.hero-visual {
  position: relative;
}

.executive-card-glow {
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(245, 158, 11, 0.15));
  filter: blur(30px);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.executive-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.avatar-monogram {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

.avatar-monogram span {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.verified-ring {
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 26px;
  height: 26px;
  background: var(--accent-emerald);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
}

.verified-ring svg {
  width: 16px;
  height: 16px;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.card-role {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.card-company {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.8rem;
}

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

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* ==========================================================================
   METRICS BAR
   ========================================================================== */

.metrics-bar {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.8rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.metric-icon svg {
  width: 22px;
  height: 22px;
}

.metric-data {
  display: flex;
  flex-direction: column;
}

.metric-data strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-data span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHARED SECTION STYLES
   ========================================================================== */

.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3.2rem;
}

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

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.6rem auto 0;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.about-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.about-bio-card p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.about-bio-card strong {
  color: var(--text-main);
}

.domain-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.domain-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  gap: 1.3rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

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

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.pillar-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   COMPETENCIES / EXECUTIVE LEADERSHIP
   ========================================================================== */

.competencies-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.comp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.comp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-md);
}

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

.comp-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.comp-icon svg {
  width: 24px;
  height: 24px;
}

.comp-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.comp-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EXPERIENCE / TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.8rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--accent-cyan);
  z-index: 2;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.current-role .marker-dot {
  background: var(--accent-gold);
  border-color: var(--bg-primary);
  box-shadow: 0 0 14px var(--accent-gold);
  width: 22px;
  height: 22px;
}

.marker-line {
  position: absolute;
  top: 20px;
  bottom: -30px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--border-focus);
  transform: translateX(4px);
}

.current-role .timeline-card {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(145deg, var(--bg-card), var(--accent-gold-soft));
}

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

.timeline-tag.current {
  display: inline-block;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.role-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.company-name {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.role-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.role-period {
  font-weight: 600;
  color: var(--text-muted);
}

.role-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EDUCATION & CERTIFICATIONS
   ========================================================================== */

.credentials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.col-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-subtle);
}

.col-heading svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.cred-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  transition: all var(--transition-fast);
}

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

.edu-card.highlight-card {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(145deg, var(--bg-card), var(--accent-cyan-soft));
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.edu-spec {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-top: 0.2rem;
}

.edu-inst {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.edu-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

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

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

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

.cert-info h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

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

/* ==========================================================================
   AWARDS SECTION
   ========================================================================== */

.awards-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.award-trophy {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-trophy svg {
  width: 28px;
  height: 28px;
}

.award-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.award-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.featured-award {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(160deg, var(--bg-card), var(--accent-gold-soft));
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.8rem auto 2.5rem;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-method-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.contact-method-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  background: var(--bg-elevated);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-icon.linkedin-bg {
  background: rgba(10, 102, 194, 0.15);
  color: #0A66C2;
}

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

.contact-method-info {
  display: flex;
  flex-direction: column;
}

.contact-method-info .label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-method-info .value {
  font-size: 0.92rem;
  color: var(--text-main);
  word-break: break-word;
  margin-top: 0.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  background: var(--bg-primary);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--accent-cyan);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   RESPONSIVENESS (Mobile & Tablet)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .competencies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .mobile-toggle-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

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

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

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

  .timeline-item {
    grid-template-columns: 24px 1fr;
    gap: 1rem;
  }

  .timeline-header {
    flex-direction: column;
  }

  .role-meta {
    align-items: flex-start;
    margin-top: 0.4rem;
  }

  .contact-card {
    padding: 2.2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
