/* ===================================================================
   YASIN ULLAH - PORTFOLIO DESIGN SYSTEM
   Modern, SaaS-Level, Glassmorphism, Dark Mode & Ultra-Responsive
   =================================================================== */

:root {
  /* Colors */
  --bg-primary: #070b14;
  --bg-secondary: #0d1424;
  --bg-card: rgba(13, 20, 36, 0.7);
  --bg-card-hover: rgba(20, 31, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);
  
  /* Fonts */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --container-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* Ambient Animated Grid / Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 15%, rgba(0, 242, 254, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(13, 20, 36, 0.5) 0%, transparent 100%);
}

.container {
  width: 84%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ===================================================================
   HEADER & NAVBAR
   =================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px; /* Exact compact header height */
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
  transition: var(--transition-bounce);
}

.brand:hover .brand-logo-img {
  transform: rotate(8deg) scale(1.08);
}

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

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}

.brand-tag {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===================================================================
   CYBER BOT MASCOT (Waving Salam Easter Egg)
   =================================================================== */
.brand {
  position: relative;
}

.brand-mascot-bot {
  position: absolute;
  top: 15px;
  left: 88px;
  z-index: 50;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  user-select: none;
  animation: mascotHoverFloat 3s ease-in-out infinite;
}

@keyframes mascotHoverFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(1.5deg);
  }
}

.mascot-avatar {
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.65));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-mascot-bot:hover .mascot-avatar {
  filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.95));
  transform: scale(1.12);
}

.bot-arm-wave {
  transform-origin: 35px 22px;
  animation: botArmWave 1.8s ease-in-out infinite;
}

@keyframes botArmWave {
  0%, 100% { transform: rotate(0deg); }
  25%, 65% { transform: rotate(-22deg); }
  45%, 85% { transform: rotate(8deg); }
}

/* Popped-Up / Welcoming Salam State */
.brand-mascot-bot.active-salam {
  transform: translateY(-8px) scale(1.18);
  z-index: 1000;
}

.brand-mascot-bot.active-salam .mascot-avatar {
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 1));
}

.brand-mascot-bot:hover .mascot-speech-bubble,
.brand-mascot-bot.active-salam .mascot-speech-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Holographic Speech Bubble (Positioned below bot so it is 100% visible on mobile and laptop) */
.mascot-speech-bubble {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.9);
  background: rgba(7, 11, 20, 0.97);
  border: 1.5px solid #00f0ff;
  border-radius: 10px;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.5), 0 10px 25px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #00f0ff transparent;
}

@media (max-width: 768px) {
  .brand-mascot-bot {
    top: 14px;
    left: 80px;
  }
}


/* ===================================================================
   NAVBAR: OPTION 02 - NEON LASER BEAM & GLOW LINE
   =================================================================== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.35rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.25px;
  position: relative;
  padding: 6px 2px 10px 2px;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #cbd5e1;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.65), 0 0 30px rgba(0, 240, 255, 0.3);
}

/* The Glowing Neon Laser Beam Underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #00f0ff;
  border-radius: 6px;
  box-shadow: 0 0 12px #00f0ff, 0 0 25px rgba(0, 240, 255, 0.85), 0 0 35px rgba(0, 240, 255, 0.4);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* The Micro Glowing Center Flare Dot */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 8px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  filter: blur(0.5px);
  box-shadow: 0 0 10px #ffffff, 0 0 18px #00f0ff;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.nav-link.active::before {
  transform: translateX(-50%) scale(1);
}

@media (hover: hover) {
  .nav-link:not(.active):hover::after {
    width: 30%;
    left: 35%;
    opacity: 0.6;
    box-shadow: 0 0 8px #00f0ff;
  }
}

/* Nav Right: Social Icons + Contact CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  transform: translateY(-2px);
}

/* SaaS Tooltip: Micro-arrow */
.social-icon-btn::before {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  border-width: 0 4px 5px 4px;
  border-style: solid;
  border-color: transparent transparent rgba(15, 23, 42, 0.98) transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10001;
}

/* SaaS Tooltip: Bubble Pill */
.social-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.25px;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10000;
}

.social-icon-btn:hover::before,
.social-icon-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Official Brand Colors for Social Icons & Tooltip Highlights */
.social-icon-btn.github {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}
.social-icon-btn.github:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}
.social-icon-btn.github:hover::after {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.15);
}

