/* 
   ==========================================================================
   JEESAN AHAMAD - HIGH-TECH PORTFOLIO & RESUME DESIGN SYSTEM
   Theme: Cyberpunk Dark / Glassmorphism / Electric Cyan & Deep Blue Glow
   ========================================================================== 
*/

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

:root {
  /* Color Palette */
  --bg-dark: #030712;
  --bg-card: rgba(10, 20, 40, 0.65);
  --bg-card-hover: rgba(15, 30, 60, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);

  --primary: #00A3FF;
  --primary-glow: rgba(0, 163, 255, 0.4);
  --primary-light: #38BDF8;
  --primary-dark: #0066FF;
  --accent-cyan: #00E5FF;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-glow: rgba(0, 163, 255, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-code: 'Fira Code', monospace;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Grid & Particle Effects */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(0, 163, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 163, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.15) 0%, rgba(0, 102, 255, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.glow-top-left {
  top: -200px;
  left: -200px;
}

.glow-top-right {
  top: 100px;
  right: -200px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00A3FF 0%, #00E5FF 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #FFFFFF 30%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Header & Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(3, 7, 18, 0.6);
  border-bottom: 1px solid rgba(0, 163, 255, 0.1);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.2), rgba(0, 102, 255, 0.4));
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition);
  overflow: hidden;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.brand-logo:hover .logo-badge {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 25px var(--primary);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

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

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

.btn-download-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0077FF 0%, #00A3FF 100%);
  color: #FFF;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.4);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-download-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary);
  background: linear-gradient(135deg, #00A3FF 0%, #00E5FF 100%);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* HERO SECTION (Image 4 Replica) */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 2rem;
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left Hero: Profile Frame with Glowing Neon Rings */
.hero-avatar-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.avatar-ring-container {
  position: relative;
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Rotating Rings */
.ring-outer {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 163, 255, 0.5);
  animation: rotateClockwise 25s linear infinite;
}

.ring-inner {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--accent-cyan);
  box-shadow: 0 0 25px var(--primary-glow);
  animation: rotateCounterClockwise 15s linear infinite;
}

.avatar-image-box {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  box-shadow: 0 0 40px rgba(0, 163, 255, 0.5);
  background: #0A1428;
  position: relative;
}

.avatar-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition);
}

.avatar-image-box:hover img {
  transform: scale(1.05);
}

/* Floating Badge at Bottom of Avatar */
.avatar-badge {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 25, 50, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--primary);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 163, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  z-index: 10;
}

.avatar-badge-icon {
  font-family: var(--font-code);
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 163, 255, 0.15);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
}

.avatar-badge-text {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-transform: uppercase;
}

.avatar-badge-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* Right Hero: Typography & Details */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.greeting-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  text-transform: uppercase;
}

.hero-name {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.accent-line {
  height: 3px;
  width: 60px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  border-radius: 2px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 0.25rem;
}

/* Stats Pill Bar (Image 4 Design) */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(12px);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
  background: rgba(0, 163, 255, 0.12);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 163, 255, 0.2);
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
  color: #FFF;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px var(--primary);
  background: linear-gradient(135deg, #00A3FF 0%, #00E5FF 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 20, 40, 0.6);
  color: var(--text-main);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  background: rgba(0, 163, 255, 0.15);
  box-shadow: 0 0 25px var(--primary-glow);
  color: var(--primary-light);
}

