:root {
  --bg-main: #0A0C10;
  --bg-card: #121620;
  --bg-elevated: #161B26;
  --border: #232B3A;
  --border-hover: #3A465E;
  --gold: #FFC837;
  --gold-glow: rgba(255, 200, 55, 0.25);
  --neon: #00FF94;
  --neon-glow: rgba(0, 255, 148, 0.25);
  --cyan: #00D2FF;
  --cyan-glow: rgba(0, 210, 255, 0.25);
  --text-white: #FFFFFF;
  --text-muted: #9BA5B7;
  --text-dim: #606A7C;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

/* Global Link Resets & Mobile Auto-Detection Protection */
a, a:link, a:visited {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Plain text links inside paragraphs or content */
p a, .footer-content a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

p a:hover, .footer-content a:hover {
  color: var(--gold);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient light orbs */
.glow-orb {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
}

.orb-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.orb-2 {
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, var(--neon-glow) 0%, transparent 70%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

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

.profile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.avatar-header-frame {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--neon) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 200, 55, 0.3);
  box-sizing: border-box;
}

.avatar-header-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  background: #111;
  display: block;
  box-sizing: border-box;
}

.status-indicator {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  background: var(--neon);
  border: 2px solid var(--bg-main);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon);
  z-index: 3;
}

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

.brand-info .name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-white);
  letter-spacing: -0.2px;
}

.brand-info .role {
  font-size: 0.72rem;
  color: var(--gold);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.4);
  color: #70B5F9;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-header-social:hover {
  background: #0A66C2;
  color: #fff;
  border-color: #0A66C2;
}

.nav-btn {
  background: rgba(255, 200, 55, 0.12);
  border: 1px solid rgba(255, 200, 55, 0.3);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--gold);
  color: #0A0C10;
}

/* Hero Section */
.hero {
  padding: 70px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 200, 55, 0.1);
  border: 1px solid rgba(255, 200, 55, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.8px;
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.gradient-gold {
  background: linear-gradient(135deg, #FFC837 0%, #00FF94 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Motto Card */
.motto-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(22, 27, 38, 0.7);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  margin-bottom: 22px;
}

.motto-quote-icon {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.8;
}

.motto-text {
  font-style: italic;
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-desc strong {
  color: var(--text-white);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E5A812 100%);
  color: #0A0C10;
  box-shadow: 0 6px 20px rgba(255, 200, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 200, 55, 0.4);
}

.btn-linkedin {
  background: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.3);
}

.btn-linkedin:hover {
  background: #0077B5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 102, 194, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-primary {
  background: #00E383;
  color: #0A0C10;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 227, 131, 0.3);
}

.btn-primary:hover {
  background: #00FF94;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 227, 131, 0.45);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

/* Tech Tags Bar */
.tech-tags-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.tag-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-right: 4px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
}

.tech-tag.highlight {
  background: rgba(255, 200, 55, 0.08);
  border-color: rgba(255, 200, 55, 0.3);
  color: var(--gold);
  font-weight: 600;
}

/* Legendary Profile Card (Hero Right) */
.hero-card-wrapper {
  display: flex;
  justify-content: center;
}

.profile-legendary-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #161A23 0%, #10131A 100%);
  border: 1px solid rgba(255, 200, 55, 0.3);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 200, 55, 0.08);
  text-align: center;
  overflow: hidden;
}

.profile-legendary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--neon) 100%);
}

.profile-photo-container {
  position: relative;
  width: 140px;
  height: 140px;
  max-width: 140px;
  max-height: 140px;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.photo-gold-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 50%, var(--neon) 100%);
  box-shadow: 0 0 25px rgba(255, 200, 55, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-full-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: #111;
  display: block;
}

.photo-badge-online {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #0A0C10;
  border: 1px solid rgba(0, 255, 148, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--neon);
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 1.8s infinite;
}

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

.card-identity {
  margin-bottom: 18px;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.card-title-text {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.profile-topic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.topic-tag {
  background: rgba(255, 200, 55, 0.08);
  border: 1px solid rgba(255, 200, 55, 0.3);
  color: #FFF;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.card-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin-bottom: 22px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  border-radius: 10px;
}

.spec-label {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 2px;
}

.spec-val {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.card-footer-action {
  width: 100%;
}

.card-btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: rgba(255, 200, 55, 0.12);
  border: 1px solid rgba(255, 200, 55, 0.35);
  color: var(--gold);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.card-btn-email:hover {
  background: var(--gold);
  color: #0A0C10;
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.bg-elevated {
  background: #0E1118;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Flashy Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-5px);
}

/* Specialized Borders & Shines */
.cert-card.gold-border {
  border: 1px solid rgba(255, 200, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 200, 55, 0.1);
}
.cert-card.gold-border:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 200, 55, 0.25);
}

.cert-card.cyan-border {
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.1);
}
.cert-card.cyan-border:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.25);
}

