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

:root {
  --primary-color: #00ff41;
  --secondary-color: #008f11;
  --accent-color: #ff0040;
  --bg-color: #0a0a0a;
  --bg-secondary: #111111;
  --text-color: #00ff41;
  --text-secondary: #888888;
  --border-color: #333333;
  --glow-color: #00ff41;
  --font-mono: "Fira Code", monospace;
}

html {
  scroll-behavior: smooth;
}

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

/* Matrix Background - Pure CSS */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
  overflow: hidden;
}

.matrix-rain {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

.matrix-column {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary-color);
  white-space: nowrap;
  writing-mode: vertical-rl;
  animation: matrix-fall var(--duration, 4s) var(--delay, 0s) linear infinite;
  opacity: 0.7;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(-100vh);
  }
  100% {
    transform: translateY(100vh);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
}

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

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* Mobile Navigation Animation */
.nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Glitch Effect */
.glitch {
  position: relative;
  color: var(--primary-color);
  font-weight: 700;
}

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

.glitch::before {
  animation: glitch-1 0.5s infinite;
  color: var(--accent-color);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 0.5s infinite;
  color: #00ffff;
  z-index: -2;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

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

.terminal-window {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
  animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
  from {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
  }
  to {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.2);
  }
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(51, 51, 51, 0.5);
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px 8px 0 0;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse-button 2s infinite;
}

@keyframes pulse-button {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.btn.red {
  background: #ff5f56;
}
.btn.yellow {
  background: #ffbd2e;
}
.btn.green {
  background: #27ca3f;
}

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.terminal-body {
  padding: 1.5rem;
  text-align: left;
}

.terminal-line {
  margin-bottom: 1rem;
}

.prompt {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.command {
  color: #ffffff;
}

.output {
  margin: 1.5rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.text-glow {
  text-shadow: 0 0 20px var(--glow-color);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  from {
    text-shadow: 0 0 20px var(--glow-color);
  }
  to {
    text-shadow: 0 0 30px var(--glow-color), 0 0 40px var(--glow-color);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cursor {
  animation: blink 1s infinite;
}

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

/*  Typing Animations */
.typing-animation {
  overflow: hidden;
  border-right: 2px solid var(--primary-color);
  white-space: nowrap;
  width: 6ch;
  animation: typing 2s steps(6, end), blink-caret 0.75s step-end infinite;
}

.typing-animation-2 {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing-2 3s steps(50, end) 2s both;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 6ch;
  }
}

@keyframes typing-2 {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hacker {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-hacker::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-hacker:hover::before {
  left: 0;
}

.btn-hacker:hover {
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--glow-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.section:nth-child(even) {
  animation-delay: 0.2s;
}

.section:nth-child(odd) {
  animation-delay: 0.4s;
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  animation: slideInDown 1s ease-out;
}

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

.section-number {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

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

.code-block {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.code-header {
  background: rgba(51, 51, 51, 0.5);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.code-body {
  padding: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.code-comment {
  color: #6a9955;
}
.code-keyword {
  color: #569cd6;
}
.code-class {
  color: #4ec9b0;
}
.code-function {
  color: #dcdcaa;
}
.code-string {
  color: #ce9178;
}

.about-image {
  display: flex;
  justify-content: center;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.image-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  filter: brightness(0.8) contrast(1.2);
  transition: all 0.3s ease;
}

.profile-img:hover {
  filter: brightness(1) contrast(1.4);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  animation: scan 3s linear infinite;
  box-shadow: 0 0 10px var(--glow-color);
}

@keyframes scan {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

.image-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

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

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

.skill-category {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.skill-category:nth-child(1) {
  animation-delay: 0.1s;
}
.skill-category:nth-child(2) {
  animation-delay: 0.2s;
}
.skill-category:nth-child(3) {
  animation-delay: 0.3s;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.skill-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.skill-name {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.skill-percentage {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(51, 51, 51, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  width: 0;
  animation: fill-bar 2s ease-in-out var(--delay, 0s) forwards;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

@keyframes fill-bar {
  from {
    width: 0;
  }
  to {
    width: var(--width, 0%);
  }
}

/* Education Section */
.education-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.education-card {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  animation: slideInLeft 1s ease-out;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}

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

.card-header h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.year {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.institution {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.achievement-tag {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  animation: fadeIn 1s ease-out;
}

.cv-download {
  animation: slideInRight 1s ease-out;
}

.terminal-download {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.download-header {
  background: rgba(51, 51, 51, 0.5);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
}

.download-body {
  padding: 1.5rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(51, 51, 51, 0.5);
  border-radius: 2px;
  margin: 1rem 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-color);
  width: 0;
  animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
  0%,
  100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

.download-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.download-btn:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px var(--glow-color);
  transform: translateY(-2px);
}

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

.interest-card {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

.interest-card:nth-child(1) {
  animation-delay: 0.1s;
}
.interest-card:nth-child(2) {
  animation-delay: 0.2s;
}
.interest-card:nth-child(3) {
  animation-delay: 0.3s;
}
.interest-card:nth-child(4) {
  animation-delay: 0.4s;
}
.interest-card:nth-child(5) {
  animation-delay: 0.5s;
}
.interest-card:nth-child(6) {
  animation-delay: 0.6s;
}

.interest-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s ease;
}

.interest-card:hover::before {
  left: 100%;
}

.interest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 65, 0.2);
  border-color: var(--primary-color);
}

.card-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px var(--glow-color);
}

.interest-card:hover .card-scan-line {
  transform: translateX(0);
  animation: scan-across 1s ease-in-out;
}

@keyframes scan-across {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.interest-card:hover .card-icon {
  filter: grayscale(0%);
}

.interest-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.interest-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.project-card {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.project-card:nth-child(1) {
  animation-delay: 0.1s;
}
.project-card:nth-child(2) {
  animation-delay: 0.2s;
}
.project-card:nth-child(3) {
  animation-delay: 0.3s;
}

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

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

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.project-link {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--bg-color);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.project-card:hover .project-title {
  animation: glitch-1 0.5s ease-in-out;
}

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

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

.tech-tag {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

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

.terminal-contact {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  animation: slideInLeft 1s ease-out;
}

.contact-item {
  display: flex;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-label {
  color: var(--primary-color);
  min-width: 80px;
  margin-right: 1rem;
}

.contact-value {
  color: var(--text-color);
}

.hacker-form {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  animation: slideInRight 1s ease-out;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Footer */
.footer {
  background: rgba(17, 17, 17, 0.9);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.footer-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.typing-footer {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing-footer 4s steps(30, end) infinite;
}

@keyframes typing-footer {
  0%,
  90%,
  100% {
    width: 0;
  }
  30%,
  60% {
    width: 20ch;
  }
}

/* Mobile Navigation - CSS Only */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
  }

  .nav-toggle:checked ~ .nav-menu {
    left: 0;
  }

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

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

  .about-content,
  .education-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .terminal-body {
    padding: 1rem;
  }

  .code-body {
    padding: 1rem;
    font-size: 0.8rem;
  }

  .btn-hacker {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Selection Styling */
::selection {
  background: var(--primary-color);
  color: var(--bg-color);
}

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