/* Quick Contact Bottom Bar (Image 4 Replica) */
.quick-contact-bar {
  margin-top: 3.5rem;
  background: rgba(10, 20, 40, 0.7);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-pill-item:hover {
  transform: translateY(-2px);
}

.contact-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-pill-item:hover .contact-pill-icon {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 0 20px var(--primary);
}

.contact-pill-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.contact-pill-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SECTION STYLING GENERAL */
.section {
  padding: 2.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 163, 255, 0.1);
  border: 1px solid rgba(0, 163, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ABOUT ME / PROFESSIONAL SUMMARY CARD SECTION (Matching User Image Request) */
.summary-card-wrapper {
  background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.18), rgba(3, 7, 18, 0.95) 75%);
  border: 1.5px solid rgba(0, 163, 255, 0.35);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(0, 163, 255, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.summary-card-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background-image: radial-gradient(rgba(0, 163, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

.summary-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.summary-icon-hex {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0055FF, #00A3FF);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.7);
  flex-shrink: 0;
}

.summary-title-box {
  display: flex;
  flex-direction: column;
}

.summary-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1;
}

.summary-title span {
  color: #00A3FF;
  background: linear-gradient(135deg, #00A3FF 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-title-underline {
  height: 3.5px;
  width: 85px;
  background: #0066FF;
  box-shadow: 0 0 12px #0066FF;
  border-radius: 2px;
  margin-top: 0.6rem;
}

.summary-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.summary-paragraph {
  font-size: 1.08rem;
  color: #CBD5E1;
  line-height: 1.85;
  font-weight: 400;
}

.summary-paragraph strong {
  color: #FFF;
}

/* 3D Tech Illustration Graphic */
.tech-illustration-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 240px;
}

.tech-illustration-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 25px rgba(0, 163, 255, 0.3));
}

/* Bottom 4-Stat Grid Bar */
.summary-stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.summary-stat-card {
  background: rgba(10, 25, 50, 0.7);
  border: 1px solid rgba(0, 163, 255, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.summary-stat-card:hover {
  transform: translateY(-4px);
  border-color: #00A3FF;
  background: rgba(0, 163, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

.stat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0055FF, #00A3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.6);
  flex-shrink: 0;
}

.stat-value-text {
  font-size: 1.7rem;
  font-weight: 900;
  color: #FFF;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.stat-sublabel-text {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 700;
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .summary-content-grid {
    grid-template-columns: 1fr;
  }
  .summary-stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .summary-stats-bar-grid {
    grid-template-columns: 1fr;
  }
  .summary-card-wrapper {
    padding: 1.75rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.highlight-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.highlight-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 163, 255, 0.15);
}

.highlight-box h4 {
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SKILLS MATRIX SECTION */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 163, 255, 0.15);
}

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

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(0, 163, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.skill-category-title {
  font-size: 1.2rem;
  font-weight: 700;
}

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

.skill-tag {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--primary);
  background: rgba(0, 163, 255, 0.15);
  color: var(--primary-light);
}

/* EXPERIENCE TIMELINE SECTION */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-cyan), transparent);
}

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

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.job-role {
  font-size: 1.35rem;
  color: var(--primary-light);
}

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

.job-date {
  font-family: var(--font-code);
  font-size: 0.8rem;
  background: rgba(0, 163, 255, 0.12);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

/* PROJECTS SECTION */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, #0066FF, #00A3FF);
  color: #FFF;
  border-color: transparent;
  box-shadow: 0 0 20px var(--primary-glow);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 163, 255, 0.2);
  border-color: var(--primary);
}

.project-category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-code);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

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

.tech-pill {
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
}

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

/* EDUCATION & SOFT SKILLS SECTION */
.edu-subheading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.edu-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.edu-card-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.edu-item:hover {
  transform: translateX(5px);
  border-color: var(--primary-light);
}

.edu-degree {
  font-size: 1.15rem;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

.edu-inst {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.edu-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-family: var(--font-code);
}

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

.soft-skill-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.soft-skill-pill:hover {
  border-color: var(--primary);
  background: rgba(0, 163, 255, 0.1);
  transform: translateY(-2px);
}

/* CONTACT & HR HIRE SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

.contact-card-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 163, 255, 0.2);
}

.contact-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 163, 255, 0.15);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-box-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-box-detail {
  font-size: 1rem;
  font-weight: 700;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

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

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

/* FOOTER */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 18, 0.95);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* RESUME MODAL & VIEW */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: #0B132B;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #EF4444;
  color: #FFF;
}

/* Keyframe Animations */
@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* ==========================================================
   COMPREHENSIVE MOBILE RESPONSIVE DESIGN SUITE (ALL BREAKPOINTS)
   ========================================================== */

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden !important;
  width: 100%;
}