.cert-card.emerald-border {
  border: 1px solid rgba(0, 255, 148, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 148, 0.1);
}
.cert-card.emerald-border:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 148, 0.25);
}

.cert-card.trophy-border {
  border: 1px solid rgba(255, 165, 0, 0.5);
  background: linear-gradient(180deg, #181512 0%, #12141A 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 165, 0, 0.15);
}
.cert-card.trophy-border:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 165, 0, 0.3);
}

.cert-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.cert-badge-pill {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  letter-spacing: 0.5px;
}

.cert-badge-pill.trophy {
  background: rgba(255, 165, 0, 0.15);
  color: #FFA500;
}

.cert-org {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
}

.cert-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.shield-icon { background: rgba(255, 200, 55, 0.1); color: var(--gold); }
.server-icon { background: rgba(0, 210, 255, 0.1); color: var(--cyan); }
.code-icon { background: rgba(0, 255, 148, 0.1); color: var(--neon); }
.trophy-icon { background: rgba(255, 165, 0, 0.15); color: #FFA500; }

.cert-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.35;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cert-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.cert-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.cert-status.verified {
  color: var(--neon);
}

.cert-status.award {
  color: #FFA500;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  transition: all 0.25s ease;
}

.skill-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.skill-cat {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}

.skill-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.skill-list li strong {
  color: #E2E8F0;
}

/* Education Timeline */
.education-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 24px;
  position: relative;
  transition: all 0.25s ease;
}

.edu-card:hover {
  border-color: rgba(255, 200, 55, 0.4);
  transform: translateY(-4px);
}

.edu-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 200, 55, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.edu-level {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.edu-school {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.edu-field {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 12px;
}

.edu-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Featured Project Showcase */
.project-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.project-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.tech-stack-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.project-metrics-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 28px;
}

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

.pm-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}

.pm-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 2px;
}

.project-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-preview {
  display: flex;
  justify-content: center;
}

.device-mockup {
  max-width: 280px;
  border-radius: 28px;
  padding: 8px;
  background: #1C212D;
  border: 2px solid #2C3548;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.device-mockup img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Contact */
.contact-container {
  text-align: center;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
  margin: 12px 0 16px;
}

.contact-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: #080A0D;
}

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

.footer-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 12, 16, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}

.drawer-link:hover {
  color: var(--gold);
}

.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.drawer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #70B5F9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.drawer-studio-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.6rem; }
  .hero-card-wrapper { order: -1; }
  .project-showcase { grid-template-columns: 1fr; padding: 32px; }
  .project-preview { order: -1; }
  .education-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .cert-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px; }
  .hero-title { font-size: clamp(2rem, 7vw, 2.5rem); line-height: 1.2; }
  .hero-desc { font-size: 0.98rem; line-height: 1.7; }
  .contact-title { font-size: 2rem; }
  .footer-content { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .project-links { width: 100%; }
  .project-links .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .profile-brand .name { font-size: 0.95rem; }
  .profile-brand .role { font-size: 0.65rem; }
  .header-actions .btn-text { display: none; }
  .header-actions .btn-header-social { padding: 7px 10px; }
  .header-actions .nav-btn { display: none; }
  .badge { font-size: 0.65rem; padding: 5px 10px; }
  .motto-card { padding: 12px 14px; }
  .motto-text { font-size: 0.88rem; }
  .profile-legendary-card { padding: 22px 16px; border-radius: 18px; }
  .profile-photo-container { width: 120px; height: 120px; }
  .card-name { font-size: 1.5rem; }
  .card-specs-grid { grid-template-columns: 1fr; gap: 8px; }
  .cert-card { padding: 20px 16px; }
  .cert-title { font-size: 1.05rem; }
  .skill-card { padding: 22px 16px; }
  .project-showcase { padding: 20px 16px; }
  .project-name { font-size: 1.5rem; }
  .project-metrics-list { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 36px 18px; border-radius: 18px; }
  .contact-title { font-size: 1.8rem; }
}