.social-icon-btn.linkedin {
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.1);
  border-color: rgba(10, 102, 194, 0.35);
}
.social-icon-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.22);
  border-color: #0A66C2;
  color: #38bdf8;
  box-shadow: 0 4px 15px rgba(10, 102, 194, 0.35);
}
.social-icon-btn.linkedin:hover::after {
  border-color: rgba(10, 102, 194, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(10, 102, 194, 0.25);
}

.social-icon-btn.upwork {
  color: #14A800;
  background: rgba(20, 168, 0, 0.1);
  border-color: rgba(20, 168, 0, 0.35);
}
.social-icon-btn.upwork:hover {
  background: rgba(20, 168, 0, 0.22);
  border-color: #14A800;
  color: #6fda44;
  box-shadow: 0 4px 15px rgba(20, 168, 0, 0.35);
}
.social-icon-btn.upwork:hover::after {
  border-color: rgba(20, 168, 0, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(20, 168, 0, 0.25);
}

.social-icon-btn.whatsapp {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
}
.social-icon-btn.whatsapp svg {
  width: 15.5px;
  height: 15.5px;
}
.social-icon-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25D366;
  color: #55f08e;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}
.social-icon-btn.whatsapp:hover::after {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(37, 211, 102, 0.25);
}

.nav-cta-btn {
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050b14 !important;
  font-weight: 700 !important;
  font-size: 0.78rem;
  border-radius: 7px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 242, 254, 0.25);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sound Effects Toggle Button */
.sound-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  outline: none;
}

.sound-toggle-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  transform: translateY(-2px);
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
  color: #ffffff;
}

.sound-toggle-btn.muted {
  color: #64748b;
  border-color: rgba(255, 255, 255, 0.08);
}

.sound-toggle-btn.muted:hover {
  border-color: #ef4444;
  color: #ef4444;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.1);
}

/* Tooltip for Sound Toggle Button */
.sound-toggle-btn::before {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  border-width: 0 4px 5px 4px;
  border-style: solid;
  border-color: transparent transparent rgba(15, 23, 42, 0.98) transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10001;
}

.sound-toggle-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10000;
}

.sound-toggle-btn:hover::before,
.sound-toggle-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 242, 254, 0.4);
}

/* SaaS Resume Preview Modal */
.resume-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.resume-modal-container {
  width: 100%;
  max-width: 900px;
  height: 85vh;
  max-height: 850px;
  background: rgba(11, 18, 33, 0.96);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.25), 0 30px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.resume-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.7);
  gap: 1rem;
}

.resume-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.resume-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.resume-direct-btn:hover {
  background: #00f0ff;
  color: #070d19;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.resume-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.resume-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.resume-modal-body {
  flex: 1;
  width: 100%;
  background: #0b1221;
}

.resume-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #0b1221;
}

@media (max-width: 640px) {
  .resume-modal-container {
    height: 92vh;
    padding: 0;
    border-radius: 14px;
  }
  .resume-modal-header {
    padding: 0.8rem 1rem;
  }
  .resume-modal-title span {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }
}

.nav-resume-btn {
  padding: 0.38rem 0.85rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan) !important;
  font-weight: 700 !important;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  border-radius: 7px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-resume-btn:hover {
  background: var(--accent-cyan);
  color: #050b14 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.4);
}

/* ===================================================================
   HERO SECTION (Exact Minimized Fit Without Scrolling)
   =================================================================== */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  padding-top: 65px;
  padding-bottom: 25px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.2rem;
  width: 100%;
}

/* Hero Left Text */
.hero-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.pulse-circle {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 2.35rem; /* Perfectly matches Image 1 scale on single line */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 0.65rem;
}

.gradient-name {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-role span.dot {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-role span.tech-tag {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 2px 7px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 5px;
  color: #fff;
  font-weight: 500;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  max-width: 530px;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.6rem 1.3rem;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050b14;
  box-shadow: 0 3px 15px rgba(0, 242, 254, 0.28);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 3px 14px rgba(0, 242, 254, 0.15);
}

/* Hero Photo Card: Centered by default on mobile/tablets, right-aligned on desktop */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .hero-image-container {
    justify-content: flex-end;
  }
}

.hero-card-frame {
  position: relative;
  width: 100%;
  max-width: 310px; /* Proportion matching Screenshot 2 */
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-cyan), rgba(79, 172, 254, 0.35), var(--accent-indigo));
  box-shadow: 0 14px 40px rgba(0, 242, 254, 0.22), 0 0 25px rgba(79, 172, 254, 0.15);
  transition: var(--transition-smooth);
}

.hero-card-frame:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 45px rgba(0, 242, 254, 0.3);
}