.container {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Mobile Drawer Overlay Navigation Styling */
.nav-menu.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 70px);
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2.5rem 1.5rem;
  border-bottom: 1.5px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  gap: 1.75rem;
  align-items: center;
  justify-content: flex-start;
  z-index: 9999;
  overflow-y: auto;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-menu.open .nav-link {
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

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

/* Tablet & Laptop Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }

  .hero-content {
    text-align: left;
    align-items: flex-start;
  }

  .hero-avatar-wrapper {
    margin: 0 auto;
  }

  .greeting-pill {
    margin-left: 0;
    margin-right: auto;
  }

  .hero-cta-group {
    margin-left: 0;
    margin-right: auto;
    justify-content: flex-start;
  }

  .hero-name {
    text-align: left;
  }

  .hero-title-row {
    justify-content: flex-start;
    text-align: left;
  }

  .hero-description {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  .quick-contact-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .about-grid, .edu-skills-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .summary-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

/* Mobile Devices & Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
    padding: 0.5rem;
  }

  .btn-download-cv {
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero-name {
    font-size: clamp(2rem, 7.5vw, 3rem);
    word-break: break-word;
    text-align: left;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
  }

  .accent-line {
    width: 35px;
  }

  .avatar-ring-container {
    width: 270px;
    height: 270px;
  }

  .avatar-image-box {
    width: 240px;
    height: 240px;
  }

  .avatar-badge {
    display: none !important;
  }

  .hero-stats-bar {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
  }

  .stat-item {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .stat-divider {
    display: none;
  }

  .quick-contact-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.9rem 1.1rem;
    margin-top: 1.25rem;
    gap: 0.85rem 1rem;
    border-radius: 16px;
  }

  .contact-pill-item {
    width: 100%;
    gap: 0.6rem;
  }

  .contact-pill-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .contact-pill-label {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .contact-pill-value {
    white-space: normal;
    word-break: break-word;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 1rem;
  }

  #about.section {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }

  #skills.section {
    padding-top: 0.75rem;
  }

  .section {
    padding: 1.5rem 0;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .summary-card-wrapper {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }

  .summary-title {
    font-size: 1.5rem;
  }

  .summary-paragraph {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .summary-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .summary-stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .summary-stat-card {
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    gap: 0.45rem;
    align-items: center;
    background: rgba(10, 25, 50, 0.75);
    border: 1px solid rgba(0, 163, 255, 0.2);
  }

  .summary-stat-card .stat-icon-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .stat-value-text {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
  }

  .stat-sublabel-text {
    font-size: 0.62rem;
    line-height: 1.15;
    margin-top: 0.1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .skill-card {
    padding: 1.35rem;
  }

  .timeline-container::before {
    left: 8px;
  }

  .timeline-item {
    padding-left: 28px;
    margin-bottom: 2rem;
  }

  .timeline-dot {
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
  }

  .timeline-card {
    padding: 1.25rem;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .job-role {
    font-size: 1.15rem;
  }

  .company-name {
    font-size: 0.95rem;
  }

  .job-date {
    font-size: 0.75rem;
  }

  .timeline-bullets li {
    font-size: 0.88rem;
  }

  /* Scrollable project filter tabs on mobile */
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .filter-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .filter-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

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

  .project-card {
    padding: 1.35rem;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-desc {
    font-size: 0.88rem;
  }

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

  .edu-subheading {
    font-size: 1.25rem;
    text-align: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .edu-card-group, .edu-item {
    text-align: center;
  }

  .soft-skill-pill {
    justify-content: center;
  }

  .contact-card-box {
    padding: 1.15rem;
    word-break: break-all;
  }

  .contact-box-detail {
    font-size: 0.88rem;
    word-break: break-all;
  }

  .contact-form-box {
    padding: 1.35rem 1.1rem;
  }

  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on mobile browsers */
    padding: 0.75rem 0.9rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-container {
    padding: 1.25rem 1rem;
    margin: 0;
    width: 100%;
    max-height: 94vh;
    border-radius: 16px;
  }
}

/* Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .btn-download-cv {
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  .hero-name {
    font-size: clamp(1.8rem, 8.5vw, 2.5rem);
    text-align: left;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    text-align: left;
  }

  .greeting-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .avatar-ring-container {
    width: 220px;
    height: 220px;
  }

  .avatar-image-box {
    width: 190px;
    height: 190px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .tech-illustration-container {
    height: 160px;
  }

  .summary-header-row {
    flex-direction: row;
    gap: 0.75rem;
  }

  .summary-icon-hex {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .summary-title {
    font-size: 1.35rem;
  }

  .summary-card-wrapper {
    padding: 1.25rem 0.85rem;
  }

  .summary-paragraph {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* Extra Small Phones (max-width: 420px) */
@media (max-width: 420px) {
  .quick-contact-bar {
    grid-template-columns: 1fr;
    padding: 0.75rem 0.9rem;
    gap: 0.65rem;
  }

  .contact-pill-item {
    padding: 0.15rem 0;
    gap: 0.5rem;
  }

  .contact-pill-icon {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .contact-pill-value {
    font-size: 0.74rem;
  }
}

/* Extra Small Phones (max-width: 380px) */
@media (max-width: 380px) {
  .brand-name {
    font-size: 0.85rem;
  }

  .btn-download-cv .cv-text {
    display: none;
  }

  .btn-download-cv::before {
    content: 'CV ';
    font-weight: 800;
  }

  .avatar-ring-container {
    width: 190px;
    height: 190px;
  }

  .avatar-image-box {
    width: 165px;
    height: 165px;
  }
}
