/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Roboto:wght@300;400;700&display=swap');

:root {
  --primary-color: #00ffe7;
  --secondary-color: #9b5cff;
  --dark-bg: #0a0a1a;
  --darker-bg: #050510;
  --light-text: #ffffff;
  --gray-text: #a0a0c0;
  --transition: all 0.3s ease;
  --box-shadow: 0 0 20px rgba(155, 92, 255, 0.3);
  --box-shadow-hover: 0 0 30px rgba(0, 255, 231, 0.5);
  --futuristic-dark-bg: linear-gradient(135deg, #0a0a1a 0%, #050510 50%, #16082d 100%);
  --futuristic-dark-pattern: radial-gradient(circle at 10% 20%, rgba(0, 255, 231, 0.1) 0%, transparent 20%),
                             radial-gradient(circle at 80% 70%, rgba(155, 92, 255, 0.1) 0%, transparent 20%),
                             repeating-linear-gradient(45deg, rgba(0, 255, 231, 0.03) 0px, rgba(0, 255, 231, 0.03) 1px, transparent 1px, transparent 11px),
                             repeating-linear-gradient(-45deg, rgba(155, 92, 255, 0.03) 0px, rgba(155, 92, 255, 0.03) 1px, transparent 1px, transparent 11px);
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--futuristic-dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--futuristic-dark-pattern);
  z-index: -1;
  opacity: 0.8;
  animation: backgroundShift 20s ease-in-out infinite alternate;
  will-change: background-position;
}

/* Particles.js container */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2; /* Changed from -1 to -2 to work with our new background layers */
  background: transparent;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--gray-text);
}

.accent {
  color: var(--primary-color);
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

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

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

.btn:hover {
  color: var(--darker-bg);
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-3px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 26, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.navbar:hover {
  box-shadow: 0 5px 30px rgba(0, 255, 231, 0.2);
}

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

.nav-logo h2 {
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 15px;
  display: flex;
  align-items: center;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
  height: 100%;
}

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

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

.nav-link:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0, 255, 231, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--primary-color);
  margin-left: 10px;
  position: relative;
  overflow: hidden;
  outline: none;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0, 255, 231, 0.3), inset 0 0 10px rgba(0, 255, 231, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 0;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  align-self: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  background: rgba(10, 10, 26, 0.3);
}

.theme-toggle-btn:hover {
  background: rgba(10, 10, 26, 0.5);
}

.theme-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.theme-toggle-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 231, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.theme-toggle-btn:hover {
  color: var(--darker-bg);
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.5), inset 0 0 15px rgba(0, 255, 231, 0.2);
}

.theme-toggle-btn:hover::before {
  width: 100%;
}

.theme-toggle-btn:hover::after {
  opacity: 1;
}

.theme-toggle-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 15px rgba(0, 255, 231, 0.7), inset 0 0 15px rgba(0, 255, 231, 0.2);
}

/* Improve desktop styling */
@media screen and (min-width: 769px) {
  .theme-toggle-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-width: 3px;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 255, 231, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-text h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--gray-text);
  text-align: left;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 255, 231, 0.1), rgba(155, 92, 255, 0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-color);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.profile-placeholder::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(transparent, var(--primary-color), transparent 30%);
  animation: rotate 2s linear infinite;
}

.profile-placeholder i {
  font-size: 8rem;
  color: var(--primary-color);
  z-index: 1;
  background: var(--dark-bg);
  border-radius: 50%;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Updated styles for profile image to fit perfectly in 300x300 frame without stretching */
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2; /* Higher z-index to appear above the rotating background */
  display: block;
  position: relative;
}

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

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: var(--primary-color);
  font-size: 2rem;
}

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

/* About Section */
.about {
  padding: 100px 0;
  background: var(--darker-bg);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(155, 92, 255, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  margin-bottom: 1.5rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  margin: 0;
  font-size: 1rem;
}

.about-image {
  flex: 1;
}

.tech-stack {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
}

.tech-stack h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.tech-icons i {
  font-size: 3rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.tech-icons i:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

/* Skills Section */
.skills {
  padding: 100px 0;
  position: relative;
}

.skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(0, 255, 231, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

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

.skill-category {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.skill-category h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-color);
}

.skill-bar {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-info span:last-child {
  color: var(--primary-color);
}

.skill-progress {
  height: 10px;
  background: rgba(155, 92, 255, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: progress-glow 2s infinite;
}

@keyframes progress-glow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background: var(--darker-bg);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(155, 92, 255, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

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

.project-card {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.project-image {
  height: 200px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 10, 26, 0.8);
}

.project-placeholder i {
  font-size: 4rem;
  color: var(--primary-color);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 1rem;
}

.project-content p {
  margin-bottom: 1.5rem;
}

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

.tech-tag {
  background: rgba(0, 255, 231, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Orbitron', sans-serif;
}

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

.project-btn {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(0, 255, 231, 0.1) 0%, rgba(10, 10, 26, 0) 70%);
  z-index: -1;
}

.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  min-width: 30px;
}

.contact-item h4 {
  margin-bottom: 0.3rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(155, 92, 255, 0.1);
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(155, 92, 255, 0.2);
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--darker-bg);
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.contact-form {
  flex: 1;
  background: rgba(10, 10, 26, 0.7);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(155, 92, 255, 0.2);
  box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(5, 5, 16, 0.7);
  border: 1px solid rgba(155, 92, 255, 0.2);
  color: var(--light-text);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

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

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

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(155, 92, 255, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  font-size: 2rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--gray-text);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(155, 92, 255, 0.1);
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .hero-text p {
    margin: 0 auto 2rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .tech-stack {
    margin-top: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--darker-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-icons {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .skills-content {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-details {
    margin: 1rem 0;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-form {
    margin-top: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .profile-placeholder {
    width: 250px;
    height: 250px;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .profile-placeholder {
    width: 200px;
    height: 200px;
  }
  
  .tech-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-links {
    flex-direction: column;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .tech-stack {
    padding: 1.5rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
  
  .project-content {
    padding: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

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

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