#github-contributions {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin: 4rem auto 0 auto;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 1000px;
}

.contributions-header h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: center;
}

.total-contributions {
  color: #b0b0b0;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.contributions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.month-labels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-bottom: 10px;
  padding-left: 65px;
}

.month-labels span {
  color: #888;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

.days-grid {
  display: flex;
  gap: 10px;
}

.day-labels {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 55px;
}

.day-labels span {
  color: #888;
  font-size: 0.85rem;
  height: 12px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.contributions-squares {
  display: grid;
  grid-template-columns: repeat(53, 12px);
  grid-template-rows: repeat(7, 12px);
  gap: 3px;
  grid-auto-flow: column;
}

.day-square {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-square:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.day-square.level-0 { background-color: #0d1117; border: 1px solid #21262d; }
.day-square.level-1 { background-color: #0e4429; box-shadow: 0 0 4px rgba(14, 68, 41, 0.4); }
.day-square.level-2 { background-color: #006d32; box-shadow: 0 0 6px rgba(0, 109, 50, 0.4); }
.day-square.level-3 { background-color: #26a641; box-shadow: 0 0 8px rgba(38, 166, 65, 0.4); }
.day-square.level-4 { background-color: #39d353; box-shadow: 0 0 10px rgba(57, 211, 83, 0.4); }

.contrib-legend {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  color: #888;
  font-size: 0.95rem;
  font-weight: 500;
}

.legend-squares {
  display: flex;
  gap: 3px;
}

.legend-square {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-square.level-0 { background-color: #0d1117; border: 1px solid #21262d; }
.legend-square.level-1 { background-color: #0e4429; }
.legend-square.level-2 { background-color: #006d32; }
.legend-square.level-3 { background-color: #26a641; }
.legend-square.level-4 { background-color: #39d353; }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #0a0a0a;
  color: #e5e5e5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

input, textarea, select {
  font-size: 16px;
}

button, .btn, .nav-links a, .project-link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #00d4ff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0099cc;
}

* {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

header {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.2rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00d4ff;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00d4ff;
  transform: translateY(-2px);
}

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

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #00d4ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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);
}

/* Add padding to body to account for fixed navbar */
body {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-card {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: center;
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00d4ff;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.6);
}

.hero-info {
  flex: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.hero .highlight {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-widgets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.clock-widget {
  background: rgba(30, 30, 30, 0.8);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
}

.location {
  color: #00d4ff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.location svg {
  flex-shrink: 0;
}

.clock {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin: 0.5rem 0;
}

.timezone {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.spotify-widget {
  background: rgba(30, 30, 30, 0.8);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.spotify-header {
  color: #00d4ff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.spotify-header svg {
  flex-shrink: 0;
}

#spotify-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

#spotify-widget img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#spotify-widget p {
  color: #b0b0b0;
  margin: 0;
  font-size: 0.9rem;
}

#spotify-widget strong {
  color: #fff;
  font-size: 0.95rem;
}

#spotify-widget a {
  color: #1db954;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

#spotify-widget a:hover {
  color: #1ed760;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #00d4ff;
  border: 2px solid #00d4ff;
}

.btn-secondary:hover {
  background: #00d4ff;
  color: #000;
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 2px;
}

/* About Section */
#about {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  margin: 4rem auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.2rem;
  color: #c0c0c0;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  flex: 1;
  min-width: 150px;
}

.stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0;
}

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

.project-card {
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-card.featured {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.05);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

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

.project-card h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-link {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #00d4ff;
  color: #000;
}

.project-card p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Tech Stack */
#tech-stack {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem 3rem;
  margin: 4rem auto;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

#tech-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 153, 204, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

#tech-stack h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tech-category {
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

.tech-category:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.1);
}

.tech-category h3 {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem; /* spacing between items */
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 0.8rem;
  background: rgba(15, 15, 15, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.tech-item img {
  width: 45px;
  height: 45px;
  margin-bottom: 0.8rem;
  filter: brightness(1.1) saturate(1.2);
  transition: filter 0.3s ease;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2px;
}

.tech-item img:error {
  display: none;
}

.tech-item img::before {
  content: "🗃️";
  font-size: 30px;
  display: block;
  text-align: center;
}

.tech-item:hover img {
  filter: brightness(1.3) saturate(1.4);
}

.tech-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  transition: color 0.3s ease;
}

.tech-item:hover span {
  color: #00d4ff;
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  color: #b0b0b0;
  font-size: 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.clock {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 2px solid rgba(0, 212, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  letter-spacing: 2px;
  display: inline-block;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

#contact {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  margin: 4rem auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-icon svg {
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.contact-item:hover .contact-icon svg {
  transform: scale(1.1);
}

.contact-item h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item a {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-item a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.contact-form {
  background: rgba(30, 30, 30, 0.8);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

.contact-form h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  background: rgba(40, 40, 40, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form button {
  align-self: flex-start;
}

@media (max-width: 1200px) {
  .hero-card {
    max-width: 1000px;
    gap: 2rem;
  }
  
  .section {
    padding: 5rem 2rem;
  }
  
  header {
    padding: 1rem 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem;
  }
  
  .hero-left {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .hero-right {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .profile-img {
    width: 100px;
    height: 100px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .tech-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem;
    min-height: 70vh;
  }
  
  .hero-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  header {
    padding: 1rem 1.5rem;
  }
  
  .navbar {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-top: none;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    text-align: center;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: none;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tech-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .tech-item {
    padding: 1rem 0.6rem;
  }
  
  .tech-item img {
    width: 35px;
    height: 35px;
  }
  
  .tech-item span {
    font-size: 0.85rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 2rem 1.5rem;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contributions-squares {
    grid-template-columns: repeat(26, 10px);
    grid-template-rows: repeat(7, 10px);
    gap: 2px;
  }
  
  .day-square {
    width: 10px;
    height: 10px;
  }
  
  .month-labels {
    grid-template-columns: repeat(6, 1fr);
    padding-left: 45px;
  }
  
  .day-labels {
    width: 40px;
  }
  
  .day-labels span {
    font-size: 0.75rem;
    height: 10px;
  }
  
  #github-contributions {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  .hero-widgets {
    gap: 1rem;
  }
  
  .clock-widget,
  .spotify-widget {
    padding: 1.2rem;
  }
  
  .clock {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 70px;
  }
  
  .hero {
    min-height: 60vh;
    padding: 0.5rem;
  }
  
  .hero-card {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  
  .profile-img {
    width: 80px;
    height: 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-actions {
    gap: 0.6rem;
  }
  
  .hero-actions .btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  header {
    padding: 0.8rem 1rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo-img {
    width: 32px;
    height: 32px;
  }
  
  .nav-links {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  
  .tech-category {
    padding: 1.5rem 1rem;
  }
  
  .tech-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .tech-items {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .tech-item {
    padding: 0.8rem 0.4rem;
  }
  
  .tech-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 0.6rem;
  }
  
  .tech-item span {
    font-size: 0.8rem;
  }
  
  .project-card {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .project-card h3 {
    font-size: 1.2rem;
  }
  
  .project-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .stat {
    padding: 1rem;
    min-width: auto;
  }
  
  .stat h3 {
    font-size: 1.5rem;
  }
  
  .contact-item {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .contributions-squares {
    grid-template-columns: repeat(18, 8px);
    grid-template-rows: repeat(7, 8px);
    gap: 1px;
  }
  
  .day-square {
    width: 8px;
    height: 8px;
    border-radius: 2px;
  }
  
  .legend-square {
    width: 8px;
    height: 8px;
  }
  
  .month-labels {
    font-size: 0.7rem;
    padding-left: 30px;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .day-labels {
    width: 25px;
  }
  
  .day-labels span {
    font-size: 0.65rem;
    height: 8px;
  }
  
  .contrib-legend {
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  
  #github-contributions {
    padding: 1.5rem 1rem;
  }
  
  .contributions-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .total-contributions {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .clock-widget,
  .spotify-widget {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .clock {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  
  .location,
  .spotify-header {
    font-size: 0.9rem;
  }
  
  .timezone {
    font-size: 0.8rem;
  }
  
  #spotify-widget img {
    width: 50px;
    height: 50px;
  }
  
  #spotify-widget p,
  #spotify-widget strong,
  #spotify-widget a {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .hero-card {
    padding: 1rem 0.8rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .section {
    padding: 2.5rem 0.8rem;
  }
  
  .section h2 {
    font-size: 1.6rem;
  }
  
  .tech-items {
    grid-template-columns: 1fr;

  }
  
  .contributions-squares {
    grid-template-columns: repeat(12, 6px);
    grid-template-rows: repeat(7, 6px);
  }
  
  .day-square {
    width: 6px;
    height: 6px;
  }
  
  .month-labels {
    grid-template-columns: repeat(3, 1fr);
    font-size: 0.6rem;
  }
  
  .contact-item {
    padding: 0.8rem;
  }
}