.hero-image-inner {
  position: relative;
  width: 100%;
  height: 390px; /* Exact height matching Screenshot 2 with comfortable bottom margin */
  border-radius: 17px;
  overflow: hidden;
  background: #09101d;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  display: block;
}

.hero-card-frame:hover .hero-portrait {
  transform: scale(1.02);
}

/* Floating Metric Badges on Photo */
.floating-chip {
  position: absolute;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  z-index: 2;
  transition: var(--transition-smooth);
}

.floating-chip.top-left {
  top: 10px;
  left: -10px;
}

.floating-chip.bottom-right {
  bottom: 12px;
  right: -10px;
}

.chip-icon {
  font-size: 0.85rem;
}

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

.chip-title {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.chip-val {
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
}

/* ===================================================================
   STATS BAR (Metrics / Achievements)
   =================================================================== */
.stats-bar {
  padding: 2.5rem 0;
  background: rgba(13, 20, 36, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===================================================================
   SECTION COMMON HEADERS
   =================================================================== */
section {
  padding: 3.2rem 0;
  position: relative;
  scroll-margin-top: 45px;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.4rem auto;
}

.section-pill,
.section-pill-title {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 100px;
  color: var(--accent-cyan);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

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

/* ===================================================================
   ABOUT ME SECTION (3-Card Bento Grid)
   =================================================================== */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0, 242, 254, 0.12);
}

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

.bento-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.15);
}

.bento-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-cyan);
}

.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}

.bento-card-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ===================================================================
   SKILLS SECTION (Interactive Tabbed Stack)
   =================================================================== */
.skills-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.tab-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-main);
}

.tab-pill-btn:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--text-primary);
}

.tab-pill-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(79, 172, 254, 0.15));
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.skills-tab-content {
  position: relative;
  min-height: 260px;
}

.skills-tab-pane {
  display: none;
  animation: tabFadeIn 0.35s ease forwards;
}

.skills-tab-pane.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.skill-meter-card {
  background: rgba(13, 20, 36, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
}

.skill-meter-card:hover {
  border-color: var(--border-glow);
  background: rgba(20, 31, 56, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.1);
}

a.skill-meter-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.skill-meter-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(20, 31, 56, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.18);
}

a.skill-meter-card:hover .skill-name {
  color: var(--accent-cyan);
}

.skill-link-icon {
  margin-left: auto;
  color: var(--text-muted);
  opacity: 0.35;
  transition: var(--transition-smooth);
}

