/* ===== GRADIENT MODERN PORTFOLIO - DARK THEME DEFAULT ===== */

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-text {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 120px;
  height: 4px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 4px;
  margin-top: 20px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  animation: loading 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== FLOATING RESUME BUTTON ===== */
.floating-resume {
  position: fixed;
  right: 28px;
  bottom: 110px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 0 0 rgba(102, 126, 234, 0.7);
  z-index: 999;
  transition: all 0.3s ease;
  animation: floating-resume-pulse 2s infinite;
  text-decoration: none;
}

.floating-resume:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
  animation: none;
}

.floating-resume i {
  font-size: 1.15rem;
  animation: floating-resume-bounce 2s infinite;
}

.floating-resume:hover i {
  animation: none;
}

@keyframes floating-resume-pulse {
  0% {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  50% {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 0 15px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

@keyframes floating-resume-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ===== STICKY SIDE RESUME BUTTON (Left side, always visible) ===== */
.sticky-resume-side {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  z-index: 998;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.sticky-resume-side:hover {
  padding-left: 38px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.sticky-resume-side i {
  font-size: 1rem;
}

/* ===== ANIMATED HERO BACKGROUND ===== */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.sphere-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.sphere-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.sphere-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #00d4ff 100%);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ===== GITHUB ACTIVITY ===== */
.github-activity {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.github-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.github-profile-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.github-profile-btn .fab {
  font-size: 1.5rem;
}

.github-profile-btn .fa-arrow-right {
  transition: transform 0.3s;
}

.github-profile-btn:hover .fa-arrow-right {
  transform: translateX(5px);
}

:root {
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-light: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  --primary: #667eea;
  --secondary: #764ba2;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

/* Dark Theme (Default) */
body, [data-theme="dark"] {
  --bg: #0d1117;
  --bg-alt: #161b22;
  --bg-card: #1c2128;
  --text: #e6edf3;
  --text-light: #8b949e;
  --border: #30363d;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --header-bg: rgba(13, 17, 23, 0.9);
}

/* Light Theme */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --header-bg: rgba(255, 255, 255, 0.9);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s;
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: rotate(180deg);
}

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

.logo {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 8px;
  transition: all 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle, .nav-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gradient-light);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
}

/* Open to Work Badge */
.open-to-work-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.open-to-work-badge i {
  font-size: 0.5rem;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-greeting {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-name {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 24px;
  min-height: 30px;
}

.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-social a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.hero-social a:hover {
  transform: translateY(-3px);
}

/* Social Icons Brand Colors */
.hero-social a[title="LinkedIn"],
.contact-social a[title="LinkedIn"] {
  background: #0A66C2;
  border-color: #0A66C2;
  color: white;
}

.hero-social a[title="LinkedIn"]:hover,
.contact-social a[title="LinkedIn"]:hover {
  background: #004182;
  border-color: #004182;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
}

.hero-social a[title="GitHub"],
.contact-social a[title="GitHub"] {
  background: #171515;
  border-color: #171515;
  color: white;
}

.hero-social a[title="GitHub"]:hover,
.contact-social a[title="GitHub"]:hover {
  background: #000;
  border-color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hero-social a[title="HackerRank"],
.contact-social a[title="HackerRank"] {
  background: #2EC866;
  border-color: #2EC866;
  color: white;
}

.hero-social a[title="HackerRank"]:hover,
.contact-social a[title="HackerRank"]:hover {
  background: #1fa94e;
  border-color: #1fa94e;
  box-shadow: 0 8px 20px rgba(46, 200, 102, 0.4);
}

.hero-social a[title="Email"] {
  background: #EA4335;
  border-color: #EA4335;
  color: white;
}

.hero-social a[title="Email"]:hover {
  background: #c5221f;
  border-color: #c5221f;
  box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

/* Hero Image */
.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-image .image-wrapper {
  width: 340px;
  height: 340px;
  position: relative;
}

.hero-image .image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient);
  border-radius: 24px;
  z-index: -1;
}

.hero-image .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid var(--bg);
}

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

.hero-badge i {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1.6rem;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.hero-badge i:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.85rem;
  z-index: 1;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--gradient);
  border-radius: 2px;
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 50px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin-top: 12px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.about-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text);
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

/* Stats Grid */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Info Row */
.about-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.info-chip i {
  color: var(--primary);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ===== EXPERIENCE ===== */
.timeline {
  position: relative;
  max-width: 800px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 48px;
}

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

.timeline-marker {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.timeline-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

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

.timeline-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-promotion {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-left: 6px;
  font-style: italic;
}

.company {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.period {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
}

.timeline-duties {
  color: var(--text-light);
  margin-bottom: 20px;
}

.timeline-duties li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}

.timeline-duties li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gradient);
  border-radius: 50%;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tech span {
  padding: 6px 14px;
  background: var(--gradient-light);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* ===== SKILLS ===== */
.skills {
  background: var(--bg-alt);
}

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

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.skill-group:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.skill-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.skill-group h3 i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: all 0.2s;
}

.skill-tags span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gradient-light);
}

.skill-tags span i {
  font-size: 1rem;
}

.skill-tags span img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* Devicon colors with !important to override parent */
.devicon-java-plain.colored { color: #E76F00 !important; }
.devicon-javascript-plain.colored { color: #F7DF1E !important; }
.devicon-python-plain.colored { color: #3776AB !important; }
.devicon-spring-plain.colored { color: #6DB33F !important; }
.devicon-hibernate-plain.colored { color: #59666C !important; }
.devicon-mysql-plain.colored { color: #4479A1 !important; }
.devicon-postgresql-plain.colored { color: #336791 !important; }
.devicon-mongodb-plain.colored { color: #47A248 !important; }
.devicon-docker-plain.colored { color: #2496ED !important; }
.devicon-git-plain.colored { color: #F05032 !important; }
.devicon-html5-plain.colored { color: #E34F26 !important; }
.devicon-css3-plain.colored { color: #1572B6 !important; }
.devicon-redis-plain.colored { color: #DC382D !important; }
.devicon-intellij-plain.colored { color: #FC418D !important; }
.devicon-vscode-plain.colored { color: #007ACC !important; }
.devicon-eclipse-plain.colored { color: #F7941E !important; }
.devicon-maven-plain.colored { color: #C71A36 !important; }
.devicon-gradle-plain.colored { color: #02303A !important; }
.devicon-junit-plain.colored { color: #25A162 !important; }
.devicon-amazonwebservices-plain-wordmark.colored { color: #FF9900 !important; }
.devicon-bash-plain { color: #4EAA25 !important; }
.devicon-apachekafka-original { color: #231F20 !important; }
.devicon-github-original { color: #f0f0f0 !important; }
.devicon-linux-plain { color: #FCC624 !important; }

/* Font Awesome skill icons colors */
.skill-tags .fa-plug { color: #10B981 !important; }
.skill-tags .fa-cubes { color: #8B5CF6 !important; }
.skill-tags .fa-envelope-open-text { color: #FF6600 !important; }
.skill-tags .fa-key { color: #F59E0B !important; }
.skill-tags .fa-shield-alt { color: #3B82F6 !important; }
.skill-tags .fa-database { color: #6366F1 !important; }
.skill-tags .fa-table { color: #14B8A6 !important; }
.skill-tags .fa-brain { color: #10B981 !important; }
.skill-tags .fa-gem { color: #8B5CF6 !important; }
.skill-tags .fa-magic { color: #EC4899 !important; }
.skill-tags .fa-cogs { color: #6B7280 !important; }
.skill-tags .fa-comments { color: #3B82F6 !important; }
.skill-tags .fa-infinity { color: #F97316 !important; }
.skill-tags .fa-paper-plane { color: #FF6C37 !important; }
.skill-tags .fa-vial { color: #22C55E !important; }
.skill-tags .fa-window-maximize { color: #00B4F0 !important; }
.skill-tags .fa-sitemap { color: #8B5CF6 !important; }
.skill-tags .fa-project-diagram { color: #F59E0B !important; }
.skill-tags .fa-tasks { color: #3B82F6 !important; }
.skill-tags .fa-code-branch { color: #10B981 !important; }
.skill-tags .fa-check-double { color: #22C55E !important; }
.skill-tags .fa-file-medical-alt { color: #EF4444 !important; }

/* ===== EXPERIENCE ===== */
.experience {
  background: var(--bg-alt);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 40px;
}

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

.timeline-marker {
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid var(--bg-alt);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

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

.timeline-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.timeline-company {
  background: var(--gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.timeline-date i {
  color: var(--primary);
}

.timeline-list {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.timeline-list li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.timeline-list li::marker {
  color: var(--primary);
}

.timeline-list li:last-child {
  margin-bottom: 0;
}

.timeline-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.timeline-tech span {
  background: var(--gradient-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
  background: var(--bg);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.cert-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cert-card.featured-cert {
  border-color: var(--primary);
  background: var(--gradient-light);
}

.cert-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.cert-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-light);
  border-radius: 10px;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cert-content {
  flex: 1;
  min-width: 0;
}

.cert-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.cert-date {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.cert-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 8px;
  color: var(--text-light);
  transition: all 0.3s;
  flex-shrink: 0;
}

.cert-link:hover {
  background: var(--gradient);
  color: white;
}

.certs-more {
  text-align: center;
}

/* ===== FEATURED PROJECTS ===== */
.featured {
  background: var(--bg-alt);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.featured-cta {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ===== PROJECT FILTERS ===== */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.project-image-wrapper.no-image {
  min-height: 220px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-wrapper.no-image::before {
  content: '\f121';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Eye button - top left */
.project-eye-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  opacity: 0.7;
}

.project-eye-btn:hover {
  opacity: 1;
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(102, 126, 234, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.project-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-content {
  padding: 24px;
}

.project-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-light);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tech span {
  padding: 4px 10px;
  background: var(--gradient-light);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

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

.project-link {
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-link i {
  -webkit-text-fill-color: var(--primary);
}

.project-link:hover {
  opacity: 0.8;
}

.projects-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-alt);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.contact-card:hover {
  transform: translateX(8px);
}

.contact-card > i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
}

.contact-card h4 {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

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

.contact-card a:hover {
  color: var(--primary);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-social a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.contact-social a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.contact-social .coffee-btn {
  background: #FFDD00;
  border-color: #FFDD00;
  color: #000;
}

.contact-social .coffee-btn:hover {
  background: #FFE44D;
  border-color: #FFE44D;
  color: #000;
  box-shadow: 0 8px 20px rgba(255, 221, 0, 0.4);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

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

/* Popup Notification */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.popup-box {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: popIn 0.4s ease;
}

.popup-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.popup-box.success .popup-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.popup-box.error .popup-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.popup-msg {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.popup-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== PAGE HEADER (Projects Page) ===== */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.back-link:hover {
  gap: 12px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.page-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: white;
  border-radius: 14px;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

/* ===== IMAGE LIGHTBOX MODAL ===== */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  padding: 24px;
}

.image-modal {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
  animation: popIn 0.3s ease;
}

.image-modal img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1;
}

.image-modal-close:hover {
  transform: scale(1.1);
}

.image-modal-title {
  text-align: center;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 14px;
  opacity: 0.8;
}

/* ===== HERO AVAILABILITY TAGS ===== */
.hero-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-availability span {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s;
}

.hero-availability span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gradient-light);
}

/* ===== TIMELINE META (Date + Location) ===== */
.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.timeline-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.timeline-location i {
  color: var(--primary);
}

/* ===== GITHUB GRAPH ===== */
.github-graph {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  overflow-x: auto;
  text-align: center;
}

.github-graph img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== WHATSAPP CARD ===== */
.whatsapp-card > i {
  background: #25D366 !important;
}

.whatsapp-card a:hover {
  color: #25D366 !important;
}

/* ===== ANIMATED COUNTERS ===== */
.stat-number {
  transition: all 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-image .image-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    padding: 80px 32px;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    transition: right 0.3s;
    z-index: 200;
  }

  .nav-menu.show-menu {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
  }

  .nav-actions .btn {
    display: none;
  }

  /* Hide floating resume and side resume on mobile - show compact version */
  .floating-resume {
    bottom: 80px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .floating-resume span {
    display: none;
  }

  .sticky-resume-side {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .hero-scroll {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-availability {
    justify-content: center;
  }

  .open-to-work-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .timeline-meta {
    flex-direction: column;
    gap: 4px;
  }

  /* GitHub graph fix on mobile */
  .github-graph {
    padding: 12px;
    overflow-x: auto;
  }

  .github-activity {
    flex-direction: column;
    gap: 16px;
  }

  .github-profile-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

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

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

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

  .about-info-row {
    justify-content: center;
  }

  .projects-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

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

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-name {
    font-size: 2rem;
  }

  .hero-role {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .hero-image .image-wrapper {
    width: 200px;
    height: 200px;
  }

  .hero-badge i {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .hero-social a {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 60px 0;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  .about-intro {
    font-size: 1.1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .about-info-row {
    flex-direction: column;
    align-items: stretch;
  }

  .info-chip {
    justify-content: center;
    font-size: 0.85rem;
  }

  .skill-group {
    padding: 20px;
  }

  .skill-group h3 {
    font-size: 0.95rem;
  }

  .skill-tags span {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .project-content {
    padding: 18px;
  }

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

  .project-description {
    font-size: 0.9rem;
  }

  .project-tech span {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .hero-availability span {
    padding: 4px 10px;
    font-size: 0.75rem;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-card {
    padding: 16px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 32px 0;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .hero-name {
    font-size: 1.75rem;
  }

  .hero-image .image-wrapper {
    width: 180px;
    height: 180px;
  }

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

  .stat-item {
    padding: 12px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .nav {
    height: 60px;
  }

  .logo {
    font-size: 1.25rem;
  }
}

/* Landscape Phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-image .image-wrapper {
    width: 180px;
    height: 180px;
  }

  .hero-scroll {
    display: none;
  }
}

/* Large Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-image .image-wrapper {
    width: 300px;
    height: 300px;
  }

  .about-grid {
    gap: 32px;
  }

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

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

/* Print Styles */
@media print {
  .header,
  .hero-scroll,
  .scroll-top,
  .theme-toggle,
  .contact-form,
  .project-overlay {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .section {
    padding: 30px 0;
    break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }
}
