/* Portfolio CSS */

:root {
  /* Color Palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161d;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666;
  
  /* Neon Colors */
  --neon-cyan: #00ffff;
  --neon-pink: #ff0080;
  --neon-purple: #8000ff;
  --neon-green: #00ff41;
  --neon-orange: #ff8000;
  --neon-blue: #0080ff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
  --gradient-tertiary: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  
  /* Shadows */
  --shadow-neon-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
  --shadow-neon-pink: 0 0 20px rgba(255, 0, 128, 0.5);
  --shadow-neon-purple: 0 0 20px rgba(128, 0, 255, 0.5);
  
  /* Fonts */
  --font-heading: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
}

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

::selection {
  background: var(--neon-cyan);
  color: var(--bg-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
}

.particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, var(--neon-cyan), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--neon-pink), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--neon-purple), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--neon-green), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--neon-orange), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particles 20s linear infinite;
  opacity: 0.6;
}

@keyframes particles {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-200px, -100px); }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 2s ease-in-out 1s forwards;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
}

.loading-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 2rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px;
  animation: loading 2s ease-in-out;
}

@keyframes fadeOut {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes glow {
  0% { filter: drop-shadow(0 0 5px var(--neon-cyan)); }
  100% { filter: drop-shadow(0 0 20px var(--neon-cyan)); }
}

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

/* Header */
header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 1rem;
}

.header-content {
  text-align: center;
  max-width: 800px;
}

.profile-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.profile-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--neon-cyan);
  object-fit: cover;
  position: relative;
  z-index: 2;
  animation: profileGlow 3s ease-in-out infinite alternate;
}

.profile-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: 1;
  opacity: 0.7;
  animation: rotate 10s linear infinite;
}

@keyframes profileGlow {
  0% { box-shadow: var(--shadow-neon-cyan); }
  100% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.8); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Glitch Text Effect */
.glitch {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  margin: 2rem 0;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
}

.glitch::before {
  animation: glitch-1 2s infinite;
  color: var(--neon-pink);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 2s infinite;
  color: var(--neon-green);
  z-index: -2;
}

@keyframes glitch-1 {
  0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
  15%, 49% { transform: translate(-2px, -2px); }
  50%, 99% { transform: translate(2px, 2px); }
}

@keyframes glitch-2 {
  0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
  21%, 62% { transform: translate(2px, -1px); }
  63%, 99% { transform: translate(-1px, 2px); }
}

/* Typing Animation */
.typing-container {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 2rem;
}

.typing-text {
  color: var(--neon-cyan);
}

.cursor {
  animation: blink 1s infinite;
  color: var(--neon-cyan);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border: 2px solid var(--neon-cyan);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(-10px); }
  60% { transform: rotate(45deg) translateY(-5px); }
}

/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(16, 16, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

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

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--neon-cyan);
  overflow: hidden;
  width: 0;
  transition: width 0.3s ease;
}

.nav-menu a:hover::before {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--neon-cyan);
  transition: all 0.3s ease;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

/* About Section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

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

.about-text p:last-of-type {
  margin-bottom: 2rem;
}

.resume-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-buttons .btn-primary,
.resume-buttons .btn-secondary {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.skill-category h3 {
  color: var(--neon-cyan);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-item {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  z-index: -1;
}

.skill-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-cyan);
}

.skill-item:hover::before {
  width: 100%;
}

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

.project-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.project-card:hover::before {
  opacity: 0.05;
}

.project-card.featured {
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0;
}

.project-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.project-status {
  background: var(--neon-green);
  color: var(--bg-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  color: var(--neon-cyan);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.tech-stack span {
  background: rgba(128, 0, 255, 0.2);
  border: 1px solid rgba(128, 0, 255, 0.4);
  color: var(--neon-purple);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.project-links {
  display: flex;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.1);
}

/* Experience Section */
.experience-timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.experience-timeline .timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
  border: 3px solid var(--bg-primary);
  z-index: 1;
}

.experience-timeline .timeline-content {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.experience-timeline .timeline-content:hover {
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-5px);
}

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

.experience-timeline .timeline-header h3 {
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  font-size: 1.5rem;
  margin: 0;
}

.experience-timeline .timeline-date {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.experience-timeline .timeline-institution {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.experience-timeline .timeline-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.experience-timeline .timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.experience-timeline .timeline-highlights span {
  background: rgba(0, 255, 255, 0.1);
  color: var(--neon-cyan);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Education Timeline */
.education-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

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

.timeline-marker {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: var(--shadow-neon-cyan);
}

.timeline-content {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

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

.timeline-header h3 {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.timeline-date {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.timeline-institution {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.timeline-status {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-highlights span {
  background: rgba(0, 255, 65, 0.2);
  border: 1px solid rgba(0, 255, 65, 0.4);
  color: var(--neon-green);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h3 {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--neon-cyan);
  width: 20px;
  font-size: 1rem;
}

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

.contact-link {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-neon-cyan);
}

.contact-link i {
  font-size: 1.2rem;
  color: var(--neon-cyan);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.footer-text {
  color: var(--text-muted);
}

.footer-links a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--neon-purple);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(16, 16, 29, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Header */
  .glitch {
    font-size: 2.5rem;
  }

  .profile-pic {
    width: 150px;
    height: 150px;
  }

  .typing-container {
    font-size: 1.2rem;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section-title::after {
    width: 100px;
  }

  /* About Section */
  .about-text {
    padding: 2rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .resume-buttons {
    flex-direction: column;
  }
  
  .resume-buttons .btn-primary,
  .resume-buttons .btn-secondary {
    width: 100%;
  }

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

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }

  /* Experience Timeline */
  .experience-timeline {
    padding-left: 0;
  }
  
  .experience-timeline::before {
    left: 15px;
  }
  
  .experience-timeline .timeline-item {
    padding-left: 50px;
  }
  
  .experience-timeline .timeline-marker {
    left: 6px;
  }
  
  .experience-timeline .timeline-content {
    padding: 1.5rem;
  }
  
  .experience-timeline .timeline-header {
    flex-direction: column;
  }
  
  .experience-timeline .timeline-header h3 {
    font-size: 1.3rem;
  }

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

  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

  .glitch {
    font-size: 2rem;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }

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

  .about-text {
    padding: 1.5rem;
  }

  .skill-category,
  .project-card,
  .timeline-content {
    padding: 1.5rem;
  }
  
  .experience-timeline .timeline-content {
    padding: 1rem;
  }
  
  .experience-timeline .timeline-header h3 {
    font-size: 1.1rem;
  }

  .loading-logo {
    font-size: 3rem;
  }

  .loading-bar {
    width: 250px;
  }
}