a.skill-meter-card:hover .skill-link-icon {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

.skill-meter-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-icon-pill {
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.skill-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.1px;
}

.skill-meter-bar {
  width: 100%;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   EXPERIENCE SECTION (Professional Timeline)
   =================================================================== */
.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(99, 102, 241, 0.2) 100%);
}

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

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

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.timeline-role {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.timeline-company,
.timeline-company-link {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.timeline-company-link:hover {
  color: #5eead4;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}

.company-link-icon {
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.timeline-company-link:hover .company-link-icon {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

.timeline-badge {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.timeline-bullets li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  padding-left: 20px;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

/* ===================================================================
   PROJECTS SECTION (In-Card Slider Grid - 7 Projects)
   =================================================================== */
.projects-saas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-saas-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-saas-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 242, 254, 0.12);
}

.card-carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080d19;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.carousel-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* In-Card Chevron Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 16, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 4;
}

.carousel-nav-btn.prev {
  left: 8px;
}

.carousel-nav-btn.next {
  right: 8px;
}

.carousel-nav-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.carousel-nav-btn:hover {
  background: rgba(0, 242, 254, 0.25);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.08);
}

/* Dots Indicator */
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
  background: rgba(10, 16, 30, 0.6);
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  width: 16px;
  border-radius: 100px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Card Details */
.project-card-details {
  padding: 1.4rem 1.35rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-saas-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

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

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.proj-pill {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 2px 7px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: 5px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.project-gh-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.project-gh-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.project-gh-link:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.project-gh-link.disabled {
  opacity: 0.65;
  cursor: default;
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
}

/* ===================================================================
   EDUCATION SECTION (Design 4: Luxury Floating Glass Badges)
   =================================================================== */
.edu-stacked-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.edu-luxury-glass-card {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 1.8rem 2.4rem;
  background: rgba(10, 18, 30, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.edu-luxury-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 12% 50%, rgba(0, 242, 254, 0.07), transparent 45%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.edu-luxury-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 18px 45px rgba(0, 242, 254, 0.16), 0 0 25px rgba(0, 242, 254, 0.15);
}

.edu-visual-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Gold GPA Medal Badge */
.gold-medal-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gold-medal-disc {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE259 0%, #FFA751 60%, #E67E22 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 186, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.7), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.edu-luxury-glass-card:hover .gold-medal-disc {
  transform: scale(1.06) rotate(3deg);
}

.medal-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1a1300;
  line-height: 1;
  font-family: var(--font-sans);
  letter-spacing: -0.5px;
}

.medal-denom {
  font-size: 0.62rem;
  font-weight: 800;
  color: #3b2800;
  margin-top: 1px;
}

.medal-caption {
  font-size: 0.72rem;
  font-weight: 800;
  color: #f6c855;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Certified Seal for DIT */
.cert-seal-disc {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #23344d 0%, #132238 60%, #0a1424 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35), inset 0 1px 3px rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 2px;
  box-sizing: border-box;
}

.edu-luxury-glass-card:hover .cert-seal-disc {
  transform: scale(1.06) rotate(-3deg);
}

.cert-board-text {
  font-size: 0.55rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.cert-seal-title {
  font-size: 0.62rem;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.cert-seal-stars {
  font-size: 0.55rem;
  color: #ffe259;
  letter-spacing: 1.5px;
}

.cert-caption {
  color: #cbd5e1;
}

.edu-symbol-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0, 242, 254, 0.3));
  transition: transform 0.3s ease;
}

.edu-luxury-glass-card:hover .edu-symbol-icon {
  transform: scale(1.08);
}

/* Info Column */
.edu-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex-grow: 1;
}

.edu-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  margin: 0;
}

.edu-card-institute,
.edu-card-institute-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: var(--transition-smooth);
}

.edu-card-institute-link:hover {
  color: #5eead4;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}

.institute-link-icon {
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.edu-card-institute-link:hover .institute-link-icon {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

.edu-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: var(--accent-cyan);
}

.meta-item strong {
  color: #f1f5f9;
}

.meta-item.highlight {
  color: #e2e8f0;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .edu-luxury-glass-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .edu-card-title {
    font-size: 1.15rem;
  }
  .edu-card-institute {
    font-size: 0.88rem;
  }
  .edu-card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ===================================================================
   CONTACT SECTION (SaaS Neon Frame & Split Console)
   =================================================================== */
.contact-section-head {
  text-align: center;
  margin: 0 auto 2.4rem auto;
}

.contact-section-head .section-pill {
  font-size: 1.25rem;
  padding: 10px 28px;
  margin-bottom: 0;
  letter-spacing: 1.5px;
  display: inline-block;
}

.contact-neon-card {
  display: flex;
  background: radial-gradient(ellipse at 15% 25%, rgba(0, 240, 255, 0.06), transparent 45%), #0c1220;
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.22), 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.04);
  border-radius: 28px;
  padding: 3.5rem 3.8rem;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.35s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-neon-card:hover {
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.3), 0 25px 55px rgba(0, 0, 0, 0.7);
}

.contact-left-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
  box-sizing: border-box;
}

.contact-title-stacked {
  font-size: clamp(2.3rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0;
}

.contact-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.role-badge-icon {
  color: #00f0ff;
  display: flex;
  align-items: center;
}

.contact-direct-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: auto;
}

.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-direct-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.whatsapp-icon {
  color: #25D366;
  display: flex;
  align-items: center;
}

.email-icon {
  color: #38bdf8;
  display: flex;
  align-items: center;
}

.location-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e;
  animation: pulseStatus 2s infinite ease-in-out;
  margin-left: 6px;
}

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

.contact-center-divider {
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.12) 20%, rgba(0, 240, 255, 0.25) 50%, rgba(255, 255, 255, 0.12) 80%, rgba(255, 255, 255, 0.02) 100%);
  flex-shrink: 0;
}

.contact-right-col {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
}

.contact-neon-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.neon-input-group {
  width: 100%;
}

.neon-pill-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1.2px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.neon-pill-input::placeholder,
.neon-textarea::placeholder {
  color: #64748b;
  font-weight: 500;
}

.neon-pill-input:hover,
.neon-textarea:hover {
  border-color: rgba(0, 240, 255, 0.35);
}

.neon-pill-input:focus,
.neon-textarea:focus {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), inset 0 0 8px rgba(0, 240, 255, 0.08);
  color: #ffffff;
}

.neon-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1.2px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 14px 22px;
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
  resize: vertical;
  min-height: 110px;
  box-sizing: border-box;
  font-family: inherit;
}

.neon-submit-wrapper {
  width: 100%;
  margin-top: 0.4rem;
}

.neon-submit-btn {
  width: 100%;
  padding: 13px 30px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.06);
  border: 1.5px solid #00f0ff;
  color: #38bdf8;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 22px rgba(0, 240, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
}

.neon-submit-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(2, 132, 199, 0.35));
  color: #ffffff;
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.neon-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 15px rgba(0, 240, 255, 0.4);
}

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

.form-input,
.form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* SaaS Form Status & Interactive Elements */
.form-status-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  animation: fadeInStatus 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  width: 100%;
}

@keyframes fadeInStatus {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-status-msg.success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #55f08e;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

.form-status-msg.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.btn-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: btnSpin 0.8s linear infinite;
}

@keyframes btnSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: #05080f;
}

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

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

.footer-badges {
  display: flex;
  gap: 10px;
}

.footer-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ===================================================================
   MOBILE HAMBURGER BUTTON & DRAWER MENU
   =================================================================== */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  z-index: 1002;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-toggle:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-cyan);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-cyan);
}

/* ===================================================================
   RESPONSIVE DESIGN (Tablets & Mobile Breakpoints)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }
  .hero-badges-wrapper {
    justify-content: center;
  }
  .hero-role {
    justify-content: center;
  }
  .hero-desc {
    margin: 0 auto 2.2rem auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-container {
    justify-content: center;
    margin: 0 auto;
  }
  .hero-card-frame {
    margin: 0 auto;
    max-width: 320px;
  }
  .hero-image-inner {
    height: 420px;
  }
  .about-bento-grid,
  .projects-saas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 868px) {
  /* Mobile Navigation Drawer */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    align-items: center;
    display: none !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex !important;
    animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }

  .hero {
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.4rem 0;
    scroll-margin-top: 35px;
  }
  .section-head,
  .contact-section-head {
    margin: 0 auto 1.8rem auto;
  }
  .hero-title {
    font-size: clamp(2.3rem, 7vw, 3.2rem);
  }
  .hero-role {
    font-size: 1.25rem;
    flex-direction: column;
    gap: 6px;
  }
  .hero-role span.dot {
    display: none;
  }
  .hero-image-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .hero-card-frame {
    margin: 0 auto !important;
    max-width: 295px;
  }
  .about-bento-grid,
  .projects-saas-grid,
  .skills-pane-grid,
  .skills-grid,
  .projects-grid,
  .about-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }
  .floating-chip {
    display: none; /* Hide floating chips to maintain clean touch layout */
  }
  .featured-project {
    padding: 1.8rem;
  }
  .container {
    width: 92%;
  }
  .featured-title {
    font-size: 1.5rem;
  }
  .contact-neon-card {
    flex-direction: column;
    padding: 2.2rem 1.5rem;
    gap: 2.2rem;
    border-radius: 22px;
    box-sizing: border-box;
    width: 100%;
  }
  .contact-center-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
  }
  .contact-title-stacked {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 2.1rem;
  }
}

@media (max-width: 600px) {
  /* Timeline responsive adjustment */
  .timeline::before {
    left: 15px;
  }
  .timeline-item {
    padding-left: 48px;
    margin-bottom: 2rem;
  }
  .timeline-dot {
    left: 5px;
    width: 20px;
    height: 20px;
  }
  .timeline-card {
    padding: 1.5rem;
  }
  .timeline-role {
    font-size: 1.15rem;
  }
  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  /* Compact Header */
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-tag {
    display: none;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .nav-cta-btn {
    display: none; /* User has Contact Me inside hero & nav menu */
  }
}

@media (max-width: 440px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-image-container {
    justify-content: center;
    margin: 0 auto;
    width: 100%;
  }
  .hero-card-frame {
    margin: 0 auto;
    max-width: 290px;
  }
  .hero-image-inner {
    height: 360px;
  }
  .floating-chip.top-left {
    left: 8px;
    top: 8px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-pill,
  .section-pill-title {
    font-size: 1.05rem;
    padding: 8px 22px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .contact-neon-card {
    padding: 1.6rem 1.1rem;
    border-radius: 18px;
    box-sizing: border-box;
    width: 100%;
    gap: 1.8rem;
  }
  .contact-title-stacked {
    font-size: 1.85rem;
  }
  .contact-role-badge {
    font-size: 0.8rem;
    padding: 7px 14px;
  }
  .contact-direct-link {
    font-size: 0.88rem;
  }
  .neon-pill-input {
    padding: 11px 18px;
    font-size: 0.9rem;
  }
  .neon-textarea {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  .neon-submit-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

